@byyuurin/ui 0.0.9 → 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 (215) hide show
  1. package/README.md +2 -5
  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 +9323 -3
  6. package/dist/runtime/app/injections.js +35 -0
  7. package/dist/runtime/components/Accordion.vue +36 -69
  8. package/dist/runtime/components/Accordion.vue.d.ts +52 -0
  9. package/dist/runtime/components/Alert.vue +37 -75
  10. package/dist/runtime/components/Alert.vue.d.ts +59 -0
  11. package/dist/runtime/components/App.vue +25 -40
  12. package/dist/runtime/components/App.vue.d.ts +24 -0
  13. package/dist/runtime/components/Avatar.vue +31 -51
  14. package/dist/runtime/components/Avatar.vue.d.ts +25 -0
  15. package/dist/runtime/components/AvatarGroup.vue +38 -69
  16. package/dist/runtime/components/AvatarGroup.vue.d.ts +27 -0
  17. package/dist/runtime/components/Badge.vue +25 -51
  18. package/dist/runtime/components/Badge.vue.d.ts +44 -0
  19. package/dist/runtime/components/Breadcrumb.vue +35 -77
  20. package/dist/runtime/components/Breadcrumb.vue.d.ts +52 -0
  21. package/dist/runtime/components/Button.vue +62 -51
  22. package/dist/runtime/components/Button.vue.d.ts +29 -0
  23. package/dist/runtime/components/ButtonGroup.vue +17 -37
  24. package/dist/runtime/components/ButtonGroup.vue.d.ts +26 -0
  25. package/dist/runtime/components/Calendar.vue +75 -101
  26. package/dist/runtime/components/Calendar.vue.d.ts +75 -0
  27. package/dist/runtime/components/Card.vue +25 -42
  28. package/dist/runtime/components/Card.vue.d.ts +30 -0
  29. package/dist/runtime/components/Carousel.vue +118 -223
  30. package/dist/runtime/components/Carousel.vue.d.ts +104 -0
  31. package/dist/runtime/components/Checkbox.vue +49 -71
  32. package/dist/runtime/components/Checkbox.vue.d.ts +56 -0
  33. package/dist/runtime/components/Chip.vue +31 -48
  34. package/dist/runtime/components/Chip.vue.d.ts +30 -0
  35. package/dist/runtime/components/Collapsible.vue +22 -30
  36. package/dist/runtime/components/Collapsible.vue.d.ts +26 -0
  37. package/dist/runtime/components/Drawer.vue +52 -102
  38. package/dist/runtime/components/Drawer.vue.d.ts +80 -0
  39. package/dist/runtime/components/DropdownMenu.vue +65 -0
  40. package/dist/runtime/components/DropdownMenu.vue.d.ts +99 -0
  41. package/dist/runtime/components/DropdownMenuContent.vue +192 -0
  42. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +39 -0
  43. package/dist/runtime/components/Form.vue +197 -0
  44. package/dist/runtime/components/Form.vue.d.ts +78 -0
  45. package/dist/runtime/components/FormItem.vue +90 -0
  46. package/dist/runtime/components/FormItem.vue.d.ts +60 -0
  47. package/dist/runtime/components/Input.vue +93 -115
  48. package/dist/runtime/components/Input.vue.d.ts +64 -0
  49. package/dist/runtime/components/InputNumber.vue +81 -116
  50. package/dist/runtime/components/InputNumber.vue.d.ts +245 -0
  51. package/dist/runtime/components/Kbd.vue +18 -39
  52. package/dist/runtime/components/Kbd.vue.d.ts +28 -0
  53. package/dist/runtime/components/Link.vue +170 -244
  54. package/dist/runtime/components/Link.vue.d.ts +95 -0
  55. package/dist/runtime/components/LinkBase.vue +36 -54
  56. package/dist/runtime/components/LinkBase.vue.d.ts +28 -0
  57. package/dist/runtime/components/Modal.vue +50 -85
  58. package/dist/runtime/components/Modal.vue.d.ts +66 -0
  59. package/dist/runtime/components/OverlayProvider.vue +10 -14
  60. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
  61. package/dist/runtime/components/Pagination.vue +55 -121
  62. package/dist/runtime/components/Pagination.vue.d.ts +93 -0
  63. package/dist/runtime/components/PinInput.vue +57 -57
  64. package/dist/runtime/components/PinInput.vue.d.ts +35 -0
  65. package/dist/runtime/components/Popover.vue +39 -68
  66. package/dist/runtime/components/Popover.vue.d.ts +45 -0
  67. package/dist/runtime/components/Progress.vue +68 -120
  68. package/dist/runtime/components/Progress.vue.d.ts +54 -0
  69. package/dist/runtime/components/RadioGroup.vue +75 -129
  70. package/dist/runtime/components/RadioGroup.vue.d.ts +74 -0
  71. package/dist/runtime/components/ScrollArea.vue +31 -31
  72. package/dist/runtime/components/ScrollArea.vue.d.ts +17 -0
  73. package/dist/runtime/components/Select.vue +119 -199
  74. package/dist/runtime/components/Select.vue.d.ts +119 -0
  75. package/dist/runtime/components/Separator.vue +26 -44
  76. package/dist/runtime/components/Separator.vue.d.ts +27 -0
  77. package/dist/runtime/components/Skeleton.vue +12 -21
  78. package/dist/runtime/components/Skeleton.vue.d.ts +19 -0
  79. package/dist/runtime/components/Slider.vue +54 -71
  80. package/dist/runtime/components/Slider.vue.d.ts +36 -0
  81. package/dist/runtime/components/Switch.vue +54 -68
  82. package/dist/runtime/components/Switch.vue.d.ts +49 -0
  83. package/dist/runtime/components/Table.vue +113 -186
  84. package/dist/runtime/components/Table.vue.d.ts +148 -0
  85. package/dist/runtime/components/Tabs.vue +35 -79
  86. package/dist/runtime/components/Tabs.vue.d.ts +65 -0
  87. package/dist/runtime/components/Textarea.vue +82 -123
  88. package/dist/runtime/components/Textarea.vue.d.ts +60 -0
  89. package/dist/runtime/components/Toast.vue +51 -76
  90. package/dist/runtime/components/Toast.vue.d.ts +131 -0
  91. package/dist/runtime/components/ToastProvider.vue +65 -101
  92. package/dist/runtime/components/ToastProvider.vue.d.ts +38 -0
  93. package/dist/runtime/components/Tooltip.vue +36 -47
  94. package/dist/runtime/components/Tooltip.vue.d.ts +31 -0
  95. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  96. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  97. package/dist/runtime/composables/useFormItem.d.ts +27 -0
  98. package/dist/runtime/composables/useFormItem.js +64 -0
  99. package/dist/runtime/composables/useKbd.d.ts +1 -1
  100. package/dist/runtime/composables/useLocale.d.ts +3 -3
  101. package/dist/runtime/composables/useTheme.d.ts +1 -1
  102. package/dist/runtime/composables/useTheme.js +2 -1
  103. package/dist/runtime/composables/useToast.d.ts +1 -1
  104. package/dist/runtime/index.d.ts +3 -0
  105. package/dist/runtime/index.js +3 -0
  106. package/dist/runtime/locale/en.d.ts +1 -1
  107. package/dist/runtime/locale/zh-tw.d.ts +1 -1
  108. package/dist/runtime/theme/accordion.d.ts +45 -51
  109. package/dist/runtime/theme/accordion.js +1 -1
  110. package/dist/runtime/theme/alert.d.ts +115 -121
  111. package/dist/runtime/theme/alert.js +1 -1
  112. package/dist/runtime/theme/app.d.ts +1 -0
  113. package/dist/runtime/theme/app.js +2 -1
  114. package/dist/runtime/theme/avatar-group.d.ts +42 -48
  115. package/dist/runtime/theme/avatar-group.js +1 -1
  116. package/dist/runtime/theme/avatar.d.ts +46 -52
  117. package/dist/runtime/theme/avatar.js +1 -1
  118. package/dist/runtime/theme/badge.d.ts +63 -93
  119. package/dist/runtime/theme/badge.js +1 -1
  120. package/dist/runtime/theme/breadcrumb.d.ts +52 -58
  121. package/dist/runtime/theme/breadcrumb.js +1 -1
  122. package/dist/runtime/theme/button-group.d.ts +36 -42
  123. package/dist/runtime/theme/button.d.ts +165 -117
  124. package/dist/runtime/theme/button.js +1 -1
  125. package/dist/runtime/theme/calendar.d.ts +52 -50
  126. package/dist/runtime/theme/calendar.js +20 -3
  127. package/dist/runtime/theme/card.d.ts +52 -58
  128. package/dist/runtime/theme/card.js +1 -1
  129. package/dist/runtime/theme/carousel.d.ts +98 -104
  130. package/dist/runtime/theme/carousel.js +1 -1
  131. package/dist/runtime/theme/checkbox.d.ts +77 -83
  132. package/dist/runtime/theme/checkbox.js +1 -1
  133. package/dist/runtime/theme/chip.d.ts +50 -89
  134. package/dist/runtime/theme/chip.js +1 -1
  135. package/dist/runtime/theme/collapsible.d.ts +29 -35
  136. package/dist/runtime/theme/collapsible.js +1 -1
  137. package/dist/runtime/theme/drawer.d.ts +131 -102
  138. package/dist/runtime/theme/drawer.js +1 -1
  139. package/dist/runtime/theme/dropdown-menu.d.ts +65 -0
  140. package/dist/runtime/theme/dropdown-menu.js +83 -0
  141. package/dist/runtime/theme/form-item.d.ts +70 -0
  142. package/dist/runtime/theme/form-item.js +34 -0
  143. package/dist/runtime/theme/form.d.ts +2 -0
  144. package/dist/runtime/theme/form.js +7 -0
  145. package/dist/runtime/theme/index.d.ts +3 -0
  146. package/dist/runtime/theme/index.js +3 -0
  147. package/dist/runtime/theme/input-number.d.ts +100 -126
  148. package/dist/runtime/theme/input-number.js +1 -1
  149. package/dist/runtime/theme/input.d.ts +153 -131
  150. package/dist/runtime/theme/input.js +3 -3
  151. package/dist/runtime/theme/kbd.d.ts +30 -36
  152. package/dist/runtime/theme/link.d.ts +37 -43
  153. package/dist/runtime/theme/modal.d.ts +35 -69
  154. package/dist/runtime/theme/modal.js +1 -1
  155. package/dist/runtime/theme/pagination.d.ts +71 -77
  156. package/dist/runtime/theme/pagination.js +1 -1
  157. package/dist/runtime/theme/pinInput.d.ts +82 -88
  158. package/dist/runtime/theme/pinInput.js +2 -2
  159. package/dist/runtime/theme/popover.d.ts +29 -35
  160. package/dist/runtime/theme/popover.js +1 -1
  161. package/dist/runtime/theme/progress.d.ts +167 -109
  162. package/dist/runtime/theme/progress.js +1 -1
  163. package/dist/runtime/theme/radio-group.d.ts +99 -105
  164. package/dist/runtime/theme/radio-group.js +1 -1
  165. package/dist/runtime/theme/scroll-area.d.ts +62 -68
  166. package/dist/runtime/theme/scroll-area.js +1 -1
  167. package/dist/runtime/theme/select.d.ts +168 -158
  168. package/dist/runtime/theme/select.js +3 -2
  169. package/dist/runtime/theme/separator.d.ts +64 -85
  170. package/dist/runtime/theme/separator.js +1 -1
  171. package/dist/runtime/theme/skeleton.d.ts +1 -7
  172. package/dist/runtime/theme/slider.d.ts +62 -68
  173. package/dist/runtime/theme/slider.js +1 -1
  174. package/dist/runtime/theme/switch.d.ts +111 -117
  175. package/dist/runtime/theme/switch.js +1 -1
  176. package/dist/runtime/theme/table.d.ts +75 -78
  177. package/dist/runtime/theme/table.js +3 -2
  178. package/dist/runtime/theme/tabs.d.ts +116 -139
  179. package/dist/runtime/theme/tabs.js +1 -1
  180. package/dist/runtime/theme/textarea.d.ts +78 -90
  181. package/dist/runtime/theme/textarea.js +2 -2
  182. package/dist/runtime/theme/toast-provider.d.ts +110 -131
  183. package/dist/runtime/theme/toast-provider.js +1 -1
  184. package/dist/runtime/theme/toast.d.ts +74 -80
  185. package/dist/runtime/theme/toast.js +1 -1
  186. package/dist/runtime/theme/tooltip.d.ts +35 -41
  187. package/dist/runtime/theme/tooltip.js +1 -1
  188. package/dist/runtime/types/components.d.ts +3 -0
  189. package/dist/runtime/types/form.d.ts +45 -0
  190. package/dist/runtime/types/form.js +0 -0
  191. package/dist/runtime/types/index.d.ts +5 -2
  192. package/dist/runtime/types/index.js +1 -0
  193. package/dist/runtime/types/utils.d.ts +37 -16
  194. package/dist/runtime/utils/extend-theme.js +15 -4
  195. package/dist/runtime/utils/form.d.ts +5 -0
  196. package/dist/runtime/utils/form.js +24 -0
  197. package/dist/runtime/utils/index.d.ts +2 -0
  198. package/dist/runtime/utils/index.js +4 -0
  199. package/dist/runtime/utils/link.d.ts +4 -28
  200. package/dist/runtime/utils/link.js +10 -3
  201. package/dist/runtime/utils/styler.d.ts +2 -2
  202. package/dist/runtime/utils/styler.js +2 -2
  203. package/dist/shared/ui.D1BTWZFB.mjs +5 -0
  204. package/dist/shared/ui.D1BTWZFB.mjs.map +1 -0
  205. package/dist/types.d.mts +1 -1
  206. package/dist/unocss.mjs +7 -6
  207. package/dist/unocss.mjs.map +1 -1
  208. package/dist/unplugin.mjs +1 -1
  209. package/dist/unplugin.mjs.map +1 -1
  210. package/dist/vite.mjs +1 -1
  211. package/package.json +78 -74
  212. package/dist/module.cjs +0 -5
  213. package/dist/shared/ui.1a1f119c.mjs +0 -5
  214. package/dist/shared/ui.1a1f119c.mjs.map +0 -1
  215. package/dist/types.d.ts +0 -1
