@nextui-org/theme 0.0.0-dev-v2-20230616024445 → 0.0.0-dev-v2-20230617005419

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 (82) hide show
  1. package/dist/{chunk-CU2CEJ2Y.mjs → chunk-27PQQNKZ.mjs} +1 -1
  2. package/dist/{chunk-GYSMGV7B.mjs → chunk-GBPOVFEX.mjs} +1 -2
  3. package/dist/{chunk-G6KSF7PF.mjs → chunk-HKMIRUA2.mjs} +1 -1
  4. package/dist/{chunk-W3WKU3QV.mjs → chunk-I4OYRSA7.mjs} +6 -6
  5. package/dist/{chunk-MVHNLIGC.mjs → chunk-K55AW2NU.mjs} +1 -1
  6. package/dist/{chunk-YUKQ7UM6.mjs → chunk-LWJT5D6G.mjs} +1 -1
  7. package/dist/{chunk-LKIEW7IB.mjs → chunk-MWWMIOTS.mjs} +1 -1
  8. package/dist/{chunk-IY2YC7CG.mjs → chunk-NASOHMPB.mjs} +1 -1
  9. package/dist/{chunk-CNGIMNA5.mjs → chunk-PFNGC6IG.mjs} +2 -2
  10. package/dist/{chunk-Q7HCFO5Z.mjs → chunk-RWQ57OVD.mjs} +2 -2
  11. package/dist/{chunk-3L2LTGPE.mjs → chunk-TO7LQPC3.mjs} +1 -1
  12. package/dist/{chunk-B5DUUZBQ.mjs → chunk-WUX2XFG4.mjs} +7 -7
  13. package/dist/{chunk-K2K46ZNI.mjs → chunk-XMV4AU26.mjs} +6 -6
  14. package/dist/{chunk-YRIORG7Z.mjs → chunk-YOSP6YO6.mjs} +2 -2
  15. package/dist/{chunk-3YM7ZXUG.mjs → chunk-Z5FFO6RH.mjs} +3 -3
  16. package/dist/colors/common.mjs +3 -3
  17. package/dist/colors/index.mjs +6 -6
  18. package/dist/colors/semantic.mjs +5 -5
  19. package/dist/colors.mjs +6 -6
  20. package/dist/components/accordion.d.ts +126 -12
  21. package/dist/components/avatar.d.ts +192 -4
  22. package/dist/components/avatar.js +6 -6
  23. package/dist/components/avatar.mjs +2 -2
  24. package/dist/components/badge.d.ts +192 -1
  25. package/dist/components/badge.js +6 -6
  26. package/dist/components/badge.mjs +2 -2
  27. package/dist/components/button.d.ts +194 -74
  28. package/dist/components/button.js +12 -12
  29. package/dist/components/button.mjs +2 -2
  30. package/dist/components/card.d.ts +222 -3
  31. package/dist/components/checkbox.d.ts +217 -4
  32. package/dist/components/chip.d.ts +249 -1
  33. package/dist/components/chip.js +6 -6
  34. package/dist/components/chip.mjs +2 -2
  35. package/dist/components/circular-progress.d.ts +137 -1
  36. package/dist/components/code.d.ts +75 -25
  37. package/dist/components/code.js +6 -6
  38. package/dist/components/code.mjs +2 -2
  39. package/dist/components/divider.d.ts +15 -5
  40. package/dist/components/drip.d.ts +5 -1
  41. package/dist/components/dropdown.d.ts +120 -4
  42. package/dist/components/image.d.ts +136 -1
  43. package/dist/components/index.js +16 -17
  44. package/dist/components/index.mjs +24 -24
  45. package/dist/components/input.d.ts +306 -1
  46. package/dist/components/kbd.d.ts +5 -1
  47. package/dist/components/kbd.js +1 -2
  48. package/dist/components/kbd.mjs +1 -1
  49. package/dist/components/link.d.ts +105 -39
  50. package/dist/components/modal.d.ts +176 -1
  51. package/dist/components/navbar.d.ts +116 -1
  52. package/dist/components/navbar.js +1 -1
  53. package/dist/components/navbar.mjs +1 -1
  54. package/dist/components/pagination.d.ts +170 -1
  55. package/dist/components/pagination.js +6 -6
  56. package/dist/components/pagination.mjs +2 -2
  57. package/dist/components/popover.d.ts +220 -1
  58. package/dist/components/popover.js +7 -7
  59. package/dist/components/popover.mjs +2 -2
  60. package/dist/components/progress.d.ts +107 -1
  61. package/dist/components/radio.d.ts +261 -4
  62. package/dist/components/skeleton.d.ts +26 -1
  63. package/dist/components/snippet.d.ts +151 -9
  64. package/dist/components/snippet.js +6 -6
  65. package/dist/components/snippet.mjs +2 -2
  66. package/dist/components/spacer.d.ts +15 -5
  67. package/dist/components/spinner.d.ts +181 -1
  68. package/dist/components/table.d.ts +233 -1
  69. package/dist/components/tabs.d.ts +248 -1
  70. package/dist/components/tabs.js +7 -7
  71. package/dist/components/tabs.mjs +2 -2
  72. package/dist/components/toggle.d.ts +159 -1
  73. package/dist/components/user.d.ts +22 -3
  74. package/dist/index.js +16 -17
  75. package/dist/index.mjs +49 -49
  76. package/dist/plugin.mjs +9 -9
  77. package/dist/utils/index.js +6 -6
  78. package/dist/utils/index.mjs +2 -2
  79. package/dist/utils/variants.js +6 -6
  80. package/dist/utils/variants.mjs +1 -1
  81. package/package.json +2 -2
  82. package/dist/{chunk-CRCBVLUP.mjs → chunk-W4HTBNGS.mjs} +6 -6
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-W3WKU3QV.mjs";
3
+ } from "./chunk-I4OYRSA7.mjs";
4
4
 
