@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,102 +1,90 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- base: string[];
6
- };
7
- variants: {
8
- size: {
9
- xs: {
10
- root: string;
11
- };
12
- sm: {
13
- root: string;
14
- };
15
- md: {
16
- root: string;
17
- };
18
- lg: {
19
- root: string;
20
- };
21
- xl: {
22
- root: string;
23
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ size: {
3
+ xs: {
4
+ root: string;
24
5
  };
25
- variant: {
26
- outline: {
27
- root: string[];
28
- };
29
- soft: {
30
- root: string[];
31
- };
32
- 'soft-outline': {
33
- root: string[];
34
- };
35
- ghost: {
36
- root: string[];
37
- };
38
- none: {
39
- root: string;
40
- };
6
+ sm: {
7
+ root: string;
41
8
  };
42
- underline: {
43
- true: "";
9
+ md: {
10
+ root: string;
44
11
  };
45
- highlight: {
46
- true: {
47
- base: string;
48
- };
12
+ lg: {
13
+ root: string;
14
+ };
15
+ xl: {
16
+ root: string;
49
17
  };
50
18
  };
51
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
52
- size: {
53
- xs: {
54
- root: string;
55
- };
56
- sm: {
57
- root: string;
58
- };
59
- md: {
60
- root: string;
61
- };
62
- lg: {
63
- root: string;
64
- };
65
- xl: {
66
- root: string;
67
- };
19
+ variant: {
20
+ outline: {
21
+ root: string[];
22
+ };
23
+ soft: {
24
+ root: string[];
68
25
  };
69
- variant: {
70
- outline: {
71
- root: string[];
72
- };
73
- soft: {
74
- root: string[];
75
- };
76
- 'soft-outline': {
77
- root: string[];
78
- };
79
- ghost: {
80
- root: string[];
81
- };
82
- none: {
83
- root: string;
84
- };
26
+ 'soft-outline': {
27
+ root: string[];
85
28
  };
86
- underline: {
87
- true: "";
29
+ ghost: {
30
+ root: string[];
88
31
  };
89
- highlight: {
90
- true: {
91
- base: string;
92
- };
32
+ none: {
33
+ root: string;
93
34
  };
94
- }, {
35
+ };
36
+ underline: {
37
+ true: "";
38
+ };
39
+ highlight: {
40
+ true: {
41
+ base: string;
42
+ };
43
+ };
44
+ }, ({
45
+ variant: ("soft" | "ghost" | "none")[];
46
+ highlight: false;
47
+ underline: true;
48
+ class: {
49
+ root: string[];
50
+ };
51
+ size?: undefined;
52
+ } | {
53
+ size: ("xs" | "sm" | "md")[];
54
+ class: {
55
+ root: string;
56
+ };
57
+ variant?: undefined;
58
+ highlight?: undefined;
59
+ underline?: undefined;
60
+ } | {
61
+ size: ("lg" | "xl")[];
62
+ class: {
63
+ root: string;
64
+ };
65
+ variant?: undefined;
66
+ highlight?: undefined;
67
+ underline?: undefined;
68
+ } | {
69
+ variant: ("soft" | "soft-outline" | "ghost" | "none")[];
70
+ highlight: true;
71
+ class: {
72
+ root: string;
73
+ };
74
+ underline?: undefined;
75
+ size?: undefined;
76
+ } | {
77
+ variant: "outline"[];
78
+ highlight: true;
79
+ class: {
95
80
  root: string;
96
- base: string[];
97
- }, undefined>;
98
- defaultVariants: {
99
- size: "md";
100
81
  };
101
- };
82
+ underline?: undefined;
83
+ size?: undefined;
84
+ })[], {
85
+ size: "md";
86
+ }, undefined, {
87
+ root: string;
88
+ base: string[];
89
+ }>;
102
90
  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: "rounded-ui-base transition-colors aria-disabled:opacity-50",
7
7
  base: [
8
8
  "w-full color-inherit bg-transparent border-0 resize-none placeholder:color-ui-base/50",
@@ -33,7 +33,7 @@ export default ct(
33
33
  root: [
34
34
  "color-ui-base/80 bg-ui-base ring ring-inset ring-ui-base/30",
35
35
  "focus-within:ring-2 focus-within:ring-ui-base/50",
36
- "aria-disabled:ring-ui-base/80 hover:aria-disabled:ring-ui-base/80"
36
+ "aria-disabled:ring-ui-base/15 hover:aria-disabled:ring-ui-base/15"
37
37
  ]
38
38
  },
39
39
  "soft": {
@@ -1,137 +1,116 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- viewport: string[];
5
- base: string[];
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ clickable: {
3
+ true: {
4
+ base: string;
5
+ };
6
6
  };
7
- variants: {
8
- clickable: {
9
- true: {
10
- base: string;
11
- };
12
- };
13
- position: {
14
- 'top-left': {
15
- viewport: string;
16
- };
17
- 'top-center': {
18
- viewport: string;
19
- };
20
- 'top-right': {
21
- viewport: string;
22
- };
23
- 'bottom-left': {
24
- viewport: string;
25
- };
26
- 'bottom-center': {
27
- viewport: string;
28
- };
29
- 'bottom-right': {
30
- viewport: string;
31
- };
32
- };
33
- swipeDirection: {
34
- up: {
35
- base: string;
36
- };
37
- right: {
38
- base: string;
39
- };
40
- down: {
41
- base: string;
42
- };
43
- left: {
44
- base: string;
45
- };
7
+ position: {
8
+ 'top-left': {
9
+ viewport: string;
10
+ };
11
+ 'top-center': {
12
+ viewport: string;
13
+ };
14
+ 'top-right': {
15
+ viewport: string;
16
+ };
17
+ 'bottom-left': {
18
+ viewport: string;
19
+ };
20
+ 'bottom-center': {
21
+ viewport: string;
22
+ };
23
+ 'bottom-right': {
24
+ viewport: string;
46
25
  };
47
26
  };
48
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
49
- clickable: {
50
- true: {
51
- base: string;
52
- };
53
- };
54
- position: {
55
- 'top-left': {
56
- viewport: string;
57
- };
58
- 'top-center': {
59
- viewport: string;
60
- };
61
- 'top-right': {
62
- viewport: string;
63
- };
64
- 'bottom-left': {
65
- viewport: string;
66
- };
67
- 'bottom-center': {
68
- viewport: string;
69
- };
70
- 'bottom-right': {
71
- viewport: string;
72
- };
73
- };
74
- swipeDirection: {
75
- up: {
76
- base: string;
77
- };
78
- right: {
79
- base: string;
80
- };
81
- down: {
82
- base: string;
83
- };
84
- left: {
85
- base: string;
86
- };
87
- };
88
- }, {
89
- viewport: string[];
27
+ swipeDirection: {
28
+ up: {
29
+ base: string;
30
+ };
31
+ right: {
32
+ base: string;
33
+ };
34
+ down: {
35
+ base: string;
36
+ };
37
+ left: {
38
+ base: string;
39
+ };
40
+ };
41
+ }, ({
42
+ position: ("top-right" | "top-left" | "top-center")[];
43
+ class: {
44
+ viewport: string;
45
+ base: string;
46
+ };
47
+ swipeDirection?: undefined;
48
+ } | {
49
+ position: ("bottom-right" | "bottom-left" | "bottom-center")[];
50
+ class: {
51
+ viewport: string;
52
+ base: string;
53
+ };
54
+ swipeDirection?: undefined;
55
+ } | {
56
+ swipeDirection: ("left" | "right")[];
57
+ class: {
90
58
  base: string[];
91
- }, undefined>;
92
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
93
- clickable: {
94
- true: {
95
- base: string;
96
- };
97
- };
98
- position: {
99
- 'top-left': {
100
- viewport: string;
101
- };
102
- 'top-center': {
103
- viewport: string;
104
- };
105
- 'top-right': {
106
- viewport: string;
107
- };
108
- 'bottom-left': {
109
- viewport: string;
110
- };
111
- 'bottom-center': {
112
- viewport: string;
113
- };
114
- 'bottom-right': {
115
- viewport: string;
116
- };
117
- };
118
- swipeDirection: {
119
- up: {
120
- base: string;
121
- };
122
- right: {
123
- base: string;
124
- };
125
- down: {
126
- base: string;
127
- };
128
- left: {
129
- base: string;
130
- };
131
- };
132
- }, {
133
- viewport: string[];
59
+ viewport?: undefined;
60
+ };
61
+ position?: undefined;
62
+ } | {
63
+ swipeDirection: ("up" | "down")[];
64
+ class: {
134
65
  base: string[];
135
- }>;
136
- };
66
+ viewport?: undefined;
67
+ };
68
+ position?: undefined;
69
+ })[], import("@byyuurin/ui-kit").CVDefaultVariants<{
70
+ clickable: {
71
+ true: {
72
+ base: string;
73
+ };
74
+ };
75
+ position: {
76
+ 'top-left': {
77
+ viewport: string;
78
+ };
79
+ 'top-center': {
80
+ viewport: string;
81
+ };
82
+ 'top-right': {
83
+ viewport: string;
84
+ };
85
+ 'bottom-left': {
86
+ viewport: string;
87
+ };
88
+ 'bottom-center': {
89
+ viewport: string;
90
+ };
91
+ 'bottom-right': {
92
+ viewport: string;
93
+ };
94
+ };
95
+ swipeDirection: {
96
+ up: {
97
+ base: string;
98
+ };
99
+ right: {
100
+ base: string;
101
+ };
102
+ down: {
103
+ base: string;
104
+ };
105
+ left: {
106
+ base: string;
107
+ };
108
+ };
109
+ }, {
110
+ viewport: string[];
111
+ base: string[];
112
+ }>, undefined, {
113
+ viewport: string[];
114
+ base: string[];
115
+ }>;
137
116
  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
  viewport: [
7
7
  "fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] focus:outline-none",
8
8
  "data-[expanded=true]:h-[var(--height)]"
@@ -1,89 +1,83 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- wrapper: string;
6
- title: string;
7
- description: string;
8
- icon: string;
9
- avatar: string;
10
- avatarSize: string;
11
- actions: string;
12
- progress: string;
13
- close: string;
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ orientation: {
3
+ horizontal: {
4
+ root: string;
5
+ actions: string;
6
+ };
7
+ vertical: {
8
+ root: string;
9
+ actions: string;
10
+ };
11
+ };
12
+ title: {
13
+ true: {
14
+ description: string;
15
+ };
14
16
  };
15
- variants: {
16
- orientation: {
17
- horizontal: {
18
- root: string;
19
- actions: string;
20
- };
21
- vertical: {
22
- root: string;
23
- actions: string;
24
- };
17
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
18
+ orientation: {
19
+ horizontal: {
20
+ root: string;
21
+ actions: string;
25
22
  };
26
- title: {
27
- true: {
28
- description: string;
29
- };
23
+ vertical: {
24
+ root: string;
25
+ actions: string;
30
26
  };
31
27
  };
32
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
33
- orientation: {
34
- horizontal: {
35
- root: string;
36
- actions: string;
37
- };
38
- vertical: {
39
- root: string;
40
- actions: string;
41
- };
28
+ title: {
29
+ true: {
30
+ description: string;
42
31
  };
43
- title: {
44
- true: {
45
- description: string;
46
- };
32
+ };
33
+ }, {
34
+ root: string;
35
+ wrapper: string;
36
+ title: string;
37
+ description: string;
38
+ icon: string;
39
+ avatar: string;
40
+ avatarSize: string;
41
+ actions: string;
42
+ progress: string;
43
+ close: string;
44
+ }, undefined>, import("@byyuurin/ui-kit").CVDefaultVariants<{
45
+ orientation: {
46
+ horizontal: {
47
+ root: string;
48
+ actions: string;
47
49
  };
48
- }, {
49
- root: string;
50
- wrapper: string;
51
- title: string;
52
- description: string;
53
- icon: string;
54
- avatar: string;
55
- avatarSize: string;
56
- actions: string;
57
- progress: string;
58
- close: string;
59
- }, undefined>;
60
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
61
- orientation: {
62
- horizontal: {
63
- root: string;
64
- actions: string;
65
- };
66
- vertical: {
67
- root: string;
68
- actions: string;
69
- };
50
+ vertical: {
51
+ root: string;
52
+ actions: string;
70
53
  };
71
- title: {
72
- true: {
73
- description: string;
74
- };
54
+ };
55
+ title: {
56
+ true: {
57
+ description: string;
75
58
  };
76
- }, {
77
- root: string;
78
- wrapper: string;
79
- title: string;
80
- description: string;
81
- icon: string;
82
- avatar: string;
83
- avatarSize: string;
84
- actions: string;
85
- progress: string;
86
- close: string;
87
- }>;
88
- };
59
+ };
60
+ }, {
61
+ root: string;
62
+ wrapper: string;
63
+ title: string;
64
+ description: string;
65
+ icon: string;
66
+ avatar: string;
67
+ avatarSize: string;
68
+ actions: string;
69
+ progress: string;
70
+ close: string;
71
+ }>, undefined, {
72
+ root: string;
73
+ wrapper: string;
74
+ title: string;
75
+ description: string;
76
+ icon: string;
77
+ avatar: string;
78
+ avatarSize: string;
79
+ actions: string;
80
+ progress: string;
81
+ close: string;
82
+ }>;
89
83
  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: "group relative overflow-hidden bg-ui-base shadow-lg rounded-ui-box ring ring-ui-base/5 p-4 flex gap-2.5 focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ui-base/5",
7
7
  wrapper: "w-0 flex-1 flex flex-col gap-1",
8
8
  title: "text-base font-medium color-ui-base",