@nextui-org/theme 0.0.0-dev-v2-20230616024445 → 0.0.0-dev-v2-20230617142344
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-CU2CEJ2Y.mjs → chunk-27PQQNKZ.mjs} +1 -1
- package/dist/{chunk-2FCKB2MY.mjs → chunk-EQVBIZB3.mjs} +25 -2
- package/dist/{chunk-GYSMGV7B.mjs → chunk-GBPOVFEX.mjs} +1 -2
- package/dist/{chunk-G6KSF7PF.mjs → chunk-HKMIRUA2.mjs} +1 -1
- package/dist/{chunk-W3WKU3QV.mjs → chunk-I4OYRSA7.mjs} +6 -6
- package/dist/{chunk-MVHNLIGC.mjs → chunk-K55AW2NU.mjs} +1 -1
- package/dist/{chunk-YUKQ7UM6.mjs → chunk-LWJT5D6G.mjs} +1 -1
- package/dist/{chunk-LKIEW7IB.mjs → chunk-MWWMIOTS.mjs} +1 -1
- package/dist/{chunk-IY2YC7CG.mjs → chunk-NASOHMPB.mjs} +1 -1
- package/dist/{chunk-Q7HCFO5Z.mjs → chunk-RWQ57OVD.mjs} +2 -2
- package/dist/{chunk-3L2LTGPE.mjs → chunk-TO7LQPC3.mjs} +1 -1
- package/dist/{chunk-B5DUUZBQ.mjs → chunk-WUX2XFG4.mjs} +7 -7
- package/dist/{chunk-YRIORG7Z.mjs → chunk-YOSP6YO6.mjs} +2 -2
- package/dist/components/accordion.d.ts +126 -12
- package/dist/components/avatar.d.ts +192 -4
- package/dist/components/avatar.js +6 -6
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/badge.d.ts +192 -1
- package/dist/components/badge.js +6 -6
- package/dist/components/badge.mjs +2 -2
- package/dist/components/button.d.ts +194 -74
- package/dist/components/button.js +12 -12
- package/dist/components/button.mjs +2 -2
- package/dist/components/card.d.ts +222 -3
- package/dist/components/checkbox.d.ts +217 -4
- package/dist/components/chip.d.ts +249 -1
- package/dist/components/chip.js +6 -6
- package/dist/components/chip.mjs +2 -2
- package/dist/components/circular-progress.d.ts +137 -1
- package/dist/components/code.d.ts +75 -25
- package/dist/components/code.js +6 -6
- package/dist/components/code.mjs +2 -2
- package/dist/components/divider.d.ts +15 -5
- package/dist/components/drip.d.ts +5 -1
- package/dist/components/dropdown.d.ts +120 -4
- package/dist/components/image.d.ts +136 -1
- package/dist/components/index.js +41 -19
- package/dist/components/index.mjs +42 -42
- package/dist/components/input.d.ts +306 -1
- package/dist/components/kbd.d.ts +5 -1
- package/dist/components/kbd.js +1 -2
- package/dist/components/kbd.mjs +1 -1
- package/dist/components/link.d.ts +105 -39
- package/dist/components/modal.d.ts +269 -4
- package/dist/components/modal.js +25 -2
- package/dist/components/modal.mjs +1 -1
- package/dist/components/navbar.d.ts +116 -1
- package/dist/components/navbar.js +1 -1
- package/dist/components/navbar.mjs +1 -1
- package/dist/components/pagination.d.ts +170 -1
- package/dist/components/pagination.js +6 -6
- package/dist/components/pagination.mjs +2 -2
- package/dist/components/popover.d.ts +220 -1
- package/dist/components/popover.js +7 -7
- package/dist/components/popover.mjs +2 -2
- package/dist/components/progress.d.ts +107 -1
- package/dist/components/radio.d.ts +261 -4
- package/dist/components/skeleton.d.ts +26 -1
- package/dist/components/snippet.d.ts +151 -9
- package/dist/components/snippet.js +6 -6
- package/dist/components/snippet.mjs +2 -2
- package/dist/components/spacer.d.ts +15 -5
- package/dist/components/spinner.d.ts +181 -1
- package/dist/components/table.d.ts +233 -1
- package/dist/components/tabs.d.ts +248 -1
- package/dist/components/tabs.js +7 -7
- package/dist/components/tabs.mjs +2 -2
- package/dist/components/toggle.d.ts +159 -1
- package/dist/components/user.d.ts +22 -3
- package/dist/index.js +41 -19
- package/dist/index.mjs +45 -45
- package/dist/plugin.mjs +2 -2
- package/dist/utils/index.js +6 -6
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/variants.js +6 -6
- package/dist/utils/variants.mjs +1 -1
- package/package.json +2 -2
- package/dist/{chunk-K2K46ZNI.mjs → chunk-JR6TMRUJ.mjs} +3 -3
|
@@ -21,14 +21,13 @@ var modal = tv({
|
|
|
21
21
|
"bg-white",
|
|
22
22
|
"z-50",
|
|
23
23
|
"w-full",
|
|
24
|
-
"shadow-lg",
|
|
25
24
|
"box-border",
|
|
25
|
+
"bg-background",
|
|
26
26
|
"dark:bg-content1",
|
|
27
27
|
"border border-default-100",
|
|
28
28
|
"outline-none",
|
|
29
29
|
"my-16"
|
|
30
30
|
],
|
|
31
|
-
trigger: [],
|
|
32
31
|
backdrop: "z-50",
|
|
33
32
|
header: "flex py-4 px-6 flex-initial text-lg font-semibold",
|
|
34
33
|
body: "flex flex-1 flex-col gap-3 px-6 py-2",
|
|
@@ -96,6 +95,29 @@ var modal = tv({
|
|
|
96
95
|
"2xl": { base: "rounded-2xl" },
|
|
97
96
|
"3xl": { base: "rounded-3xl" }
|
|
98
97
|
},
|
|
98
|
+
shadow: {
|
|
99
|
+
none: {
|
|
100
|
+
base: "shadow-none"
|
|
101
|
+
},
|
|
102
|
+
sm: {
|
|
103
|
+
base: "shadow-sm"
|
|
104
|
+
},
|
|
105
|
+
md: {
|
|
106
|
+
base: "shadow-md"
|
|
107
|
+
},
|
|
108
|
+
lg: {
|
|
109
|
+
base: "shadow-lg"
|
|
110
|
+
},
|
|
111
|
+
xl: {
|
|
112
|
+
base: "shadow-xl"
|
|
113
|
+
},
|
|
114
|
+
"2xl": {
|
|
115
|
+
base: "shadow-2xl"
|
|
116
|
+
},
|
|
117
|
+
inner: {
|
|
118
|
+
base: "shadow-inner"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
99
121
|
backdrop: {
|
|
100
122
|
transparent: {
|
|
101
123
|
backdrop: "hidden"
|
|
@@ -124,6 +146,7 @@ var modal = tv({
|
|
|
124
146
|
defaultVariants: {
|
|
125
147
|
size: "md",
|
|
126
148
|
radius: "lg",
|
|
149
|
+
shadow: "lg",
|
|
127
150
|
backdrop: "opaque",
|
|
128
151
|
scrollBehavior: "normal"
|
|
129
152
|
},
|
|
@@ -27,12 +27,12 @@ var bordered = {
|
|
|
27
27
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
28
28
|
};
|
|
29
29
|
var flat = {
|
|
30
|
-
default: "bg-default-100 text-default-foreground",
|
|
31
|
-
primary: "bg-primary-50 text-primary",
|
|
32
|
-
secondary: "bg-secondary-100 text-secondary",
|
|
33
|
-
success: "bg-success-50 text-success-600 dark:text-success",
|
|
34
|
-
warning: "bg-warning-50 text-warning-600 dark:text-warning",
|
|
35
|
-
danger: "bg-danger-50 text-danger",
|
|
30
|
+
default: "bg-default-100/50 text-default-foreground",
|
|
31
|
+
primary: "bg-primary-100/50 text-primary",
|
|
32
|
+
secondary: "bg-secondary-100/50 text-secondary",
|
|
33
|
+
success: "bg-success-100/50 text-success-600 dark:text-success",
|
|
34
|
+
warning: "bg-warning-100/50 text-warning-600 dark:text-warning",
|
|
35
|
+
danger: "bg-danger-100/50 text-danger",
|
|
36
36
|
foreground: "bg-foreground/10 text-foreground"
|
|
37
37
|
};
|
|
38
38
|
var faded = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colorVariants
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I4OYRSA7.mjs";
|
|
4
4
|
|
|
5
5
|
// src/components/tabs.ts
|
|
6
6
|
import { tv } from "tailwind-variants";
|
|
7
7
|
var tabs = tv({
|
|
8
8
|
slots: {
|
|
9
9
|
base: "inline-flex",
|
|
10
|
-
tabList: ["flex", "items-center", "gap-2", "bg-
|
|
10
|
+
tabList: ["flex", "items-center", "gap-2", "bg-default-100", "p-1", "h-fit"],
|
|
11
11
|
tab: [
|
|
12
12
|
"z-0",
|
|
13
13
|
"w-full",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colorVariants
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I4OYRSA7.mjs";
|
|
4
4
|
|
|
5
5
|
// src/components/button.ts
|
|
6
6
|
import { tv } from "tailwind-variants";
|
|
@@ -250,32 +250,32 @@ var button = tv({
|
|
|
250
250
|
{
|
|
251
251
|
variant: "light",
|
|
252
252
|
color: "default",
|
|
253
|
-
class: [colorVariants.light.default, "data-[hover=true]:bg-default-100"]
|
|
253
|
+
class: [colorVariants.light.default, "data-[hover=true]:bg-default-100/50"]
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
variant: "light",
|
|
257
257
|
color: "primary",
|
|
258
|
-
class: [colorVariants.light.primary, "data-[hover=true]:bg-primary-50"]
|
|
258
|
+
class: [colorVariants.light.primary, "data-[hover=true]:bg-primary-100/50"]
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
variant: "light",
|
|
262
262
|
color: "secondary",
|
|
263
|
-
class: [colorVariants.light.secondary, "data-[hover=true]:bg-secondary-100"]
|
|
263
|
+
class: [colorVariants.light.secondary, "data-[hover=true]:bg-secondary-100/50"]
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
variant: "light",
|
|
267
267
|
color: "success",
|
|
268
|
-
class: [colorVariants.light.success, "data-[hover=true]:bg-success-50"]
|
|
268
|
+
class: [colorVariants.light.success, "data-[hover=true]:bg-success-100/50"]
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
271
|
variant: "light",
|
|
272
272
|
color: "warning",
|
|
273
|
-
class: [colorVariants.light.warning, "data-[hover=true]:bg-warning-50"]
|
|
273
|
+
class: [colorVariants.light.warning, "data-[hover=true]:bg-warning-100/50"]
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
276
|
variant: "light",
|
|
277
277
|
color: "danger",
|
|
278
|
-
class: [colorVariants.light.danger, "data-[hover=true]:bg-danger-50"]
|
|
278
|
+
class: [colorVariants.light.danger, "data-[hover=true]:bg-danger-100/50"]
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
variant: "ghost",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colorVariants
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I4OYRSA7.mjs";
|
|
4
4
|
|
|
5
5
|
// src/components/popover.ts
|
|
6
6
|
import { tv } from "tailwind-variants";
|
|
@@ -72,7 +72,7 @@ var popover = tv({
|
|
|
72
72
|
},
|
|
73
73
|
color: {
|
|
74
74
|
default: {
|
|
75
|
-
base: "bg-background dark:bg-content1"
|
|
75
|
+
base: "bg-background dark:bg-content1 border border-default-100"
|
|
76
76
|
},
|
|
77
77
|
foreground: {
|
|
78
78
|
base: colorVariants.solid.foreground
|
|
@@ -14,25 +14,45 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
14
14
|
*/
|
|
15
15
|
declare const accordion: tailwind_variants.TVReturnType<{
|
|
16
16
|
variant: {
|
|
17
|
-
light:
|
|
18
|
-
shadow:
|
|
19
|
-
bordered:
|
|
20
|
-
splitted:
|
|
17
|
+
light: "";
|
|
18
|
+
shadow: "px-4 shadow-lg rounded-xl bg-background dark:bg-content1 border border-default-100";
|
|
19
|
+
bordered: "px-4 border border-divider rounded-lg";
|
|
20
|
+
splitted: "group is-splitted flex flex-col gap-2";
|
|
21
21
|
};
|
|
22
22
|
fullWidth: {
|
|
23
|
-
true:
|
|
23
|
+
true: "w-full";
|
|
24
24
|
};
|
|
25
25
|
}, undefined, "px-2", tailwind_variants_dist_config.TVConfig<{
|
|
26
26
|
variant: {
|
|
27
|
-
light:
|
|
28
|
-
shadow:
|
|
29
|
-
bordered:
|
|
30
|
-
splitted:
|
|
27
|
+
light: "";
|
|
28
|
+
shadow: "px-4 shadow-lg rounded-xl bg-background dark:bg-content1 border border-default-100";
|
|
29
|
+
bordered: "px-4 border border-divider rounded-lg";
|
|
30
|
+
splitted: "group is-splitted flex flex-col gap-2";
|
|
31
31
|
};
|
|
32
32
|
fullWidth: {
|
|
33
|
-
true:
|
|
33
|
+
true: "w-full";
|
|
34
34
|
};
|
|
35
|
-
},
|
|
35
|
+
}, {
|
|
36
|
+
variant: {
|
|
37
|
+
light: "";
|
|
38
|
+
shadow: "px-4 shadow-lg rounded-xl bg-background dark:bg-content1 border border-default-100";
|
|
39
|
+
bordered: "px-4 border border-divider rounded-lg";
|
|
40
|
+
splitted: "group is-splitted flex flex-col gap-2";
|
|
41
|
+
};
|
|
42
|
+
fullWidth: {
|
|
43
|
+
true: "w-full";
|
|
44
|
+
};
|
|
45
|
+
}>, {
|
|
46
|
+
variant: {
|
|
47
|
+
light: "";
|
|
48
|
+
shadow: "px-4 shadow-lg rounded-xl bg-background dark:bg-content1 border border-default-100";
|
|
49
|
+
bordered: "px-4 border border-divider rounded-lg";
|
|
50
|
+
splitted: "group is-splitted flex flex-col gap-2";
|
|
51
|
+
};
|
|
52
|
+
fullWidth: {
|
|
53
|
+
true: "w-full";
|
|
54
|
+
};
|
|
55
|
+
}, undefined>;
|
|
36
56
|
/**
|
|
37
57
|
* AccordionItem wrapper **Tailwind Variants** component
|
|
38
58
|
*
|
|
@@ -149,7 +169,101 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
149
169
|
indicator: string;
|
|
150
170
|
};
|
|
151
171
|
};
|
|
152
|
-
},
|
|
172
|
+
}, {
|
|
173
|
+
isCompact: {
|
|
174
|
+
true: {
|
|
175
|
+
trigger: string;
|
|
176
|
+
title: string;
|
|
177
|
+
subtitle: string;
|
|
178
|
+
indicator: string;
|
|
179
|
+
content: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
isDisabled: {
|
|
183
|
+
true: {
|
|
184
|
+
base: string;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
hideDivider: {
|
|
188
|
+
true: {
|
|
189
|
+
base: string;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
hideIndicator: {
|
|
193
|
+
true: {
|
|
194
|
+
indicator: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
disableAnimation: {
|
|
198
|
+
true: {
|
|
199
|
+
content: string;
|
|
200
|
+
};
|
|
201
|
+
false: {
|
|
202
|
+
indicator: string;
|
|
203
|
+
trigger: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
disableIndicatorAnimation: {
|
|
207
|
+
true: {
|
|
208
|
+
indicator: string;
|
|
209
|
+
};
|
|
210
|
+
false: {
|
|
211
|
+
indicator: string;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
}>, {
|
|
215
|
+
isCompact: {
|
|
216
|
+
true: {
|
|
217
|
+
trigger: string;
|
|
218
|
+
title: string;
|
|
219
|
+
subtitle: string;
|
|
220
|
+
indicator: string;
|
|
221
|
+
content: string;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
isDisabled: {
|
|
225
|
+
true: {
|
|
226
|
+
base: string;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
hideDivider: {
|
|
230
|
+
true: {
|
|
231
|
+
base: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
hideIndicator: {
|
|
235
|
+
true: {
|
|
236
|
+
indicator: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
disableAnimation: {
|
|
240
|
+
true: {
|
|
241
|
+
content: string;
|
|
242
|
+
};
|
|
243
|
+
false: {
|
|
244
|
+
indicator: string;
|
|
245
|
+
trigger: string;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
disableIndicatorAnimation: {
|
|
249
|
+
true: {
|
|
250
|
+
indicator: string;
|
|
251
|
+
};
|
|
252
|
+
false: {
|
|
253
|
+
indicator: string;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
}, {
|
|
257
|
+
base: string[];
|
|
258
|
+
heading: string;
|
|
259
|
+
trigger: string[];
|
|
260
|
+
startContent: string;
|
|
261
|
+
indicator: string;
|
|
262
|
+
titleWrapper: string;
|
|
263
|
+
title: string;
|
|
264
|
+
subtitle: string;
|
|
265
|
+
content: string;
|
|
266
|
+
}>;
|
|
153
267
|
type AccordionGroupVariantProps = VariantProps<typeof accordion>;
|
|
154
268
|
type AccordionItemVariantProps = VariantProps<typeof accordionItem>;
|
|
155
269
|
type AccordionItemSlots = keyof ReturnType<typeof accordionItem>;
|
|
@@ -194,7 +194,187 @@ declare const avatar: tailwind_variants.TVReturnType<{
|
|
|
194
194
|
base: string;
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
|
-
},
|
|
197
|
+
}, {
|
|
198
|
+
size: {
|
|
199
|
+
xs: {
|
|
200
|
+
base: string;
|
|
201
|
+
};
|
|
202
|
+
sm: {
|
|
203
|
+
base: string;
|
|
204
|
+
};
|
|
205
|
+
md: {
|
|
206
|
+
base: string;
|
|
207
|
+
};
|
|
208
|
+
lg: {
|
|
209
|
+
base: string;
|
|
210
|
+
};
|
|
211
|
+
xl: {
|
|
212
|
+
base: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
color: {
|
|
216
|
+
default: {
|
|
217
|
+
base: string;
|
|
218
|
+
};
|
|
219
|
+
primary: {
|
|
220
|
+
base: string;
|
|
221
|
+
};
|
|
222
|
+
secondary: {
|
|
223
|
+
base: string;
|
|
224
|
+
};
|
|
225
|
+
success: {
|
|
226
|
+
base: string;
|
|
227
|
+
};
|
|
228
|
+
warning: {
|
|
229
|
+
base: string;
|
|
230
|
+
};
|
|
231
|
+
danger: {
|
|
232
|
+
base: string;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
radius: {
|
|
236
|
+
none: {
|
|
237
|
+
base: string;
|
|
238
|
+
};
|
|
239
|
+
base: {
|
|
240
|
+
base: string;
|
|
241
|
+
};
|
|
242
|
+
sm: {
|
|
243
|
+
base: string;
|
|
244
|
+
};
|
|
245
|
+
md: {
|
|
246
|
+
base: string;
|
|
247
|
+
};
|
|
248
|
+
lg: {
|
|
249
|
+
base: string;
|
|
250
|
+
};
|
|
251
|
+
xl: {
|
|
252
|
+
base: string;
|
|
253
|
+
};
|
|
254
|
+
"2xl": {
|
|
255
|
+
base: string;
|
|
256
|
+
};
|
|
257
|
+
"3xl": {
|
|
258
|
+
base: string;
|
|
259
|
+
};
|
|
260
|
+
full: {
|
|
261
|
+
base: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
isBordered: {
|
|
265
|
+
true: {
|
|
266
|
+
base: string;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
isDisabled: {
|
|
270
|
+
true: {
|
|
271
|
+
base: string;
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
isInGroup: {
|
|
275
|
+
true: {
|
|
276
|
+
base: string[];
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
isInGridGroup: {
|
|
280
|
+
true: {
|
|
281
|
+
base: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
}>, {
|
|
285
|
+
size: {
|
|
286
|
+
xs: {
|
|
287
|
+
base: string;
|
|
288
|
+
};
|
|
289
|
+
sm: {
|
|
290
|
+
base: string;
|
|
291
|
+
};
|
|
292
|
+
md: {
|
|
293
|
+
base: string;
|
|
294
|
+
};
|
|
295
|
+
lg: {
|
|
296
|
+
base: string;
|
|
297
|
+
};
|
|
298
|
+
xl: {
|
|
299
|
+
base: string;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
color: {
|
|
303
|
+
default: {
|
|
304
|
+
base: string;
|
|
305
|
+
};
|
|
306
|
+
primary: {
|
|
307
|
+
base: string;
|
|
308
|
+
};
|
|
309
|
+
secondary: {
|
|
310
|
+
base: string;
|
|
311
|
+
};
|
|
312
|
+
success: {
|
|
313
|
+
base: string;
|
|
314
|
+
};
|
|
315
|
+
warning: {
|
|
316
|
+
base: string;
|
|
317
|
+
};
|
|
318
|
+
danger: {
|
|
319
|
+
base: string;
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
radius: {
|
|
323
|
+
none: {
|
|
324
|
+
base: string;
|
|
325
|
+
};
|
|
326
|
+
base: {
|
|
327
|
+
base: string;
|
|
328
|
+
};
|
|
329
|
+
sm: {
|
|
330
|
+
base: string;
|
|
331
|
+
};
|
|
332
|
+
md: {
|
|
333
|
+
base: string;
|
|
334
|
+
};
|
|
335
|
+
lg: {
|
|
336
|
+
base: string;
|
|
337
|
+
};
|
|
338
|
+
xl: {
|
|
339
|
+
base: string;
|
|
340
|
+
};
|
|
341
|
+
"2xl": {
|
|
342
|
+
base: string;
|
|
343
|
+
};
|
|
344
|
+
"3xl": {
|
|
345
|
+
base: string;
|
|
346
|
+
};
|
|
347
|
+
full: {
|
|
348
|
+
base: string;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
isBordered: {
|
|
352
|
+
true: {
|
|
353
|
+
base: string;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
isDisabled: {
|
|
357
|
+
true: {
|
|
358
|
+
base: string;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
isInGroup: {
|
|
362
|
+
true: {
|
|
363
|
+
base: string[];
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
isInGridGroup: {
|
|
367
|
+
true: {
|
|
368
|
+
base: string;
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
}, {
|
|
372
|
+
base: string[];
|
|
373
|
+
img: string[];
|
|
374
|
+
fallback: string[];
|
|
375
|
+
name: string[];
|
|
376
|
+
icon: string[];
|
|
377
|
+
}>;
|
|
198
378
|
/**
|
|
199
379
|
* AvatarGroup wrapper **Tailwind Variants** component
|
|
200
380
|
*
|
|
@@ -207,13 +387,21 @@ declare const avatar: tailwind_variants.TVReturnType<{
|
|
|
207
387
|
*/
|
|
208
388
|
declare const avatarGroup: tailwind_variants.TVReturnType<{
|
|
209
389
|
isGrid: {
|
|
210
|
-
true:
|
|
390
|
+
true: "inline-grid grid-cols-4 gap-3";
|
|
211
391
|
};
|
|
212
392
|
}, undefined, "flex items-center justify-center h-auto w-max-content", tailwind_variants_dist_config.TVConfig<{
|
|
213
393
|
isGrid: {
|
|
214
|
-
true:
|
|
394
|
+
true: "inline-grid grid-cols-4 gap-3";
|
|
395
|
+
};
|
|
396
|
+
}, {
|
|
397
|
+
isGrid: {
|
|
398
|
+
true: "inline-grid grid-cols-4 gap-3";
|
|
399
|
+
};
|
|
400
|
+
}>, {
|
|
401
|
+
isGrid: {
|
|
402
|
+
true: "inline-grid grid-cols-4 gap-3";
|
|
215
403
|
};
|
|
216
|
-
},
|
|
404
|
+
}, undefined>;
|
|
217
405
|
type AvatarGroupVariantProps = VariantProps<typeof avatarGroup>;
|
|
218
406
|
type AvatarVariantProps = VariantProps<typeof avatar>;
|
|
219
407
|
type AvatarSlots = keyof ReturnType<typeof avatar>;
|
|
@@ -64,12 +64,12 @@ var bordered = {
|
|
|
64
64
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
65
65
|
};
|
|
66
66
|
var flat = {
|
|
67
|
-
default: "bg-default-100 text-default-foreground",
|
|
68
|
-
primary: "bg-primary-50 text-primary",
|
|
69
|
-
secondary: "bg-secondary-100 text-secondary",
|
|
70
|
-
success: "bg-success-50 text-success-600 dark:text-success",
|
|
71
|
-
warning: "bg-warning-50 text-warning-600 dark:text-warning",
|
|
72
|
-
danger: "bg-danger-50 text-danger",
|
|
67
|
+
default: "bg-default-100/50 text-default-foreground",
|
|
68
|
+
primary: "bg-primary-100/50 text-primary",
|
|
69
|
+
secondary: "bg-secondary-100/50 text-secondary",
|
|
70
|
+
success: "bg-success-100/50 text-success-600 dark:text-success",
|
|
71
|
+
warning: "bg-warning-100/50 text-warning-600 dark:text-warning",
|
|
72
|
+
danger: "bg-danger-100/50 text-danger",
|
|
73
73
|
foreground: "bg-foreground/10 text-foreground"
|
|
74
74
|
};
|
|
75
75
|
var faded = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
avatar,
|
|
3
3
|
avatarGroup
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MWWMIOTS.mjs";
|
|
5
5
|
import "../chunk-CMYR6AOY.mjs";
|
|
6
6
|
import "../chunk-K7LK7NCE.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-I4OYRSA7.mjs";
|
|
8
8
|
import "../chunk-INZK6TTL.mjs";
|
|
9
9
|
export {
|
|
10
10
|
avatar,
|