@sveltestrap/sveltestrap
Version:
Bootstrap components for Svelte
100 lines (89 loc) • 1.91 kB
TypeScript
export declare type BackgroundColor =
| 'primary'
| 'secondary'
| 'success'
| 'danger'
| 'warning'
| 'info'
| 'light'
| 'dark'
| 'primary-subtle'
| 'secondary-subtle'
| 'success-subtle'
| 'danger-subtle'
| 'warning-subtle'
| 'info-subtle'
| 'light-subtle'
| 'dark-subtle'
| 'black'
| 'white'
| 'transparent'
| 'body'
| 'body-secondary'
| 'body-tertiary';
export declare type Border = 'border' | 'border-top' | 'border-end' | 'border-bottom' | 'border-start';
export declare type Breakpoints = 'sm' | 'md' | 'lg' | 'xl';
export declare type Color = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
export declare type ColumnProps =
| string
| number
| {
xs?: number;
sm?: number;
md?: number;
lg?: number;
xl?: number;
};
export declare type ContainerType = 'body' | 'inline';
export declare type Direction = 'up' | 'down' | 'left' | 'right' | 'start' | 'end';
export declare type InputType =
| 'button'
| 'checkbox'
| 'color'
| 'date'
| 'datetime-local'
| 'email'
| 'file'
| 'month'
| 'number'
| 'password'
| 'radio'
| 'range'
| 'reset'
| 'search'
| 'select'
| 'submit'
| 'switch'
| 'tel'
| 'text'
| 'textarea'
| 'time'
| 'url'
| 'week';
export declare type Placement = 'start' | 'end' | 'top' | 'bottom';
export declare type Shadow = 'shadow-sm' | 'shadow' | 'shadow-lg' | 'shadow-none';
export declare type TextColor =
| 'primary'
| 'secondary'
| 'success'
| 'danger'
| 'warning'
| 'info'
| 'light'
| 'dark'
| 'primary-emphasis'
| 'secondary-emphasis'
| 'success-emphasis'
| 'danger-emphasis'
| 'warning-emphasis'
| 'info-emphasis'
| 'light-emphasis'
| 'dark-emphasis'
| 'body'
| 'body-emphasis'
| 'body-secondary'
| 'body-tertiary'
| 'black'
| 'white'
| 'black-50'
| 'white-50';