@soybeanjs/ui 0.0.2-beta.12 → 0.0.2-beta.14

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 (126) 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 +4 -4
  19. package/dist/components/button/button-link.vue.d.ts +5 -5
  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.vue.d.ts +4 -4
  23. package/dist/components/card/card.vue.d.ts +3 -3
  24. package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
  25. package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
  26. package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
  27. package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
  28. package/dist/components/collapsible/collapsible.vue.d.ts +6 -6
  29. package/dist/components/command/command.vue.d.ts +7 -7
  30. package/dist/components/config-provider/config-provider.js +1 -1
  31. package/dist/components/config-provider/config-provider.vue.d.ts +8 -8
  32. package/dist/components/config-provider/context.js +1 -1
  33. package/dist/components/config-provider/types.d.ts +2 -0
  34. package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +10 -10
  35. package/dist/components/context-menu/context-menu-radio.vue.d.ts +10 -10
  36. package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +15 -15
  37. package/dist/components/context-menu/context-menu.vue.d.ts +10 -10
  38. package/dist/components/dialog/context.d.ts +8 -0
  39. package/dist/components/dialog/context.js +1 -0
  40. package/dist/components/dialog/dialog-close.js +1 -1
  41. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  42. package/dist/components/dialog/dialog-provider.js +1 -0
  43. package/dist/components/dialog/dialog-pure.js +1 -1
  44. package/dist/components/dialog/dialog-pure.vue.d.ts +15 -15
  45. package/dist/components/dialog/dialog.js +1 -1
  46. package/dist/components/dialog/dialog.vue.d.ts +15 -15
  47. package/dist/components/dialog/index.d.ts +2 -1
  48. package/dist/components/dialog/types.d.ts +26 -3
  49. package/dist/components/drawer/drawer-close.js +1 -1
  50. package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
  51. package/dist/components/drawer/drawer.js +1 -1
  52. package/dist/components/drawer/drawer.vue.d.ts +16 -16
  53. package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +10 -10
  54. package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +10 -10
  55. package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +15 -15
  56. package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +10 -10
  57. package/dist/components/form/form-field-array.vue.d.ts +2 -2
  58. package/dist/components/form/form-field.vue.d.ts +2 -2
  59. package/dist/components/form/form.vue.d.ts +2 -2
  60. package/dist/components/icon/icon.vue.d.ts +3 -3
  61. package/dist/components/input/input.vue.d.ts +4 -4
  62. package/dist/components/kbd/kbd.vue.d.ts +3 -3
  63. package/dist/components/label/label.vue.d.ts +2 -2
  64. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  65. package/dist/components/layout/layout.vue.d.ts +4 -4
  66. package/dist/components/link/link.vue.d.ts +4 -4
  67. package/dist/components/list/list-item.vue.d.ts +2 -2
  68. package/dist/components/list/list.vue.d.ts +2 -2
  69. package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
  70. package/dist/components/menu/menu-option.vue.d.ts +10 -10
  71. package/dist/components/menu/menu-options.vue.d.ts +10 -10
  72. package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
  73. package/dist/components/navigation-menu/navigation-menu.vue.d.ts +11 -11
  74. package/dist/components/number-input/number-input.vue.d.ts +4 -4
  75. package/dist/components/pagination/pagination.vue.d.ts +4 -4
  76. package/dist/components/password/password.vue.d.ts +4 -4
  77. package/dist/components/popover/popover.vue.d.ts +15 -15
  78. package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
  79. package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
  80. package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
  81. package/dist/components/radio-group/radio.vue.d.ts +2 -2
  82. package/dist/components/segment/segment.vue.d.ts +3 -3
  83. package/dist/components/select/select.vue.d.ts +8 -8
  84. package/dist/components/separator/separator.vue.d.ts +5 -5
  85. package/dist/components/switch/switch.vue.d.ts +19 -19
  86. package/dist/components/tabs/tabs.vue.d.ts +3 -3
  87. package/dist/components/tag/tag.vue.d.ts +4 -4
  88. package/dist/components/textarea/textarea.vue.d.ts +4 -4
  89. package/dist/components/toast/context.d.ts +8 -0
  90. package/dist/components/toast/context.js +1 -0
  91. package/dist/components/toast/index.d.ts +5 -0
  92. package/dist/components/toast/index.js +1 -0
  93. package/dist/components/toast/shared.js +1 -0
  94. package/dist/components/toast/toast-provider.js +1 -0
  95. package/dist/components/toast/toast.js +1 -0
  96. package/dist/components/toast/toast.vue.d.ts +21 -0
  97. package/dist/components/toast/types.d.ts +60 -0
  98. package/dist/components/tooltip/tooltip.vue.d.ts +9 -9
  99. package/dist/components/tree/tree-virtualizer.vue.d.ts +5 -5
  100. package/dist/components/tree/tree.vue.d.ts +5 -5
  101. package/dist/components/tree-menu/tree-menu-item-wrapper.vue.d.ts +2 -2
  102. package/dist/components/tree-menu/tree-menu-item.js +1 -1
  103. package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
  104. package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
  105. package/dist/constants/components.d.ts +1 -0
  106. package/dist/constants/components.js +1 -1
  107. package/dist/index.d.ts +13 -8
  108. package/dist/index.js +1 -1
  109. package/dist/styles.css +1 -14
  110. package/dist/theme/index.d.ts +1 -0
  111. package/dist/theme/shared.d.ts +1 -0
  112. package/dist/theme/shared.js +1 -1
  113. package/dist/variants/alert.d.ts +3 -3
  114. package/dist/variants/badge.d.ts +3 -3
  115. package/dist/variants/button.d.ts +3 -3
  116. package/dist/variants/checkbox.d.ts +3 -3
  117. package/dist/variants/kbd.d.ts +3 -3
  118. package/dist/variants/radio-group.d.ts +3 -3
  119. package/dist/variants/separator.d.ts +3 -3
  120. package/dist/variants/switch.d.ts +3 -3
  121. package/dist/variants/tabs.d.ts +3 -3
  122. package/dist/variants/tag.d.ts +3 -3
  123. package/dist/variants/textarea.d.ts +3 -3
  124. package/dist/variants/toast.d.ts +61 -0
  125. package/dist/variants/toast.js +1 -0
  126. package/package.json +14 -13
