@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,135 +1,129 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- list: string;
6
- indicator: string;
7
- trigger: string[];
8
- content: string;
9
- leadingIcon: string;
10
- label: string;
11
- };
12
- variants: {
13
- variant: {
14
- solid: {
15
- list: string;
16
- trigger: string[];
17
- indicator: string;
18
- };
19
- outline: {
20
- list: string;
21
- trigger: string[];
22
- indicator: string;
23
- };
24
- soft: {
25
- list: string;
26
- trigger: string[];
27
- indicator: string;
28
- };
29
- 'soft-outline': {
30
- list: string;
31
- trigger: string[];
32
- indicator: string;
33
- };
34
- link: {
35
- list: string;
36
- indicator: string;
37
- trigger: string[];
38
- };
39
- };
40
- orientation: {
41
- horizontal: {
42
- root: string;
43
- list: string;
44
- indicator: string;
45
- trigger: string;
46
- };
47
- vertical: {
48
- list: string;
49
- indicator: string;
50
- trigger: string;
51
- };
52
- };
53
- size: {
54
- xs: {
55
- root: string;
56
- };
57
- sm: {
58
- root: string;
59
- };
60
- md: {
61
- root: string;
62
- };
63
- lg: {
64
- root: string;
65
- };
66
- xl: {
67
- root: string;
68
- };
69
- };
70
- evenly: {
71
- true: {
72
- trigger: string;
73
- };
74
- };
75
- };
76
- compoundVariants: ({
77
- size: ("xs" | "sm" | "md")[];
78
- class: {
79
- trigger: string;
80
- indicator?: undefined;
81
- list?: undefined;
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ variant: {
3
+ solid: {
4
+ list: string;
5
+ trigger: string[];
6
+ indicator: string;
82
7
  };
83
- orientation?: undefined;
84
- variant?: undefined;
85
- } | {
86
- size: ("lg" | "xl")[];
87
- class: {
88
- trigger: string;
89
- indicator?: undefined;
90
- list?: undefined;
8
+ outline: {
9
+ list: string;
10
+ trigger: string[];
11
+ indicator: string;
91
12
  };
92
- orientation?: undefined;
93
- variant?: undefined;
94
- } | {
95
- orientation: "horizontal";
96
- variant: ("solid" | "outline" | "soft" | "soft-outline")[];
97
- class: {
13
+ soft: {
14
+ list: string;
15
+ trigger: string[];
98
16
  indicator: string;
99
- trigger?: undefined;
100
- list?: undefined;
101
17
  };
102
- size?: undefined;
103
- } | {
104
- orientation: "horizontal";
105
- variant: "link";
106
- class: {
18
+ 'soft-outline': {
107
19
  list: string;
20
+ trigger: string[];
108
21
  indicator: string;
109
- trigger?: undefined;
110
22
  };
111
- size?: undefined;
112
- } | {
113
- orientation: "vertical";
114
- variant: ("solid" | "outline" | "soft" | "soft-outline")[];
115
- class: {
23
+ link: {
24
+ list: string;
116
25
  indicator: string;
26
+ trigger: string[];
27
+ };
28
+ };
29
+ orientation: {
30
+ horizontal: {
31
+ root: string;
117
32
  list: string;
118
- trigger?: undefined;
33
+ indicator: string;
34
+ trigger: string;
119
35
  };
120
- size?: undefined;
121
- } | {
122
- orientation: "vertical";
123
- variant: "link";
124
- class: {
36
+ vertical: {
125
37
  list: string;
126
38
  indicator: string;
127
- trigger?: undefined;
39
+ trigger: string;
128
40
  };
129
- size?: undefined;
130
- })[];
131
- defaultVariants: {
132
- size: "md";
133
41
  };
134
- };
42
+ size: {
43
+ xs: {
44
+ root: string;
45
+ };
46
+ sm: {
47
+ root: string;
48
+ };
49
+ md: {
50
+ root: string;
51
+ };
52
+ lg: {
53
+ root: string;
54
+ };
55
+ xl: {
56
+ root: string;
57
+ };
58
+ };
59
+ evenly: {
60
+ true: {
61
+ trigger: string;
62
+ };
63
+ };
64
+ }, ({
65
+ size: ("xs" | "sm" | "md")[];
66
+ class: {
67
+ trigger: string;
68
+ indicator?: undefined;
69
+ list?: undefined;
70
+ };
71
+ orientation?: undefined;
72
+ variant?: undefined;
73
+ } | {
74
+ size: ("lg" | "xl")[];
75
+ class: {
76
+ trigger: string;
77
+ indicator?: undefined;
78
+ list?: undefined;
79
+ };
80
+ orientation?: undefined;
81
+ variant?: undefined;
82
+ } | {
83
+ orientation: "horizontal";
84
+ variant: ("solid" | "outline" | "soft" | "soft-outline")[];
85
+ class: {
86
+ indicator: string;
87
+ trigger?: undefined;
88
+ list?: undefined;
89
+ };
90
+ size?: undefined;
91
+ } | {
92
+ orientation: "horizontal";
93
+ variant: "link";
94
+ class: {
95
+ list: string;
96
+ indicator: string;
97
+ trigger?: undefined;
98
+ };
99
+ size?: undefined;
100
+ } | {
101
+ orientation: "vertical";
102
+ variant: ("solid" | "outline" | "soft" | "soft-outline")[];
103
+ class: {
104
+ indicator: string;
105
+ list: string;
106
+ trigger?: undefined;
107
+ };
108
+ size?: undefined;
109
+ } | {
110
+ orientation: "vertical";
111
+ variant: "link";
112
+ class: {
113
+ list: string;
114
+ indicator: string;
115
+ trigger?: undefined;
116
+ };
117
+ size?: undefined;
118
+ })[], {
119
+ size: "md";
120
+ }, undefined, {
121
+ root: string;
122
+ list: string;
123
+ indicator: string;
124
+ trigger: string[];
125
+ content: string;
126
+ leadingIcon: string;
127
+ label: string;
128
+ }>;
135
129
  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: "flex items-center gap-2",
7
7
  list: "relative flex p-1 group",
8
8
  indicator: "absolute transition-all duration-200",
@@ -1,96 +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: ({
52
- variant: ("soft" | "ghost" | "none")[];
53
- highlight: false;
54
- underline: true;
55
- class: {
19
+ variant: {
20
+ outline: {
56
21
  root: string[];
57
22
  };
58
- size?: undefined;
59
- } | {
60
- size: ("xs" | "sm" | "md")[];
61
- class: {
62
- root: string;
23
+ soft: {
24
+ root: string[];
63
25
  };
64
- variant?: undefined;
65
- highlight?: undefined;
66
- underline?: undefined;
67
- } | {
68
- size: ("lg" | "xl")[];
69
- class: {
70
- root: string;
26
+ 'soft-outline': {
27
+ root: string[];
71
28
  };
72
- variant?: undefined;
73
- highlight?: undefined;
74
- underline?: undefined;
75
- } | {
76
- variant: ("soft" | "soft-outline" | "ghost" | "none")[];
77
- highlight: true;
78
- class: {
79
- root: string;
29
+ ghost: {
30
+ root: string[];
80
31
  };
81
- underline?: undefined;
82
- size?: undefined;
83
- } | {
84
- variant: "outline"[];
85
- highlight: true;
86
- class: {
32
+ none: {
87
33
  root: string;
88
34
  };
89
- underline?: undefined;
90
- size?: undefined;
91
- })[];
92
- defaultVariants: {
93
- size: "md";
94
35
  };
95
- };
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: {
80
+ root: string;
81
+ };
82
+ underline?: undefined;
83
+ size?: undefined;
84
+ })[], {
85
+ size: "md";
86
+ }, undefined, {
87
+ root: string;
88
+ base: string[];
89
+ }>;
96
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",
@@ -1,122 +1,116 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- viewport: string[];
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ clickable: {
3
+ true: {
4
+ base: string;
5
+ };
6
+ };
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;
25
+ };
26
+ };
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: {
58
+ base: string[];
59
+ viewport?: undefined;
60
+ };
61
+ position?: undefined;
62
+ } | {
63
+ swipeDirection: ("up" | "down")[];
64
+ class: {
5
65
  base: string[];
66
+ viewport?: undefined;
6
67
  };
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
- };
68
+ position?: undefined;
69
+ })[], import("@byyuurin/ui-kit").CVDefaultVariants<{
70
+ clickable: {
71
+ true: {
72
+ base: string;
46
73
  };
47
74
  };
48
- compoundVariants: ({
49
- position: ("top-right" | "top-left" | "top-center")[];
50
- class: {
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': {
51
86
  viewport: string;
52
- base: string;
53
87
  };
54
- swipeDirection?: undefined;
55
- } | {
56
- position: ("bottom-right" | "bottom-left" | "bottom-center")[];
57
- class: {
88
+ 'bottom-center': {
58
89
  viewport: string;
90
+ };
91
+ 'bottom-right': {
92
+ viewport: string;
93
+ };
94
+ };
95
+ swipeDirection: {
96
+ up: {
59
97
  base: string;
60
98
  };
61
- swipeDirection?: undefined;
62
- } | {
63
- swipeDirection: ("left" | "right")[];
64
- class: {
65
- base: string[];
66
- viewport?: undefined;
67
- };
68
- position?: undefined;
69
- } | {
70
- swipeDirection: ("up" | "down")[];
71
- class: {
72
- base: string[];
73
- viewport?: undefined;
74
- };
75
- position?: undefined;
76
- })[];
77
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
78
- clickable: {
79
- true: {
80
- base: string;
81
- };
82
- };
83
- position: {
84
- 'top-left': {
85
- viewport: string;
86
- };
87
- 'top-center': {
88
- viewport: string;
89
- };
90
- 'top-right': {
91
- viewport: string;
92
- };
93
- 'bottom-left': {
94
- viewport: string;
95
- };
96
- 'bottom-center': {
97
- viewport: string;
98
- };
99
- 'bottom-right': {
100
- viewport: string;
101
- };
102
- };
103
- swipeDirection: {
104
- up: {
105
- base: string;
106
- };
107
- right: {
108
- base: string;
109
- };
110
- down: {
111
- base: string;
112
- };
113
- left: {
114
- base: string;
115
- };
116
- };
117
- }, {
118
- viewport: string[];
119
- base: string[];
120
- }>;
121
- };
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
+ }>;
122
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)]"