@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,190 +1,184 @@
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
- };
23
- ghost: {
24
- base: string[];
25
- };
26
- link: {
27
- base: string[];
28
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ variant: {
3
+ solid: {
4
+ base: string[];
29
5
  };
30
- size: {
31
- xs: {
32
- base: string;
33
- };
34
- sm: {
35
- base: string;
36
- };
37
- md: {
38
- base: string;
39
- };
40
- lg: {
41
- base: string;
42
- };
43
- xl: {
44
- base: string;
45
- };
6
+ outline: {
7
+ base: string[];
46
8
  };
47
- active: {
48
- true: "";
9
+ soft: {
10
+ base: string[];
49
11
  };
50
- leading: {
51
- true: "";
12
+ 'soft-outline': {
13
+ base: string[];
52
14
  };
53
- trailing: {
54
- true: "";
15
+ ghost: {
16
+ base: string[];
55
17
  };
56
- loading: {
57
- true: "";
58
- };
59
- groupOrientation: {
60
- horizontal: {
61
- base: string;
62
- };
63
- vertical: {
64
- base: string;
65
- };
18
+ link: {
19
+ base: string[];
66
20
  };
67
21
  };
68
- compoundVariants: ({
69
- size: ("xs" | "sm" | "md")[];
70
- class: {
22
+ size: {
23
+ xs: {
71
24
  base: string;
72
- label: string;
73
- leadingIcon?: undefined;
74
- trailingIcon?: undefined;
75
25
  };
76
- active?: undefined;
77
- variant?: undefined;
78
- loading?: undefined;
79
- leading?: undefined;
80
- trailing?: undefined;
81
- } | {
82
- size: ("lg" | "xl")[];
83
- class: {
26
+ sm: {
84
27
  base: string;
85
- label: string;
86
- leadingIcon?: undefined;
87
- trailingIcon?: undefined;
88
28
  };
89
- active?: undefined;
90
- variant?: undefined;
91
- loading?: undefined;
92
- leading?: undefined;
93
- trailing?: undefined;
94
- } | {
95
- active: true;
96
- variant: "solid";
97
- class: {
29
+ md: {
98
30
  base: string;
99
- label?: undefined;
100
- leadingIcon?: undefined;
101
- trailingIcon?: undefined;
102
31
  };
103
- size?: undefined;
104
- loading?: undefined;
105
- leading?: undefined;
106
- trailing?: undefined;
107
- } | {
108
- active: true;
109
- variant: "outline";
110
- class: {
32
+ lg: {
111
33
  base: string;
112
- label?: undefined;
113
- leadingIcon?: undefined;
114
- trailingIcon?: undefined;
115
34
  };
116
- size?: undefined;
117
- loading?: undefined;
118
- leading?: undefined;
119
- trailing?: undefined;
120
- } | {
121
- active: true;
122
- variant: ("soft" | "soft-outline")[];
123
- class: {
35
+ xl: {
124
36
  base: string;
125
- label?: undefined;
126
- leadingIcon?: undefined;
127
- trailingIcon?: undefined;
128
37
  };
129
- size?: undefined;
130
- loading?: undefined;
131
- leading?: undefined;
132
- trailing?: undefined;
133
- } | {
134
- active: true;
135
- variant: "ghost";
136
- class: {
38
+ };
39
+ active: {
40
+ true: "";
41
+ };
42
+ leading: {
43
+ true: "";
44
+ };
45
+ trailing: {
46
+ true: "";
47
+ };
48
+ loading: {
49
+ true: "";
50
+ };
51
+ groupOrientation: {
52
+ horizontal: {
137
53
  base: string;
138
- label?: undefined;
139
- leadingIcon?: undefined;
140
- trailingIcon?: undefined;
141
54
  };
142
- size?: undefined;
143
- loading?: undefined;
144
- leading?: undefined;
145
- trailing?: undefined;
146
- } | {
147
- active: true;
148
- variant: "link";
149
- class: {
55
+ vertical: {
150
56
  base: string;
151
- label?: undefined;
152
- leadingIcon?: undefined;
153
- trailingIcon?: undefined;
154
57
  };
155
- size?: undefined;
156
- loading?: undefined;
157
- leading?: undefined;
158
- trailing?: undefined;
159
- } | {
160
- loading: true;
161
- leading: true;
162
- class: {
163
- leadingIcon: string;
164
- base?: undefined;
165
- label?: undefined;
166
- trailingIcon?: undefined;
167
- };
168
- size?: undefined;
169
- active?: undefined;
170
- variant?: undefined;
171
- trailing?: undefined;
172
- } | {
173
- loading: true;
174
- leading: false;
175
- trailing: true;
176
- class: {
177
- trailingIcon: string;
178
- base?: undefined;
179
- label?: undefined;
180
- leadingIcon?: undefined;
181
- };
182
- size?: undefined;
183
- active?: undefined;
184
- variant?: undefined;
185
- })[];
186
- defaultVariants: {
187
- size: "md";
188
- };
189
- };
58
+ };
59
+ }, ({
60
+ size: ("xs" | "sm" | "md")[];
61
+ class: {
62
+ base: string;
63
+ label: string;
64
+ leadingIcon?: undefined;
65
+ trailingIcon?: undefined;
66
+ };
67
+ active?: undefined;
68
+ variant?: undefined;
69
+ loading?: undefined;
70
+ leading?: undefined;
71
+ trailing?: undefined;
72
+ } | {
73
+ size: ("lg" | "xl")[];
74
+ class: {
75
+ base: string;
76
+ label: string;
77
+ leadingIcon?: undefined;
78
+ trailingIcon?: undefined;
79
+ };
80
+ active?: undefined;
81
+ variant?: undefined;
82
+ loading?: undefined;
83
+ leading?: undefined;
84
+ trailing?: undefined;
85
+ } | {
86
+ active: true;
87
+ variant: "solid";
88
+ class: {
89
+ base: string;
90
+ label?: undefined;
91
+ leadingIcon?: undefined;
92
+ trailingIcon?: undefined;
93
+ };
94
+ size?: undefined;
95
+ loading?: undefined;
96
+ leading?: undefined;
97
+ trailing?: undefined;
98
+ } | {
99
+ active: true;
100
+ variant: "outline";
101
+ class: {
102
+ base: string;
103
+ label?: undefined;
104
+ leadingIcon?: undefined;
105
+ trailingIcon?: undefined;
106
+ };
107
+ size?: undefined;
108
+ loading?: undefined;
109
+ leading?: undefined;
110
+ trailing?: undefined;
111
+ } | {
112
+ active: true;
113
+ variant: ("soft" | "soft-outline")[];
114
+ class: {
115
+ base: string;
116
+ label?: undefined;
117
+ leadingIcon?: undefined;
118
+ trailingIcon?: undefined;
119
+ };
120
+ size?: undefined;
121
+ loading?: undefined;
122
+ leading?: undefined;
123
+ trailing?: undefined;
124
+ } | {
125
+ active: true;
126
+ variant: "ghost";
127
+ class: {
128
+ base: string;
129
+ label?: undefined;
130
+ leadingIcon?: undefined;
131
+ trailingIcon?: undefined;
132
+ };
133
+ size?: undefined;
134
+ loading?: undefined;
135
+ leading?: undefined;
136
+ trailing?: undefined;
137
+ } | {
138
+ active: true;
139
+ variant: "link";
140
+ class: {
141
+ base: string;
142
+ label?: undefined;
143
+ leadingIcon?: undefined;
144
+ trailingIcon?: undefined;
145
+ };
146
+ size?: undefined;
147
+ loading?: undefined;
148
+ leading?: undefined;
149
+ trailing?: undefined;
150
+ } | {
151
+ loading: true;
152
+ leading: true;
153
+ class: {
154
+ leadingIcon: string;
155
+ base?: undefined;
156
+ label?: undefined;
157
+ trailingIcon?: undefined;
158
+ };
159
+ size?: undefined;
160
+ active?: undefined;
161
+ variant?: undefined;
162
+ trailing?: undefined;
163
+ } | {
164
+ loading: true;
165
+ leading: false;
166
+ trailing: true;
167
+ class: {
168
+ trailingIcon: string;
169
+ base?: undefined;
170
+ label?: undefined;
171
+ leadingIcon?: undefined;
172
+ };
173
+ size?: undefined;
174
+ active?: undefined;
175
+ variant?: undefined;
176
+ })[], {
177
+ size: "md";
178
+ }, undefined, {
179
+ base: string[];
180
+ label: string;
181
+ leadingIcon: string;
182
+ trailingIcon: string;
183
+ }>;
190
184
  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: [
8
8
  "relative inline-flex items-center rounded-ui-button leading-normal transition-colors",
9
9
  "outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-base/80",
@@ -1,56 +1,58 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- header: string;
6
- body: string;
7
- heading: string;
8
- grid: string;
9
- gridRow: string;
10
- gridWeekDaysRow: string;
11
- gridBody: string;
12
- headCell: string;
13
- cell: string;
14
- cellTrigger: string[];
15
- };
16
- variants: {
17
- size: {
18
- xs: {
19
- root: string;
20
- };
21
- sm: {
22
- root: string;
23
- };
24
- md: {
25
- root: string;
26
- };
27
- lg: {
28
- root: string;
29
- };
30
- xl: {
31
- root: string;
32
- };
33
- };
34
- readonly: {
35
- true: {
36
- cellTrigger: string;
37
- };
38
- };
39
- disabled: {
40
- true: {
41
- cellTrigger: string;
42
- };
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;
43
17
  };
44
18
  };
45
- compoundVariants: {
46
- readonly: false;
47
- disabled: false;
48
- class: {
19
+ multipleMonths: {
20
+ true: {
21
+ cellTrigger: string[];
22
+ };
23
+ false: {
49
24
  cellTrigger: string;
50
25
  };
51
- }[];
52
- defaultVariants: {
53
- size: "md";
54
26
  };
55
- };
27
+ readonly: {
28
+ true: {
29
+ cellTrigger: string[];
30
+ };
31
+ };
32
+ disabled: {
33
+ true: {
34
+ cellTrigger: string[];
35
+ };
36
+ };
37
+ }, {
38
+ readonly: false;
39
+ disabled: false;
40
+ class: {
41
+ cellTrigger: string;
42
+ };
43
+ }[], {
44
+ size: "md";
45
+ }, undefined, {
46
+ root: string;
47
+ header: string;
48
+ body: string;
49
+ heading: string;
50
+ grid: string;
51
+ gridRow: string;
52
+ gridWeekDaysRow: string;
53
+ gridBody: string;
54
+ headCell: string;
55
+ cell: string;
56
+ cellTrigger: string[];
57
+ }>;
56
58
  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
  header: "flex items-center justify-between",
8
8
  body: "flex flex-col space-y-4 pt-4 sm:flex-row sm:space-x-4 sm:space-y-0",
@@ -42,14 +42,31 @@ export default ct(
42
42
  root: "text-xl"
43
43
  }
44
44
  },
45
+ multipleMonths: {
46
+ true: {
47
+ cellTrigger: [
48
+ "data-[outside-view]:data-[selected]:not-hover:bg-inherit data-[outside-view]:data-[selected]:not-hover:color-ui-base/20",
49
+ "data-[outside-view]:data-[selected]:hover:bg-soft-ui-fill/10 data-[outside-view]:data-[selected]:hover:color-ui-base/20"
50
+ ]
51
+ },
52
+ false: {
53
+ cellTrigger: "data-[outside-view]:data-[selected]:color-ui-cx"
54
+ }
55
+ },
45
56
  readonly: {
46
57
  true: {
47
- cellTrigger: "cursor-default data-[today]:not-[[data-selected]]:color-ui-fill/60"
58
+ cellTrigger: [
59
+ "cursor-default data-[today]:not-[[data-selected]]:color-ui-fill/60",
60
+ "data-[outside-view]:data-[selected]:hover:bg-inherit"
61
+ ]
48
62
  }
49
63
  },
50
64
  disabled: {
51
65
  true: {
52
- cellTrigger: "data-[today]:not-[[data-selected]]:color-ui-fill/60 data-[selected]:bg-soft-ui-fill/50"
66
+ cellTrigger: [
67
+ "data-[today]:not-[[data-selected]]:color-ui-fill/60 data-[selected]:bg-soft-ui-fill/50",
68
+ "data-[outside-view]:data-[selected]:hover:bg-inherit"
69
+ ]
53
70
  }
54
71
  }
55
72
  },
@@ -1,62 +1,56 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- header: string;
6
- body: string;
7
- footer: string;
8
- title: string;
9
- description: string;
10
- };
11
- variants: {
12
- variant: {
13
- solid: {
14
- root: string;
15
- description: string;
16
- };
17
- outline: {
18
- root: string;
19
- description: string;
20
- };
21
- soft: {
22
- root: string;
23
- description: string;
24
- };
25
- 'soft-outline': {
26
- root: string;
27
- description: string;
28
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ variant: {
3
+ solid: {
4
+ root: string;
5
+ description: string;
6
+ };
7
+ outline: {
8
+ root: string;
9
+ description: string;
10
+ };
11
+ soft: {
12
+ root: string;
13
+ description: string;
14
+ };
15
+ 'soft-outline': {
16
+ root: string;
17
+ description: string;
29
18
  };
30
19
  };
31
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
32
- variant: {
33
- solid: {
34
- root: string;
35
- description: string;
36
- };
37
- outline: {
38
- root: string;
39
- description: string;
40
- };
41
- soft: {
42
- root: string;
43
- description: string;
44
- };
45
- 'soft-outline': {
46
- root: string;
47
- description: string;
48
- };
49
- };
50
- }, {
51
- root: string;
52
- header: string;
53
- body: string;
54
- footer: string;
55
- title: string;
56
- description: string;
57
- }, undefined>;
58
- defaultVariants: {
59
- variant: "outline";
20
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
21
+ variant: {
22
+ solid: {
23
+ root: string;
24
+ description: string;
25
+ };
26
+ outline: {
27
+ root: string;
28
+ description: string;
29
+ };
30
+ soft: {
31
+ root: string;
32
+ description: string;
33
+ };
34
+ 'soft-outline': {
35
+ root: string;
36
+ description: string;
37
+ };
60
38
  };
61
- };
39
+ }, {
40
+ root: string;
41
+ header: string;
42
+ body: string;
43
+ footer: string;
44
+ title: string;
45
+ description: string;
46
+ }, undefined>, {
47
+ variant: "outline";
48
+ }, undefined, {
49
+ root: string;
50
+ header: string;
51
+ body: string;
52
+ footer: string;
53
+ title: string;
54
+ description: string;
55
+ }>;
62
56
  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-box divide-y",
7
7
  header: "flex flex-wrap items-center gap-1 px-4 py-5 sm:px-6",
8
8
  body: "flex-1 overflow-y-auto p-4 sm:p-6 empty:hidden",