@nextui-org/theme 0.0.0-dev-v2-20230725193627 → 0.0.0-dev-v2-20230728152928

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 (72) hide show
  1. package/dist/{chunk-G4RCK475.mjs → chunk-7L2ZWDVP.mjs} +1 -1
  2. package/dist/{chunk-PW52XQD7.mjs → chunk-N4SEYHPH.mjs} +5 -5
  3. package/dist/{chunk-QZTWGJ72.mjs → chunk-QGHMGO5E.mjs} +2 -2
  4. package/dist/colors/common.mjs +3 -3
  5. package/dist/colors/index.mjs +5 -5
  6. package/dist/colors/semantic.mjs +4 -4
  7. package/dist/colors.mjs +5 -5
  8. package/dist/components/accordion.d.ts +2 -153
  9. package/dist/components/accordion.mjs +1 -1
  10. package/dist/components/avatar.d.ts +2 -227
  11. package/dist/components/avatar.mjs +2 -2
  12. package/dist/components/badge.d.ts +1 -199
  13. package/dist/components/badge.mjs +2 -2
  14. package/dist/components/button.d.ts +2 -155
  15. package/dist/components/button.mjs +2 -2
  16. package/dist/components/card.d.ts +1 -225
  17. package/dist/components/card.mjs +1 -1
  18. package/dist/components/checkbox.d.ts +2 -250
  19. package/dist/components/checkbox.mjs +1 -1
  20. package/dist/components/chip.d.ts +1 -304
  21. package/dist/components/chip.mjs +2 -2
  22. package/dist/components/circular-progress.d.ts +1 -171
  23. package/dist/components/code.d.ts +1 -64
  24. package/dist/components/code.mjs +2 -2
  25. package/dist/components/divider.d.ts +1 -16
  26. package/dist/components/drip.d.ts +1 -1
  27. package/dist/components/dropdown.d.ts +4 -135
  28. package/dist/components/dropdown.mjs +1 -1
  29. package/dist/components/image.d.ts +1 -141
  30. package/dist/components/index.mjs +39 -39
  31. package/dist/components/input.d.ts +1 -426
  32. package/dist/components/input.mjs +1 -1
  33. package/dist/components/kbd.d.ts +1 -5
  34. package/dist/components/link.d.ts +1 -94
  35. package/dist/components/link.mjs +1 -1
  36. package/dist/components/modal.d.ts +1 -315
  37. package/dist/components/modal.mjs +1 -1
  38. package/dist/components/navbar.d.ts +1 -174
  39. package/dist/components/navbar.mjs +1 -1
  40. package/dist/components/pagination.d.ts +1 -239
  41. package/dist/components/pagination.mjs +2 -2
  42. package/dist/components/popover.d.ts +1 -258
  43. package/dist/components/popover.mjs +2 -2
  44. package/dist/components/progress.d.ts +1 -91
  45. package/dist/components/radio.d.ts +2 -231
  46. package/dist/components/radio.mjs +1 -1
  47. package/dist/components/skeleton.d.ts +1 -37
  48. package/dist/components/snippet.d.ts +1 -165
  49. package/dist/components/snippet.mjs +2 -2
  50. package/dist/components/spacer.d.ts +1 -16
  51. package/dist/components/spinner.d.ts +1 -232
  52. package/dist/components/table.d.ts +1 -311
  53. package/dist/components/table.mjs +1 -1
  54. package/dist/components/tabs.d.ts +1 -269
  55. package/dist/components/tabs.mjs +2 -2
  56. package/dist/components/toggle.d.ts +1 -192
  57. package/dist/components/toggle.mjs +1 -1
  58. package/dist/components/user.d.ts +1 -11
  59. package/dist/components/user.mjs +1 -1
  60. package/dist/index.mjs +47 -47
  61. package/dist/plugin.mjs +7 -7
  62. package/package.json +1 -1
  63. package/dist/{chunk-XCWQAA5D.mjs → chunk-3RZCOCFH.mjs} +3 -3
  64. package/dist/{chunk-IAS3SFA4.mjs → chunk-6TOTQSJE.mjs} +6 -6
  65. package/dist/{chunk-DM43SKSP.mjs → chunk-7FE2S6SN.mjs} +3 -3
  66. package/dist/{chunk-RHIZZ5XX.mjs → chunk-AWPGSFD6.mjs} +3 -3
  67. package/dist/{chunk-77O7KLUI.mjs → chunk-HDWYLUG3.mjs} +3 -3
  68. package/dist/{chunk-B55QBA5E.mjs → chunk-O3IKQG57.mjs} +3 -3
  69. package/dist/{chunk-PKP3F3VC.mjs → chunk-SUDYOX5B.mjs} +3 -3
  70. package/dist/{chunk-FZZINZOQ.mjs → chunk-T2TGJLXI.mjs} +3 -3
  71. package/dist/{chunk-U3S42JDF.mjs → chunk-V4DLFVFF.mjs} +3 -3
  72. package/dist/{chunk-RPMLQF4Y.mjs → chunk-VB6YPWEW.mjs} +3 -3
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-KUNVFLXJ.mjs";
4
4
  import {
5
5
  commonColors
6
- } from "./chunk-IAS3SFA4.mjs";
6
+ } from "./chunk-6TOTQSJE.mjs";
7
7
 
