@soybeanjs/ui 0.0.2-beta.10 → 0.0.2-beta.13

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 (130) hide show
  1. package/README.md +38 -10
  2. package/dist/components/accordion/accordion.vue.d.ts +3 -3
  3. package/dist/components/alert/alert.js +1 -1
  4. package/dist/components/alert/alert.vue.d.ts +4 -4
  5. package/dist/components/alert-dialog/alert-dialog-action.js +1 -1
  6. package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
  7. package/dist/components/alert-dialog/alert-dialog-cancel.js +1 -1
  8. package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +3 -3
  9. package/dist/components/alert-dialog/alert-dialog.js +1 -1
  10. package/dist/components/alert-dialog/alert-dialog.vue.d.ts +6 -5
  11. package/dist/components/alert-dialog/types.d.ts +12 -1
  12. package/dist/components/avatar/avatar.vue.d.ts +7 -7
  13. package/dist/components/badge/badge.vue.d.ts +4 -4
  14. package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
  15. package/dist/components/button/button-group.js +1 -1
  16. package/dist/components/button/button-group.vue.d.ts +6 -6
  17. package/dist/components/button/button-icon.js +1 -1
  18. package/dist/components/button/button-icon.vue.d.ts +3 -3
  19. package/dist/components/button/button-link.vue.d.ts +3 -3
  20. package/dist/components/button/button-loading.js +1 -1
  21. package/dist/components/button/button-loading.vue.d.ts +3 -3
  22. package/dist/components/button/button.js +1 -1
  23. package/dist/components/button/button.vue.d.ts +4 -4
  24. package/dist/components/card/card.js +1 -1
  25. package/dist/components/card/card.vue.d.ts +3 -3
  26. package/dist/components/card/types.d.ts +0 -6
  27. package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
  28. package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
  29. package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
  30. package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
  31. package/dist/components/collapsible/collapsible.vue.d.ts +5 -5
  32. package/dist/components/command/command.vue.d.ts +7 -7
  33. package/dist/components/config-provider/config-provider.js +1 -1
  34. package/dist/components/config-provider/config-provider.vue.d.ts +7 -7
  35. package/dist/components/config-provider/context.js +1 -1
  36. package/dist/components/config-provider/types.d.ts +2 -0
  37. package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +9 -9
  38. package/dist/components/context-menu/context-menu-radio.vue.d.ts +9 -9
  39. package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +13 -13
  40. package/dist/components/context-menu/context-menu.vue.d.ts +9 -9
  41. package/dist/components/dialog/context.d.ts +8 -0
  42. package/dist/components/dialog/context.js +1 -0
  43. package/dist/components/dialog/dialog-close.js +1 -1
  44. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  45. package/dist/components/dialog/dialog-provider.js +1 -0
  46. package/dist/components/dialog/dialog-pure.js +1 -1
  47. package/dist/components/dialog/dialog-pure.vue.d.ts +6 -6
  48. package/dist/components/dialog/dialog.js +1 -1
  49. package/dist/components/dialog/dialog.vue.d.ts +13 -13
  50. package/dist/components/dialog/index.d.ts +2 -1
  51. package/dist/components/dialog/types.d.ts +26 -3
  52. package/dist/components/drawer/drawer-close.js +1 -1
  53. package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
  54. package/dist/components/drawer/drawer.js +1 -1
  55. package/dist/components/drawer/drawer.vue.d.ts +13 -13
  56. package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +9 -9
  57. package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +9 -9
  58. package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +13 -13
  59. package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +9 -9
  60. package/dist/components/form/form-field-array.vue.d.ts +2 -2
  61. package/dist/components/form/form-field.vue.d.ts +2 -2
  62. package/dist/components/form/form.vue.d.ts +2 -2
  63. package/dist/components/icon/icon.vue.d.ts +3 -3
  64. package/dist/components/input/input.vue.d.ts +4 -4
  65. package/dist/components/kbd/kbd.vue.d.ts +3 -3
  66. package/dist/components/label/label.vue.d.ts +2 -2
  67. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  68. package/dist/components/layout/layout.vue.d.ts +4 -4
  69. package/dist/components/link/link.vue.d.ts +3 -3
  70. package/dist/components/list/list-item.vue.d.ts +2 -2
  71. package/dist/components/list/list.vue.d.ts +2 -2
  72. package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
  73. package/dist/components/menu/menu-option.vue.d.ts +9 -9
  74. package/dist/components/menu/menu-options.vue.d.ts +9 -9
  75. package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
  76. package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
  77. package/dist/components/number-input/number-input.vue.d.ts +4 -4
  78. package/dist/components/pagination/pagination.vue.d.ts +4 -4
  79. package/dist/components/password/password.vue.d.ts +4 -4
  80. package/dist/components/popover/popover.vue.d.ts +13 -13
  81. package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
  82. package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
  83. package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
  84. package/dist/components/radio-group/radio.vue.d.ts +2 -2
  85. package/dist/components/segment/segment.vue.d.ts +3 -3
  86. package/dist/components/select/select.vue.d.ts +7 -7
  87. package/dist/components/separator/separator.vue.d.ts +5 -5
  88. package/dist/components/switch/switch.vue.d.ts +19 -19
  89. package/dist/components/tabs/tabs.vue.d.ts +3 -3
  90. package/dist/components/tag/tag.vue.d.ts +4 -4
  91. package/dist/components/textarea/textarea.vue.d.ts +4 -4
  92. package/dist/components/toast/context.d.ts +8 -0
  93. package/dist/components/toast/context.js +1 -0
  94. package/dist/components/toast/index.d.ts +5 -0
  95. package/dist/components/toast/index.js +1 -0
  96. package/dist/components/toast/shared.js +1 -0
  97. package/dist/components/toast/toast-provider.js +1 -0
  98. package/dist/components/toast/toast.js +1 -0
  99. package/dist/components/toast/toast.vue.d.ts +21 -0
  100. package/dist/components/toast/types.d.ts +60 -0
  101. package/dist/components/tooltip/tooltip.vue.d.ts +9 -9
  102. package/dist/components/tree/tree-virtualizer.vue.d.ts +3 -3
  103. package/dist/components/tree/tree.vue.d.ts +3 -3
  104. package/dist/components/tree-menu/tree-menu-item-wrapper.vue.d.ts +2 -2
  105. package/dist/components/tree-menu/tree-menu-item.js +1 -1
  106. package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
  107. package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
  108. package/dist/constants/components.d.ts +1 -0
  109. package/dist/constants/components.js +1 -1
  110. package/dist/index.d.ts +13 -8
  111. package/dist/index.js +1 -1
  112. package/dist/styles.css +6 -14
  113. package/dist/theme/index.d.ts +1 -0
  114. package/dist/theme/shared.d.ts +1 -0
  115. package/dist/theme/shared.js +1 -1
  116. package/dist/variants/alert.d.ts +3 -3
  117. package/dist/variants/badge.d.ts +3 -3
  118. package/dist/variants/button.d.ts +3 -3
  119. package/dist/variants/checkbox.d.ts +3 -3
  120. package/dist/variants/kbd.d.ts +3 -3
  121. package/dist/variants/pagination.d.ts +3 -3
  122. package/dist/variants/radio-group.d.ts +3 -3
  123. package/dist/variants/separator.d.ts +3 -3
  124. package/dist/variants/switch.d.ts +3 -3
  125. package/dist/variants/tabs.d.ts +3 -3
  126. package/dist/variants/tag.d.ts +3 -3
  127. package/dist/variants/textarea.d.ts +3 -3
  128. package/dist/variants/toast.d.ts +61 -0
  129. package/dist/variants/toast.js +1 -0
  130. package/package.json +16 -15
