@byyuurin/ui 0.0.6 → 0.0.8

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 (198) hide show
  1. package/README.md +4 -5
  2. package/dist/module.cjs +5 -0
  3. package/dist/module.json +12 -0
  4. package/dist/{nuxt.mjs → module.mjs} +8 -8
  5. package/dist/module.mjs.map +1 -0
  6. package/dist/runtime/app/injections.d.ts +16 -0
  7. package/dist/runtime/app/injections.js +31 -0
  8. package/dist/runtime/components/Accordion.vue +27 -38
  9. package/dist/runtime/components/Alert.vue +23 -16
  10. package/dist/runtime/components/App.vue +15 -15
  11. package/dist/runtime/components/Avatar.vue +73 -0
  12. package/dist/runtime/components/AvatarGroup.vue +90 -0
  13. package/dist/runtime/components/Badge.vue +15 -10
  14. package/dist/runtime/components/Breadcrumb.vue +105 -0
  15. package/dist/runtime/components/Button.vue +22 -23
  16. package/dist/runtime/components/ButtonGroup.vue +12 -10
  17. package/dist/runtime/components/Card.vue +16 -8
  18. package/dist/runtime/components/Carousel.vue +19 -12
  19. package/dist/runtime/components/Checkbox.vue +16 -12
  20. package/dist/runtime/components/Chip.vue +17 -12
  21. package/dist/runtime/components/Collapsible.vue +56 -0
  22. package/dist/runtime/components/Drawer.vue +18 -17
  23. package/dist/runtime/components/Input.vue +28 -28
  24. package/dist/runtime/components/InputNumber.vue +169 -0
  25. package/dist/runtime/components/Kbd.vue +51 -0
  26. package/dist/runtime/components/Link.vue +301 -72
  27. package/dist/runtime/components/LinkBase.vue +88 -0
  28. package/dist/runtime/components/Modal.vue +11 -9
  29. package/dist/runtime/components/ModalProvider.vue +2 -1
  30. package/dist/runtime/components/Pagination.vue +30 -30
  31. package/dist/runtime/components/PinInput.vue +7 -7
  32. package/dist/runtime/components/Popover.vue +7 -7
  33. package/dist/runtime/components/Progress.vue +165 -0
  34. package/dist/runtime/components/RadioGroup.vue +33 -29
  35. package/dist/runtime/components/Select.vue +40 -40
  36. package/dist/runtime/components/Separator.vue +63 -0
  37. package/dist/runtime/components/Skeleton.vue +33 -0
  38. package/dist/runtime/components/Slider.vue +6 -6
  39. package/dist/runtime/components/Switch.vue +14 -15
  40. package/dist/runtime/components/Table.vue +300 -0
  41. package/dist/runtime/components/Tabs.vue +25 -21
  42. package/dist/runtime/components/Textarea.vue +11 -11
  43. package/dist/runtime/components/Toast.vue +15 -14
  44. package/dist/runtime/components/Toaster.vue +5 -39
  45. package/dist/runtime/components/Tooltip.vue +7 -7
  46. package/dist/runtime/composables/useAvatarGroup.d.ts +4 -0
  47. package/dist/runtime/composables/useAvatarGroup.js +8 -0
  48. package/dist/runtime/composables/useButtonGroup.d.ts +4 -12
  49. package/dist/runtime/composables/{useButtonGroup.mjs → useButtonGroup.js} +1 -6
  50. package/dist/runtime/composables/useComponentIcons.d.ts +9 -9
  51. package/dist/runtime/composables/useComponentIcons.js +24 -0
  52. package/dist/runtime/composables/useKbd.d.ts +35 -0
  53. package/dist/runtime/composables/useKbd.js +49 -0
  54. package/dist/runtime/composables/useLocale.d.ts +8 -0
  55. package/dist/runtime/composables/useLocale.js +22 -0
  56. package/dist/runtime/composables/useModal.d.ts +2 -7
  57. package/dist/runtime/composables/{useModal.mjs → useModal.js} +1 -6
  58. package/dist/runtime/composables/useTheme.d.ts +2 -6
  59. package/dist/runtime/composables/useTheme.js +16 -0
  60. package/dist/runtime/composables/useToast.d.ts +1 -1
  61. package/dist/runtime/index.d.ts +40 -0
  62. package/dist/runtime/index.js +40 -0
  63. package/dist/runtime/locale/en.d.ts +2 -0
  64. package/dist/runtime/locale/en.js +28 -0
  65. package/dist/runtime/locale/index.d.ts +2 -0
  66. package/dist/runtime/locale/index.js +2 -0
  67. package/dist/runtime/locale/zh-tw.d.ts +2 -0
  68. package/dist/runtime/locale/zh-tw.js +28 -0
  69. package/dist/runtime/theme/accordion.d.ts +5 -5
  70. package/dist/runtime/theme/{accordion.mjs → accordion.js} +2 -2
  71. package/dist/runtime/theme/alert.d.ts +2 -2
  72. package/dist/runtime/theme/{alert.mjs → alert.js} +4 -4
  73. package/dist/runtime/theme/app.d.ts +8 -5
  74. package/dist/runtime/theme/app.js +18 -0
  75. package/dist/runtime/theme/avatar-group.d.ts +52 -0
  76. package/dist/runtime/theme/avatar-group.js +32 -0
  77. package/dist/runtime/theme/avatar.d.ts +56 -0
  78. package/dist/runtime/theme/avatar.js +34 -0
  79. package/dist/runtime/theme/badge.d.ts +45 -21
  80. package/dist/runtime/theme/{badge.mjs → badge.js} +2 -2
  81. package/dist/runtime/theme/breadcrumb.d.ts +67 -0
  82. package/dist/runtime/theme/breadcrumb.js +44 -0
  83. package/dist/runtime/theme/button-group.d.ts +2 -2
  84. package/dist/runtime/theme/button.d.ts +61 -115
  85. package/dist/runtime/theme/button.js +164 -0
  86. package/dist/runtime/theme/card.d.ts +38 -38
  87. package/dist/runtime/theme/card.js +37 -0
  88. package/dist/runtime/theme/carousel.d.ts +2 -2
  89. package/dist/runtime/theme/{carousel.mjs → carousel.js} +2 -2
  90. package/dist/runtime/theme/checkbox.d.ts +1 -1
  91. package/dist/runtime/theme/{checkbox.mjs → checkbox.js} +3 -3
  92. package/dist/runtime/theme/chip.d.ts +47 -14
  93. package/dist/runtime/theme/{chip.mjs → chip.js} +7 -9
  94. package/dist/runtime/theme/collapsible.d.ts +38 -0
  95. package/dist/runtime/theme/collapsible.js +10 -0
  96. package/dist/runtime/theme/drawer.d.ts +43 -43
  97. package/dist/runtime/theme/{drawer.mjs → drawer.js} +33 -22
  98. package/dist/runtime/theme/index.d.ts +37 -27
  99. package/dist/runtime/theme/index.js +37 -0
  100. package/dist/runtime/theme/input-number.d.ts +141 -0
  101. package/dist/runtime/theme/input-number.js +95 -0
  102. package/dist/runtime/theme/input.d.ts +77 -105
  103. package/dist/runtime/theme/{input.mjs → input.js} +25 -25
  104. package/dist/runtime/theme/kbd.d.ts +39 -0
  105. package/dist/runtime/theme/kbd.js +26 -0
  106. package/dist/runtime/theme/link.d.ts +2 -2
  107. package/dist/runtime/theme/{link.mjs → link.js} +1 -1
  108. package/dist/runtime/theme/modal.d.ts +31 -8
  109. package/dist/runtime/theme/{modal.mjs → modal.js} +4 -9
  110. package/dist/runtime/theme/pagination.d.ts +17 -17
  111. package/dist/runtime/theme/pinInput.d.ts +42 -42
  112. package/dist/runtime/theme/{pinInput.mjs → pinInput.js} +10 -10
  113. package/dist/runtime/theme/popover.d.ts +8 -8
  114. package/dist/runtime/theme/{popover.mjs → popover.js} +1 -1
  115. package/dist/runtime/theme/progress.d.ts +122 -0
  116. package/dist/runtime/theme/progress.js +95 -0
  117. package/dist/runtime/theme/radio-group.d.ts +1 -1
  118. package/dist/runtime/theme/{radio-group.mjs → radio-group.js} +1 -1
  119. package/dist/runtime/theme/scroll-area.d.ts +17 -17
  120. package/dist/runtime/theme/{scroll-area.mjs → scroll-area.js} +2 -2
  121. package/dist/runtime/theme/select.d.ts +93 -108
  122. package/dist/runtime/theme/{select.mjs → select.js} +31 -31
  123. package/dist/runtime/theme/separator.d.ts +95 -0
  124. package/dist/runtime/theme/separator.js +53 -0
  125. package/dist/runtime/theme/skeleton.d.ts +8 -0
  126. package/dist/runtime/theme/skeleton.js +7 -0
  127. package/dist/runtime/theme/slider.d.ts +1 -1
  128. package/dist/runtime/theme/{slider.mjs → slider.js} +3 -3
  129. package/dist/runtime/theme/switch.d.ts +1 -1
  130. package/dist/runtime/theme/{switch.mjs → switch.js} +3 -3
  131. package/dist/runtime/theme/table.d.ts +89 -0
  132. package/dist/runtime/theme/table.js +35 -0
  133. package/dist/runtime/theme/tabs.d.ts +70 -53
  134. package/dist/runtime/theme/{tabs.mjs → tabs.js} +12 -12
  135. package/dist/runtime/theme/textarea.d.ts +43 -37
  136. package/dist/runtime/theme/{textarea.mjs → textarea.js} +10 -10
  137. package/dist/runtime/theme/toast.d.ts +2 -2
  138. package/dist/runtime/theme/{toast.mjs → toast.js} +3 -3
  139. package/dist/runtime/theme/toaster.d.ts +42 -27
  140. package/dist/runtime/theme/tooltip.d.ts +11 -11
  141. package/dist/runtime/theme/tooltip.js +11 -0
  142. package/dist/runtime/types/components.d.ts +37 -27
  143. package/dist/runtime/types/index.d.ts +5 -4
  144. package/dist/runtime/types/index.js +3 -0
  145. package/dist/runtime/types/locale.d.ts +23 -0
  146. package/dist/runtime/types/locale.js +0 -0
  147. package/dist/runtime/types/utils.d.ts +1 -1
  148. package/dist/runtime/types/utils.js +0 -0
  149. package/dist/runtime/utils/index.d.ts +9 -4
  150. package/dist/runtime/utils/{index.mjs → index.js} +9 -7
  151. package/dist/runtime/utils/link.d.ts +22 -7
  152. package/dist/runtime/utils/link.js +30 -0
  153. package/dist/runtime/utils/styler.d.ts +1 -1
  154. package/dist/runtime/utils/translator.d.ts +18 -0
  155. package/dist/runtime/utils/translator.js +8 -0
  156. package/dist/runtime/vue/stubs.d.ts +9 -0
  157. package/dist/runtime/vue/stubs.js +16 -0
  158. package/dist/shared/ui.ba24b380.mjs +4 -0
  159. package/dist/shared/ui.ba24b380.mjs.map +1 -0
  160. package/dist/types.d.mts +1 -0
  161. package/dist/types.d.ts +1 -0
  162. package/dist/unocss.d.mts +6 -11
  163. package/dist/unocss.d.ts +6 -11
  164. package/dist/unocss.mjs +40 -21
  165. package/dist/unocss.mjs.map +1 -1
  166. package/dist/unplugin.mjs +35 -8
  167. package/dist/unplugin.mjs.map +1 -1
  168. package/dist/vite.d.mts +0 -1
  169. package/dist/vite.d.ts +0 -1
  170. package/dist/vite.mjs +3 -1
  171. package/dist/vite.mjs.map +1 -1
  172. package/package.json +50 -38
  173. package/dist/index.d.ts +0 -29
  174. package/dist/index.mjs +0 -29
  175. package/dist/nuxt.mjs.map +0 -1
  176. package/dist/runtime/composables/useComponentIcons.mjs +0 -24
  177. package/dist/runtime/composables/useTheme.mjs +0 -26
  178. package/dist/runtime/theme/app.mjs +0 -15
  179. package/dist/runtime/theme/button.mjs +0 -148
  180. package/dist/runtime/theme/card.mjs +0 -14
  181. package/dist/runtime/theme/index.mjs +0 -27
  182. package/dist/runtime/theme/tooltip.mjs +0 -11
  183. package/dist/runtime/types/components.mjs +0 -27
  184. package/dist/runtime/types/index.mjs +0 -2
  185. package/dist/runtime/utils/link.mjs +0 -4
  186. package/dist/shared/ui.D4zm1r0C.mjs +0 -4
  187. package/dist/shared/ui.D4zm1r0C.mjs.map +0 -1
  188. /package/dist/{nuxt.d.mts → module.d.mts} +0 -0
  189. /package/dist/{nuxt.d.ts → module.d.ts} +0 -0
  190. /package/dist/runtime/composables/{useToast.mjs → useToast.js} +0 -0
  191. /package/dist/runtime/theme/{button-group.mjs → button-group.js} +0 -0
  192. /package/dist/runtime/theme/{pagination.mjs → pagination.js} +0 -0
  193. /package/dist/runtime/theme/{toaster.mjs → toaster.js} +0 -0
  194. /package/dist/runtime/types/{utils.mjs → components.js} +0 -0
  195. /package/dist/runtime/utils/{extend-theme.mjs → extend-theme.js} +0 -0
  196. /package/dist/runtime/utils/{styler.mjs → styler.js} +0 -0
  197. /package/dist/runtime/{composables/defineInjection.d.ts → utils/vue.d.ts} +0 -0
  198. /package/dist/runtime/{composables/defineInjection.mjs → utils/vue.js} +0 -0