5
5
  // src/components/code.ts
6
6
  import { tv } from "tailwind-variants";
@@ -3,8 +3,7 @@ import { tv } from "tailwind-variants";
3
3
  var kbd = tv({
4
4
  slots: {
5
5
  base: [
6
- "px-2",
7
- "py-1",
6
+ "px-1",
8
7
  "inline-block",
9
8
  "space-x-0.5",
10
9
  "font-sans",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-W3WKU3QV.mjs";
3
+ } from "./chunk-I4OYRSA7.mjs";
4
4
 
5
5
  // src/components/snippet.ts
6
6
  import { tv } from "tailwind-variants";
@@ -27,12 +27,12 @@ var bordered = {
27
27
  foreground: "bg-transparent border-foreground text-foreground"
28
28
  };
29
29
  var flat = {
30
- default: "bg-default-100 text-default-foreground",
31
- primary: "bg-primary-50 text-primary",
32
- secondary: "bg-secondary-100 text-secondary",
33
- success: "bg-success-50 text-success-600 dark:text-success",
34
- warning: "bg-warning-50 text-warning-600 dark:text-warning",
35
- danger: "bg-danger-50 text-danger",
30
+ default: "bg-default-100/50 text-default-foreground",
31
+ primary: "bg-primary-100/50 text-primary",
32
+ secondary: "bg-secondary-100/50 text-secondary",
33
+ success: "bg-success-100/50 text-success-600 dark:text-success",
34
+ warning: "bg-warning-100/50 text-warning-600 dark:text-warning",
35
+ danger: "bg-danger-100/50 text-danger",
36
36
  foreground: "bg-foreground/10 text-foreground"
37
37
  };
38
38
  var faded = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-W3WKU3QV.mjs";
3
+ } from "./chunk-I4OYRSA7.mjs";
4
4
 
5
5
  // src/components/pagination.ts
6
6
  import { tv } from "tailwind-variants";
@@ -31,7 +31,7 @@ var navbar = tv({
31
31
  "items-center",
32
32
  "justify-center",
33
33
  "w-6",
34
- "h-10",
34
+ "h-full",
35
35
  "outline-none",
36
36
  "rounded-sm",
37
37
  "data-[focus-visible=true]:outline-none",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-W3WKU3QV.mjs";
3
+ } from "./chunk-I4OYRSA7.mjs";
4
4
  import {
5
5
  translateCenterClasses
6
6
  } from "./chunk-INZK6TTL.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-W3WKU3QV.mjs";
3
+ } from "./chunk-I4OYRSA7.mjs";
4
4
 
5
5
  // src/components/badge.ts
6
6
  import { tv } from "tailwind-variants";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  semanticColors
3
- } from "./chunk-3YM7ZXUG.mjs";
3
+ } from "./chunk-Z5FFO6RH.mjs";
4
4
  import {
5
5
  commonColors
6
- } from "./chunk-CRCBVLUP.mjs";
6
+ } from "./chunk-W4HTBNGS.mjs";
7
7
 
