@nextui-org/theme 2.1.4 → 2.1.5
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-FZZINZOQ.mjs → chunk-ER6JQ3OQ.mjs} +21 -4
- package/dist/components/accordion.d.ts +153 -2
- package/dist/components/avatar.d.ts +227 -2
- package/dist/components/badge.d.ts +199 -1
- package/dist/components/button.d.ts +155 -2
- package/dist/components/card.d.ts +225 -1
- package/dist/components/checkbox.d.ts +250 -2
- package/dist/components/chip.d.ts +304 -1
- package/dist/components/circular-progress.d.ts +171 -1
- package/dist/components/code.d.ts +64 -1
- package/dist/components/divider.d.ts +16 -1
- package/dist/components/drip.d.ts +1 -1
- package/dist/components/dropdown.d.ts +135 -4
- package/dist/components/image.d.ts +141 -1
- package/dist/components/index.js +21 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/input.d.ts +387 -1
- package/dist/components/kbd.d.ts +5 -1
- package/dist/components/link.d.ts +94 -1
- package/dist/components/menu.d.ts +152 -3
- package/dist/components/modal.d.ts +315 -1
- package/dist/components/navbar.d.ts +174 -1
- package/dist/components/pagination.d.ts +239 -1
- package/dist/components/pagination.js +21 -4
- package/dist/components/pagination.mjs +1 -1
- package/dist/components/popover.d.ts +276 -1
- package/dist/components/progress.d.ts +91 -1
- package/dist/components/radio.d.ts +231 -2
- package/dist/components/scroll-shadow.d.ts +28 -1
- package/dist/components/select.d.ts +388 -1
- package/dist/components/skeleton.d.ts +37 -1
- package/dist/components/snippet.d.ts +165 -1
- package/dist/components/spacer.d.ts +16 -1
- package/dist/components/spinner.d.ts +232 -1
- package/dist/components/table.d.ts +311 -1
- package/dist/components/tabs.d.ts +269 -1
- package/dist/components/toggle.d.ts +192 -1
- package/dist/components/user.d.ts +11 -1
- package/dist/index.js +21 -4
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
|
@@ -20,7 +20,7 @@ declare const dropdown: tailwind_variants.TVReturnType<tailwind_variants.TVVaria
|
|
|
20
20
|
[x: string]: {
|
|
21
21
|
[x: string]: tailwind_variants.ClassValue | tailwind_variants.SlotsClassValue<undefined, string[]>;
|
|
22
22
|
} | undefined;
|
|
23
|
-
} | {}, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, string[]> | {}>, tailwind_variants.TVVariantsDefault<undefined, string[]> | {}, undefined
|
|
23
|
+
} | {}, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, string[]> | {}>, tailwind_variants.TVVariantsDefault<undefined, string[]> | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, string[]> | {}>, unknown, unknown, undefined>>;
|
|
24
24
|
/**
|
|
25
25
|
* DropdownItem wrapper **Tailwind Variants** component
|
|
26
26
|
*
|
|
@@ -209,7 +209,128 @@ declare const dropdownItem: tailwind_variants.TVReturnType<{
|
|
|
209
209
|
description: string[];
|
|
210
210
|
selectedIcon: string[];
|
|
211
211
|
shortcut: string[];
|
|
212
|
-
}
|
|
212
|
+
}, tailwind_variants.TVReturnType<{
|
|
213
|
+
variant: {
|
|
214
|
+
solid: {
|
|
215
|
+
base: string;
|
|
216
|
+
};
|
|
217
|
+
bordered: {
|
|
218
|
+
base: string;
|
|
219
|
+
};
|
|
220
|
+
light: {
|
|
221
|
+
base: string;
|
|
222
|
+
};
|
|
223
|
+
faded: {
|
|
224
|
+
base: string;
|
|
225
|
+
};
|
|
226
|
+
flat: {
|
|
227
|
+
base: string;
|
|
228
|
+
};
|
|
229
|
+
shadow: {
|
|
230
|
+
base: string;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
color: {
|
|
234
|
+
default: {};
|
|
235
|
+
primary: {};
|
|
236
|
+
secondary: {};
|
|
237
|
+
success: {};
|
|
238
|
+
warning: {};
|
|
239
|
+
danger: {};
|
|
240
|
+
};
|
|
241
|
+
isDisabled: {
|
|
242
|
+
true: {
|
|
243
|
+
base: string;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
disableAnimation: {
|
|
247
|
+
true: {};
|
|
248
|
+
false: {};
|
|
249
|
+
};
|
|
250
|
+
}, {
|
|
251
|
+
base: string[];
|
|
252
|
+
wrapper: string;
|
|
253
|
+
title: string;
|
|
254
|
+
description: string[];
|
|
255
|
+
selectedIcon: string[];
|
|
256
|
+
shortcut: string[];
|
|
257
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
258
|
+
variant: {
|
|
259
|
+
solid: {
|
|
260
|
+
base: string;
|
|
261
|
+
};
|
|
262
|
+
bordered: {
|
|
263
|
+
base: string;
|
|
264
|
+
};
|
|
265
|
+
light: {
|
|
266
|
+
base: string;
|
|
267
|
+
};
|
|
268
|
+
faded: {
|
|
269
|
+
base: string;
|
|
270
|
+
};
|
|
271
|
+
flat: {
|
|
272
|
+
base: string;
|
|
273
|
+
};
|
|
274
|
+
shadow: {
|
|
275
|
+
base: string;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
color: {
|
|
279
|
+
default: {};
|
|
280
|
+
primary: {};
|
|
281
|
+
secondary: {};
|
|
282
|
+
success: {};
|
|
283
|
+
warning: {};
|
|
284
|
+
danger: {};
|
|
285
|
+
};
|
|
286
|
+
isDisabled: {
|
|
287
|
+
true: {
|
|
288
|
+
base: string;
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
disableAnimation: {
|
|
292
|
+
true: {};
|
|
293
|
+
false: {};
|
|
294
|
+
};
|
|
295
|
+
}, {
|
|
296
|
+
variant: {
|
|
297
|
+
solid: {
|
|
298
|
+
base: string;
|
|
299
|
+
};
|
|
300
|
+
bordered: {
|
|
301
|
+
base: string;
|
|
302
|
+
};
|
|
303
|
+
light: {
|
|
304
|
+
base: string;
|
|
305
|
+
};
|
|
306
|
+
faded: {
|
|
307
|
+
base: string;
|
|
308
|
+
};
|
|
309
|
+
flat: {
|
|
310
|
+
base: string;
|
|
311
|
+
};
|
|
312
|
+
shadow: {
|
|
313
|
+
base: string;
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
color: {
|
|
317
|
+
default: {};
|
|
318
|
+
primary: {};
|
|
319
|
+
secondary: {};
|
|
320
|
+
success: {};
|
|
321
|
+
warning: {};
|
|
322
|
+
danger: {};
|
|
323
|
+
};
|
|
324
|
+
isDisabled: {
|
|
325
|
+
true: {
|
|
326
|
+
base: string;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
disableAnimation: {
|
|
330
|
+
true: {};
|
|
331
|
+
false: {};
|
|
332
|
+
};
|
|
333
|
+
}>, unknown, unknown, undefined>>;
|
|
213
334
|
/**
|
|
214
335
|
* Dropdown wrapper **Tailwind Variants** component
|
|
215
336
|
*
|
|
@@ -258,7 +379,17 @@ declare const dropdownSection: tailwind_variants.TVReturnType<tailwind_variants.
|
|
|
258
379
|
heading: string;
|
|
259
380
|
group: string;
|
|
260
381
|
divider: string;
|
|
261
|
-
}
|
|
382
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
383
|
+
base: string;
|
|
384
|
+
heading: string;
|
|
385
|
+
group: string;
|
|
386
|
+
divider: string;
|
|
387
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<{
|
|
388
|
+
base: string;
|
|
389
|
+
heading: string;
|
|
390
|
+
group: string;
|
|
391
|
+
divider: string;
|
|
392
|
+
}, undefined> | {}>, unknown, unknown, undefined>>;
|
|
262
393
|
/**
|
|
263
394
|
* Dropdown Menu wrapper **Tailwind Variants** component
|
|
264
395
|
*
|
|
@@ -269,7 +400,7 @@ declare const dropdownMenu: tailwind_variants.TVReturnType<tailwind_variants.TVV
|
|
|
269
400
|
[x: string]: {
|
|
270
401
|
[x: string]: tailwind_variants.ClassValue | tailwind_variants.SlotsClassValue<undefined, "w-full flex flex-col gap-0.5 p-1">;
|
|
271
402
|
} | undefined;
|
|
272
|
-
} | {}, undefined, "w-full flex flex-col gap-0.5 p-1", tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1"> | {}>, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1"> | {}, undefined
|
|
403
|
+
} | {}, undefined, "w-full flex flex-col gap-0.5 p-1", tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1"> | {}>, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1"> | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "w-full flex flex-col gap-0.5 p-1", tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, "w-full flex flex-col gap-0.5 p-1"> | {}>, unknown, unknown, undefined>>;
|
|
273
404
|
type DropdownSectionVariantProps = VariantProps<typeof dropdownSection>;
|
|
274
405
|
type DropdownSectionSlots = keyof ReturnType<typeof dropdownSection>;
|
|
275
406
|
type DropdownItemVariantProps = VariantProps<typeof dropdownItem>;
|
|
@@ -208,7 +208,147 @@ declare const image: tailwind_variants.TVReturnType<{
|
|
|
208
208
|
zoomedWrapper: string;
|
|
209
209
|
img: string;
|
|
210
210
|
blurredImg: string[];
|
|
211
|
-
}
|
|
211
|
+
}, tailwind_variants.TVReturnType<{
|
|
212
|
+
radius: {
|
|
213
|
+
none: {};
|
|
214
|
+
sm: {};
|
|
215
|
+
md: {};
|
|
216
|
+
lg: {};
|
|
217
|
+
full: {};
|
|
218
|
+
};
|
|
219
|
+
shadow: {
|
|
220
|
+
none: {
|
|
221
|
+
wrapper: string;
|
|
222
|
+
img: string;
|
|
223
|
+
};
|
|
224
|
+
sm: {
|
|
225
|
+
wrapper: string;
|
|
226
|
+
img: string;
|
|
227
|
+
};
|
|
228
|
+
md: {
|
|
229
|
+
wrapper: string;
|
|
230
|
+
img: string;
|
|
231
|
+
};
|
|
232
|
+
lg: {
|
|
233
|
+
wrapper: string;
|
|
234
|
+
img: string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
isZoomed: {
|
|
238
|
+
true: {
|
|
239
|
+
img: string[];
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
showSkeleton: {
|
|
243
|
+
true: {
|
|
244
|
+
wrapper: string[];
|
|
245
|
+
img: string;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
disableAnimation: {
|
|
249
|
+
true: {
|
|
250
|
+
img: string;
|
|
251
|
+
};
|
|
252
|
+
false: {
|
|
253
|
+
img: string;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
}, {
|
|
257
|
+
wrapper: string;
|
|
258
|
+
zoomedWrapper: string;
|
|
259
|
+
img: string;
|
|
260
|
+
blurredImg: string[];
|
|
261
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
262
|
+
radius: {
|
|
263
|
+
none: {};
|
|
264
|
+
sm: {};
|
|
265
|
+
md: {};
|
|
266
|
+
lg: {};
|
|
267
|
+
full: {};
|
|
268
|
+
};
|
|
269
|
+
shadow: {
|
|
270
|
+
none: {
|
|
271
|
+
wrapper: string;
|
|
272
|
+
img: string;
|
|
273
|
+
};
|
|
274
|
+
sm: {
|
|
275
|
+
wrapper: string;
|
|
276
|
+
img: string;
|
|
277
|
+
};
|
|
278
|
+
md: {
|
|
279
|
+
wrapper: string;
|
|
280
|
+
img: string;
|
|
281
|
+
};
|
|
282
|
+
lg: {
|
|
283
|
+
wrapper: string;
|
|
284
|
+
img: string;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
isZoomed: {
|
|
288
|
+
true: {
|
|
289
|
+
img: string[];
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
showSkeleton: {
|
|
293
|
+
true: {
|
|
294
|
+
wrapper: string[];
|
|
295
|
+
img: string;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
disableAnimation: {
|
|
299
|
+
true: {
|
|
300
|
+
img: string;
|
|
301
|
+
};
|
|
302
|
+
false: {
|
|
303
|
+
img: string;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
}, {
|
|
307
|
+
radius: {
|
|
308
|
+
none: {};
|
|
309
|
+
sm: {};
|
|
310
|
+
md: {};
|
|
311
|
+
lg: {};
|
|
312
|
+
full: {};
|
|
313
|
+
};
|
|
314
|
+
shadow: {
|
|
315
|
+
none: {
|
|
316
|
+
wrapper: string;
|
|
317
|
+
img: string;
|
|
318
|
+
};
|
|
319
|
+
sm: {
|
|
320
|
+
wrapper: string;
|
|
321
|
+
img: string;
|
|
322
|
+
};
|
|
323
|
+
md: {
|
|
324
|
+
wrapper: string;
|
|
325
|
+
img: string;
|
|
326
|
+
};
|
|
327
|
+
lg: {
|
|
328
|
+
wrapper: string;
|
|
329
|
+
img: string;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
isZoomed: {
|
|
333
|
+
true: {
|
|
334
|
+
img: string[];
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
showSkeleton: {
|
|
338
|
+
true: {
|
|
339
|
+
wrapper: string[];
|
|
340
|
+
img: string;
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
disableAnimation: {
|
|
344
|
+
true: {
|
|
345
|
+
img: string;
|
|
346
|
+
};
|
|
347
|
+
false: {
|
|
348
|
+
img: string;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
}>, unknown, unknown, undefined>>;
|
|
212
352
|
type ImageVariantProps = VariantProps<typeof image>;
|
|
213
353
|
type ImageSlots = keyof ReturnType<typeof image>;
|
|
214
354
|
|
package/dist/components/index.js
CHANGED
|
@@ -2771,6 +2771,7 @@ var pagination = tv({
|
|
|
2771
2771
|
"left-0",
|
|
2772
2772
|
"select-none",
|
|
2773
2773
|
"touch-none",
|
|
2774
|
+
"pointer-events-none",
|
|
2774
2775
|
"z-20"
|
|
2775
2776
|
],
|
|
2776
2777
|
forwardIcon: "hidden group-hover:block group-data-[focus-visible=true]:block data-[before=true]:rotate-180",
|
|
@@ -2860,7 +2861,12 @@ var pagination = tv({
|
|
|
2860
2861
|
},
|
|
2861
2862
|
false: {
|
|
2862
2863
|
item: ["data-[pressed=true]:scale-[0.97]", "transition-transform-background"],
|
|
2863
|
-
cursor: [
|
|
2864
|
+
cursor: [
|
|
2865
|
+
"data-[moving=true]:transition-transform",
|
|
2866
|
+
"!data-[moving=true]:duration-300",
|
|
2867
|
+
"opacity-0",
|
|
2868
|
+
"data-[moving]:opacity-100"
|
|
2869
|
+
]
|
|
2864
2870
|
}
|
|
2865
2871
|
}
|
|
2866
2872
|
},
|
|
@@ -3065,17 +3071,28 @@ var pagination = tv({
|
|
|
3065
3071
|
{
|
|
3066
3072
|
slots: ["item", "prev", "next"],
|
|
3067
3073
|
variant: "flat",
|
|
3068
|
-
class: [
|
|
3074
|
+
class: [
|
|
3075
|
+
"bg-default-100",
|
|
3076
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-200",
|
|
3077
|
+
"active:bg-default-300"
|
|
3078
|
+
]
|
|
3069
3079
|
},
|
|
3070
3080
|
{
|
|
3071
3081
|
slots: ["item", "prev", "next"],
|
|
3072
3082
|
variant: "faded",
|
|
3073
|
-
class: [
|
|
3083
|
+
class: [
|
|
3084
|
+
"bg-default-50",
|
|
3085
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-100",
|
|
3086
|
+
"active:bg-default-200"
|
|
3087
|
+
]
|
|
3074
3088
|
},
|
|
3075
3089
|
{
|
|
3076
3090
|
slots: ["item", "prev", "next"],
|
|
3077
3091
|
variant: "light",
|
|
3078
|
-
class: [
|
|
3092
|
+
class: [
|
|
3093
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-100",
|
|
3094
|
+
"active:bg-default-200"
|
|
3095
|
+
]
|
|
3079
3096
|
},
|
|
3080
3097
|
{
|
|
3081
3098
|
slots: ["item", "cursor", "prev", "next"],
|