@@ -1,5 +1,5 @@
1
1
  import { MenuRadioOptionData, MenuRadioOptionsProps } from "./types.js";
2
- import * as vue106 from "vue";
2
+ import * as vue99 from "vue";
3
3
  import { AcceptableBooleanValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/menu/menu-radio-options.vue.d.ts
@@ -7,7 +7,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
7
7
  props: __VLS_PrettifyLocal<MenuRadioOptionsProps<T, S> & {
8
8
  onSelect?: ((item: S, event: Event) => any) | undefined;
9
9
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
10
- }> & vue106.PublicProps;
10
+ }> & vue99.PublicProps;
11
11
  expose: (exposed: {}) => void;
12
12
  attrs: any;
13
13
  slots: {
@@ -17,7 +17,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
17
17
  'item-indicator-icon': (props: S) => any;
18
18
  };
19
19
  emit: ((evt: "select", item: S, event: Event) => void) & ((evt: "update:modelValue", payload: NonNullable<T>) => void);
20
- }>) => vue106.VNode & {
20
+ }>) => vue99.VNode & {
21
21
  __ctx?: Awaited<typeof __VLS_setup>;
22
22
  };
23
23
  declare const _default: typeof __VLS_export;
@@ -1,6 +1,6 @@
1
1
  import { NavigationMenuOptionData, NavigationMenuProps } from "./types.js";
2
- import * as vue30 from "vue";
3
- import * as _soybeanjs_headless2 from "@soybeanjs/headless";
2
+ import * as vue149 from "vue";
3
+ import * as _soybeanjs_headless59 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/navigation-menu/navigation-menu.vue.d.ts
6
6
  type Slots = {
@@ -25,25 +25,25 @@ type Slots = {
25
25
  }) => any;
26
26
  };
27
27
  type __VLS_Slots = Slots;
28
- declare const __VLS_base: vue30.DefineComponent<NavigationMenuProps, {}, {}, {}, {}, vue30.ComponentOptionsMixin, vue30.ComponentOptionsMixin, {
28
+ declare const __VLS_base: vue149.DefineComponent<NavigationMenuProps, {}, {}, {}, {}, vue149.ComponentOptionsMixin, vue149.ComponentOptionsMixin, {
29
29
  select: (payload: CustomEvent<{
30
30
  originalEvent: Event;
31
31
  }>) => any;
32
32
  "update:modelValue": (value: string) => any;
33
33
  escapeKeyDown: (event: KeyboardEvent) => any;
34
- pointerDownOutside: (event: _soybeanjs_headless2.PointerDownOutsideEvent) => any;
35
- focusOutside: (event: _soybeanjs_headless2.FocusOutsideEvent) => any;
36
- interactOutside: (event: _soybeanjs_headless2.PointerDownOutsideEvent | _soybeanjs_headless2.FocusOutsideEvent) => any;
37
- }, string, vue30.PublicProps, Readonly<NavigationMenuProps> & Readonly<{
34
+ pointerDownOutside: (event: _soybeanjs_headless59.PointerDownOutsideEvent) => any;
35
+ focusOutside: (event: _soybeanjs_headless59.FocusOutsideEvent) => any;
36
+ interactOutside: (event: _soybeanjs_headless59.PointerDownOutsideEvent | _soybeanjs_headless59.FocusOutsideEvent) => any;
37
+ }, string, vue149.PublicProps, Readonly<NavigationMenuProps> & Readonly<{
38
38
  onSelect?: ((payload: CustomEvent<{
39
39
  originalEvent: Event;
40
40
  }>) => any) | undefined;
41
41
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
42
42
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
43
- onPointerDownOutside?: ((event: _soybeanjs_headless2.PointerDownOutsideEvent) => any) | undefined;
44
- onFocusOutside?: ((event: _soybeanjs_headless2.FocusOutsideEvent) => any) | undefined;
45
- onInteractOutside?: ((event: _soybeanjs_headless2.PointerDownOutsideEvent | _soybeanjs_headless2.FocusOutsideEvent) => any) | undefined;
46
- }>, {}, {}, {}, {}, string, vue30.ComponentProvideOptions, false, {}, any>;
43
+ onPointerDownOutside?: ((event: _soybeanjs_headless59.PointerDownOutsideEvent) => any) | undefined;
44
+ onFocusOutside?: ((event: _soybeanjs_headless59.FocusOutsideEvent) => any) | undefined;
45
+ onInteractOutside?: ((event: _soybeanjs_headless59.PointerDownOutsideEvent | _soybeanjs_headless59.FocusOutsideEvent) => any) | undefined;
46
+ }>, {}, {}, {}, {}, string, vue149.ComponentProvideOptions, false, {}, any>;
47
47
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
48
48
  declare const _default: typeof __VLS_export;
