@nextui-org/theme 0.0.0-dev-v2-20230420134926 → 0.0.0-dev-v2-20230423211529

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 (80) hide show
  1. package/dist/chunk-3B4SYPW2.mjs +18 -0
  2. package/dist/{chunk-ANRX4UF2.mjs → chunk-4XSCIGTZ.mjs} +1 -1
  3. package/dist/{chunk-XQ3KK6F3.mjs → chunk-7EKGN7JP.mjs} +6 -6
  4. package/dist/{chunk-DOBGL5T3.mjs → chunk-BLEVU2FW.mjs} +1 -1
  5. package/dist/{chunk-HZLJ4FYR.mjs → chunk-FDBBFTXB.mjs} +1 -1
  6. package/dist/{chunk-FGWYWKMA.mjs → chunk-FJNSTLAL.mjs} +21 -21
  7. package/dist/{chunk-MZ2ZBGLR.mjs → chunk-JWVJZEAT.mjs} +1 -1
  8. package/dist/{chunk-5Z3NCB7W.mjs → chunk-LCSLO6UV.mjs} +1 -1
  9. package/dist/{chunk-2QIDY5NZ.mjs → chunk-MW7UVOSP.mjs} +2 -2
  10. package/dist/{chunk-OS73LTIZ.mjs → chunk-NCFXYR7C.mjs} +6 -6
  11. package/dist/{chunk-QRMWQXOX.mjs → chunk-NQJBJXX3.mjs} +4 -4
  12. package/dist/{chunk-SN6PW6NR.mjs → chunk-OZPCO5UB.mjs} +7 -7
  13. package/dist/{chunk-Y63UYKP7.mjs → chunk-R47OQZR5.mjs} +2 -1
  14. package/dist/{chunk-LGGZKBOO.mjs → chunk-RO3WUCFF.mjs} +21 -21
  15. package/dist/chunk-TILCNEZM.mjs +212 -0
  16. package/dist/{chunk-FZQRP6V7.mjs → chunk-TYA6TT57.mjs} +9 -9
  17. package/dist/{chunk-64MHH33S.mjs → chunk-VS5PMCQU.mjs} +27 -8
  18. package/dist/{chunk-7GYSEREC.mjs → chunk-VZVHC65R.mjs} +1 -1
  19. package/dist/{chunk-B5S7HT6N.mjs → chunk-WFCALVUC.mjs} +1 -1
  20. package/dist/{chunk-CO6ANWRA.mjs → chunk-XUL76UJD.mjs} +1 -1
  21. package/dist/{chunk-KVW35URF.mjs → chunk-Z6VEZVD6.mjs} +14 -14
  22. package/dist/colors/index.js +21 -21
  23. package/dist/colors/index.mjs +2 -2
  24. package/dist/colors/semantic.js +21 -21
  25. package/dist/colors/semantic.mjs +1 -1
  26. package/dist/colors/types.d.ts +1 -1
  27. package/dist/colors.js +21 -21
  28. package/dist/colors.mjs +2 -2
  29. package/dist/components/avatar.js +21 -21
  30. package/dist/components/avatar.mjs +2 -2
  31. package/dist/components/badge.js +21 -21
  32. package/dist/components/badge.mjs +2 -2
  33. package/dist/components/button.js +22 -21
  34. package/dist/components/button.mjs +2 -2
  35. package/dist/components/checkbox.js +6 -6
  36. package/dist/components/checkbox.mjs +1 -1
  37. package/dist/components/chip.js +24 -24
  38. package/dist/components/chip.mjs +2 -2
  39. package/dist/components/code.js +21 -21
  40. package/dist/components/code.mjs +2 -2
  41. package/dist/components/dropdown-item.js +14 -14
  42. package/dist/components/dropdown-item.mjs +1 -1
  43. package/dist/components/index.d.ts +2 -0
  44. package/dist/components/index.js +324 -76
  45. package/dist/components/index.mjs +55 -47
  46. package/dist/components/link.mjs +1 -1
  47. package/dist/components/modal.d.ts +1 -1
  48. package/dist/components/navbar.js +27 -8
  49. package/dist/components/navbar.mjs +1 -1
  50. package/dist/components/pagination.js +29 -29
  51. package/dist/components/pagination.mjs +2 -2
  52. package/dist/components/popover.js +21 -21
  53. package/dist/components/popover.mjs +2 -2
  54. package/dist/components/radio.js +7 -7
  55. package/dist/components/radio.mjs +1 -1
  56. package/dist/components/snippet.js +21 -21
  57. package/dist/components/snippet.mjs +2 -2
  58. package/dist/components/spacer.d.ts +27 -0
  59. package/dist/components/spacer.js +42 -0
  60. package/dist/components/spacer.mjs +6 -0
  61. package/dist/components/spinner.js +1 -1
  62. package/dist/components/spinner.mjs +1 -1
  63. package/dist/components/table.d.ts +277 -0
  64. package/dist/components/table.js +236 -0
  65. package/dist/components/table.mjs +6 -0
  66. package/dist/components/toggle.js +6 -6
  67. package/dist/components/toggle.mjs +1 -1
  68. package/dist/components/user.js +2 -2
  69. package/dist/components/user.mjs +1 -1
  70. package/dist/index.d.ts +5 -2
  71. package/dist/index.js +349 -101
  72. package/dist/index.mjs +58 -50
  73. package/dist/plugin.js +21 -21
  74. package/dist/plugin.mjs +3 -3
  75. package/dist/utils/index.js +21 -21
  76. package/dist/utils/index.mjs +1 -1
  77. package/dist/utils/variants.js +21 -21
  78. package/dist/utils/variants.mjs +1 -1
  79. package/package.json +2 -2
  80. /package/dist/{chunk-NP4SOC4S.mjs → chunk-RH7YHIQY.mjs} +0 -0
