@soft-stech/bootsman-ui-shadcn 1.0.3 → 1.0.4-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/ui/accordion/BuiAccordion.vue.d.ts +22 -1
- package/dist/components/ui/accordion/BuiAccordionContent.vue.d.ts +22 -1
- package/dist/components/ui/accordion/BuiAccordionItem.vue.d.ts +22 -1
- package/dist/components/ui/accordion/BuiAccordionTrigger.vue.d.ts +24 -1
- package/dist/components/ui/alert/BuiAlert.vue.d.ts +24 -1
- package/dist/components/ui/alert/BuiAlertDescription.vue.d.ts +12 -1
- package/dist/components/ui/alert/BuiAlertTitle.vue.d.ts +8 -1
- package/dist/components/ui/alert/index.d.ts +3 -1
- package/dist/components/ui/alert-dialog/BuiAlertDialog.vue.d.ts +22 -1
- package/dist/components/ui/alert-dialog/BuiAlertDialogAction.vue.d.ts +18 -1
- package/dist/components/ui/alert-dialog/BuiAlertDialogCancel.vue.d.ts +18 -1
- package/dist/components/ui/alert-dialog/BuiAlertDialogDescription.vue.d.ts +22 -1
- package/dist/components/ui/alert-dialog/BuiAlertDialogFooter.vue.d.ts +20 -1
- package/dist/components/ui/alert-dialog/BuiAlertDialogHeader.vue.d.ts +20 -1
- package/dist/components/ui/alert-dialog/BuiAlertDialogTitle.vue.d.ts +22 -1
- package/dist/components/ui/alert-dialog/BuiAlertDialogTrigger.vue.d.ts +18 -1
- package/dist/components/ui/aspect-ratio/BuiAspectRatio.vue.d.ts +18 -1
- package/dist/components/ui/avatar/BuiAvatar.vue.d.ts +40 -1
- package/dist/components/ui/avatar/BuiAvatarFallback.vue.d.ts +18 -1
- package/dist/components/ui/avatar/BuiAvatarImage.vue.d.ts +11 -1
- package/dist/components/ui/avatar/index.d.ts +4 -1
- package/dist/components/ui/badge/BuiBadge.vue.d.ts +43 -1
- package/dist/components/ui/badge/index.d.ts +3 -1
- package/dist/components/ui/button/BuiButton.vue.d.ts +38 -1
- package/dist/components/ui/button/index.d.ts +4 -1
- package/dist/components/ui/calendar/BuiCalendar.vue.d.ts +62 -1
- package/dist/components/ui/card/BuiCard.vue.d.ts +20 -1
- package/dist/components/ui/card/BuiCardContent.vue.d.ts +20 -1
- package/dist/components/ui/card/BuiCardDescription.vue.d.ts +20 -1
- package/dist/components/ui/card/BuiCardFooter.vue.d.ts +20 -1
- package/dist/components/ui/card/BuiCardHeader.vue.d.ts +20 -1
- package/dist/components/ui/card/BuiCardTitle.vue.d.ts +20 -1
- package/dist/components/ui/checkbox/BuiCheckbox.vue.d.ts +15 -1
- package/dist/components/ui/command/BuiCommandDialog.vue.d.ts +22 -1
- package/dist/components/ui/command/BuiCommandEmpty.vue.d.ts +18 -1
- package/dist/components/ui/command/BuiCommandGroup.vue.d.ts +22 -1
- package/dist/components/ui/command/BuiCommandInput.vue.d.ts +11 -1
- package/dist/components/ui/command/BuiCommandSeparator.vue.d.ts +18 -1
- package/dist/components/ui/command/BuiCommandShortcut.vue.d.ts +8 -1
- package/dist/components/ui/context-menu/BuiContextMenu.vue.d.ts +22 -1
- package/dist/components/ui/context-menu/BuiContextMenuCheckboxItem.vue.d.ts +28 -1
- package/dist/components/ui/context-menu/BuiContextMenuGroup.vue.d.ts +18 -1
- package/dist/components/ui/context-menu/BuiContextMenuItem.vue.d.ts +28 -1
- package/dist/components/ui/context-menu/BuiContextMenuLabel.vue.d.ts +24 -1
- package/dist/components/ui/context-menu/BuiContextMenuRadioGroup.vue.d.ts +22 -1
- package/dist/components/ui/context-menu/BuiContextMenuRadioItem.vue.d.ts +26 -1
- package/dist/components/ui/context-menu/BuiContextMenuSeparator.vue.d.ts +11 -1
- package/dist/components/ui/context-menu/BuiContextMenuShortcut.vue.d.ts +8 -1
- package/dist/components/ui/context-menu/BuiContextMenuSub.vue.d.ts +22 -1
- package/dist/components/ui/context-menu/BuiContextMenuSubTrigger.vue.d.ts +24 -1
- package/dist/components/ui/context-menu/BuiContextMenuTrigger.vue.d.ts +18 -1
- package/dist/components/ui/dialog/BuiDialog.vue.d.ts +22 -1
- package/dist/components/ui/dialog/BuiDialogClose.vue.d.ts +18 -1
- package/dist/components/ui/dialog/BuiDialogDescription.vue.d.ts +22 -1
- package/dist/components/ui/dialog/BuiDialogFooter.vue.d.ts +20 -1
- package/dist/components/ui/dialog/BuiDialogHeader.vue.d.ts +20 -1
- package/dist/components/ui/dialog/BuiDialogTitle.vue.d.ts +22 -1
- package/dist/components/ui/dialog/BuiDialogTrigger.vue.d.ts +18 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenu.vue.d.ts +22 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuCheckboxItem.vue.d.ts +28 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuGroup.vue.d.ts +18 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuItem.vue.d.ts +24 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuLabel.vue.d.ts +24 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioGroup.vue.d.ts +22 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioItem.vue.d.ts +26 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuSeparator.vue.d.ts +11 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuShortcut.vue.d.ts +8 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuSub.vue.d.ts +22 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubTrigger.vue.d.ts +22 -1
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuTrigger.vue.d.ts +18 -1
- package/dist/components/ui/form/BuiFormControl.vue.d.ts +8 -1
- package/dist/components/ui/form/BuiFormDescription.vue.d.ts +8 -1
- package/dist/components/ui/form/BuiFormItem.vue.d.ts +9 -1
- package/dist/components/ui/form/BuiFormLabel.vue.d.ts +18 -1
- package/dist/components/ui/form/BuiFormMessage.vue.d.ts +1 -1
- package/dist/components/ui/form/useFormField.d.ts +6 -6
- package/dist/components/ui/hover-card/BuiHoverCard.vue.d.ts +18 -1
- package/dist/components/ui/hover-card/BuiHoverCardContent.vue.d.ts +36 -1
- package/dist/components/ui/hover-card/BuiHoverCardTrigger.vue.d.ts +18 -1
- package/dist/components/ui/input/BuiInput.vue.d.ts +26 -1
- package/dist/components/ui/input/index.d.ts +3 -1
- package/dist/components/ui/label/BuiLabel.vue.d.ts +22 -1
- package/dist/components/ui/pagination/BuiPaginationCommon.vue.d.ts +36 -1
- package/dist/components/ui/pagination/BuiPaginationEllipsis.vue.d.ts +18 -1
- package/dist/components/ui/pagination/BuiPaginationFirst.vue.d.ts +32 -1
- package/dist/components/ui/pagination/BuiPaginationLast.vue.d.ts +32 -1
- package/dist/components/ui/pagination/BuiPaginationNext.vue.d.ts +32 -1
- package/dist/components/ui/pagination/BuiPaginationPrev.vue.d.ts +32 -1
- package/dist/components/ui/popover/BuiPopover.vue.d.ts +22 -1
- package/dist/components/ui/popover/BuiPopoverTrigger.vue.d.ts +18 -1
- package/dist/components/ui/progress/BuiProgress.vue.d.ts +36 -1
- package/dist/components/ui/progress/index.d.ts +3 -1
- package/dist/components/ui/radio-group/BuiRadioGroup.vue.d.ts +26 -1
- package/dist/components/ui/radio-group/BuiRadioGroupItem.vue.d.ts +15 -1
- package/dist/components/ui/select/BuiSelect.vue.d.ts +24 -1
- package/dist/components/ui/select/BuiSelectGroup.vue.d.ts +22 -1
- package/dist/components/ui/select/BuiSelectItem.vue.d.ts +22 -1
- package/dist/components/ui/select/BuiSelectItemText.vue.d.ts +18 -1
- package/dist/components/ui/select/BuiSelectLabel.vue.d.ts +22 -1
- package/dist/components/ui/select/BuiSelectSeparator.vue.d.ts +15 -1
- package/dist/components/ui/select/BuiSelectTrigger.vue.d.ts +41 -1
- package/dist/components/ui/select/BuiSelectValue.vue.d.ts +18 -1
- package/dist/components/ui/separator/BuiSeparator.vue.d.ts +15 -1
- package/dist/components/ui/slider/BuiSlider.vue.d.ts +17 -1
- package/dist/components/ui/switch/BuiSwitch.vue.d.ts +19 -1
- package/dist/components/ui/table/BuiDataTable.vue.d.ts +46 -7
- package/dist/components/ui/table/BuiTable.vue.d.ts +21 -1
- package/dist/components/ui/table/BuiTableBody.vue.d.ts +21 -1
- package/dist/components/ui/table/BuiTableCaption.vue.d.ts +21 -1
- package/dist/components/ui/table/BuiTableCell.vue.d.ts +21 -1
- package/dist/components/ui/table/BuiTableEmpty.vue.d.ts +38 -1
- package/dist/components/ui/table/BuiTableFooter.vue.d.ts +21 -1
- package/dist/components/ui/table/BuiTableHead.vue.d.ts +21 -1
- package/dist/components/ui/table/BuiTableHeader.vue.d.ts +21 -1
- package/dist/components/ui/table/BuiTableRow.vue.d.ts +21 -1
- package/dist/components/ui/tabs/BuiTabs.vue.d.ts +22 -1
- package/dist/components/ui/tabs/BuiTabsContent.vue.d.ts +22 -1
- package/dist/components/ui/tabs/BuiTabsList.vue.d.ts +23 -1
- package/dist/components/ui/tabs/BuiTabsTrigger.vue.d.ts +23 -1
- package/dist/components/ui/tabs/index.d.ts +6 -2
- package/dist/components/ui/textarea/BuiTextarea.vue.d.ts +23 -1
- package/dist/components/ui/textarea/index.d.ts +3 -1
- package/dist/components/ui/toast/BuiToastAction.vue.d.ts +22 -1
- package/dist/components/ui/toast/BuiToastClose.vue.d.ts +14 -1
- package/dist/components/ui/toast/BuiToastDescription.vue.d.ts +22 -1
- package/dist/components/ui/toast/BuiToastProvider.vue.d.ts +18 -1
- package/dist/components/ui/toast/BuiToastTitle.vue.d.ts +22 -1
- package/dist/components/ui/toast/BuiToastViewport.vue.d.ts +15 -1
- package/dist/components/ui/toast/BuiToaster.vue.d.ts +1 -1
- package/dist/components/ui/toast/index.d.ts +3 -1
- package/dist/components/ui/toggle/BuiToggle.vue.d.ts +51 -1
- package/dist/components/ui/toggle/index.d.ts +4 -1
- package/dist/components/ui/tooltip/BuiTooltip.vue.d.ts +22 -1
- package/dist/components/ui/tooltip/BuiTooltipContent.vue.d.ts +38 -1
- package/dist/components/ui/tooltip/BuiTooltipProvider.vue.d.ts +18 -1
- package/dist/components/ui/tooltip/BuiTooltipTrigger.vue.d.ts +18 -1
- package/dist/histoire-setup.d.ts +0 -0
- package/dist/lib/utils.d.ts +5 -3
- package/dist/tailwind-preset.d.ts +116 -1
- package/package.json +5 -4
- package/dist/components/ui/alert-dialog/BuiAlertDialogContent.vue.d.ts +0 -2
- package/dist/components/ui/command/BuiCommand.vue.d.ts +0 -2
- package/dist/components/ui/command/BuiCommandItem.vue.d.ts +0 -2
- package/dist/components/ui/command/BuiCommandList.vue.d.ts +0 -2
- package/dist/components/ui/context-menu/BuiContextMenuContent.vue.d.ts +0 -2
- package/dist/components/ui/context-menu/BuiContextMenuSubContent.vue.d.ts +0 -2
- package/dist/components/ui/dialog/BuiDialogContent.vue.d.ts +0 -2
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuContent.vue.d.ts +0 -2
- package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubContent.vue.d.ts +0 -2
- package/dist/components/ui/popover/BuiPopoverContent.vue.d.ts +0 -2
- package/dist/components/ui/select/BuiSelectContent.vue.d.ts +0 -2
- package/dist/components/ui/toast/BuiToast.vue.d.ts +0 -12
- package/dist/components/ui/toast/use-toast.d.ts +0 -21
@@ -1,2 +1,52 @@
|
|
1
|
-
|
1
|
+
import type { ToggleProps } from 'radix-vue';
|
2
|
+
import type { VariantProps } from 'class-variance-authority';
|
3
|
+
import { toggleVariants } from '.';
|
4
|
+
interface ToggleVariantProps extends VariantProps<typeof toggleVariants> {
|
5
|
+
}
|
6
|
+
interface Props extends ToggleProps {
|
7
|
+
variant?: ToggleVariantProps['variant'];
|
8
|
+
size?: ToggleVariantProps['size'];
|
9
|
+
disabled?: boolean;
|
10
|
+
}
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
12
|
+
variant: string;
|
13
|
+
size: string;
|
14
|
+
disabled: boolean;
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
16
|
+
"update:pressed": (value: boolean) => void;
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
18
|
+
variant: string;
|
19
|
+
size: string;
|
20
|
+
disabled: boolean;
|
21
|
+
}>>> & {
|
22
|
+
"onUpdate:pressed"?: ((value: boolean) => any) | undefined;
|
23
|
+
}, {
|
24
|
+
disabled: boolean;
|
25
|
+
size: "default" | "sm" | "lg" | null;
|
26
|
+
variant: "default" | "outline" | null;
|
27
|
+
}, {}>, {
|
28
|
+
default?(_: {}): any;
|
29
|
+
}>;
|
2
30
|
export default _default;
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
35
|
+
} : {
|
36
|
+
type: import('vue').PropType<T[K]>;
|
37
|
+
required: true;
|
38
|
+
};
|
39
|
+
};
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
42
|
+
default: D[K];
|
43
|
+
}> : P[K];
|
44
|
+
};
|
45
|
+
type __VLS_Prettify<T> = {
|
46
|
+
[K in keyof T]: T[K];
|
47
|
+
} & {};
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
49
|
+
new (): {
|
50
|
+
$slots: S;
|
51
|
+
};
|
52
|
+
};
|
@@ -1,2 +1,5 @@
|
|
1
1
|
export { default as BuiToggle } from './BuiToggle.vue';
|
2
|
-
export declare const toggleVariants:
|
2
|
+
export declare const toggleVariants: (props?: ({
|
3
|
+
variant?: "default" | "outline" | null | undefined;
|
4
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
@@ -1,2 +1,23 @@
|
|
1
|
-
|
1
|
+
import { type TooltipRootProps } from 'radix-vue';
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<TooltipRootProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
3
|
+
"update:open": (value: boolean) => void;
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TooltipRootProps>>> & {
|
5
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
6
|
+
}, {}, {}>, {
|
7
|
+
default?(_: {}): any;
|
8
|
+
}>;
|
2
9
|
export default _default;
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
14
|
+
} : {
|
15
|
+
type: import('vue').PropType<T[K]>;
|
16
|
+
required: true;
|
17
|
+
};
|
18
|
+
};
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
20
|
+
new (): {
|
21
|
+
$slots: S;
|
22
|
+
};
|
23
|
+
};
|
@@ -1,2 +1,39 @@
|
|
1
|
-
|
1
|
+
import { type TooltipContentProps } from 'radix-vue';
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TooltipContentProps>, {
|
3
|
+
sideOffset: number;
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
5
|
+
escapeKeyDown: (event: KeyboardEvent) => void;
|
6
|
+
pointerDownOutside: (event: Event) => void;
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TooltipContentProps>, {
|
8
|
+
sideOffset: number;
|
9
|
+
}>>> & {
|
10
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
11
|
+
onPointerDownOutside?: ((event: Event) => any) | undefined;
|
12
|
+
}, {
|
13
|
+
sideOffset: number;
|
14
|
+
}, {}>, {
|
15
|
+
default?(_: {}): any;
|
16
|
+
}>;
|
2
17
|
export default _default;
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
22
|
+
} : {
|
23
|
+
type: import('vue').PropType<T[K]>;
|
24
|
+
required: true;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
29
|
+
default: D[K];
|
30
|
+
}> : P[K];
|
31
|
+
};
|
32
|
+
type __VLS_Prettify<T> = {
|
33
|
+
[K in keyof T]: T[K];
|
34
|
+
} & {};
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
36
|
+
new (): {
|
37
|
+
$slots: S;
|
38
|
+
};
|
39
|
+
};
|
@@ -1,2 +1,19 @@
|
|
1
|
-
|
1
|
+
import { type TooltipProviderProps } from 'radix-vue';
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<TooltipProviderProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TooltipProviderProps>>>, {}, {}>, {
|
3
|
+
default?(_: {}): any;
|
4
|
+
}>;
|
2
5
|
export default _default;
|
6
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
7
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
8
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
9
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
10
|
+
} : {
|
11
|
+
type: import('vue').PropType<T[K]>;
|
12
|
+
required: true;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
16
|
+
new (): {
|
17
|
+
$slots: S;
|
18
|
+
};
|
19
|
+
};
|
@@ -1,2 +1,19 @@
|
|
1
|
-
|
1
|
+
import { type TooltipTriggerProps } from 'radix-vue';
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<TooltipTriggerProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TooltipTriggerProps>>>, {}, {}>, {
|
3
|
+
default?(_: {}): any;
|
4
|
+
}>;
|
2
5
|
export default _default;
|
6
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
7
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
8
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
9
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
10
|
+
} : {
|
11
|
+
type: import('vue').PropType<T[K]>;
|
12
|
+
required: true;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
16
|
+
new (): {
|
17
|
+
$slots: S;
|
18
|
+
};
|
19
|
+
};
|
File without changes
|
package/dist/lib/utils.d.ts
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
import { type ClassValue } from 'clsx';
|
2
|
-
import type { Updater } from '@tanstack/vue-table';
|
2
|
+
import type { Column, Updater } from '@tanstack/vue-table';
|
3
3
|
import { type Ref } from 'vue';
|
4
4
|
export declare function valueUpdater<T extends Updater<any>>(updaterOrValue: T, ref: Ref): void;
|
5
|
-
export declare function cn(...inputs: ClassValue[]):
|
6
|
-
export declare const tableColumnSortCommon: (column: Column<any>, name: string) =>
|
5
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
6
|
+
export declare const tableColumnSortCommon: (column: Column<any>, name: string) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
7
|
+
[key: string]: any;
|
8
|
+
}>;
|
@@ -1,2 +1,117 @@
|
|
1
|
-
declare const _default:
|
1
|
+
declare const _default: {
|
2
|
+
darkMode: ["class"];
|
3
|
+
content: string[];
|
4
|
+
safelist: string[];
|
5
|
+
theme: {
|
6
|
+
container: {
|
7
|
+
center: true;
|
8
|
+
padding: string;
|
9
|
+
screens: {
|
10
|
+
'2xl': string;
|
11
|
+
};
|
12
|
+
};
|
13
|
+
extend: {
|
14
|
+
colors: {
|
15
|
+
border: string;
|
16
|
+
input: string;
|
17
|
+
ring: string;
|
18
|
+
background: string;
|
19
|
+
foreground: string;
|
20
|
+
primary: {
|
21
|
+
DEFAULT: string;
|
22
|
+
foreground: string;
|
23
|
+
};
|
24
|
+
'primary-hover': {
|
25
|
+
DEFAULT: string;
|
26
|
+
};
|
27
|
+
'primary-active': {
|
28
|
+
DEFAULT: string;
|
29
|
+
};
|
30
|
+
secondary: {
|
31
|
+
DEFAULT: string;
|
32
|
+
foreground: string;
|
33
|
+
};
|
34
|
+
destructive: {
|
35
|
+
DEFAULT: string;
|
36
|
+
foreground: string;
|
37
|
+
};
|
38
|
+
success: {
|
39
|
+
DEFAULT: string;
|
40
|
+
foreground: string;
|
41
|
+
};
|
42
|
+
muted: {
|
43
|
+
DEFAULT: string;
|
44
|
+
foreground: string;
|
45
|
+
};
|
46
|
+
accent: {
|
47
|
+
DEFAULT: string;
|
48
|
+
foreground: string;
|
49
|
+
};
|
50
|
+
popover: {
|
51
|
+
DEFAULT: string;
|
52
|
+
foreground: string;
|
53
|
+
};
|
54
|
+
card: {
|
55
|
+
DEFAULT: string;
|
56
|
+
foreground: string;
|
57
|
+
};
|
58
|
+
};
|
59
|
+
borderRadius: {
|
60
|
+
lg: string;
|
61
|
+
md: string;
|
62
|
+
sm: string;
|
63
|
+
};
|
64
|
+
boxShadow: {
|
65
|
+
'card-shadow': string;
|
66
|
+
};
|
67
|
+
keyframes: {
|
68
|
+
'accordion-down': {
|
69
|
+
from: {
|
70
|
+
height: string;
|
71
|
+
};
|
72
|
+
to: {
|
73
|
+
height: string;
|
74
|
+
};
|
75
|
+
};
|
76
|
+
'accordion-up': {
|
77
|
+
from: {
|
78
|
+
height: string;
|
79
|
+
};
|
80
|
+
to: {
|
81
|
+
height: string;
|
82
|
+
};
|
83
|
+
};
|
84
|
+
'collapsible-down': {
|
85
|
+
from: {
|
86
|
+
height: string;
|
87
|
+
};
|
88
|
+
to: {
|
89
|
+
height: string;
|
90
|
+
};
|
91
|
+
};
|
92
|
+
'collapsible-up': {
|
93
|
+
from: {
|
94
|
+
height: string;
|
95
|
+
};
|
96
|
+
to: {
|
97
|
+
height: string;
|
98
|
+
};
|
99
|
+
};
|
100
|
+
};
|
101
|
+
animation: {
|
102
|
+
'accordion-down': string;
|
103
|
+
'accordion-up': string;
|
104
|
+
'collapsible-down': string;
|
105
|
+
'collapsible-up': string;
|
106
|
+
};
|
107
|
+
backgroundImage: {
|
108
|
+
logo: string;
|
109
|
+
'logo-dark': string;
|
110
|
+
};
|
111
|
+
};
|
112
|
+
};
|
113
|
+
plugins: {
|
114
|
+
handler: () => void;
|
115
|
+
}[];
|
116
|
+
};
|
2
117
|
export default _default;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@soft-stech/bootsman-ui-shadcn",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.4-beta.0",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -23,6 +23,7 @@
|
|
23
23
|
"test:e2e": "playwright test",
|
24
24
|
"build-only": "vite build",
|
25
25
|
"type-check": "vue-tsc --build --force",
|
26
|
+
"type-build": "vue-tsc --declaration --emitDeclarationOnly",
|
26
27
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
27
28
|
"format": "prettier --write src/",
|
28
29
|
"bumpp": "bumpp package.json",
|
@@ -48,7 +49,7 @@
|
|
48
49
|
"zod": "^3.22.4"
|
49
50
|
},
|
50
51
|
"devDependencies": {
|
51
|
-
"@histoire/plugin-vue": "^0.17.
|
52
|
+
"@histoire/plugin-vue": "^0.17.11",
|
52
53
|
"@playwright/test": "^1.40.1",
|
53
54
|
"@rushstack/eslint-patch": "^1.3.3",
|
54
55
|
"@tsconfig/node18": "^18.2.2",
|
@@ -64,7 +65,7 @@
|
|
64
65
|
"bumpp": "^9.2.0",
|
65
66
|
"eslint": "^8.49.0",
|
66
67
|
"eslint-plugin-vue": "^9.17.0",
|
67
|
-
"histoire": "^0.17.
|
68
|
+
"histoire": "^0.17.9",
|
68
69
|
"jsdom": "^23.0.1",
|
69
70
|
"npm-run-all2": "^6.1.1",
|
70
71
|
"postcss": "^8.4.33",
|
@@ -73,7 +74,7 @@
|
|
73
74
|
"tailwindcss": "^3.4.1",
|
74
75
|
"typescript": "~5.3.3",
|
75
76
|
"vite": "^5.0.10",
|
76
|
-
"vite-plugin-dts": "^3.7.
|
77
|
+
"vite-plugin-dts": "^3.7.2",
|
77
78
|
"vitest": "^1.0.4",
|
78
79
|
"vue-tsc": "^1.8.27"
|
79
80
|
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { toastVariants } from '.';
|
2
|
-
import type { ToastRootProps } from 'radix-vue';
|
3
|
-
import type { VariantProps } from 'class-variance-authority';
|
4
|
-
interface ToastVariantProps extends VariantProps<typeof toastVariants> {
|
5
|
-
}
|
6
|
-
export interface ToastProps extends ToastRootProps {
|
7
|
-
class?: string;
|
8
|
-
variant?: ToastVariantProps['variant'];
|
9
|
-
onOpenChange?: ((value: boolean) => void) | undefined;
|
10
|
-
}
|
11
|
-
declare const _default: any;
|
12
|
-
export default _default;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import type { Component, VNode } from 'vue';
|
2
|
-
import type { ToastProps } from './BuiToast.vue';
|
3
|
-
export type StringOrVNode = string | VNode | (() => VNode);
|
4
|
-
type ToasterToast = ToastProps & {
|
5
|
-
id: string;
|
6
|
-
title?: string;
|
7
|
-
description?: StringOrVNode;
|
8
|
-
action?: Component;
|
9
|
-
};
|
10
|
-
declare function useToast(): {
|
11
|
-
toasts: any;
|
12
|
-
toast: typeof toast;
|
13
|
-
dismiss: (toastId?: string) => void;
|
14
|
-
};
|
15
|
-
type Toast = Omit<ToasterToast, 'id'>;
|
16
|
-
declare function toast(props: Toast): {
|
17
|
-
id: string;
|
18
|
-
dismiss: () => void;
|
19
|
-
update: (props: ToasterToast) => void;
|
20
|
-
};
|
21
|
-
export { toast, useToast };
|