49
49
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { NumberInputProps } from "./types.js";
2
- import * as vue108 from "vue";
2
+ import * as vue159 from "vue";
3
3
 
4
4
  //#region src/components/number-input/number-input.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_24: {}, __VLS_31: {}, __VLS_42: {};
@@ -12,11 +12,11 @@ type __VLS_Slots = {} & {
12
12
  } & {
13
13
  increment?: (props: typeof __VLS_42) => any;
14
14
  };
15
- declare const __VLS_base: vue108.DefineComponent<NumberInputProps, {}, {}, {}, {}, vue108.ComponentOptionsMixin, vue108.ComponentOptionsMixin, {
15
+ declare const __VLS_base: vue159.DefineComponent<NumberInputProps, {}, {}, {}, {}, vue159.ComponentOptionsMixin, vue159.ComponentOptionsMixin, {
16
16
  "update:modelValue": (val: number) => any;
17
- }, string, vue108.PublicProps, Readonly<NumberInputProps> & Readonly<{
17
+ }, string, vue159.PublicProps, Readonly<NumberInputProps> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((val: number) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, vue108.ComponentProvideOptions, false, {}, any>;
19
+ }>, {}, {}, {}, {}, string, vue159.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,5 +1,5 @@
1
1
  import { PaginationProps } from "./types.js";
2
- import * as vue284 from "vue";
2
+ import * as vue169 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination.vue.d.ts
5
5
  declare var __VLS_20: {}, __VLS_31: {}, __VLS_47: {}, __VLS_58: {}, __VLS_69: {};
@@ -14,13 +14,13 @@ type __VLS_Slots = {} & {
14
14
  } & {
15
15
  last?: (props: typeof __VLS_69) => any;
16
16
  };
17
- declare const __VLS_base: vue284.DefineComponent<PaginationProps, {}, {}, {}, {}, vue284.ComponentOptionsMixin, vue284.ComponentOptionsMixin, {
17
+ declare const __VLS_base: vue169.DefineComponent<PaginationProps, {}, {}, {}, {}, vue169.ComponentOptionsMixin, vue169.ComponentOptionsMixin, {
18
18
  "update:page": (value: number) => any;
19
- }, string, vue284.PublicProps, Readonly<PaginationProps> & Readonly<{
19
+ }, string, vue169.PublicProps, Readonly<PaginationProps> & Readonly<{
20
20
  "onUpdate:page"?: ((value: number) => any) | undefined;
21
21
  }>, {
22
22
  showFirstOrLast: boolean;
23
- }, {}, {}, {}, string, vue284.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue169.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 { PasswordProps } from "./types.js";
2
- import * as vue113 from "vue";
2
+ import * as vue5 from "vue";
3
3
 
4
4
  //#region src/components/password/password.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_24: {}, __VLS_26: {
@@ -13,15 +13,15 @@ type __VLS_Slots = {} & {
13
13
  } & {
14
14
  visible?: (props: typeof __VLS_26) => any;
15
15
  };
16
- declare const __VLS_base: vue113.DefineComponent<PasswordProps, {}, {}, {}, {}, vue113.ComponentOptionsMixin, vue113.ComponentOptionsMixin, {
16
+ declare const __VLS_base: vue5.DefineComponent<PasswordProps, {}, {}, {}, {}, vue5.ComponentOptionsMixin, vue5.ComponentOptionsMixin, {
17
17
  "update:modelValue": (value: string) => any;
18
18
  "update:visible": (visible: boolean) => any;
19
- }, string, vue113.PublicProps, Readonly<PasswordProps> & Readonly<{
19
+ }, string, vue5.PublicProps, Readonly<PasswordProps> & Readonly<{
20
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
21
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
22
22
  }>, {
23
23
  visible: boolean;
24
- }, {}, {}, {}, string, vue113.ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, vue5.ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
26
  declare const _default: typeof __VLS_export;
27
27
  type __VLS_WithSlots<T, S> = T & {
@@ -1,6 +1,6 @@
1
1
  import { PopoverProps } from "./types.js";
2
- import * as vue60 from "vue";
3
- import * as _soybeanjs_headless10 from "@soybeanjs/headless";
2
+ import * as vue10 from "vue";
3
+ import * as _soybeanjs_headless1 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/popover/popover.vue.d.ts
6
6
  declare var __VLS_15: {}, __VLS_27: {}, __VLS_34: {};
@@ -11,27 +11,27 @@ type __VLS_Slots = {} & {
11
11
  } & {
12
12
  close?: (props: typeof __VLS_34) => any;
13
13
  };
14
- declare const __VLS_base: vue60.DefineComponent<PopoverProps, {}, {}, {}, {}, vue60.ComponentOptionsMixin, vue60.ComponentOptionsMixin, {
14
+ declare const __VLS_base: vue10.DefineComponent<PopoverProps, {}, {}, {}, {}, vue10.ComponentOptionsMixin, vue10.ComponentOptionsMixin, {
15
15
  "update:open": (value: boolean) => any;
16
16
  escapeKeyDown: (event: KeyboardEvent) => any;
17
- pointerDownOutside: (event: _soybeanjs_headless10.PointerDownOutsideEvent) => any;
18
- focusOutside: (event: _soybeanjs_headless10.FocusOutsideEvent) => any;
19
- interactOutside: (event: _soybeanjs_headless10.PointerDownOutsideEvent | _soybeanjs_headless10.FocusOutsideEvent) => any;
17
+ pointerDownOutside: (event: _soybeanjs_headless1.PointerDownOutsideEvent) => any;
18
+ focusOutside: (event: _soybeanjs_headless1.FocusOutsideEvent) => any;
19
+ interactOutside: (event: _soybeanjs_headless1.PointerDownOutsideEvent | _soybeanjs_headless1.FocusOutsideEvent) => any;
20
20
  openAutoFocus: (event: Event) => any;
21
21
  closeAutoFocus: (event: Event) => any;
22
- }, string, vue60.PublicProps, Readonly<PopoverProps> & Readonly<{
22
+ }, string, vue10.PublicProps, Readonly<PopoverProps> & Readonly<{
23
23
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
24
24
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
25
- onPointerDownOutside?: ((event: _soybeanjs_headless10.PointerDownOutsideEvent) => any) | undefined;
26
- onFocusOutside?: ((event: _soybeanjs_headless10.FocusOutsideEvent) => any) | undefined;
27
- onInteractOutside?: ((event: _soybeanjs_headless10.PointerDownOutsideEvent | _soybeanjs_headless10.FocusOutsideEvent) => any) | undefined;
25
+ onPointerDownOutside?: ((event: _soybeanjs_headless1.PointerDownOutsideEvent) => any) | undefined;
26
+ onFocusOutside?: ((event: _soybeanjs_headless1.FocusOutsideEvent) => any) | undefined;
27
+ onInteractOutside?: ((event: _soybeanjs_headless1.PointerDownOutsideEvent | _soybeanjs_headless1.FocusOutsideEvent) => any) | undefined;
28
28
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
29
29
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
30
30
  }>, {
31
- defaultOpen: boolean;
32
- open: boolean;
33
31
  showArrow: boolean;
34
- }, {}, {}, {}, string, vue60.ComponentProvideOptions, false, {}, any>;
32
+ open: boolean;
33
+ defaultOpen: boolean;
34
+ }, {}, {}, {}, string, vue10.ComponentProvideOptions, false, {}, any>;
35
35
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
36
  declare const _default: typeof __VLS_export;
37
37
  type __VLS_WithSlots<T, S> = T & {
@@ -1,17 +1,17 @@
1
1
  import { RadioCardGroupOptionData, RadioCardGroupProps } from "./types.js";
2
- import * as vue137 from "vue";
2
+ import * as vue60 from "vue";
3
3
  import { AcceptableBooleanValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/radio-group/radio-card-group.vue.d.ts
6
6
  declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue, S extends RadioCardGroupOptionData<T> = RadioCardGroupOptionData<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<RadioCardGroupProps<T, S> & {
8
8
  "onUpdate:modelValue"?: ((payload: NonNullable<AcceptableBooleanValue>) => any) | undefined;
9
- }> & vue137.PublicProps;
9
+ }> & vue60.PublicProps;
10
10
  expose: (exposed: {}) => void;
11
11
  attrs: any;
12
12
  slots: {};
13
13
  emit: (evt: "update:modelValue", payload: NonNullable<AcceptableBooleanValue>) => void;
14
- }>) => vue137.VNode & {
14
+ }>) => vue60.VNode & {
15
15
  __ctx?: Awaited<typeof __VLS_setup>;
16
16
  };
17
17
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { RadioCardProps } from "./types.js";
2
- import * as vue132 from "vue";
2
+ import * as vue55 from "vue";
3
3
 
4
4
  //#region src/components/radio-group/radio-card.vue.d.ts
5
5
  declare var __VLS_16: {
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  description?: (props: typeof __VLS_23) => any;
12
12
  };
13
- declare const __VLS_base: vue132.DefineComponent<RadioCardProps, {}, {}, {}, {}, vue132.ComponentOptionsMixin, vue132.ComponentOptionsMixin, {}, string, vue132.PublicProps, Readonly<RadioCardProps> & Readonly<{}>, {}, {}, {}, {}, string, vue132.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue55.DefineComponent<RadioCardProps, {}, {}, {}, {}, vue55.ComponentOptionsMixin, vue55.ComponentOptionsMixin, {}, string, vue55.PublicProps, Readonly<RadioCardProps> & Readonly<{}>, {}, {}, {}, {}, 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 & {
@@ -1,17 +1,17 @@
1
1
  import { RadioGroupOptionData, RadioGroupProps } from "./types.js";
2
- import * as vue125 from "vue";
2
+ import * as vue48 from "vue";
3
3
  import { AcceptableBooleanValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/radio-group/radio-group.vue.d.ts
6
6
  declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue, S extends RadioGroupOptionData<T> = RadioGroupOptionData<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<RadioGroupProps<T, S> & {
8
8
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
9
- }> & vue125.PublicProps;
9
+ }> & vue48.PublicProps;
10
10
  expose: (exposed: {}) => void;
11
11
  attrs: any;
12
12
  slots: {};
13
13
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
14
- }>) => vue125.VNode & {
14
+ }>) => vue48.VNode & {
15
15
  __ctx?: Awaited<typeof __VLS_setup>;
16
16
  };
