@soybeanjs/ui 0.0.18 → 0.0.20

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 (106) 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 +5 -5
  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.vue.d.ts +3 -3
  9. package/dist/components/button/button-group.vue.d.ts +6 -6
  10. package/dist/components/button/button-icon.vue.d.ts +3 -3
  11. package/dist/components/button/button-link.vue.d.ts +3 -3
  12. package/dist/components/button/button-loading.vue.d.ts +3 -3
  13. package/dist/components/button/button.vue.d.ts +4 -4
  14. package/dist/components/card/card.vue.d.ts +3 -3
  15. package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
  16. package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
  17. package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
  18. package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
  19. package/dist/components/collapsible/collapsible.vue.d.ts +5 -5
  20. package/dist/components/command/command.vue.d.ts +7 -7
  21. package/dist/components/config-provider/config-provider.js +1 -1
  22. package/dist/components/config-provider/config-provider.vue.d.ts +9 -5
  23. package/dist/components/config-provider/context.d.ts +2 -0
  24. package/dist/components/config-provider/context.js +1 -1
  25. package/dist/components/config-provider/types.d.ts +2 -2
  26. package/dist/components/context-menu/context-menu-checkbox.js +1 -1
  27. package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +9 -9
  28. package/dist/components/context-menu/context-menu-radio.js +1 -1
  29. package/dist/components/context-menu/context-menu-radio.vue.d.ts +9 -9
  30. package/dist/components/context-menu/context-menu-wrapper.js +1 -1
  31. package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +11 -11
  32. package/dist/components/context-menu/context-menu.vue.d.ts +8 -8
  33. package/dist/components/context-menu/types.d.ts +2 -1
  34. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  35. package/dist/components/dialog/dialog-pure.vue.d.ts +13 -13
  36. package/dist/components/dialog/dialog.vue.d.ts +13 -13
  37. package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
  38. package/dist/components/drawer/drawer.vue.d.ts +13 -13
  39. package/dist/components/dropdown-menu/dropdown-menu-checkbox.js +1 -1
  40. package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +9 -9
  41. package/dist/components/dropdown-menu/dropdown-menu-radio.js +1 -1
  42. package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +9 -9
  43. package/dist/components/dropdown-menu/dropdown-menu-wrapper.js +1 -1
  44. package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +11 -11
  45. package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +8 -8
  46. package/dist/components/dropdown-menu/types.d.ts +2 -1
  47. package/dist/components/form/form.vue.d.ts +2 -2
  48. package/dist/components/form/use-form.d.ts +22 -22
  49. package/dist/components/icon/icon.js +1 -1
  50. package/dist/components/icon/icon.vue.d.ts +3 -7
  51. package/dist/components/input/input.vue.d.ts +4 -4
  52. package/dist/components/kbd/kbd.vue.d.ts +3 -3
  53. package/dist/components/label/label.vue.d.ts +2 -2
  54. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  55. package/dist/components/layout/layout.vue.d.ts +4 -4
  56. package/dist/components/link/link.vue.d.ts +3 -3
  57. package/dist/components/list/list-item.vue.d.ts +2 -2
  58. package/dist/components/list/list.vue.d.ts +2 -2
  59. package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
  60. package/dist/components/menu/menu-option.vue.d.ts +8 -8
  61. package/dist/components/menu/menu-options.vue.d.ts +8 -8
  62. package/dist/components/menu/menu-radio-options.js +1 -1
  63. package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
  64. package/dist/components/menu/types.d.ts +1 -1
  65. package/dist/components/navigation-menu/navigation-menu.vue.d.ts +13 -13
  66. package/dist/components/number-input/number-input.vue.d.ts +4 -4
  67. package/dist/components/pagination/pagination.vue.d.ts +4 -4
  68. package/dist/components/password/password.vue.d.ts +4 -4
  69. package/dist/components/popover/popover.vue.d.ts +12 -12
  70. package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
  71. package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
  72. package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
  73. package/dist/components/radio-group/radio.vue.d.ts +2 -2
  74. package/dist/components/segment/segment.vue.d.ts +3 -3
  75. package/dist/components/select/select.vue.d.ts +8 -8
  76. package/dist/components/separator/separator.vue.d.ts +5 -5
  77. package/dist/components/switch/switch.vue.d.ts +25 -25
  78. package/dist/components/tabs/tabs.vue.d.ts +3 -3
  79. package/dist/components/tag/tag.vue.d.ts +4 -4
  80. package/dist/components/textarea/textarea.vue.d.ts +4 -4
  81. package/dist/components/toast/context.js +1 -1
  82. package/dist/components/toast/toast-provider.js +1 -1
  83. package/dist/components/toast/types.d.ts +0 -1
  84. package/dist/components/tooltip/tooltip.vue.d.ts +8 -8
  85. package/dist/components/tree/tree-virtualizer.vue.d.ts +5 -5
  86. package/dist/components/tree/tree.vue.d.ts +5 -5
  87. package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +2 -2
  88. package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
  89. package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
  90. package/dist/index.js +1 -1
  91. package/dist/styles.css +7 -6
  92. package/dist/variants/alert.d.ts +3 -3
  93. package/dist/variants/badge.d.ts +3 -3
  94. package/dist/variants/button.d.ts +3 -3
  95. package/dist/variants/checkbox.d.ts +3 -3
  96. package/dist/variants/kbd.d.ts +3 -3
  97. package/dist/variants/menu.js +1 -1
  98. package/dist/variants/pagination.d.ts +3 -3
  99. package/dist/variants/radio-group.d.ts +3 -3
  100. package/dist/variants/separator.d.ts +3 -3
  101. package/dist/variants/switch.d.ts +3 -3
  102. package/dist/variants/tabs.d.ts +3 -3
  103. package/dist/variants/tag.d.ts +3 -3
  104. package/dist/variants/textarea.d.ts +3 -3
  105. package/dist/variants/toast.d.ts +3 -3
  106. package/package.json +4 -4
