@nextui-org/theme 0.0.0-dev-v2-20230527131721 → 0.0.0-dev-v2-20230527145118

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 (121) hide show
  1. package/dist/{chunk-HAR22HFA.mjs → chunk-3YUVISFE.mjs} +17 -17
  2. package/dist/{chunk-3LME35GX.mjs → chunk-4MSPP245.mjs} +17 -17
  3. package/dist/{chunk-UUJTS7XS.mjs → chunk-5DRF22QY.mjs} +13 -13
  4. package/dist/{chunk-LC5AFIW7.mjs → chunk-6LITGDC7.mjs} +4 -4
  5. package/dist/{chunk-TFNTYAAW.mjs → chunk-6QXUR7SY.mjs} +5 -5
  6. package/dist/{chunk-7CTZKPXG.mjs → chunk-76WBK7WN.mjs} +6 -6
  7. package/dist/{chunk-MZAUPTXE.mjs → chunk-7PRU5S35.mjs} +2 -2
  8. package/dist/{chunk-4A7R2B5L.mjs → chunk-ANKTYY3U.mjs} +17 -17
  9. package/dist/{chunk-5ZJFAFZA.mjs → chunk-AWAXOLMA.mjs} +10 -10
  10. package/dist/{chunk-25QTQFHB.mjs → chunk-BUDAC6TR.mjs} +10 -10
  11. package/dist/{chunk-G23VRPTF.mjs → chunk-D6P5YDBJ.mjs} +1 -1
  12. package/dist/{chunk-DTLDG5KJ.mjs → chunk-E3HXNSRG.mjs} +3 -3
  13. package/dist/{chunk-5FMGABPD.mjs → chunk-EQNNT2LH.mjs} +3 -3
  14. package/dist/{chunk-LMXA7XIQ.mjs → chunk-G7ZYYWZD.mjs} +6 -6
  15. package/dist/{chunk-6IVGIMY2.mjs → chunk-GYSMGV7B.mjs} +3 -3
  16. package/dist/{chunk-RO3WUCFF.mjs → chunk-IQPW7V4N.mjs} +13 -13
  17. package/dist/{chunk-O42UMOT5.mjs → chunk-IVZYEA5N.mjs} +3 -3
  18. package/dist/{chunk-7EC2WH7W.mjs → chunk-NYEYKHJ3.mjs} +21 -21
  19. package/dist/{chunk-XUFLJ7RP.mjs → chunk-QGXXHT3T.mjs} +6 -6
  20. package/dist/{chunk-NFNV2TXA.mjs → chunk-QW2ZGOKD.mjs} +1 -1
  21. package/dist/{chunk-YMIOHWCD.mjs → chunk-QYXL3KZR.mjs} +4 -4
  22. package/dist/{chunk-KWWWVBJL.mjs → chunk-U54UQOTS.mjs} +10 -10
  23. package/dist/{chunk-FVTLDCTS.mjs → chunk-UPBFQDTD.mjs} +3 -3
  24. package/dist/{chunk-NGOZQK3L.mjs → chunk-UVH5HICF.mjs} +5 -5
  25. package/dist/{chunk-JWVJZEAT.mjs → chunk-V5673FD5.mjs} +13 -13
  26. package/dist/{chunk-WLLBJIBU.mjs → chunk-W36MFWI6.mjs} +7 -7
  27. package/dist/{chunk-6D57DOQF.mjs → chunk-X4S56RGZ.mjs} +1 -1
  28. package/dist/{chunk-ZNBW4PQF.mjs → chunk-ZFYINWFR.mjs} +1 -1
  29. package/dist/{chunk-7EDXWCUZ.mjs → chunk-ZHKZR5C3.mjs} +17 -17
  30. package/dist/{chunk-Y43NAEAT.mjs → chunk-ZL6WUYLC.mjs} +6 -6
  31. package/dist/colors/common.mjs +3 -3
  32. package/dist/colors/index.js +2 -2
  33. package/dist/colors/index.mjs +6 -6
  34. package/dist/colors/semantic.js +2 -2
  35. package/dist/colors/semantic.mjs +5 -5
  36. package/dist/colors/types.d.ts +1 -1
  37. package/dist/colors.js +2 -2
  38. package/dist/colors.mjs +6 -6
  39. package/dist/components/accordion.js +6 -6
  40. package/dist/components/accordion.mjs +1 -1
  41. package/dist/components/avatar.d.ts +2 -2
  42. package/dist/components/avatar.js +18 -18
  43. package/dist/components/avatar.mjs +2 -2
  44. package/dist/components/badge.d.ts +2 -2
  45. package/dist/components/badge.js +22 -22
  46. package/dist/components/badge.mjs +2 -2
  47. package/dist/components/button.d.ts +2 -2
  48. package/dist/components/button.js +29 -29
  49. package/dist/components/button.mjs +2 -2
  50. package/dist/components/card.js +1 -1
  51. package/dist/components/card.mjs +1 -1
  52. package/dist/components/checkbox.d.ts +2 -2
  53. package/dist/components/checkbox.js +6 -6
  54. package/dist/components/checkbox.mjs +1 -1
  55. package/dist/components/chip.d.ts +2 -2
  56. package/dist/components/chip.js +29 -29
  57. package/dist/components/chip.mjs +2 -2
  58. package/dist/components/circular-progress.d.ts +2 -2
  59. package/dist/components/circular-progress.js +3 -3
  60. package/dist/components/circular-progress.mjs +1 -1
  61. package/dist/components/code.d.ts +2 -2
  62. package/dist/components/code.js +15 -15
  63. package/dist/components/code.mjs +2 -2
  64. package/dist/components/dropdown.d.ts +2 -2
  65. package/dist/components/dropdown.js +21 -21
  66. package/dist/components/dropdown.mjs +1 -1
  67. package/dist/components/image.js +1 -1
  68. package/dist/components/image.mjs +1 -1
  69. package/dist/components/index.js +206 -206
  70. package/dist/components/index.mjs +55 -55
  71. package/dist/components/input.d.ts +2 -2
  72. package/dist/components/input.js +17 -17
  73. package/dist/components/input.mjs +1 -1
  74. package/dist/components/kbd.js +3 -3
  75. package/dist/components/kbd.mjs +1 -1
  76. package/dist/components/modal.js +4 -4
  77. package/dist/components/modal.mjs +1 -1
  78. package/dist/components/navbar.js +4 -4
  79. package/dist/components/navbar.mjs +1 -1
  80. package/dist/components/pagination.d.ts +2 -2
  81. package/dist/components/pagination.js +29 -29
  82. package/dist/components/pagination.mjs +2 -2
  83. package/dist/components/popover.d.ts +2 -2
  84. package/dist/components/popover.js +25 -25
  85. package/dist/components/popover.mjs +2 -2
  86. package/dist/components/progress.d.ts +1 -1
  87. package/dist/components/progress.js +3 -3
  88. package/dist/components/progress.mjs +1 -1
  89. package/dist/components/radio.d.ts +2 -2
  90. package/dist/components/radio.js +7 -7
  91. package/dist/components/radio.mjs +1 -1
  92. package/dist/components/skeleton.js +1 -1
  93. package/dist/components/skeleton.mjs +1 -1
  94. package/dist/components/snippet.d.ts +2 -2
  95. package/dist/components/snippet.js +22 -22
  96. package/dist/components/snippet.mjs +2 -2
  97. package/dist/components/spinner.d.ts +2 -2
  98. package/dist/components/spinner.js +3 -3
  99. package/dist/components/spinner.mjs +1 -1
  100. package/dist/components/table.d.ts +2 -2
  101. package/dist/components/table.js +10 -10
  102. package/dist/components/table.mjs +1 -1
  103. package/dist/components/tabs.d.ts +2 -2
  104. package/dist/components/tabs.js +25 -25
  105. package/dist/components/tabs.mjs +2 -2
  106. package/dist/components/toggle.d.ts +2 -2
  107. package/dist/components/toggle.js +5 -5
  108. package/dist/components/toggle.mjs +1 -1
  109. package/dist/components/user.js +1 -1
  110. package/dist/components/user.mjs +1 -1
  111. package/dist/index.js +208 -208
  112. package/dist/index.mjs +73 -73
  113. package/dist/plugin.js +2 -2
  114. package/dist/plugin.mjs +9 -9
  115. package/dist/utils/index.js +13 -13
  116. package/dist/utils/index.mjs +2 -2
  117. package/dist/utils/variants.d.ts +7 -7
  118. package/dist/utils/variants.js +13 -13
  119. package/dist/utils/variants.mjs +1 -1
  120. package/package.json +1 -1
  121. package/dist/{chunk-W4HTBNGS.mjs → chunk-CRCBVLUP.mjs} +6 -6
