Files
supabase/apps/design-system/registry/charts.ts
kemal.earth ec6f55c00b feat(design-system): charts defrag (#41026)
* feat: remove unused chart files

* chore: regenerate registry

* fix: logs bar chart positioning

* feat: add charts page to ui patterns

* chore: alphabetise ui patterns nav

* feat: base composable chart components

* chore: prettier for charts.mdx

* chore: slowly putting example together

* feat: add chart header components

* feat: add chart content wrapper

* feat: add recharts to source

* feat: add empty state handling

* feat: add loading state for content area as well

* feat: starting on actual recharts pieces

* feat: add basic api to documentation

* feat: add disabled state too

* feat: couple of basic chart types

* chore: tidy up for now

* feat: modify eslint rules for our demo files

* fix: recharts logo colour on light mode

* feat: absorb metric card into chart

* feat: align prop for chart header

* feat: refactor chart content

* feat: example with table

* chore: format for prettier

* fix: pkg lock merge conflict

* fix: small bits from danny

* feat: add link in ui pattern intro to charts

* chore: remove charts link from atoms

* chore: update metric padding to saxon suggestion

* feat: table footer overrides by default

* feat: update api props in table

* chore: formating
2025-12-10 13:10:18 +00:00

61 lines
1.5 KiB
TypeScript

import { Registry } from './schema'
export const charts: Registry = [
{
name: 'chart-bar-interactive',
type: 'components:block',
registryDependencies: ['card', 'chart'],
files: ['block/chart-bar-interactive.tsx'],
category: 'Charts',
subcategory: 'Bar',
},
{
name: 'chart-composed-demo',
type: 'components:block',
registryDependencies: ['chart'],
files: ['block/chart-composed-demo.tsx'],
category: 'Charts',
subcategory: 'Composed',
},
{
name: 'chart-composed-basic',
type: 'components:block',
registryDependencies: ['chart'],
files: ['block/chart-composed-basic.tsx'],
category: 'Charts',
subcategory: 'Composed',
},
{
name: 'chart-composed-states',
type: 'components:block',
registryDependencies: ['chart'],
files: ['block/chart-composed-states.tsx'],
category: 'Charts',
subcategory: 'Composed',
},
{
name: 'chart-composed-table',
type: 'components:block',
registryDependencies: ['chart'],
files: ['block/chart-composed-table.tsx'],
category: 'Charts',
subcategory: 'Composed',
},
{
name: 'chart-composed-metrics',
type: 'components:block',
registryDependencies: ['chart'],
files: ['block/chart-composed-metrics.tsx'],
category: 'Charts',
subcategory: 'Composed',
},
{
name: 'chart-composed-actions',
type: 'components:block',
registryDependencies: ['chart'],
files: ['block/chart-composed-actions.tsx'],
category: 'Charts',
subcategory: 'Composed',
},
]