Commit Graph

812 Commits

Author SHA1 Message Date
renovate[bot]
5be7cfca69 Update React Aria 2024-07-24 10:56:08 +01:00
renovate[bot]
671f278ee1 Update dependency @types/node to v20.14.12 2024-07-23 19:21:07 +00:00
renovate[bot]
546d9991fa Update dependency react-use to v17.5.1 2024-07-23 15:42:41 +00:00
renovate[bot]
999aff5458
Update React Aria (#90760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 09:07:47 +01:00
renovate[bot]
61e408ab93 Update dependency immutable to v4.3.7 2024-07-22 15:22:13 +00:00
renovate[bot]
2ebd4237f6 Update dependency chance to v1.1.12 2024-07-22 13:29:52 +00:00
renovate[bot]
296b14b360
Update dependency @floating-ui/react to v0.26.20 (#90723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 14:07:38 +03:00
renovate[bot]
63cc01fe80 Update dependency @types/node to v20.14.11 2024-07-22 07:57:16 +00:00
renovate[bot]
f259f99485 Update dependency @types/lodash to v4.17.7 2024-07-19 17:40:32 +00:00
renovate[bot]
ec432fa314
Update dependency @floating-ui/react to v0.26.19 (#90614)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 13:26:07 +01:00
Jack Westbrook
893efb045b
Grafana/ui: Fix types not being installed for consumers (#90463)
fix(grafana-ui): make sure exported types are available for consumers
2024-07-19 14:08:34 +02:00
renovate[bot]
d61dbae7fe Update babel monorepo 2024-07-18 12:01:07 +00:00
Adela Almasan
9bc68562d4
Canvas: Element level data links (#89079) 2024-07-12 12:02:49 -05:00
Ashley Harrison
b321dc7280
Chore: Migrate from react-beautiful-dnd to @hello-pangea/dnd (#90328)
* migrate from react-beautiful-dnd to @hello-pangea/dnd

* revert comment
2024-07-12 10:23:29 +01:00
Tobias Skarhed
924a94cf80
New Select: Use virtual list (#89290)
* use react-virtual

* Render story with 100k items

* Dyanmic height and TanStack

* Remove weird item

* Add numberOfOptions to story

* Update class name

* Update class name
2024-06-20 16:51:17 +03:00
grafana-delivery-bot[bot]
40e3601982
Release: Bump version to 11.2.0-pre (#89184)
* "Release: Updated versions in package to 11.2.0-pre"

* fix newline

---------

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2024-06-13 15:08:07 -05:00
Tobias Skarhed
5e2f08de31
New Select: Initial scaffolding (#89114)
* Initial scaffolding

* Extend props from Input

* Rename to Combobox

* Use search icon

* Remove use of SelectableValue

* Remove unused import

* Memoize
2024-06-13 13:41:14 +02:00
Kyle Cunningham
8aa1bbe27c
Table Panel: Enable text wrapping (#86895)
* Calculate row height

* Move things around

* Update getItemSize to use text bounding box

* Update types

* Cleanups and reminders

* Calculate line height

* Update line height calculation

* Remove debugging

* Add cell option editing

* Prettier

* Use field configured for text wrapping

* Add TODO

* Make sure column configuration is correct

* Update height heuristic and hover behavior

* Disable overflow on hover with text wrapping

* Update heuristic

* Clean things up

* Color background cell options

* Fix tests

* Prettier

* React deps

* Remove old hook dep

* Fix type errors

* Update label and description for editor

* Fix non-wrapped case

* Make sure color background works

* Prettier

* Address review comments

* fix prettier

* Add heuristic for field sizing

* Fix up logic

* Prettier

* Fix test

* Oh prettier 🙈

* Don't wrap text on non-string fields

* Add wrapping to color text cell

* Prettier

* Fix option not showing for auto cell type

* Move longest field guessing into function

* Clean things up

* Add tests

* Make sure text won't flake

* Prettier

* Remove spurious import

* Ignore any in this case

* Add alpha label

* Prettier

* Fix typecheck

* Fix crash when sampling when there are undefined records

* Update heuristic to take into account long strings

* Prettier

* Update scale factors

* Update field index selection

* Prettier

---------

Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-06-07 23:15:33 +07:00
Jack Westbrook
0e73c4d387
Storybook: Bump to 8.1.6 (#88899)
* chore(storybook): bump to latest 8.1.6

* chore(yarn): dedupe yarn.lock post storybook update

* chore(typescript): align react types across repo
2024-06-07 14:31:31 +02:00
renovate[bot]
8dcbd74803
Update dependency rc-drawer to v7.2.0 (#88785)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 16:03:06 +01:00
renovate[bot]
1ceb9e8e9d Update babel monorepo to v7.24.7 2024-06-05 14:14:01 +00:00
renovate[bot]
0188fc3e1f
Update dependency rc-cascader to v3.26.0 (#88777)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:52:25 +01:00
renovate[bot]
cd5f485df7 Update dependency tslib to v2.6.3 2024-06-05 10:08:51 +00:00
renovate[bot]
4443438fab Update dependency @types/node to v20.14.2 2024-06-05 09:48:36 +00:00
renovate[bot]
d4c28aa757
Update dependency @types/react-highlight-words to v0.20.0 (#88693)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 14:54:22 +01:00
renovate[bot]
b8cd5bb57c
Update dependency @types/node to v20.14.1 (#88689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 13:58:08 +01:00
renovate[bot]
fabed77d1f Update dependency css-loader to v7.1.2 2024-05-30 12:44:55 +00:00
renovate[bot]
4b62be37f5 Update dependency core-js to v3.37.1 2024-05-30 12:11:46 +00:00
renovate[bot]
0c572e8db7 Update dependency @types/node to v20.12.13 2024-05-30 10:45:34 +00:00
renovate[bot]
c5c38b57c4 Update dependency @types/lodash to v4.17.4 2024-05-30 09:52:46 +00:00
renovate[bot]
2d18de7e84
Update dependency @floating-ui/react to v0.26.16 (#88409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 12:28:26 +03:00
Ashley Harrison
7e25ff5756
Select: Support option groups in virtualised Selects (#88232)
* change select group headers to always be visible

* remove unnecessary SelectOptionGroup

* hacky change to work with virtualised lists

* undo this change

* add top border

* remove children from the category header

* don't virtualize story

* bit of renaming

* comments

* add new story for virtualized options
2024-05-28 10:49:43 +01:00
renovate[bot]
d843209ee4 Update babel monorepo to v7.24.6 2024-05-24 18:13:19 +00:00
renovate[bot]
9f23e9a53b Update React Aria 2024-05-24 16:28:31 +00:00
Jack Westbrook
65b2834420
Grafana UI: Bump to Storybook 8 (#87722)
* chore(storybook): run yarn dlx storybook@latest upgrade

* chore(storybook): remove storybook/blocks patch

* chore(yarn): clean up storybook dependencies

* feat(storybook): migrate to v8 config via migration codemods

* refactor(storybook): update stories to use v8 types via codemod

* refactor(storybook): update stories to use preview-api instead of client-api

* refactor(storybook): replace mdx usage of ArgsTable with PureArgsTable

* refactor(storybook): migrate remaining mdx files to v8 storybook/blocks api

* refactor(storybook): clean up mdx imports and blocks component names

* chore(storybook): clean up typescript configuration

* fix(frontend): align types/react versions across monorepo so grafana ui can be built

* fix(storybook): pub back react-docgen-typescript and use ArgTypes so props tables work

* chore(storybook): patch blocks package to expose Preview component

* revert(storybook): revert changes related to using Canvas component in mdx files

* Storybook upgrade: Fix icon typing (#87793)

fix iconOptions typing

* refactor(storybook): prefer as const over asserting types

* revert(storybook): put back correct case in box.mdx

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-05-15 15:49:00 +02:00
Fabrizio
bd4e9d102b Update version to 11.0.0 2024-05-14 12:54:11 +02:00
renovate[bot]
02e0ece87d Update dependency rimraf to v5.0.7 2024-05-13 11:25:12 +00:00
renovate[bot]
0597265344 Update dependency immutable to v4.3.6 2024-05-13 11:04:06 +00:00
renovate[bot]
1983043b71
Update dependency @floating-ui/react to v0.26.14 (#87690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 11:42:58 +03:00
renovate[bot]
8bfd7e5106
Update dependency @types/react-test-renderer to v18.3.0 (#87649)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 19:29:46 +03:00
renovate[bot]
0793a9033a
Update dependency @types/lodash to v4.17.1 (#87419)
* Update dependency @types/lodash to v4.17.1

* fix grafana-data

* simpler grafana-data fix

* simpler code

* commit a betterer crime (it was already doing this implicitly before...)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-05-10 13:56:27 +01:00
renovate[bot]
04ce2d2f5a Update dependency @types/prismjs to v1.26.4 2024-05-08 14:53:35 +00:00
renovate[bot]
98435a67f5 Update dependency @types/node to v20.12.11 2024-05-08 16:08:44 +02:00
renovate[bot]
3e2e06179e Update dependency @types/jquery to v3.5.30 2024-05-08 13:39:13 +00:00
renovate[bot]
f1e5a02af5
Update dependency rc-cascader to v3.25.0 (#86045)
* Update dependency rc-cascader to v3.25.0

* fix type errors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-05-08 15:24:01 +03:00
renovate[bot]
b25f193be0 Update dependency @types/node to v20.12.8 2024-05-03 11:25:38 +00:00
renovate[bot]
4d0a3de6fb
Update dependency @floating-ui/react to v0.26.13 (#87273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 23:11:39 +01:00
renovate[bot]
79b5fb9f1f Update babel monorepo to v7.24.5 2024-05-02 18:10:10 +00:00
renovate[bot]
dd9fb83606
Update React Aria (#87253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 17:27:29 +01:00
renovate[bot]
c849b6beaa
Update dependency react-i18next to v14 (#86753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 11:11:25 +01:00