UNPKG

bootstrap-vue-next

Version:

BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.

19 lines (18 loc) 1.1 kB
export type AlignmentCommon = 'start' | 'end' | 'center' | 'fill'; export type AlignmentContent = AlignmentCommon | 'between' | 'around' | 'stretch'; export type AlignmentHorizontal = AlignmentCommon | 'between' | 'around'; export type AlignmentJustifyContent = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'; export type AlignmentTextHorizontal = 'start' | 'end' | 'center'; export type AlignmentVertical = AlignmentCommon | 'baseline' | 'stretch'; export type VerticalAlign = 'baseline' | 'top' | 'middle' | 'bottom' | 'text-top' | 'text-bottom'; export type ContainerVerticalAlign = Exclude<VerticalAlign, 'baseline' | 'text-top' | 'text-bottom'>; export type ContainerHorizontalAlign = 'start' | 'center' | 'end'; export type ContainerPosition = `${ContainerVerticalAlign}-${ContainerHorizontalAlign}`; /** * Not to be confused with FloatingUi's placement */ export type Placement = 'top' | 'bottom' | 'start' | 'end'; /** * Not to be confused with FloatingUi's placement */ export type CombinedPlacement = Placement | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';