@nextui-org/theme 0.0.0-dev-v2-20230719131057 → 0.0.0-dev-v2-20230723212205

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 (53) hide show
  1. package/dist/{chunk-DUCM3D3Q.mjs → chunk-G4RCK475.mjs} +3 -3
  2. package/dist/{chunk-RKGHWWDN.mjs → chunk-JDBNJZCP.mjs} +0 -4
  3. package/dist/{chunk-Y4QBY7ST.mjs → chunk-PW52XQD7.mjs} +6 -6
  4. package/dist/{chunk-4PUMM2WN.mjs → chunk-QZTWGJ72.mjs} +2 -2
  5. package/dist/{chunk-SJ7X4UT4.mjs → chunk-TIMHSW45.mjs} +1 -1
  6. package/dist/colors/common.mjs +2 -2
  7. package/dist/colors/index.mjs +5 -5
  8. package/dist/colors/semantic.mjs +4 -4
  9. package/dist/colors.mjs +5 -5
  10. package/dist/components/accordion.d.ts +153 -2
  11. package/dist/components/avatar.d.ts +227 -2
  12. package/dist/components/badge.d.ts +199 -1
  13. package/dist/components/button.d.ts +151 -10
  14. package/dist/components/button.js +0 -4
  15. package/dist/components/button.mjs +1 -1
  16. package/dist/components/card.d.ts +225 -1
  17. package/dist/components/checkbox.d.ts +250 -2
  18. package/dist/components/chip.d.ts +298 -1
  19. package/dist/components/circular-progress.d.ts +171 -1
  20. package/dist/components/code.d.ts +64 -1
  21. package/dist/components/divider.d.ts +16 -1
  22. package/dist/components/drip.d.ts +1 -1
  23. package/dist/components/dropdown.d.ts +135 -4
  24. package/dist/components/image.d.ts +141 -1
  25. package/dist/components/index.js +1 -5
  26. package/dist/components/index.mjs +2 -2
  27. package/dist/components/input.d.ts +426 -1
  28. package/dist/components/kbd.d.ts +5 -1
  29. package/dist/components/link.d.ts +94 -1
  30. package/dist/components/modal.d.ts +315 -1
  31. package/dist/components/navbar.d.ts +174 -1
  32. package/dist/components/pagination.d.ts +239 -1
  33. package/dist/components/popover.d.ts +258 -1
  34. package/dist/components/progress.d.ts +91 -1
  35. package/dist/components/radio.d.ts +231 -2
  36. package/dist/components/skeleton.d.ts +37 -1
  37. package/dist/components/snippet.d.ts +165 -1
  38. package/dist/components/spacer.d.ts +16 -1
  39. package/dist/components/spinner.d.ts +232 -1
  40. package/dist/components/table.d.ts +311 -1
  41. package/dist/components/tabs.d.ts +269 -1
  42. package/dist/components/toggle.d.ts +192 -1
  43. package/dist/components/toggle.js +1 -1
  44. package/dist/components/toggle.mjs +1 -1
  45. package/dist/components/user.d.ts +11 -1
  46. package/dist/index.d.ts +2 -1
  47. package/dist/index.js +2 -9
  48. package/dist/index.mjs +21 -22
  49. package/dist/plugin.mjs +13 -13
  50. package/dist/utilities/index.mjs +2 -2
  51. package/package.json +1 -1
  52. package/dist/{chunk-5VFY4EGG.mjs → chunk-DYIIRM5B.mjs} +3 -3
  53. package/dist/{chunk-JXK6SYAO.mjs → chunk-IAS3SFA4.mjs} +3 -3
@@ -1,9 +1,9 @@
1
- import {
2
- commonColors
3
- } from "./chunk-JXK6SYAO.mjs";
4
1
  import {
5
2
  swapColorValues
6
3
  } from "./chunk-KUNVFLXJ.mjs";
4
+ import {
5
+ commonColors
6
+ } from "./chunk-IAS3SFA4.mjs";
7
7
 
8
8
  // src/colors/semantic.ts
9
9
  import { readableColor } from "color2k";
