@soybeanjs/ui 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/components/accordion/accordion.vue.d.ts +3 -3
  2. package/dist/components/alert/alert.vue.d.ts +4 -4
  3. package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
  4. package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +3 -3
  5. package/dist/components/alert-dialog/alert-dialog.vue.d.ts +4 -4
  6. package/dist/components/avatar/avatar.vue.d.ts +7 -7
  7. package/dist/components/badge/badge.vue.d.ts +4 -4
  8. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  9. package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
  10. package/dist/components/breadcrumb/types.d.ts +3 -8
  11. package/dist/components/button/button-group.vue.d.ts +6 -6
  12. package/dist/components/button/button-icon.vue.d.ts +3 -3
  13. package/dist/components/button/button-link.vue.d.ts +4 -4
  14. package/dist/components/button/button-loading.vue.d.ts +3 -3
  15. package/dist/components/button/button.vue.d.ts +4 -4
  16. package/dist/components/card/card.vue.d.ts +3 -3
  17. package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
  18. package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
  19. package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
  20. package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
  21. package/dist/components/collapsible/collapsible.vue.d.ts +4 -4
  22. package/dist/components/command/command.vue.d.ts +7 -7
  23. package/dist/components/config-provider/config-provider.vue.d.ts +5 -5
  24. package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +9 -9
  25. package/dist/components/context-menu/context-menu-radio.vue.d.ts +9 -9
  26. package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +13 -13
  27. package/dist/components/context-menu/context-menu.js +1 -1
  28. package/dist/components/context-menu/context-menu.vue.d.ts +9 -9
  29. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  30. package/dist/components/dialog/dialog-pure.vue.d.ts +11 -11
  31. package/dist/components/dialog/dialog.vue.d.ts +11 -11
  32. package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
  33. package/dist/components/drawer/drawer.vue.d.ts +11 -11
  34. package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +9 -9
  35. package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +9 -9
  36. package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +13 -13
  37. package/dist/components/dropdown-menu/dropdown-menu.js +1 -1
  38. package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +9 -9
  39. package/dist/components/form/form.vue.d.ts +2 -2
  40. package/dist/components/form/use-form.d.ts +22 -22
  41. package/dist/components/icon/icon.vue.d.ts +2 -2
  42. package/dist/components/input/input.vue.d.ts +4 -4
  43. package/dist/components/kbd/kbd.vue.d.ts +3 -3
  44. package/dist/components/label/label.vue.d.ts +2 -2
  45. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  46. package/dist/components/layout/layout.vue.d.ts +5 -5
  47. package/dist/components/link/link.vue.d.ts +3 -3
  48. package/dist/components/list/list-item.vue.d.ts +2 -2
  49. package/dist/components/list/list.vue.d.ts +2 -2
  50. package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
  51. package/dist/components/menu/menu-option.js +1 -1
  52. package/dist/components/menu/menu-option.vue.d.ts +9 -9
  53. package/dist/components/menu/menu-options.js +1 -1
  54. package/dist/components/menu/menu-options.vue.d.ts +9 -9
  55. package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
  56. package/dist/components/menu/types.d.ts +3 -8
  57. package/dist/components/navigation-menu/navigation-menu-option.js +1 -1
  58. package/dist/components/navigation-menu/navigation-menu-sub-option.js +1 -1
  59. package/dist/components/navigation-menu/navigation-menu.js +1 -1
  60. package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
  61. package/dist/components/navigation-menu/types.d.ts +4 -8
  62. package/dist/components/number-input/number-input.vue.d.ts +4 -4
  63. package/dist/components/pagination/pagination.vue.d.ts +4 -4
  64. package/dist/components/password/password.vue.d.ts +4 -4
  65. package/dist/components/popover/popover.vue.d.ts +11 -11
  66. package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
  67. package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
  68. package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
  69. package/dist/components/radio-group/radio.vue.d.ts +2 -2
  70. package/dist/components/segment/segment.vue.d.ts +3 -3
  71. package/dist/components/select/select.vue.d.ts +7 -7
  72. package/dist/components/separator/separator.vue.d.ts +5 -5
  73. package/dist/components/switch/switch.vue.d.ts +25 -25
  74. package/dist/components/tabs/tabs.vue.d.ts +3 -3
  75. package/dist/components/tag/tag.vue.d.ts +4 -4
  76. package/dist/components/textarea/textarea.vue.d.ts +4 -4
  77. package/dist/components/tooltip/tooltip.vue.d.ts +7 -7
  78. package/dist/components/tree/tree-virtualizer.vue.d.ts +5 -5
  79. package/dist/components/tree/tree.vue.d.ts +5 -5
  80. package/dist/components/tree-menu/tree-menu-option-slot.js +1 -1
  81. package/dist/components/tree-menu/tree-menu-option.js +1 -1
  82. package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +2 -2
  83. package/dist/components/tree-menu/tree-menu.js +1 -1
  84. package/dist/components/tree-menu/tree-menu.vue.d.ts +7 -4
  85. package/dist/components/tree-menu/types.d.ts +13 -5
  86. package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
  87. package/dist/variants/badge.d.ts +3 -3
  88. package/dist/variants/button.d.ts +3 -3
  89. package/dist/variants/checkbox.d.ts +3 -3
  90. package/dist/variants/radio-group.d.ts +3 -3
  91. package/dist/variants/separator.d.ts +3 -3
  92. package/dist/variants/switch.d.ts +3 -3
  93. package/dist/variants/tabs.d.ts +3 -3
  94. package/dist/variants/tag.d.ts +3 -3
  95. package/dist/variants/textarea.d.ts +3 -3
  96. package/package.json +2 -2
