Commit Graph
32 Commits
Author SHA1 Message Date
Ivan Vasilov 7dea89cc35 Drop the _shadcn_ suffix from the the Dropdown component (#17804)
Replaced all occurrences of _shadcn_ for the Dropdown component.
2023-10-03 13:12:34 +02:00
Ivan Vasilov 18c11843ee Dropdowns migration followup (#17730)
* Remove text color from all dropdown items. The color was set by a class but it should be left to be decided by the parent.

* Make the text smaller in all dropdown elements.

(cherry picked from commit 9a71b3f987047ad26de6e5d496ccf53bc559f71d)

* Fix mismatched colors.

* Remove obsolete text-xs.

* Fix the button in the AI SQL editor.
2023-09-29 11:11:33 +00:00
Ivan Vasilov 76db9f27b3 Migrate dropdowns to use the new Dropdown component (#17427)
* Remove unneeded component.

* Update the dropdown content to support size prop (medium by default). Add space-x-2 to the dropdown item. Add flex to DropdownTrigger so that it's more vertically centered.

* Migrate Insert row dropdown in the TableEditor.

* Refactor UserDropdown to use the new Dropdown from shadcn.

* Migrate the ColumnMenu to use the new dropdown.

* Migrate the rest of the dropdowns.

* Remove the size prop and set the w-64 as default.

* Fix build errors.

* More dropdown fixes.

* More fixes.

* More fixes to various dropdowns.

* Remove the flex from the DropdownTrigger and add it in where it's needed.

* Snapshot.

* Remove keys on dropdown separators.

* Fix the dropdown in the SQL editor.

* Minor type fix.

* Remove space-x-2 from DropdownMenuItem and add it to each item where it's needed.

* Remove the space from the dropdown item.

* Fix a build error.

* Fix the item text in some of the dropdowns.

* Remove duplicate CSS from all dropdown items.

* The SubMenuContent text should be lighter to match MenuContent.

* Fix various CSS issues.

* Revert "Remove unneeded component."

This reverts commit ef606f6695.

* Fix migrated CSS classes.

* Last round of feedback fixes.
2023-09-26 15:29:07 +02:00
Ivan Vasilov 6648acacea Migrate CSS classes for light text (#17725)
* Replace all occurences of text-scale-1100 to text-foreground-light.

* Replace all occurences of text-scale-1000 with text-foreground-light.

* Fix double uses of text-foreground-light.
2023-09-26 11:05:28 +02:00
Joshen Lim 7aee78a8b8 Replace all occurences of text-scale-1200 with text-foreground (#17723)
* Replace all occurences of text-scale-1200 with text-foreground

* Fix spelling
2023-09-26 15:53:03 +08:00
Joshen Lim 012b1493be Remove all usage of FC part 2 2023-08-07 10:28:23 +02:00
Jonathan Summers-Muir ab46d23d58 chore: update brand-900 to brand 2023-07-30 16:58:54 +08:00
Alaister Young 3bc70549c3 chore: checkPermissions -> useCheckPermissions 2023-06-30 15:15:09 +10:00
Jonathan Summers-Muir f68e79ff71 fixed errors with Button from new changes 2023-06-13 17:36:36 +08:00
Jonathan Summers-Muir c81e0c9098 update radix and tailwind to correct versions. update all tooltips with Portal subcomponent 2023-03-24 14:48:01 +08:00
Joshen Lim 433f8e4496 Refactor no search results ui component 2023-03-22 21:38:20 +08:00
Joshen Lim 3929b934cc Slight update to hooks layout 2023-03-22 21:38:20 +08:00
Joshen Lim c0b7dda02a Update database roles page to follow similar layout as wrappers and backups 2023-03-22 21:38:20 +08:00
Joshen Lim 6e60cf087d Add check permissions for database roles 2023-02-21 14:57:56 +08:00
Joshen Lim 1ec964a607 Update based on feedback 2023-02-16 15:21:20 +08:00
Joshen Lim 730e7e5d65 Ensure form gets reset after updating role successfully 2023-02-16 15:21:20 +08:00
Joshen Lim 591e98e7be Fix 2023-02-16 15:21:20 +08:00
Joshen Lim 93fdde701b Update create role into a side panel 2023-02-16 15:21:20 +08:00
Joshen Lim 28940e0c37 Add search and filter for roles 2023-02-16 15:21:20 +08:00
Joshen Lim c5be23964c Implement create and delete roles 2023-02-16 15:21:20 +08:00
Joshen Lim 1291d6d18a Scaffold UI for editing roles 2023-02-16 15:21:20 +08:00
Joshen Lim 3e05a320e7 Update database roles page to improve ui 2023-02-16 15:21:20 +08:00
Jonathan Summers-Muir 55329d540e move to ui package drectory 2022-09-19 14:00:05 +02:00
Jonathan Summers-Muir a4d37836a5 update all imports 2022-09-19 12:24:59 +02:00
Jonathan Summers-Muir bc73301b8e revert 2022-09-16 12:57:56 +02:00
Jonathan Summers-Muir e122dd0983 update import paths 2022-09-14 17:49:53 +02:00
Joshen Lim 76ce1bcc57 Broad refactor to deprecate use of Typography 2022-08-30 12:23:14 +08:00
Nick Rayburn 85241a401b Update Panel types and move file 2022-05-14 15:00:21 -05:00
Joshen Lim e33b5e292f Misc styling fixes 2022-03-01 16:48:24 +08:00
Jonathan Summers-Muir ae92541321 chore: use Local Divider component 2022-03-01 13:58:55 +08:00
Joshen Lim 1cf3779bfe Misc styling fixes 2022-03-01 13:58:55 +08:00
Joshen Lim 9373f69220 Studio 🎙 2021-11-26 11:15:00 +05:30