Commit Graph
5 Commits
Author SHA1 Message Date
Ryan ClarkandRafał Cieślak d6fa030c0e Move import sorting over to prettier (#50618)
* Move import sorting over to prettier

* Update import order

* Re-run prettier

---------

Co-authored-by: Rafał Cieślak <rafal.cieslak@goteleport.com>
2025-01-02 13:36:46 +00:00
Grzegorz Zdunek 941a99301e Remove unused React imports from packages/shared (#50207) 2024-12-13 15:12:14 +00:00
Bartosz Leper db9505d169 Move tooltips to the design package (#49544)
* Validation

Adds a model-level validation capability to our validation library.

* Move tooltips to the design package

They will be later required in the SlideTabs component

* Review

* Also, rename the tooltip directory

* Also, rename the tooltip component

* review

* Never return undefined from useValidation()
2024-12-04 17:59:25 +00:00
Maxim Dietz c3c03817e8 chore: Default config for storybook-controls, add storybook-actions (#49239)
* Set some defaults for `storybook-controls` to prevent `userContext`
  Decorator showing as a Control for all Stories
* Add `@storybook/addon-actions` for displaying callbacks in UI, add to
  `shared/controls/*` stories
* Tidy some incorrect types/controls for `shared/controls/*` stories
2024-11-25 20:46:40 +00:00
Maxim Dietz 192e8eb7c6 [web] Tidy reused Menu components (#48904)
* chore: Tidy reused Menu components

* Add generic MultiselectMenu, ViewModeSwitch, SortMenu components

* test: Add Stories for new control components
2024-11-18 17:58:12 +00:00