8
8
  // src/colors/semantic.ts
9
9
  import { readableColor } from "color2k";
@@ -3,6 +3,9 @@ import {
3
3
  generateSpacingScale,
4
4
  isBaseTheme
5
5
  } from "./chunk-NW5W5ANO.mjs";
6
+ import {
7
+ animations
8
+ } from "./chunk-DMASP6FA.mjs";
6
9
  import {
7
10
  utilities
8
11
  } from "./chunk-DYIIRM5B.mjs";
@@ -11,7 +14,7 @@ import {
11
14
  } from "./chunk-T7JNS25F.mjs";
12
15
  import {
13
16
  semanticColors
14
- } from "./chunk-G4RCK475.mjs";
17
+ } from "./chunk-7L2ZWDVP.mjs";
15
18
  import {
16
19
  flattenThemeObject
17
20
  } from "./chunk-KUNVFLXJ.mjs";
@@ -20,12 +23,9 @@ import {
20
23
  defaultLayout,
21
24
  lightLayout
22
25
  } from "./chunk-7MCHEQXT.mjs";
23
- import {
24
- animations
25
- } from "./chunk-DMASP6FA.mjs";
26
26
  import {
27
27
  commonColors
28
- } from "./chunk-IAS3SFA4.mjs";
28
+ } from "./chunk-6TOTQSJE.mjs";
29
29
 
30
30
  // src/plugin.ts
31
31
  import Color from "color";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  semanticColors
3
- } from "./chunk-G4RCK475.mjs";
3
+ } from "./chunk-7L2ZWDVP.mjs";
4
4
  import {
5
5
  commonColors
6
- } from "./chunk-IAS3SFA4.mjs";
6
+ } from "./chunk-6TOTQSJE.mjs";
7
7
 
8
8
  // src/colors/index.ts
9
9
  var colors = {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  commonColors
3
- } from "../chunk-IAS3SFA4.mjs";
4
- import "../chunk-JUEOCLA3.mjs";
3
+ } from "../chunk-6TOTQSJE.mjs";
5
4
  import "../chunk-3LKKH4AR.mjs";
6
- import "../chunk-T3GWIVAM.mjs";
7
5
  import "../chunk-OR5PUD24.mjs";
8
6
  import "../chunk-DCEG5LGX.mjs";
9
7
  import "../chunk-L2OL7R23.mjs";
10
8
  import "../chunk-YZYGFPNK.mjs";
9
+ import "../chunk-JUEOCLA3.mjs";
11
10
  import "../chunk-GHZ36ATJ.mjs";
11
+ import "../chunk-T3GWIVAM.mjs";
12
12
  export {
13
13
  commonColors
14
14
  };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  colors
3
- } from "../chunk-QZTWGJ72.mjs";
3
+ } from "../chunk-QGHMGO5E.mjs";
4
4
  import {
5
5
  semanticColors
6
- } from "../chunk-G4RCK475.mjs";
6
+ } from "../chunk-7L2ZWDVP.mjs";
7
7
  import "../chunk-KUNVFLXJ.mjs";
8
8
  import "../chunk-M63AFAHO.mjs";
9
9
  import {
10
10
  commonColors
11
- } from "../chunk-IAS3SFA4.mjs";
12
- import "../chunk-JUEOCLA3.mjs";
11
+ } from "../chunk-6TOTQSJE.mjs";
13
12
  import "../chunk-3LKKH4AR.mjs";
14
- import "../chunk-T3GWIVAM.mjs";
15
13
  import "../chunk-OR5PUD24.mjs";
16
14
  import "../chunk-DCEG5LGX.mjs";
17
15
  import "../chunk-L2OL7R23.mjs";
18
16
  import "../chunk-YZYGFPNK.mjs";
17
+ import "../chunk-JUEOCLA3.mjs";
19
18
  import "../chunk-GHZ36ATJ.mjs";