@@ -1,9 +1,9 @@
1
1
  import { AccordionOptionData, AccordionProps } from "./types.js";
2
- import * as vue74 from "vue";
2
+ import * as vue251 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: vue74.PublicProps & __VLS_PrettifyLocal<AccordionProps<T, M> & {
6
+ props: vue251.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
- }>) => vue74.VNode & {
44
+ }>) => vue251.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 vue76 from "vue";
2
+ import * as vue212 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: vue76.DefineComponent<AlertProps, {}, {}, {}, {}, vue76.ComponentOptionsMixin, vue76.ComponentOptionsMixin, {
19
+ declare const __VLS_base: vue212.DefineComponent<AlertProps, {}, {}, {}, {}, vue212.ComponentOptionsMixin, vue212.ComponentOptionsMixin, {
20
20
  "update:open": (open: boolean) => any;
21
- }, string, vue76.PublicProps, Readonly<AlertProps> & Readonly<{
21
+ }, string, vue212.PublicProps, Readonly<AlertProps> & Readonly<{
22
22
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
23
23
  }>, {
24
24
  open: boolean;
25
- }, {}, {}, {}, string, vue76.ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, vue212.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 vue81 from "vue";
2
+ import * as vue45 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: vue81.DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, vue81.ComponentOptionsMixin, vue81.ComponentOptionsMixin, {}, string, vue81.PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {
11
+ declare const __VLS_base: vue45.DefineComponent<AlertDialogActionProps, {}, {}, {}, {}, vue45.ComponentOptionsMixin, vue45.ComponentOptionsMixin, {}, string, vue45.PublicProps, Readonly<AlertDialogActionProps> & Readonly<{}>, {
12
12
  text: string;
13
- }, {}, {}, {}, string, vue81.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue45.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 vue93 from "vue";
4
+ import * as vue40 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: vue93.DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, vue93.ComponentOptionsMixin, vue93.ComponentOptionsMixin, {}, string, vue93.PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {
13
+ declare const __VLS_base: vue40.DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, vue40.ComponentOptionsMixin, vue40.ComponentOptionsMixin, {}, string, vue40.PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {
14
14
  text: string;
15
15
  variant: ButtonVariant;
16
- }, {}, {}, {}, string, vue93.ComponentProvideOptions, false, {}, any>;
16
+ }, {}, {}, {}, string, vue40.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 vue88 from "vue";
2
+ import * as vue35 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: vue88.DefineComponent<AlertDialogProps, {}, {}, {}, {}, vue88.ComponentOptionsMixin, vue88.ComponentOptionsMixin, {
29
+ declare const __VLS_base: vue35.DefineComponent<AlertDialogProps, {}, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {
30
30
  "update:open": (value: boolean) => any;
31
- }, string, vue88.PublicProps, Readonly<AlertDialogProps> & Readonly<{
31
+ }, string, vue35.PublicProps, Readonly<AlertDialogProps> & Readonly<{
32
32
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
33
33
  }>, {
34
- open: boolean;
35
34
  defaultOpen: boolean;
35
+ open: boolean;
36
36
  showIcon: boolean;
37
- }, {}, {}, {}, string, vue88.ComponentProvideOptions, false, {}, any>;
37
+ }, {}, {}, {}, string, vue35.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 vue4 from "vue";
3
- import * as _soybeanjs_headless0 from "@soybeanjs/headless";
2
+ import * as vue92 from "vue";
3
+ import * as _soybeanjs_headless29 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: vue4.DefineComponent<AvatarProps, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {
15
- loadingStatusChange: (status: _soybeanjs_headless0.ImageLoadingStatus) => any;
16
- }, string, vue4.PublicProps, Readonly<AvatarProps> & Readonly<{
17
- onLoadingStatusChange?: ((status: _soybeanjs_headless0.ImageLoadingStatus) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, vue4.ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_base: vue92.DefineComponent<AvatarProps, {}, {}, {}, {}, vue92.ComponentOptionsMixin, vue92.ComponentOptionsMixin, {
15
+ loadingStatusChange: (status: _soybeanjs_headless29.ImageLoadingStatus) => any;
16
+ }, string, vue92.PublicProps, Readonly<AvatarProps> & Readonly<{
17
+ onLoadingStatusChange?: ((status: _soybeanjs_headless29.ImageLoadingStatus) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, vue92.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 vue0 from "vue";
2
+ import * as vue97 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: vue0.DefineComponent<BadgeProps, {}, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue97.DefineComponent<BadgeProps, {}, {}, {}, {}, vue97.ComponentOptionsMixin, vue97.ComponentOptionsMixin, {
12
12
  "update:open": (open: boolean) => any;
13
- }, string, vue0.PublicProps, Readonly<BadgeProps> & Readonly<{
13
+ }, string, vue97.PublicProps, Readonly<BadgeProps> & Readonly<{
14
14
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
- }, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, vue97.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,9 +1,9 @@
1
1
  import { BreadcrumbEmits, BreadcrumbOptionData, BreadcrumbProps } from "./types.js";
2
- import * as vue86 from "vue";
2
+ import * as vue102 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: vue86.PublicProps & __VLS_PrettifyLocal<BreadcrumbProps<T> & {
6
+ props: vue102.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
- }>) => vue86.VNode & {
45
+ }>) => vue102.VNode & {
46
46
  __ctx?: Awaited<typeof __VLS_setup>;
47
47
  };
48
48
  declare const _default: typeof __VLS_export;
@@ -1,16 +1,16 @@
1
1
  import { ButtonGroupProps } from "./types.js";
2
- import * as vue137 from "vue";
3
- import * as _soybeanjs_headless88 from "@soybeanjs/headless";
2
+ import * as vue30 from "vue";
3
+ import * as _soybeanjs_headless1 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: vue137.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue137.ComponentOptionsMixin, vue137.ComponentOptionsMixin, {}, string, vue137.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
11
- dir: _soybeanjs_headless88.Direction;
12
- orientation: _soybeanjs_headless88.DataOrientation;
13
- }, {}, {}, {}, string, vue137.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue30.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue30.ComponentOptionsMixin, vue30.ComponentOptionsMixin, {}, string, vue30.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
11
+ dir: _soybeanjs_headless1.Direction;
12
+ orientation: _soybeanjs_headless1.DataOrientation;
13
+ }, {}, {}, {}, string, vue30.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 vue127 from "vue";
5
+ import * as vue20 from "vue";
6
6
 
7
7
  //#region src/components/button/button-icon.vue.d.ts
8
- declare const __VLS_export: vue127.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue127.ComponentOptionsMixin, vue127.ComponentOptionsMixin, {}, string, vue127.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
8
+ declare const __VLS_export: vue20.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue20.ComponentOptionsMixin, vue20.ComponentOptionsMixin, {}, string, vue20.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
9
9
  color: ThemeColor;
10
10
  variant: ButtonVariant;
11
11
  shape: ButtonShape;
12
12
  fitContent: boolean;
13
- }, {}, {}, {}, string, vue127.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue20.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 vue132 from "vue";
3
+ import * as vue25 from "vue";
4
4
 
5
5
  //#region src/components/button/button-link.vue.d.ts
6
6
  declare var __VLS_14: {
@@ -9,7 +9,7 @@ declare var __VLS_14: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_14) => any;
11
11
  };