@@ -1,5 +1,5 @@
1
1
  import { MenuRadioOptionData, MenuRadioOptionsProps } from "./types.js";
2
- import * as vue237 from "vue";
2
+ import * as vue198 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
- }> & vue237.PublicProps;
10
+ }> & vue198.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
- }>) => vue237.VNode & {
20
+ }>) => vue198.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 vue63 from "vue";
3
- import * as _soybeanjs_headless22 from "@soybeanjs/headless";
2
+ import * as vue109 from "vue";
3
+ import * as _soybeanjs_headless56 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: vue63.DefineComponent<NavigationMenuProps, {}, {}, {}, {}, vue63.ComponentOptionsMixin, vue63.ComponentOptionsMixin, {
28
+ declare const __VLS_base: vue109.DefineComponent<NavigationMenuProps, {}, {}, {}, {}, vue109.ComponentOptionsMixin, vue109.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_headless22.PointerDownOutsideEvent) => any;
35
- focusOutside: (event: _soybeanjs_headless22.FocusOutsideEvent) => any;
36
- interactOutside: (event: _soybeanjs_headless22.PointerDownOutsideEvent | _soybeanjs_headless22.FocusOutsideEvent) => any;
37
- }, string, vue63.PublicProps, Readonly<NavigationMenuProps> & Readonly<{
34
+ pointerDownOutside: (event: _soybeanjs_headless56.PointerDownOutsideEvent) => any;
35
+ focusOutside: (event: _soybeanjs_headless56.FocusOutsideEvent) => any;
36
+ interactOutside: (event: _soybeanjs_headless56.PointerDownOutsideEvent | _soybeanjs_headless56.FocusOutsideEvent) => any;
37
+ }, string, vue109.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_headless22.PointerDownOutsideEvent) => any) | undefined;
44
- onFocusOutside?: ((event: _soybeanjs_headless22.FocusOutsideEvent) => any) | undefined;
45
- onInteractOutside?: ((event: _soybeanjs_headless22.PointerDownOutsideEvent | _soybeanjs_headless22.FocusOutsideEvent) => any) | undefined;
46
- }>, {}, {}, {}, {}, string, vue63.ComponentProvideOptions, false, {}, any>;
43
+ onPointerDownOutside?: ((event: _soybeanjs_headless56.PointerDownOutsideEvent) => any) | undefined;
44
+ onFocusOutside?: ((event: _soybeanjs_headless56.FocusOutsideEvent) => any) | undefined;
45
+ onInteractOutside?: ((event: _soybeanjs_headless56.PointerDownOutsideEvent | _soybeanjs_headless56.FocusOutsideEvent) => any) | undefined;
46
+ }>, {}, {}, {}, {}, string, vue109.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 vue250 from "vue";
2
+ import * as vue4 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: vue250.DefineComponent<NumberInputProps, {}, {}, {}, {}, vue250.ComponentOptionsMixin, vue250.ComponentOptionsMixin, {
15
+ declare const __VLS_base: vue4.DefineComponent<NumberInputProps, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {
16
16
  "update:modelValue": (val: number) => any;
17
- }, string, vue250.PublicProps, Readonly<NumberInputProps> & Readonly<{
17
+ }, string, vue4.PublicProps, Readonly<NumberInputProps> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((val: number) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, vue250.ComponentProvideOptions, false, {}, any>;
19
+ }>, {}, {}, {}, {}, string, vue4.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 vue73 from "vue";
2
+ import * as vue119 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: vue73.DefineComponent<PaginationProps, {}, {}, {}, {}, vue73.ComponentOptionsMixin, vue73.ComponentOptionsMixin, {
17
+ declare const __VLS_base: vue119.DefineComponent<PaginationProps, {}, {}, {}, {}, vue119.ComponentOptionsMixin, vue119.ComponentOptionsMixin, {
18
18
  "update:page": (value: number) => any;
19
- }, string, vue73.PublicProps, Readonly<PaginationProps> & Readonly<{
19
+ }, string, vue119.PublicProps, Readonly<PaginationProps> & Readonly<{
20
20
  "onUpdate:page"?: ((value: number) => any) | undefined;
21
21
  }>, {
22
22
  showFirstOrLast: boolean;
23
- }, {}, {}, {}, string, vue73.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue119.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 vue78 from "vue";
2
+ import * as vue114 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: vue78.DefineComponent<PasswordProps, {}, {}, {}, {}, vue78.ComponentOptionsMixin, vue78.ComponentOptionsMixin, {
16
+ declare const __VLS_base: vue114.DefineComponent<PasswordProps, {}, {}, {}, {}, vue114.ComponentOptionsMixin, vue114.ComponentOptionsMixin, {
17
17
  "update:modelValue": (value: string) => any;
18
18
  "update:visible": (visible: boolean) => any;
19
- }, string, vue78.PublicProps, Readonly<PasswordProps> & Readonly<{
19
+ }, string, vue114.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, vue78.ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, vue114.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 vue53 from "vue";
3
- import * as _soybeanjs_headless14 from "@soybeanjs/headless";
2
+ import * as vue200 from "vue";
3
+ import * as _soybeanjs_headless138 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: vue53.DefineComponent<PopoverProps, {}, {}, {}, {}, vue53.ComponentOptionsMixin, vue53.ComponentOptionsMixin, {
14
+ declare const __VLS_base: vue200.DefineComponent<PopoverProps, {}, {}, {}, {}, vue200.ComponentOptionsMixin, vue200.ComponentOptionsMixin, {
15
15
  "update:open": (value: boolean) => any;
16
+ closeAutoFocus: (event: Event) => any;
16
17
  escapeKeyDown: (event: KeyboardEvent) => any;
17
- pointerDownOutside: (event: _soybeanjs_headless14.PointerDownOutsideEvent) => any;
18
- focusOutside: (event: _soybeanjs_headless14.FocusOutsideEvent) => any;
19
- interactOutside: (event: _soybeanjs_headless14.PointerDownOutsideEvent | _soybeanjs_headless14.FocusOutsideEvent) => any;
18
+ pointerDownOutside: (event: _soybeanjs_headless138.PointerDownOutsideEvent) => any;
19
+ focusOutside: (event: _soybeanjs_headless138.FocusOutsideEvent) => any;
20
+ interactOutside: (event: _soybeanjs_headless138.PointerDownOutsideEvent | _soybeanjs_headless138.FocusOutsideEvent) => any;
20
21
  openAutoFocus: (event: Event) => any;
21
- closeAutoFocus: (event: Event) => any;
22
- }, string, vue53.PublicProps, Readonly<PopoverProps> & Readonly<{
22
+ }, string, vue200.PublicProps, Readonly<PopoverProps> & Readonly<{
23
23
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
24
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
24
25
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
25
- onPointerDownOutside?: ((event: _soybeanjs_headless14.PointerDownOutsideEvent) => any) | undefined;
26
- onFocusOutside?: ((event: _soybeanjs_headless14.FocusOutsideEvent) => any) | undefined;
27
- onInteractOutside?: ((event: _soybeanjs_headless14.PointerDownOutsideEvent | _soybeanjs_headless14.FocusOutsideEvent) => any) | undefined;
26
+ onPointerDownOutside?: ((event: _soybeanjs_headless138.PointerDownOutsideEvent) => any) | undefined;
27
+ onFocusOutside?: ((event: _soybeanjs_headless138.FocusOutsideEvent) => any) | undefined;
28
+ onInteractOutside?: ((event: _soybeanjs_headless138.PointerDownOutsideEvent | _soybeanjs_headless138.FocusOutsideEvent) => any) | undefined;
28
29
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
29
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
30
30
  }>, {
31
- defaultOpen: boolean;
32
- open: boolean;
33
31
  showArrow: boolean;
34
- }, {}, {}, {}, string, vue53.ComponentProvideOptions, false, {}, any>;
32
+ open: boolean;
33
+ defaultOpen: boolean;
34
+ }, {}, {}, {}, string, vue200.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 vue186 from "vue";
2
+ import * as vue297 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
- }> & vue186.PublicProps;
9
+ }> & vue297.PublicProps;
10
10
  expose: (exposed: {}) => void;
11
11
  attrs: any;
12
12
  slots: {};
13
13
  emit: (evt: "update:modelValue", payload: NonNullable<AcceptableBooleanValue>) => void;
14
- }>) => vue186.VNode & {
14
+ }>) => vue297.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 vue181 from "vue";
2
+ import * as vue292 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: vue181.DefineComponent<RadioCardProps, {}, {}, {}, {}, vue181.ComponentOptionsMixin, vue181.ComponentOptionsMixin, {}, string, vue181.PublicProps, Readonly<RadioCardProps> & Readonly<{}>, {}, {}, {}, {}, string, vue181.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue292.DefineComponent<RadioCardProps, {}, {}, {}, {}, vue292.ComponentOptionsMixin, vue292.ComponentOptionsMixin, {}, string, vue292.PublicProps, Readonly<RadioCardProps> & Readonly<{}>, {}, {}, {}, {}, string, vue292.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 vue174 from "vue";
2
+ import * as vue285 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
- }> & vue174.PublicProps;
9
+ }> & vue285.PublicProps;
10
10
  expose: (exposed: {}) => void;
