refactor(module)!: implement design system with CSS variables (#2298)

This commit is contained in:
Benjamin Canac
2024-10-07 14:48:02 +02:00
committed by GitHub
parent 3cf5535b2f
commit 9368c6a639
279 changed files with 6533 additions and 6994 deletions

View File

@@ -20,9 +20,9 @@ describe('Progress', () => {
...sizes.map((size: string) => [`with size ${size}`, { props: { size } }]),
...orientations.map((orientation: string) => [`with orientation ${orientation}`, { props: { orientation } }]),
...animations.map((animation: string) => [`with animation ${animation}`, { props: { animation } }]),
['with color gray', { props: { color: 'gray', modelValue: 50 } }],
['with color neutral', { props: { color: 'neutral', modelValue: 50 } }],
['with class', { props: { class: 'w-48' } }],
['with ui', { props: { ui: { base: 'bg-white dark:bg-gray-900' } } }],
['with ui', { props: { ui: { base: 'bg-[--ui-bg]' } } }],
// Slots
['with status slot', { slots: { status: () => 'Status slot' } }]
])('renders %s correctly', async (nameOrHtml: string, options: { props?: ProgressProps, slots?: Partial<ProgressSlots> }) => {