mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
chore(Carousel/Stepper): move orientation from defaultVariants to withDefaults
This commit is contained in:
@@ -66,6 +66,7 @@ import { reactivePick } from '@vueuse/core'
|
||||
import UIcon from './Icon.vue'
|
||||
|
||||
const props = withDefaults(defineProps<StepperProps<T>>(), {
|
||||
orientation: 'horizontal',
|
||||
linear: true
|
||||
})
|
||||
const emits = defineEmits<StepperEmits<T>>()
|
||||
|
||||
@@ -33,8 +33,5 @@ export default (options: Required<ModuleOptions>) => ({
|
||||
dot: 'bg-[var(--ui-border-inverted)]'
|
||||
}
|
||||
}
|
||||
},
|
||||
defaultVariants: {
|
||||
orientation: 'horizontal'
|
||||
}
|
||||
})
|
||||
|
||||
@@ -124,7 +124,6 @@ export default (options: Required<ModuleOptions>) => ({
|
||||
}],
|
||||
|
||||
defaultVariants: {
|
||||
orientation: 'horizontal',
|
||||
size: 'md',
|
||||
color: 'primary'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user