@@ -65,9 +65,6 @@ var button = tv({
65
65
  isDisabled: {
66
66
  true: "opacity-disabled pointer-events-none"
67
67
  },
68
- isLoading: {
69
- true: "opacity-disabled pointer-events-none"
70
- },
71
68
  isInGroup: {
72
69
  true: "[&:not(:first-child):not(:last-child)]:rounded-none"
73
70
  },
@@ -86,7 +83,6 @@ var button = tv({
86
83
  color: "default",
87
84
  fullWidth: false,
88
85
  isDisabled: false,
89
- isLoading: false,
90
86
  isInGroup: false,
91
87
  disableAnimation: false
92
88
  },
@@ -3,15 +3,15 @@ import {
3
3
  generateSpacingScale,
4
4
  isBaseTheme
5
5
  } from "./chunk-NW5W5ANO.mjs";
6
+ import {
7
+ utilities
8
+ } from "./chunk-DYIIRM5B.mjs";
6
9
  import {
7
10
  baseStyles
8
11
  } from "./chunk-T7JNS25F.mjs";
9
12
  import {
10
13
  semanticColors
11
- } from "./chunk-DUCM3D3Q.mjs";
12
- import {
13
- commonColors
14
- } from "./chunk-JXK6SYAO.mjs";
14
+ } from "./chunk-G4RCK475.mjs";
15
15
  import {
16
16
  flattenThemeObject
17
17
  } from "./chunk-KUNVFLXJ.mjs";
@@ -24,8 +24,8 @@ import {
24
24
  animations
25
25
  } from "./chunk-DMASP6FA.mjs";
26
26
  import {
27
- utilities
28
- } from "./chunk-5VFY4EGG.mjs";
27
+ commonColors
28
+ } from "./chunk-IAS3SFA4.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-DUCM3D3Q.mjs";
3
+ } from "./chunk-G4RCK475.mjs";
4
4
  import {
5
5
  commonColors
6
- } from "./chunk-JXK6SYAO.mjs";
6
+ } from "./chunk-IAS3SFA4.mjs";
7
7
 
8
8
  // src/colors/index.ts
9
9
  var colors = {
@@ -147,7 +147,7 @@ var toggle = tv({
147
147
  disableAnimation: false,
148
148
  size: "sm",
149
149
  class: {
150
- thumb: ["group-data-[pressed=true]:w-5", "group-data-[selected]:group-data-[pressed]:ml-4"]
150
+ thumb: ["group-data-[pressed=true]:w-5", "group-data-[selected]:group-data-[pressed]:ml-3"]
151
151
  }
152
152
  },
153
153
  {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  commonColors
3
- } from "../chunk-JXK6SYAO.mjs";
3
+ } from "../chunk-IAS3SFA4.mjs";
4
4
  import "../chunk-JUEOCLA3.mjs";
5
5
  import "../chunk-3LKKH4AR.mjs";
6
- import "../chunk-GHZ36ATJ.mjs";
7
6
  import "../chunk-T3GWIVAM.mjs";
8
7
  import "../chunk-OR5PUD24.mjs";
9
8
  import "../chunk-DCEG5LGX.mjs";
10
9
  import "../chunk-L2OL7R23.mjs";
11
10
  import "../chunk-YZYGFPNK.mjs";
11
+ import "../chunk-GHZ36ATJ.mjs";
12
12
  export {
13
13
  commonColors
14
14
  };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  colors
3
- } from "../chunk-4PUMM2WN.mjs";
3
+ } from "../chunk-QZTWGJ72.mjs";
4
4
  import {
5
5
  semanticColors
6
- } from "../chunk-DUCM3D3Q.mjs";
6
+ } from "../chunk-G4RCK475.mjs";
7
+ import "../chunk-KUNVFLXJ.mjs";
7
8
  import "../chunk-M63AFAHO.mjs";
8
9
  import {
9
10
  commonColors
10
- } from "../chunk-JXK6SYAO.mjs";
11
+ } from "../chunk-IAS3SFA4.mjs";
11
12
  import "../chunk-JUEOCLA3.mjs";
12
13
  import "../chunk-3LKKH4AR.mjs";
13
- import "../chunk-GHZ36ATJ.mjs";
14
14
  import "../chunk-T3GWIVAM.mjs";