@@ -27,7 +27,7 @@ var import_tailwind_variants = require("tailwind-variants");
27
27
 
28
28
  // src/utils/variants.ts
29
29
  var solid = {
30
- neutral: "bg-neutral text-neutral-foreground",
30
+ default: "bg-default text-default-foreground",
31
31
  primary: "bg-primary text-primary-foreground",
32
32
  secondary: "bg-secondary text-secondary-foreground",
33
33
  success: "bg-success text-success-foreground",
@@ -36,7 +36,7 @@ var solid = {
36
36
  foreground: "bg-foreground text-background"
37
37
  };
38
38
  var shadow = {
39
- neutral: "shadow-lg shadow-neutral/50 bg-neutral text-neutral-foreground",
39
+ default: "shadow-lg shadow-default/50 bg-default text-default-foreground",
40
40
  primary: "shadow-lg shadow-primary/40 bg-primary text-primary-foreground",
41
41
  secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",
42
42
  success: "shadow-lg shadow-success/40 bg-success text-success-foreground",
@@ -45,7 +45,7 @@ var shadow = {
45
45
  foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
46
46
  };
47
47
  var bordered = {
48
- neutral: "bg-transparent border-neutral text-foreground",
48
+ default: "bg-transparent border-default text-foreground",
49
49
  primary: "bg-transparent border-primary text-primary",
50
50
  secondary: "bg-transparent border-secondary text-secondary",
51
51
  success: "bg-transparent border-success text-success",
@@ -54,7 +54,7 @@ var bordered = {
54
54
  foreground: "bg-transparent border-foreground text-foreground"
55
55
  };
56
56
  var flat = {
57
- neutral: "bg-neutral-100 text-neutral-foreground",
57
+ default: "bg-default-100 text-default-foreground",
58
58
  primary: "bg-primary-50 text-primary",
59
59
  secondary: "bg-secondary-100 text-secondary",
60
60
  success: "bg-success-50 text-success",
@@ -63,16 +63,16 @@ var flat = {
63
63
  foreground: "bg-foreground/10 text-foreground"
64
64
  };
65
65
  var faded = {
66
- neutral: "border-neutral bg-neutral-100 text-neutral-foreground",
67
- primary: "border-neutral bg-neutral-100 text-primary",
68
- secondary: "border-neutral bg-neutral-100 text-secondary",
69
- success: "border-neutral bg-neutral-100 text-success",
70
- warning: "border-neutral bg-neutral-100 text-warning",
71
- danger: "border-neutral bg-neutral-100 text-danger",
72
- foreground: "border-neutral bg-neutral-100 text-foreground"
66
+ default: "border-default bg-default-100 text-default-foreground",
67
+ primary: "border-default bg-default-100 text-primary",
68
+ secondary: "border-default bg-default-100 text-secondary",
69
+ success: "border-default bg-default-100 text-success",
70
+ warning: "border-default bg-default-100 text-warning",
71
+ danger: "border-default bg-default-100 text-danger",
72
+ foreground: "border-default bg-default-100 text-foreground"
73
73
  };
74
74
  var light = {
75
- neutral: "bg-transparent text-neutral-foreground",
75
+ default: "bg-transparent text-default-foreground",
76
76
  primary: "bg-transparent text-primary",
77
77
  secondary: "bg-transparent text-secondary",
78
78
  success: "bg-transparent text-success",
@@ -81,7 +81,7 @@ var light = {
81
81
  foreground: "bg-transparent text-foreground"
82
82
  };
83
83
  var ghost = {
84
- neutral: "border-neutral text-neutral-foreground hover:!bg-neutral",
84
+ default: "border-default text-default-foreground hover:!bg-default",
85
85
  primary: "border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",
86
86
  secondary: "border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",
87
87
  success: "border-success text-success hover:!text-success-foreground hover:!bg-success",
@@ -103,7 +103,7 @@ var colorVariants = {
103
103
  var tabs = (0, import_tailwind_variants.tv)({
104
104
  slots: {
105
105
  base: "inline-block",
106
- tabList: ["flex", "items-center", "gap-2", "bg-neutral-100", "p-1"],
106
+ tabList: ["flex", "items-center", "gap-2", "bg-default-100", "p-1"],
107
107
  tab: [
108
108
  "z-0",
109
109
  "w-full",
@@ -132,7 +132,7 @@ var tabs = (0, import_tailwind_variants.tv)({
132
132
  "z-10",
133
133
  "text-inherit",
134
134
  "transition-colors",
135
- "text-neutral-500",
135
+ "text-default-500",
136
136
  "group-data-[selected=true]:text-foreground"
137
137
  ],
138
138
  cursor: ["absolute", "z-0", "bg-white", "shadow-md"],
@@ -161,12 +161,12 @@ var tabs = (0, import_tailwind_variants.tv)({
161
161
  cursor: "h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"
162
162
  },
163
163
  bordered: {
164
- tabList: "bg-transparent border-2 border-neutral-200 shadow-sm",
164
+ tabList: "bg-transparent border-2 border-default-200 shadow-sm",
165
165
  cursor: "inset-0"
166
166
  }
167
167
  },
168
168
  color: {
169
- neutral: {},
169
+ default: {},
170
170
  primary: {},
171
171
  secondary: {},
172
172
  success: {},
@@ -247,7 +247,7 @@ var tabs = (0, import_tailwind_variants.tv)({
247
247
  },
248
248
  defaultVariants: {
249
249
  radius: "xl",
250
- color: "neutral",
250
+ color: "default",
251
251
  variant: "solid",
252
252
  size: "md",
253
253
  fullWidth: false,
@@ -257,10 +257,10 @@ var tabs = (0, import_tailwind_variants.tv)({
257
257
  compoundVariants: [
258
258
  {
259
259
  variant: ["solid", "bordered", "light"],
260
- color: "neutral",
260
+ color: "default",
261
261
  class: {
262
- cursor: ["bg-background", "dark:bg-neutral"],
263
- tabContent: "group-data-[selected=true]:text-neutral-foreground"
262
+ cursor: ["bg-background", "dark:bg-default"],
263
+ tabContent: "group-data-[selected=true]:text-default-foreground"
264
264
  }
265
265
  },
266
266
  {
@@ -305,7 +305,7 @@ var tabs = (0, import_tailwind_variants.tv)({
305
305
  },
306
306
  {
307
307
  variant: "underlined",
308
- color: "neutral",
308
+ color: "default",
309
309
  class: {
310
310
  cursor: "bg-foreground",
311
311
  tabContent: "group-data-[selected=true]:text-foreground"
@@ -369,10 +369,10 @@ var tabs = (0, import_tailwind_variants.tv)({
369
369
  },
370
370
  {
371
371
  disableAnimation: true,
372
- color: "neutral",
372
+ color: "default",
373
373
  variant: ["solid", "bordered", "light"],
374
374
  class: {
375
- tab: "data-[selected=true]:bg-neutral data-[selected=true]:text-neutral-foreground"
375
+ tab: "data-[selected=true]:bg-default data-[selected=true]:text-default-foreground"
376
376
  }
377
377
  },
378
378
  {
@@ -417,7 +417,7 @@ var tabs = (0, import_tailwind_variants.tv)({
417
417
  },
418
418
  {
419
419
  disableAnimation: true,
420
- color: "neutral",
420
+ color: "default",
421
421
  variant: "underlined",
422
422
  class: {
423
423
  tab: "data-[selected=true]:after:bg-foreground"
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  tabs
3
- } from "../chunk-UUJTS7XS.mjs";
3
+ } from "../chunk-5DRF22QY.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
- import "../chunk-RO3WUCFF.mjs";
6
5
  import "../chunk-K7LK7NCE.mjs";
6
+ import "../chunk-IQPW7V4N.mjs";
7
7
  import "../chunk-INZK6TTL.mjs";
8
8
  export {
9
9
  tabs
@@ -29,7 +29,7 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
29
29
  */
30
30
  declare const toggle: tailwind_variants.TVReturnType<{
31
31
  color: {
32
- neutral: {
32
+ default: {
33
33
  wrapper: string[];
34
34
  };
35
35
  primary: {
@@ -112,7 +112,7 @@ declare const toggle: tailwind_variants.TVReturnType<{
112
112
  label: string;
113
113
  }, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
114
114
  color: {
115
- neutral: {
115
+ default: {
116
116
  wrapper: string[];
117
117
  };
118
118
  primary: {
@@ -35,7 +35,7 @@ var toggle = (0, import_tailwind_variants.tv)({
35
35
  "justify-start",
36
36
  "flex-shrink-0",
37
37
  "overflow-hidden",
38
- "bg-neutral-200",
38
+ "bg-default-200",
39
39
  "rounded-full",
40
40
  "group-data-[focus-visible]:outline-none",
41
41
  "group-data-[focus-visible]:ring-2",
@@ -55,16 +55,16 @@ var toggle = (0, import_tailwind_variants.tv)({
55
55
  "origin-right"
56
56
  ],
57
57
  startIcon: "z-0 absolute left-1.5 text-current",
58
- endIcon: "z-0 absolute right-1.5 text-neutral-600",
58
+ endIcon: "z-0 absolute right-1.5 text-default-600",
59
59
  thumbIcon: "text-black",
60
60
  label: "relative text-foreground select-none"
61
61
  },
62
62
  variants: {
63
63
  color: {
64
- neutral: {
64
+ default: {
65
65
  wrapper: [
66
- "group-data-[checked=true]:bg-neutral-400",
67
- "group-data-[checked=true]:text-neutral-foreground"
66
+ "group-data-[checked=true]:bg-default-400",
67
+ "group-data-[checked=true]:text-default-foreground"
68
68
  ]
69
69
  },
70
70
  primary: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  toggle
3
- } from "../chunk-NGOZQK3L.mjs";
3
+ } from "../chunk-UVH5HICF.mjs";
4
4
  export {
5
5
  toggle
6
6
  };
@@ -37,7 +37,7 @@ var user = (0, import_tailwind_variants.tv)({
37
37
  ],
38
38
  wrapper: "inline-flex flex-col items-start",
39
39
  name: "text-sm text-inherit",
40
- description: "text-xs text-neutral-400"
40
+ description: "text-xs text-default-400"
41
41
  }
42
42
  });
43
43
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  user
3
- } from "../chunk-ZNBW4PQF.mjs";
3
+ } from "../chunk-ZFYINWFR.mjs";
4
4
  export {
5
5
  user
6
6
  };