19
+ import "../chunk-T3GWIVAM.mjs";
20
20
  export {
21
21
  colors,
22
22
  commonColors,
@@ -2,17 +2,17 @@ import {
2
2
  semanticColors,
3
3
  themeColorsDark,
4
4
  themeColorsLight
5
- } from "../chunk-G4RCK475.mjs";
5
+ } from "../chunk-7L2ZWDVP.mjs";
6
6
  import "../chunk-KUNVFLXJ.mjs";
7
- import "../chunk-IAS3SFA4.mjs";
8
- import "../chunk-JUEOCLA3.mjs";
7
+ import "../chunk-6TOTQSJE.mjs";
9
8
  import "../chunk-3LKKH4AR.mjs";
10
- import "../chunk-T3GWIVAM.mjs";
11
9
  import "../chunk-OR5PUD24.mjs";
12
10
  import "../chunk-DCEG5LGX.mjs";
13
11
  import "../chunk-L2OL7R23.mjs";
14
12
  import "../chunk-YZYGFPNK.mjs";
13
+ import "../chunk-JUEOCLA3.mjs";
15
14
  import "../chunk-GHZ36ATJ.mjs";
15
+ import "../chunk-T3GWIVAM.mjs";
16
16
  export {
17
17
  semanticColors,
18
18
  themeColorsDark,
package/dist/colors.mjs CHANGED
@@ -1,23 +1,23 @@
1
1
  import "./chunk-WQEDQHKX.mjs";
2
2
  import {
3
3
  colors
4
- } from "./chunk-QZTWGJ72.mjs";
4
+ } from "./chunk-QGHMGO5E.mjs";
5
5
  import {
6
6
  semanticColors
7
- } from "./chunk-G4RCK475.mjs";
7
+ } from "./chunk-7L2ZWDVP.mjs";
8
8
  import "./chunk-KUNVFLXJ.mjs";
9
9
  import "./chunk-M63AFAHO.mjs";
10
10
  import {
11
11
  commonColors
12
- } from "./chunk-IAS3SFA4.mjs";
13
- import "./chunk-JUEOCLA3.mjs";
12
+ } from "./chunk-6TOTQSJE.mjs";
14
13
  import "./chunk-3LKKH4AR.mjs";
15
- import "./chunk-T3GWIVAM.mjs";
16
14
  import "./chunk-OR5PUD24.mjs";
17
15
  import "./chunk-DCEG5LGX.mjs";
18
16
  import "./chunk-L2OL7R23.mjs";
19
17
  import "./chunk-YZYGFPNK.mjs";
18
+ import "./chunk-JUEOCLA3.mjs";
20
19
  import "./chunk-GHZ36ATJ.mjs";