17
17
  declare const _default: typeof __VLS_export;
@@ -1,12 +1,12 @@
1
1
  import { RadioProps } from "./types.js";
2
- import * as vue127 from "vue";
2
+ import * as vue50 from "vue";
3
3
 
4
4
  //#region src/components/radio-group/radio.vue.d.ts
5
5
  declare var __VLS_27: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_27) => any;
8
8
  };
9
- declare const __VLS_base: vue127.DefineComponent<RadioProps, {}, {}, {}, {}, vue127.ComponentOptionsMixin, vue127.ComponentOptionsMixin, {}, string, vue127.PublicProps, Readonly<RadioProps> & Readonly<{}>, {}, {}, {}, {}, string, vue127.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue50.DefineComponent<RadioProps, {}, {}, {}, {}, vue50.ComponentOptionsMixin, vue50.ComponentOptionsMixin, {}, string, vue50.PublicProps, Readonly<RadioProps> & Readonly<{}>, {}, {}, {}, {}, string, vue50.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { SegmentOptionData, SegmentProps } from "./types.js";
2
- import * as vue289 from "vue";
2
+ import * as vue77 from "vue";
3
3
  import { AcceptableValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/segment/segment.vue.d.ts
6
6
  declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S extends SegmentOptionData<NonNullable<T>> = SegmentOptionData<NonNullable<T>>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<SegmentProps<T, S> & {
8
8
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
9
- }> & vue289.PublicProps;
9
+ }> & vue77.PublicProps;
10
10
  expose: (exposed: {}) => void;
