@byyuurin/ui 0.0.6 → 0.0.7

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 (143) 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} +4 -4
  5. package/dist/module.mjs.map +1 -0
  6. package/dist/runtime/components/Accordion.vue +20 -31
  7. package/dist/runtime/components/Alert.vue +1 -1
  8. package/dist/runtime/components/Button.vue +10 -11
  9. package/dist/runtime/components/Card.vue +9 -6
  10. package/dist/runtime/components/Checkbox.vue +3 -3
  11. package/dist/runtime/components/Chip.vue +2 -2
  12. package/dist/runtime/components/Collapsible.vue +56 -0
  13. package/dist/runtime/components/Drawer.vue +4 -2
  14. package/dist/runtime/components/Input.vue +4 -4
  15. package/dist/runtime/components/InputNumber.vue +167 -0
  16. package/dist/runtime/components/Link.vue +301 -72
  17. package/dist/runtime/components/LinkBase.vue +88 -0
  18. package/dist/runtime/components/Modal.vue +0 -1
  19. package/dist/runtime/components/Select.vue +4 -4
  20. package/dist/runtime/components/Separator.vue +63 -0
  21. package/dist/runtime/components/Switch.vue +3 -3
  22. package/dist/runtime/components/Table.vue +292 -0
  23. package/dist/runtime/components/Tabs.vue +17 -17
  24. package/dist/runtime/components/Toast.vue +1 -1
  25. package/dist/runtime/components/Toaster.vue +1 -35
  26. package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
  27. package/dist/runtime/composables/{useButtonGroup.mjs → useButtonGroup.js} +1 -1
  28. package/dist/runtime/composables/{useComponentIcons.mjs → useComponentIcons.js} +1 -1
  29. package/dist/runtime/composables/useModal.d.ts +1 -1
  30. package/dist/runtime/composables/{useModal.mjs → useModal.js} +1 -1
  31. package/dist/runtime/composables/useTheme.d.ts +3 -3
  32. package/dist/runtime/composables/{useTheme.mjs → useTheme.js} +3 -3
  33. package/dist/runtime/composables/useToast.d.ts +1 -1
  34. package/dist/runtime/index.d.ts +34 -0
  35. package/dist/runtime/index.js +34 -0
  36. package/dist/runtime/theme/accordion.d.ts +8 -8
  37. package/dist/runtime/theme/{accordion.mjs → accordion.js} +2 -2
  38. package/dist/runtime/theme/alert.d.ts +2 -2
  39. package/dist/runtime/theme/{alert.mjs → alert.js} +4 -4
  40. package/dist/runtime/theme/app.d.ts +3 -0
  41. package/dist/runtime/theme/{app.mjs → app.js} +4 -1
  42. package/dist/runtime/theme/badge.d.ts +45 -21
  43. package/dist/runtime/theme/{badge.mjs → badge.js} +2 -2
  44. package/dist/runtime/theme/button-group.d.ts +2 -2
  45. package/dist/runtime/theme/button.d.ts +57 -111
  46. package/dist/runtime/theme/button.js +164 -0
  47. package/dist/runtime/theme/card.d.ts +38 -38
  48. package/dist/runtime/theme/card.js +37 -0
  49. package/dist/runtime/theme/carousel.d.ts +2 -2
  50. package/dist/runtime/theme/{carousel.mjs → carousel.js} +2 -2
  51. package/dist/runtime/theme/checkbox.d.ts +1 -1
  52. package/dist/runtime/theme/{checkbox.mjs → checkbox.js} +3 -3
  53. package/dist/runtime/theme/chip.d.ts +45 -12
  54. package/dist/runtime/theme/{chip.mjs → chip.js} +5 -7
  55. package/dist/runtime/theme/collapsible.d.ts +38 -0
  56. package/dist/runtime/theme/collapsible.js +10 -0
  57. package/dist/runtime/theme/drawer.d.ts +43 -43
  58. package/dist/runtime/theme/{drawer.mjs → drawer.js} +33 -22
  59. package/dist/runtime/theme/index.d.ts +31 -27
  60. package/dist/runtime/theme/index.js +31 -0
  61. package/dist/runtime/theme/input-number.d.ts +135 -0
  62. package/dist/runtime/theme/input-number.js +92 -0
  63. package/dist/runtime/theme/input.d.ts +71 -99
  64. package/dist/runtime/theme/{input.mjs → input.js} +14 -14
  65. package/dist/runtime/theme/link.d.ts +2 -2
  66. package/dist/runtime/theme/{link.mjs → link.js} +1 -1
  67. package/dist/runtime/theme/modal.d.ts +31 -8
  68. package/dist/runtime/theme/{modal.mjs → modal.js} +4 -9
  69. package/dist/runtime/theme/pagination.d.ts +17 -17
  70. package/dist/runtime/theme/pinInput.d.ts +42 -42
  71. package/dist/runtime/theme/{pinInput.mjs → pinInput.js} +10 -10
  72. package/dist/runtime/theme/popover.d.ts +8 -8
  73. package/dist/runtime/theme/{popover.mjs → popover.js} +1 -1
  74. package/dist/runtime/theme/radio-group.d.ts +1 -1
  75. package/dist/runtime/theme/{radio-group.mjs → radio-group.js} +1 -1
  76. package/dist/runtime/theme/scroll-area.d.ts +17 -17
  77. package/dist/runtime/theme/{scroll-area.mjs → scroll-area.js} +2 -2
  78. package/dist/runtime/theme/select.d.ts +84 -99
  79. package/dist/runtime/theme/{select.mjs → select.js} +17 -17
  80. package/dist/runtime/theme/separator.d.ts +95 -0
  81. package/dist/runtime/theme/separator.js +53 -0
  82. package/dist/runtime/theme/slider.d.ts +1 -1
  83. package/dist/runtime/theme/{slider.mjs → slider.js} +3 -3
  84. package/dist/runtime/theme/switch.d.ts +1 -1
  85. package/dist/runtime/theme/{switch.mjs → switch.js} +2 -2
  86. package/dist/runtime/theme/table.d.ts +89 -0
  87. package/dist/runtime/theme/table.js +35 -0
  88. package/dist/runtime/theme/tabs.d.ts +69 -52
  89. package/dist/runtime/theme/{tabs.mjs → tabs.js} +11 -11
  90. package/dist/runtime/theme/textarea.d.ts +43 -37
  91. package/dist/runtime/theme/{textarea.mjs → textarea.js} +10 -10
  92. package/dist/runtime/theme/toast.d.ts +2 -2
  93. package/dist/runtime/theme/{toast.mjs → toast.js} +1 -1
  94. package/dist/runtime/theme/toaster.d.ts +42 -27
  95. package/dist/runtime/theme/tooltip.d.ts +11 -11
  96. package/dist/runtime/theme/tooltip.js +11 -0
  97. package/dist/runtime/types/components.d.ts +31 -27
  98. package/dist/runtime/types/index.d.ts +4 -4
  99. package/dist/runtime/types/index.js +2 -0
  100. package/dist/runtime/types/utils.js +0 -0
  101. package/dist/runtime/utils/index.d.ts +3 -3
  102. package/dist/runtime/utils/{index.mjs → index.js} +3 -3
  103. package/dist/runtime/utils/link.d.ts +22 -7
  104. package/dist/runtime/utils/link.js +30 -0
  105. package/dist/runtime/utils/styler.d.ts +1 -1
  106. package/dist/runtime/vue/stubs.d.ts +9 -0
  107. package/dist/runtime/vue/stubs.js +16 -0
  108. package/dist/shared/{ui.D4zm1r0C.mjs → ui.d1728164.mjs} +1 -1
  109. package/dist/shared/ui.d1728164.mjs.map +1 -0
  110. package/dist/types.d.mts +1 -0
  111. package/dist/types.d.ts +1 -0
  112. package/dist/unocss.d.mts +6 -11
  113. package/dist/unocss.d.ts +6 -11
  114. package/dist/unocss.mjs +40 -21
  115. package/dist/unocss.mjs.map +1 -1
  116. package/dist/unplugin.mjs +37 -1
  117. package/dist/unplugin.mjs.map +1 -1
  118. package/dist/vite.d.mts +0 -1
  119. package/dist/vite.d.ts +0 -1
  120. package/dist/vite.mjs +3 -1
  121. package/dist/vite.mjs.map +1 -1
  122. package/package.json +37 -36
  123. package/dist/index.d.ts +0 -29
  124. package/dist/index.mjs +0 -29
  125. package/dist/nuxt.mjs.map +0 -1
  126. package/dist/runtime/theme/button.mjs +0 -148
  127. package/dist/runtime/theme/card.mjs +0 -14
  128. package/dist/runtime/theme/index.mjs +0 -27
  129. package/dist/runtime/theme/tooltip.mjs +0 -11
  130. package/dist/runtime/types/components.mjs +0 -27
  131. package/dist/runtime/types/index.mjs +0 -2
  132. package/dist/runtime/utils/link.mjs +0 -4
  133. package/dist/shared/ui.D4zm1r0C.mjs.map +0 -1
  134. /package/dist/{nuxt.d.mts → module.d.mts} +0 -0
  135. /package/dist/{nuxt.d.ts → module.d.ts} +0 -0
  136. /package/dist/runtime/composables/{defineInjection.mjs → defineInjection.js} +0 -0
  137. /package/dist/runtime/composables/{useToast.mjs → useToast.js} +0 -0
  138. /package/dist/runtime/theme/{button-group.mjs → button-group.js} +0 -0
  139. /package/dist/runtime/theme/{pagination.mjs → pagination.js} +0 -0
  140. /package/dist/runtime/theme/{toaster.mjs → toaster.js} +0 -0
  141. /package/dist/runtime/types/{utils.mjs → components.js} +0 -0
  142. /package/dist/runtime/utils/{extend-theme.mjs → extend-theme.js} +0 -0
  143. /package/dist/runtime/utils/{styler.mjs → styler.js} +0 -0
