@nextui-org/theme 0.0.0-dev-v2-20230604204500 → 0.0.0-dev-v2-20230605023127
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.
- package/dist/chunk-GT4IHIJM.mjs +170 -0
- package/dist/{chunk-GGQITS2B.mjs → chunk-IACHWSFE.mjs} +1 -1
- package/dist/{chunk-QYXL3KZR.mjs → chunk-OWQHNQUJ.mjs} +4 -4
- package/dist/{chunk-NYEYKHJ3.mjs → chunk-P4WTCOA5.mjs} +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.mjs +1 -1
- package/dist/components/index.js +57 -207
- package/dist/components/index.mjs +17 -17
- package/dist/components/input.js +1 -1
- package/dist/components/input.mjs +1 -1
- package/dist/components/modal.d.ts +2 -2
- package/dist/components/modal.js +4 -4
- package/dist/components/modal.mjs +1 -1
- package/dist/components/popover.d.ts +48 -48
- package/dist/components/popover.js +51 -201
- package/dist/components/popover.mjs +1 -1
- package/dist/index.js +57 -207
- package/dist/index.mjs +20 -20
- package/dist/plugin.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-T23JC6II.mjs +0 -320
- package/dist/{chunk-3YIFM2I2.mjs → chunk-FA2XXESP.mjs} +3 -3
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colorVariants
|
|
3
|
+
} from "./chunk-IQPW7V4N.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/popover.ts
|
|
6
|
+
import { tv } from "tailwind-variants";
|
|
7
|
+
var popover = tv({
|
|
8
|
+
slots: {
|
|
9
|
+
base: [
|
|
10
|
+
"z-10",
|
|
11
|
+
"inline-flex",
|
|
12
|
+
"flex-col",
|
|
13
|
+
"items-center",
|
|
14
|
+
"justify-center",
|
|
15
|
+
"box-border",
|
|
16
|
+
"subpixel-antialiased",
|
|
17
|
+
"px-4",
|
|
18
|
+
"py-1",
|
|
19
|
+
"text-base",
|
|
20
|
+
"outline-none",
|
|
21
|
+
"box-border",
|
|
22
|
+
"data-[focus-visible=true]:outline-none",
|
|
23
|
+
"data-[focus-visible=true]:ring-2",
|
|
24
|
+
"data-[focus-visible=true]:ring-primary",
|
|
25
|
+
"data-[focus-visible=true]:ring-offset-2",
|
|
26
|
+
"data-[focus-visible=true]:ring-offset-background",
|
|
27
|
+
"data-[focus-visible=true]:dark:ring-offset-background-dark"
|
|
28
|
+
],
|
|
29
|
+
trigger: ["z-10"],
|
|
30
|
+
backdrop: ["hidden"],
|
|
31
|
+
arrow: [
|
|
32
|
+
"-z-10",
|
|
33
|
+
"absolute",
|
|
34
|
+
"rotate-45",
|
|
35
|
+
"bg-inherit",
|
|
36
|
+
"w-2.5",
|
|
37
|
+
"h-2.5",
|
|
38
|
+
"rounded-sm",
|
|
39
|
+
"data-[placement=top]:-bottom-1",
|
|
40
|
+
"data-[placement=top]:-translate-x-1/2",
|
|
41
|
+
"data-[placement=top-start]:-bottom-1",
|
|
42
|
+
"data-[placement=top-start]:-translate-x-8",
|
|
43
|
+
"data-[placement=top-end]:-bottom-1",
|
|
44
|
+
"data-[placement=top-end]:translate-x-6",
|
|
45
|
+
"data-[placement=bottom]:-top-1",
|
|
46
|
+
"data-[placement=bottom]:-translate-x-1/2",
|
|
47
|
+
"data-[placement=bottom-start]:-top-1",
|
|
48
|
+
"data-[placement=bottom-start]:-translate-x-8",
|
|
49
|
+
"data-[placement=bottom-end]:-top-1",
|
|
50
|
+
"data-[placement=bottom-end]:translate-x-6",
|
|
51
|
+
"data-[placement=left]:-right-1",
|
|
52
|
+
"data-[placement=left]:-translate-y-1/2",
|
|
53
|
+
"data-[placement=left-start]:-right-1",
|
|
54
|
+
"data-[placement=left-start]:-translate-y-3",
|
|
55
|
+
"data-[placement=left-end]:-right-1",
|
|
56
|
+
"data-[placement=left-end]:translate-y-0.5",
|
|
57
|
+
"data-[placement=right]:-left-1",
|
|
58
|
+
"data-[placement=right]:-translate-y-1/2",
|
|
59
|
+
"data-[placement=right-start]:-left-1",
|
|
60
|
+
"data-[placement=right-start]:-translate-y-3",
|
|
61
|
+
"data-[placement=right-end]:-left-1",
|
|
62
|
+
"data-[placement=right-end]:translate-y-0.5"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
variants: {
|
|
66
|
+
size: {
|
|
67
|
+
xs: { base: "text-xs" },
|
|
68
|
+
sm: { base: "text-sm" },
|
|
69
|
+
md: { base: "text-base" },
|
|
70
|
+
lg: { base: "text-lg" },
|
|
71
|
+
xl: { base: "text-xl" }
|
|
72
|
+
},
|
|
73
|
+
color: {
|
|
74
|
+
default: {
|
|
75
|
+
base: "bg-background dark:bg-content1"
|
|
76
|
+
},
|
|
77
|
+
foreground: {
|
|
78
|
+
base: colorVariants.solid.foreground
|
|
79
|
+
},
|
|
80
|
+
primary: {
|
|
81
|
+
base: colorVariants.solid.primary
|
|
82
|
+
},
|
|
83
|
+
secondary: {
|
|
84
|
+
base: colorVariants.solid.secondary
|
|
85
|
+
},
|
|
86
|
+
success: {
|
|
87
|
+
base: colorVariants.solid.success
|
|
88
|
+
},
|
|
89
|
+
warning: {
|
|
90
|
+
base: colorVariants.solid.warning
|
|
91
|
+
},
|
|
92
|
+
danger: {
|
|
93
|
+
base: colorVariants.solid.danger
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
radius: {
|
|
97
|
+
none: { base: "rounded-none" },
|
|
98
|
+
base: { base: "rounded" },
|
|
99
|
+
sm: { base: "rounded-sm" },
|
|
100
|
+
md: { base: "rounded-md" },
|
|
101
|
+
lg: { base: "rounded-lg" },
|
|
102
|
+
xl: { base: "rounded-xl" },
|
|
103
|
+
full: { base: "rounded-full" }
|
|
104
|
+
},
|
|
105
|
+
shadow: {
|
|
106
|
+
none: {
|
|
107
|
+
base: "shadow-none"
|
|
108
|
+
},
|
|
109
|
+
sm: {
|
|
110
|
+
base: "shadow-sm"
|
|
111
|
+
},
|
|
112
|
+
md: {
|
|
113
|
+
base: "shadow-md"
|
|
114
|
+
},
|
|
115
|
+
lg: {
|
|
116
|
+
base: "shadow-lg"
|
|
117
|
+
},
|
|
118
|
+
xl: {
|
|
119
|
+
base: "shadow-xl"
|
|
120
|
+
},
|
|
121
|
+
"2xl": {
|
|
122
|
+
base: "shadow-2xl"
|
|
123
|
+
},
|
|
124
|
+
inner: {
|
|
125
|
+
base: "shadow-inner"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
backdrop: {
|
|
129
|
+
transparent: {},
|
|
130
|
+
opaque: {
|
|
131
|
+
backdrop: "bg-black/50 backdrop-opacity-50"
|
|
132
|
+
},
|
|
133
|
+
blur: {
|
|
134
|
+
backdrop: "backdrop-blur-sm backdrop-saturate-150 bg-black/20"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
triggerScaleOnOpen: {
|
|
138
|
+
true: {
|
|
139
|
+
trigger: ["aria-expanded:scale-95", "aria-expanded:opacity-70", "subpixel-antialiased"]
|
|
140
|
+
},
|
|
141
|
+
false: {}
|
|
142
|
+
},
|
|
143
|
+
disableAnimation: {
|
|
144
|
+
true: {
|
|
145
|
+
base: "animate-none"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
defaultVariants: {
|
|
150
|
+
color: "default",
|
|
151
|
+
radius: "xl",
|
|
152
|
+
size: "md",
|
|
153
|
+
shadow: "lg",
|
|
154
|
+
backdrop: "transparent",
|
|
155
|
+
disableAnimation: false,
|
|
156
|
+
triggerScaleOnOpen: true
|
|
157
|
+
},
|
|
158
|
+
compoundVariants: [
|
|
159
|
+
{
|
|
160
|
+
backdrop: ["opaque", "blur"],
|
|
161
|
+
class: {
|
|
162
|
+
backdrop: "block w-full h-full fixed inset-0 -z-30"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
export {
|
|
169
|
+
popover
|
|
170
|
+
};
|
|
@@ -95,10 +95,10 @@ var modal = tv({
|
|
|
95
95
|
"2xl": { base: "rounded-2xl" },
|
|
96
96
|
"3xl": { base: "rounded-3xl" }
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
backdrop: {
|
|
99
99
|
transparent: {},
|
|
100
100
|
opaque: {
|
|
101
|
-
backdrop: "bg-black/
|
|
101
|
+
backdrop: "bg-black/50 backdrop-opacity-50"
|
|
102
102
|
},
|
|
103
103
|
blur: {
|
|
104
104
|
backdrop: "backdrop-blur-sm backdrop-saturate-150 bg-black/20"
|
|
@@ -118,12 +118,12 @@ var modal = tv({
|
|
|
118
118
|
defaultVariants: {
|
|
119
119
|
size: "md",
|
|
120
120
|
radius: "lg",
|
|
121
|
-
|
|
121
|
+
backdrop: "blur",
|
|
122
122
|
scrollBehavior: "inside"
|
|
123
123
|
},
|
|
124
124
|
compoundVariants: [
|
|
125
125
|
{
|
|
126
|
-
|
|
126
|
+
backdrop: ["opaque", "blur"],
|
|
127
127
|
class: {
|
|
128
128
|
backdrop: "block w-full h-full fixed inset-0"
|
|
129
129
|
}
|
|
@@ -66,7 +66,7 @@ var dropdownItem = tv({
|
|
|
66
66
|
base: "bg-transparent"
|
|
67
67
|
},
|
|
68
68
|
faded: {
|
|
69
|
-
base: "border border-transparent hover:border-default data-[hover=true]:bg-default-100"
|
|
69
|
+
base: "border-2 border-transparent hover:border-default data-[hover=true]:bg-default-100"
|
|
70
70
|
},
|
|
71
71
|
flat: {
|
|
72
72
|
base: ""
|
|
@@ -93,7 +93,7 @@ var dropdownItem = (0, import_tailwind_variants.tv)({
|
|
|
93
93
|
base: "bg-transparent"
|
|
94
94
|
},
|
|
95
95
|
faded: {
|
|
96
|
-
base: "border border-transparent hover:border-default data-[hover=true]:bg-default-100"
|
|
96
|
+
base: "border-2 border-transparent hover:border-default data-[hover=true]:bg-default-100"
|
|
97
97
|
},
|
|
98
98
|
flat: {
|
|
99
99
|
base: ""
|
package/dist/components/index.js
CHANGED
|
@@ -1248,7 +1248,8 @@ var popover = (0, import_tailwind_variants9.tv)({
|
|
|
1248
1248
|
"px-4",
|
|
1249
1249
|
"py-1",
|
|
1250
1250
|
"text-base",
|
|
1251
|
-
"
|
|
1251
|
+
"outline-none",
|
|
1252
|
+
"box-border",
|
|
1252
1253
|
"data-[focus-visible=true]:outline-none",
|
|
1253
1254
|
"data-[focus-visible=true]:ring-2",
|
|
1254
1255
|
"data-[focus-visible=true]:ring-primary",
|
|
@@ -1293,17 +1294,6 @@ var popover = (0, import_tailwind_variants9.tv)({
|
|
|
1293
1294
|
]
|
|
1294
1295
|
},
|
|
1295
1296
|
variants: {
|
|
1296
|
-
variant: {
|
|
1297
|
-
solid: { base: "" },
|
|
1298
|
-
bordered: {
|
|
1299
|
-
base: "border-2 !bg-background",
|
|
1300
|
-
arrow: "border-2 border-inherit !bg-background"
|
|
1301
|
-
},
|
|
1302
|
-
light: { base: "!bg-transparent", arrow: "hidden" },
|
|
1303
|
-
faded: { base: "border", arrow: "border border-inherit" },
|
|
1304
|
-
flat: { base: "" },
|
|
1305
|
-
shadow: { base: "" }
|
|
1306
|
-
},
|
|
1307
1297
|
size: {
|
|
1308
1298
|
xs: { base: "text-xs" },
|
|
1309
1299
|
sm: { base: "text-sm" },
|
|
@@ -1312,13 +1302,27 @@ var popover = (0, import_tailwind_variants9.tv)({
|
|
|
1312
1302
|
xl: { base: "text-xl" }
|
|
1313
1303
|
},
|
|
1314
1304
|
color: {
|
|
1315
|
-
default: {
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1305
|
+
default: {
|
|
1306
|
+
base: "bg-background dark:bg-content1"
|
|
1307
|
+
},
|
|
1308
|
+
foreground: {
|
|
1309
|
+
base: colorVariants.solid.foreground
|
|
1310
|
+
},
|
|
1311
|
+
primary: {
|
|
1312
|
+
base: colorVariants.solid.primary
|
|
1313
|
+
},
|
|
1314
|
+
secondary: {
|
|
1315
|
+
base: colorVariants.solid.secondary
|
|
1316
|
+
},
|
|
1317
|
+
success: {
|
|
1318
|
+
base: colorVariants.solid.success
|
|
1319
|
+
},
|
|
1320
|
+
warning: {
|
|
1321
|
+
base: colorVariants.solid.warning
|
|
1322
|
+
},
|
|
1323
|
+
danger: {
|
|
1324
|
+
base: colorVariants.solid.danger
|
|
1325
|
+
}
|
|
1322
1326
|
},
|
|
1323
1327
|
radius: {
|
|
1324
1328
|
none: { base: "rounded-none" },
|
|
@@ -1329,10 +1333,33 @@ var popover = (0, import_tailwind_variants9.tv)({
|
|
|
1329
1333
|
xl: { base: "rounded-xl" },
|
|
1330
1334
|
full: { base: "rounded-full" }
|
|
1331
1335
|
},
|
|
1332
|
-
|
|
1336
|
+
shadow: {
|
|
1337
|
+
none: {
|
|
1338
|
+
base: "shadow-none"
|
|
1339
|
+
},
|
|
1340
|
+
sm: {
|
|
1341
|
+
base: "shadow-sm"
|
|
1342
|
+
},
|
|
1343
|
+
md: {
|
|
1344
|
+
base: "shadow-md"
|
|
1345
|
+
},
|
|
1346
|
+
lg: {
|
|
1347
|
+
base: "shadow-lg"
|
|
1348
|
+
},
|
|
1349
|
+
xl: {
|
|
1350
|
+
base: "shadow-xl"
|
|
1351
|
+
},
|
|
1352
|
+
"2xl": {
|
|
1353
|
+
base: "shadow-2xl"
|
|
1354
|
+
},
|
|
1355
|
+
inner: {
|
|
1356
|
+
base: "shadow-inner"
|
|
1357
|
+
}
|
|
1358
|
+
},
|
|
1359
|
+
backdrop: {
|
|
1333
1360
|
transparent: {},
|
|
1334
1361
|
opaque: {
|
|
1335
|
-
backdrop: "bg-black/
|
|
1362
|
+
backdrop: "bg-black/50 backdrop-opacity-50"
|
|
1336
1363
|
},
|
|
1337
1364
|
blur: {
|
|
1338
1365
|
backdrop: "backdrop-blur-sm backdrop-saturate-150 bg-black/20"
|
|
@@ -1351,194 +1378,17 @@ var popover = (0, import_tailwind_variants9.tv)({
|
|
|
1351
1378
|
}
|
|
1352
1379
|
},
|
|
1353
1380
|
defaultVariants: {
|
|
1354
|
-
variant: "solid",
|
|
1355
1381
|
color: "default",
|
|
1356
1382
|
radius: "xl",
|
|
1357
1383
|
size: "md",
|
|
1358
|
-
|
|
1384
|
+
shadow: "lg",
|
|
1385
|
+
backdrop: "transparent",
|
|
1359
1386
|
disableAnimation: false,
|
|
1360
1387
|
triggerScaleOnOpen: true
|
|
1361
1388
|
},
|
|
1362
1389
|
compoundVariants: [
|
|
1363
1390
|
{
|
|
1364
|
-
|
|
1365
|
-
color: "default",
|
|
1366
|
-
class: {
|
|
1367
|
-
base: colorVariants.shadow.default
|
|
1368
|
-
}
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
variant: "shadow",
|
|
1372
|
-
color: "foreground",
|
|
1373
|
-
class: { base: colorVariants.shadow.foreground }
|
|
1374
|
-
},
|
|
1375
|
-
{
|
|
1376
|
-
variant: "shadow",
|
|
1377
|
-
color: "primary",
|
|
1378
|
-
class: { base: colorVariants.shadow.primary }
|
|
1379
|
-
},
|
|
1380
|
-
{
|
|
1381
|
-
variant: "shadow",
|
|
1382
|
-
color: "secondary",
|
|
1383
|
-
class: { base: colorVariants.shadow.secondary }
|
|
1384
|
-
},
|
|
1385
|
-
{
|
|
1386
|
-
variant: "shadow",
|
|
1387
|
-
color: "success",
|
|
1388
|
-
class: { base: colorVariants.shadow.success }
|
|
1389
|
-
},
|
|
1390
|
-
{
|
|
1391
|
-
variant: "shadow",
|
|
1392
|
-
color: "warning",
|
|
1393
|
-
class: { base: colorVariants.shadow.warning }
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
variant: "shadow",
|
|
1397
|
-
color: "danger",
|
|
1398
|
-
class: { base: colorVariants.shadow.danger }
|
|
1399
|
-
},
|
|
1400
|
-
{
|
|
1401
|
-
variant: "bordered",
|
|
1402
|
-
color: "default",
|
|
1403
|
-
class: { base: colorVariants.bordered.default }
|
|
1404
|
-
},
|
|
1405
|
-
{
|
|
1406
|
-
variant: "bordered",
|
|
1407
|
-
color: "foreground",
|
|
1408
|
-
class: { base: colorVariants.bordered.foreground }
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
variant: "bordered",
|
|
1412
|
-
color: "primary",
|
|
1413
|
-
class: { base: colorVariants.bordered.primary }
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
variant: "bordered",
|
|
1417
|
-
color: "secondary",
|
|
1418
|
-
class: { base: colorVariants.bordered.secondary }
|
|
1419
|
-
},
|
|
1420
|
-
{
|
|
1421
|
-
variant: "bordered",
|
|
1422
|
-
color: "success",
|
|
1423
|
-
class: { base: colorVariants.bordered.success }
|
|
1424
|
-
},
|
|
1425
|
-
{
|
|
1426
|
-
variant: "bordered",
|
|
1427
|
-
color: "warning",
|
|
1428
|
-
class: { base: colorVariants.bordered.warning }
|
|
1429
|
-
},
|
|
1430
|
-
{
|
|
1431
|
-
variant: "bordered",
|
|
1432
|
-
color: "danger",
|
|
1433
|
-
class: { base: colorVariants.bordered.danger }
|
|
1434
|
-
},
|
|
1435
|
-
{
|
|
1436
|
-
variant: "flat",
|
|
1437
|
-
color: "default",
|
|
1438
|
-
class: { base: colorVariants.flat.default }
|
|
1439
|
-
},
|
|
1440
|
-
{
|
|
1441
|
-
variant: "flat",
|
|
1442
|
-
color: "foreground",
|
|
1443
|
-
class: { base: colorVariants.flat.foreground }
|
|
1444
|
-
},
|
|
1445
|
-
{
|
|
1446
|
-
variant: "flat",
|
|
1447
|
-
color: "primary",
|
|
1448
|
-
class: { base: colorVariants.flat.primary }
|
|
1449
|
-
},
|
|
1450
|
-
{
|
|
1451
|
-
variant: "flat",
|
|
1452
|
-
color: "secondary",
|
|
1453
|
-
class: { base: colorVariants.flat.secondary }
|
|
1454
|
-
},
|
|
1455
|
-
{
|
|
1456
|
-
variant: "flat",
|
|
1457
|
-
color: "success",
|
|
1458
|
-
class: { base: colorVariants.flat.success }
|
|
1459
|
-
},
|
|
1460
|
-
{
|
|
1461
|
-
variant: "flat",
|
|
1462
|
-
color: "warning",
|
|
1463
|
-
class: { base: colorVariants.flat.warning }
|
|
1464
|
-
},
|
|
1465
|
-
{
|
|
1466
|
-
variant: "flat",
|
|
1467
|
-
color: "danger",
|
|
1468
|
-
class: { base: colorVariants.flat.danger }
|
|
1469
|
-
},
|
|
1470
|
-
{
|
|
1471
|
-
variant: "faded",
|
|
1472
|
-
color: "default",
|
|
1473
|
-
class: { base: colorVariants.faded.default }
|
|
1474
|
-
},
|
|
1475
|
-
{
|
|
1476
|
-
variant: "faded",
|
|
1477
|
-
color: "foreground",
|
|
1478
|
-
class: { base: colorVariants.faded.foreground }
|
|
1479
|
-
},
|
|
1480
|
-
{
|
|
1481
|
-
variant: "faded",
|
|
1482
|
-
color: "primary",
|
|
1483
|
-
class: { base: colorVariants.faded.primary }
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
variant: "faded",
|
|
1487
|
-
color: "secondary",
|
|
1488
|
-
class: { base: colorVariants.faded.secondary }
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
variant: "faded",
|
|
1492
|
-
color: "success",
|
|
1493
|
-
class: { base: colorVariants.faded.success }
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
variant: "faded",
|
|
1497
|
-
color: "warning",
|
|
1498
|
-
class: { base: colorVariants.faded.warning }
|
|
1499
|
-
},
|
|
1500
|
-
{
|
|
1501
|
-
variant: "faded",
|
|
1502
|
-
color: "danger",
|
|
1503
|
-
class: { base: colorVariants.faded.danger }
|
|
1504
|
-
},
|
|
1505
|
-
{
|
|
1506
|
-
variant: "light",
|
|
1507
|
-
color: "default",
|
|
1508
|
-
class: { base: colorVariants.light.default }
|
|
1509
|
-
},
|
|
1510
|
-
{
|
|
1511
|
-
variant: "light",
|
|
1512
|
-
color: "foreground",
|
|
1513
|
-
class: { base: colorVariants.light.foreground }
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
variant: "light",
|
|
1517
|
-
color: "primary",
|
|
1518
|
-
class: { base: colorVariants.light.primary }
|
|
1519
|
-
},
|
|
1520
|
-
{
|
|
1521
|
-
variant: "light",
|
|
1522
|
-
color: "secondary",
|
|
1523
|
-
class: { base: colorVariants.light.secondary }
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
variant: "light",
|
|
1527
|
-
color: "success",
|
|
1528
|
-
class: { base: colorVariants.light.success }
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
variant: "light",
|
|
1532
|
-
color: "warning",
|
|
1533
|
-
class: { base: colorVariants.light.warning }
|
|
1534
|
-
},
|
|
1535
|
-
{
|
|
1536
|
-
variant: "light",
|
|
1537
|
-
color: "danger",
|
|
1538
|
-
class: { base: colorVariants.light.danger }
|
|
1539
|
-
},
|
|
1540
|
-
{
|
|
1541
|
-
backdropVariant: ["opaque", "blur"],
|
|
1391
|
+
backdrop: ["opaque", "blur"],
|
|
1542
1392
|
class: {
|
|
1543
1393
|
backdrop: "block w-full h-full fixed inset-0 -z-30"
|
|
1544
1394
|
}
|
|
@@ -3895,7 +3745,7 @@ var input = (0, import_tailwind_variants20.tv)({
|
|
|
3895
3745
|
faded: {
|
|
3896
3746
|
inputWrapper: [
|
|
3897
3747
|
"bg-default-100",
|
|
3898
|
-
"border",
|
|
3748
|
+
"border-2",
|
|
3899
3749
|
"border-default-200",
|
|
3900
3750
|
"data-[hover=true]:border-default-400"
|
|
3901
3751
|
]
|
|
@@ -4717,7 +4567,7 @@ var dropdownItem = (0, import_tailwind_variants21.tv)({
|
|
|
4717
4567
|
base: "bg-transparent"
|
|
4718
4568
|
},
|
|
4719
4569
|
faded: {
|
|
4720
|
-
base: "border border-transparent hover:border-default data-[hover=true]:bg-default-100"
|
|
4570
|
+
base: "border-2 border-transparent hover:border-default data-[hover=true]:bg-default-100"
|
|
4721
4571
|
},
|
|
4722
4572
|
flat: {
|
|
4723
4573
|
base: ""
|
|
@@ -5309,10 +5159,10 @@ var modal = (0, import_tailwind_variants23.tv)({
|
|
|
5309
5159
|
"2xl": { base: "rounded-2xl" },
|
|
5310
5160
|
"3xl": { base: "rounded-3xl" }
|
|
5311
5161
|
},
|
|
5312
|
-
|
|
5162
|
+
backdrop: {
|
|
5313
5163
|
transparent: {},
|
|
5314
5164
|
opaque: {
|
|
5315
|
-
backdrop: "bg-black/
|
|
5165
|
+
backdrop: "bg-black/50 backdrop-opacity-50"
|
|
5316
5166
|
},
|
|
5317
5167
|
blur: {
|
|
5318
5168
|
backdrop: "backdrop-blur-sm backdrop-saturate-150 bg-black/20"
|
|
@@ -5332,12 +5182,12 @@ var modal = (0, import_tailwind_variants23.tv)({
|
|
|
5332
5182
|
defaultVariants: {
|
|
5333
5183
|
size: "md",
|
|
5334
5184
|
radius: "lg",
|
|
5335
|
-
|
|
5185
|
+
backdrop: "blur",
|
|
5336
5186
|
scrollBehavior: "inside"
|
|
5337
5187
|
},
|
|
5338
5188
|
compoundVariants: [
|
|
5339
5189
|
{
|
|
5340
|
-
|
|
5190
|
+
backdrop: ["opaque", "blur"],
|
|
5341
5191
|
class: {
|
|
5342
5192
|
backdrop: "block w-full h-full fixed inset-0"
|
|
5343
5193
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import "../chunk-PRWEADY4.mjs";
|
|
2
|
-
import {
|
|
3
|
-
spacer
|
|
4
|
-
} from "../chunk-3B4SYPW2.mjs";
|
|
5
2
|
import {
|
|
6
3
|
spinner
|
|
7
4
|
} from "../chunk-HOQUCE4N.mjs";
|
|
@@ -17,9 +14,6 @@ import {
|
|
|
17
14
|
import {
|
|
18
15
|
user
|
|
19
16
|
} from "../chunk-ZFYINWFR.mjs";
|
|
20
|
-
import {
|
|
21
|
-
modal
|
|
22
|
-
} from "../chunk-QYXL3KZR.mjs";
|
|
23
17
|
import {
|
|
24
18
|
navbar
|
|
25
19
|
} from "../chunk-6LITGDC7.mjs";
|
|
@@ -28,7 +22,7 @@ import {
|
|
|
28
22
|
} from "../chunk-4MSPP245.mjs";
|
|
29
23
|
import {
|
|
30
24
|
popover
|
|
31
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-GT4IHIJM.mjs";
|
|
32
26
|
import {
|
|
33
27
|
progress
|
|
34
28
|
} from "../chunk-BHHIVMOY.mjs";
|
|
@@ -43,8 +37,8 @@ import {
|
|
|
43
37
|
snippet
|
|
44
38
|
} from "../chunk-ADHGFNBD.mjs";
|
|
45
39
|
import {
|
|
46
|
-
|
|
47
|
-
} from "../chunk-
|
|
40
|
+
spacer
|
|
41
|
+
} from "../chunk-3B4SYPW2.mjs";
|
|
48
42
|
import {
|
|
49
43
|
drip
|
|
50
44
|
} from "../chunk-OIVGIOVG.mjs";
|
|
@@ -53,13 +47,13 @@ import {
|
|
|
53
47
|
dropdownItem,
|
|
54
48
|
dropdownMenu,
|
|
55
49
|
dropdownSection
|
|
56
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-P4WTCOA5.mjs";
|
|
57
51
|
import {
|
|
58
52
|
image
|
|
59
53
|
} from "../chunk-LNV5ZITR.mjs";
|
|
60
54
|
import {
|
|
61
55
|
input
|
|
62
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-IACHWSFE.mjs";
|
|
63
57
|
import {
|
|
64
58
|
kbd
|
|
65
59
|
} from "../chunk-GYSMGV7B.mjs";
|
|
@@ -68,9 +62,8 @@ import {
|
|
|
68
62
|
linkAnchorClasses
|
|
69
63
|
} from "../chunk-YQXYRWJP.mjs";
|
|
70
64
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "../chunk-ZL6WUYLC.mjs";
|
|
65
|
+
modal
|
|
66
|
+
} from "../chunk-OWQHNQUJ.mjs";
|
|
74
67
|
import {
|
|
75
68
|
badge
|
|
76
69
|
} from "../chunk-BUDAC6TR.mjs";
|
|
@@ -94,13 +87,20 @@ import {
|
|
|
94
87
|
import {
|
|
95
88
|
code
|
|
96
89
|
} from "../chunk-E3HXNSRG.mjs";
|
|
97
|
-
import
|
|
98
|
-
|
|
99
|
-
|
|
90
|
+
import {
|
|
91
|
+
divider
|
|
92
|
+
} from "../chunk-5HKM2D3Z.mjs";
|
|
100
93
|
import {
|
|
101
94
|
accordion,
|
|
102
95
|
accordionItem
|
|
103
96
|
} from "../chunk-76WBK7WN.mjs";
|
|
97
|
+
import {
|
|
98
|
+
avatar,
|
|
99
|
+
avatarGroup
|
|
100
|
+
} from "../chunk-ZL6WUYLC.mjs";
|
|
101
|
+
import "../chunk-CMYR6AOY.mjs";
|
|
102
|
+
import "../chunk-K7LK7NCE.mjs";
|
|
103
|
+
import "../chunk-IQPW7V4N.mjs";
|
|
104
104
|
import "../chunk-INZK6TTL.mjs";
|
|
105
105
|
export {
|
|
106
106
|
accordion,
|
package/dist/components/input.js
CHANGED
|
@@ -79,7 +79,7 @@ declare const modal: tailwind_variants.TVReturnType<{
|
|
|
79
79
|
base: string;
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
|
-
|
|
82
|
+
backdrop: {
|
|
83
83
|
transparent: {};
|
|
84
84
|
opaque: {
|
|
85
85
|
backdrop: string;
|
|
@@ -166,7 +166,7 @@ declare const modal: tailwind_variants.TVReturnType<{
|
|
|
166
166
|
base: string;
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
|
-
|
|
169
|
+
backdrop: {
|
|
170
170
|
transparent: {};
|
|
171
171
|
opaque: {
|
|
172
172
|
backdrop: string;
|