20
+ import "./chunk-T3GWIVAM.mjs";
21
21
  export {
22
22
  colors,
23
23
  commonColors,
@@ -52,37 +52,7 @@ declare const accordion: tailwind_variants.TVReturnType<{
52
52
  fullWidth: {
53
53
  true: "w-full";
54
54
  };
55
- }, undefined, tailwind_variants.TVReturnType<{
56
- variant: {
57
- light: "";
58
- shadow: "px-4 shadow-medium rounded-medium bg-content1";
59
- bordered: "px-4 border-medium border-divider rounded-medium";
60
- splitted: "group is-splitted flex flex-col gap-2";
61
- };
62
- fullWidth: {
63
- true: "w-full";
64
- };
65
- }, undefined, "px-2", tailwind_variants_dist_config.TVConfig<{
66
- variant: {
67
- light: "";
68
- shadow: "px-4 shadow-medium rounded-medium bg-content1";
69
- bordered: "px-4 border-medium border-divider rounded-medium";
70
- splitted: "group is-splitted flex flex-col gap-2";
71
- };
72
- fullWidth: {
73
- true: "w-full";
74
- };
75
- }, {
76
- variant: {
77
- light: "";
78
- shadow: "px-4 shadow-medium rounded-medium bg-content1";
79
- bordered: "px-4 border-medium border-divider rounded-medium";
80
- splitted: "group is-splitted flex flex-col gap-2";
81
- };
82
- fullWidth: {
83
- true: "w-full";
84
- };
85
- }>, unknown, unknown, undefined>>;
55
+ }, undefined>;
86
56
  /**
87
57
  * AccordionItem wrapper **Tailwind Variants** component
88
58
  *
@@ -273,128 +243,7 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
273
243
  title: string;
274
244
  subtitle: string;
275
245
  content: string;
276
- }, tailwind_variants.TVReturnType<{
277
- isCompact: {
278
- true: {
279
- trigger: string;
280
- title: string;
281
- subtitle: string;
282
- indicator: string;
283
- content: string;
284
- };
285
- };
286
- isDisabled: {
287
- true: {
288
- base: string;
289
- };
290
- };
291
- hideIndicator: {
292
- true: {
293
- indicator: string;
294
- };
295
- };
296
- disableAnimation: {
297
- true: {
298
- content: string;
299
- };
300
- false: {
301
- indicator: string;
302
- trigger: string;
303
- };
304
- };
305
- disableIndicatorAnimation: {
306
- true: {
307
- indicator: string;
308
- };
309
- false: {
310
- indicator: string;
311
- };
312
- };
313
- }, {
314
- base: string[];
315
- heading: string;
316
- trigger: string[];
317
- startContent: string;
318
- indicator: string;
319
- titleWrapper: string;
320
- title: string;
321
- subtitle: string;
322
- content: string;
323
- }, undefined, tailwind_variants_dist_config.TVConfig<{
324
- isCompact: {
325
- true: {
326
- trigger: string;
327
- title: string;
328
- subtitle: string;
329
- indicator: string;
330
- content: string;
331
- };
332
- };
333
- isDisabled: {
334
- true: {
335
- base: string;
336
- };
337
- };
338
- hideIndicator: {
339
- true: {
340
- indicator: string;
341
- };
342
- };
343
- disableAnimation: {
344
- true: {
345
- content: string;
346
- };
347
- false: {
348
- indicator: string;
349
- trigger: string;
350
- };
351
- };
352
- disableIndicatorAnimation: {
353
- true: {
354
- indicator: string;
355
- };
356
- false: {
357
- indicator: string;
358
- };
359
- };
360
- }, {
361
- isCompact: {
362
- true: {
363
- trigger: string;
364
- title: string;
365
- subtitle: string;
366
- indicator: string;
367
- content: string;
368
- };
369
- };
370
- isDisabled: {
371
- true: {
372
- base: string;
373
- };
374
- };
375
- hideIndicator: {
376
- true: {
377
- indicator: string;
378
- };
379
- };
380
- disableAnimation: {
381
- true: {
382
- content: string;
383
- };
384
- false: {
385
- indicator: string;
386
- trigger: string;
387
- };
388
- };
389
- disableIndicatorAnimation: {
390
- true: {
391
- indicator: string;
392
- };
393
- false: {
394
- indicator: string;
395
- };
396
- };
397
- }>, unknown, unknown, undefined>>;
246
+ }>;
398
247
  type AccordionGroupVariantProps = VariantProps<typeof accordion>;
399
248
  type AccordionItemVariantProps = VariantProps<typeof accordionItem>;
400
249
  type AccordionItemSlots = keyof ReturnType<typeof accordionItem>;
@@ -2,10 +2,10 @@ import {
2
2
  accordion,
3
3
  accordionItem
4
4
  } from "../chunk-UHF2F2WJ.mjs";
5
+ import "../chunk-6AEINX52.mjs";
5
6
  import "../chunk-CMYR6AOY.mjs";
6
7
  import "../chunk-K7LK7NCE.mjs";
7
8
  import "../chunk-2PIR7DFM.mjs";
8
- import "../chunk-6AEINX52.mjs";
9
9
  import "../chunk-T7JNS25F.mjs";
10
10
  import "../chunk-WA5F6AED.mjs";
11
11
  export {
@@ -302,220 +302,7 @@ declare const avatar: tailwind_variants.TVReturnType<{
302
302
  fallback: string[];
303
303
  name: string[];
304
304
  icon: string[];
305
- }, tailwind_variants.TVReturnType<{
306
- size: {
307
- sm: {
308
- base: string;
309
- };
310
- md: {
311
- base: string;
312
- };
313
- lg: {
314
- base: string;
315
- };
316
- };
317
- color: {
318
- default: {
319
- base: string;
320
- };
321
- primary: {
322
- base: string;
323
- };
324
- secondary: {
325
- base: string;
326
- };
327
- success: {
328
- base: string;
329
- };
330
- warning: {
331
- base: string;
332
- };
333
- danger: {
334
- base: string;
335
- };
336
- };
337
- radius: {
338
- none: {
339
- base: string;
340
- };
341
- sm: {
342
- base: string;
343
- };
344
- md: {
345
- base: string;
346
- };
347
- lg: {
348
- base: string;
349
- };
350
- full: {
351
- base: string;
352
- };
353
- };
354
- isBordered: {
355
- true: {
356
- base: string;
357
- };
358
- };
359
- isDisabled: {
360
- true: {
361
- base: string;
362
- };
363
- };
364
- isInGroup: {
365
- true: {
366
- base: string[];
367
- };
368
- };
369
- isInGridGroup: {
370
- true: {
371
- base: string;
372
- };
373
- };
374
- }, {
375
- base: string[];
376
- img: string[];
377
- fallback: string[];
378
- name: string[];
379
- icon: string[];
380
- }, undefined, tailwind_variants_dist_config.TVConfig<{
381
- size: {
382
- sm: {
383
- base: string;
384
- };
385
- md: {
386
- base: string;
387
- };
388
- lg: {
389
- base: string;
390
- };
391
- };
392
- color: {
393
- default: {
394
- base: string;
395
- };
396
- primary: {
397
- base: string;
398
- };
399
- secondary: {
400
- base: string;
401
- };
402
- success: {
403
- base: string;
404
- };
405
- warning: {
406
- base: string;
407
- };
408
- danger: {
409
- base: string;
410
- };
411
- };
412
- radius: {
413
- none: {
414
- base: string;
415
- };
416
- sm: {
417
- base: string;
418
- };
419
- md: {
420
- base: string;
421
- };
422
- lg: {
423
- base: string;
424
- };
425
- full: {
426
- base: string;
427
- };
428
- };
429
- isBordered: {
430
- true: {
431
- base: string;
432
- };
433
- };
434
- isDisabled: {
435
- true: {
436
- base: string;
437
- };
438
- };
439
- isInGroup: {
440
- true: {
441
- base: string[];
442
- };
443
- };
444
- isInGridGroup: {
445
- true: {
446
- base: string;
447
- };
448
- };
449
- }, {
450
- size: {
451
- sm: {
452
- base: string;
453
- };
454
- md: {
455
- base: string;
456
- };
457
- lg: {
458
- base: string;
459
- };
460
- };
461
- color: {
462
- default: {
463
- base: string;
464
- };
465
- primary: {
466
- base: string;
467
- };
468
- secondary: {
469
- base: string;
470
- };
471
- success: {
472
- base: string;
473
- };
474
- warning: {
475
- base: string;
476
- };
477
- danger: {
478
- base: string;
479
- };
480
- };
481
- radius: {
482
- none: {
483
- base: string;
484
- };
485
- sm: {
486
- base: string;
487
- };
488
- md: {
489
- base: string;
490
- };
491
- lg: {
492
- base: string;
493
- };
494
- full: {
495
- base: string;
496
- };
497
- };
498
- isBordered: {
499
- true: {
500
- base: string;
501
- };
502
- };
503
- isDisabled: {
504
- true: {
505
- base: string;
506
- };
507
- };
508
- isInGroup: {
509
- true: {
510
- base: string[];
511
- };
512
- };
513
- isInGridGroup: {
514
- true: {
515
- base: string;
516
- };
517
- };
518
- }>, unknown, unknown, undefined>>;
305
+ }>;
519
306
  /**
520
307
  * AvatarGroup wrapper **Tailwind Variants** component
521
308
  *
@@ -542,19 +329,7 @@ declare const avatarGroup: tailwind_variants.TVReturnType<{
542
329
  isGrid: {
543
330
  true: "inline-grid grid-cols-4 gap-3";
544
331
  };
545
- }, undefined, tailwind_variants.TVReturnType<{
546
- isGrid: {
547
- true: "inline-grid grid-cols-4 gap-3";
548
- };
549
- }, undefined, "flex items-center justify-center h-auto w-max-content", tailwind_variants_dist_config.TVConfig<{
550
- isGrid: {
551
- true: "inline-grid grid-cols-4 gap-3";
552
- };
553
- }, {
554
- isGrid: {
555
- true: "inline-grid grid-cols-4 gap-3";
556
- };
557
- }>, unknown, unknown, undefined>>;
332
+ }, undefined>;
558
333
  type AvatarGroupVariantProps = VariantProps<typeof avatarGroup>;
559
334
  type AvatarVariantProps = VariantProps<typeof avatar>;
560
335
  type AvatarSlots = keyof ReturnType<typeof avatar>;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  avatar,
3
3
  avatarGroup
4
- } from "../chunk-RPMLQF4Y.mjs";
4
+ } from "../chunk-VB6YPWEW.mjs";
5
+ import "../chunk-6AEINX52.mjs";
5
6
  import "../chunk-CMYR6AOY.mjs";
6
7
  import "../chunk-K7LK7NCE.mjs";
7
8
  import "../chunk-2PIR7DFM.mjs";
8
- import "../chunk-6AEINX52.mjs";
9
9
  import "../chunk-T7JNS25F.mjs";
10
10
  import "../chunk-WA5F6AED.mjs";
11
11
  export {