@@ -14,7 +14,7 @@ export default ct(
14
14
  "disabled:color-ui-fill aria-disabled:color-ui-fill"
15
15
  ],
16
16
  false: [
17
- "color-ui-cb hover:color-ui-cb/80 transition-colors",
17
+ "color-ui-cb/80 hover:color-ui-cb/60 transition-colors",
18
18
  "disabled:hover:color-ui-cb aria-disabled:hover:color-ui-cb"
19
19
  ]
20
20
  },
@@ -17,9 +17,29 @@ declare const _default: {
17
17
  content: string;
18
18
  };
19
19
  };
20
- blur: {
20
+ size: {
21
+ fullscreen: {
22
+ content: string;
23
+ };
24
+ sm: {
25
+ content: string;
26
+ };
27
+ md: {
28
+ content: string;
29
+ };
30
+ lg: {
31
+ content: string;
32
+ };
33
+ xl: {
34
+ content: string;
35
+ };
36
+ };
37
+ };
38
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
39
+ transition: {
21
40
  true: {
22
41
  overlay: string;
42
+ content: string;
23
43
  };
24
44
  };
25
45
  size: {
@@ -39,13 +59,16 @@ declare const _default: {
39
59
  content: string;
40
60
  };
41
61
  };
42
- };
43
- compoundVariants: {
44
- size: ("sm" | "md" | "lg" | "xl")[];
45
- class: {
46
- content: string[];
47
- };
48
- }[];
62
+ }, {
63
+ overlay: string;
64
+ content: string;
65
+ header: string;
66
+ body: string;
67
+ footer: string;
68
+ title: string;
69
+ description: string;
70
+ close: string;
71
+ }, undefined>;
49
72
  defaultVariants: {
50
73
  size: "sm";
51
74
  };