12
- declare const __VLS_base: vue132.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue132.ComponentOptionsMixin, vue132.ComponentOptionsMixin, {}, string, vue132.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
12
+ declare const __VLS_base: vue25.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue25.ComponentOptionsMixin, vue25.ComponentOptionsMixin, {}, string, vue25.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
13
13
  disabled: boolean;
14
14
  replace: boolean;
15
15
  variant: ButtonVariant;
@@ -18,7 +18,7 @@ declare const __VLS_base: vue132.DefineComponent<ButtonLinkProps, {}, {}, {}, {}
18
18
  noRel: boolean;
19
19
  prefetch: boolean;
20
20
  noPrefetch: boolean;
21
- }, {}, {}, {}, string, vue132.ComponentProvideOptions, false, {}, any>;
21
+ }, {}, {}, {}, string, vue25.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 & {
@@ -1,5 +1,5 @@
1
1
  import { ButtonLoadingProps } from "./types.js";
2
- import * as vue122 from "vue";
2
+ import * as vue15 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: vue122.DefineComponent<ButtonLoadingProps, {}, {}, {}, {}, vue122.ComponentOptionsMixin, vue122.ComponentOptionsMixin, {}, string, vue122.PublicProps, Readonly<ButtonLoadingProps> & Readonly<{}>, {
20
+ declare const __VLS_base: vue15.DefineComponent<ButtonLoadingProps, {}, {}, {}, {}, vue15.ComponentOptionsMixin, vue15.ComponentOptionsMixin, {}, string, vue15.PublicProps, Readonly<ButtonLoadingProps> & Readonly<{}>, {
21
21
  loadingIcon: string;
22
22
  loadingPosition: Align;
23
- }, {}, {}, {}, string, vue122.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue15.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 vue117 from "vue";
2
+ import * as vue10 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: vue117.DefineComponent<ButtonProps, {}, {}, {}, {}, vue117.ComponentOptionsMixin, vue117.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue10.DefineComponent<ButtonProps, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {
14
14
  click: (event: MouseEvent) => any;
15
- }, string, vue117.PublicProps, Readonly<ButtonProps> & Readonly<{
15
+ }, string, vue10.PublicProps, Readonly<ButtonProps> & Readonly<{
16
16
  onClick?: ((event: MouseEvent) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, vue117.ComponentProvideOptions, false, {}, any>;
17
+ }>, {}, {}, {}, {}, string, vue10.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 vue9 from "vue";
2
+ import * as vue50 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: vue9.DefineComponent<CardProps, {}, {}, {}, {}, vue9.ComponentOptionsMixin, vue9.ComponentOptionsMixin, {}, string, vue9.PublicProps, Readonly<CardProps> & Readonly<{}>, {
17
+ declare const __VLS_base: vue50.DefineComponent<CardProps, {}, {}, {}, {}, vue50.ComponentOptionsMixin, vue50.ComponentOptionsMixin, {}, string, vue50.PublicProps, Readonly<CardProps> & Readonly<{}>, {
18
18
  scrollable: boolean;
19
- }, {}, {}, {}, string, vue9.ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, vue50.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 vue103 from "vue";
2
+ import * as vue62 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: vue103.PublicProps & __VLS_PrettifyLocal<CheckboxCardGroupProps<T, S> & {
7
+ props: vue62.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
- }>) => vue103.VNode & {
16
+ }>) => vue62.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 vue107 from "vue";
3
- import * as _soybeanjs_headless78 from "@soybeanjs/headless";
2
+ import * as vue64 from "vue";
3
+ import * as _soybeanjs_headless10 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: vue107.DefineComponent<CheckboxCardProps, {}, {}, {}, {}, vue107.ComponentOptionsMixin, vue107.ComponentOptionsMixin, {
15
- "update:modelValue": (value: _soybeanjs_headless78.CheckedState | null) => any;
16
- }, string, vue107.PublicProps, Readonly<CheckboxCardProps> & Readonly<{
17
- "onUpdate:modelValue"?: ((value: _soybeanjs_headless78.CheckedState | null) => any) | undefined;
14
+ declare const __VLS_base: vue64.DefineComponent<CheckboxCardProps, {}, {}, {}, {}, vue64.ComponentOptionsMixin, vue64.ComponentOptionsMixin, {
15
+ "update:modelValue": (value: _soybeanjs_headless10.CheckedState | null) => any;
16
+ }, string, vue64.PublicProps, Readonly<CheckboxCardProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: _soybeanjs_headless10.CheckedState | null) => any) | undefined;
18
18
  }>, {
19
- modelValue: _soybeanjs_headless78.CheckedState | null;
20
- }, {}, {}, {}, string, vue107.ComponentProvideOptions, false, {}, any>;
19
+ modelValue: _soybeanjs_headless10.CheckedState | null;
20
+ }, {}, {}, {}, string, vue64.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 vue105 from "vue";
2
+ import * as vue55 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: vue105.PublicProps & __VLS_PrettifyLocal<CheckboxGroupProps<T, S> & {
7
+ props: vue55.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
- }>) => vue105.VNode & {
16
+ }>) => vue55.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 vue112 from "vue";
3
- import * as _soybeanjs_headless81 from "@soybeanjs/headless";
2
+ import * as vue57 from "vue";
3
+ import * as _soybeanjs_headless3 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/checkbox/checkbox.vue.d.ts
6
6
  declare var __VLS_28: {
7
- modelValue: _soybeanjs_headless81.CheckedState | null | undefined;
8
- state: _soybeanjs_headless81.CheckedState;
7
+ modelValue: _soybeanjs_headless3.CheckedState | null | undefined;
8
+ state: _soybeanjs_headless3.CheckedState;
9
9
  }, __VLS_41: {
10
10
  id: string;
11
- modelValue: _soybeanjs_headless81.CheckedState | null | undefined;
12
- state: _soybeanjs_headless81.CheckedState;
11
+ modelValue: _soybeanjs_headless3.CheckedState | null | undefined;
12
+ state: _soybeanjs_headless3.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: vue112.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue112.ComponentOptionsMixin, vue112.ComponentOptionsMixin, {
20
- "update:modelValue": (value: _soybeanjs_headless81.CheckedState | null) => any;
21
- }, string, vue112.PublicProps, Readonly<CheckboxProps> & Readonly<{
22
- "onUpdate:modelValue"?: ((value: _soybeanjs_headless81.CheckedState | null) => any) | undefined;
19
+ declare const __VLS_base: vue57.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue57.ComponentOptionsMixin, vue57.ComponentOptionsMixin, {
20
+ "update:modelValue": (value: _soybeanjs_headless3.CheckedState | null) => any;
21
+ }, string, vue57.PublicProps, Readonly<CheckboxProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: _soybeanjs_headless3.CheckedState | null) => any) | undefined;
23
23
  }>, {
24
- modelValue: _soybeanjs_headless81.CheckedState | null;
25
- }, {}, {}, {}, string, vue112.ComponentProvideOptions, false, {}, any>;
24
+ modelValue: _soybeanjs_headless3.CheckedState | null;
25
+ }, {}, {}, {}, string, vue57.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 vue98 from "vue";
2
+ import * as vue5 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: vue98.DefineComponent<CollapsibleProps, {}, {}, {}, {}, vue98.ComponentOptionsMixin, vue98.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue5.DefineComponent<CollapsibleProps, {}, {}, {}, {}, vue5.ComponentOptionsMixin, vue5.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue98.PublicProps, Readonly<CollapsibleProps> & Readonly<{
13
+ }, string, vue5.PublicProps, Readonly<CollapsibleProps> & Readonly<{
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
- open: boolean;
17
16
  defaultOpen: boolean;
17
+ open: boolean;
18
18
  unmountOnHide: boolean;
19
- }, {}, {}, {}, string, vue98.ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, vue5.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,15 +1,15 @@
1
1
  import { CommandOptionData, CommandProps, CommandSingleOptionData } from "./types.js";