11
11
  attrs: any;
12
12
  slots: {};
13
13
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
14
- }>) => vue174.VNode & {
14
+ }>) => vue285.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 vue176 from "vue";
2
+ import * as vue287 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: vue176.DefineComponent<RadioProps, {}, {}, {}, {}, vue176.ComponentOptionsMixin, vue176.ComponentOptionsMixin, {}, string, vue176.PublicProps, Readonly<RadioProps> & Readonly<{}>, {}, {}, {}, {}, string, vue176.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue287.DefineComponent<RadioProps, {}, {}, {}, {}, vue287.ComponentOptionsMixin, vue287.ComponentOptionsMixin, {}, string, vue287.PublicProps, Readonly<RadioProps> & Readonly<{}>, {}, {}, {}, {}, string, vue287.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 vue0 from "vue";
2
+ import * as vue124 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
- }> & vue0.PublicProps;
9
+ }> & vue124.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
- }>) => vue0.VNode & {
18
+ }>) => vue124.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 vue98 from "vue";
3
- import * as _soybeanjs_headless30 from "@soybeanjs/headless";
2
+ import * as vue9 from "vue";
3
+ import * as _soybeanjs_headless0 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_headless30.SelectItemEvent<T>) => any) | undefined;
9
+ onSelect?: ((event: _soybeanjs_headless0.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
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
13
- onPointerDownOutside?: ((event: _soybeanjs_headless30.PointerDownOutsideEvent) => any) | undefined;
14
12
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
15
- }> & vue98.PublicProps;
13
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
14
+ onPointerDownOutside?: ((event: _soybeanjs_headless0.PointerDownOutsideEvent) => any) | undefined;
15
+ }> & vue9.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_headless30.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_headless30.PointerDownOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void);
46
- }>) => vue98.VNode & {
45
+ emit: ((evt: "select", event: _soybeanjs_headless0.SelectItemEvent<T>) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: _soybeanjs_headless0.PointerDownOutsideEvent) => void);
46
+ }>) => vue9.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 vue100 from "vue";
3
- import * as _soybeanjs_headless34 from "@soybeanjs/headless";
2
+ import * as vue126 from "vue";
3
+ import * as _soybeanjs_headless64 from "@soybeanjs/headless";
4
4
 