@@ -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
+ "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"
@@ -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. */
@@ -85,105 +85,90 @@ declare const _default: {
85
85
  };
86
86
  };
87
87
  };
88
- compoundVariants: ({
89
- variant: ("soft" | "ghost" | "none")[];
90
- highlight: false;
91
- underline: true;
92
- class: {
93
- base: string[];
94
- item?: undefined;
95
- prefixIcon?: undefined;
96
- suffixIcon?: undefined;
97
- };
98
- size?: undefined;
99
- loading?: undefined;
100
- prefix?: undefined;
101
- suffix?: undefined;
102
- } | {
103
- size: ("xs" | "sm" | "md")[];
104
- class: {
105
- base: string;
106
- item: string;
107
- prefixIcon?: undefined;
108
- suffixIcon?: undefined;
109
- };
110
- variant?: undefined;
111
- highlight?: undefined;
112
- underline?: undefined;
113
- loading?: undefined;
114
- prefix?: undefined;
115
- suffix?: undefined;
116
- } | {
117
- size: ("lg" | "xl")[];
118
- class: {
119
- base: string;
120
- item: string;
121
- prefixIcon?: undefined;
122
- suffixIcon?: undefined;
123
- };
124
- variant?: undefined;
125
- highlight?: undefined;
126
- underline?: undefined;
127
- loading?: undefined;
128
- prefix?: undefined;
129
- suffix?: undefined;
130
- } | {
131
- variant: ("soft" | "soft-outline" | "ghost" | "none")[];
132
- highlight: true;
133
- class: {
134
- base: string;
135
- item?: undefined;
136
- prefixIcon?: undefined;
137
- suffixIcon?: undefined;
138
- };
139
- underline?: undefined;
140
- size?: undefined;
141
- loading?: undefined;
142
- prefix?: undefined;
143
- suffix?: undefined;
144
- } | {
145
- variant: "outline"[];
146
- highlight: true;
147
- class: {
148
- base: string;
149
- item?: undefined;
150
- prefixIcon?: undefined;
151
- suffixIcon?: undefined;
152
- };
153
- underline?: undefined;
154
- size?: undefined;
155
- loading?: undefined;
156
- prefix?: undefined;
157
- suffix?: undefined;
158
- } | {
159
- loading: true;
160
- prefix: true;
161
- class: {
162
- prefixIcon: string;
163
- base?: undefined;
164
- item?: undefined;
165
- suffixIcon?: undefined;
166
- };
167
- variant?: undefined;
168
- highlight?: undefined;
169
- underline?: undefined;
170
- size?: undefined;
171
- suffix?: undefined;
172
- } | {
173
- loading: true;
174
- prefix: false;
175
- suffix: true;
176
- class: {
177
- suffixIcon: string;
178
- base?: undefined;
179
- item?: undefined;
180
- prefixIcon?: undefined;
181
- };
182
- variant?: undefined;
183
- highlight?: undefined;
184
- underline?: undefined;
185
- size?: undefined;
186
- })[];
88
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
89
+ variant: {
90
+ outline: {
91
+ base: string[];
92
+ };
93
+ soft: {
94
+ base: string[];
95
+ };
96
+ 'soft-outline': {
97
+ base: string[];
98
+ };
99
+ ghost: {
100
+ base: string[];
101
+ };
102
+ none: {
103
+ base: string;
104
+ };
105
+ };
106
+ size: {
107
+ xs: {
108
+ base: string;
109
+ item: string;
110
+ };
111
+ sm: {
112
+ base: string;
113
+ item: string;
114
+ };
115
+ md: {
116
+ base: string;
117
+ item: string;
118
+ };
119
+ lg: {
120
+ base: string;
121
+ item: string;
122
+ };
123
+ xl: {
124
+ base: string;
125
+ item: string;
126
+ };
127
+ };
128
+ prefix: {
129
+ true: "";
130
+ };
131
+ suffix: {
132
+ true: "";
133
+ };
134
+ loading: {
135
+ true: "";
136
+ };
137
+ underline: {
138
+ true: "";
139
+ };
140
+ highlight: {
141
+ true: "";
142
+ };
143
+ groupOrientation: {
144
+ horizontal: {
145
+ base: string;
146
+ };
147
+ vertical: {
148
+ base: string;
149
+ };
150
+ };
151
+ }, {
152
+ base: string[];
153
+ value: string;
154
+ placeholder: string;
155
+ arrow: string;
156
+ content: string[];
157
+ viewport: string;
158
+ group: string;
159
+ empty: string;
160
+ label: string;
161
+ separator: string;
162
+ item: string[];
163
+ itemPrefixIcon: string;
164
+ itemSuffix: string;
165
+ itemSuffixIcon: string;
166
+ itemLabel: string;
167
+ prefix: string;
168
+ prefixIcon: string;
169
+ suffix: string;
170
+ suffixIcon: string;
171
+ }, undefined>;
187
172
  defaultVariants: {
188
173
  size: "md";
189
174
  };
