feat(module)!: migrate to reka-ui (#2448)

This commit is contained in:
Benjamin Canac
2024-12-03 16:11:32 +01:00
committed by GitHub
parent c440c91a29
commit 81ac076219
229 changed files with 13487 additions and 13466 deletions

View File

@@ -11,6 +11,7 @@ describe('Slider', () => {
it.each([
// Props
['with modelValue', { props: { modelValue: 10 } }],
['with defaultValue', { props: { defaultValue: 10 } }],
['with multiple thumbs', { props: { defaultValue: [0, 10] } }],
['with name', { props: { name: 'custom-name' } }],
@@ -21,6 +22,7 @@ describe('Slider', () => {
['with min steps between thumbs', { props: { defaultValue: [0, 30], minStepsBetweenThumbs: 30 } }],
...sizes.map((size: string) => [`with size ${size}`, { props: { size } }]),
['with color neutral', { props: { color: 'neutral', defaultValue: 10 } }],
['with as', { props: { as: 'section' } }],
['with class', { props: { class: 'w-48' } }],
['with ui', { props: { ui: { track: 'bg-[var(--ui-bg-elevated)]' } } }]
])('renders %s correctly', async (nameOrHtml: string, options: { props?: SliderProps }) => {