8
8
  // src/colors/index.ts
9
9
  var colors = {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-W3WKU3QV.mjs";
3
+ } from "./chunk-I4OYRSA7.mjs";
4
4
 
5
5
  // src/components/tabs.ts
6
6
  import { tv } from "tailwind-variants";
7
7
  var tabs = tv({
8
8
  slots: {
9
9
  base: "inline-flex",
10
- tabList: ["flex", "items-center", "gap-2", "bg-content2", "dark:bg-content1", "p-1", "h-fit"],
10
+ tabList: ["flex", "items-center", "gap-2", "bg-default-100", "p-1", "h-fit"],
11
11
  tab: [
12
12
  "z-0",
13
13
  "w-full",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-W3WKU3QV.mjs";
3
+ } from "./chunk-I4OYRSA7.mjs";
4
4
  import {
5
5
  ringClasses
6
6
  } from "./chunk-INZK6TTL.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-W3WKU3QV.mjs";
3
+ } from "./chunk-I4OYRSA7.mjs";
4
4
 
5
5
  // src/components/button.ts
6
6
  import { tv } from "tailwind-variants";
@@ -250,32 +250,32 @@ var button = tv({
250
250
  {
251
251
  variant: "light",
252
252
  color: "default",
253
- class: [colorVariants.light.default, "data-[hover=true]:bg-default-100"]
253
+ class: [colorVariants.light.default, "data-[hover=true]:bg-default-100/50"]
254
254
  },
255
255
  {
256
256
  variant: "light",
257
257
  color: "primary",
258
- class: [colorVariants.light.primary, "data-[hover=true]:bg-primary-50"]
258
+ class: [colorVariants.light.primary, "data-[hover=true]:bg-primary-100/50"]
259
259
  },
260
260
  {
261
261
  variant: "light",
262
262
  color: "secondary",
263
- class: [colorVariants.light.secondary, "data-[hover=true]:bg-secondary-100"]
263
+ class: [colorVariants.light.secondary, "data-[hover=true]:bg-secondary-100/50"]
264
264
  },
265
265
  {
266
266
  variant: "light",
267
267
  color: "success",
268
- class: [colorVariants.light.success, "data-[hover=true]:bg-success-50"]
268
+ class: [colorVariants.light.success, "data-[hover=true]:bg-success-100/50"]
269
269
  },
270
270
  {
271
271
  variant: "light",
272
272
  color: "warning",
273
- class: [colorVariants.light.warning, "data-[hover=true]:bg-warning-50"]
273
+ class: [colorVariants.light.warning, "data-[hover=true]:bg-warning-100/50"]
274
274
  },
275
275
  {
276
276
  variant: "light",
277
277
  color: "danger",
278
- class: [colorVariants.light.danger, "data-[hover=true]:bg-danger-50"]
278
+ class: [colorVariants.light.danger, "data-[hover=true]:bg-danger-100/50"]
279
279
  },
280
280
  {
281
281
  variant: "ghost",
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  utilities
3
3
  } from "./chunk-JH2TR6BI.mjs";
4
- import {
5
- baseStyles
6
- } from "./chunk-INZK6TTL.mjs";
7
4
  import {
8
5
  semanticColors
9
- } from "./chunk-3YM7ZXUG.mjs";
6
+ } from "./chunk-Z5FFO6RH.mjs";
7
+ import {
8
+ commonColors
9
+ } from "./chunk-W4HTBNGS.mjs";
10
10
  import {
11
11
  removeDefaultKeys
12
12
  } from "./chunk-37PIXVP4.mjs";
@@ -14,8 +14,8 @@ import {
14
14
  animations
15
15
  } from "./chunk-DMASP6FA.mjs";
16
16
  import {
17
- commonColors
18
- } from "./chunk-CRCBVLUP.mjs";
17
+ baseStyles
18
+ } from "./chunk-INZK6TTL.mjs";
19
19
 
20
20
  // src/plugin.ts
21
21
  import Color from "color";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-W3WKU3QV.mjs";
3
+ } from "./chunk-I4OYRSA7.mjs";
4
4
 
5
5
  // src/components/popover.ts
6
6
  import { tv } from "tailwind-variants";
@@ -72,7 +72,7 @@ var popover = tv({
72
72
  },
73
73
  color: {
74
74
  default: {
75
- base: "bg-background dark:bg-content1"
75
+ base: "bg-background dark:bg-content1 border border-default-100"
76
76
  },
77
77
  foreground: {
78
78
  base: colorVariants.solid.foreground
@@ -1,9 +1,9 @@
1
+ import {
2
+ commonColors
3
+ } from "./chunk-W4HTBNGS.mjs";
1
4
  import {
2
5
  swapColorValues
3
6
  } from "./chunk-37PIXVP4.mjs";
4
- import {
5
- commonColors
6
- } from "./chunk-CRCBVLUP.mjs";
7
7
 
8
8
  // src/colors/semantic.ts
9
9
  import twColors from "tailwindcss/colors.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  commonColors
3
- } from "../chunk-CRCBVLUP.mjs";
4
- import "../chunk-DCEG5LGX.mjs";
5
- import "../chunk-L2OL7R23.mjs";
3
+ } from "../chunk-W4HTBNGS.mjs";
6
4
  import "../chunk-YZYGFPNK.mjs";
7
5
  import "../chunk-Y4YW5MKL.mjs";
8
6
  import "../chunk-KZJBCC2H.mjs";
9
7
  import "../chunk-T3GWIVAM.mjs";
10
8
  import "../chunk-OR5PUD24.mjs";
9
+ import "../chunk-DCEG5LGX.mjs";
10
+ import "../chunk-L2OL7R23.mjs";
11
11
  export {
12
12
  commonColors
13
13
  };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  colors
3
- } from "../chunk-CNGIMNA5.mjs";
3
+ } from "../chunk-PFNGC6IG.mjs";
4
4
  import {
5
5
  semanticColors
6
- } from "../chunk-3YM7ZXUG.mjs";
7
- import "../chunk-37PIXVP4.mjs";
6
+ } from "../chunk-Z5FFO6RH.mjs";
8
7
  import "../chunk-M63AFAHO.mjs";
