@byyuurin/ui 0.0.10 → 0.0.11

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 (194) hide show
  1. package/README.md +2 -2
  2. package/dist/module.json +3 -3
  3. package/dist/module.mjs +1 -1
  4. package/dist/module.mjs.map +1 -1
  5. package/dist/runtime/app/injections.d.ts +388 -364
  6. package/dist/runtime/components/Accordion.vue +38 -67
  7. package/dist/runtime/components/Accordion.vue.d.ts +52 -0
  8. package/dist/runtime/components/Alert.vue +37 -75
  9. package/dist/runtime/components/Alert.vue.d.ts +59 -0
  10. package/dist/runtime/components/App.vue +25 -40
  11. package/dist/runtime/components/App.vue.d.ts +24 -0
  12. package/dist/runtime/components/Avatar.vue +31 -51
  13. package/dist/runtime/components/Avatar.vue.d.ts +25 -0
  14. package/dist/runtime/components/AvatarGroup.vue +38 -69
  15. package/dist/runtime/components/AvatarGroup.vue.d.ts +27 -0
  16. package/dist/runtime/components/Badge.vue +25 -51
  17. package/dist/runtime/components/Badge.vue.d.ts +44 -0
  18. package/dist/runtime/components/Breadcrumb.vue +36 -74
  19. package/dist/runtime/components/Breadcrumb.vue.d.ts +52 -0
  20. package/dist/runtime/components/Button.vue +62 -51
  21. package/dist/runtime/components/Button.vue.d.ts +29 -0
  22. package/dist/runtime/components/ButtonGroup.vue +17 -37
  23. package/dist/runtime/components/ButtonGroup.vue.d.ts +26 -0
  24. package/dist/runtime/components/Calendar.vue +75 -110
  25. package/dist/runtime/components/Calendar.vue.d.ts +75 -0
  26. package/dist/runtime/components/Card.vue +25 -42
  27. package/dist/runtime/components/Card.vue.d.ts +30 -0
  28. package/dist/runtime/components/Carousel.vue +118 -225
  29. package/dist/runtime/components/Carousel.vue.d.ts +104 -0
  30. package/dist/runtime/components/Checkbox.vue +46 -73
  31. package/dist/runtime/components/Checkbox.vue.d.ts +56 -0
  32. package/dist/runtime/components/Chip.vue +31 -48
  33. package/dist/runtime/components/Chip.vue.d.ts +30 -0
  34. package/dist/runtime/components/Collapsible.vue +22 -30
  35. package/dist/runtime/components/Collapsible.vue.d.ts +26 -0
  36. package/dist/runtime/components/Drawer.vue +51 -101
  37. package/dist/runtime/components/Drawer.vue.d.ts +80 -0
  38. package/dist/runtime/components/DropdownMenu.vue +37 -115
  39. package/dist/runtime/components/DropdownMenu.vue.d.ts +99 -0
  40. package/dist/runtime/components/DropdownMenuContent.vue +81 -77
  41. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +39 -0
  42. package/dist/runtime/components/Form.vue +140 -254
  43. package/dist/runtime/components/Form.vue.d.ts +78 -0
  44. package/dist/runtime/components/FormItem.vue +50 -89
  45. package/dist/runtime/components/FormItem.vue.d.ts +60 -0
  46. package/dist/runtime/components/Input.vue +79 -115
  47. package/dist/runtime/components/Input.vue.d.ts +64 -0
  48. package/dist/runtime/components/InputNumber.vue +74 -117
  49. package/dist/runtime/components/InputNumber.vue.d.ts +245 -0
  50. package/dist/runtime/components/Kbd.vue +18 -39
  51. package/dist/runtime/components/Kbd.vue.d.ts +28 -0
  52. package/dist/runtime/components/Link.vue +168 -257
  53. package/dist/runtime/components/Link.vue.d.ts +95 -0
  54. package/dist/runtime/components/LinkBase.vue +36 -54
  55. package/dist/runtime/components/LinkBase.vue.d.ts +28 -0
  56. package/dist/runtime/components/Modal.vue +49 -84
  57. package/dist/runtime/components/Modal.vue.d.ts +66 -0
  58. package/dist/runtime/components/OverlayProvider.vue +10 -14
  59. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
  60. package/dist/runtime/components/Pagination.vue +55 -121
  61. package/dist/runtime/components/Pagination.vue.d.ts +93 -0
  62. package/dist/runtime/components/PinInput.vue +49 -58
  63. package/dist/runtime/components/PinInput.vue.d.ts +35 -0
  64. package/dist/runtime/components/Popover.vue +39 -68
  65. package/dist/runtime/components/Popover.vue.d.ts +45 -0
  66. package/dist/runtime/components/Progress.vue +68 -120
  67. package/dist/runtime/components/Progress.vue.d.ts +54 -0
  68. package/dist/runtime/components/RadioGroup.vue +67 -125
  69. package/dist/runtime/components/RadioGroup.vue.d.ts +74 -0
  70. package/dist/runtime/components/ScrollArea.vue +31 -31
  71. package/dist/runtime/components/ScrollArea.vue.d.ts +17 -0
  72. package/dist/runtime/components/Select.vue +114 -204
  73. package/dist/runtime/components/Select.vue.d.ts +119 -0
  74. package/dist/runtime/components/Separator.vue +26 -44
  75. package/dist/runtime/components/Separator.vue.d.ts +27 -0
  76. package/dist/runtime/components/Skeleton.vue +12 -21
  77. package/dist/runtime/components/Skeleton.vue.d.ts +19 -0
  78. package/dist/runtime/components/Slider.vue +52 -74
  79. package/dist/runtime/components/Slider.vue.d.ts +36 -0
  80. package/dist/runtime/components/Switch.vue +51 -71
  81. package/dist/runtime/components/Switch.vue.d.ts +49 -0
  82. package/dist/runtime/components/Table.vue +108 -194
  83. package/dist/runtime/components/Table.vue.d.ts +148 -0
  84. package/dist/runtime/components/Tabs.vue +36 -81
  85. package/dist/runtime/components/Tabs.vue.d.ts +65 -0
  86. package/dist/runtime/components/Textarea.vue +77 -124
  87. package/dist/runtime/components/Textarea.vue.d.ts +60 -0
  88. package/dist/runtime/components/Toast.vue +47 -75
  89. package/dist/runtime/components/Toast.vue.d.ts +131 -0
  90. package/dist/runtime/components/ToastProvider.vue +65 -101
  91. package/dist/runtime/components/ToastProvider.vue.d.ts +38 -0
  92. package/dist/runtime/components/Tooltip.vue +36 -47
  93. package/dist/runtime/components/Tooltip.vue.d.ts +31 -0
  94. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  95. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  96. package/dist/runtime/composables/useFormItem.d.ts +2 -2
  97. package/dist/runtime/composables/useKbd.d.ts +1 -1
  98. package/dist/runtime/composables/useLocale.d.ts +3 -3
  99. package/dist/runtime/composables/useTheme.d.ts +1 -1
  100. package/dist/runtime/composables/useToast.d.ts +1 -1
  101. package/dist/runtime/locale/en.d.ts +1 -1
  102. package/dist/runtime/locale/zh-tw.d.ts +1 -1
  103. package/dist/runtime/theme/accordion.d.ts +45 -51
  104. package/dist/runtime/theme/accordion.js +1 -1
  105. package/dist/runtime/theme/alert.d.ts +115 -121
  106. package/dist/runtime/theme/alert.js +1 -1
  107. package/dist/runtime/theme/avatar-group.d.ts +42 -48
  108. package/dist/runtime/theme/avatar-group.js +1 -1
  109. package/dist/runtime/theme/avatar.d.ts +46 -52
  110. package/dist/runtime/theme/avatar.js +1 -1
  111. package/dist/runtime/theme/badge.d.ts +60 -66
  112. package/dist/runtime/theme/badge.js +1 -1
  113. package/dist/runtime/theme/breadcrumb.d.ts +52 -58
  114. package/dist/runtime/theme/breadcrumb.js +1 -1
  115. package/dist/runtime/theme/button-group.d.ts +36 -42
  116. package/dist/runtime/theme/button.d.ts +162 -168
  117. package/dist/runtime/theme/button.js +1 -1
  118. package/dist/runtime/theme/calendar.d.ts +52 -50
  119. package/dist/runtime/theme/calendar.js +20 -3
  120. package/dist/runtime/theme/card.d.ts +52 -58
  121. package/dist/runtime/theme/card.js +1 -1
  122. package/dist/runtime/theme/carousel.d.ts +98 -104
  123. package/dist/runtime/theme/carousel.js +1 -1
  124. package/dist/runtime/theme/checkbox.d.ts +77 -83
  125. package/dist/runtime/theme/checkbox.js +1 -1
  126. package/dist/runtime/theme/chip.d.ts +50 -56
  127. package/dist/runtime/theme/chip.js +1 -1
  128. package/dist/runtime/theme/collapsible.d.ts +29 -35
  129. package/dist/runtime/theme/collapsible.js +1 -1
  130. package/dist/runtime/theme/drawer.d.ts +120 -126
  131. package/dist/runtime/theme/drawer.js +1 -1
  132. package/dist/runtime/theme/dropdown-menu.d.ts +55 -61
  133. package/dist/runtime/theme/dropdown-menu.js +1 -1
  134. package/dist/runtime/theme/form-item.d.ts +63 -69
  135. package/dist/runtime/theme/form-item.js +1 -1
  136. package/dist/runtime/theme/form.d.ts +1 -7
  137. package/dist/runtime/theme/input-number.d.ts +98 -104
  138. package/dist/runtime/theme/input-number.js +1 -1
  139. package/dist/runtime/theme/input.d.ts +153 -159
  140. package/dist/runtime/theme/input.js +1 -1
  141. package/dist/runtime/theme/kbd.d.ts +30 -36
  142. package/dist/runtime/theme/link.d.ts +37 -43
  143. package/dist/runtime/theme/modal.d.ts +36 -42
  144. package/dist/runtime/theme/modal.js +1 -1
  145. package/dist/runtime/theme/pagination.d.ts +71 -77
  146. package/dist/runtime/theme/pagination.js +1 -1
  147. package/dist/runtime/theme/pinInput.d.ts +80 -86
  148. package/dist/runtime/theme/pinInput.js +1 -1
  149. package/dist/runtime/theme/popover.d.ts +29 -35
  150. package/dist/runtime/theme/popover.js +1 -1
  151. package/dist/runtime/theme/progress.d.ts +163 -169
  152. package/dist/runtime/theme/progress.js +1 -1
  153. package/dist/runtime/theme/radio-group.d.ts +99 -105
  154. package/dist/runtime/theme/radio-group.js +1 -1
  155. package/dist/runtime/theme/scroll-area.d.ts +62 -68
  156. package/dist/runtime/theme/scroll-area.js +1 -1
  157. package/dist/runtime/theme/select.d.ts +165 -171
  158. package/dist/runtime/theme/select.js +1 -1
  159. package/dist/runtime/theme/separator.d.ts +62 -68
  160. package/dist/runtime/theme/separator.js +1 -1
  161. package/dist/runtime/theme/skeleton.d.ts +1 -7
  162. package/dist/runtime/theme/slider.d.ts +62 -68
  163. package/dist/runtime/theme/slider.js +1 -1
  164. package/dist/runtime/theme/switch.d.ts +111 -117
  165. package/dist/runtime/theme/switch.js +1 -1
  166. package/dist/runtime/theme/table.d.ts +75 -81
  167. package/dist/runtime/theme/table.js +1 -1
  168. package/dist/runtime/theme/tabs.d.ts +114 -120
  169. package/dist/runtime/theme/tabs.js +1 -1
  170. package/dist/runtime/theme/textarea.d.ts +76 -82
  171. package/dist/runtime/theme/textarea.js +1 -1
  172. package/dist/runtime/theme/toast-provider.d.ts +106 -112
  173. package/dist/runtime/theme/toast-provider.js +1 -1
  174. package/dist/runtime/theme/toast.d.ts +74 -80
  175. package/dist/runtime/theme/toast.js +1 -1
  176. package/dist/runtime/theme/tooltip.d.ts +35 -41
  177. package/dist/runtime/theme/tooltip.js +1 -1
  178. package/dist/runtime/types/utils.d.ts +5 -5
  179. package/dist/runtime/utils/link.d.ts +3 -5
  180. package/dist/runtime/utils/styler.d.ts +2 -2
  181. package/dist/runtime/utils/styler.js +2 -2
  182. package/dist/shared/ui.D1BTWZFB.mjs +5 -0
  183. package/dist/shared/ui.D1BTWZFB.mjs.map +1 -0
  184. package/dist/types.d.mts +1 -1
  185. package/dist/unocss.mjs +5 -4
  186. package/dist/unocss.mjs.map +1 -1
  187. package/dist/unplugin.mjs +1 -1
  188. package/dist/unplugin.mjs.map +1 -1
  189. package/dist/vite.mjs +1 -1
  190. package/package.json +77 -75
  191. package/dist/module.cjs +0 -5
  192. package/dist/shared/ui.3e7fad19.mjs +0 -5
  193. package/dist/shared/ui.3e7fad19.mjs.map +0 -1
  194. package/dist/types.d.ts +0 -1
