chore(Carousel/Stepper): move orientation from defaultVariants to withDefaults

This commit is contained in:
Benjamin Canac
2024-12-20 11:40:40 +01:00
parent d6179912de
commit 23550c2263
3 changed files with 1 additions and 4 deletions

View File

@@ -66,6 +66,7 @@ import { reactivePick } from '@vueuse/core'
import UIcon from './Icon.vue' import UIcon from './Icon.vue'
const props = withDefaults(defineProps<StepperProps<T>>(), { const props = withDefaults(defineProps<StepperProps<T>>(), {
orientation: 'horizontal',
linear: true linear: true
}) })
const emits = defineEmits<StepperEmits<T>>() const emits = defineEmits<StepperEmits<T>>()

View File

@@ -33,8 +33,5 @@ export default (options: Required<ModuleOptions>) => ({
dot: 'bg-[var(--ui-border-inverted)]' dot: 'bg-[var(--ui-border-inverted)]'
} }
} }
},
defaultVariants: {
orientation: 'horizontal'
} }
}) })

View File

@@ -124,7 +124,6 @@ export default (options: Required<ModuleOptions>) => ({
}], }],
defaultVariants: { defaultVariants: {
orientation: 'horizontal',
size: 'md', size: 'md',
color: 'primary' color: 'primary'
} }