9
8
  import {
10
9
  commonColors
11
- } from "../chunk-CRCBVLUP.mjs";
12
- import "../chunk-DCEG5LGX.mjs";
13
- import "../chunk-L2OL7R23.mjs";
10
+ } from "../chunk-W4HTBNGS.mjs";
14
11
  import "../chunk-YZYGFPNK.mjs";
15
12
  import "../chunk-Y4YW5MKL.mjs";
16
13
  import "../chunk-KZJBCC2H.mjs";
17
14
  import "../chunk-T3GWIVAM.mjs";
18
15
  import "../chunk-OR5PUD24.mjs";
16
+ import "../chunk-DCEG5LGX.mjs";
17
+ import "../chunk-L2OL7R23.mjs";
18
+ import "../chunk-37PIXVP4.mjs";
19
19
  export {
20
20
  colors,
21
21
  commonColors,
@@ -2,16 +2,16 @@ import {
2
2
  semanticColors,
3
3
  semanticColorsDark,
4
4
  semanticColorsLight
5
- } from "../chunk-3YM7ZXUG.mjs";
6
- import "../chunk-37PIXVP4.mjs";
7
- import "../chunk-CRCBVLUP.mjs";
8
- import "../chunk-DCEG5LGX.mjs";
9
- import "../chunk-L2OL7R23.mjs";
5
+ } from "../chunk-Z5FFO6RH.mjs";
6
+ import "../chunk-W4HTBNGS.mjs";
10
7
  import "../chunk-YZYGFPNK.mjs";
