diff --git a/apps/design-system/README.md b/apps/design-system/README.md index 959e3631802..f7d0347f0b5 100644 --- a/apps/design-system/README.md +++ b/apps/design-system/README.md @@ -64,7 +64,7 @@ With that out of the way, there are several parts of this design system that nee - `registry/charts.ts`: chart components - `registry/fragments.ts`: fragment components -You may need to rebuild the design system’s registry. You can do that via: +You will probably need to rebuild the design system’s registry after making new additions. You can do that via: ```bash cd apps/design-system diff --git a/apps/design-system/__registry__/index.tsx b/apps/design-system/__registry__/index.tsx index cead6b766f8..32ff2204d4f 100644 --- a/apps/design-system/__registry__/index.tsx +++ b/apps/design-system/__registry__/index.tsx @@ -2315,13 +2315,35 @@ export const Index: Record = { subcategory: "undefined", chunks: [] }, - "empty-state-initial-state": { - name: "empty-state-initial-state", + "empty-state-initial-state-presentational": { + name: "empty-state-initial-state-presentational", type: "components:example", registryDependencies: undefined, - component: React.lazy(() => import("@/registry/default/example/empty-state-initial-state")), + component: React.lazy(() => import("@/registry/default/example/empty-state-initial-state-presentational")), source: "", - files: ["registry/default/example/empty-state-initial-state.tsx"], + files: ["registry/default/example/empty-state-initial-state-presentational.tsx"], + category: "undefined", + subcategory: "undefined", + chunks: [] + }, + "empty-state-initial-state-informational": { + name: "empty-state-initial-state-informational", + type: "components:example", + registryDependencies: undefined, + component: React.lazy(() => import("@/registry/default/example/empty-state-initial-state-informational")), + source: "", + files: ["registry/default/example/empty-state-initial-state-informational.tsx"], + category: "undefined", + subcategory: "undefined", + chunks: [] + }, + "empty-state-zero-items-data-grid": { + name: "empty-state-zero-items-data-grid", + type: "components:example", + registryDependencies: undefined, + component: React.lazy(() => import("@/registry/default/example/empty-state-zero-items-data-grid")), + source: "", + files: ["registry/default/example/empty-state-zero-items-data-grid.tsx"], category: "undefined", subcategory: "undefined", chunks: [] diff --git a/apps/design-system/config/docs.ts b/apps/design-system/config/docs.ts index ec78bcd99ca..7e9e2b628b1 100644 --- a/apps/design-system/config/docs.ts +++ b/apps/design-system/config/docs.ts @@ -35,16 +35,6 @@ export const docsConfig: DocsConfig = { href: '/docs/icons', items: [], }, - { - title: 'Figma', - href: '/docs/figma', - items: [], - }, - { - title: 'Changelog', - href: '/docs/changelog', - items: [], - }, ], }, { diff --git a/apps/design-system/content/docs/changelog.mdx b/apps/design-system/content/docs/changelog.mdx deleted file mode 100644 index a96a3e675f1..00000000000 --- a/apps/design-system/content/docs/changelog.mdx +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: Changelog -description: Latest updates and announcements. -toc: false ---- - -## 2nd Oct 2025 - Update button styles - -- UI Patterns section added for higher-level guidance -- [`Navigation`](/design-system/docs/ui-patterns/navigation) UI pattern added -- [`NavMenu`](/design-system/docs/components/nav-menu) component added - -[PR](https://github.com/supabase/supabase/pull/39188) - -## 1st Sep 2025 - Update button styles - -- [`Color usage`](/design-system/docs/color-usage) page updated -- Color tokens improved for accessibility - -[PR](https://github.com/supabase/supabase/pull/38343) - -## 18th Oct 2024 - Update multi-select - -Improved Multi Select with combobox, badge limit, and more examples. - -- [Multi Select](/design-system/components/multi-select) - -[PR](https://github.com/supabase/supabase/pull/29695) - -## 12th June 2024 - Button styles updated - -- [` + + + + + Table name + Date created + + + + + + +

No tables yet

+

Create a table to get started

+
+
+
+
+
+ + ) +} diff --git a/apps/design-system/registry/default/example/empty-state-initial-state.tsx b/apps/design-system/registry/default/example/empty-state-initial-state-presentational.tsx similarity index 92% rename from apps/design-system/registry/default/example/empty-state-initial-state.tsx rename to apps/design-system/registry/default/example/empty-state-initial-state-presentational.tsx index 0c0db657166..81ace8d4713 100644 --- a/apps/design-system/registry/default/example/empty-state-initial-state.tsx +++ b/apps/design-system/registry/default/example/empty-state-initial-state-presentational.tsx @@ -1,8 +1,8 @@ -import { Button } from 'ui' -import { Plus } from 'lucide-react' import { BucketAdd } from 'icons' +import { Plus } from 'lucide-react' +import { Button } from 'ui' -export default function EmptyStateInitialState() { +export default function EmptyStateInitialStatePresentational() { return (