3122 Commits

Author SHA1 Message Date
da001b01f1 TopNav: Section navigation UX (#55012)
* Design tweaks

* Updated

* Fixing unit tests

* Review fixes

* Text primary on active sections, and change home icon to text

* spacing fix

* More fix

* Fixes

* Updates
2022-09-13 12:24:23 +02:00
d59bb1e4c2 IconName: Move to grafana/data and use type on NavModelItem (#55013)
* IconName: Allow strings

* Moving to grafana/data and adding type to NavModelItem

* Removed any type

* ts fix
2022-09-12 20:09:33 +02:00
b90260b3ae Chore: convert LogRowContextProvider tests to RTL (#55031)
* convert LogRowContextProvider tests to RTL

* remove act
2022-09-12 15:00:09 +01:00
49bc70c812 TopNav: Panel edit changes (#54746)
* Progress

* Progress

* Things are working

* More tweaks

* Fixing unit test

* Tweaks and fixing e2e tests

* Remove ... in Save as

* Fixing unit test

* Fixing e2e test

* Fixes

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-09-12 15:45:14 +02:00
698a4fab26 GrafanaUI: Add required behavior to Inline Field (#54867) 2022-09-12 12:29:23 +01:00
28619d7a55 Chore: Added controls to IconButton & renamed Simple story to Examples (#54371) 2022-09-12 12:03:25 +01:00
58e17f8144 CustomScrollbar: Add optional scroll indicators to CustomScrollbar (#54705)
* Add general scroll indicator behaviour to CustomScrollbar

* Extract ScrollIndicators logic into it's own file

* add scroll indicators to MegaMenu
2022-09-12 11:18:45 +01:00
4c7732ad17 Chore: Upgrade Typescript to 4.8.2 (#54901)
* Chore: Upgrade typescript to 4.8.2
2022-09-09 16:17:58 +01:00
62ef9fb04c Update dependency prismjs to v1.29.0 (#54976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-09 15:18:20 +01:00
0598ff3743 Storybook: Add controls to CollapsableSection story (#54943) 2022-09-09 14:40:27 +01:00
7104d90b39 Storybook: Add controls to FieldSet story (#54964) 2022-09-09 15:23:50 +03:00
6b2ff6f25b Storybook: Add controls to LoadingPlaceholder story (#54939) 2022-09-09 13:35:41 +03:00
76f0037654 Storybook: Add controls to PanelChrome story (#54741) 2022-09-09 11:08:46 +01:00
ad19f018a9 Update dependency esbuild to v0.15.7 (#54928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-09 10:56:49 +01:00
eb90d0c4b5 TimeSeries: Support for log scale and negative numbers (#54812) 2022-09-08 11:52:57 -05:00
6a7e1caced Update dependency core-js to v3.25.1 (#54915)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-08 17:46:16 +01:00
c684babecc A11y: Make tooltip dismissible in Toolbar and Icon buttons (#54586) 2022-09-08 14:32:50 +02:00
8fb0d3421b Storybook: Add controls to UnitPicker (#54694) 2022-09-08 13:16:27 +01:00
8e8d0a08f9 reobserve elements when children change (#54827) 2022-09-07 15:07:35 +01:00
968e2218ac Chore: Add controls to InlineField (#54674) 2022-09-07 14:24:38 +01:00
c56907b879 Add controls for Date Picker story (#54806)
Signed-off-by: gefgu <gefgu@hotmail.com>

Signed-off-by: gefgu <gefgu@hotmail.com>
2022-09-07 15:30:46 +03:00
84212d8746 Update babel monorepo to v7.19.0 (#54756)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-07 09:57:22 +01:00
bf052cb35e TimeSeries: omit non-integer y ticks when decimals: 0 (#54679) 2022-09-06 16:12:09 -04:00
9cc828a00e Update dependency @react-stately/menu to v3.4.1 (#54784)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 17:23:16 +01:00
a70aba1384 Chore: Update slate and related packages (#54566)
* Chore: Update slate and related packages
2022-09-06 15:23:48 +01:00
ce1221cd59 Storybook: Add controls to InlineLabel story (#54604) 2022-09-06 15:18:38 +01:00
05c16d1da3 Storybook: Add controls to QueryField story (#54606) 2022-09-06 15:18:08 +01:00
7a01186324 Update dependency @react-aria/overlays to v3.10.1 (#54763)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 14:37:32 +01:00
a36ef9cdfd Update dependency @react-aria/focus to v3.8.0 (#54718)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 11:50:44 +01:00
0e16456602 Update dependency @react-aria/dialog to v3.3.1 (#54717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 11:07:26 +01:00
139705611a Chore: Remove remaining IconName type assertions (#54658)
* Chore: Remove remaining IconName type assertions

* fix lints
2022-09-06 09:15:36 +01:00
042fbcc609 Chore: Added controls to ContextMenu story (#54373) 2022-09-05 16:43:02 +01:00
9b9e298896 Update dependency @react-aria/button to v3.6.1 (#54670)
* Update dependency @react-aria/button to v3.6.1

* bump @react-aria/menu at the same time

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-09-05 14:52:56 +01:00
aee13563ce Fix StateTimeline duration bug + add hidden tooltip option (#54697) 2022-09-05 14:11:06 +03:00
0ab548a8b5 Chore: fixing some anys/type assertions (#54661)
* fixing some anys/type assertions

* make types consistent
2022-09-02 16:39:09 +00:00
6b197f3fa9 Chore: Use react-highlight-words types (#54627) 2022-09-02 16:36:44 +01:00
28426219ce TimeSeries: fix padding, force 0-100% y range when % stacked (#54197) 2022-09-02 09:26:04 -05:00
3cf8e9c72e Chore: Remove grafana-ui IconName type assertions (#54623) 2022-09-02 11:31:16 +01:00
b5b41988cf Docs: Deprecating packages_api and removing it from our pipelines (#54473) 2022-09-01 18:15:44 +02:00
d2bdb01092 Fixed tooltip does not change data when hovering over other datapoints (#54517) 2022-09-01 18:57:51 +03:00
caa0c91b1c Chore: Remove Nav + story IconName type assertions (#54572)
* Chore: Remove some IconName type assertions

* fix actually importing the function

* fix lint

* fix lint
2022-09-01 13:23:41 +01:00
822d24c123 Chore: Add controls to Label stories (#54549)
* Add controls for Label's Simple story

* Add controls for Label's Categorised story
2022-09-01 13:03:50 +03:00
f15ce633c9 Navigation: Don't round app plugin icon images (#54543)
* Navigation: Don't round app plugin icon images

* round icon
2022-09-01 10:28:50 +01:00
dd38ff7cc8 Collapse: remove explicit panel-container className from definition (#54359) 2022-08-31 11:50:24 -07:00
e95bab1f2b Storybook: Add controls to button story (#54389) 2022-08-31 11:42:47 +01:00
3ba3d47b85 Chore: Added controls to Checkbox stories (#54372) 2022-08-31 11:19:37 +01:00
d574a5d98f TimeRangeForm: Do not use HTML form (#54318)
* TimeRangeForm: Do not use HTML form

* TimeRangeForm: rename to TimeRangeContent
2022-08-29 16:19:12 +03:00
72a143aaff Chore: Added controls to DatePickerWithInput story (#54360) 2022-08-28 16:44:51 +03:00
26524e3ff1 GrafanaUI: Fix styles for invalid selects & DataSourcePicker (#53476)
* GrafanaUI: fix styles for invalid select & DataSourcePicker

* Apply suggestions from code review

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* fix focus issues & tests

* remove unused import

* TypeScript work in progress

* Move react select props to types.ts

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: joshhunt <josh@trtr.co>
2022-08-26 13:48:51 +01:00
6f72c4d10d Update dependency @testing-library/user-event to v14.4.3 (#54292)
* Update dependency @testing-library/user-event to v14.4.3

* use ReturnType instead of using a nested import

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-08-26 13:30:34 +01:00