mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 15:01:46 +01:00
feat(module)!: migrate to reka-ui (#2448)
This commit is contained in:
@@ -14,8 +14,6 @@ describe('InputNumber', () => {
|
||||
|
||||
it.each([
|
||||
// Props
|
||||
['with class', { props: { class: 'absolute' } }],
|
||||
['with ui', { props: { ui: { base: 'rounded-full' } } }],
|
||||
['with name', { props: { name: 'name' } }],
|
||||
['with placeholder', { props: { placeholder: 'Number...' } }],
|
||||
['with disabled', { props: { disabled: true } }],
|
||||
@@ -26,6 +24,9 @@ describe('InputNumber', () => {
|
||||
...sizes.map((size: string) => [`with size ${size}`, { props: { size } }]),
|
||||
...variants.map((variant: string) => [`with primary variant ${variant}`, { props: { variant } }]),
|
||||
...variants.map((variant: string) => [`with neutral variant ${variant}`, { props: { variant, color: 'neutral' } }]),
|
||||
['with as', { props: { as: 'section' } }],
|
||||
['with class', { props: { class: 'absolute' } }],
|
||||
['with ui', { props: { ui: { base: 'rounded-full' } } }],
|
||||
// Slots
|
||||
['with increment slot', { slots: { increment: () => '+' } }],
|
||||
['with decrement slot', { slots: { decrement: () => '-' } }]
|
||||
|
||||
Reference in New Issue
Block a user