Commit Graph
7 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
Lisa Kim 547f59d13b Web: Add MarkInverse and ResourceLabelTooltip contents (#50532)
* Add a inverse Mark version inside tooltips

* Add tooltip contents for resource labels

* Fix spacing for ButtonTextWithAddIcon

* Add index file for export

* Rename MarkForTooltip to MarkInverse

* Address CRs
2024-12-24 21:40:21 +00:00
Grzegorz Zdunek 941a99301e Remove unused React imports from packages/shared (#50207) 2024-12-13 15:12:14 +00:00
Sakshyam Shah ef7683a784 [web] file upload button shared component (#45717)
* file upload button

* update buttonTextWithAddIcon to use IconSize type

* display error message on parent validation result, license file

* disabled and error story
2024-08-27 17:42:37 +00:00
Lisa Kim 29d166a714 Web: Add compact prop for ButtonText and fixes existing uses spacing (#45241)
* Add compact prop field for ButtonText

* Web: Fix ButtonText padding

* Address CRs

* Use shouldForwardProp

Prevents non html attribute field "compact" from being
passed to dom which fails test
2024-08-08 18:27:36 +00:00
Bartosz LeperandRafał Cieślak ed2f1b6025 Fix UI issues after introducing new button design system (#43663)
* A new Button component

* Update snapshots

* UI corrections after updating the Button component

* Update snapshots

* buttons.story.tsx: Group related buttons together

Also increase gap to increase visibility of individual groups

* Fix Cancel button in ClusterAdd in teleterm

* Correct display names of auth providers in ClusterLogin story

* Update Retry button in Unified Resources

* Fix the buttons story snapshot

* Add license

---------

Co-authored-by: Rafał Cieślak <rafal.cieslak@goteleport.com>
2024-07-10 18:09:04 +00:00
Sakshyam Shah a8c1360b45 ButtonTextWithAddIcon shared component (#36103)
* add button with add icon

* rename component to align with existing naming pattern

* addItem -> onClick

* test and story

* update LabelsCreator with ButtonTextWithAddIcon

* remove commented story block, update icon size label text

* remove disabled props from addIcon

* remove  from labelsCreater.tsx
2024-01-03 23:07:21 +00:00