Commit Graph

4548 Commits

Author SHA1 Message Date
Joao Silva
94068977f5
GrafanaUI: Improve Switch cursor focus on screen readers (#93100) 2024-09-09 16:06:05 +01:00
Adela Almasan
af48d3db1e
Canvas: Add actions support (#90677)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-09-09 09:11:55 -05:00
Andrej Ocenas
5e2ac24890
Sidecar: Add split view and basic APIs for extensions (#91648)
* Add split view and basic APIs to extensions

* Add comments

* Update public/app/AppWrapper.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Moved the .grafana-app element and deduplicate some code

* Remove the provider variants of usePluginLinks/Components

* Change buildPluginSectionNav

* Update comment

* Use eventBus

* Remove non existent exports

* refactor: use a sidecar service to encapsulate the state

* Don't wrap single app in split wrapper

* Use hook splitter

* Remove inline styles

* Type the style props from useSplitter

* Move the overflow style changes to appWrapper

* Deduplicate some common top level providers

* Move modals

* Move routes wrappers to it's own file

* Use better css and add comments

* Remove query rows app extension point

* Fix test

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2024-09-09 14:45:05 +02:00
Alex Khomenko
adf1402ff8
Grafana/ui: Update Link component to react router 6 (#92976)
* Grafana/ui: Update Link component to react router 6

* Add compat package to grafana/ui
2024-09-09 13:54:43 +03:00
Josh Hunt
cad56df002
Make Combobox Storybook story public, with indev disclaimer (#93042) 2024-09-06 17:56:03 +03:00
Ivan Ortega Alba
35ba8fbad1
AutoSizeInput: Allow to be controlled by value (#92997) 2024-09-05 20:50:40 +03:00
Ashley Harrison
6b6355e418
Chore: migrate _grid SCSS styles to emotion globals (#92986)
migrate _grid styles to emotion globals
2024-09-05 16:39:12 +01:00
renovate[bot]
de5bbd2539
Update dependency rc-cascader to v3.28.1 (#92931)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 10:53:59 +01:00
Ashley Harrison
d14a551ee8
Chore: Migrate _reboot SCSS styles to emotion globals (#92934)
migrate reboot styles to emotion globals
2024-09-04 16:27:07 +01:00
renovate[bot]
c17d1a3a4c
Update dependency rc-slider to v11 (#92921)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:57:31 +01:00
renovate[bot]
58d9bc2cad
Update dependency react-calendar to v5 (#92922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:55:14 +01:00
renovate[bot]
b404dabc55
Update dependency rimraf to v6 (#92923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:40:52 +01:00
renovate[bot]
7933cbd204 Update dependency @types/node to v20.16.4 2024-09-04 09:25:17 +00:00
Kyle Cunningham
437472811e
Table: Fix nested table overlap when table is sorted (#92716) 2024-09-03 15:27:14 -05:00
Ashley Harrison
f34f5b80b4
Chore: Migrate _widths SCSS to global emotion styles (#92863)
* migrate widths to global styles

* only calculate width once per loop
2024-09-03 16:04:21 +03:00
Ashley Harrison
d9385d8a76 add missing await 2024-09-03 14:02:27 +03:00
renovate[bot]
1395cd89da Update dependency @types/node to v20.16.3 2024-09-02 13:05:54 +00:00
Tobias Skarhed
220215c9ca
New Select: Create custom value (#92652)
* Display custom value in option list

* Ignore create new value when there is an exact match

* Support displaying custom value

* Add i18n string

* Update failing test
2024-09-02 14:42:42 +02:00
renovate[bot]
cf541b8869
Update dependency tslib to v2.7.0 (#92744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 10:00:07 +01:00
Adela Almasan
91cbaa4afe
Table: Fix JSON formatting (#92715) 2024-08-30 17:51:51 +03:00
Ashley Harrison
a59474cf13
Chore: Migrate _forms styles to emotion globals (#92690)
migrate _forms styles to emotion globals
2024-08-30 13:04:31 +01:00
Ashley Harrison
d2ee4d1005
RadioButtonGroup: Ensure background colour displays properly (#92665)
add background colour to RadioButtonGroup
2024-08-29 15:16:04 +01:00
Victor Marin
6ddb96ada2
Add extra width to menu to accomodate checkbox (#92600)
* Add extra width to menu to accomodate checkbox

* modify value
2024-08-29 15:28:00 +03:00
Kawthar Alakri
bd974bd791
New Select: Unit tests base cases (#92485)
* init commit

* New Select test cases

* click + scroll and click test cases

* code format

* code format
2024-08-29 11:45:21 +02:00
Ashley Harrison
cec447cf7a
Drawer: Fix drawer mask positioning (#92318)
fix drawer mask positioning
2024-08-29 09:56:26 +01:00
Adela Almasan
692280cd32
BarGauge: Add legend support (#92449) 2024-08-28 23:26:55 +03:00
renovate[bot]
909d0fac35
Update dependency @types/node to v20.16.2 (#92576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 12:15:38 +01:00
renovate[bot]
72be3e861e
Update dependency webpack to v5.94.0 [SECURITY] (#92545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 09:29:33 +01:00
Adela Almasan
39fda067cf
BarGauge: Add option to hide the names (#92450) 2024-08-27 17:21:35 -05:00
Tobias Skarhed
92491dd78c
New Select: Semi-dynamic option width support (#92284)
* Fix button role and input id

* Use static height and dynamic width

* Estimate dynamic width

* Extract constant

* Remove unused code

* Extract dynamic width into a hook

* Remove console.log

* Add comment to the constants

* Update packages/grafana-ui/src/components/Combobox/Combobox.tsx

Co-authored-by: Laura Fernández <laura.fernandez@grafana.com>

* Update packages/grafana-ui/src/components/Combobox/getComboboxStyles.ts

---------

Co-authored-by: Laura Fernández <laura.fernandez@grafana.com>
2024-08-27 15:51:25 +02:00
Ashley Harrison
2318e32c9f
Chore: Migrate legacy dropdown styles to emotion/angular file (#92282)
migrate legacy dropdown classes to emotion/angular file
2024-08-27 12:40:54 +01:00
renovate[bot]
a99e32947a
Update dependency @floating-ui/react to v0.26.23 (#92470)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 13:44:26 +03:00
Jack Westbrook
c0a719caa7
Datalinks: Fix context menu position for body scroll (#92389)
* fix(datalinks): position context menu offest to vertical window scroll

* feature toggle change

* enhance boot data mock with empty featureToggles

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-27 13:28:48 +03:00
Marcus Andersson
95409f53d2
Bugfix: QueryField typeahead missing background color (#92216)
Added missing styles to the typeahead menu.
2024-08-22 16:16:48 +01:00
Ashley Harrison
e675455502
PublicDashboards: Fix public dashboards when publicDashboardsScene is enabled (#92187)
* fix public dashboards pages when publicDashboardsScene is enabled

* properly handle react-grid-layout at small screen sizes

* use unset instead of auto
2024-08-21 16:16:12 +01:00
Torkel Ödegaard
4bc64dd747
Page/Body: Only show scrollbar lane gutter when needed (#92186)
* Page/Body: Only show scrollbar lane gutter when needed

* Update packages/grafana-ui/src/themes/GlobalStyles/elements.ts

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-21 14:44:12 +02:00
Ashley Harrison
4d82139a33
Chore: Migrate _button SCSS styles to emotion globals (#92135)
migrate button styles to emotion globals
2024-08-21 12:46:30 +01:00
renovate[bot]
f26258984a Update dependency core-js to v3.38.1 2024-08-21 11:30:50 +00:00
renovate[bot]
9494e9b847 Update dependency @types/react-transition-group to v4.4.11 2024-08-21 10:58:24 +00:00
Ashley Harrison
292982f30b
Collapse: stop cropping focus rings (#92190)
remove overflow: hidden; from bodyContentWrapper
2024-08-21 11:01:53 +01:00
Leon Sorokin
74ebc66520
VizTooltip: Fix positioning at bottom and right edges on mobile (#92042) 2024-08-20 08:48:37 -05:00
renovate[bot]
90c5845b72 Update React Aria 2024-08-20 09:36:55 +00:00
renovate[bot]
d9812153dd
Update dependency typescript to v5.5.4 (#91678)
* Update dependency typescript to v5.5.4

* fix missing typeof

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-20 10:11:57 +01:00
Ashley Harrison
ab312914cd
Chore: cleanup util SCSS styles (#92078)
migrate SCSS util classes
2024-08-20 09:31:04 +01:00
Ihor Yeromin
5233e4b47f
Stat: Fix double-zero percent render (#91848)
fix(stat): percent zero case
2024-08-20 04:25:15 +03:00
renovate[bot]
8d197387ed
Update dependency @grafana/tsconfig to v2 (#92056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 13:13:33 +03:00
Drew Slobodnjak
d3c6e2b203
Table: Avoid rtl when using datalinks with units (#92038) 2024-08-16 15:42:20 -07:00
Tobias Skarhed
b0031c0781
New Select: Set highlighted index to selected item on open (#91951)
* Set highlighted index on open

* Remove console log

* Use defaultHighLightedIndex
2024-08-16 14:47:39 +02:00
Kyle Cunningham
f14fd5828a
Table panel: Improve cell inspector (#91862)
* Improve cell inspector

* Update types

* Prettier

* Type checking fixes
2024-08-15 22:04:36 +07:00
grafana-delivery-bot[bot]
675a58b680
Release: Bump version to 11.3.0-pre (#91863)
* bump version 11.3.0-pre

* fix linters with: yarn run prettier:write

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com>
2024-08-14 18:34:14 -03:00