11
8
  import "../chunk-Y4YW5MKL.mjs";
12
9
  import "../chunk-KZJBCC2H.mjs";
13
10
  import "../chunk-T3GWIVAM.mjs";
14
11
  import "../chunk-OR5PUD24.mjs";
12
+ import "../chunk-DCEG5LGX.mjs";
13
+ import "../chunk-L2OL7R23.mjs";
14
+ import "../chunk-37PIXVP4.mjs";
15
15
  export {
16
16
  semanticColors,
17
17
  semanticColorsDark,
package/dist/colors.mjs CHANGED
@@ -1,22 +1,22 @@
1
1
  import "./chunk-WQEDQHKX.mjs";
2
2
  import {
3
3
  colors
4
- } from "./chunk-CNGIMNA5.mjs";
4
+ } from "./chunk-PFNGC6IG.mjs";
5
5
  import {
6
6
  semanticColors
7
- } from "./chunk-3YM7ZXUG.mjs";
8
- import "./chunk-37PIXVP4.mjs";
7
+ } from "./chunk-Z5FFO6RH.mjs";
9
8
  import "./chunk-M63AFAHO.mjs";
10
9
  import {
11
10
  commonColors
12
- } from "./chunk-CRCBVLUP.mjs";
13
- import "./chunk-DCEG5LGX.mjs";
14
- import "./chunk-L2OL7R23.mjs";
11
+ } from "./chunk-W4HTBNGS.mjs";
15
12
  import "./chunk-YZYGFPNK.mjs";
16
13
  import "./chunk-Y4YW5MKL.mjs";
17
14
  import "./chunk-KZJBCC2H.mjs";
18
15
  import "./chunk-T3GWIVAM.mjs";
19
16
  import "./chunk-OR5PUD24.mjs";
