@nextui-org/theme 2.1.1 → 2.1.3

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.
@@ -14,7 +14,6 @@ var popover = tv({
14
14
  base: [
15
15
  "z-10",
16
16
  "relative",
17
- "overflow-hidden",
18
17
  "inline-flex",
19
18
  "flex-col",
20
19
  "items-center",
@@ -30,10 +29,9 @@ var popover = tv({
30
29
  trigger: ["z-10"],
31
30
  backdrop: ["hidden"],
32
31
  arrow: [
33
- "-z-10",
32
+ "z-[-1]",
34
33
  "absolute",
35
34
  "rotate-45",
36
- "bg-inherit",
37
35
  "w-2.5",
38
36
  "h-2.5",
39
37
  "rounded-sm",
@@ -72,25 +70,31 @@ var popover = tv({
72
70
  color: {
73
71
  default: {
74
72
  base: "bg-content1",
75
- arrow: "shadow-small"
73
+ arrow: "shadow-small bg-content1"
76
74
  },
77
75
  foreground: {
78
- base: colorVariants.solid.foreground
76
+ base: colorVariants.solid.foreground,
77
+ arrow: "bg-foreground"
79
78
  },
80
79
  primary: {
81
- base: colorVariants.solid.primary
80
+ base: colorVariants.solid.primary,
81
+ arrow: "bg-primary"
82
82
  },
83
83
  secondary: {
84
- base: colorVariants.solid.secondary
84
+ base: colorVariants.solid.secondary,
85
+ arrow: "bg-secondary"
85
86
  },
86
87
  success: {
87
- base: colorVariants.solid.success
88
+ base: colorVariants.solid.success,
89
+ arrow: "bg-success"
88
90
  },
89
91
  warning: {
90
- base: colorVariants.solid.warning
92
+ base: colorVariants.solid.warning,
93
+ arrow: "bg-warning"
91
94
  },
92
95
  danger: {
93
- base: colorVariants.solid.danger
96
+ base: colorVariants.solid.danger,
97
+ arrow: "bg-danger"
94
98
  }
95
99
  },
96
100
  radius: {
@@ -1195,7 +1195,6 @@ var popover = tv({
1195
1195
  base: [
1196
1196
  "z-10",
1197
1197
  "relative",
1198
- "overflow-hidden",
1199
1198
  "inline-flex",
1200
1199
  "flex-col",
1201
1200
  "items-center",
@@ -1211,10 +1210,9 @@ var popover = tv({
1211
1210
  trigger: ["z-10"],
1212
1211
  backdrop: ["hidden"],
1213
1212
  arrow: [
1214
- "-z-10",
1213
+ "z-[-1]",
1215
1214
  "absolute",
1216
1215
  "rotate-45",
1217
- "bg-inherit",
1218
1216
  "w-2.5",
1219
1217
  "h-2.5",
1220
1218
  "rounded-sm",
@@ -1253,25 +1251,31 @@ var popover = tv({
1253
1251
  color: {
1254
1252
  default: {
1255
1253
  base: "bg-content1",
1256
- arrow: "shadow-small"
1254
+ arrow: "shadow-small bg-content1"
1257
1255
  },
1258
1256
  foreground: {
1259
- base: colorVariants.solid.foreground
1257
+ base: colorVariants.solid.foreground,
1258
+ arrow: "bg-foreground"
1260
1259
  },
1261
1260
  primary: {
1262
- base: colorVariants.solid.primary
1261
+ base: colorVariants.solid.primary,
1262
+ arrow: "bg-primary"
1263
1263
  },
1264
1264
  secondary: {
1265
- base: colorVariants.solid.secondary
1265
+ base: colorVariants.solid.secondary,
1266
+ arrow: "bg-secondary"
1266
1267
  },
1267
1268
  success: {
1268
- base: colorVariants.solid.success
1269
+ base: colorVariants.solid.success,
1270
+ arrow: "bg-success"
1269
1271
  },
1270
1272
  warning: {
1271
- base: colorVariants.solid.warning
1273
+ base: colorVariants.solid.warning,
1274
+ arrow: "bg-warning"
1272
1275
  },
1273
1276
  danger: {
1274
- base: colorVariants.solid.danger
1277
+ base: colorVariants.solid.danger,
1278
+ arrow: "bg-danger"
1275
1279
  }
1276
1280
  },
1277
1281
  radius: {
@@ -16,7 +16,7 @@ import {
16
16
  } from "../chunk-O24TFHPZ.mjs";
17
17
  import {
18
18
  popover
19
- } from "../chunk-FTF3KQBD.mjs";
19
+ } from "../chunk-SN5GEHHN.mjs";
20
20
  import {
21
21
  progress
22
22
  } from "../chunk-LQGOKGQV.mjs";
@@ -36,21 +36,27 @@ declare const popover: tailwind_variants.TVReturnType<{
36
36
  };
37
37
  foreground: {
38
38
  base: string;
39
+ arrow: string;
39
40
  };
40
41
  primary: {
41
42
  base: string;
43
+ arrow: string;
42
44
  };
43
45
  secondary: {
44
46
  base: string;
47
+ arrow: string;
45
48
  };
46
49
  success: {
47
50
  base: string;
51
+ arrow: string;
48
52
  };
49
53
  warning: {
50
54
  base: string;
55
+ arrow: string;
51
56
  };
52
57
  danger: {
53
58
  base: string;
59
+ arrow: string;
54
60
  };
55
61
  };
56
62
  radius: {
@@ -125,21 +131,27 @@ declare const popover: tailwind_variants.TVReturnType<{
125
131
  };
126
132
  foreground: {
127
133
  base: string;
134
+ arrow: string;
128
135
  };
129
136
  primary: {
130
137
  base: string;
138
+ arrow: string;
131
139
  };
132
140
  secondary: {
133
141
  base: string;
142
+ arrow: string;
134
143
  };
135
144
  success: {
136
145
  base: string;
146
+ arrow: string;
137
147
  };
138
148
  warning: {
139
149
  base: string;
150
+ arrow: string;
140
151
  };
141
152
  danger: {
142
153
  base: string;
154
+ arrow: string;
143
155
  };
144
156
  };
145
157
  radius: {
@@ -209,21 +221,27 @@ declare const popover: tailwind_variants.TVReturnType<{
209
221
  };
210
222
  foreground: {
211
223
  base: string;
224
+ arrow: string;
212
225
  };
213
226
  primary: {
214
227
  base: string;
228
+ arrow: string;
215
229
  };
216
230
  secondary: {
217
231
  base: string;
232
+ arrow: string;
218
233
  };
219
234
  success: {
220
235
  base: string;
236
+ arrow: string;
221
237
  };
222
238
  warning: {
223
239
  base: string;
240
+ arrow: string;
224
241
  };
225
242
  danger: {
226
243
  base: string;
244
+ arrow: string;
227
245
  };
228
246
  };
229
247
  radius: {
@@ -293,21 +311,27 @@ declare const popover: tailwind_variants.TVReturnType<{
293
311
  };
294
312
  foreground: {
295
313
  base: string;
314
+ arrow: string;
296
315
  };
297
316
  primary: {
298
317
  base: string;
318
+ arrow: string;
299
319
  };
300
320
  secondary: {
301
321
  base: string;
322
+ arrow: string;
302
323
  };
303
324
  success: {
304
325
  base: string;
326
+ arrow: string;
305
327
  };
306
328
  warning: {
307
329
  base: string;
330
+ arrow: string;
308
331
  };
309
332
  danger: {
310
333
  base: string;
334
+ arrow: string;
311
335
  };
312
336
  };
313
337
  radius: {
@@ -205,7 +205,6 @@ var popover = tv({
205
205
  base: [
206
206
  "z-10",
207
207
  "relative",
208
- "overflow-hidden",
209
208
  "inline-flex",
210
209
  "flex-col",
211
210
  "items-center",
@@ -221,10 +220,9 @@ var popover = tv({
221
220
  trigger: ["z-10"],
222
221
  backdrop: ["hidden"],
223
222
  arrow: [
224
- "-z-10",
223
+ "z-[-1]",
225
224
  "absolute",
226
225
  "rotate-45",
227
- "bg-inherit",
228
226
  "w-2.5",
229
227
  "h-2.5",
230
228
  "rounded-sm",
@@ -263,25 +261,31 @@ var popover = tv({
263
261
  color: {
264
262
  default: {
265
263
  base: "bg-content1",
266
- arrow: "shadow-small"
264
+ arrow: "shadow-small bg-content1"
267
265
  },
268
266
  foreground: {
269
- base: colorVariants.solid.foreground
267
+ base: colorVariants.solid.foreground,
268
+ arrow: "bg-foreground"
270
269
  },
271
270
  primary: {
272
- base: colorVariants.solid.primary
271
+ base: colorVariants.solid.primary,
272
+ arrow: "bg-primary"
273
273
  },
274
274
  secondary: {
275
- base: colorVariants.solid.secondary
275
+ base: colorVariants.solid.secondary,
276
+ arrow: "bg-secondary"
276
277
  },
277
278
  success: {
278
- base: colorVariants.solid.success
279
+ base: colorVariants.solid.success,
280
+ arrow: "bg-success"
279
281
  },
280
282
  warning: {
281
- base: colorVariants.solid.warning
283
+ base: colorVariants.solid.warning,
284
+ arrow: "bg-warning"
282
285
  },
283
286
  danger: {
284
- base: colorVariants.solid.danger
287
+ base: colorVariants.solid.danger,
288
+ arrow: "bg-danger"
285
289
  }
286
290
  },
287
291
  radius: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  popover
3
- } from "../chunk-FTF3KQBD.mjs";
3
+ } from "../chunk-SN5GEHHN.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
package/dist/index.js CHANGED
@@ -1227,7 +1227,6 @@ var popover = tv({
1227
1227
  base: [
1228
1228
  "z-10",
1229
1229
  "relative",
1230
- "overflow-hidden",
1231
1230
  "inline-flex",
1232
1231
  "flex-col",
1233
1232
  "items-center",
@@ -1243,10 +1242,9 @@ var popover = tv({
1243
1242
  trigger: ["z-10"],
1244
1243
  backdrop: ["hidden"],
1245
1244
  arrow: [
1246
- "-z-10",
1245
+ "z-[-1]",
1247
1246
  "absolute",
1248
1247
  "rotate-45",
1249
- "bg-inherit",
1250
1248
  "w-2.5",
1251
1249
  "h-2.5",
1252
1250
  "rounded-sm",
@@ -1285,25 +1283,31 @@ var popover = tv({
1285
1283
  color: {
1286
1284
  default: {
1287
1285
  base: "bg-content1",
1288
- arrow: "shadow-small"
1286
+ arrow: "shadow-small bg-content1"
1289
1287
  },
1290
1288
  foreground: {
1291
- base: colorVariants.solid.foreground
1289
+ base: colorVariants.solid.foreground,
1290
+ arrow: "bg-foreground"
1292
1291
  },
1293
1292
  primary: {
1294
- base: colorVariants.solid.primary
1293
+ base: colorVariants.solid.primary,
1294
+ arrow: "bg-primary"
1295
1295
  },
1296
1296
  secondary: {
1297
- base: colorVariants.solid.secondary
1297
+ base: colorVariants.solid.secondary,
1298
+ arrow: "bg-secondary"
1298
1299
  },
1299
1300
  success: {
1300
- base: colorVariants.solid.success
1301
+ base: colorVariants.solid.success,
1302
+ arrow: "bg-success"
1301
1303
  },
1302
1304
  warning: {
1303
- base: colorVariants.solid.warning
1305
+ base: colorVariants.solid.warning,
1306
+ arrow: "bg-warning"
1304
1307
  },
1305
1308
  danger: {
1306
- base: colorVariants.solid.danger
1309
+ base: colorVariants.solid.danger,
1310
+ arrow: "bg-danger"
1307
1311
  }
1308
1312
  },
1309
1313
  radius: {
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-O24TFHPZ.mjs";
17
17
  import {
18
18
  popover
19
- } from "./chunk-FTF3KQBD.mjs";
19
+ } from "./chunk-SN5GEHHN.mjs";
20
20
  import {
21
21
  progress
22
22
  } from "./chunk-LQGOKGQV.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/theme",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "The default theme for NextUI components",
5
5
  "keywords": [
6
6
  "theme",