Files
supabase/packages/ui-patterns/README.md
Ivan Vasilov 5754c23abb feat: Move some components into ui-patterns (#20774)
* Change all imports in the ui package which import via the @ui shortcut.

* Add a new ui-patterns package. Add it to all apps.

* Migrate PrivacySettings from ui to ui-patterns.

* Migrate ConsentToast from ui to ui-patterns.

* Remove providers folder from ui package.

* Move GlassPanel.

* Migrate IconPanel.

* Migrate TweetCard.

* Migrate ThemeImage.

* Remove LWXCountdownBanner.

* Migrate CountdownWidget.

* Migrate SchemaTableNode.

* Migrate ExpandableVideo.

* Migrate ThemeToggle.

* Fix bunch of imports in the docs app.

* Revert some unnecessary changes.

* Expand the README.md.

* Fix the tailwind configs, they were using old folder structure.

* Fix leftover merge conflicts.

* Remove a deleted page in master.

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-02-12 12:44:00 +01:00

10 lines
565 B
Markdown

# Supabase UI Patterns
This package should be used for components which are built using NPM libraries (`react-markdown`, `reactflow` for example),
which make no sense to be included in all apps. It should also be used for components which are constructed using various
components from the `ui` package.
This package does not have a barrel file - each component has to be imported from its index
(`ui-patterns/PrivacySettings`, for example). This is intentional so that adding a new component which is used only in
1 or 2 apps doesn't burden the rest of the apps.