2
- import * as vue142 from "vue";
2
+ import * as vue239 from "vue";
3
3
  import * as _soybeanjs_headless_composables0 from "@soybeanjs/headless/composables";
4
- import * as _soybeanjs_headless90 from "@soybeanjs/headless";
4
+ import * as _soybeanjs_headless143 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: vue142.PublicProps & __VLS_PrettifyLocal<CommandProps<T> & {
9
- onSelect?: ((event: _soybeanjs_headless90.SelectEvent<string>) => any) | undefined;
8
+ props: vue239.PublicProps & __VLS_PrettifyLocal<CommandProps<T> & {
9
+ onSelect?: ((event: _soybeanjs_headless143.SelectEvent<string>) => any) | undefined;
10
10
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
11
11
  onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
12
- onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless90.ListboxCollectionItemData> | undefined) => any) | undefined;
12
+ onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless143.ListboxCollectionItemData> | undefined) => any) | undefined;
13
13
  onLeave?: ((event: Event) => any) | undefined;
14
14
  "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
15
15
  }> & (typeof globalThis extends {
@@ -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_headless90.SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "highlight", payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless90.ListboxCollectionItemData> | undefined) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
42
- }>) => vue142.VNode & {
41
+ emit: ((evt: "select", event: _soybeanjs_headless143.SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "highlight", payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless143.ListboxCollectionItemData> | undefined) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
42
+ }>) => vue239.VNode & {
43
43
  __ctx?: Awaited<typeof __VLS_setup>;
44
44
  };