11
11
  attrs: any;
12
12
  slots: {
@@ -15,7 +15,7 @@ declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S exte
15
15
  }) => any;
16
16
  };
17
17
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
18
- }>) => vue289.VNode & {
18
+ }>) => vue77.VNode & {
19
19
  __ctx?: Awaited<typeof __VLS_setup>;
20
20
  };
21
21
  declare const _default: typeof __VLS_export;
@@ -1,18 +1,18 @@
1
1
  import { SelectOptionData, SelectProps } from "./types.js";
2
- import * as vue65 from "vue";
3
- import * as _soybeanjs_headless18 from "@soybeanjs/headless";
2
+ import * as vue263 from "vue";
3
+ import * as _soybeanjs_headless100 from "@soybeanjs/headless";
4
4
  import { DefinedValue } from "@soybeanjs/headless";
5
5
 
6
6
  //#region src/components/select/select.vue.d.ts
7
7
  declare const __VLS_export: <T extends DefinedValue, M extends boolean = false, S extends SelectOptionData<T> = SelectOptionData<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
8
  props: __VLS_PrettifyLocal<SelectProps<T, M, S> & {
9
- onSelect?: ((event: _soybeanjs_headless18.SelectItemEvent<T>) => any) | undefined;
9
+ onSelect?: ((event: _soybeanjs_headless100.SelectItemEvent<T>) => any) | undefined;
10
10
  "onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
11
11
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
12
12
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
13
- onPointerDownOutside?: ((event: _soybeanjs_headless18.PointerDownOutsideEvent) => any) | undefined;
13
+ onPointerDownOutside?: ((event: _soybeanjs_headless100.PointerDownOutsideEvent) => any) | undefined;
14
14
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
15
- }> & vue65.PublicProps;
15
+ }> & vue263.PublicProps;
16
16
  expose: (exposed: {}) => void;
17
17
  attrs: any;
18
18
  slots: {
@@ -42,8 +42,8 @@ declare const __VLS_export: <T extends DefinedValue, M extends boolean = false,
42
42
  item: S;
43
43
  }) => any;
44
44
  };
45
- emit: ((evt: "select", event: _soybeanjs_headless18.SelectItemEvent<T>) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless18.PointerDownOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void);
46
- }>) => vue65.VNode & {
45
+ emit: ((evt: "select", event: _soybeanjs_headless100.SelectItemEvent<T>) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless100.PointerDownOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void);
46
+ }>) => vue263.VNode & {
47
47
  __ctx?: Awaited<typeof __VLS_setup>;
48
48
  };
49
49
  declare const _default: typeof __VLS_export;
@@ -1,11 +1,11 @@
1
1
  import { SeparatorProps } from "./types.js";
2
- import * as vue13 from "vue";
3
- import * as _soybeanjs_headless1 from "@soybeanjs/headless";
2
+ import * as vue302 from "vue";
3
+ import * as _soybeanjs_headless155 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/separator/separator.vue.d.ts
6
- declare const __VLS_export: vue13.DefineComponent<SeparatorProps, {}, {}, {}, {}, vue13.ComponentOptionsMixin, vue13.ComponentOptionsMixin, {}, string, vue13.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
7
- orientation: _soybeanjs_headless1.DataOrientation;
8
- }, {}, {}, {}, string, vue13.ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_export: vue302.DefineComponent<SeparatorProps, {}, {}, {}, {}, vue302.ComponentOptionsMixin, vue302.ComponentOptionsMixin, {}, string, vue302.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
7
+ orientation: _soybeanjs_headless155.DataOrientation;
8
+ }, {}, {}, {}, string, vue302.ComponentProvideOptions, false, {}, any>;
9
9
  declare const _default: typeof __VLS_export;
10
10
  //#endregion
11
11
  export { _default };
@@ -2,26 +2,26 @@ import { ThemeColor, ThemeSize } from "../../theme/types.js";
2
2
  import "../../theme/index.js";
3
3
  import { SwitchShape } from "../../variants/switch.js";
4
4
  import { SwitchProps } from "./types.js";
5
- import * as vue67 from "vue";
6
- import * as _soybeanjs_headless22 from "@soybeanjs/headless";
5
+ import * as vue276 from "vue";
6
+ import * as _soybeanjs_headless136 from "@soybeanjs/headless";
7
7
  import { AcceptableBooleanValue } from "@soybeanjs/headless";
8
8
 
9
9
  //#region src/components/switch/switch.vue.d.ts
10
10
  declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
11
11
  props: __VLS_PrettifyLocal<SwitchProps<T> & {
12
12
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
13
- }> & vue67.PublicProps;
13
+ }> & vue276.PublicProps;
14
14
  expose: (exposed: {}) => void;
15
15
  attrs: any;