@@ -3,8 +3,8 @@ export default ct(
3
3
  /* @unocss-include */
4
4
  {
5
5
  slots: {
6
- overlay: "fixed inset-0 bg-ui-c3/75",
7
- content: "fixed bg-solid-ui-c1 divide-y divide-ui-cb/10 flex flex-col focus:outline-none",
6
+ overlay: "fixed z-1 inset-0 bg-black/40",
7
+ content: "fixed z-1 bg-ui-cx divide-y divide-ui-cb/10 flex flex-col focus:outline-none",
8
8
  header: "flex flex-wrap items-center gap-1 px-4 py-5 sm:px-6",
9
9
  body: "flex-1 overflow-y-auto p-4 sm:p-6 empty:hidden",
10
10
  footer: "flex items-center gap-1.5 p-4 sm:px-6",
@@ -19,11 +19,6 @@ export default ct(
19
19
  content: "data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"
20
20
  }
21
21
  },
22
- blur: {
23
- true: {
24
- overlay: "backdrop-blur-sm"
25
- }
26
- },
27
22
  size: {
28
23
  fullscreen: {
29
24
  content: "inset-0"
@@ -47,8 +42,8 @@ export default ct(
47
42
  size: ["sm", "md", "lg", "xl"],
48
43
  class: {
49
44
  content: [
50
- "bottom-4 left-[50%] translate-x-[-50%] h-auto max-w-[calc(100%-2rem)] max-h-[calc(100%-2rem)] ring ring-ui-c2",
51
- "sm:bottom-auto sm:top-[50%] sm:translate-y-[-50%] sm:rounded-ui-box sm:shadow-lg"
45
+ "bottom-4 left-[50%] translate-x-[-50%] h-auto max-w-[calc(100%-2rem)] max-h-[calc(100%-2rem)] rounded-ui-box shadow-sm shadow-ui-cb/10 ring ring-ui-cb/10",
46
+ "sm:bottom-auto sm:top-[50%] sm:translate-y-[-50%]"
52
47
  ]
53
48
  }
54
49
  }
@@ -10,22 +10,22 @@ declare const _default: {
10
10
  variants: {
11
11
  [key: string]: {
12
12
  [key: string]: "" | {
13
- root?: import("@byyuurin/ui-kit/index").ClassValue;
14
- item?: import("@byyuurin/ui-kit/index").ClassValue;
15
- label?: import("@byyuurin/ui-kit/index").ClassValue;
16
- list?: import("@byyuurin/ui-kit/index").ClassValue;
17
- ellipsis?: import("@byyuurin/ui-kit/index").ClassValue;
13
+ root?: import("@byyuurin/ui-kit").ClassValue;
14
+ item?: import("@byyuurin/ui-kit").ClassValue;
15
+ label?: import("@byyuurin/ui-kit").ClassValue;
16
+ list?: import("@byyuurin/ui-kit").ClassValue;
17
+ ellipsis?: import("@byyuurin/ui-kit").ClassValue;
18
18
  } | null;
19
19
  };
20
20
  };
21
- compoundVariants: import("@byyuurin/ui-kit/index").CVCompoundVariants<{
21
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
22
22
  [key: string]: {
23
23
  [key: string]: "" | {
24
- root?: import("@byyuurin/ui-kit/index").ClassValue;
25
- item?: import("@byyuurin/ui-kit/index").ClassValue;
26
- label?: import("@byyuurin/ui-kit/index").ClassValue;
27
- list?: import("@byyuurin/ui-kit/index").ClassValue;
28
- ellipsis?: import("@byyuurin/ui-kit/index").ClassValue;
24
+ root?: import("@byyuurin/ui-kit").ClassValue;
25
+ item?: import("@byyuurin/ui-kit").ClassValue;
26
+ label?: import("@byyuurin/ui-kit").ClassValue;
27
+ list?: import("@byyuurin/ui-kit").ClassValue;
28
+ ellipsis?: import("@byyuurin/ui-kit").ClassValue;
29
29
  } | null;
30
30
  };
31
31
  }, {
@@ -35,14 +35,14 @@ declare const _default: {
35
35
  ellipsis: string;
36
36
  label: string;
37
37
  }, undefined>;
38
- defaultVariants: import("@byyuurin/ui-kit/index").CVDefaultVariants<{
38
+ defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
39
39
  [key: string]: {
40
40
  [key: string]: "" | {
41
- root?: import("@byyuurin/ui-kit/index").ClassValue;
42
- item?: import("@byyuurin/ui-kit/index").ClassValue;
43
- label?: import("@byyuurin/ui-kit/index").ClassValue;
44
- list?: import("@byyuurin/ui-kit/index").ClassValue;
45
- ellipsis?: import("@byyuurin/ui-kit/index").ClassValue;
41
+ root?: import("@byyuurin/ui-kit").ClassValue;
42
+ item?: import("@byyuurin/ui-kit").ClassValue;
43
+ label?: import("@byyuurin/ui-kit").ClassValue;
44
+ list?: import("@byyuurin/ui-kit").ClassValue;
45
+ ellipsis?: import("@byyuurin/ui-kit").ClassValue;
46
46
  } | null;
47
47
  };
48
48
  }, {
@@ -47,52 +47,52 @@ declare const _default: {
47
47
  true: "";
48
48
  };
49
49
  };
50
- compoundVariants: ({
51
- variant: ("soft" | "ghost" | "none")[];
52
- highlight: false;
53
- underline: true;
54
- class: {
55
- container: string[];
56
- base?: undefined;
57
- };
58
- size?: undefined;
59
- } | {
60
- size: ("xs" | "sm" | "md")[];
61
- class: {
62
- base: string;
63
- container?: undefined;
50
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
51
+ size: {
52
+ xs: {
53
+ container: string;
54
+ };
55
+ sm: {
56
+ container: string;
57
+ };
58
+ md: {
59
+ container: string;
60
+ };
61
+ lg: {
62
+ container: string;
63
+ };
64
+ xl: {
65
+ container: string;
66
+ };
64
67
  };
65
- variant?: undefined;
66
- highlight?: undefined;
67
- underline?: undefined;
68
- } | {
69
- size: ("lg" | "xl")[];
70
- class: {
71
- base: string;
72
- container?: undefined;
68
+ variant: {
69
+ outline: {
70
+ container: string[];
71
+ };
72
+ soft: {
73
+ container: string[];
74
+ };
75
+ 'soft-outline': {
76
+ container: string[];
77
+ };
78
+ ghost: {
79
+ container: string[];
80
+ };
81
+ none: {
82
+ container: string;
83
+ };
73
84
  };
74
- variant?: undefined;
75
- highlight?: undefined;
76
- underline?: undefined;
77
- } | {
78
- variant: ("soft" | "soft-outline" | "ghost" | "none")[];
79
- highlight: true;
80
- class: {
81
- container: string;
82
- base?: undefined;
85
+ underline: {
86
+ true: "";
83
87
  };
84
- underline?: undefined;
85
- size?: undefined;
86
- } | {
87
- variant: "outline"[];
88
- highlight: true;
89
- class: {
90
- container: string;
91
- base?: undefined;
88
+ highlight: {
89
+ true: "";
92
90
  };
93
- underline?: undefined;
94
- size?: undefined;
95
- })[];
91
+ }, {
92
+ root: string;
93
+ container: string;
94
+ base: string;
95
+ }, undefined>;
96
96
  defaultVariants: {
97
97
  size: "md";
98
98
  };
@@ -28,29 +28,29 @@ export default ct(
28
28
  variant: {
29
29
  "outline": {
30
30
  container: [
31
- "color-ui-cb/80 bg-solid-ui-c1 ring ring-inset ring-ui-cb/50",
31
+ "color-ui-cb/80 bg-ui-cx ring ring-inset ring-ui-cb/30",
32
32
  "focus-within:ring-2 focus-within:ring-ui-cb/50",
33
33
  "aria-disabled:ring-ui-cb/80 hover:aria-disabled:ring-ui-cb/80"
34
34
  ]
35
35
  },
36
36
  "soft": {
37
37
  container: [
38
- "color-ui-cb/80 bg-solid-ui-cb/4",
39
- "hover:bg-solid-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-solid-ui-cb/8 focus-within:color-ui-cb/85",
40
- "aria-disabled:color-ui-content/80 aria-disabled:bg-solid-ui-fill/5 hover:aria-disabled:color-ui-content/80 hover:aria-disabled:bg-solid-ui-fill/5"
38
+ "color-ui-cb/80 bg-soft-ui-cb/4",
39
+ "hover:bg-soft-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-soft-ui-cb/8 focus-within:color-ui-cb/85",
40
+ "aria-disabled:color-ui-content/80 aria-disabled:bg-soft-ui-fill/5 hover:aria-disabled:color-ui-content/80 hover:aria-disabled:bg-soft-ui-fill/5"
41
41
  ]
42
42
  },
43
43
  "soft-outline": {
44
44
  container: [
45
- "color-ui-cb/80 bg-solid-ui-cb/4 ring ring-inset ring-ui-cb/10",
46
- "hover:bg-solid-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-solid-ui-cb/8 focus-within:color-ui-cb/85",
47
- "aria-disabled:color-ui-content/80 aria-disabled:bg-solid-ui-fill/5 hover:aria-disabled:color-ui-content/80 hover:aria-disabled:bg-solid-ui-fill/5"
45
+ "color-ui-cb/80 bg-soft-ui-cb/4 ring ring-inset ring-ui-cb/30",
46
+ "hover:bg-soft-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-soft-ui-cb/8 focus-within:color-ui-cb/85",
47
+ "aria-disabled:color-ui-content/80 aria-disabled:bg-soft-ui-fill/5 hover:aria-disabled:color-ui-content/80 hover:aria-disabled:bg-soft-ui-fill/5"
48
48
  ]
49
49
  },
50
50
  "ghost": {
51
51
  container: [
52
52
  "color-ui-cb/80 bg-transparent",
53
- "hover:bg-solid-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-solid-ui-cb/8 focus-within:color-ui-cb/85",
53
+ "hover:bg-soft-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-soft-ui-cb/8 focus-within:color-ui-cb/85",
54
54
  "aria-disabled:color-ui-fill/80 aria-disabled:bg-transparent hover:aria-disabled:color-ui-fill/80 hover:aria-disabled:bg-transparent"
55
55
  ]
56
56
  },
@@ -72,8 +72,8 @@ export default ct(
72
72
  underline: true,
73
73
  class: {
74
74
  container: [
75
- "relative after:content-empty after:absolute after:inset-x-0 after:bottom-0 after:h-1px after:bg-solid-ui-cb/40",
76
- "focus-within:after:h-2px focus-within:after:bg-solid-ui-fill/60"
75
+ "relative after:content-empty after:absolute after:inset-x-0 after:bottom-0 after:h-1px after:bg-soft-ui-cb/40",
76
+ "focus-within:after:h-2px focus-within:after:bg-soft-ui-fill/60"
77
77
  ]
78
78
  }
79
79
  },
@@ -7,27 +7,27 @@ declare const _default: {
7
7
  variants: {
8
8
  [key: string]: {
9
9
  [key: string]: "" | {
10
- content?: import("@byyuurin/ui-kit/index").ClassValue;
11
- arrow?: import("@byyuurin/ui-kit/index").ClassValue;
10
+ content?: import("@byyuurin/ui-kit").ClassValue;
11
+ arrow?: import("@byyuurin/ui-kit").ClassValue;
12
12
  } | null;
13
13
  };
14
14
  };
15
- compoundVariants: import("@byyuurin/ui-kit/index").CVCompoundVariants<{
15
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
16
16
  [key: string]: {
17
17
  [key: string]: "" | {
18
- content?: import("@byyuurin/ui-kit/index").ClassValue;
19
- arrow?: import("@byyuurin/ui-kit/index").ClassValue;
18
+ content?: import("@byyuurin/ui-kit").ClassValue;
19
+ arrow?: import("@byyuurin/ui-kit").ClassValue;
20
20
  } | null;
21
21
  };
22
22
  }, {
23
23
  content: string[];
24
24
  arrow: string;
25
25
  }, undefined>;
26
- defaultVariants: import("@byyuurin/ui-kit/index").CVDefaultVariants<{
26
+ defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
27
27
  [key: string]: {
28
28
  [key: string]: "" | {
29
- content?: import("@byyuurin/ui-kit/index").ClassValue;
30
- arrow?: import("@byyuurin/ui-kit/index").ClassValue;
29
+ content?: import("@byyuurin/ui-kit").ClassValue;
30
+ arrow?: import("@byyuurin/ui-kit").ClassValue;
31
31
  } | null;
32
32
  };
33
33
  }, {
@@ -4,7 +4,7 @@ export default ct(
4
4
  {
5
5
  slots: {
6
6
  content: [
7
- "color-ui-base bg-solid-ui-base shadow-lg rounded-ui-box ring ring-ui-base/10",
7
+ "z-1 color-ui-base bg-ui-base shadow-lg rounded-ui-box ring ring-ui-base/10",
8
8
  "data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] focus:outline-none pointer-events-auto"
9
9
  ],
10
10
  arrow: "fill-ui-base stroke-ui-cb/10"
@@ -0,0 +1,122 @@
1
+ declare const _default: {
2
+ base: undefined;
3
+ slots: {
4
+ wrapper: string;
5
+ root: string;
6
+ indicator: string;
7
+ status: string;
8
+ steps: string;
9
+ step: string;
10
+ };
11
+ variants: {
12
+ size: {
13
+ xs: {
14
+ wrapper: string;
15
+ };
16
+ sm: {
17
+ wrapper: string;
18
+ };
19
+ md: {
20
+ wrapper: string;
21
+ };
22
+ lg: {
23
+ wrapper: string;
24
+ };
25
+ xl: {
26
+ wrapper: string;
27
+ };
28
+ };
29
+ step: {
30
+ active: {
31
+ step: string;
32
+ };
33
+ first: {
34
+ step: string;
35
+ };
36
+ other: {
37
+ step: string;
38
+ };
39
+ last: {
40
+ step: string;
41
+ };
42
+ };
43
+ orientation: {
44
+ horizontal: {
45
+ wrapper: string;
46
+ root: string;
47
+ status: string;
48
+ };
49
+ vertical: {
50
+ wrapper: string;
51
+ root: string;
52
+ status: string;
53
+ };
54
+ };
55
+ inverted: {
56
+ true: {
57
+ status: string;
58
+ };
59
+ };
60
+ };
61
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
62
+ size: {
63
+ xs: {
64
+ wrapper: string;
65
+ };
66
+ sm: {
67
+ wrapper: string;
68
+ };
69
+ md: {
70
+ wrapper: string;
71
+ };
72
+ lg: {
73
+ wrapper: string;
74
+ };
75
+ xl: {
76
+ wrapper: string;
77
+ };
78
+ };
79
+ step: {
80
+ active: {
81
+ step: string;
82
+ };
83
+ first: {
84
+ step: string;
85
+ };
86
+ other: {
87
+ step: string;
88
+ };
89
+ last: {
90
+ step: string;
91
+ };
92
+ };
93
+ orientation: {
94
+ horizontal: {
95
+ wrapper: string;
96
+ root: string;
97
+ status: string;
98
+ };
99
+ vertical: {
100
+ wrapper: string;
101
+ root: string;
102
+ status: string;
103
+ };
104
+ };
105
+ inverted: {
106
+ true: {
107
+ status: string;
108
+ };
109
+ };
110
+ }, {
111
+ wrapper: string;
112
+ root: string;
113
+ indicator: string;
114
+ status: string;
115
+ steps: string;
116
+ step: string;
117
+ }, undefined>;
118
+ defaultVariants: {
119
+ size: "md";
120
+ };
121
+ };
122
+ export default _default;
@@ -0,0 +1,95 @@
1
+ import { ct } from "@byyuurin/ui-kit";
2
+ export default ct(
3
+ /* @unocss-include */
4
+ {
5
+ slots: {
6
+ wrapper: "gap-2",
7
+ root: "relative overflow-hidden rounded-full bg-soft-ui-cb/30",
8
+ indicator: "bg-ui-content rounded-full size-full transition-transform duration-200 ease-out",
9
+ status: "flex justify-end color-ui-cb/50 transition-[width] duration-200",
10
+ steps: "grid items-end color-ui-cb/80",
11
+ step: "truncate text-end row-start-1 col-start-1 transition-opacity"
12
+ },
13
+ variants: {
14
+ size: {
15
+ xs: {
16
+ wrapper: "text-xs"
17
+ },
18
+ sm: {
19
+ wrapper: "text-sm"
20
+ },
21
+ md: {
22
+ wrapper: "text-base"
23
+ },
24
+ lg: {
25
+ wrapper: "text-lg"
26
+ },
27
+ xl: {
28
+ wrapper: "text-xl"
29
+ }
30
+ },
31
+ step: {
32
+ active: {
33
+ step: "opacity-100"
34
+ },
35
+ first: {
36
+ step: "opacity-100 color-ui-cb/60"
37
+ },
38
+ other: {
39
+ step: "opacity-0"
40
+ },
41
+ last: {
42
+ step: ""
43
+ }
44
+ },
45
+ orientation: {
46
+ horizontal: {
47
+ wrapper: "w-full flex flex-col",
48
+ root: "w-full",
49
+ status: "flex-row"
50
+ },
51
+ vertical: {
52
+ wrapper: "h-full flex flex-row-reverse",
53
+ root: "h-full w-0.5em",
54
+ status: "flex-col"
55
+ }
56
+ },
57
+ inverted: {
58
+ true: {
59
+ status: "self-end"
60
+ }
61
+ }
62
+ },
63
+ compoundVariants: [
64
+ {
65
+ orientation: "horizontal",
66
+ inverted: true,
67
+ class: {
68
+ step: "text-start",
69
+ status: "flex-row-reverse"
70
+ }
71
+ },
72
+ {
73
+ orientation: "vertical",
74
+ inverted: true,
75
+ class: {
76
+ steps: "items-start",
77
+ status: "flex-col-reverse"
78
+ }
79
+ },
80
+ { size: "xs", orientation: "horizontal", class: { root: "h-0.25em" } },
81
+ { size: "sm", orientation: "horizontal", class: { root: "h-0.5em" } },
82
+ { size: "md", orientation: "horizontal", class: { root: "h-0.75em" } },
83
+ { size: "lg", orientation: "horizontal", class: { root: "h-1em" } },
84
+ { size: "xl", orientation: "horizontal", class: { root: "h-1.25em" } },
85
+ { size: "xs", orientation: "vertical", class: { root: "w-0.25em" } },
86
+ { size: "sm", orientation: "vertical", class: { root: "w-0.5em" } },
87
+ { size: "md", orientation: "vertical", class: { root: "w-0.75em" } },
88
+ { size: "lg", orientation: "vertical", class: { root: "w-1em" } },
89
+ { size: "xl", orientation: "vertical", class: { root: "w-1.25em" } }
90
+ ],
91
+ defaultVariants: {
92
+ size: "md"
93
+ }
94
+ }
95
+ );
@@ -52,7 +52,7 @@ declare const _default: {
52
52
  };
53
53
  };
54
54
  };
55
- compoundVariants: import("@byyuurin/ui-kit/index").CVCompoundVariants<{
55
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
56
56
  orientation: {
57
57
  horizontal: {
58
58
  fieldset: string;
@@ -8,7 +8,7 @@ export default ct(
8
8
  legend: "mb-2 color-ui-cb",
9
9
  item: "flex items-start",
10
10
  base: "relative size-1.25em rounded-ui-radio ring ring-inset ring-ui-cb outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-cb/80 transition data-[state=checked]:ring-ui-base",
11
- indicator: "absolute inset-0 scale-0 rounded-ui-radio bg-solid-ui-fill transition data-[state=checked]:scale-66",
11
+ indicator: "absolute inset-0 scale-0 rounded-ui-radio bg-ui-fill transition data-[state=checked]:scale-66",
12
12
  container: "h-1.5em flex items-center",
13
13
  wrapper: "",
14
14
  label: "block ps-2 color-ui-cb",
@@ -17,22 +17,22 @@ declare const _default: {
17
17
  variants: {
18
18
  [key: string]: {
19
19
  [key: string]: "" | {
20
- root?: import("@byyuurin/ui-kit/index").ClassValue;
21
- viewport?: import("@byyuurin/ui-kit/index").ClassValue;
22
- corner?: import("@byyuurin/ui-kit/index").ClassValue;
23
- scrollbar?: import("@byyuurin/ui-kit/index").ClassValue;
24
- thumb?: import("@byyuurin/ui-kit/index").ClassValue;
20
+ root?: import("@byyuurin/ui-kit").ClassValue;
21
+ viewport?: import("@byyuurin/ui-kit").ClassValue;
22
+ corner?: import("@byyuurin/ui-kit").ClassValue;
23
+ scrollbar?: import("@byyuurin/ui-kit").ClassValue;
24
+ thumb?: import("@byyuurin/ui-kit").ClassValue;
25
25
  } | null;
26
26
  };
27
27
  };
28
- compoundVariants: import("@byyuurin/ui-kit/index").CVCompoundVariants<{
28
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
29
29
  [key: string]: {
30
30
  [key: string]: "" | {
31
- root?: import("@byyuurin/ui-kit/index").ClassValue;
32
- viewport?: import("@byyuurin/ui-kit/index").ClassValue;
33
- corner?: import("@byyuurin/ui-kit/index").ClassValue;
34
- scrollbar?: import("@byyuurin/ui-kit/index").ClassValue;
35
- thumb?: import("@byyuurin/ui-kit/index").ClassValue;
31
+ root?: import("@byyuurin/ui-kit").ClassValue;
32
+ viewport?: import("@byyuurin/ui-kit").ClassValue;
33
+ corner?: import("@byyuurin/ui-kit").ClassValue;
34
+ scrollbar?: import("@byyuurin/ui-kit").ClassValue;
35
+ thumb?: import("@byyuurin/ui-kit").ClassValue;
36
36
  } | null;
37
37
  };
38
38
  }, {
@@ -47,14 +47,14 @@ declare const _default: {
47
47
  /** The corner where both vertical and horizontal scrollbars meet. */
48
48
  corner: string;
49
49
  }, undefined>;
50
- defaultVariants: import("@byyuurin/ui-kit/index").CVDefaultVariants<{
50
+ defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
51
51
  [key: string]: {
52
52
  [key: string]: "" | {
53
- root?: import("@byyuurin/ui-kit/index").ClassValue;
54
- viewport?: import("@byyuurin/ui-kit/index").ClassValue;
55
- corner?: import("@byyuurin/ui-kit/index").ClassValue;
56
- scrollbar?: import("@byyuurin/ui-kit/index").ClassValue;
57
- thumb?: import("@byyuurin/ui-kit/index").ClassValue;
53
+ root?: import("@byyuurin/ui-kit").ClassValue;
54
+ viewport?: import("@byyuurin/ui-kit").ClassValue;
55
+ corner?: import("@byyuurin/ui-kit").ClassValue;
56
+ scrollbar?: import("@byyuurin/ui-kit").ClassValue;
57
+ thumb?: import("@byyuurin/ui-kit").ClassValue;
58
58
  } | null;
59
59
  };
60
60
  }, {
@@ -22,8 +22,8 @@ export default ct(
22
22
  ],
23
23
  /** The thumb to be used in `ScrollAreaScrollbar`. */
24
24
  thumb: [
25
- "relative flex-1 bg-solid-ui-cb/20 rounded-ui-base cursor-pointer transition-colors",
26
- "hover:bg-solid-ui-cb/30 active:bg-solid-ui-cb/40",
25
+ "relative flex-1 bg-soft-ui-cb/20 rounded-ui-base cursor-pointer transition-colors",
26
+ "hover:bg-soft-ui-cb/30 active:bg-soft-ui-cb/40",
27
27
  "before:content-empty before:absolute before:top-1/2 before:left-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:w-full before:h-full before:min-w-10 before:min-h-10 "
28
28
  ],
29
29
  /** The corner where both vertical and horizontal scrollbars meet. */