@nextui-org/theme 0.0.0-dev-v2-20230728014036 → 0.0.0-dev-v2-20230728201112

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.
Files changed (63) hide show
  1. package/dist/components/accordion.d.ts +2 -153
  2. package/dist/components/accordion.mjs +1 -1
  3. package/dist/components/avatar.d.ts +2 -227
  4. package/dist/components/avatar.mjs +2 -2
  5. package/dist/components/badge.d.ts +1 -199
  6. package/dist/components/badge.mjs +2 -2
  7. package/dist/components/button.d.ts +2 -155
  8. package/dist/components/button.mjs +2 -2
  9. package/dist/components/card.d.ts +1 -225
  10. package/dist/components/card.mjs +1 -1
  11. package/dist/components/checkbox.d.ts +2 -250
  12. package/dist/components/checkbox.mjs +1 -1
  13. package/dist/components/chip.d.ts +1 -304
  14. package/dist/components/chip.mjs +2 -2
  15. package/dist/components/circular-progress.d.ts +1 -171
  16. package/dist/components/code.d.ts +1 -64
  17. package/dist/components/code.mjs +2 -2
  18. package/dist/components/divider.d.ts +1 -16
  19. package/dist/components/drip.d.ts +1 -1
  20. package/dist/components/dropdown.d.ts +4 -135
  21. package/dist/components/dropdown.mjs +1 -1
  22. package/dist/components/image.d.ts +1 -141
  23. package/dist/components/index.mjs +39 -39
  24. package/dist/components/input.d.ts +1 -426
  25. package/dist/components/input.mjs +1 -1
  26. package/dist/components/kbd.d.ts +1 -5
  27. package/dist/components/link.d.ts +1 -94
  28. package/dist/components/link.mjs +1 -1
  29. package/dist/components/modal.d.ts +1 -315
  30. package/dist/components/modal.mjs +1 -1
  31. package/dist/components/navbar.d.ts +1 -174
  32. package/dist/components/navbar.mjs +1 -1
  33. package/dist/components/pagination.d.ts +1 -239
  34. package/dist/components/pagination.mjs +2 -2
  35. package/dist/components/popover.d.ts +1 -258
  36. package/dist/components/popover.mjs +2 -2
  37. package/dist/components/progress.d.ts +1 -91
  38. package/dist/components/radio.d.ts +2 -231
  39. package/dist/components/radio.mjs +1 -1
  40. package/dist/components/skeleton.d.ts +1 -37
  41. package/dist/components/snippet.d.ts +1 -165
  42. package/dist/components/snippet.mjs +2 -2
  43. package/dist/components/spacer.d.ts +1 -16
  44. package/dist/components/spinner.d.ts +1 -232
  45. package/dist/components/table.d.ts +1 -311
  46. package/dist/components/table.mjs +1 -1
  47. package/dist/components/tabs.d.ts +1 -269
  48. package/dist/components/tabs.mjs +2 -2
  49. package/dist/components/toggle.d.ts +1 -192
  50. package/dist/components/toggle.mjs +1 -1
  51. package/dist/components/user.d.ts +1 -11
  52. package/dist/components/user.mjs +1 -1
  53. package/dist/index.mjs +40 -40
  54. package/package.json +1 -1
  55. package/dist/{chunk-HDWYLUG3.mjs → chunk-77O7KLUI.mjs} +3 -3
  56. package/dist/{chunk-O3IKQG57.mjs → chunk-B55QBA5E.mjs} +3 -3
  57. package/dist/{chunk-7FE2S6SN.mjs → chunk-DM43SKSP.mjs} +3 -3
  58. package/dist/{chunk-T2TGJLXI.mjs → chunk-FZZINZOQ.mjs} +3 -3
  59. package/dist/{chunk-SUDYOX5B.mjs → chunk-PKP3F3VC.mjs} +3 -3
  60. package/dist/{chunk-AWPGSFD6.mjs → chunk-RHIZZ5XX.mjs} +3 -3
  61. package/dist/{chunk-VB6YPWEW.mjs → chunk-RPMLQF4Y.mjs} +3 -3
  62. package/dist/{chunk-V4DLFVFF.mjs → chunk-U3S42JDF.mjs} +3 -3
  63. package/dist/{chunk-3RZCOCFH.mjs → chunk-XCWQAA5D.mjs} +3 -3