@@ -0,0 +1,27 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
+
5
+ /**
6
+ * Spacer wrapper **Tailwind Variants** component
7
+ *
8
+ * @example
9
+ *
10
+ * const styles = spacer()
11
+ *
12
+ * <span className={styles} />
13
+ */
14
+ declare const spacer: tailwind_variants.TVReturnType<{
15
+ isInline: {
16
+ true: string;
17
+ false: string;
18
+ };
19
+ }, unknown, undefined, undefined, "w-px h-px inline-block", tailwind_variants_dist_config.TVConfig<{
20
+ isInline: {
21
+ true: string;
22
+ false: string;
23
+ };
24
+ }, unknown>>;
25
+ type SpacerVariantProps = VariantProps<typeof spacer>;
26
+
27
+ export { SpacerVariantProps, spacer };
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/spacer.ts
21
+ var spacer_exports = {};
22
+ __export(spacer_exports, {
23
+ spacer: () => spacer
24
+ });
25
+ module.exports = __toCommonJS(spacer_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var spacer = (0, import_tailwind_variants.tv)({
28
+ base: "w-px h-px inline-block",
29
+ variants: {
30
+ isInline: {
31
+ true: "inline-block",
32
+ false: "block"
33
+ }
34
+ },
35
+ defaultVariants: {
36
+ isInline: false
37
+ }
38
+ });
39
+ // Annotate the CommonJS export names for ESM import in node:
40
+ 0 && (module.exports = {
41
+ spacer
42
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ spacer
3
+ } from "../chunk-3B4SYPW2.mjs";
4
+ export {
5
+ spacer
6
+ };
@@ -26,7 +26,7 @@ module.exports = __toCommonJS(spinner_exports);
26
26
  var import_tailwind_variants = require("tailwind-variants");
27
27
  var spinner = (0, import_tailwind_variants.tv)({
28
28
  slots: {
29
- base: "flex flex-col items-center justify-center relative",
29
+ base: "inline-flex flex-col items-center justify-center relative",
30
30
  circle1: [
31
31
  "absolute",
32
32
  "w-full",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  spinner
3
- } from "../chunk-CO6ANWRA.mjs";
3
+ } from "../chunk-XUL76UJD.mjs";
4
4
  export {
5
5
  spinner
6
6
  };
@@ -0,0 +1,277 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
+
5
+ /**
6
+ * Table **Tailwind Variants** component
7
+ *
8
+ * @example
9
+ * ```js
10
+ * const {base, table, thead, tbody, tr, th, td, tfoot} = table({...})
11
+ *
12
+ * <div className={base()}>
13
+ * <table className={table()}>
14
+ * <thead className={thead()}>
15
+ * <tr className={tr()}>
16
+ * <th className={th()}>...</th>
17
+ * <th className={th()}>...</th>
18
+ * </tr>
19
+ * </thead>
20
+ * <tbody className={tbody()}>
21
+ * <tr className={tr()}>
22
+ * <td className={td()}>...</td>
23
+ * <td className={td()}>...</td>
24
+ * </tr>
25
+ * <tr className={tr()}>
26
+ * <td className={td()}>...</td>
27
+ * <td className={td()}>...</td>
28
+ * </tr>
29
+ * </tbody>
30
+ * <tfoot className={tfoot()}>
31
+ * <tr className={tr()}>
32
+ * <td className={td()}>...</td>
33
+ * <td className={td()}>...</td>
34
+ * </tr>
35
+ * </tfoot>
36
+ * </table>
37
+ * </div>
38
+ * ```
39
+ */
40
+ declare const table: tailwind_variants.TVReturnType<{
41
+ color: {
42
+ neutral: {
43
+ td: string;
44
+ };
45
+ primary: {
46
+ td: string;
47
+ };
48
+ secondary: {
49
+ td: string;
50
+ };
51
+ success: {
52
+ td: string;
53
+ };
54
+ warning: {
55
+ td: string;
56
+ };
57
+ danger: {
58
+ td: string;
59
+ };
60
+ };
61
+ layout: {
62
+ auto: {
63
+ table: string;
64
+ };
65
+ fixed: {
66
+ table: string;
67
+ };
68
+ };
69
+ radius: {
70
+ none: {
71
+ base: string;
72
+ };
73
+ base: {
74
+ base: string;
75
+ };
76
+ sm: {
77
+ base: string;
78
+ };
79
+ md: {
80
+ base: string;
81
+ };
82
+ lg: {
83
+ base: string;
84
+ };
85
+ xl: {
86
+ base: string;
87
+ };
88
+ "2xl": {
89
+ base: string;
90
+ };
91
+ };
92
+ shadow: {
93
+ none: {
94
+ base: string;
95
+ };
96
+ sm: {
97
+ base: string;
98
+ };
99
+ md: {
100
+ base: string;
101
+ };
102
+ lg: {
103
+ base: string;
104
+ };
105
+ xl: {
106
+ base: string;
107
+ };
108
+ "2xl": {
109
+ base: string;
110
+ };
111
+ inner: {
112
+ base: string;
113
+ };
114
+ };
115
+ hideHeader: {
116
+ true: {
117
+ thead: string;
118
+ };
119
+ };
120
+ isStriped: {
121
+ true: {
122
+ td: string[];
123
+ };
124
+ };
125
+ isHeaderSticky: {
126
+ true: {
127
+ thead: string;
128
+ };
129
+ };
130
+ isSelectable: {
131
+ true: {
132
+ tr: string;
133
+ td: string[];
134
+ };
135
+ };
136
+ isMultiSelectable: {
137
+ true: {
138
+ td: string[];
139
+ };
140
+ false: {
141
+ td: string[];
142
+ };
143
+ };
144
+ fullWidth: {
145
+ true: {
146
+ base: string;
147
+ table: string;
148
+ };
149
+ };
150
+ }, unknown, {
151
+ base: string[];
152
+ table: string;
153
+ thead: string;
154
+ tbody: string;
155
+ tr: string[];
156
+ th: string[];
157
+ td: string[];
158
+ tfoot: string;
159
+ sortIcon: string[];
160
+ emptyWrapper: string;
161
+ loadingWrapper: string;
162
+ }, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
163
+ color: {
164
+ neutral: {
165
+ td: string;
166
+ };
167
+ primary: {
168
+ td: string;
169
+ };
170
+ secondary: {
171
+ td: string;
172
+ };
173
+ success: {
174
+ td: string;
175
+ };
176
+ warning: {
177
+ td: string;
178
+ };
179
+ danger: {
180
+ td: string;
181
+ };
182
+ };
183
+ layout: {
184
+ auto: {
185
+ table: string;
186
+ };
187
+ fixed: {
188
+ table: string;
189
+ };
190
+ };
191
+ radius: {
192
+ none: {
193
+ base: string;
194
+ };
195
+ base: {
196
+ base: string;
197
+ };
198
+ sm: {
199
+ base: string;
200
+ };
201
+ md: {
202
+ base: string;
203
+ };
204
+ lg: {
205
+ base: string;
206
+ };
207
+ xl: {
208
+ base: string;
209
+ };
210
+ "2xl": {
211
+ base: string;
212
+ };
213
+ };
214
+ shadow: {
215
+ none: {
216
+ base: string;
217
+ };
218
+ sm: {
219
+ base: string;
220
+ };
221
+ md: {
222
+ base: string;
223
+ };
224
+ lg: {
225
+ base: string;
226
+ };
227
+ xl: {
228
+ base: string;
229
+ };
230
+ "2xl": {
231
+ base: string;
232
+ };
233
+ inner: {
234
+ base: string;
235
+ };
236
+ };
237
+ hideHeader: {
238
+ true: {
239
+ thead: string;
240
+ };
241
+ };
242
+ isStriped: {
243
+ true: {
244
+ td: string[];
245
+ };
246
+ };
247
+ isHeaderSticky: {
248
+ true: {
249
+ thead: string;
250
+ };
251
+ };
252
+ isSelectable: {
253
+ true: {
254
+ tr: string;
255
+ td: string[];
256
+ };
257
+ };
258
+ isMultiSelectable: {
259
+ true: {
260
+ td: string[];
261
+ };
262
+ false: {
263
+ td: string[];
264
+ };
265
+ };
266
+ fullWidth: {
267
+ true: {
268
+ base: string;
269
+ table: string;
270
+ };
271
+ };
272
+ }, unknown>>;
273
+ type TableVariantProps = VariantProps<typeof table>;
274
+ type TableSlots = keyof ReturnType<typeof table>;
275
+ type TableReturnType = ReturnType<typeof table>;
276
+
277
+ export { TableReturnType, TableSlots, TableVariantProps, table };
@@ -0,0 +1,236 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/table.ts
21
+ var table_exports = {};
22
+ __export(table_exports, {
23
+ table: () => table
24
+ });
25
+ module.exports = __toCommonJS(table_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var focusRing = [
28
+ "data-[focus-visible=true]:outline-none",
29
+ "data-[focus-visible=true]:ring-2",
30
+ "data-[focus-visible=true]:ring-primary",
31
+ "data-[focus-visible=true]:ring-offset-2",
32
+ "data-[focus-visible=true]:ring-offset-background",
33
+ "data-[focus-visible=true]:dark:ring-offset-background-dark"
34
+ ];
35
+ var table = (0, import_tailwind_variants.tv)({
36
+ slots: {
37
+ base: [
38
+ "p-4",
39
+ "flex",
40
+ "flex-col",
41
+ "relative",
42
+ "justify-between",
43
+ "gap-4",
44
+ "border",
45
+ "border-neutral-100",
46
+ "overflow-auto"
47
+ ],
48
+ table: "min-w-full h-auto",
49
+ thead: "[&>tr]:first:rounded-lg",
50
+ tbody: "",
51
+ tr: ["group", "outline-none", ...focusRing],
52
+ th: [
53
+ "group",
54
+ "px-3",
55
+ "h-10",
56
+ "text-left",
57
+ "align-middle",
58
+ "bg-neutral-100",
59
+ "text-neutral-500",
60
+ "text-xs",
61
+ "font-semibold",
62
+ "first:rounded-l-lg",
63
+ "last:rounded-r-lg",
64
+ "outline-none",
65
+ "data-[sortable=true]:transition-colors",
66
+ "data-[sortable=true]:cursor-pointer",
67
+ "data-[hover=true]:text-neutral-400",
68
+ ...focusRing
69
+ ],
70
+ td: [
71
+ "py-2",
72
+ "px-3",
73
+ "relative",
74
+ "align-middle",
75
+ "whitespace-normal",
76
+ "text-base",
77
+ "font-normal",
78
+ "outline-none",
79
+ ...focusRing,
80
+ "before:content-['']",
81
+ "before:absolute",
82
+ "before:-z-[1]",
83
+ "before:inset-0",
84
+ "before:opacity-0",
85
+ "data-[selected=true]:before:opacity-100",
86
+ "group-data-[disabled=true]:text-neutral-300"
87
+ ],
88
+ tfoot: "",
89
+ sortIcon: [
90
+ "ml-2",
91
+ "mb-px",
92
+ "opacity-0",
93
+ "text-inherit",
94
+ "inline-block",
95
+ "transition-transform-opacity",
96
+ "data-[visible=true]:opacity-100",
97
+ "group-data-[hover=true]:opacity-100",
98
+ "data-[direction=ascending]:rotate-180"
99
+ ],
100
+ emptyWrapper: "text-neutral-400 align-middle text-center h-40",
101
+ loadingWrapper: "absolute inset-0 flex items-center justify-center"
102
+ },
103
+ variants: {
104
+ color: {
105
+ neutral: {
106
+ td: "before:bg-neutral-200 dark:before:bg-neutral-100 data-[selected=true]:text-neutral-foreground"
107
+ },
108
+ primary: {
109
+ td: "before:bg-primary-50 data-[selected=true]:text-primary"
110
+ },
111
+ secondary: {
112
+ td: "before:bg-secondary-100 data-[selected=true]:text-secondary"
113
+ },
114
+ success: {
115
+ td: "before:bg-success-50 data-[selected=true]:text-success"
116
+ },
117
+ warning: {
118
+ td: "before:bg-warning-50 data-[selected=true]:text-warning"
119
+ },
120
+ danger: {
121
+ td: "before:bg-danger-50 data-[selected=true]:text-danger"
122
+ }
123
+ },
124
+ layout: {
125
+ auto: {
126
+ table: "table-auto"
127
+ },
128
+ fixed: {
129
+ table: "table-fixed"
130
+ }
131
+ },
132
+ radius: {
133
+ none: {
134
+ base: "rounded-none"
135
+ },
136
+ base: {
137
+ base: "rounded"
138
+ },
139
+ sm: {
140
+ base: "rounded-sm"
141
+ },
142
+ md: {
143
+ base: "rounded-md"
144
+ },
145
+ lg: {
146
+ base: "rounded-lg"
147
+ },
148
+ xl: {
149
+ base: "rounded-xl"
150
+ },
151
+ "2xl": {
152
+ base: "rounded-2xl"
153
+ }
154
+ },
155
+ shadow: {
156
+ none: {
157
+ base: "shadow-none"
158
+ },
159
+ sm: {
160
+ base: "shadow-sm"
161
+ },
162
+ md: {
163
+ base: "shadow-md"
164
+ },
165
+ lg: {
166
+ base: "shadow-lg"
167
+ },
168
+ xl: {
169
+ base: "shadow-xl"
170
+ },
171
+ "2xl": {
172
+ base: "shadow-2xl"
173
+ },
174
+ inner: {
175
+ base: "shadow-inner"
176
+ }
177
+ },
178
+ hideHeader: {
179
+ true: {
180
+ thead: "hidden"
181
+ }
182
+ },
183
+ isStriped: {
184
+ true: {
185
+ td: [
186
+ "group-data-[odd=true]:before:bg-neutral-100",
187
+ "group-data-[odd=true]:before:opacity-100"
188
+ ]
189
+ }
190
+ },
191
+ isHeaderSticky: {
192
+ true: {
193
+ thead: "sticky top-0 z-10 [&>tr]:first:shadow"
194
+ }
195
+ },
196
+ isSelectable: {
197
+ true: {
198
+ tr: "cursor-default",
199
+ td: ["group-data-[hover=true]:before:opacity-70"]
200
+ }
201
+ },
202
+ isMultiSelectable: {
203
+ true: {
204
+ td: [
205
+ "group-data-[first=true]:first:before:rounded-tl-lg",
206
+ "group-data-[first=true]:last:before:rounded-tr-lg",
207
+ "group-data-[middle=true]:before:rounded-none",
208
+ "group-data-[last=true]:first:before:rounded-bl-lg",
209
+ "group-data-[last=true]:last:before:rounded-br-lg"
210
+ ]
211
+ },
212
+ false: {
213
+ td: ["first:before:rounded-l-lg", "last:before:rounded-r-lg"]
214
+ }
215
+ },
216
+ fullWidth: {
217
+ true: {
218
+ base: "w-full",
219
+ table: "w-full"
220
+ }
221
+ }
222
+ },
223
+ defaultVariants: {
224
+ layout: "auto",
225
+ shadow: "lg",
226
+ radius: "xl",
227
+ color: "neutral",
228
+ hideHeader: false,
229
+ isStriped: false,
230
+ fullWidth: true
231
+ }
232
+ });
233
+ // Annotate the CommonJS export names for ESM import in node:
234
+ 0 && (module.exports = {
235
+ table
236
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ table
3
+ } from "../chunk-TILCNEZM.mjs";
4
+ export {
5
+ table
6
+ };
@@ -64,37 +64,37 @@ var toggle = (0, import_tailwind_variants.tv)({
64
64
  neutral: {
65
65
  wrapper: [
66
66
  "group-data-[checked=true]:bg-neutral-400",
67
- "group-data-[checked=true]:text-neutral-contrastText"
67
+ "group-data-[checked=true]:text-neutral-foreground"
68
68
  ]
69
69
  },
70
70
  primary: {
71
71
  wrapper: [
72
72
  "group-data-[checked=true]:bg-primary",
73
- "group-data-[checked=true]:text-primary-contrastText"
73
+ "group-data-[checked=true]:text-primary-foreground"
74
74
  ]
75
75
  },
76
76
  secondary: {
77
77
  wrapper: [
78
78
  "group-data-[checked=true]:bg-secondary",
79
- "group-data-[checked=true]:text-secondary-contrastText"
79
+ "group-data-[checked=true]:text-secondary-foreground"
80
80
  ]
81
81
  },
82
82
  success: {
83
83
  wrapper: [
84
84
  "group-data-[checked=true]:bg-success",
85
- "group-data-[checked=true]:text-success-contrastText"
85
+ "group-data-[checked=true]:text-success-foreground"
86
86
  ]
87
87
  },
88
88
  warning: {
89
89
  wrapper: [
90
90
  "group-data-[checked=true]:bg-warning",
91
- "group-data-[checked=true]:text-warning-contrastText"
91
+ "group-data-[checked=true]:text-warning-foreground"
92
92
  ]
93
93
  },
94
94
  danger: {
95
95
  wrapper: [
96
96
  "group-data-[checked=true]:bg-danger",
97
- "data-[checked=true]:text-danger-contrastText"
97
+ "data-[checked=true]:text-danger-foreground"
98
98
  ]
99
99
  }
100
100
  },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toggle
3
- } from "../chunk-OS73LTIZ.mjs";
3
+ } from "../chunk-NCFXYR7C.mjs";
4
4
  export {
5
5
  toggle
6
6
  };
@@ -36,8 +36,8 @@ var user = (0, import_tailwind_variants.tv)({
36
36
  "data-[focus-visible=true]:dark:ring-offset-background-dark"
37
37
  ],
38
38
  wrapper: "inline-flex flex-col items-start",
39
- name: "text-sm text-foreground dark:text-foreground-dark",
40
- description: "text-xs text-neutral-500"
39
+ name: "text-sm text-inherit",
40
+ description: "text-xs text-neutral-400"
41
41
  }
42
42
  });
43
43
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  user
3
- } from "../chunk-2QIDY5NZ.mjs";
3
+ } from "../chunk-MW7UVOSP.mjs";
4
4
  export {
5
5
  user
6
6
  };