5
5
  //#region src/components/separator/separator.vue.d.ts
6
- declare const __VLS_export: vue100.DefineComponent<SeparatorProps, {}, {}, {}, {}, vue100.ComponentOptionsMixin, vue100.ComponentOptionsMixin, {}, string, vue100.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
7
- orientation: _soybeanjs_headless34.DataOrientation;
8
- }, {}, {}, {}, string, vue100.ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_export: vue126.DefineComponent<SeparatorProps, {}, {}, {}, {}, vue126.ComponentOptionsMixin, vue126.ComponentOptionsMixin, {}, string, vue126.PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
7
+ orientation: _soybeanjs_headless64.DataOrientation;
8
+ }, {}, {}, {}, string, vue126.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 vue43 from "vue";
6
- import * as _soybeanjs_headless5 from "@soybeanjs/headless";
5
+ import * as vue143 from "vue";
6
+ import * as _soybeanjs_headless65 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
- }> & vue43.PublicProps;
13
+ }> & vue143.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_headless5.SwitchUi>;
19
+ ui: Partial<_soybeanjs_headless65.SwitchUi>;
20
20
  color: ThemeColor;
21
21
  size: ThemeSize;
22
22
  shape: SwitchShape;
23
- controlProps: _soybeanjs_headless5.SwitchControlProps;
24
- thumbProps: _soybeanjs_headless5.SwitchThumbProps;
23
+ controlProps: _soybeanjs_headless65.SwitchControlProps;
24
+ thumbProps: _soybeanjs_headless65.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: vue43.StyleValue | undefined;
33
+ style: vue143.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" | "required" | "class" | "inlist" | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([T | undefined] extends [boolean | undefined] ? "modelValue" : 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_headless5.SwitchUi>;
226
+ ui: Partial<_soybeanjs_headless65.SwitchUi>;
227
227
  color: ThemeColor;