@@ -1,44 +1,38 @@
1
- declare const _default: {
2
- base: string;
3
- slots: undefined;
4
- variants: {
5
- underline: {
6
- true: "border-current";
7
- false: "border-transparent";
8
- };
9
- active: {
10
- true: string[];
11
- false: string[];
12
- };
13
- disabled: {
14
- true: "cursor-not-allowed opacity-50";
15
- };
16
- };
17
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
18
- underline: {
19
- true: "border-current";
20
- false: "border-transparent";
21
- };
22
- active: {
23
- true: string[];
24
- false: string[];
25
- };
26
- disabled: {
27
- true: "cursor-not-allowed opacity-50";
28
- };
29
- }, undefined, "border-y border-t-transparent outline-none focus-visible:outline-ui-base/80">;
30
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
31
- underline: {
32
- true: "border-current";
33
- false: "border-transparent";
34
- };
35
- active: {
36
- true: string[];
37
- false: string[];
38
- };
39
- disabled: {
40
- true: "cursor-not-allowed opacity-50";
41
- };
42
- }, undefined>;
43
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ underline: {
3
+ true: "border-current";
4
+ false: "border-transparent";
5
+ };
6
+ active: {
7
+ true: string[];
8
+ false: string[];
9
+ };
10
+ disabled: {
11
+ true: "cursor-not-allowed opacity-50";
12
+ };
13
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
14
+ underline: {
15
+ true: "border-current";
16
+ false: "border-transparent";
17
+ };
18
+ active: {
19
+ true: string[];
20
+ false: string[];
21
+ };
22
+ disabled: {
23
+ true: "cursor-not-allowed opacity-50";
24
+ };
25
+ }, undefined, "border-y border-t-transparent outline-none focus-visible:outline-ui-base/80">, import("@byyuurin/ui-kit").CVDefaultVariants<{
26
+ underline: {
27
+ true: "border-current";
28
+ false: "border-transparent";
29
+ };
30
+ active: {
31
+ true: string[];
32
+ false: string[];
33
+ };
34
+ disabled: {
35
+ true: "cursor-not-allowed opacity-50";
36
+ };
37
+ }, undefined>, "border-y border-t-transparent outline-none focus-visible:outline-ui-base/80", undefined>;
44
38
  export default _default;