@@ -1,9 +1,9 @@
1
1
  import { AccordionOptionData, AccordionProps } from "./types.js";
2
- import * as vue0 from "vue";
2
+ import * as vue3 from "vue";
3
3
 
4
4
  //#region src/components/accordion/accordion.vue.d.ts
5
5
  declare const __VLS_export: <T extends AccordionOptionData = AccordionOptionData, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: vue0.PublicProps & __VLS_PrettifyLocal<AccordionProps<T, M> & {
6
+ props: vue3.PublicProps & __VLS_PrettifyLocal<AccordionProps<T, M> & {
7
7
  "onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
8
8
  }> & (typeof globalThis extends {
9
9
  __VLS_PROPS_FALLBACK: infer P;
@@ -41,7 +41,7 @@ declare const __VLS_export: <T extends AccordionOptionData = AccordionOptionData
41
41
  }) => any;
42
42
  };
43
43
  emit: (evt: "update:modelValue", value: M extends true ? string[] : string) => void;
44
- }>) => vue0.VNode & {
44
+ }>) => vue3.VNode & {
45
45
  __ctx?: Awaited<typeof __VLS_setup>;
46
46
  };
47
47
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { AlertProps } from "./types.js";
2
- import * as vue1 from "vue";
2
+ import * as vue5 from "vue";
3
3
 
4
4
  //#region src/components/alert/alert.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_29: {}, __VLS_37: {}, __VLS_39: {}, __VLS_41: {}, __VLS_49: {};
@@ -16,13 +16,13 @@ type __VLS_Slots = {} & {
16
16
  } & {
17
17
  close?: (props: typeof __VLS_49) => any;
18
18
  };
19
- declare const __VLS_base: vue1.DefineComponent<AlertProps, {}, {}, {}, {}, vue1.ComponentOptionsMixin, vue1.ComponentOptionsMixin, {
19
+ declare const __VLS_base: vue5.DefineComponent<AlertProps, {}, {}, {}, {}, vue5.ComponentOptionsMixin, vue5.ComponentOptionsMixin, {
20
20
  "update:open": (open: boolean) => any;
21
- }, string, vue1.PublicProps, Readonly<AlertProps> & Readonly<{
21
+ }, string, vue5.PublicProps, Readonly<AlertProps> & Readonly<{
22
22
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
23
23
  }>, {
24
24
  open: boolean;
25
- }, {}, {}, {}, string, vue1.ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, vue5.ComponentProvideOptions, false, {}, any>;
26
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { AlertDialogActionProps } from "./types.js";
2
- import * as vue11 from "vue";
2
+ import * as vue20 from "vue";
3
3
 
4
4
  //#region src/components/alert-dialog/alert-dialog-action.vue.d.ts
5
5
  declare var __VLS_8: {}, __VLS_16: {};
@@ -8,9 +8,9 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  default?: (props: typeof __VLS_16) => any;
10
10
  };
11
- declare const __VLS_base: vue11.DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, vue11.ComponentOptionsMixin, vue11.ComponentOptionsMixin, {}, string, vue11.PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {
11
+ declare const __VLS_base: vue20.DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {
12
12
  text: string;
13
- }, {}, {}, {}, string, vue11.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue20.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { ButtonVariant } from "../../variants/button.js";
2
2
  import { AlertDialogCancelProps } from "./types.js";
3
3
  import "../button/index.js";
4
- import * as vue6 from "vue";
4
+ import * as vue15 from "vue";
5
5
 
6
6
  //#region src/components/alert-dialog/alert-dialog-cancel.vue.d.ts
7
7
  declare var __VLS_8: {}, __VLS_16: {};
@@ -10,10 +10,10 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  default?: (props: typeof __VLS_16) => any;
12
12
  };
13
- declare const __VLS_base: vue6.DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {
13
+ declare const __VLS_base: vue15.DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, vue15.ComponentOptionsMixin, vue15.ComponentOptionsMixin, {}, string, vue15.PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {
14
14
  text: string;
15
15
  variant: ButtonVariant;
16
- }, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
16
+ }, {}, {}, {}, string, vue15.ComponentProvideOptions, false, {}, any>;
17
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { AlertDialogProps } from "./types.js";
2
- import * as vue16 from "vue";
2
+ import * as vue10 from "vue";
3
3
 
4
4
  //#region src/components/alert-dialog/alert-dialog.vue.d.ts
