Commit Graph
22 Commits
Author SHA1 Message Date
Ivan Vasilov 8a321126ac chore: Clean dead code in ui package (#35093)
* Clean up unneeded files and exports in packages/ui.

* Fix references to LogoLoader.

* Import SimpleCodeblock directly from ui package.
2025-04-24 12:24:12 +02:00
Ivan Vasilov 7c5912ebe4 chore: Remove storybook (#31096)
* Remove all stories files.

* Remove some extra files which were used by storybook or werent used at all.

* Remove all references to storybook in documentation and code.

* Remove all storybook packages.

* Fix prettier error.

* Remove two css configs which were used for storybook.
2024-12-16 11:50:20 +01:00
Ivan VasilovandJoshen Lim 05a542ccea chore: Migrate all feather icons to lucide icons (#29038)
* Add lucide-react to docs (to make the autocomplete work).

* Migrate the docs app icons.

* Migrate the ui-patterns.

* Remove the old icons from ui package.

* Migrate the www app from react-feather icons.

* Migrate all of studio icons.

* Migrate the only component in design-system.

* Fix an old import in ui package. Revert an import in docs app.

* Fix some pages in www.

* Remove unneeded files used in generation of icons.

* Fix a prettier error.

* Fix more issues in www.

* Fix an issue in Log Date picker.

* Replace all string sizes with number sizes because the icons grew in some cases.

* Fix more imports in security page.

* Fix an extra import.

* Remove the size prop from all icons if they're in a button and they match the button size.

* Minor fixes for docs and www.

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-09-04 19:46:21 +08:00
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
Jonathan Summers-Muir d69b44bd4a [packages/ui] chore: deprecate old components (#26817)
init deprecation
2024-05-28 19:14:17 +08:00
Charis 94c906b377 refactor: clean up useClient (#23280)
Move useClients to the actual file instead of index files, so that (a) we don't
ship unnecessary client-side code and (b) we don't get the "can't dot into
client component from server" error when trying to use MDX in RSCs.
2024-05-06 15:57:44 -04:00
Ivan Vasilov acdacbadcd chore: Fix the types in the ui package (#19633)
* Enable the typecheck command for the ui package.

* Ignore the stories.tsx files when typechecking.

* Remove the unused Avatar component. We can use the one provided by shadcn now.

* Rename the datatable.stories file.

* Fix various type errors.

* Fix the Toast component.
2023-12-14 15:22:33 +01:00
b91532f6c7 Migrate to styling tokens (#18314)
* migrate some www components to tokens

* consolidate InteractiveShimmerCard to Panel component

* update tokens in blog

* update tokens in careers page

* update tokens in customers section

* update tokens in open-source section

* update tokens in Realtime page

* update tokens in Storage and Vector

* update tokens in SplitCodeBlockCarousel

* update tokens in PGCharts

* remove unused css files

* update tokens in Card

* update tokens in Pricing page

* clean up priving page imports

* remove hardcoded theme vars

* migrate first half of defaultTheme.ts to tokens

* migrate second half of defaultTheme.ts to tokens

* improve inputs

* add foreground to text-light and text-lighter

* add foreground to text-light and text-lighter

* migrate docs components with styling tokens

* migrate docs components with styling tokens

* fix broken Repos component

* fix broken classes in blog

* update tokens on Button and other components

* update tokens on IconPanel

* update studio main layout base styling tokens

* update tokens across studio, docs and www

* update tokens across studio, docs and www

* update ui/Panel to styling tokens

* update ExampleProject and TableEditorMenu tokens

* www vector page tokens

* update studio UI tokens

* update other studio UI tokens

* update more studio UI tokens

* change tokens here, change tokens there

* finish updating colors with tokens variables

* add gui sandbox for theme experimentation

* use common package for www, docs and studio and fix Command K tokens

* provide light mode default tokens options

* fix conflict leftover

* update loading line

* fix className typo

* fix prettier

* update themeSandbox preset default values

* fix text-background0

* prettier

* update warningBanner with warning color

* switch all border-border with border-default

* improve border-secondary and foreground-muted in light mode

* force ring color on toggle

* fix button bg color and border-muted light token

* fix input bg color

* fix dark button hover

* fix homepage product card

* fix code-hike table header colors

* button dark border

* remove tabIndex leftover from homepage main ctas

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-07 03:40:53 +00:00
Alaister Young abf7cb634e fix: default forms to post (#18026) 2023-10-09 15:17:15 +11:00
Jonathan Summers-Muir 2b3d49af3b chore: update old brand-700 to new brand-400 2023-07-30 17:03:30 +08:00
Jonathan Summers-Muir dec542a85a chore: update old brand-500 to new brand-300 2023-07-30 17:01:49 +08:00
Jonathan Summers-Muir e92931390c chore: update old brand-800 to new brand-500 2023-07-30 17:00:56 +08:00
Jonathan Summers-Muir ab46d23d58 chore: update brand-900 to brand 2023-07-30 16:58:54 +08:00
Alaister Young 53624c4f69 Merge branch 'master' into feat/moar-wrappers 2023-05-25 15:54:33 +10:00
Kevin Grüneberg 75f46b1b1d fix: auth typos 2023-04-30 17:10:46 +02:00
Joshen Lim 6a14f8bedb Update branch with master 2023-04-27 15:51:33 +08:00
Alaister Young 281b02b703 chore: add eslint-config-next 2023-04-17 16:40:33 +10:00
Alaister Young 7bbc1551a0 addable s3 wrapper 2023-04-14 20:53:57 +10:00
Jonathan Summers-Muir de4ccdeb7b fix: new react uses new FocusEvent 2023-03-27 14:43:46 +08:00
Jonathan Summers-Muir 55329d540e move to ui package drectory 2022-09-19 14:00:05 +02:00
Jonathan Summers-Muir b0233d3e3d remove old package. ready to rename other directory 2022-09-19 13:06:03 +02:00
Jonathan Summers-Muir d1b55da7d2 chore: move UI into main repo 2022-09-14 11:52:10 +02:00