45
45
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- import e from"../dialog/dialog-provider.js";import t from"../toast/toast-provider.js";import{provideConfigProviderContext as n}from"./context.js";import{createBlock as r,createTextVNode as i,createVNode as a,defineComponent as o,guardReactiveProps as s,normalizeProps as c,openBlock as l,renderSlot as u,toDisplayString as d,unref as f,watch as p,watchEffect as m,withCtx as h}from"vue";import{useOmitProps as g}from"@soybeanjs/headless/composables";import{ConfigProvider as _,Primitive as v}from"@soybeanjs/headless";import{useStorage as y}from"@vueuse/core";import{isClient as b,transformPropsToContext as x}from"@soybeanjs/headless/shared";import{createShadcnTheme as S}from"@soybeanjs/shadcn-theme";var C=o({name:`SConfigProvider`,__name:`config-provider`,props:{theme:{default:()=>({})},size:{default:`md`},iconify:{},toast:{},dir:{default:`ltr`},locale:{},scrollBody:{type:[Boolean,Object]},nonce:{},tooltip:{},nuxt:{type:Boolean}},setup(o){let C=o,w=g(C,[`theme`,`size`,`iconify`,`toast`]);n(x(C));let{getCss:T}=S(C.theme),E=y(`themeCssVars`,T(C.theme,C.theme.radius));function D(e){if(!b)return;let t=[`xs`,`sm`,`md`,`lg`,`xl`,`2xl`];document.documentElement.classList.add(`size-${e}`);let n=t.filter(t=>t!==e).map(e=>`size-${e}`);document.documentElement.classList.remove(...n)}return p(()=>C.size,e=>{D(e)},{immediate:!0,flush:`sync`}),m(()=>{let e=C.theme||{};E.value=T(e,e.radius)}),(n,p)=>(l(),r(f(_),c(s(f(w))),{default:h(()=>[a(f(v),{id:`__SOYBEAN_UI_THEME_VARS__`,as:`style`},{default:h(()=>[i(d(f(E)),1)]),_:1}),a(e,null,{default:h(()=>[a(t,c(s(o.toast)),{default:h(()=>[u(n.$slots,`default`)]),_:3},16)]),_:3})]),_:3},16))}});export{C as default};
1
+ import e from"../dialog/dialog-provider.js";import{provideConfigProviderContext as t}from"./context.js";import n from"../toast/toast-provider.js";import{createBlock as r,createTextVNode as i,createVNode as a,defineComponent as o,guardReactiveProps as s,normalizeProps as c,openBlock as l,renderSlot as u,toDisplayString as d,unref as f,watch as p,watchEffect as m,withCtx as h}from"vue";import{useOmitProps as g}from"@soybeanjs/headless/composables";import{ConfigProvider as _,Primitive as v}from"@soybeanjs/headless";import{useStorage as y}from"@vueuse/core";import{isClient as b,transformPropsToContext as x}from"@soybeanjs/headless/shared";import{createShadcnTheme as S}from"@soybeanjs/shadcn-theme";var C=o({name:`SConfigProvider`,__name:`config-provider`,props:{theme:{default:()=>({})},size:{default:`md`},iconify:{default:()=>({width:`1.25em`,height:`1.25em`})},toast:{},dir:{default:`ltr`},locale:{},nonce:{},tooltip:{},nuxt:{type:Boolean}},setup(o){let C=o,w=g(C,[`theme`,`size`,`iconify`,`toast`]);t(x(C));let{getCss:T}=S(C.theme),E=y(`themeCssVars`,T(C.theme,C.theme.radius));function D(e){if(!b)return;let t=[`xs`,`sm`,`md`,`lg`,`xl`,`2xl`];document.documentElement.classList.add(`size-${e}`);let n=t.filter(t=>t!==e).map(e=>`size-${e}`);document.documentElement.classList.remove(...n)}return p(()=>C.size,e=>{D(e)},{immediate:!0,flush:`sync`}),m(()=>{let e=C.theme||{};E.value=T(e,e.radius)}),(t,p)=>(l(),r(f(_),c(s(f(w))),{default:h(()=>[a(f(v),{id:`__SOYBEAN_UI_THEME_VARS__`,as:`style`},{default:h(()=>[i(d(f(E)),1)]),_:1}),a(e,null,{default:h(()=>[a(n,c(s(o.toast)),{default:h(()=>[u(t.$slots,`default`)]),_:3},16)]),_:3})]),_:3},16))}});export{C as default};
@@ -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 vue24 from "vue";
5
- import * as _soybeanjs_headless9 from "@soybeanjs/headless";
4
+ import * as vue228 from "vue";
5
+ import * as _soybeanjs_headless142 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,11 +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: vue24.DefineComponent<ConfigProviderProps$1, {}, {}, {}, {}, vue24.ComponentOptionsMixin, vue24.ComponentOptionsMixin, {}, string, vue24.PublicProps, Readonly<ConfigProviderProps$1> & Readonly<{}>, {
13
+ declare const __VLS_base: vue228.DefineComponent<ConfigProviderProps$1, {}, {}, {}, {}, vue228.ComponentOptionsMixin, vue228.ComponentOptionsMixin, {}, string, vue228.PublicProps, Readonly<ConfigProviderProps$1> & Readonly<{}>, {
14
+ dir: _soybeanjs_headless142.Direction;
14
15
  size: ThemeSize;
15
- dir: _soybeanjs_headless9.Direction;
16
16
  theme: _soybeanjs_shadcn_theme0.ThemeOptions;
17
- }, {}, {}, {}, string, vue24.ComponentProvideOptions, false, {}, any>;
17
+ iconify: {
18
+ width?: string;
19
+ height?: string;
20
+ };
21
+ }, {}, {}, {}, string, vue228.ComponentProvideOptions, false, {}, any>;
18
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
23
  declare const _default: typeof __VLS_export;