15
15
  import "../chunk-OR5PUD24.mjs";
16
16
  import "../chunk-DCEG5LGX.mjs";
17
17
  import "../chunk-L2OL7R23.mjs";
18
18
  import "../chunk-YZYGFPNK.mjs";
19
- import "../chunk-KUNVFLXJ.mjs";
19
+ import "../chunk-GHZ36ATJ.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-DUCM3D3Q.mjs";
6
- import "../chunk-JXK6SYAO.mjs";
5
+ } from "../chunk-G4RCK475.mjs";
6
+ import "../chunk-KUNVFLXJ.mjs";
7
+ import "../chunk-IAS3SFA4.mjs";
7
8
  import "../chunk-JUEOCLA3.mjs";
8
9
  import "../chunk-3LKKH4AR.mjs";
9
- import "../chunk-GHZ36ATJ.mjs";
10
10
  import "../chunk-T3GWIVAM.mjs";
11
11
  import "../chunk-OR5PUD24.mjs";
12
12
  import "../chunk-DCEG5LGX.mjs";
13
13
  import "../chunk-L2OL7R23.mjs";
14
14
  import "../chunk-YZYGFPNK.mjs";
15
- import "../chunk-KUNVFLXJ.mjs";
15
+ import "../chunk-GHZ36ATJ.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-4PUMM2WN.mjs";
4
+ } from "./chunk-QZTWGJ72.mjs";
5
5
  import {
6
6
  semanticColors
7
- } from "./chunk-DUCM3D3Q.mjs";
7
+ } from "./chunk-G4RCK475.mjs";
8
+ import "./chunk-KUNVFLXJ.mjs";
8
9
  import "./chunk-M63AFAHO.mjs";
9
10
  import {
10
11
  commonColors
11
- } from "./chunk-JXK6SYAO.mjs";
12
+ } from "./chunk-IAS3SFA4.mjs";
12
13
  import "./chunk-JUEOCLA3.mjs";
13
14
  import "./chunk-3LKKH4AR.mjs";
14
- import "./chunk-GHZ36ATJ.mjs";
15
15
  import "./chunk-T3GWIVAM.mjs";
16
16
  import "./chunk-OR5PUD24.mjs";
17
17
  import "./chunk-DCEG5LGX.mjs";
18
18
  import "./chunk-L2OL7R23.mjs";
19
19
  import "./chunk-YZYGFPNK.mjs";
20
- import "./chunk-KUNVFLXJ.mjs";
20
+ import "./chunk-GHZ36ATJ.mjs";
21
21
  export {
22
22
  colors,
23
23
  commonColors,
@@ -52,7 +52,37 @@ declare const accordion: tailwind_variants.TVReturnType<{
52
52
  fullWidth: {
53
53
  true: "w-full";
54
54
  };
55
- }, undefined>;
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>>;
56
86
  /**
57
87
  * AccordionItem wrapper **Tailwind Variants** component
58
88
  *
@@ -243,7 +273,128 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
243
273
  title: string;
244
274
  subtitle: string;
245
275
  content: string;
246
- }>;
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>>;
247
398
  type AccordionGroupVariantProps = VariantProps<typeof accordion>;
248
399
  type AccordionItemVariantProps = VariantProps<typeof accordionItem>;
249
400
  type AccordionItemSlots = keyof ReturnType<typeof accordionItem>;
@@ -302,7 +302,220 @@ declare const avatar: tailwind_variants.TVReturnType<{
302
302
  fallback: string[];
303
303
  name: string[];
304
304
  icon: string[];
305
- }>;
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>>;
306
519
  /**
307
520
  * AvatarGroup wrapper **Tailwind Variants** component
308
521
  *
@@ -329,7 +542,19 @@ declare const avatarGroup: tailwind_variants.TVReturnType<{
329
542
  isGrid: {
330
543
  true: "inline-grid grid-cols-4 gap-3";
331
544
  };
332
- }, undefined>;
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>>;
333
558
  type AvatarGroupVariantProps = VariantProps<typeof avatarGroup>;
334
559
  type AvatarVariantProps = VariantProps<typeof avatar>;
335
560
  type AvatarSlots = keyof ReturnType<typeof avatar>;