16
16
  slots: {
17
17
  leading?: (props: {
18
18
  modelValue: (Readonly<{
19
- ui: Partial<_soybeanjs_headless22.SwitchUi>;
19
+ ui: Partial<_soybeanjs_headless136.SwitchUi>;
20
20
  color: ThemeColor;
21
21
  size: ThemeSize;
22
22
  shape: SwitchShape;
23
- controlProps: _soybeanjs_headless22.SwitchControlProps;
24
- thumbProps: _soybeanjs_headless22.SwitchThumbProps;
23
+ controlProps: _soybeanjs_headless136.SwitchControlProps;
24
+ thumbProps: _soybeanjs_headless136.SwitchThumbProps;
25
25
  defaultValue: NonNullable<T> | undefined;
26
26
  disabled: boolean;
27
27
  value: string;
@@ -30,7 +30,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
30
30
  manifest: string | undefined;
31
31
  innerHTML: string | undefined;
32
32
  class: any;
33
- style: vue67.StyleValue | undefined;
33
+ style: vue276.StyleValue | undefined;
34
34
  accesskey: string | undefined;
35
35
  contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
36
36
  contextmenu: string | undefined;
@@ -214,7 +214,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
214
214
  readonly modelValue: T | undefined;
215
215
  readonly trueValue: NonNullable<T> extends infer T_1 ? T_1 extends NonNullable<T> ? T_1 extends undefined ? never : T_1 : never : never;
216
216
  readonly falseValue: NonNullable<T> extends infer T_2 ? T_2 extends NonNullable<T> ? T_2 extends undefined ? never : T_2 : never : never;
217
- } & ("class" | "inlist" | "disabled" | "required" | ([T | undefined] extends [boolean | undefined] ? "modelValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "trueValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
217
+ } & ("disabled" | "class" | "inlist" | "required" | ([T | undefined] extends [boolean | undefined] ? "modelValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "trueValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
218
218
  modelValue: undefined;
219
219
  trueValue: any;
220
220
  falseValue: any;
@@ -223,12 +223,12 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
223
223
  } & {
224
224
  default?: (props: {
225
225
  modelValue: (Readonly<{
226
- ui: Partial<_soybeanjs_headless22.SwitchUi>;
226
+ ui: Partial<_soybeanjs_headless136.SwitchUi>;
227
227
  color: ThemeColor;
228
228
  size: ThemeSize;
229
229
  shape: SwitchShape;
230
- controlProps: _soybeanjs_headless22.SwitchControlProps;
231
- thumbProps: _soybeanjs_headless22.SwitchThumbProps;
230
+ controlProps: _soybeanjs_headless136.SwitchControlProps;
231
+ thumbProps: _soybeanjs_headless136.SwitchThumbProps;
232
232
  defaultValue: NonNullable<T> | undefined;
233
233
  disabled: boolean;
234
234
  value: string;
@@ -237,7 +237,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
237
237
  manifest: string | undefined;
238
238
  innerHTML: string | undefined;
239
239
  class: any;
240
- style: vue67.StyleValue | undefined;
240
+ style: vue276.StyleValue | undefined;
241
241
  accesskey: string | undefined;
242
242
  contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
243
243
  contextmenu: string | undefined;
@@ -421,7 +421,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
421
421
  readonly modelValue: T | undefined;
422
422
  readonly trueValue: NonNullable<T> extends infer T_1 ? T_1 extends NonNullable<T> ? T_1 extends undefined ? never : T_1 : never : never;
423
423
  readonly falseValue: NonNullable<T> extends infer T_2 ? T_2 extends NonNullable<T> ? T_2 extends undefined ? never : T_2 : never : never;
424
- } & ("class" | "inlist" | "disabled" | "required" | ([T | undefined] extends [boolean | undefined] ? "modelValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "trueValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
424
+ } & ("disabled" | "class" | "inlist" | "required" | ([T | undefined] extends [boolean | undefined] ? "modelValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "trueValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
425
425
  modelValue: undefined;
426
426
  trueValue: any;
427
427
  falseValue: any;
@@ -430,12 +430,12 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
430
430
  } & {
431
431
  trailing?: (props: {
432
432
  modelValue: (Readonly<{
433
- ui: Partial<_soybeanjs_headless22.SwitchUi>;
433
+ ui: Partial<_soybeanjs_headless136.SwitchUi>;
434
434
  color: ThemeColor;
435
435
  size: ThemeSize;
436
436
  shape: SwitchShape;
437
- controlProps: _soybeanjs_headless22.SwitchControlProps;
438
- thumbProps: _soybeanjs_headless22.SwitchThumbProps;
437
+ controlProps: _soybeanjs_headless136.SwitchControlProps;
438
+ thumbProps: _soybeanjs_headless136.SwitchThumbProps;
439
439
  defaultValue: NonNullable<T> | undefined;
440
440
  disabled: boolean;
441
441
  value: string;
@@ -444,7 +444,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
444
444
  manifest: string | undefined;
445
445
  innerHTML: string | undefined;
446
446
  class: any;
447
- style: vue67.StyleValue | undefined;
447
+ style: vue276.StyleValue | undefined;
448
448
  accesskey: string | undefined;
449
449
  contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
450
450
  contextmenu: string | undefined;
@@ -628,7 +628,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
628
628
  readonly modelValue: T | undefined;
629
629
  readonly trueValue: NonNullable<T> extends infer T_1 ? T_1 extends NonNullable<T> ? T_1 extends undefined ? never : T_1 : never : never;
630
630
  readonly falseValue: NonNullable<T> extends infer T_2 ? T_2 extends NonNullable<T> ? T_2 extends undefined ? never : T_2 : never : never;
631
- } & ("class" | "inlist" | "disabled" | "required" | ([T | undefined] extends [boolean | undefined] ? "modelValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "trueValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
631
+ } & ("disabled" | "class" | "inlist" | "required" | ([T | undefined] extends [boolean | undefined] ? "modelValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "trueValue" : never) | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "falseValue" : never) extends infer T_3 extends keyof T_4 ? { readonly [K in T_3]-?: K extends "modelValue" | "trueValue" | "falseValue" ? {
632
632
  modelValue: undefined;
633
633
  trueValue: any;
634
634
  falseValue: any;
@@ -636,7 +636,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_p
636
636
  }) => any;
637
637
  };
638
638
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
639
- }>) => vue67.VNode & {
639
+ }>) => vue276.VNode & {
640
640
  __ctx?: Awaited<typeof __VLS_setup>;
641
641
  };
642
642
  declare const _default: typeof __VLS_export;
@@ -1,12 +1,12 @@
1
1
  import { TabsOptionData, TabsProps } from "./types.js";
2
- import * as vue72 from "vue";
2
+ import * as vue281 from "vue";
3
3
  import { AcceptableValue } from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/tabs/tabs.vue.d.ts
6
6
  declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S extends TabsOptionData<NonNullable<T>> = TabsOptionData<NonNullable<T>>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<TabsProps<T, S> & {
8
8
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
9
- }> & vue72.PublicProps;
9
+ }> & vue281.PublicProps;
10
10
  expose: (exposed: {}) => void;
11
11
  attrs: any;
12
12
  slots: {
@@ -19,7 +19,7 @@ declare const __VLS_export: <T extends AcceptableValue = AcceptableValue, S exte
19
19
  }) => any;
20
20
  };
21
21
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
22
- }>) => vue72.VNode & {
22
+ }>) => vue281.VNode & {
23
23
  __ctx?: Awaited<typeof __VLS_setup>;
24
24
  };
25
25
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { TagProps } from "./types.js";
2
- import * as vue139 from "vue";
2
+ import * as vue297 from "vue";
3
3
 
4
4
  //#region src/components/tag/tag.vue.d.ts
5
5
  declare var __VLS_10: {}, __VLS_12: {}, __VLS_14: {}, __VLS_16: {
@@ -14,13 +14,13 @@ type __VLS_Slots = {} & {
14
14
  } & {
15
15
  close?: (props: typeof __VLS_16) => any;
16
16
  };
17
- declare const __VLS_base: vue139.DefineComponent<TagProps, {}, {}, {}, {}, vue139.ComponentOptionsMixin, vue139.ComponentOptionsMixin, {
17
+ declare const __VLS_base: vue297.DefineComponent<TagProps, {}, {}, {}, {}, vue297.ComponentOptionsMixin, vue297.ComponentOptionsMixin, {
18
18
  "update:open": (open: boolean) => any;
19
- }, string, vue139.PublicProps, Readonly<TagProps> & Readonly<{
19
+ }, string, vue297.PublicProps, Readonly<TagProps> & Readonly<{
20
20
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
21
21
  }>, {
22
22
  open: boolean;
23
- }, {}, {}, {}, string, vue139.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue297.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 { TextareaProps } from "./types.js";
2
- import * as vue35 from "vue";
2
+ import * as vue235 from "vue";
3
3
 
4
4
  //#region src/components/textarea/textarea.vue.d.ts
5
5
  declare var __VLS_27: {
@@ -11,11 +11,11 @@ type __VLS_Slots = {} & {
11
11
  } & {
12
12
  footer?: (props: typeof __VLS_29) => any;
13
13
  };
14
- declare const __VLS_base: vue35.DefineComponent<TextareaProps, {}, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {
14
+ declare const __VLS_base: vue235.DefineComponent<TextareaProps, {}, {}, {}, {}, vue235.ComponentOptionsMixin, vue235.ComponentOptionsMixin, {
15
15
  "update:modelValue": (value: string) => any;
16
- }, string, vue35.PublicProps, Readonly<TextareaProps> & Readonly<{
16
+ }, string, vue235.PublicProps, Readonly<TextareaProps> & Readonly<{
17
17
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, vue35.ComponentProvideOptions, false, {}, any>;
18
+ }>, {}, {}, {}, {}, string, vue235.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 & {
@@ -0,0 +1,8 @@
1
+ import { UseToastReturn } from "./types.js";
2
+ import "vue";
3
+
4
+ //#region src/components/toast/context.d.ts
5
+
6
+ declare const useToast: () => UseToastReturn;
7
+ //#endregion
8
+ export { useToast };
@@ -0,0 +1 @@
1
+ import{mergeUi as e}from"../../theme/shared.js";import{toastTypes as t}from"./shared.js";import{computed as n,nextTick as r,shallowRef as i,watch as a}from"vue";import{useContext as o}from"@soybeanjs/headless/composables";import{useDebounceFn as s}from"@vueuse/core";const[c,l]=o(`UiToastProvider`,o=>{let{size:c,ui:l,limits:u,removeDelay:d}=o,f=i(o.position.value),p=i([]),m=n(()=>p.value.map(e=>e.id)),h=i([]),g=s(()=>{h.value=p.value},d.value);a(p,(e,t)=>{e.length>=t.length?h.value=p.value:g()});let _=e=>{p.value=[e,...p.value].slice(0,u.value)},v=e=>{p.value=p.value.filter(t=>t.id!==e)},y=()=>{p.value=[]},b=0,x=t=>{let{showIcon:n=!0,size:r=c.value,ui:i,...a}=t,o=b;return b++,{id:o,size:r,showIcon:n,ui:e(l.value,i??{}),...a}},S=e=>{let t=x(e),n=e.position??o.position.value;f.value!==n&&(f.value=n,y()),r(()=>{_(t)})},C=S;C.clear=y;for(let e of t)C[e]=t=>S({type:e,...t});return{useToast:C,clear:y,ids:m,states:n(()=>h.value),remove:v,position:f}}),u=()=>{let{useToast:e}=l(`UiToastConsumer`);return e};export{c as provideToastProviderContext,u as useToast};
@@ -0,0 +1,5 @@
1
+ import { ToastColor, ToastProps, UseToastOptions } from "./types.js";
2
+ import { _default } from "./toast.vue.js";
3
+ import { useToast } from "./context.js";
4
+ import { ToastAction as SToastAction, ToastClose as SToastClose } from "@soybeanjs/headless/toast";
5
+ export { SToastAction, SToastClose };
@@ -0,0 +1 @@
1
+ import{useToast as e}from"./context.js";import t from"./toast.js";import{ToastAction as n,ToastClose as r}from"@soybeanjs/headless/toast";export{n as SToastAction,r as SToastClose};
@@ -0,0 +1 @@
1
+ const e=[`destructive`,`success`,`warning`,`info`];export{e as toastTypes};
@@ -0,0 +1 @@
1
+ import{cn as e}from"../../theme/merge.js";import{toastViewportVariants as t}from"../../variants/toast.js";import{provideToastProviderContext as n}from"./context.js";import r from"./toast.js";import{Fragment as i,computed as a,createBlock as o,createCommentVNode as s,createElementBlock as c,createSlots as l,createTextVNode as u,createVNode as d,defineComponent as f,guardReactiveProps as p,mergeProps as m,normalizeProps as h,onBeforeUnmount as g,openBlock as _,renderList as v,renderSlot as y,resolveDynamicComponent as b,toDisplayString as x,unref as S,withCtx as C}from"vue";import{useOmitProps as w}from"@soybeanjs/headless/composables";import{ToastProvider as T,ToastViewport as E,provideToastViewportThemeContext as D}from"@soybeanjs/headless";import{transformPropsToContext as O}from"@soybeanjs/headless/shared";var k=f({name:`SToast`,__name:`toast-provider`,props:{size:{default:`md`},ui:{default:()=>({})},limits:{default:3},removeDelay:{default:5e3},position:{default:`top-right`},viewportProps:{},label:{},duration:{},swipeDirection:{},swipeThreshold:{}},setup(f){let k=f,A=w(k,[`size`,`ui`,`limits`,`removeDelay`,`position`,`viewportProps`]),{states:j,ids:M,clear:N,remove:P,position:F}=n(O(k,[`size`,`ui`,`limits`,`removeDelay`,`position`]));return D(a(()=>e(t({size:k.size,position:F.value}),k.ui?.viewport))),g(()=>{N()}),(e,t)=>(_(),o(S(T),h(p(S(A))),{default:C(()=>[d(S(E),h(p(f.viewportProps)),null,16),(_(!0),c(i,null,v(S(j),({id:e,title:t,description:n,content:a,...d})=>(_(),o(r,m({key:e},{ref_for:!0},d,{open:S(M).includes(e),"onUpdate:open":t=>S(P)(e)}),l({default:C(()=>[a?(_(),o(b(a),{key:0})):s(`v-if`,!0)]),_:2},[t?{name:`title`,fn:C(()=>[typeof t==`string`?(_(),c(i,{key:0},[u(x(t),1)],64)):(_(),o(b(t),{key:1}))]),key:`0`}:void 0,n?{name:`description`,fn:C(()=>[typeof n==`string`?(_(),c(i,{key:0},[u(x(n),1)],64)):(_(),o(b(n),{key:1}))]),key:`1`}:void 0]),1040,[`open`,`onUpdate:open`]))),128)),y(e.$slots,`default`)]),_:3},16))}});export{k as default};
@@ -0,0 +1 @@
1
+ import{mergeSlotVariants as e}from"../../theme/shared.js";import{toastVariants as t}from"../../variants/toast.js";import n from"../button/button-icon.js";import r from"../icon/icon.js";import{computed as i,createBlock as a,createCommentVNode as o,createVNode as s,defineComponent as c,guardReactiveProps as l,mergeProps as u,normalizeClass as d,normalizeProps as f,openBlock as p,renderSlot as m,toHandlers as h,unref as g,withCtx as _}from"vue";import{useForwardListeners as v,useOmitProps as y}from"@soybeanjs/headless/composables";import{ToastClose as b,ToastDescription as x,ToastRoot as S,ToastTitle as C,provideToastThemeContext as w}from"@soybeanjs/headless";var T=c({name:`SToast`,__name:`toast`,props:{size:{},ui:{},type:{},color:{},position:{},showIcon:{type:Boolean,default:!0},titleProps:{},descriptionProps:{},liveType:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},duration:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`,`update:open`],setup(c,{emit:T}){let E=c,D=T,O=y(E,[`size`,`ui`,`color`,`titleProps`,`descriptionProps`]),k=v(D),A=i(()=>e(t({color:E.color,size:E.size}),E.ui)),j={destructive:{icon:`lucide:circle-x`,class:`text-destructive`},success:{icon:`lucide:circle-check`,class:`text-success`},warning:{icon:`lucide:circle-alert`,class:`text-warning`},info:{icon:`lucide:info`,class:`text-info`}},M=i(()=>E.type?j[E.type]:null);return w({ui:A}),(e,t)=>(p(),a(g(S),u(g(O),h(g(k))),{default:_(()=>[s(g(C),f(l(c.titleProps)),{default:_(()=>[c.showIcon&&M.value?(p(),a(r,{key:0,icon:M.value.icon,class:d(M.value.class)},null,8,[`icon`,`class`])):o(`v-if`,!0),m(e.$slots,`title`)]),_:3},16),s(g(x),f(l(c.descriptionProps)),{default:_(()=>[m(e.$slots,`description`)]),_:3},16),s(g(b),{"as-child":``},{default:_(()=>[m(e.$slots,`close`,{},()=>[s(n,{size:c.size,icon:`lucide:x`},null,8,[`size`])])]),_:3}),m(e.$slots,`default`)]),_:3},16))}});export{T as default};
@@ -0,0 +1,21 @@
1
+ //#region src/components/toast/toast.vue.d.ts
2
+ declare var __VLS_16: {}, __VLS_23: {}, __VLS_30: {}, __VLS_36: {};
3
+ type __VLS_Slots = {} & {
4
+ title?: (props: typeof __VLS_16) => any;
5
+ } & {
6
+ description?: (props: typeof __VLS_23) => any;
7
+ } & {
8
+ close?: (props: typeof __VLS_30) => any;
9
+ } & {
10
+ default?: (props: typeof __VLS_36) => any;
11
+ };
12
+ declare const __VLS_base: any;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
20
+ //#endregion
21
+ export { _default };