@@ -1,30 +1,30 @@
1
1
  import { ct } from "@byyuurin/ui-kit";
2
- import { buttonGroupVariant } from "./button-group.mjs";
2
+ import { buttonGroupVariant } from "./button-group.js";
3
3
  export default ct(
4
4
  /* @unocss-include */
5
5
  {
6
6
  slots: {
7
7
  base: [
8
- "bg-solid-ui-c1 relative group rounded-ui-base inline-flex items-center gap-x-2 focus:outline-none transition-colors",
8
+ "relative group rounded-ui-base inline-flex items-center gap-x-2 focus:outline-none transition-colors",
9
9
  "disabled:cursor-not-allowed disabled:opacity-50"
10
10
  ],
11
11
  value: "me-auto truncate pointer-events-none",
12
12
  placeholder: "me-auto truncate color-ui-cb/50",
13
- arrow: "fill-ui-c1 stroke-ui-cb/10",
13
+ arrow: "fill-ui-cx stroke-ui-cb/20",
14
14
  content: [
15
- "max-h-60 w-[var(--reka-popper-anchor-width)] bg-solid-ui-c1 shadow-lg rounded-[calc(var(--ui-radius-tabs)*0.66)] ring ring-ui-cb/10 overflow-hidden pointer-events-auto",
15
+ "max-h-60 w-[var(--reka-popper-anchor-width)] bg-ui-cx shadow-lg rounded-[calc(var(--ui-radius-tabs)*0.66)] ring ring-ui-cb/20 overflow-hidden pointer-events-auto",
16
16
  "data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]"
17
17
  ],
18
18
  viewport: "divide-y divide-ui-cb/10 scroll-py-1",
19
19
  group: "p-1 isolate",
20
20
  empty: "py-2 text-center text-sm color-ui-cb/50",
21
21
  label: "font-semibold color-ui-cb cursor-pointer",
22
- separator: "-mx-1 my-1 h-px bg-solid-ui-cb/10",
22
+ separator: "-mx-1 my-1 h-px bg-soft-ui-cb/10",
23
23
  item: [
24
24
  "group relative w-full flex gap-2 items-center select-none outline-none color-ui-cb/50 transition-colors cursor-pointer",
25
25
  "aria-disabled:cursor-not-allowed aria-disabled:opacity-50",
26
26
  "before:content-empty before:absolute before:z-[-1] before:inset-px before:rounded-ui-base before:transition-colors",
27
- "data-[highlighted]:color-ui-cb data-[highlighted]:before:bg-solid-ui-cb/3",
27
+ "data-[highlighted]:color-ui-cb data-[highlighted]:before:bg-soft-ui-cb/3",
28
28
  "data-[state=checked]:color-ui-base"
29
29
  ],
30
30
  itemPrefixIcon: "shrink-0 color-ui-cb/80 group-data-[highlighted]:color-ui-cb/80 transition-colors",
@@ -41,29 +41,29 @@ export default ct(
41
41
  variant: {
42
42
  "outline": {
43
43
  base: [
44
- "color-ui-cb/80 bg-solid-ui-c1 ring ring-inset ring-ui-cb/50",
44
+ "color-ui-cb/80 bg-ui-cx ring ring-inset ring-ui-cb/30 data-[state=open]:ring-2 data-[state=open]:ring-ui-cb/50",
45
45
  "focus-within:ring-2 focus-within:ring-ui-cb/50",
46
46
  "disabled:ring-ui-cb/80 hover:disabled:ring-ui-cb/80"
47
47
  ]
48
48
  },
49
49
  "soft": {
50
50
  base: [
51
- "color-ui-cb/80 bg-solid-ui-cb/4",
52
- "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
- "disabled:color-ui-content/80 disabled:bg-solid-ui-fill/5 hover:disabled:color-ui-content/80 hover:disabled:bg-solid-ui-fill/5"
51
+ "color-ui-cb/80 bg-soft-ui-cb/5 data-[state=open]:bg-soft-ui-cb/5",
52
+ "hover:bg-soft-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-soft-ui-cb/8 focus-within:color-ui-cb/85",
53
+ "disabled:color-ui-content/80 disabled:bg-soft-ui-fill/5 hover:disabled:color-ui-content/80 hover:disabled:bg-soft-ui-fill/5"
54
54
  ]
55
55
  },
56
56
  "soft-outline": {
57
57
  base: [
58
- "color-ui-cb/80 bg-solid-ui-cb/4 ring ring-inset ring-ui-cb/10",
59
- "hover:bg-solid-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-solid-ui-cb/8 focus-within:color-ui-cb/85",
60
- "disabled:color-ui-content/80 disabled:bg-solid-ui-fill/5 hover:disabled:color-ui-content/80 hover:disabled:bg-solid-ui-fill/5"
58
+ "color-ui-cb/80 bg-soft-ui-cb/5 ring ring-inset ring-ui-cb/10 data-[state=open]:bg-soft-ui-cb/5 data-[state=open]:ring-ui-cb/25",
59
+ "hover:bg-soft-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-soft-ui-cb/8 focus-within:color-ui-cb/85",
60
+ "disabled:color-ui-content/80 disabled:bg-soft-ui-fill/5 hover:disabled:color-ui-content/80 hover:disabled:bg-soft-ui-fill/5"
61
61
  ]
62
62
  },
63
63
  "ghost": {
64
64
  base: [
65
- "color-ui-cb/80 bg-transparent",
66
- "hover:bg-solid-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-solid-ui-cb/8 focus-within:color-ui-cb/85",
65
+ "color-ui-cb/80 bg-transparent data-[state=open]:bg-soft-ui-cb/8",
66
+ "hover:bg-soft-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-soft-ui-cb/8 focus-within:color-ui-cb/85",
67
67
  "disabled:color-ui-fill/80 disabled:bg-transparent hover:disabled:color-ui-fill/80 hover:disabled:bg-transparent"
68
68
  ]
69
69
  },
@@ -116,8 +116,8 @@ export default ct(
116
116
  underline: true,
117
117
  class: {
118
118
  base: [
119
- "relative after:content-empty after:absolute after:inset-x-0 after:bottom-0 after:h-1px after:bg-solid-ui-cb/40",
120
- "data-[state=open]:after:h-2px data-[state=open]:after:bg-solid-ui-fill/60"
119
+ "relative after:content-empty after:absolute after:inset-x-0 after:bottom-0 after:h-1px after:bg-soft-ui-cb/40",
120
+ "data-[state=open]:after:h-2px data-[state=open]:after:bg-soft-ui-fill/60"
121
121
  ]
122
122
  }
123
123
  },
@@ -0,0 +1,95 @@
1
+ declare const _default: {
2
+ base: undefined;
3
+ slots: {
4
+ root: string;
5
+ line: string;
6
+ container: string;
7
+ icon: string;
8
+ label: string;
9
+ };
10
+ variants: {
11
+ orientation: {
12
+ horizontal: {
13
+ root: string;
14
+ line: string;
15
+ container: string;
16
+ };
17
+ vertical: {
18
+ root: string;
19
+ line: string;
20
+ container: string;
21
+ };
22
+ };
23
+ start: {
24
+ true: {
25
+ line: string;
26
+ };
27
+ };
28
+ end: {
29
+ true: {
30
+ line: string;
31
+ };
32
+ };
33
+ };
34
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
35
+ orientation: {
36
+ horizontal: {
37
+ root: string;
38
+ line: string;
39
+ container: string;
40
+ };
41
+ vertical: {
42
+ root: string;
43
+ line: string;
44
+ container: string;
45
+ };
46
+ };
47
+ start: {
48
+ true: {
49
+ line: string;
50
+ };
51
+ };
52
+ end: {
53
+ true: {
54
+ line: string;
55
+ };
56
+ };
57
+ }, {
58
+ root: string;
59
+ line: string;
60
+ container: string;
61
+ icon: string;
62
+ label: string;
63
+ }, undefined>;
64
+ defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
65
+ orientation: {
66
+ horizontal: {
67
+ root: string;
68
+ line: string;
69
+ container: string;
70
+ };
71
+ vertical: {
72
+ root: string;
73
+ line: string;
74
+ container: string;
75
+ };
76
+ };
77
+ start: {
78
+ true: {
79
+ line: string;
80
+ };
81
+ };
82
+ end: {
83
+ true: {
84
+ line: string;
85
+ };
86
+ };
87
+ }, {
88
+ root: string;
89
+ line: string;
90
+ container: string;
91
+ icon: string;
92
+ label: string;
93
+ }>;
94
+ };
95
+ export default _default;
@@ -0,0 +1,53 @@
1
+ import { ct } from "@byyuurin/ui-kit";
2
+ export default ct(
3
+ /* @unocss-include */
4
+ {
5
+ slots: {
6
+ root: "flex items-center justify-center text-center",
7
+ line: "border-solid border-ui-fill/20",
8
+ container: "color-ui-cb/80 flex",
9
+ icon: "shrink-0 size-5",
10
+ label: ""
11
+ },
12
+ variants: {
13
+ orientation: {
14
+ horizontal: {
15
+ root: "w-full flex-row",
16
+ line: "min-w-3 w-full border-t",
17
+ container: "px-3 whitespace-nowrap"
18
+ },
19
+ vertical: {
20
+ root: "h-full flex-col",
21
+ line: "min-h-3 h-full border-s",
22
+ container: "py-2"
23
+ }
24
+ },
25
+ start: {
26
+ true: {
27
+ line: "w-auto flex-grow"
28
+ }
29
+ },
30
+ end: {
31
+ true: {
32
+ line: "w-auto flex-grow"
33
+ }
34
+ }
35
+ },
36
+ compoundVariants: [
37
+ {
38
+ orientation: "vertical",
39
+ start: true,
40
+ class: {
41
+ line: "h-auto"
42
+ }
43
+ },
44
+ {
45
+ orientation: "vertical",
46
+ end: true,
47
+ class: {
48
+ line: "h-auto"
49
+ }
50
+ }
51
+ ]
52
+ }
53
+ );
@@ -35,7 +35,7 @@ declare const _default: {
35
35
  };
36
36
  };
37
37
  };
38
- compoundVariants: import("@byyuurin/ui-kit/index").CVCompoundVariants<{
38
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
39
39
  size: {
40
40
  xs: {
41
41
  root: string;
@@ -5,13 +5,13 @@ export default ct(
5
5
  slots: {
6
6
  root: "relative flex items-center select-none touch-none aria-disabled:opacity-50",
7
7
  track: [
8
- "relative bg-solid-ui-cb/10 overflow-hidden rounded-full flex-grow cursor-pointer",
8
+ "relative bg-soft-ui-cb/10 overflow-hidden rounded-full flex-grow cursor-pointer",
9
9
  "data-[disabled]:cursor-not-allowed",
10
10
  "data-[orientation=horizontal]:h-0.6em data-[orientation=vertical]:w-0.6em"
11
11
  ],
12
- range: "absolute rounded-full bg-solid-ui-fill",
12
+ range: "absolute rounded-full bg-soft-ui-fill",
13
13
  thumb: [
14
- "size-1em rounded-full bg-solid-ui-c1 ring-0.2em cursor-pointer focus-visible:outline-0.2em focus-visible:outline-offset-0.2em",
14
+ "size-1em rounded-full bg-ui-cx ring-0.2em cursor-pointer focus-visible:outline-0.2em focus-visible:outline-offset-0.2em",
15
15
  "data-[disabled]:cursor-not-allowed",
16
16
  "ring-ui-fill outline-none focus-visible:outline-ui-fill/50"
17
17
  ]
@@ -58,7 +58,7 @@ declare const _default: {
58
58
  };
59
59
  };
60
60
  };
61
- compoundVariants: import("@byyuurin/ui-kit/index").CVCompoundVariants<{
61
+ compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
62
62
  size: {
63
63
  xs: {
64
64
  root: string;
@@ -7,12 +7,12 @@ export default ct(
7
7
  base: [
8
8
  "inline-flex items-center shrink-0 rounded-ui-switch border-2 border-transparent transition-colors duration-200",
9
9
  "outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-cb/80",
10
- "data-[state=unchecked]:bg-solid-ui-cb/10 data-[state=checked]:bg-solid-ui-fill/80",
10
+ "data-[state=unchecked]:bg-soft-ui-cb/10 data-[state=checked]:bg-soft-ui-fill/80",
11
11
  "w-2.7em"
12
12
  ],
13
13
  container: "flex items-center h-1.5em",
14
14
  thumb: [
15
- "group pointer-events-none rounded-ui-switch size-1.25em bg-solid-ui-c1 shadow-lg ring-0 transition-transform duration-200 flex items-center justify-center",
15
+ "group pointer-events-none rounded-ui-switch size-1.25em bg-ui-cx shadow-lg ring-0 transition-transform duration-200 flex items-center justify-center",
16
16
  "data-[state=unchecked]:translate-x-0 data-[state=unchecked]:rtl:translate-x-0 data-[state=checked]:translate-x-1.25em data-[state=checked]:rtl:-translate-x-1.25em"
17
17
  ],
18
18
  icon: [