5
5
  declare var __VLS_16: {}, __VLS_52: {
@@ -26,15 +26,15 @@ type __VLS_Slots = {} & {
26
26
  } & {
27
27
  footer?: (props: typeof __VLS_70) => any;
28
28
  };
29
- declare const __VLS_base: vue16.DefineComponent<AlertDialogProps, {}, {}, {}, {}, vue16.ComponentOptionsMixin, vue16.ComponentOptionsMixin, {
29
+ declare const __VLS_base: vue10.DefineComponent<AlertDialogProps, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {
30
30
  "update:open": (value: boolean) => any;
31
- }, string, vue16.PublicProps, Readonly<AlertDialogProps> & Readonly<{
31
+ }, string, vue10.PublicProps, Readonly<AlertDialogProps> & Readonly<{
32
32
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
33
33
  }>, {
34
34
  open: boolean;
35
35
  defaultOpen: boolean;
36
36
  showIcon: boolean;
37
- }, {}, {}, {}, string, vue16.ComponentProvideOptions, false, {}, any>;
37
+ }, {}, {}, {}, string, vue10.ComponentProvideOptions, false, {}, any>;
38
38
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
39
  declare const _default: typeof __VLS_export;
40
40
  type __VLS_WithSlots<T, S> = T & {
@@ -1,6 +1,6 @@
1
1
  import { AvatarProps } from "./types.js";
2
- import * as vue69 from "vue";
3
- import * as _soybeanjs_headless11 from "@soybeanjs/headless";
2
+ import * as vue25 from "vue";
3
+ import * as _soybeanjs_headless1 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/avatar/avatar.vue.d.ts
6
6
  declare var __VLS_8: {}, __VLS_10: {}, __VLS_25: {};
@@ -11,11 +11,11 @@ type __VLS_Slots = {} & {
11
11
  } & {
12
12
  fallback?: (props: typeof __VLS_25) => any;
13
13
  };
14
- declare const __VLS_base: vue69.DefineComponent<AvatarProps, {}, {}, {}, {}, vue69.ComponentOptionsMixin, vue69.ComponentOptionsMixin, {
15
- loadingStatusChange: (status: _soybeanjs_headless11.ImageLoadingStatus) => any;
16
- }, string, vue69.PublicProps, Readonly<AvatarProps> & Readonly<{
17
- onLoadingStatusChange?: ((status: _soybeanjs_headless11.ImageLoadingStatus) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, vue69.ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_base: vue25.DefineComponent<AvatarProps, {}, {}, {}, {}, vue25.ComponentOptionsMixin, vue25.ComponentOptionsMixin, {
15
+ loadingStatusChange: (status: _soybeanjs_headless1.ImageLoadingStatus) => any;
16
+ }, string, vue25.PublicProps, Readonly<AvatarProps> & Readonly<{
17
+ onLoadingStatusChange?: ((status: _soybeanjs_headless1.ImageLoadingStatus) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, vue25.ComponentProvideOptions, false, {}, any>;
19
19
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { BadgeProps } from "./types.js";
2
- import * as vue93 from "vue";
2
+ import * as vue30 from "vue";
3
3
 
4
4
  //#region src/components/badge/badge.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_18: {};
@@ -8,13 +8,13 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  content?: (props: typeof __VLS_18) => any;
10
10
  };
11
- declare const __VLS_base: vue93.DefineComponent<BadgeProps, {}, {}, {}, {}, vue93.ComponentOptionsMixin, vue93.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue30.DefineComponent<BadgeProps, {}, {}, {}, {}, vue30.ComponentOptionsMixin, vue30.ComponentOptionsMixin, {
12
12
  "update:open": (open: boolean) => any;
13
- }, string, vue93.PublicProps, Readonly<BadgeProps> & Readonly<{
13
+ }, string, vue30.PublicProps, Readonly<BadgeProps> & Readonly<{
14
14
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
- }, {}, {}, {}, string, vue93.ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, vue30.ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{mergeSlotVariants as e}from"../../theme/shared.js";import t from"../icon/icon.js";import{breadcrumbVariants as n}from"../../variants/breadcrumb.js";import{getEllipsisRange as r}from"./shared.js";import{Fragment as i,computed as a,createBlock as o,createCommentVNode as s,createElementBlock as c,createTextVNode as l,createVNode as u,defineComponent as d,guardReactiveProps as f,mergeProps as p,normalizeProps as m,openBlock as h,renderList as g,renderSlot as _,toDisplayString as v,unref as y,withCtx as b}from"vue";import{useOmitProps as x}from"@soybeanjs/headless/composables";import{BreadcrumbEllipsis as S,BreadcrumbItem as C,BreadcrumbLink as w,BreadcrumbList as T,BreadcrumbPage as E,BreadcrumbRoot as D,BreadcrumbSeparator as O,provideBreadcrumbUi as k}from"@soybeanjs/headless";var A=d({name:`SBreadcrumb`,__name:`breadcrumb`,props:{class:{},size:{},ui:{},items:{},ellipsis:{type:[Boolean,Array,null]},listProps:{},itemProps:{},pageProps:{},separatorProps:{},ellipsisProps:{}},emits:[`click`],setup(d,{emit:A}){let j=d,M=A,N=x(j,[`class`,`size`,`ui`,`items`,`ellipsis`,`listProps`,`itemProps`,`pageProps`,`separatorProps`,`ellipsisProps`]),P=a(()=>e(n({size:j.size}),j.ui,{root:j.class})),F=a(()=>r(j.items,j.ellipsis)),I=a(()=>F.value?.[0]),L=a(()=>{if(!F.value)return j.items;let[e,t]=F.value;return[...j.items.slice(0,e),...j.items.slice(t)]}),R=a(()=>{if(!F.value)return[];let[e,t]=F.value;return j.items.slice(e,t)});function z(e){M(`click`,e)}return k(P),(e,n)=>(h(),o(y(D),m(f(y(N))),{default:b(()=>[u(y(T),m(f(d.listProps)),{default:b(()=>[(h(!0),c(i,null,g(L.value,(n,r)=>(h(),c(i,{key:n.value||r},[I.value&&r===I.value?(h(),c(i,{key:0},[_(e.$slots,`ellipsis`,{ellipsisItems:R.value},()=>[u(y(S),p({ref_for:!0},d.ellipsisProps),{default:b(()=>[_(e.$slots,`ellipsis-icon`,{},()=>[u(t,{icon:`lucide:ellipsis`})])]),_:3},16)]),u(y(O),p({ref_for:!0},d.separatorProps),{default:b(()=>[_(e.$slots,`separator`,{},()=>[u(t,{icon:`lucide:chevron-right`})])]),_:3},16)],64)):s(`v-if`,!0),u(y(C),p({ref_for:!0},d.itemProps,{onClick:e=>z(n)}),{default:b(()=>[_(e.$slots,`item-leading`,{item:n},()=>[n.icon?(h(),o(t,{key:0,icon:n.icon},null,8,[`icon`])):s(`v-if`,!0)]),_(e.$slots,`default`,{item:n},()=>[n.linkProps?(h(),o(y(w),p({key:0,ref_for:!0},n.linkProps),{default:b(()=>[_(e.$slots,`item-link`,{item:n},()=>[l(v(n.label),1)])]),_:2},1040)):(h(),o(y(E),p({key:1,ref_for:!0},d.pageProps),{default:b(()=>[_(e.$slots,`item-label`,{item:n},()=>[l(v(n.label),1)])]),_:2},1040))]),_(e.$slots,`item-trailing`,{item:n})]),_:2},1040,[`onClick`]),r<L.value.length-1?(h(),o(y(O),p({key:1,ref_for:!0},d.separatorProps),{default:b(()=>[_(e.$slots,`separator`,{},()=>[u(t,{icon:`lucide:chevron-right`})])]),_:3},16)):s(`v-if`,!0)],64))),128))]),_:3},16)]),_:3},16))}});export{A as default};
1
+ import{mergeSlotVariants as e}from"../../theme/shared.js";import t from"../icon/icon.js";import{breadcrumbVariants as n}from"../../variants/breadcrumb.js";import{getEllipsisRange as r}from"./shared.js";import{Fragment as i,computed as a,createBlock as o,createCommentVNode as s,createElementBlock as c,createTextVNode as l,createVNode as u,defineComponent as d,guardReactiveProps as f,mergeProps as p,normalizeProps as m,openBlock as h,renderList as g,renderSlot as _,toDisplayString as v,unref as y,withCtx as b}from"vue";import{useOmitProps as x}from"@soybeanjs/headless/composables";import{BreadcrumbEllipsis as S,BreadcrumbItem as C,BreadcrumbLink as w,BreadcrumbList as T,BreadcrumbPage as E,BreadcrumbRoot as D,BreadcrumbSeparator as O,provideBreadcrumbUi as k}from"@soybeanjs/headless";var A=d({name:`SBreadcrumb`,__name:`breadcrumb`,props:{class:{},size:{},ui:{},items:{},ellipsis:{type:[Boolean,Array,null]},listProps:{},itemProps:{},linkProps:{},pageProps:{},separatorProps:{},ellipsisProps:{}},emits:[`click`],setup(d,{emit:A}){let j=d,M=A,N=x(j,[`class`,`size`,`ui`,`items`,`ellipsis`,`listProps`,`itemProps`,`linkProps`,`pageProps`,`separatorProps`,`ellipsisProps`]),P=a(()=>e(n({size:j.size}),j.ui,{root:j.class})),F=a(()=>r(j.items,j.ellipsis)),I=a(()=>F.value?.[0]),L=a(()=>{if(!F.value)return j.items;let[e,t]=F.value;return[...j.items.slice(0,e),...j.items.slice(t)]}),R=a(()=>{if(!F.value)return[];let[e,t]=F.value;return j.items.slice(e,t)});function z(e){M(`click`,e)}return k(P),(e,n)=>(h(),o(y(D),m(f(y(N))),{default:b(()=>[u(y(T),m(f(d.listProps)),{default:b(()=>[(h(!0),c(i,null,g(L.value,(n,r)=>(h(),c(i,{key:n.value||r},[I.value&&r===I.value?(h(),c(i,{key:0},[_(e.$slots,`ellipsis`,{ellipsisItems:R.value},()=>[u(y(S),p({ref_for:!0},d.ellipsisProps),{default:b(()=>[_(e.$slots,`ellipsis-icon`,{},()=>[u(t,{icon:`lucide:ellipsis`})])]),_:3},16)]),u(y(O),p({ref_for:!0},d.separatorProps),{default:b(()=>[_(e.$slots,`separator`,{},()=>[u(t,{icon:`lucide:chevron-right`})])]),_:3},16)],64)):s(`v-if`,!0),u(y(C),p({ref_for:!0},d.itemProps,{onClick:e=>z(n)}),{default:b(()=>[_(e.$slots,`item-leading`,{item:n},()=>[n.icon?(h(),o(t,{key:0,icon:n.icon},null,8,[`icon`])):s(`v-if`,!0)]),_(e.$slots,`default`,{item:n},()=>[n.to||n.href?(h(),o(y(w),p({key:0,ref_for:!0},d.linkProps,{disabled:n.disabled,to:n.to,href:n.href,target:n.target,external:n.external}),{default:b(()=>[_(e.$slots,`item-link`,{item:n},()=>[l(v(n.label),1)])]),_:2},1040,[`disabled`,`to`,`href`,`target`,`external`])):(h(),o(y(E),p({key:1,ref_for:!0},d.pageProps),{default:b(()=>[_(e.$slots,`item-label`,{item:n},()=>[l(v(n.label),1)])]),_:2},1040))]),_(e.$slots,`item-trailing`,{item:n})]),_:2},1040,[`onClick`]),r<L.value.length-1?(h(),o(y(O),p({key:1,ref_for:!0},d.separatorProps),{default:b(()=>[_(e.$slots,`separator`,{},()=>[u(t,{icon:`lucide:chevron-right`})])]),_:3},16)):s(`v-if`,!0)],64))),128))]),_:3},16)]),_:3},16))}});export{A as default};
@@ -1,9 +1,9 @@
1
1
  import { BreadcrumbEmits, BreadcrumbOptionData, BreadcrumbProps } from "./types.js";
2
- import * as vue42 from "vue";
2
+ import * as vue243 from "vue";
3
3
 
4
4
  //#region src/components/breadcrumb/breadcrumb.vue.d.ts
5
5
  declare const __VLS_export: <T extends BreadcrumbOptionData = BreadcrumbOptionData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: vue42.PublicProps & __VLS_PrettifyLocal<BreadcrumbProps<T> & {
6
+ props: vue243.PublicProps & __VLS_PrettifyLocal<BreadcrumbProps<T> & {
7
7
  onClick?: ((item: T) => any) | undefined;
8
8
  }> & (typeof globalThis extends {
9
9
  __VLS_PROPS_FALLBACK: infer P;
@@ -42,7 +42,7 @@ declare const __VLS_export: <T extends BreadcrumbOptionData = BreadcrumbOptionDa
42
42
  separator?: (props: {}) => any;
43
43
  };
44
44
  emit: BreadcrumbEmits<T>;
45
- }>) => vue42.VNode & {
45
+ }>) => vue243.VNode & {
46
46
  __ctx?: Awaited<typeof __VLS_setup>;
47
47
  };
48
48
  declare const _default: typeof __VLS_export;
@@ -1,10 +1,10 @@
1
1
  import { ThemeSize } from "../../theme/types.js";
2
2
  import "../../theme/index.js";
3
3
  import { IconValue } from "../icon/types.js";
4
- import { BreadcrumbEllipsisProps, BreadcrumbItemProps, BreadcrumbLinkProps, BreadcrumbListProps, BreadcrumbPageProps, BreadcrumbRootProps, BreadcrumbSeparatorProps, BreadcrumbUi, ClassValue } from "@soybeanjs/headless";
4
+ import { BreadcrumbEllipsisProps, BreadcrumbItemProps, BreadcrumbLinkProps, BreadcrumbListProps, BreadcrumbPageProps, BreadcrumbRootProps, BreadcrumbSeparatorProps, BreadcrumbUi, ClassValue, LinkBaseProps } from "@soybeanjs/headless";
5
5
 
6
6
  //#region src/components/breadcrumb/types.d.ts
7
- interface BreadcrumbOptionData {
7
+ interface BreadcrumbOptionData extends LinkBaseProps {
8
8
  /** The value of the option. */
9
9
  value?: string;
10
10
  /** The label to display in the option. */
@@ -17,12 +17,6 @@ interface BreadcrumbOptionData {
17
17
  icon?: IconValue;
18
18
  /** Whether the option is disabled. */
19
19
  disabled?: boolean;
20
- /**
21
- * The link props
22
- *
23
- * if provided, the option will be a link.
24
- */
25
- linkProps?: BreadcrumbLinkProps;
26
20
  }
27
21
  interface BreadcrumbProps<T extends BreadcrumbOptionData = BreadcrumbOptionData> extends Omit<BreadcrumbRootProps, 'onClick'> {
28
22
  /**
@@ -44,6 +38,7 @@ interface BreadcrumbProps<T extends BreadcrumbOptionData = BreadcrumbOptionData>
44
38
  ellipsis?: true | [number, number] | null;
45
39
  listProps?: BreadcrumbListProps;
46
40
  itemProps?: BreadcrumbItemProps;
41
+ linkProps?: BreadcrumbLinkProps;
47
42
  pageProps?: BreadcrumbPageProps;
48
43
  separatorProps?: BreadcrumbSeparatorProps;
49
44
  ellipsisProps?: BreadcrumbEllipsisProps;
@@ -1,16 +1,16 @@
1
1
  import { ButtonGroupProps } from "./types.js";
2
- import * as vue64 from "vue";
3
- import * as _soybeanjs_headless9 from "@soybeanjs/headless";
2
+ import * as vue55 from "vue";
3
+ import * as _soybeanjs_headless3 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/button/button-group.vue.d.ts
6
6
  declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
- declare const __VLS_base: vue64.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue64.ComponentOptionsMixin, vue64.ComponentOptionsMixin, {}, string, vue64.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
11
- dir: _soybeanjs_headless9.Direction;
12
- orientation: _soybeanjs_headless9.DataOrientation;
13
- }, {}, {}, {}, string, vue64.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue55.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue55.ComponentOptionsMixin, vue55.ComponentOptionsMixin, {}, string, vue55.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
11
+ dir: _soybeanjs_headless3.Direction;
12
+ orientation: _soybeanjs_headless3.DataOrientation;
13
+ }, {}, {}, {}, string, vue55.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -2,15 +2,15 @@ import { ThemeColor } from "../../theme/types.js";
2
2
  import { ButtonShape, ButtonVariant } from "../../variants/button.js";
3
3
  import { ButtonIconProps } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue59 from "vue";
5
+ import * as vue40 from "vue";
6
6
 
7
7
  //#region src/components/button/button-icon.vue.d.ts
8
- declare const __VLS_export: vue59.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue59.ComponentOptionsMixin, vue59.ComponentOptionsMixin, {}, string, vue59.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
8
+ declare const __VLS_export: vue40.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue40.ComponentOptionsMixin, vue40.ComponentOptionsMixin, {}, string, vue40.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
9
9
  color: ThemeColor;
10
10
  variant: ButtonVariant;
11
11
  shape: ButtonShape;
12
12
  fitContent: boolean;
13
- }, {}, {}, {}, string, vue59.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue40.ComponentProvideOptions, false, {}, any>;
14
14
  declare const _default: typeof __VLS_export;
15
15
  //#endregion
16
16
  export { _default };
@@ -1,6 +1,6 @@
1
1
  import { ButtonVariant } from "../../variants/button.js";
2
2
  import { ButtonLinkProps } from "./types.js";
3
- import * as vue54 from "vue";
3
+ import * as vue45 from "vue";
4
4
 
5
5
  //#region src/components/button/button-link.vue.d.ts
6
6
  declare var __VLS_14: {
@@ -11,16 +11,16 @@ declare var __VLS_14: {
11
11
  type __VLS_Slots = {} & {
12
12
  default?: (props: typeof __VLS_14) => any;
13
13
  };
14
- declare const __VLS_base: vue54.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue54.ComponentOptionsMixin, vue54.ComponentOptionsMixin, {}, string, vue54.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
14
+ declare const __VLS_base: vue45.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue45.ComponentOptionsMixin, vue45.ComponentOptionsMixin, {}, string, vue45.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
15
15
  disabled: boolean;
16
- variant: ButtonVariant;
17
16
  replace: boolean;
17
+ variant: ButtonVariant;
18
18
  viewTransition: boolean;
19
19
  external: boolean;
20
20
  noRel: boolean;
21
21
  prefetch: boolean;
22
22
  noPrefetch: boolean;
23
- }, {}, {}, {}, string, vue54.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue45.ComponentProvideOptions, false, {}, any>;
24
24
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
25
  declare const _default: typeof __VLS_export;
26
26
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { ButtonLoadingProps } from "./types.js";
2
- import * as vue44 from "vue";
2
+ import * as vue50 from "vue";
3
3
  import { Align } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/button/button-loading.vue.d.ts
@@ -17,10 +17,10 @@ type __VLS_Slots = {} & {
17
17
  } & {
18
18
  trailing?: (props: typeof __VLS_33) => any;
19
19
  };
20
- declare const __VLS_base: vue44.DefineComponent<ButtonLoadingProps, {}, {}, {}, {}, vue44.ComponentOptionsMixin, vue44.ComponentOptionsMixin, {}, string, vue44.PublicProps, Readonly<ButtonLoadingProps> & Readonly<{}>, {
20
+ declare const __VLS_base: vue50.DefineComponent<ButtonLoadingProps, {}, {}, {}, {}, vue50.ComponentOptionsMixin, vue50.ComponentOptionsMixin, {}, string, vue50.PublicProps, Readonly<ButtonLoadingProps> & Readonly<{}>, {
21
21
  loadingIcon: string;
22
22
  loadingPosition: Align;
23
- }, {}, {}, {}, string, vue44.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue50.ComponentProvideOptions, false, {}, any>;
24
24
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
25
  declare const _default: typeof __VLS_export;
26
26
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { ButtonProps } from "./types.js";
2
- import * as vue49 from "vue";
2
+ import * as vue35 from "vue";
3
3
 
4
4
  //#region src/components/button/button.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
@@ -10,11 +10,11 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  trailing?: (props: typeof __VLS_14) => any;
12
12
  };
13
- declare const __VLS_base: vue49.DefineComponent<ButtonProps, {}, {}, {}, {}, vue49.ComponentOptionsMixin, vue49.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue35.DefineComponent<ButtonProps, {}, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {
14
14
  click: (event: MouseEvent) => any;
15
- }, string, vue49.PublicProps, Readonly<ButtonProps> & Readonly<{
15
+ }, string, vue35.PublicProps, Readonly<ButtonProps> & Readonly<{
16
16
  onClick?: ((event: MouseEvent) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, vue49.ComponentProvideOptions, false, {}, any>;
17
+ }>, {}, {}, {}, {}, string, vue35.ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { CardProps } from "./types.js";
2
- import * as vue98 from "vue";
2
+ import * as vue60 from "vue";
3
3
 
4
4
  //#region src/components/card/card.vue.d.ts
5
5
  type Slots = {
@@ -14,9 +14,9 @@ type Slots = {
14
14
  description: () => any;
15
15
  };
16
16
  type __VLS_Slots = Slots;
17
- declare const __VLS_base: vue98.DefineComponent<CardProps, {}, {}, {}, {}, vue98.ComponentOptionsMixin, vue98.ComponentOptionsMixin, {}, string, vue98.PublicProps, Readonly<CardProps> & Readonly<{}>, {
17
+ declare const __VLS_base: vue60.DefineComponent<CardProps, {}, {}, {}, {}, vue60.ComponentOptionsMixin, vue60.ComponentOptionsMixin, {}, string, vue60.PublicProps, Readonly<CardProps> & Readonly<{}>, {
18
18
  scrollable: boolean;
19
- }, {}, {}, {}, string, vue98.ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, vue60.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1,10 +1,10 @@
1
1
  import { CheckboxCardGroupOptionData, CheckboxCardGroupProps } from "./types.js";
2
- import * as vue86 from "vue";
2
+ import * as vue74 from "vue";
3
3
  import { DefinedValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox-card-group.vue.d.ts
6
6
  declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends CheckboxCardGroupOptionData<T> = CheckboxCardGroupOptionData<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
- props: vue86.PublicProps & __VLS_PrettifyLocal<CheckboxCardGroupProps<T, S> & {
7
+ props: vue74.PublicProps & __VLS_PrettifyLocal<CheckboxCardGroupProps<T, S> & {
8
8
  "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
9
9
  }> & (typeof globalThis extends {
10
10
  __VLS_PROPS_FALLBACK: infer P;
@@ -13,7 +13,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Ch
13
13
  attrs: any;
14
14
  slots: {};
15
15
  emit: (evt: "update:modelValue", value: T[]) => void;
16
- }>) => vue86.VNode & {
16
+ }>) => vue74.VNode & {
17
17
  __ctx?: Awaited<typeof __VLS_setup>;
18
18
  };
19
19
  declare const _default: typeof __VLS_export;
@@ -1,6 +1,6 @@
1
1
  import { CheckboxCardProps } from "./types.js";
2
- import * as vue88 from "vue";
3
- import * as _soybeanjs_headless20 from "@soybeanjs/headless";
2
+ import * as vue76 from "vue";
3
+ import * as _soybeanjs_headless16 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox-card.vue.d.ts
6
6
  declare var __VLS_21: {
@@ -11,13 +11,13 @@ type __VLS_Slots = {} & {
11
11
  } & {
12
12
  description?: (props: typeof __VLS_29) => any;
13
13
  };
14
- declare const __VLS_base: vue88.DefineComponent<CheckboxCardProps, {}, {}, {}, {}, vue88.ComponentOptionsMixin, vue88.ComponentOptionsMixin, {
15
- "update:modelValue": (value: _soybeanjs_headless20.CheckedState | null) => any;
16
- }, string, vue88.PublicProps, Readonly<CheckboxCardProps> & Readonly<{
17
- "onUpdate:modelValue"?: ((value: _soybeanjs_headless20.CheckedState | null) => any) | undefined;
14
+ declare const __VLS_base: vue76.DefineComponent<CheckboxCardProps, {}, {}, {}, {}, vue76.ComponentOptionsMixin, vue76.ComponentOptionsMixin, {
15
+ "update:modelValue": (value: _soybeanjs_headless16.CheckedState | null) => any;
16
+ }, string, vue76.PublicProps, Readonly<CheckboxCardProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: _soybeanjs_headless16.CheckedState | null) => any) | undefined;
18
18
  }>, {
19
- modelValue: _soybeanjs_headless20.CheckedState | null;
20
- }, {}, {}, {}, string, vue88.ComponentProvideOptions, false, {}, any>;
19
+ modelValue: _soybeanjs_headless16.CheckedState | null;
20
+ }, {}, {}, {}, string, vue76.ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  type __VLS_WithSlots<T, S> = T & {
@@ -1,10 +1,10 @@
1
1
  import { CheckboxGroupOptionData, CheckboxGroupProps } from "./types.js";
2
- import * as vue79 from "vue";
2
+ import * as vue65 from "vue";
3
3
  import { DefinedValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox-group.vue.d.ts
6
6
  declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends CheckboxGroupOptionData<T> = CheckboxGroupOptionData<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
- props: vue79.PublicProps & __VLS_PrettifyLocal<CheckboxGroupProps<T, S> & {
7
+ props: vue65.PublicProps & __VLS_PrettifyLocal<CheckboxGroupProps<T, S> & {
8
8
  "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
9
9
  }> & (typeof globalThis extends {
10
10
  __VLS_PROPS_FALLBACK: infer P;
@@ -13,7 +13,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, S extends Ch
13
13
  attrs: any;
14
14
  slots: {};
15
15
  emit: (evt: "update:modelValue", value: T[]) => void;
16
- }>) => vue79.VNode & {
16
+ }>) => vue65.VNode & {
17
17
  __ctx?: Awaited<typeof __VLS_setup>;
18
18
  };
19
19
  declare const _default: typeof __VLS_export;
@@ -1,28 +1,28 @@
1
1
  import { CheckboxProps } from "./types.js";
2
- import * as vue81 from "vue";
3
- import * as _soybeanjs_headless13 from "@soybeanjs/headless";
2
+ import * as vue67 from "vue";
3
+ import * as _soybeanjs_headless5 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox.vue.d.ts
6
6
  declare var __VLS_28: {
7
- modelValue: _soybeanjs_headless13.CheckedState | null | undefined;
8
- state: _soybeanjs_headless13.CheckedState;
7
+ modelValue: _soybeanjs_headless5.CheckedState | null | undefined;
8
+ state: _soybeanjs_headless5.CheckedState;
9
9
  }, __VLS_41: {
10
10
  id: string;
11
- modelValue: _soybeanjs_headless13.CheckedState | null | undefined;
12
- state: _soybeanjs_headless13.CheckedState;
11
+ modelValue: _soybeanjs_headless5.CheckedState | null | undefined;
12
+ state: _soybeanjs_headless5.CheckedState;
13
13
  };
14
14
  type __VLS_Slots = {} & {
15
15
  indicator?: (props: typeof __VLS_28) => any;
16
16
  } & {
17
17
  default?: (props: typeof __VLS_41) => any;
18
18
  };
19
- declare const __VLS_base: vue81.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue81.ComponentOptionsMixin, vue81.ComponentOptionsMixin, {
20
- "update:modelValue": (value: _soybeanjs_headless13.CheckedState | null) => any;
21
- }, string, vue81.PublicProps, Readonly<CheckboxProps> & Readonly<{
22
- "onUpdate:modelValue"?: ((value: _soybeanjs_headless13.CheckedState | null) => any) | undefined;
19
+ declare const __VLS_base: vue67.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue67.ComponentOptionsMixin, vue67.ComponentOptionsMixin, {
20
+ "update:modelValue": (value: _soybeanjs_headless5.CheckedState | null) => any;
21
+ }, string, vue67.PublicProps, Readonly<CheckboxProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: _soybeanjs_headless5.CheckedState | null) => any) | undefined;
23
23
  }>, {
24
- modelValue: _soybeanjs_headless13.CheckedState | null;
25
- }, {}, {}, {}, string, vue81.ComponentProvideOptions, false, {}, any>;
24
+ modelValue: _soybeanjs_headless5.CheckedState | null;
25
+ }, {}, {}, {}, string, vue67.ComponentProvideOptions, false, {}, any>;
26
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { CollapsibleProps } from "./types.js";
2
- import * as vue74 from "vue";
2
+ import * as vue238 from "vue";
3
3
 
4
4
  //#region src/components/collapsible/collapsible.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -8,15 +8,15 @@ declare var __VLS_10: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue74.DefineComponent<CollapsibleProps, {}, {}, {}, {}, vue74.ComponentOptionsMixin, vue74.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue238.DefineComponent<CollapsibleProps, {}, {}, {}, {}, vue238.ComponentOptionsMixin, vue238.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue74.PublicProps, Readonly<CollapsibleProps> & Readonly<{
13
+ }, string, vue238.PublicProps, Readonly<CollapsibleProps> & Readonly<{
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
17
  defaultOpen: boolean;
18
18
  unmountOnHide: boolean;
19
- }, {}, {}, {}, string, vue74.ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, vue238.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1,14 +1,14 @@
1
1
  import { CommandOptionData, CommandProps, CommandSingleOptionData } from "./types.js";
2
- import * as vue103 from "vue";
2
+ import * as vue72 from "vue";
3
3
  import * as _soybeanjs_headless_composables0 from "@soybeanjs/headless/composables";
4
- import * as _soybeanjs_headless23 from "@soybeanjs/headless";
4
+ import * as _soybeanjs_headless12 from "@soybeanjs/headless";
5
5
 
6
6
  //#region src/components/command/command.vue.d.ts
7
7
  declare const __VLS_export: <T extends CommandOptionData = CommandOptionData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
- props: vue103.PublicProps & __VLS_PrettifyLocal<CommandProps<T> & {
9
- onSelect?: ((event: _soybeanjs_headless23.SelectEvent<string>) => any) | undefined;
8
+ props: vue72.PublicProps & __VLS_PrettifyLocal<CommandProps<T> & {
9
+ onSelect?: ((event: _soybeanjs_headless12.SelectEvent<string>) => any) | undefined;
10
10
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
11
- onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless23.ListboxCollectionItemData> | undefined) => any) | undefined;
11
+ onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless12.ListboxCollectionItemData> | undefined) => any) | undefined;
12
12
  onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
13
13
  onLeave?: ((event: Event) => any) | undefined;
14
14
  "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
@@ -38,8 +38,8 @@ declare const __VLS_export: <T extends CommandOptionData = CommandOptionData>(__
38
38
  } & {
39
39
  bottom?: (props: {}) => any;
40
40
  };
41
- emit: ((evt: "select", event: _soybeanjs_headless23.SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "highlight", payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless23.ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
42
- }>) => vue103.VNode & {
41
+ emit: ((evt: "select", event: _soybeanjs_headless12.SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "highlight", payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless12.ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
42
+ }>) => vue72.VNode & {
43
43
  __ctx?: Awaited<typeof __VLS_setup>;
44
44
  };
45
45
  declare const _default: typeof __VLS_export;
@@ -1,8 +1,8 @@
1
1
  import { ThemeSize } from "../../theme/types.js";
2
2
  import "../../theme/index.js";
3
3
  import { ConfigProviderProps as ConfigProviderProps$1 } from "./types.js";
4
- import * as vue105 from "vue";
5
- import * as _soybeanjs_headless27 from "@soybeanjs/headless";
4
+ import * as vue81 from "vue";
5
+ import * as _soybeanjs_headless19 from "@soybeanjs/headless";
6
6
  import * as _soybeanjs_shadcn_theme0 from "@soybeanjs/shadcn-theme";
7
7
 
8
8
  //#region src/components/config-provider/config-provider.vue.d.ts
@@ -10,15 +10,15 @@ declare var __VLS_26: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_26) => any;
12
12
  };
13
- declare const __VLS_base: vue105.DefineComponent<ConfigProviderProps$1, {}, {}, {}, {}, vue105.ComponentOptionsMixin, vue105.ComponentOptionsMixin, {}, string, vue105.PublicProps, Readonly<ConfigProviderProps$1> & Readonly<{}>, {
14
- dir: _soybeanjs_headless27.Direction;
13
+ declare const __VLS_base: vue81.DefineComponent<ConfigProviderProps$1, {}, {}, {}, {}, vue81.ComponentOptionsMixin, vue81.ComponentOptionsMixin, {}, string, vue81.PublicProps, Readonly<ConfigProviderProps$1> & Readonly<{}>, {
14
+ dir: _soybeanjs_headless19.Direction;
15
15
  size: ThemeSize;
16
16
  theme: _soybeanjs_shadcn_theme0.ThemeOptions;
17
17
  iconify: {
18
18
  width?: string;
19
19
  height?: string;
20
20
  };
21
- }, {}, {}, {}, string, vue105.ComponentProvideOptions, false, {}, any>;
21
+ }, {}, {}, {}, string, vue81.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
24
24
  type __VLS_WithSlots<T, S> = T & {