@@ -1,113 +1,107 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- viewport: string;
6
- container: string;
7
- item: string;
8
- controls: string;
9
- arrows: string;
10
- prev: string;
11
- next: string;
12
- dots: string;
13
- dot: string;
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ orientation: {
3
+ vertical: {
4
+ container: string;
5
+ item: string;
6
+ controls: string;
7
+ arrows: string;
8
+ dots: string;
9
+ prev: string;
10
+ next: string;
11
+ };
12
+ horizontal: {
13
+ container: string;
14
+ item: string;
15
+ prev: string;
16
+ next: string;
17
+ dots: string;
18
+ };
19
+ };
20
+ active: {
21
+ true: {
22
+ dot: string;
23
+ };
14
24
  };
15
- variants: {
16
- orientation: {
17
- vertical: {
18
- container: string;
19
- item: string;
20
- controls: string;
21
- arrows: string;
22
- dots: string;
23
- prev: string;
24
- next: string;
25
- };
26
- horizontal: {
27
- container: string;
28
- item: string;
29
- prev: string;
30
- next: string;
31
- dots: string;
32
- };
25
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
26
+ orientation: {
27
+ vertical: {
28
+ container: string;
29
+ item: string;
30
+ controls: string;
31
+ arrows: string;
32
+ dots: string;
33
+ prev: string;
34
+ next: string;
33
35
  };
34
- active: {
35
- true: {
36
- dot: string;
37
- };
36
+ horizontal: {
37
+ container: string;
38
+ item: string;
39
+ prev: string;
40
+ next: string;
41
+ dots: string;
38
42
  };
39
43
  };
40
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
41
- orientation: {
42
- vertical: {
43
- container: string;
44
- item: string;
45
- controls: string;
46
- arrows: string;
47
- dots: string;
48
- prev: string;
49
- next: string;
50
- };
51
- horizontal: {
52
- container: string;
53
- item: string;
54
- prev: string;
55
- next: string;
56
- dots: string;
57
- };
44
+ active: {
45
+ true: {
46
+ dot: string;
58
47
  };
59
- active: {
60
- true: {
61
- dot: string;
62
- };
48
+ };
49
+ }, {
50
+ root: string;
51
+ viewport: string;
52
+ container: string;
53
+ item: string;
54
+ controls: string;
55
+ arrows: string;
56
+ prev: string;
57
+ next: string;
58
+ dots: string;
59
+ dot: string;
60
+ }, undefined>, import("@byyuurin/ui-kit").CVDefaultVariants<{
61
+ orientation: {
62
+ vertical: {
63
+ container: string;
64
+ item: string;
65
+ controls: string;
66
+ arrows: string;
67
+ dots: string;
68
+ prev: string;
69
+ next: string;
63
70
  };
64
- }, {
65
- root: string;
66
- viewport: string;
67
- container: string;
68
- item: string;
69
- controls: string;
70
- arrows: string;
71
- prev: string;
72
- next: string;
73
- dots: string;
74
- dot: string;
75
- }, undefined>;
76
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
77
- orientation: {
78
- vertical: {
79
- container: string;
80
- item: string;
81
- controls: string;
82
- arrows: string;
83
- dots: string;
84
- prev: string;
85
- next: string;
86
- };
87
- horizontal: {
88
- container: string;
89
- item: string;
90
- prev: string;
91
- next: string;
92
- dots: string;
93
- };
71
+ horizontal: {
72
+ container: string;
73
+ item: string;
74
+ prev: string;
75
+ next: string;
76
+ dots: string;
94
77
  };
95
- active: {
96
- true: {
97
- dot: string;
98
- };
78
+ };
79
+ active: {
80
+ true: {
81
+ dot: string;
99
82
  };
100
- }, {
101
- root: string;
102
- viewport: string;
103
- container: string;
104
- item: string;
105
- controls: string;
106
- arrows: string;
107
- prev: string;
108
- next: string;
109
- dots: string;
110
- dot: string;
111
- }>;
112
- };
83
+ };
84
+ }, {
85
+ root: string;
86
+ viewport: string;
87
+ container: string;
88
+ item: string;
89
+ controls: string;
90
+ arrows: string;
91
+ prev: string;
92
+ next: string;
93
+ dots: string;
94
+ dot: string;
95
+ }>, undefined, {
96
+ root: string;
97
+ viewport: string;
98
+ container: string;
99
+ item: string;
100
+ controls: string;
101
+ arrows: string;
102
+ prev: string;
103
+ next: string;
104
+ dots: string;
105
+ dot: string;
106
+ }>;
113
107
  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: "relative focus:outline-none",
7
7
  viewport: "overflow-hidden",
8
8
  container: "flex items-start",
@@ -1,88 +1,82 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- base: string[];
6
- container: string;
7
- wrapper: string;
8
- icon: string;
9
- label: string;
10
- description: string;
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ size: {
3
+ xs: {
4
+ root: string;
5
+ };
6
+ sm: {
7
+ root: string;
8
+ };
9
+ md: {
10
+ root: string;
11
+ };
12
+ lg: {
13
+ root: string;
14
+ };
15
+ xl: {
16
+ root: string;
17
+ };
18
+ };
19
+ required: {
20
+ true: {
21
+ label: string;
22
+ };
23
+ };
24
+ disabled: {
25
+ true: {
26
+ root: string;
27
+ };
28
+ false: {
29
+ label: string;
30
+ };
11
31
  };
12
- variants: {
13
- size: {
14
- xs: {
15
- root: string;
16
- };
17
- sm: {
18
- root: string;
19
- };
20
- md: {
21
- root: string;
22
- };
23
- lg: {
24
- root: string;
25
- };
26
- xl: {
27
- root: string;
28
- };
29
- };
30
- required: {
31
- true: {
32
- label: string;
33
- };
34
- };
35
- disabled: {
36
- true: {
37
- root: string;
38
- };
39
- false: {
40
- label: string;
41
- };
32
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
33
+ size: {
34
+ xs: {
35
+ root: string;
36
+ };
37
+ sm: {
38
+ root: string;
39
+ };
40
+ md: {
41
+ root: string;
42
+ };
43
+ lg: {
44
+ root: string;
45
+ };
46
+ xl: {
47
+ root: string;
42
48
  };
43
49
  };
44
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
45
- size: {
46
- xs: {
47
- root: string;
48
- };
49
- sm: {
50
- root: string;
51
- };
52
- md: {
53
- root: string;
54
- };
55
- lg: {
56
- root: string;
57
- };
58
- xl: {
59
- root: string;
60
- };
61
- };
62
- required: {
63
- true: {
64
- label: string;
65
- };
66
- };
67
- disabled: {
68
- true: {
69
- root: string;
70
- };
71
- false: {
72
- label: string;
73
- };
74
- };
75
- }, {
76
- root: string;
77
- base: string[];
78
- container: string;
79
- wrapper: string;
80
- icon: string;
81
- label: string;
82
- description: string;
83
- }, undefined>;
84
- defaultVariants: {
85
- size: "md";
50
+ required: {
51
+ true: {
52
+ label: string;
53
+ };
54
+ };
55
+ disabled: {
56
+ true: {
57
+ root: string;
58
+ };
59
+ false: {
60
+ label: string;
61
+ };
86
62
  };
87
- };
63
+ }, {
64
+ root: string;
65
+ base: string[];
66
+ container: string;
67
+ wrapper: string;
68
+ icon: string;
69
+ label: string;
70
+ description: string;
71
+ }, undefined>, {
72
+ size: "md";
73
+ }, undefined, {
74
+ root: string;
75
+ base: string[];
76
+ container: string;
77
+ wrapper: string;
78
+ icon: string;
79
+ label: string;
80
+ description: string;
81
+ }>;
88
82
  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: "relative flex items-start",
7
7
  base: [
8
8
  "size-1.25em shrink-0 flex items-center justify-center rounded-ui-checkbox color-ui-cx ring-2 ring-ui-fill ring-inset bg-ui-fill",
@@ -1,100 +1,61 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- base: string;
5
- label: string;
6
- leadingIcon: string;
7
- trailingIcon: string;
8
- };
9
- variants: {
10
- variant: {
11
- solid: {
12
- base: string;
13
- };
14
- outline: {
15
- base: string;
16
- };
17
- soft: {
18
- base: string;
19
- };
20
- 'soft-outline': {
21
- base: string;
22
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ variant: {
3
+ solid: {
4
+ base: string;
5
+ };
6
+ outline: {
7
+ base: string;
23
8
  };
24
- size: {
25
- xs: {
26
- base: string;
27
- };
28
- sm: {
29
- base: string;
30
- };
31
- md: {
32
- base: string;
33
- };
34
- lg: {
35
- base: string;
36
- };
37
- xl: {
38
- base: string;
39
- };
9
+ soft: {
10
+ base: string;
40
11
  };
41
- groupOrientation: {
42
- horizontal: {
43
- base: string;
44
- };
45
- vertical: {
46
- base: string;
47
- };
12
+ 'soft-outline': {
13
+ base: string;
48
14
  };
49
15
  };
50
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
51
- variant: {
52
- solid: {
53
- base: string;
54
- };
55
- outline: {
56
- base: string;
57
- };
58
- soft: {
59
- base: string;
60
- };
61
- 'soft-outline': {
62
- base: string;
63
- };
16
+ size: {
17
+ xs: {
18
+ base: string;
64
19
  };
65
- size: {
66
- xs: {
67
- base: string;
68
- };
69
- sm: {
70
- base: string;
71
- };
72
- md: {
73
- base: string;
74
- };
75
- lg: {
76
- base: string;
77
- };
78
- xl: {
79
- base: string;
80
- };
20
+ sm: {
21
+ base: string;
81
22
  };
82
- groupOrientation: {
83
- horizontal: {
84
- base: string;
85
- };
86
- vertical: {
87
- base: string;
88
- };
23
+ md: {
24
+ base: string;
89
25
  };
90
- }, {
26
+ lg: {
27
+ base: string;
28
+ };
29
+ xl: {
30
+ base: string;
31
+ };
32
+ };
33
+ groupOrientation: {
34
+ horizontal: {
35
+ base: string;
36
+ };
37
+ vertical: {
38
+ base: string;
39
+ };
40
+ };
41
+ }, ({
42
+ size: ("xs" | "sm" | "md")[];
43
+ class: {
44
+ base: string;
45
+ label: string;
46
+ };
47
+ } | {
48
+ size: ("lg" | "xl")[];
49
+ class: {
91
50
  base: string;
92
51
  label: string;
93
- leadingIcon: string;
94
- trailingIcon: string;
95
- }, undefined>;
96
- defaultVariants: {
97
- size: "md";
98
52
  };
99
- };
53
+ })[], {
54
+ size: "md";
55
+ }, undefined, {
56
+ base: string;
57
+ label: string;
58
+ leadingIcon: string;
59
+ trailingIcon: string;
60
+ }>;
100
61
  export default _default;
@@ -3,7 +3,7 @@ import { buttonGroupVariant } from "./button-group.js";
3
3
  export default ct(
4
4
  /* @unocss-include */
5
5
  {
6
- slots: {
6
+ parts: {
7
7
  base: "inline-flex items-center rounded-ui-base leading-normal transition-colors",
8
8
  label: "",
9
9
  leadingIcon: "shrink-0 size-1.5em not-only-child:ml-1.5",
@@ -1,38 +1,32 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- content: string;
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ [variantName: string]: {
3
+ [variantValue: string]: "" | {
4
+ root?: import("@byyuurin/ui-kit").ClassValue;
5
+ content?: import("@byyuurin/ui-kit").ClassValue;
6
+ } | null;
6
7
  };
7
- variants: {
8
- [key: string]: {
9
- [key: string]: "" | {
10
- root?: import("@byyuurin/ui-kit").ClassValue;
11
- content?: import("@byyuurin/ui-kit").ClassValue;
12
- } | null;
13
- };
8
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
9
+ [variantName: string]: {
10
+ [variantValue: string]: "" | {
11
+ root?: import("@byyuurin/ui-kit").ClassValue;
12
+ content?: import("@byyuurin/ui-kit").ClassValue;
13
+ } | null;
14
14
  };
15
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
16
- [key: string]: {
17
- [key: string]: "" | {
18
- root?: import("@byyuurin/ui-kit").ClassValue;
19
- content?: import("@byyuurin/ui-kit").ClassValue;
20
- } | null;
21
- };
22
- }, {
23
- root: string;
24
- content: string;
25
- }, undefined>;
26
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
27
- [key: string]: {
28
- [key: string]: "" | {
29
- root?: import("@byyuurin/ui-kit").ClassValue;
30
- content?: import("@byyuurin/ui-kit").ClassValue;
31
- } | null;
32
- };
33
- }, {
34
- root: string;
35
- content: string;
36
- }>;
37
- };
15
+ }, {
16
+ root: string;
17
+ content: string;
18
+ }, undefined>, import("@byyuurin/ui-kit").CVDefaultVariants<{
19
+ [variantName: string]: {
20
+ [variantValue: string]: "" | {
21
+ root?: import("@byyuurin/ui-kit").ClassValue;
22
+ content?: import("@byyuurin/ui-kit").ClassValue;
23
+ } | null;
24
+ };
25
+ }, {
26
+ root: string;
27
+ content: string;
28
+ }>, undefined, {
29
+ root: string;
30
+ content: 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
  root: "",
7
7
  content: "data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-in] overflow-hidden"
8
8
  }