228
228
  size: ThemeSize;
229
229
  shape: SwitchShape;
230
- controlProps: _soybeanjs_headless5.SwitchControlProps;
231
- thumbProps: _soybeanjs_headless5.SwitchThumbProps;
230
+ controlProps: _soybeanjs_headless65.SwitchControlProps;
231
+ thumbProps: _soybeanjs_headless65.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: vue43.StyleValue | undefined;
240
+ style: vue143.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" | "required" | "class" | "inlist" | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([T | undefined] extends [boolean | undefined] ? "modelValue" : 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_headless5.SwitchUi>;
433
+ ui: Partial<_soybeanjs_headless65.SwitchUi>;
434
434
  color: ThemeColor;
435
435
  size: ThemeSize;
436
436
  shape: SwitchShape;
437
- controlProps: _soybeanjs_headless5.SwitchControlProps;
438
- thumbProps: _soybeanjs_headless5.SwitchThumbProps;
437
+ controlProps: _soybeanjs_headless65.SwitchControlProps;
438
+ thumbProps: _soybeanjs_headless65.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: vue43.StyleValue | undefined;
447
+ style: vue143.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" | "required" | "class" | "inlist" | ([NonNullable<T> | undefined] extends [boolean | undefined] ? "defaultValue" : never) | ([T | undefined] extends [boolean | undefined] ? "modelValue" : 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
- }>) => vue43.VNode & {
639
+ }>) => vue143.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 vue105 from "vue";
2
+ import * as vue205 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
- }> & vue105.PublicProps;
9
+ }> & vue205.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
- }>) => vue105.VNode & {
22
+ }>) => vue205.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 vue112 from "vue";
2
+ import * as vue207 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: vue112.DefineComponent<TagProps, {}, {}, {}, {}, vue112.ComponentOptionsMixin, vue112.ComponentOptionsMixin, {
17
+ declare const __VLS_base: vue207.DefineComponent<TagProps, {}, {}, {}, {}, vue207.ComponentOptionsMixin, vue207.ComponentOptionsMixin, {
18
18
  "update:open": (open: boolean) => any;
19
- }, string, vue112.PublicProps, Readonly<TagProps> & Readonly<{
19
+ }, string, vue207.PublicProps, Readonly<TagProps> & Readonly<{
20
20
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
21
21
  }>, {
22
22
  open: boolean;
23
- }, {}, {}, {}, string, vue112.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue207.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 vue48 from "vue";
2
+ import * as vue299 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: vue48.DefineComponent<TextareaProps, {}, {}, {}, {}, vue48.ComponentOptionsMixin, vue48.ComponentOptionsMixin, {
14
+ declare const __VLS_base: vue299.DefineComponent<TextareaProps, {}, {}, {}, {}, vue299.ComponentOptionsMixin, vue299.ComponentOptionsMixin, {
15
15
  "update:modelValue": (value: string) => any;
16
- }, string, vue48.PublicProps, Readonly<TextareaProps> & Readonly<{
16
+ }, string, vue299.PublicProps, Readonly<TextareaProps> & Readonly<{
17
17
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, vue48.ComponentProvideOptions, false, {}, any>;
18
+ }>, {}, {}, {}, {}, string, vue299.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};