17
+ import "./chunk-DCEG5LGX.mjs";
18
+ import "./chunk-L2OL7R23.mjs";
19
+ import "./chunk-37PIXVP4.mjs";
20
20
  export {
21
21
  colors,
22
22
  commonColors,
@@ -14,25 +14,45 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
14
14
  */
15
15
  declare const accordion: tailwind_variants.TVReturnType<{
16
16
  variant: {
17
- light: string;
18
- shadow: string;
19
- bordered: string;
20
- splitted: string;
17
+ light: "";
18
+ shadow: "px-4 shadow-lg rounded-xl bg-background dark:bg-content1 border border-default-100";
19
+ bordered: "px-4 border border-divider rounded-lg";
20
+ splitted: "group is-splitted flex flex-col gap-2";
21
21
  };
22
22
  fullWidth: {
23
- true: string;
23
+ true: "w-full";
24
24
  };
25
25
  }, undefined, "px-2", tailwind_variants_dist_config.TVConfig<{
26
26
  variant: {
27
- light: string;
28
- shadow: string;
29
- bordered: string;
30
- splitted: string;
27
+ light: "";
28
+ shadow: "px-4 shadow-lg rounded-xl bg-background dark:bg-content1 border border-default-100";
29
+ bordered: "px-4 border border-divider rounded-lg";
30
+ splitted: "group is-splitted flex flex-col gap-2";
31
31
  };
32
32
  fullWidth: {
33
- true: string;
33
+ true: "w-full";
34
34
  };
35
- }, unknown>, unknown, undefined>;
35
+ }, {
36
+ variant: {
37
+ light: "";
38
+ shadow: "px-4 shadow-lg rounded-xl bg-background dark:bg-content1 border border-default-100";
39
+ bordered: "px-4 border border-divider rounded-lg";
40
+ splitted: "group is-splitted flex flex-col gap-2";
41
+ };
42
+ fullWidth: {
43
+ true: "w-full";
44
+ };
45
+ }>, {
46
+ variant: {
47
+ light: "";
48
+ shadow: "px-4 shadow-lg rounded-xl bg-background dark:bg-content1 border border-default-100";
49
+ bordered: "px-4 border border-divider rounded-lg";
50
+ splitted: "group is-splitted flex flex-col gap-2";
51
+ };
52
+ fullWidth: {
53
+ true: "w-full";
54
+ };
55
+ }, undefined>;
36
56
  /**
37
57
  * AccordionItem wrapper **Tailwind Variants** component
38
58
  *
@@ -149,7 +169,101 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
149
169
  indicator: string;
150
170
  };
151
171
  };
152
- }, unknown>, unknown, undefined>;
172
+ }, {
173
+ isCompact: {
174
+ true: {
175
+ trigger: string;
176
+ title: string;
177
+ subtitle: string;
178
+ indicator: string;
179
+ content: string;
180
+ };
181
+ };
182
+ isDisabled: {
183
+ true: {
184
+ base: string;
185
+ };
186
+ };
187
+ hideDivider: {
188
+ true: {
189
+ base: string;
190
+ };
191
+ };
192
+ hideIndicator: {
193
+ true: {
194
+ indicator: string;
195
+ };
196
+ };
197
+ disableAnimation: {
198
+ true: {
199
+ content: string;
200
+ };
201
+ false: {
202
+ indicator: string;
203
+ trigger: string;
204
+ };
205
+ };
206
+ disableIndicatorAnimation: {
207
+ true: {
208
+ indicator: string;
209
+ };
210
+ false: {
211
+ indicator: string;
212
+ };
213
+ };
214
+ }>, {
215
+ isCompact: {
216
+ true: {
217
+ trigger: string;
218
+ title: string;
219
+ subtitle: string;
220
+ indicator: string;
221
+ content: string;
222
+ };
223
+ };
224
+ isDisabled: {
225
+ true: {
226
+ base: string;
227
+ };
228
+ };
229
+ hideDivider: {
230
+ true: {
231
+ base: string;
232
+ };
233
+ };
234
+ hideIndicator: {
235
+ true: {
236
+ indicator: string;
237
+ };
238
+ };
239
+ disableAnimation: {
240
+ true: {
241
+ content: string;
242
+ };
243
+ false: {
244
+ indicator: string;
245
+ trigger: string;
246
+ };
247
+ };
248
+ disableIndicatorAnimation: {
249
+ true: {
250
+ indicator: string;
251
+ };
252
+ false: {
253
+ indicator: string;
254
+ };
255
+ };
256
+ }, {
257
+ base: string[];
258
+ heading: string;
259
+ trigger: string[];
260
+ startContent: string;
261
+ indicator: string;
262
+ titleWrapper: string;
263
+ title: string;
264
+ subtitle: string;
265
+ content: string;
266
+ }>;
153
267
  type AccordionGroupVariantProps = VariantProps<typeof accordion>;
154
268
  type AccordionItemVariantProps = VariantProps<typeof accordionItem>;
155
269
  type AccordionItemSlots = keyof ReturnType<typeof accordionItem>;