@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.
Files changed (153) hide show
  1. package/dist/components/ui/accordion/BuiAccordion.vue.d.ts +22 -1
  2. package/dist/components/ui/accordion/BuiAccordionContent.vue.d.ts +22 -1
  3. package/dist/components/ui/accordion/BuiAccordionItem.vue.d.ts +22 -1
  4. package/dist/components/ui/accordion/BuiAccordionTrigger.vue.d.ts +24 -1
  5. package/dist/components/ui/alert/BuiAlert.vue.d.ts +24 -1
  6. package/dist/components/ui/alert/BuiAlertDescription.vue.d.ts +12 -1
  7. package/dist/components/ui/alert/BuiAlertTitle.vue.d.ts +8 -1
  8. package/dist/components/ui/alert/index.d.ts +3 -1
  9. package/dist/components/ui/alert-dialog/BuiAlertDialog.vue.d.ts +22 -1
  10. package/dist/components/ui/alert-dialog/BuiAlertDialogAction.vue.d.ts +18 -1
  11. package/dist/components/ui/alert-dialog/BuiAlertDialogCancel.vue.d.ts +18 -1
  12. package/dist/components/ui/alert-dialog/BuiAlertDialogDescription.vue.d.ts +22 -1
  13. package/dist/components/ui/alert-dialog/BuiAlertDialogFooter.vue.d.ts +20 -1
  14. package/dist/components/ui/alert-dialog/BuiAlertDialogHeader.vue.d.ts +20 -1
  15. package/dist/components/ui/alert-dialog/BuiAlertDialogTitle.vue.d.ts +22 -1
  16. package/dist/components/ui/alert-dialog/BuiAlertDialogTrigger.vue.d.ts +18 -1
  17. package/dist/components/ui/aspect-ratio/BuiAspectRatio.vue.d.ts +18 -1
  18. package/dist/components/ui/avatar/BuiAvatar.vue.d.ts +40 -1
  19. package/dist/components/ui/avatar/BuiAvatarFallback.vue.d.ts +18 -1
  20. package/dist/components/ui/avatar/BuiAvatarImage.vue.d.ts +11 -1
  21. package/dist/components/ui/avatar/index.d.ts +4 -1
  22. package/dist/components/ui/badge/BuiBadge.vue.d.ts +43 -1
  23. package/dist/components/ui/badge/index.d.ts +3 -1
  24. package/dist/components/ui/button/BuiButton.vue.d.ts +38 -1
  25. package/dist/components/ui/button/index.d.ts +4 -1
  26. package/dist/components/ui/calendar/BuiCalendar.vue.d.ts +62 -1
  27. package/dist/components/ui/card/BuiCard.vue.d.ts +20 -1
  28. package/dist/components/ui/card/BuiCardContent.vue.d.ts +20 -1
  29. package/dist/components/ui/card/BuiCardDescription.vue.d.ts +20 -1
  30. package/dist/components/ui/card/BuiCardFooter.vue.d.ts +20 -1
  31. package/dist/components/ui/card/BuiCardHeader.vue.d.ts +20 -1
  32. package/dist/components/ui/card/BuiCardTitle.vue.d.ts +20 -1
  33. package/dist/components/ui/checkbox/BuiCheckbox.vue.d.ts +15 -1
  34. package/dist/components/ui/command/BuiCommandDialog.vue.d.ts +22 -1
  35. package/dist/components/ui/command/BuiCommandEmpty.vue.d.ts +18 -1
  36. package/dist/components/ui/command/BuiCommandGroup.vue.d.ts +22 -1
  37. package/dist/components/ui/command/BuiCommandInput.vue.d.ts +11 -1
  38. package/dist/components/ui/command/BuiCommandSeparator.vue.d.ts +18 -1
  39. package/dist/components/ui/command/BuiCommandShortcut.vue.d.ts +8 -1
  40. package/dist/components/ui/context-menu/BuiContextMenu.vue.d.ts +22 -1
  41. package/dist/components/ui/context-menu/BuiContextMenuCheckboxItem.vue.d.ts +28 -1
  42. package/dist/components/ui/context-menu/BuiContextMenuGroup.vue.d.ts +18 -1
  43. package/dist/components/ui/context-menu/BuiContextMenuItem.vue.d.ts +28 -1
  44. package/dist/components/ui/context-menu/BuiContextMenuLabel.vue.d.ts +24 -1
  45. package/dist/components/ui/context-menu/BuiContextMenuRadioGroup.vue.d.ts +22 -1
  46. package/dist/components/ui/context-menu/BuiContextMenuRadioItem.vue.d.ts +26 -1
  47. package/dist/components/ui/context-menu/BuiContextMenuSeparator.vue.d.ts +11 -1
  48. package/dist/components/ui/context-menu/BuiContextMenuShortcut.vue.d.ts +8 -1
  49. package/dist/components/ui/context-menu/BuiContextMenuSub.vue.d.ts +22 -1
  50. package/dist/components/ui/context-menu/BuiContextMenuSubTrigger.vue.d.ts +24 -1
  51. package/dist/components/ui/context-menu/BuiContextMenuTrigger.vue.d.ts +18 -1
  52. package/dist/components/ui/dialog/BuiDialog.vue.d.ts +22 -1
  53. package/dist/components/ui/dialog/BuiDialogClose.vue.d.ts +18 -1
  54. package/dist/components/ui/dialog/BuiDialogDescription.vue.d.ts +22 -1
  55. package/dist/components/ui/dialog/BuiDialogFooter.vue.d.ts +20 -1
  56. package/dist/components/ui/dialog/BuiDialogHeader.vue.d.ts +20 -1
  57. package/dist/components/ui/dialog/BuiDialogTitle.vue.d.ts +22 -1
  58. package/dist/components/ui/dialog/BuiDialogTrigger.vue.d.ts +18 -1
  59. package/dist/components/ui/dropdown-menu/BuiDropdownMenu.vue.d.ts +22 -1
  60. package/dist/components/ui/dropdown-menu/BuiDropdownMenuCheckboxItem.vue.d.ts +28 -1
  61. package/dist/components/ui/dropdown-menu/BuiDropdownMenuGroup.vue.d.ts +18 -1
  62. package/dist/components/ui/dropdown-menu/BuiDropdownMenuItem.vue.d.ts +24 -1
  63. package/dist/components/ui/dropdown-menu/BuiDropdownMenuLabel.vue.d.ts +24 -1
  64. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioGroup.vue.d.ts +22 -1
  65. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioItem.vue.d.ts +26 -1
  66. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSeparator.vue.d.ts +11 -1
  67. package/dist/components/ui/dropdown-menu/BuiDropdownMenuShortcut.vue.d.ts +8 -1
  68. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSub.vue.d.ts +22 -1
  69. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubTrigger.vue.d.ts +22 -1
  70. package/dist/components/ui/dropdown-menu/BuiDropdownMenuTrigger.vue.d.ts +18 -1
  71. package/dist/components/ui/form/BuiFormControl.vue.d.ts +8 -1
  72. package/dist/components/ui/form/BuiFormDescription.vue.d.ts +8 -1
  73. package/dist/components/ui/form/BuiFormItem.vue.d.ts +9 -1
  74. package/dist/components/ui/form/BuiFormLabel.vue.d.ts +18 -1
  75. package/dist/components/ui/form/BuiFormMessage.vue.d.ts +1 -1
  76. package/dist/components/ui/form/useFormField.d.ts +6 -6
  77. package/dist/components/ui/hover-card/BuiHoverCard.vue.d.ts +18 -1
  78. package/dist/components/ui/hover-card/BuiHoverCardContent.vue.d.ts +36 -1
  79. package/dist/components/ui/hover-card/BuiHoverCardTrigger.vue.d.ts +18 -1
  80. package/dist/components/ui/input/BuiInput.vue.d.ts +26 -1
  81. package/dist/components/ui/input/index.d.ts +3 -1
  82. package/dist/components/ui/label/BuiLabel.vue.d.ts +22 -1
  83. package/dist/components/ui/pagination/BuiPaginationCommon.vue.d.ts +36 -1
  84. package/dist/components/ui/pagination/BuiPaginationEllipsis.vue.d.ts +18 -1
  85. package/dist/components/ui/pagination/BuiPaginationFirst.vue.d.ts +32 -1
  86. package/dist/components/ui/pagination/BuiPaginationLast.vue.d.ts +32 -1
  87. package/dist/components/ui/pagination/BuiPaginationNext.vue.d.ts +32 -1
  88. package/dist/components/ui/pagination/BuiPaginationPrev.vue.d.ts +32 -1
  89. package/dist/components/ui/popover/BuiPopover.vue.d.ts +22 -1
  90. package/dist/components/ui/popover/BuiPopoverTrigger.vue.d.ts +18 -1
  91. package/dist/components/ui/progress/BuiProgress.vue.d.ts +36 -1
  92. package/dist/components/ui/progress/index.d.ts +3 -1
  93. package/dist/components/ui/radio-group/BuiRadioGroup.vue.d.ts +26 -1
  94. package/dist/components/ui/radio-group/BuiRadioGroupItem.vue.d.ts +15 -1
  95. package/dist/components/ui/select/BuiSelect.vue.d.ts +24 -1
  96. package/dist/components/ui/select/BuiSelectGroup.vue.d.ts +22 -1
  97. package/dist/components/ui/select/BuiSelectItem.vue.d.ts +22 -1
  98. package/dist/components/ui/select/BuiSelectItemText.vue.d.ts +18 -1
  99. package/dist/components/ui/select/BuiSelectLabel.vue.d.ts +22 -1
  100. package/dist/components/ui/select/BuiSelectSeparator.vue.d.ts +15 -1
  101. package/dist/components/ui/select/BuiSelectTrigger.vue.d.ts +41 -1
  102. package/dist/components/ui/select/BuiSelectValue.vue.d.ts +18 -1
  103. package/dist/components/ui/separator/BuiSeparator.vue.d.ts +15 -1
  104. package/dist/components/ui/slider/BuiSlider.vue.d.ts +17 -1
  105. package/dist/components/ui/switch/BuiSwitch.vue.d.ts +19 -1
  106. package/dist/components/ui/table/BuiDataTable.vue.d.ts +46 -7
  107. package/dist/components/ui/table/BuiTable.vue.d.ts +21 -1
  108. package/dist/components/ui/table/BuiTableBody.vue.d.ts +21 -1
  109. package/dist/components/ui/table/BuiTableCaption.vue.d.ts +21 -1
  110. package/dist/components/ui/table/BuiTableCell.vue.d.ts +21 -1
  111. package/dist/components/ui/table/BuiTableEmpty.vue.d.ts +38 -1
  112. package/dist/components/ui/table/BuiTableFooter.vue.d.ts +21 -1
  113. package/dist/components/ui/table/BuiTableHead.vue.d.ts +21 -1
  114. package/dist/components/ui/table/BuiTableHeader.vue.d.ts +21 -1
  115. package/dist/components/ui/table/BuiTableRow.vue.d.ts +21 -1
  116. package/dist/components/ui/tabs/BuiTabs.vue.d.ts +22 -1
  117. package/dist/components/ui/tabs/BuiTabsContent.vue.d.ts +22 -1
  118. package/dist/components/ui/tabs/BuiTabsList.vue.d.ts +23 -1
  119. package/dist/components/ui/tabs/BuiTabsTrigger.vue.d.ts +23 -1
  120. package/dist/components/ui/tabs/index.d.ts +6 -2
  121. package/dist/components/ui/textarea/BuiTextarea.vue.d.ts +23 -1
  122. package/dist/components/ui/textarea/index.d.ts +3 -1
  123. package/dist/components/ui/toast/BuiToastAction.vue.d.ts +22 -1
  124. package/dist/components/ui/toast/BuiToastClose.vue.d.ts +14 -1
  125. package/dist/components/ui/toast/BuiToastDescription.vue.d.ts +22 -1
  126. package/dist/components/ui/toast/BuiToastProvider.vue.d.ts +18 -1
  127. package/dist/components/ui/toast/BuiToastTitle.vue.d.ts +22 -1
  128. package/dist/components/ui/toast/BuiToastViewport.vue.d.ts +15 -1
  129. package/dist/components/ui/toast/BuiToaster.vue.d.ts +1 -1
  130. package/dist/components/ui/toast/index.d.ts +3 -1
  131. package/dist/components/ui/toggle/BuiToggle.vue.d.ts +51 -1
  132. package/dist/components/ui/toggle/index.d.ts +4 -1
  133. package/dist/components/ui/tooltip/BuiTooltip.vue.d.ts +22 -1
  134. package/dist/components/ui/tooltip/BuiTooltipContent.vue.d.ts +38 -1
  135. package/dist/components/ui/tooltip/BuiTooltipProvider.vue.d.ts +18 -1
  136. package/dist/components/ui/tooltip/BuiTooltipTrigger.vue.d.ts +18 -1
  137. package/dist/histoire-setup.d.ts +0 -0
  138. package/dist/lib/utils.d.ts +5 -3
  139. package/dist/tailwind-preset.d.ts +116 -1
  140. package/package.json +5 -4
  141. package/dist/components/ui/alert-dialog/BuiAlertDialogContent.vue.d.ts +0 -2
  142. package/dist/components/ui/command/BuiCommand.vue.d.ts +0 -2
  143. package/dist/components/ui/command/BuiCommandItem.vue.d.ts +0 -2
  144. package/dist/components/ui/command/BuiCommandList.vue.d.ts +0 -2
  145. package/dist/components/ui/context-menu/BuiContextMenuContent.vue.d.ts +0 -2
  146. package/dist/components/ui/context-menu/BuiContextMenuSubContent.vue.d.ts +0 -2
  147. package/dist/components/ui/dialog/BuiDialogContent.vue.d.ts +0 -2
  148. package/dist/components/ui/dropdown-menu/BuiDropdownMenuContent.vue.d.ts +0 -2
  149. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubContent.vue.d.ts +0 -2
  150. package/dist/components/ui/popover/BuiPopoverContent.vue.d.ts +0 -2
  151. package/dist/components/ui/select/BuiSelectContent.vue.d.ts +0 -2
  152. package/dist/components/ui/toast/BuiToast.vue.d.ts +0 -12
  153. package/dist/components/ui/toast/use-toast.d.ts +0 -21
@@ -1,2 +1,52 @@
1
- declare const _default: any;
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: any;
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
- declare const _default: any;
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
- declare const _default: any;
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
- declare const _default: any;
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
- declare const _default: any;
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
@@ -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[]): any;
6
- export declare const tableColumnSortCommon: (column: Column<any>, name: string) => any;
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: Config;
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",
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.6",
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.6",
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.0",
77
+ "vite-plugin-dts": "^3.7.2",
77
78
  "vitest": "^1.0.4",
78
79
  "vue-tsc": "^1.8.27"
79
80
  }
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -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 };