@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
|
@@ -287,7 +287,198 @@ declare const toggle: tailwind_variants.TVReturnType<{
|
|
|
287
287
|
endContent: string;
|
|
288
288
|
thumbIcon: string;
|
|
289
289
|
label: string;
|
|
290
|
-
}
|
|
290
|
+
}, tailwind_variants.TVReturnType<{
|
|
291
|
+
color: {
|
|
292
|
+
default: {
|
|
293
|
+
wrapper: string[];
|
|
294
|
+
};
|
|
295
|
+
primary: {
|
|
296
|
+
wrapper: string[];
|
|
297
|
+
};
|
|
298
|
+
secondary: {
|
|
299
|
+
wrapper: string[];
|
|
300
|
+
};
|
|
301
|
+
success: {
|
|
302
|
+
wrapper: string[];
|
|
303
|
+
};
|
|
304
|
+
warning: {
|
|
305
|
+
wrapper: string[];
|
|
306
|
+
};
|
|
307
|
+
danger: {
|
|
308
|
+
wrapper: string[];
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
size: {
|
|
312
|
+
sm: {
|
|
313
|
+
wrapper: string;
|
|
314
|
+
thumb: string[];
|
|
315
|
+
endContent: string;
|
|
316
|
+
startContent: string;
|
|
317
|
+
label: string;
|
|
318
|
+
};
|
|
319
|
+
md: {
|
|
320
|
+
wrapper: string;
|
|
321
|
+
thumb: string[];
|
|
322
|
+
endContent: string;
|
|
323
|
+
startContent: string;
|
|
324
|
+
label: string;
|
|
325
|
+
};
|
|
326
|
+
lg: {
|
|
327
|
+
wrapper: string;
|
|
328
|
+
thumb: string[];
|
|
329
|
+
endContent: string;
|
|
330
|
+
startContent: string;
|
|
331
|
+
label: string;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
isDisabled: {
|
|
335
|
+
true: {
|
|
336
|
+
base: string;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
disableAnimation: {
|
|
340
|
+
true: {
|
|
341
|
+
wrapper: string;
|
|
342
|
+
thumb: string;
|
|
343
|
+
};
|
|
344
|
+
false: {
|
|
345
|
+
wrapper: string;
|
|
346
|
+
thumb: string;
|
|
347
|
+
startContent: string[];
|
|
348
|
+
endContent: string[];
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
}, {
|
|
352
|
+
base: string;
|
|
353
|
+
wrapper: string[];
|
|
354
|
+
thumb: string[];
|
|
355
|
+
startContent: string;
|
|
356
|
+
endContent: string;
|
|
357
|
+
thumbIcon: string;
|
|
358
|
+
label: string;
|
|
359
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
360
|
+
color: {
|
|
361
|
+
default: {
|
|
362
|
+
wrapper: string[];
|
|
363
|
+
};
|
|
364
|
+
primary: {
|
|
365
|
+
wrapper: string[];
|
|
366
|
+
};
|
|
367
|
+
secondary: {
|
|
368
|
+
wrapper: string[];
|
|
369
|
+
};
|
|
370
|
+
success: {
|
|
371
|
+
wrapper: string[];
|
|
372
|
+
};
|
|
373
|
+
warning: {
|
|
374
|
+
wrapper: string[];
|
|
375
|
+
};
|
|
376
|
+
danger: {
|
|
377
|
+
wrapper: string[];
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
size: {
|
|
381
|
+
sm: {
|
|
382
|
+
wrapper: string;
|
|
383
|
+
thumb: string[];
|
|
384
|
+
endContent: string;
|
|
385
|
+
startContent: string;
|
|
386
|
+
label: string;
|
|
387
|
+
};
|
|
388
|
+
md: {
|
|
389
|
+
wrapper: string;
|
|
390
|
+
thumb: string[];
|
|
391
|
+
endContent: string;
|
|
392
|
+
startContent: string;
|
|
393
|
+
label: string;
|
|
394
|
+
};
|
|
395
|
+
lg: {
|
|
396
|
+
wrapper: string;
|
|
397
|
+
thumb: string[];
|
|
398
|
+
endContent: string;
|
|
399
|
+
startContent: string;
|
|
400
|
+
label: string;
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
isDisabled: {
|
|
404
|
+
true: {
|
|
405
|
+
base: string;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
disableAnimation: {
|
|
409
|
+
true: {
|
|
410
|
+
wrapper: string;
|
|
411
|
+
thumb: string;
|
|
412
|
+
};
|
|
413
|
+
false: {
|
|
414
|
+
wrapper: string;
|
|
415
|
+
thumb: string;
|
|
416
|
+
startContent: string[];
|
|
417
|
+
endContent: string[];
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
}, {
|
|
421
|
+
color: {
|
|
422
|
+
default: {
|
|
423
|
+
wrapper: string[];
|
|
424
|
+
};
|
|
425
|
+
primary: {
|
|
426
|
+
wrapper: string[];
|
|
427
|
+
};
|
|
428
|
+
secondary: {
|
|
429
|
+
wrapper: string[];
|
|
430
|
+
};
|
|
431
|
+
success: {
|
|
432
|
+
wrapper: string[];
|
|
433
|
+
};
|
|
434
|
+
warning: {
|
|
435
|
+
wrapper: string[];
|
|
436
|
+
};
|
|
437
|
+
danger: {
|
|
438
|
+
wrapper: string[];
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
size: {
|
|
442
|
+
sm: {
|
|
443
|
+
wrapper: string;
|
|
444
|
+
thumb: string[];
|
|
445
|
+
endContent: string;
|
|
446
|
+
startContent: string;
|
|
447
|
+
label: string;
|
|
448
|
+
};
|
|
449
|
+
md: {
|
|
450
|
+
wrapper: string;
|
|
451
|
+
thumb: string[];
|
|
452
|
+
endContent: string;
|
|
453
|
+
startContent: string;
|
|
454
|
+
label: string;
|
|
455
|
+
};
|
|
456
|
+
lg: {
|
|
457
|
+
wrapper: string;
|
|
458
|
+
thumb: string[];
|
|
459
|
+
endContent: string;
|
|
460
|
+
startContent: string;
|
|
461
|
+
label: string;
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
isDisabled: {
|
|
465
|
+
true: {
|
|
466
|
+
base: string;
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
disableAnimation: {
|
|
470
|
+
true: {
|
|
471
|
+
wrapper: string;
|
|
472
|
+
thumb: string;
|
|
473
|
+
};
|
|
474
|
+
false: {
|
|
475
|
+
wrapper: string;
|
|
476
|
+
thumb: string;
|
|
477
|
+
startContent: string[];
|
|
478
|
+
endContent: string[];
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
}>, unknown, unknown, undefined>>;
|
|
291
482
|
type ToggleVariantProps = VariantProps<typeof toggle>;
|
|
292
483
|
type ToggleSlots = keyof ReturnType<typeof toggle>;
|
|
293
484
|
|
|
@@ -49,7 +49,17 @@ declare const user: tailwind_variants.TVReturnType<tailwind_variants.TVVariantsD
|
|
|
49
49
|
wrapper: string;
|
|
50
50
|
name: string;
|
|
51
51
|
description: string;
|
|
52
|
-
}
|
|
52
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
53
|
+
base: string[];
|
|
54
|
+
wrapper: string;
|
|
55
|
+
name: string;
|
|
56
|
+
description: string;
|
|
57
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<{
|
|
58
|
+
base: string[];
|
|
59
|
+
wrapper: string;
|
|
60
|
+
name: string;
|
|
61
|
+
description: string;
|
|
62
|
+
}, undefined> | {}>, unknown, unknown, undefined>>;
|
|
53
63
|
type UserSlots = keyof ReturnType<typeof user>;
|
|
54
64
|
|
|
55
65
|
export { UserSlots, user };
|
package/dist/index.js
CHANGED
|
@@ -2803,6 +2803,7 @@ var pagination = tv({
|
|
|
2803
2803
|
"left-0",
|
|
2804
2804
|
"select-none",
|
|
2805
2805
|
"touch-none",
|
|
2806
|
+
"pointer-events-none",
|
|
2806
2807
|
"z-20"
|
|
2807
2808
|
],
|
|
2808
2809
|
forwardIcon: "hidden group-hover:block group-data-[focus-visible=true]:block data-[before=true]:rotate-180",
|
|
@@ -2892,7 +2893,12 @@ var pagination = tv({
|
|
|
2892
2893
|
},
|
|
2893
2894
|
false: {
|
|
2894
2895
|
item: ["data-[pressed=true]:scale-[0.97]", "transition-transform-background"],
|
|
2895
|
-
cursor: [
|
|
2896
|
+
cursor: [
|
|
2897
|
+
"data-[moving=true]:transition-transform",
|
|
2898
|
+
"!data-[moving=true]:duration-300",
|
|
2899
|
+
"opacity-0",
|
|
2900
|
+
"data-[moving]:opacity-100"
|
|
2901
|
+
]
|
|
2896
2902
|
}
|
|
2897
2903
|
}
|
|
2898
2904
|
},
|
|
@@ -3097,17 +3103,28 @@ var pagination = tv({
|
|
|
3097
3103
|
{
|
|
3098
3104
|
slots: ["item", "prev", "next"],
|
|
3099
3105
|
variant: "flat",
|
|
3100
|
-
class: [
|
|
3106
|
+
class: [
|
|
3107
|
+
"bg-default-100",
|
|
3108
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-200",
|
|
3109
|
+
"active:bg-default-300"
|
|
3110
|
+
]
|
|
3101
3111
|
},
|
|
3102
3112
|
{
|
|
3103
3113
|
slots: ["item", "prev", "next"],
|
|
3104
3114
|
variant: "faded",
|
|
3105
|
-
class: [
|
|
3115
|
+
class: [
|
|
3116
|
+
"bg-default-50",
|
|
3117
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-100",
|
|
3118
|
+
"active:bg-default-200"
|
|
3119
|
+
]
|
|
3106
3120
|
},
|
|
3107
3121
|
{
|
|
3108
3122
|
slots: ["item", "prev", "next"],
|
|
3109
3123
|
variant: "light",
|
|
3110
|
-
class: [
|
|
3124
|
+
class: [
|
|
3125
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-100",
|
|
3126
|
+
"active:bg-default-200"
|
|
3127
|
+
]
|
|
3111
3128
|
},
|
|
3112
3129
|
{
|
|
3113
3130
|
slots: ["item", "cursor", "prev", "next"],
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextui-org/theme",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"description": "The default theme for NextUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"lodash.kebabcase": "^4.1.1",
|
|
47
47
|
"lodash.mapkeys": "^4.6.0",
|
|
48
48
|
"lodash.omit": "^4.5.0",
|
|
49
|
-
"tailwind-variants": "^0.1.
|
|
49
|
+
"tailwind-variants": "^0.1.14",
|
|
50
50
|
"tailwindcss": "^3.2.7",
|
|
51
51
|
"@types/color": "^3.0.3",
|
|
52
52
|
"@types/flat": "^5.0.2",
|