@@ -206,148 +206,7 @@ declare const button: tailwind_variants.TVReturnType<{
206
206
  true: "!transition-none";
207
207
  false: "data-[pressed=true]:scale-[0.97] transition-transform-colors motion-reduce:transition-none";
208
208
  };
209
- }, undefined, tailwind_variants.TVReturnType<{
210
- variant: {
211
- solid: "";
212
- bordered: "border-medium bg-transparent";
213
- light: "bg-transparent";
214
- flat: "";
215
- faded: "border-medium";
216
- shadow: "";
217
- ghost: "border-medium bg-transparent";
218
- };
219
- size: {
220
- sm: "px-unit-3 min-w-unit-16 h-unit-8 text-tiny gap-unit-2 rounded-small";
221
- md: "px-unit-4 min-w-unit-20 h-unit-10 text-small gap-unit-2 rounded-medium";
222
- lg: "px-unit-6 min-w-unit-24 h-unit-12 text-medium gap-unit-3 rounded-large";
223
- };
224
- color: {
225
- default: "";
226
- primary: "";
227
- secondary: "";
228
- success: "";
229
- warning: "";
230
- danger: "";
231
- };
232
- radius: {
233
- none: "rounded-none";
234
- sm: "rounded-small";
235
- md: "rounded-medium";
236
- lg: "rounded-large";
237
- full: "rounded-full";
238
- };
239
- fullWidth: {
240
- true: "w-full";
241
- };
242
- isDisabled: {
243
- true: "opacity-disabled pointer-events-none";
244
- };
245
- isInGroup: {
246
- true: "[&:not(:first-child):not(:last-child)]:rounded-none";
247
- };
248
- isIconOnly: {
249
- true: "px-unit-0 !gap-unit-0";
250
- false: "[&>svg]:max-w-[theme(spacing.unit-8]";
251
- };
252
- disableAnimation: {
253
- true: "!transition-none";
254
- false: "data-[pressed=true]:scale-[0.97] transition-transform-colors motion-reduce:transition-none";
255
- };
256
- }, undefined, string[], tailwind_variants_dist_config.TVConfig<{
257
- variant: {
258
- solid: "";
259
- bordered: "border-medium bg-transparent";
260
- light: "bg-transparent";
261
- flat: "";
262
- faded: "border-medium";
263
- shadow: "";
264
- ghost: "border-medium bg-transparent";
265
- };
266
- size: {
267
- sm: "px-unit-3 min-w-unit-16 h-unit-8 text-tiny gap-unit-2 rounded-small";
268
- md: "px-unit-4 min-w-unit-20 h-unit-10 text-small gap-unit-2 rounded-medium";
269
- lg: "px-unit-6 min-w-unit-24 h-unit-12 text-medium gap-unit-3 rounded-large";
270
- };
271
- color: {
272
- default: "";
273
- primary: "";
274
- secondary: "";
275
- success: "";
276
- warning: "";
277
- danger: "";
278
- };
279
- radius: {
280
- none: "rounded-none";
281
- sm: "rounded-small";
282
- md: "rounded-medium";
283
- lg: "rounded-large";
284
- full: "rounded-full";
285
- };
286
- fullWidth: {
287
- true: "w-full";
288
- };
289
- isDisabled: {
290
- true: "opacity-disabled pointer-events-none";
291
- };
292
- isInGroup: {
293
- true: "[&:not(:first-child):not(:last-child)]:rounded-none";
294
- };
295
- isIconOnly: {
296
- true: "px-unit-0 !gap-unit-0";
297
- false: "[&>svg]:max-w-[theme(spacing.unit-8]";
298
- };
299
- disableAnimation: {
300
- true: "!transition-none";
301
- false: "data-[pressed=true]:scale-[0.97] transition-transform-colors motion-reduce:transition-none";
302
- };
303
- }, {
304
- variant: {
305
- solid: "";
306
- bordered: "border-medium bg-transparent";
307
- light: "bg-transparent";
308
- flat: "";
309
- faded: "border-medium";
310
- shadow: "";
311
- ghost: "border-medium bg-transparent";
312
- };
313
- size: {
314
- sm: "px-unit-3 min-w-unit-16 h-unit-8 text-tiny gap-unit-2 rounded-small";
315
- md: "px-unit-4 min-w-unit-20 h-unit-10 text-small gap-unit-2 rounded-medium";
316
- lg: "px-unit-6 min-w-unit-24 h-unit-12 text-medium gap-unit-3 rounded-large";
317
- };
318
- color: {
319
- default: "";
320
- primary: "";
321
- secondary: "";
322
- success: "";
323
- warning: "";
324
- danger: "";
325
- };
326
- radius: {
327
- none: "rounded-none";
328
- sm: "rounded-small";
329
- md: "rounded-medium";
330
- lg: "rounded-large";
331
- full: "rounded-full";
332
- };
333
- fullWidth: {
334
- true: "w-full";
335
- };
336
- isDisabled: {
337
- true: "opacity-disabled pointer-events-none";
338
- };
339
- isInGroup: {
340
- true: "[&:not(:first-child):not(:last-child)]:rounded-none";
341
- };
342
- isIconOnly: {
343
- true: "px-unit-0 !gap-unit-0";
344
- false: "[&>svg]:max-w-[theme(spacing.unit-8]";
345
- };
346
- disableAnimation: {
347
- true: "!transition-none";
348
- false: "data-[pressed=true]:scale-[0.97] transition-transform-colors motion-reduce:transition-none";
349
- };
350
- }>, unknown, unknown, undefined>>;
209
+ }, undefined>;
351
210
  /**
352
211
  * ButtonGroup wrapper **Tailwind Variants** component
353
212
  *
@@ -374,19 +233,7 @@ declare const buttonGroup: tailwind_variants.TVReturnType<{
374
233
  fullWidth: {
375
234
  true: "w-full";
376
235
  };
377
- }, undefined, tailwind_variants.TVReturnType<{
378
- fullWidth: {
379
- true: "w-full";
380
- };
381
- }, undefined, "inline-flex items-center justify-center h-auto", tailwind_variants_dist_config.TVConfig<{
382
- fullWidth: {
383
- true: "w-full";
384
- };
385
- }, {
386
- fullWidth: {
387
- true: "w-full";
388
- };
389
- }>, unknown, unknown, undefined>>;
236
+ }, undefined>;
390
237
  type ButtonGroupVariantProps = VariantProps<typeof buttonGroup>;
391
238
  type ButtonVariantProps = VariantProps<typeof button>;
392
239
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  button,
3
3
  buttonGroup
4
- } from "../chunk-7FE2S6SN.mjs";
5
- import "../chunk-6AEINX52.mjs";
4
+ } from "../chunk-DM43SKSP.mjs";
6
5
  import "../chunk-CMYR6AOY.mjs";
7
6
  import "../chunk-K7LK7NCE.mjs";
8
7
  import "../chunk-2PIR7DFM.mjs";
8
+ import "../chunk-6AEINX52.mjs";
9
9
  import "../chunk-T7JNS25F.mjs";
10
10
  import "../chunk-WA5F6AED.mjs";
11
11
  export {
@@ -318,231 +318,7 @@ declare const card: tailwind_variants.TVReturnType<{
318
318
  header: string[];
319
319
  body: string[];
320
320
  footer: string[];
321
- }, tailwind_variants.TVReturnType<{
322
- shadow: {
323
- none: {
324
- base: string;
325
- };
326
- sm: {
327
- base: string;
328
- };
329
- md: {
330
- base: string;
331
- };
332
- lg: {
333
- base: string;
334
- };
335
- };
336
- radius: {
337
- none: {
338
- base: string;
339
- header: string;
340
- footer: string;
341
- };
342
- sm: {
343
- base: string;
344
- header: string;
345
- footer: string;
346
- };
347
- md: {
348
- base: string;
349
- header: string;
350
- footer: string;
351
- };
352
- lg: {
353
- base: string;
354
- header: string;
355
- footer: string;
356
- };
357
- };
358
- fullWidth: {
359
- true: {
360
- base: string;
361
- };
362
- };
363
- isHoverable: {
364
- true: {
365
- base: string;
366
- };
367
- };
368
- isPressable: {
369
- true: {
370
- base: string;
371
- };
372
- };
373
- isBlurred: {
374
- true: {
375
- base: string[];
376
- };
377
- };
378
- isFooterBlurred: {
379
- true: {
380
- footer: string[];
381
- };
382
- };
383
- isDisabled: {
384
- true: {
385
- base: string;
386
- };
387
- };
388
- disableAnimation: {
389
- true: "";
390
- false: {
391
- base: string;
392
- };
393
- };
394
- }, {
395
- base: string[];
396
- header: string[];
397
- body: string[];
398
- footer: string[];
399
- }, undefined, tailwind_variants_dist_config.TVConfig<{
400
- shadow: {
401
- none: {
402
- base: string;
403
- };
404
- sm: {
405
- base: string;
406
- };
407
- md: {
408
- base: string;
409
- };
410
- lg: {
411
- base: string;
412
- };
413
- };
414
- radius: {
415
- none: {
416
- base: string;
417
- header: string;
418
- footer: string;
419
- };
420
- sm: {
421
- base: string;
422
- header: string;
423
- footer: string;
424
- };
425
- md: {
426
- base: string;
427
- header: string;
428
- footer: string;
429
- };
430
- lg: {
431
- base: string;
432
- header: string;
433
- footer: string;
434
- };
435
- };
436
- fullWidth: {
437
- true: {
438
- base: string;
439
- };
440
- };
441
- isHoverable: {
442
- true: {
443
- base: string;
444
- };
445
- };
446
- isPressable: {
447
- true: {
448
- base: string;
449
- };
450
- };
451
- isBlurred: {
452
- true: {
453
- base: string[];
454
- };
455
- };
456
- isFooterBlurred: {
457
- true: {
458
- footer: string[];
459
- };
460
- };
461
- isDisabled: {
462
- true: {
463
- base: string;
464
- };
465
- };
466
- disableAnimation: {
467
- true: "";
468
- false: {
469
- base: string;
470
- };
471
- };
472
- }, {
473
- shadow: {
474
- none: {
475
- base: string;
476
- };
477
- sm: {
478
- base: string;
479
- };
480
- md: {
481
- base: string;
482
- };
483
- lg: {
484
- base: string;
485
- };
486
- };
487
- radius: {
488
- none: {
489
- base: string;
490
- header: string;
491
- footer: string;
492
- };
493
- sm: {
494
- base: string;
495
- header: string;
496
- footer: string;
497
- };
498
- md: {
499
- base: string;
500
- header: string;
501
- footer: string;
502
- };
503
- lg: {
504
- base: string;
505
- header: string;
506
- footer: string;
507
- };
508
- };
509
- fullWidth: {
510
- true: {
511
- base: string;
512
- };
513
- };
514
- isHoverable: {
515
- true: {
516
- base: string;
517
- };
518
- };
519
- isPressable: {
520
- true: {
521
- base: string;
522
- };
523
- };
524
- isBlurred: {
525
- true: {
526
- base: string[];
527
- };
528
- };
529
- isFooterBlurred: {
530
- true: {
531
- footer: string[];
532
- };
533
- };
534
- isDisabled: {
535
- true: {
536
- base: string;
537
- };
538
- };
539
- disableAnimation: {
540
- true: "";
541
- false: {
542
- base: string;
543
- };
544
- };
545
- }>, unknown, unknown, undefined>>;
321
+ }>;
546
322
  type CardVariantProps = VariantProps<typeof card>;
547
323
  type CardSlots = keyof ReturnType<typeof card>;
548
324
  type CardReturnType = ReturnType<typeof card>;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  card
3
3
  } from "../chunk-GKYVNUGL.mjs";
4
- import "../chunk-6AEINX52.mjs";
5
4
  import "../chunk-CMYR6AOY.mjs";
6
5
  import "../chunk-K7LK7NCE.mjs";
7
6
  import "../chunk-2PIR7DFM.mjs";
7
+ import "../chunk-6AEINX52.mjs";
8
8
  import "../chunk-T7JNS25F.mjs";
9
9
  import "../chunk-WA5F6AED.mjs";
10
10
  export {
@@ -336,243 +336,7 @@ declare const checkbox: tailwind_variants.TVReturnType<{
336
336
  wrapper: string[];
337
337
  icon: string;
338
338
  label: string;
339
- }, tailwind_variants.TVReturnType<{
340
- color: {
341
- default: {
342
- wrapper: string;
343
- };
344
- primary: {
345
- wrapper: string;
346
- };
347
- secondary: {
348
- wrapper: string;
349
- };
350
- success: {
351
- wrapper: string;
352
- };
353
- warning: {
354
- wrapper: string;
355
- };
356
- danger: {
357
- wrapper: string;
358
- };
359
- };
360
- size: {
361
- sm: {
362
- wrapper: string[];
363
- label: string;
364
- icon: string;
365
- };
366
- md: {
367
- wrapper: string[];
368
- label: string;
369
- icon: string;
370
- };
371
- lg: {
372
- wrapper: string[];
373
- label: string;
374
- icon: string;
375
- };
376
- };
377
- radius: {
378
- none: {
379
- wrapper: string;
380
- };
381
- sm: {
382
- wrapper: string[];
383
- };
384
- md: {
385
- wrapper: string[];
386
- };
387
- lg: {
388
- wrapper: string[];
389
- };
390
- full: {
391
- wrapper: string;
392
- };
393
- };
394
- lineThrough: {
395
- true: {
396
- label: string[];
397
- };
398
- };
399
- isDisabled: {
400
- true: {
401
- base: string;
402
- };
403
- };
404
- disableAnimation: {
405
- true: {
406
- wrapper: string;
407
- icon: string;
408
- label: string;
409
- };
410
- false: {
411
- wrapper: string[];
412
- icon: string;
413
- label: string;
414
- };
415
- };
416
- }, {
417
- base: string;
418
- wrapper: string[];
419
- icon: string;
420
- label: string;
421
- }, undefined, tailwind_variants_dist_config.TVConfig<{
422
- color: {
423
- default: {
424
- wrapper: string;
425
- };
426
- primary: {
427
- wrapper: string;
428
- };
429
- secondary: {
430
- wrapper: string;
431
- };
432
- success: {
433
- wrapper: string;
434
- };
435
- warning: {
436
- wrapper: string;
437
- };
438
- danger: {
439
- wrapper: string;
440
- };
441
- };
442
- size: {
443
- sm: {
444
- wrapper: string[];
445
- label: string;
446
- icon: string;
447
- };
448
- md: {
449
- wrapper: string[];
450
- label: string;
451
- icon: string;
452
- };
453
- lg: {
454
- wrapper: string[];
455
- label: string;
456
- icon: string;
457
- };
458
- };
459
- radius: {
460
- none: {
461
- wrapper: string;
462
- };
463
- sm: {
464
- wrapper: string[];
465
- };
466
- md: {
467
- wrapper: string[];
468
- };
469
- lg: {
470
- wrapper: string[];
471
- };
472
- full: {
473
- wrapper: string;
474
- };
475
- };
476
- lineThrough: {
477
- true: {
478
- label: string[];
479
- };
480
- };
481
- isDisabled: {
482
- true: {
483
- base: string;
484
- };
485
- };
486
- disableAnimation: {
487
- true: {
488
- wrapper: string;
489
- icon: string;
490
- label: string;
491
- };
492
- false: {
493
- wrapper: string[];
494
- icon: string;
495
- label: string;
496
- };
497
- };
498
- }, {
499
- color: {
500
- default: {
501
- wrapper: string;
502
- };
503
- primary: {
504
- wrapper: string;
505
- };
506
- secondary: {
507
- wrapper: string;
508
- };
509
- success: {
510
- wrapper: string;
511
- };
512
- warning: {
513
- wrapper: string;
514
- };
515
- danger: {
516
- wrapper: string;
517
- };
518
- };
519
- size: {
520
- sm: {
521
- wrapper: string[];
522
- label: string;
523
- icon: string;
524
- };
525
- md: {
526
- wrapper: string[];
527
- label: string;
528
- icon: string;
529
- };
530
- lg: {
531
- wrapper: string[];
532
- label: string;
533
- icon: string;
534
- };
535
- };
536
- radius: {
537
- none: {
538
- wrapper: string;
539
- };
540
- sm: {
541
- wrapper: string[];
542
- };
543
- md: {
544
- wrapper: string[];
545
- };
546
- lg: {
547
- wrapper: string[];
548
- };
549
- full: {
550
- wrapper: string;
551
- };
552
- };
553
- lineThrough: {
554
- true: {
555
- label: string[];
556
- };
557
- };
558
- isDisabled: {
559
- true: {
560
- base: string;
561
- };
562
- };
563
- disableAnimation: {
564
- true: {
565
- wrapper: string;
566
- icon: string;
567
- label: string;
568
- };
569
- false: {
570
- wrapper: string[];
571
- icon: string;
572
- label: string;
573
- };
574
- };
575
- }>, unknown, unknown, undefined>>;
339
+ }>;
576
340
  /**
577
341
  * CheckboxGroup wrapper **Tailwind Variants** component
578
342
  *
@@ -626,19 +390,7 @@ declare const checkboxGroup: tailwind_variants.TVReturnType<tailwind_variants.TV
626
390
  wrapper: string;
627
391
  description: string;
628
392
  errorMessage: string;
629
- }, tailwind_variants.TVReturnType<unknown, {
630
- base: string;
631
- label: string;
632
- wrapper: string;
633
- description: string;
634
- errorMessage: string;
635
- }, undefined, tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<{
636
- base: string;
637
- label: string;
638
- wrapper: string;
639
- description: string;
640
- errorMessage: string;
641
- }, undefined> | {}>, unknown, unknown, undefined>>;
393
+ }>;
642
394
  type CheckboxGroupSlots = keyof ReturnType<typeof checkboxGroup>;
643
395
  type CheckboxVariantProps = VariantProps<typeof checkbox>;
644
396
  type CheckboxSlots = keyof ReturnType<typeof checkbox>;
@@ -2,10 +2,10 @@ import {
2
2
  checkbox,
3
3
  checkboxGroup
4
4
  } from "../chunk-2T5RQ7SK.mjs";
5
- import "../chunk-6AEINX52.mjs";
6
5
  import "../chunk-CMYR6AOY.mjs";
7
6
  import "../chunk-K7LK7NCE.mjs";
8
7
  import "../chunk-2PIR7DFM.mjs";
8
+ import "../chunk-6AEINX52.mjs";
9
9
  import "../chunk-T7JNS25F.mjs";
10
10
  import "../chunk-WA5F6AED.mjs";
11
11
  export {