20
24
  type __VLS_WithSlots<T, S> = T & {
@@ -1,4 +1,6 @@
1
+ import "../../theme/index.js";
1
2
  import "./types.js";
3
+ import "vue";
2
4
 
3
5
  //#region src/components/config-provider/context.d.ts
4
6
 
@@ -1 +1 @@
1
- import{useContext as e}from"@soybeanjs/headless/composables";const[t,n]=e(`UiConfigProvider`,e=>e);export{t as provideConfigProviderContext,n as useConfigProvider};
1
+ import{computed as e,toValue as t}from"vue";import{useContext as n}from"@soybeanjs/headless/composables";const[r,i]=n(`UiConfigProvider`,e=>e);function a(n){let r=i();return e(()=>t(n)||r?.size?.value||`md`)}export{r as provideConfigProviderContext,i as useConfigProvider,a as useThemeSize};
@@ -15,13 +15,13 @@ interface ConfigProviderProps$1 extends ConfigProviderProps {
15
15
  /**
16
16
  * The default width of the icon.
17
17
  *
18
- * @defaultValue '1.2em'
18
+ * @defaultValue '1.25em'
19
19
  */
20
20
  width?: string;
21
21
  /**
22
22
  * The default height of the icon.
23
23
  *
24
- * @defaultValue '1.2em'
24
+ * @defaultValue '1.25em'
25
25
  */
26
26
  height?: string;
27
27
  };
@@ -1 +1 @@
1
- import e from"./context-menu-wrapper.js";import t from"../menu/menu-checkbox-options.js";import{computed as n,createBlock as r,createSlots as i,createVNode as a,defineComponent as o,guardReactiveProps as s,mergeProps as c,normalizeProps as l,openBlock as u,renderList as d,renderSlot as f,toHandlers as p,unref as m,useSlots as h,withCtx as g}from"vue";import{useForwardListeners as _,useOmitProps as v,usePickProps as y}from"@soybeanjs/headless/composables";var b=o({name:`SContextMenuCheckbox`,__name:`context-menu-checkbox`,props:{class:{},size:{},ui:{},disabled:{type:Boolean},showArrow:{type:Boolean},triggerProps:{},portalProps:{},contentProps:{},popupProps:{},arrowProps:{},pressOpenDelay:{},dir:{},modal:{type:Boolean,default:!0},items:{},groupLabelProps:{},checkboxItemProps:{},indicatorProps:{},shortcutProps:{},separatorProps:{},modelValue:{default:void 0},defaultValue:{default:()=>[]},asChild:{type:Boolean},as:{}},emits:[`update:open`,`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`,`update:modelValue`,`select`],setup(o,{emit:b}){let x=o,S=b,C=h(),w=[`dir`,`modal`,`size`,`ui`,`disabled`,`showArrow`,`triggerProps`,`portalProps`,`contentProps`,`popupProps`,`arrowProps`],T=y(x,[...w]),E=v(x,[...w]),D=_(S),O=n(()=>Object.keys(C).filter(e=>e!==`trigger`));return(n,h)=>(u(),r(e,c(m(T),p(m(D))),{trigger:g(()=>[f(n.$slots,`trigger`)]),default:g(()=>[a(t,c(m(E),{"portal-props":o.portalProps},p(m(D))),i({_:2},[d(O.value,e=>({name:e,fn:g(t=>[f(n.$slots,e,l(s(t)))])}))]),1040,[`portal-props`])]),_:3},16))}});export{b as default};
1
+ import e from"./context-menu-wrapper.js";import t from"../menu/menu-checkbox-options.js";import{computed as n,createBlock as r,createSlots as i,createVNode as a,defineComponent as o,guardReactiveProps as s,mergeProps as c,normalizeProps as l,openBlock as u,renderList as d,renderSlot as f,toHandlers as p,unref as m,useSlots as h,withCtx as g}from"vue";import{useForwardListeners as _,useOmitProps as v,usePickProps as y}from"@soybeanjs/headless/composables";var b=o({name:`SContextMenuCheckbox`,__name:`context-menu-checkbox`,props:{class:{},size:{},ui:{},disabled:{type:Boolean},indicatorPosition:{},showArrow:{type:Boolean},triggerProps:{},portalProps:{},contentProps:{},popupProps:{},arrowProps:{},pressOpenDelay:{},dir:{},modal:{type:Boolean,default:!0},items:{},groupLabelProps:{},checkboxItemProps:{},indicatorProps:{},shortcutProps:{},separatorProps:{},modelValue:{default:void 0},defaultValue:{default:()=>[]},asChild:{type:Boolean},as:{}},emits:[`update:open`,`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`,`update:modelValue`,`select`],setup(o,{emit:b}){let x=o,S=b,C=h(),w=[`dir`,`modal`,`size`,`ui`,`disabled`,`showArrow`,`indicatorPosition`,`triggerProps`,`portalProps`,`contentProps`,`popupProps`,`arrowProps`],T=y(x,[...w]),E=v(x,[...w]),D=_(S),O=n(()=>Object.keys(C).filter(e=>e!==`trigger`));return(n,h)=>(u(),r(e,c(m(T),p(m(D))),{trigger:g(()=>[f(n.$slots,`trigger`)]),default:g(()=>[a(t,c(m(E),{"portal-props":o.portalProps},p(m(D))),i({_:2},[d(O.value,e=>({name:e,fn:g(t=>[f(n.$slots,e,l(s(t)))])}))]),1040,[`portal-props`])]),_:3},16))}});export{b as default};