@@ -1,48 +1,42 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- overlay: string;
5
- content: string;
6
- header: string;
7
- body: string;
8
- footer: string;
9
- title: string;
10
- description: string;
11
- close: string;
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ transition: {
3
+ true: {
4
+ overlay: string;
5
+ content: string;
6
+ };
12
7
  };
13
- variants: {
14
- transition: {
15
- true: {
16
- overlay: string;
17
- content: string;
18
- };
8
+ size: {
9
+ fullscreen: {
10
+ content: string;
19
11
  };
20
- size: {
21
- fullscreen: {
22
- content: string;
23
- };
24
- sm: {
25
- content: string;
26
- };
27
- md: {
28
- content: string;
29
- };
30
- lg: {
31
- content: string;
32
- };
33
- xl: {
34
- content: string;
35
- };
12
+ sm: {
13
+ content: string;
36
14
  };
37
- };
38
- compoundVariants: {
39
- size: ("sm" | "md" | "lg" | "xl")[];
40
- class: {
41
- content: string[];
15
+ md: {
16
+ content: string;
17
+ };
18
+ lg: {
19
+ content: string;
42
20
  };
43
- }[];
44
- defaultVariants: {
45
- size: "sm";
21
+ xl: {
22
+ content: string;
23
+ };
24
+ };
25
+ }, {
26
+ size: ("sm" | "md" | "lg" | "xl")[];
27
+ class: {
28
+ content: string[];
46
29
  };
47
- };
30
+ }[], {
31
+ size: "sm";
32
+ }, undefined, {
33
+ overlay: string;
34
+ content: string;
35
+ header: string;
36
+ body: string;
37
+ footer: string;
38
+ title: string;
39
+ description: string;
40
+ close: string;
41
+ }>;
48
42
  export default _default;
@@ -2,7 +2,7 @@ import { ct } from "@byyuurin/ui-kit";
2
2
  export default ct(
3
3
  /* @unocss-include */
4
4
  {
5
- slots: {
5
+ parts: {
6
6
  overlay: "fixed z-1 inset-0 bg-black/40",
7
7
  content: "fixed z-1 bg-ui-base divide-y divide-ui-base/10 flex flex-col focus:outline-none",
8
8
  header: "flex flex-wrap items-center gap-1 px-4 py-5 sm:px-6",
@@ -1,80 +1,74 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- list: string;
6
- ellipsis: string;
7
- label: string;
8
- item: string;
9
- first: string;
10
- prev: string;
11
- next: string;
12
- last: string;
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ [variantName: string]: {
3
+ [variantValue: string]: "" | {
4
+ root?: import("@byyuurin/ui-kit").ClassValue;
5
+ item?: import("@byyuurin/ui-kit").ClassValue;
6
+ label?: import("@byyuurin/ui-kit").ClassValue;
7
+ list?: import("@byyuurin/ui-kit").ClassValue;
8
+ prev?: import("@byyuurin/ui-kit").ClassValue;
9
+ next?: import("@byyuurin/ui-kit").ClassValue;
10
+ ellipsis?: import("@byyuurin/ui-kit").ClassValue;
11
+ first?: import("@byyuurin/ui-kit").ClassValue;
12
+ last?: import("@byyuurin/ui-kit").ClassValue;
13
+ } | null;
13
14
  };
14
- variants: {
15
- [key: string]: {
16
- [key: string]: "" | {
17
- root?: import("@byyuurin/ui-kit").ClassValue;
18
- item?: import("@byyuurin/ui-kit").ClassValue;
19
- label?: import("@byyuurin/ui-kit").ClassValue;
20
- list?: import("@byyuurin/ui-kit").ClassValue;
21
- prev?: import("@byyuurin/ui-kit").ClassValue;
22
- next?: import("@byyuurin/ui-kit").ClassValue;
23
- ellipsis?: import("@byyuurin/ui-kit").ClassValue;
24
- first?: import("@byyuurin/ui-kit").ClassValue;
25
- last?: import("@byyuurin/ui-kit").ClassValue;
26
- } | null;
27
- };
15
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
16
+ [variantName: string]: {
17
+ [variantValue: string]: "" | {
18
+ root?: import("@byyuurin/ui-kit").ClassValue;
19
+ item?: import("@byyuurin/ui-kit").ClassValue;
20
+ label?: import("@byyuurin/ui-kit").ClassValue;
21
+ list?: import("@byyuurin/ui-kit").ClassValue;
22
+ prev?: import("@byyuurin/ui-kit").ClassValue;
23
+ next?: import("@byyuurin/ui-kit").ClassValue;
24
+ ellipsis?: import("@byyuurin/ui-kit").ClassValue;
25
+ first?: import("@byyuurin/ui-kit").ClassValue;
26
+ last?: import("@byyuurin/ui-kit").ClassValue;
27
+ } | null;
28
28
  };
29
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
30
- [key: string]: {
31
- [key: string]: "" | {
32
- root?: import("@byyuurin/ui-kit").ClassValue;
33
- item?: import("@byyuurin/ui-kit").ClassValue;
34
- label?: import("@byyuurin/ui-kit").ClassValue;
35
- list?: import("@byyuurin/ui-kit").ClassValue;
36
- prev?: import("@byyuurin/ui-kit").ClassValue;
37
- next?: import("@byyuurin/ui-kit").ClassValue;
38
- ellipsis?: import("@byyuurin/ui-kit").ClassValue;
39
- first?: import("@byyuurin/ui-kit").ClassValue;
40
- last?: import("@byyuurin/ui-kit").ClassValue;
41
- } | null;
42
- };
43
- }, {
44
- root: string;
45
- list: string;
46
- ellipsis: string;
47
- label: string;
48
- item: string;
49
- first: string;
50
- prev: string;
51
- next: string;
52
- last: string;
53
- }, undefined>;
54
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
55
- [key: string]: {
56
- [key: string]: "" | {
57
- root?: import("@byyuurin/ui-kit").ClassValue;
58
- item?: import("@byyuurin/ui-kit").ClassValue;
59
- label?: import("@byyuurin/ui-kit").ClassValue;
60
- list?: import("@byyuurin/ui-kit").ClassValue;
61
- prev?: import("@byyuurin/ui-kit").ClassValue;
62
- next?: import("@byyuurin/ui-kit").ClassValue;
63
- ellipsis?: import("@byyuurin/ui-kit").ClassValue;
64
- first?: import("@byyuurin/ui-kit").ClassValue;
65
- last?: import("@byyuurin/ui-kit").ClassValue;
66
- } | null;
67
- };
68
- }, {
69
- root: string;
70
- list: string;
71
- ellipsis: string;
72
- label: string;
73
- item: string;
74
- first: string;
75
- prev: string;
76
- next: string;
77
- last: string;
78
- }>;
79
- };
29
+ }, {
30
+ root: string;
31
+ list: string;
32
+ ellipsis: string;
33
+ label: string;
34
+ item: string;
35
+ first: string;
36
+ prev: string;
37
+ next: string;
38
+ last: string;
39
+ }, undefined>, import("@byyuurin/ui-kit").CVDefaultVariants<{
40
+ [variantName: string]: {
41
+ [variantValue: string]: "" | {
42
+ root?: import("@byyuurin/ui-kit").ClassValue;
43
+ item?: import("@byyuurin/ui-kit").ClassValue;
44
+ label?: import("@byyuurin/ui-kit").ClassValue;
45
+ list?: import("@byyuurin/ui-kit").ClassValue;
46
+ prev?: import("@byyuurin/ui-kit").ClassValue;
47
+ next?: import("@byyuurin/ui-kit").ClassValue;
48
+ ellipsis?: import("@byyuurin/ui-kit").ClassValue;
49
+ first?: import("@byyuurin/ui-kit").ClassValue;
50
+ last?: import("@byyuurin/ui-kit").ClassValue;
51
+ } | null;
52
+ };
53
+ }, {
54
+ root: string;
55
+ list: string;
56
+ ellipsis: string;
57
+ label: string;
58
+ item: string;
59
+ first: string;
60
+ prev: string;
61
+ next: string;
62
+ last: string;
63
+ }>, undefined, {
64
+ root: string;
65
+ list: string;
66
+ ellipsis: string;
67
+ label: string;
68
+ item: string;
69
+ first: string;
70
+ prev: string;
71
+ next: string;
72
+ last: string;
73
+ }>;
80
74
  export default _default;
@@ -2,7 +2,7 @@ import { ct } from "@byyuurin/ui-kit";
2
2
  export default ct(
3
3
  /* @unocss-include */
4
4
  {
5
- slots: {
5
+ parts: {
6
6
  root: "",
7
7
  list: "flex items-center gap-1",
8
8
  ellipsis: "pointer-events-none",
@@ -1,100 +1,94 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- container: string;
6
- base: string;
7
- };
8
- variants: {
9
- size: {
10
- xs: {
11
- container: string;
12
- };
13
- sm: {
14
- container: string;
15
- };
16
- md: {
17
- container: string;
18
- };
19
- lg: {
20
- container: string;
21
- };
22
- xl: {
23
- container: string;
24
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ size: {
3
+ xs: {
4
+ container: string;
5
+ };
6
+ sm: {
7
+ container: string;
25
8
  };
26
- variant: {
27
- outline: {
28
- container: string[];
29
- };
30
- soft: {
31
- container: string[];
32
- };
33
- 'soft-outline': {
34
- container: string[];
35
- };
36
- ghost: {
37
- container: string[];
38
- };
39
- none: {
40
- container: string;
41
- };
9
+ md: {
10
+ container: string;
42
11
  };
43
- underline: {
44
- true: "";
12
+ lg: {
13
+ container: string;
45
14
  };
46
- highlight: {
47
- true: "";
15
+ xl: {
16
+ container: string;
48
17
  };
49
18
  };
50
- compoundVariants: ({
51
- variant: ("soft" | "ghost" | "none")[];
52
- highlight: false;
53
- underline: true;
54
- class: {
19
+ variant: {
20
+ outline: {
55
21
  container: string[];
56
- base?: undefined;
57
22
  };
58
- size?: undefined;
59
- } | {
60
- size: ("xs" | "sm" | "md")[];
61
- class: {
62
- base: string;
63
- container?: undefined;
23
+ soft: {
24
+ container: string[];
64
25
  };
65
- variant?: undefined;
66
- highlight?: undefined;
67
- underline?: undefined;
68
- } | {
69
- size: ("lg" | "xl")[];
70
- class: {
71
- base: string;
72
- container?: undefined;
26
+ 'soft-outline': {
27
+ container: string[];
73
28
  };
74
- variant?: undefined;
75
- highlight?: undefined;
76
- underline?: undefined;
77
- } | {
78
- variant: ("soft" | "soft-outline" | "ghost" | "none")[];
79
- highlight: true;
80
- class: {
81
- container: string;
82
- base?: undefined;
29
+ ghost: {
30
+ container: string[];
83
31
  };
84
- underline?: undefined;
85
- size?: undefined;
86
- } | {
87
- variant: "outline"[];
88
- highlight: true;
89
- class: {
32
+ none: {
90
33
  container: string;
91
- base?: undefined;
92
34
  };
93
- underline?: undefined;
94
- size?: undefined;
95
- })[];
96
- defaultVariants: {
97
- size: "md";
98
35
  };
99
- };
36
+ underline: {
37
+ true: "";
38
+ };
39
+ highlight: {
40
+ true: "";
41
+ };
42
+ }, ({
43
+ variant: ("soft" | "ghost" | "none")[];
44
+ highlight: false;
45
+ underline: true;
46
+ class: {
47
+ container: string[];
48
+ base?: undefined;
49
+ };
50
+ size?: undefined;
51
+ } | {
52
+ size: ("xs" | "sm" | "md")[];
53
+ class: {
54
+ base: string;
55
+ container?: undefined;
56
+ };
57
+ variant?: undefined;
58
+ highlight?: undefined;
59
+ underline?: undefined;
60
+ } | {
61
+ size: ("lg" | "xl")[];
62
+ class: {
63
+ base: string;
64
+ container?: undefined;
65
+ };
66
+ variant?: undefined;
67
+ highlight?: undefined;
68
+ underline?: undefined;
69
+ } | {
70
+ variant: ("soft" | "soft-outline" | "ghost" | "none")[];
71
+ highlight: true;
72
+ class: {
73
+ container: string;
74
+ base?: undefined;
75
+ };
76
+ underline?: undefined;
77
+ size?: undefined;
78
+ } | {
79
+ variant: "outline"[];
80
+ highlight: true;
81
+ class: {
82
+ container: string;
83
+ base?: undefined;
84
+ };
85
+ underline?: undefined;
86
+ size?: undefined;
87
+ })[], {
88
+ size: "md";
89
+ }, undefined, {
90
+ root: string;
91
+ container: string;
92
+ base: string;
93
+ }>;
100
94
  export default _default;
@@ -2,7 +2,7 @@ import { ct } from "@byyuurin/ui-kit";
2
2
  export default ct(
3
3
  /* @unocss-include */
4
4
  {
5
- slots: {
5
+ parts: {
6
6
  root: "inline-flex items-center gap-x-2",
7
7
  container: "rounded-ui-base border-0 transition-colors aria-disabled:opacity-50",
8
8
  base: "w-full color-inherit bg-transparent text-center placeholder:color-ui-base/50 focus:outline-none disabled:cursor-not-allowed"
@@ -1,38 +1,32 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- content: string[];
5
- arrow: string;
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ [variantName: string]: {
3
+ [variantValue: string]: "" | {
4
+ content?: import("@byyuurin/ui-kit").ClassValue;
5
+ arrow?: import("@byyuurin/ui-kit").ClassValue;
6
+ } | null;
6
7
  };
7
- variants: {
8
- [key: string]: {
9
- [key: string]: "" | {
10
- content?: import("@byyuurin/ui-kit").ClassValue;
11
- arrow?: import("@byyuurin/ui-kit").ClassValue;
12
- } | null;
13
- };
8
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
9
+ [variantName: string]: {
10
+ [variantValue: string]: "" | {
11
+ content?: import("@byyuurin/ui-kit").ClassValue;
12
+ arrow?: import("@byyuurin/ui-kit").ClassValue;
13
+ } | null;
14
14
  };
15
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
16
- [key: string]: {
17
- [key: string]: "" | {
18
- content?: import("@byyuurin/ui-kit").ClassValue;
19
- arrow?: import("@byyuurin/ui-kit").ClassValue;
20
- } | null;
21
- };
22
- }, {
23
- content: string[];
24
- arrow: string;
25
- }, undefined>;
26
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
27
- [key: string]: {
28
- [key: string]: "" | {
29
- content?: import("@byyuurin/ui-kit").ClassValue;
30
- arrow?: import("@byyuurin/ui-kit").ClassValue;
31
- } | null;
32
- };
33
- }, {
34
- content: string[];
35
- arrow: string;
36
- }>;
37
- };
15
+ }, {
16
+ content: string[];
17
+ arrow: string;
18
+ }, undefined>, import("@byyuurin/ui-kit").CVDefaultVariants<{
19
+ [variantName: string]: {
20
+ [variantValue: string]: "" | {
21
+ content?: import("@byyuurin/ui-kit").ClassValue;
22
+ arrow?: import("@byyuurin/ui-kit").ClassValue;
23
+ } | null;
24
+ };
25
+ }, {
26
+ content: string[];
27
+ arrow: string;
28
+ }>, undefined, {
29
+ content: string[];
30
+ arrow: string;
31
+ }>;
38
32
  export default _default;
@@ -2,7 +2,7 @@ import { ct } from "@byyuurin/ui-kit";
2
2
  export default ct(
3
3
  /* @unocss-include */
4
4
  {
5
- slots: {
5
+ parts: {
6
6
  content: [
7
7
  "z-1 color-ui-base bg-ui-base shadow-lg rounded-ui-box ring ring-ui-base/10",
8
8
  "data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] focus:outline-none pointer-events-auto"