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

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.
@@ -2,7 +2,8 @@
2
2
  import { tv } from "tailwind-variants";
3
3
  var spinner = tv({
4
4
  slots: {
5
- base: "inline-flex flex-col items-center justify-center relative",
5
+ base: "inline-flex flex-col gap-2 items-center justify-center",
6
+ wrapper: "relative",
6
7
  circle1: [
7
8
  "absolute",
8
9
  "w-full",
@@ -33,34 +34,34 @@ var spinner = tv({
33
34
  variants: {
34
35
  size: {
35
36
  xs: {
36
- base: "w-4 h-4",
37
+ wrapper: "w-4 h-4",
37
38
  circle1: "border-2",
38
39
  circle2: "border-2",
39
- label: "translate-y-6 text-xs"
40
+ label: "text-xs"
40
41
  },
41
42
  sm: {
42
- base: "w-5 h-5",
43
+ wrapper: "w-5 h-5",
43
44
  circle1: "border-2",
44
45
  circle2: "border-2",
45
- label: "translate-y-6 text-xs"
46
+ label: "text-xs"
46
47
  },
47
48
  md: {
48
- base: "w-8 h-8",
49
+ wrapper: "w-8 h-8",
49
50
  circle1: "border-3",
50
51
  circle2: "border-3",
51
- label: "translate-y-8 text-sm"
52
+ label: "text-sm"
52
53
  },
53
54
  lg: {
54
- base: "w-10 h-10",
55
+ wrapper: "w-10 h-10",
55
56
  circle1: "border-3",
56
57
  circle2: "border-3",
57
- label: "translate-y-10 text-base"
58
+ label: "text-base"
58
59
  },
59
60
  xl: {
60
- base: "w-12 h-12",
61
+ wrapper: "w-12 h-12",
61
62
  circle1: "border-4",
62
63
  circle2: "border-4",
63
- label: "translate-y-12 text-lg"
64
+ label: "text-lg"
64
65
  }
65
66
  },
66
67
  color: {
@@ -98,8 +99,8 @@ var spinner = tv({
98
99
  }
99
100
  },
100
101
  labelColor: {
101
- neutral: {
102
- label: "text-neutral"
102
+ foreground: {
103
+ label: "text-foreground"
103
104
  },
104
105
  primary: {
105
106
  label: "text-primary"
@@ -120,7 +121,8 @@ var spinner = tv({
120
121
  },
121
122
  defaultVariants: {
122
123
  size: "md",
123
- color: "primary"
124
+ color: "primary",
125
+ labelColor: "foreground"
124
126
  }
125
127
  });
126
128
 
@@ -5,7 +5,7 @@ import {
5
5
  // src/components/code.ts
6
6
  import { tv } from "tailwind-variants";
7
7
  var code = tv({
8
- base: ["px-2", "py-1", "font-mono", "whitespace-pre-wrap"],
8
+ base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
9
9
  variants: {
10
10
  color: {
11
11
  neutral: colorVariants.flat.neutral,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  semanticColors
3
- } from "./chunk-LQHWK6UV.mjs";
3
+ } from "./chunk-TFNTYAAW.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,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";
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-XLATS5QU.mjs";
4
4
  import {
5
5
  semanticColors
6
- } from "./chunk-LQHWK6UV.mjs";
6
+ } from "./chunk-TFNTYAAW.mjs";
7
+ import {
8
+ commonColors
9
+ } from "./chunk-W4HTBNGS.mjs";
7
10
  import {
8
11
  removeDefaultKeys
9
12
  } from "./chunk-37PIXVP4.mjs";
10
- import {
11
- commonColors
12
- } from "./chunk-CRCBVLUP.mjs";
13
13
  import {
14
14
  animations
15
15
  } from "./chunk-DMASP6FA.mjs";
@@ -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-M74ZSXB7.mjs";
3
+ } from "../chunk-MZAUPTXE.mjs";
4
4
  import {
5
5
  semanticColors
6
- } from "../chunk-LQHWK6UV.mjs";
7
- import "../chunk-37PIXVP4.mjs";
6
+ } from "../chunk-TFNTYAAW.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-LQHWK6UV.mjs";
6
- import "../chunk-37PIXVP4.mjs";
7
- import "../chunk-CRCBVLUP.mjs";
8
- import "../chunk-DCEG5LGX.mjs";
9
- import "../chunk-L2OL7R23.mjs";
5
+ } from "../chunk-TFNTYAAW.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-M74ZSXB7.mjs";
4
+ } from "./chunk-MZAUPTXE.mjs";
5
5
  import {
6
6
  semanticColors
7
- } from "./chunk-LQHWK6UV.mjs";
8
- import "./chunk-37PIXVP4.mjs";
7
+ } from "./chunk-TFNTYAAW.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,
@@ -3,8 +3,8 @@ import {
3
3
  avatarGroup
4
4
  } from "../chunk-Y43NAEAT.mjs";
5
5
  import "../chunk-CMYR6AOY.mjs";
6
- import "../chunk-K7LK7NCE.mjs";
7
6
  import "../chunk-RO3WUCFF.mjs";
7
+ import "../chunk-K7LK7NCE.mjs";
8
8
  import "../chunk-INZK6TTL.mjs";
9
9
  export {
10
10
  avatar,
@@ -2,8 +2,8 @@ import {
2
2
  badge
3
3
  } from "../chunk-25QTQFHB.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
- import "../chunk-K7LK7NCE.mjs";
6
5
  import "../chunk-RO3WUCFF.mjs";
6
+ import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-INZK6TTL.mjs";
8
8
  export {
9
9
  badge
@@ -3,8 +3,8 @@ import {
3
3
  buttonGroup
4
4
  } from "../chunk-HAR22HFA.mjs";
5
5
  import "../chunk-CMYR6AOY.mjs";
6
- import "../chunk-K7LK7NCE.mjs";
7
6
  import "../chunk-RO3WUCFF.mjs";
7
+ import "../chunk-K7LK7NCE.mjs";
8
8
  import "../chunk-INZK6TTL.mjs";
9
9
  export {
10
10
  button,
@@ -2,8 +2,8 @@ import {
2
2
  chip
3
3
  } from "../chunk-4A7R2B5L.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
- import "../chunk-K7LK7NCE.mjs";
6
5
  import "../chunk-RO3WUCFF.mjs";
6
+ import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-INZK6TTL.mjs";
8
8
  export {
9
9
  chip
@@ -101,7 +101,7 @@ var colorVariants = {
101
101
 
102
102
  // src/components/code.ts
103
103
  var code = (0, import_tailwind_variants.tv)({
104
- base: ["px-2", "py-1", "font-mono", "whitespace-pre-wrap"],
104
+ base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
105
105
  variants: {
106
106
  color: {
107
107
  neutral: colorVariants.flat.neutral,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  code
3
- } from "../chunk-WFCALVUC.mjs";
3
+ } from "../chunk-DTLDG5KJ.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
- import "../chunk-K7LK7NCE.mjs";
6
5
  import "../chunk-RO3WUCFF.mjs";
6
+ import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-INZK6TTL.mjs";
8
8
  export {
9
9
  code
@@ -1073,7 +1073,8 @@ var drip = (0, import_tailwind_variants6.tv)({
1073
1073
  var import_tailwind_variants7 = require("tailwind-variants");
1074
1074
  var spinner = (0, import_tailwind_variants7.tv)({
1075
1075
  slots: {
1076
- base: "inline-flex flex-col items-center justify-center relative",
1076
+ base: "inline-flex flex-col gap-2 items-center justify-center",
1077
+ wrapper: "relative",
1077
1078
  circle1: [
1078
1079
  "absolute",
1079
1080
  "w-full",
@@ -1104,34 +1105,34 @@ var spinner = (0, import_tailwind_variants7.tv)({
1104
1105
  variants: {
1105
1106
  size: {
1106
1107
  xs: {
1107
- base: "w-4 h-4",
1108
+ wrapper: "w-4 h-4",
1108
1109
  circle1: "border-2",
1109
1110
  circle2: "border-2",
1110
- label: "translate-y-6 text-xs"
1111
+ label: "text-xs"
1111
1112
  },
1112
1113
  sm: {
1113
- base: "w-5 h-5",
1114
+ wrapper: "w-5 h-5",
1114
1115
  circle1: "border-2",
1115
1116
  circle2: "border-2",
1116
- label: "translate-y-6 text-xs"
1117
+ label: "text-xs"
1117
1118
  },
1118
1119
  md: {
1119
- base: "w-8 h-8",
1120
+ wrapper: "w-8 h-8",
1120
1121
  circle1: "border-3",
1121
1122
  circle2: "border-3",
1122
- label: "translate-y-8 text-sm"
1123
+ label: "text-sm"
1123
1124
  },
1124
1125
  lg: {
1125
- base: "w-10 h-10",
1126
+ wrapper: "w-10 h-10",
1126
1127
  circle1: "border-3",
1127
1128
  circle2: "border-3",
1128
- label: "translate-y-10 text-base"
1129
+ label: "text-base"
1129
1130
  },
1130
1131
  xl: {
1131
- base: "w-12 h-12",
1132
+ wrapper: "w-12 h-12",
1132
1133
  circle1: "border-4",
1133
1134
  circle2: "border-4",
1134
- label: "translate-y-12 text-lg"
1135
+ label: "text-lg"
1135
1136
  }
1136
1137
  },
1137
1138
  color: {
@@ -1169,8 +1170,8 @@ var spinner = (0, import_tailwind_variants7.tv)({
1169
1170
  }
1170
1171
  },
1171
1172
  labelColor: {
1172
- neutral: {
1173
- label: "text-neutral"
1173
+ foreground: {
1174
+ label: "text-foreground"
1174
1175
  },
1175
1176
  primary: {
1176
1177
  label: "text-primary"
@@ -1191,14 +1192,15 @@ var spinner = (0, import_tailwind_variants7.tv)({
1191
1192
  },
1192
1193
  defaultVariants: {
1193
1194
  size: "md",
1194
- color: "primary"
1195
+ color: "primary",
1196
+ labelColor: "foreground"
1195
1197
  }
1196
1198
  });
1197
1199
 
1198
1200
  // src/components/code.ts
1199
1201
  var import_tailwind_variants8 = require("tailwind-variants");
1200
1202
  var code = (0, import_tailwind_variants8.tv)({
1201
- base: ["px-2", "py-1", "font-mono", "whitespace-pre-wrap"],
1203
+ base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
1202
1204
  variants: {
1203
1205
  color: {
1204
1206
  neutral: colorVariants.flat.neutral,
@@ -29,7 +29,7 @@ import {
29
29
  } from "../chunk-3B4SYPW2.mjs";
30
30
  import {
31
31
  spinner
32
- } from "../chunk-MFJMHP3B.mjs";
32
+ } from "../chunk-5FMGABPD.mjs";
33
33
  import {
34
34
  table
35
35
  } from "../chunk-KWWWVBJL.mjs";
@@ -70,7 +70,7 @@ import {
70
70
  } from "../chunk-FVTLDCTS.mjs";
71
71
  import {
72
72
  code
73
- } from "../chunk-WFCALVUC.mjs";
73
+ } from "../chunk-DTLDG5KJ.mjs";
74
74
  import {
75
75
  divider
76
76
  } from "../chunk-5HKM2D3Z.mjs";
@@ -99,8 +99,8 @@ import {
99
99
  buttonGroup
100
100
  } from "../chunk-HAR22HFA.mjs";
101
101
  import "../chunk-CMYR6AOY.mjs";
102
- import "../chunk-K7LK7NCE.mjs";
103
102
  import "../chunk-RO3WUCFF.mjs";
103
+ import "../chunk-K7LK7NCE.mjs";
104
104
  import "../chunk-INZK6TTL.mjs";
105
105
  export {
106
106
  accordion,
@@ -2,8 +2,8 @@ import {
2
2
  pagination
3
3
  } from "../chunk-3LME35GX.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
- import "../chunk-K7LK7NCE.mjs";
6
5
  import "../chunk-RO3WUCFF.mjs";
6
+ import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-INZK6TTL.mjs";
8
8
  export {
9
9
  pagination
@@ -2,8 +2,8 @@ import {
2
2
  popover
3
3
  } from "../chunk-JWVJZEAT.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
- import "../chunk-K7LK7NCE.mjs";
6
5
  import "../chunk-RO3WUCFF.mjs";
6
+ import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-INZK6TTL.mjs";
8
8
  export {
9
9
  popover
@@ -2,8 +2,8 @@ import {
2
2
  snippet
3
3
  } from "../chunk-5ZJFAFZA.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
- import "../chunk-K7LK7NCE.mjs";
6
5
  import "../chunk-RO3WUCFF.mjs";
6
+ import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-INZK6TTL.mjs";
8
8
  export {
9
9
  snippet
@@ -17,31 +17,31 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
17
17
  declare const spinner: tailwind_variants.TVReturnType<{
18
18
  size: {
19
19
  xs: {
20
- base: string;
20
+ wrapper: string;
21
21
  circle1: string;
22
22
  circle2: string;
23
23
  label: string;
24
24
  };
25
25
  sm: {
26
- base: string;
26
+ wrapper: string;
27
27
  circle1: string;
28
28
  circle2: string;
29
29
  label: string;
30
30
  };
31
31
  md: {
32
- base: string;
32
+ wrapper: string;
33
33
  circle1: string;
34
34
  circle2: string;
35
35
  label: string;
36
36
  };
37
37
  lg: {
38
- base: string;
38
+ wrapper: string;
39
39
  circle1: string;
40
40
  circle2: string;
41
41
  label: string;
42
42
  };
43
43
  xl: {
44
- base: string;
44
+ wrapper: string;
45
45
  circle1: string;
46
46
  circle2: string;
47
47
  label: string;
@@ -82,7 +82,7 @@ declare const spinner: tailwind_variants.TVReturnType<{
82
82
  };
83
83
  };
84
84
  labelColor: {
85
- neutral: {
85
+ foreground: {
86
86
  label: string;
87
87
  };
88
88
  primary: {
@@ -103,37 +103,38 @@ declare const spinner: tailwind_variants.TVReturnType<{
103
103
  };
104
104
  }, unknown, {
105
105
  base: string;
106
+ wrapper: string;
106
107
  circle1: string[];
107
108
  circle2: string[];
108
109
  label: string;
109
110
  }, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
110
111
  size: {
111
112
  xs: {
112
- base: string;
113
+ wrapper: string;
113
114
  circle1: string;
114
115
  circle2: string;
115
116
  label: string;
116
117
  };
117
118
  sm: {
118
- base: string;
119
+ wrapper: string;
119
120
  circle1: string;
120
121
  circle2: string;
121
122
  label: string;
122
123
  };
123
124
  md: {
124
- base: string;
125
+ wrapper: string;
125
126
  circle1: string;
126
127
  circle2: string;
127
128
  label: string;
128
129
  };
129
130
  lg: {
130
- base: string;
131
+ wrapper: string;
131
132
  circle1: string;
132
133
  circle2: string;
133
134
  label: string;
134
135
  };
135
136
  xl: {
136
- base: string;
137
+ wrapper: string;
137
138
  circle1: string;
138
139
  circle2: string;
139
140
  label: string;
@@ -174,7 +175,7 @@ declare const spinner: tailwind_variants.TVReturnType<{
174
175
  };
175
176
  };
176
177
  labelColor: {
177
- neutral: {
178
+ foreground: {
178
179
  label: string;
179
180
  };
180
181
  primary: {
@@ -26,7 +26,8 @@ module.exports = __toCommonJS(spinner_exports);
26
26
  var import_tailwind_variants = require("tailwind-variants");
27
27
  var spinner = (0, import_tailwind_variants.tv)({
28
28
  slots: {
29
- base: "inline-flex flex-col items-center justify-center relative",
29
+ base: "inline-flex flex-col gap-2 items-center justify-center",
30
+ wrapper: "relative",
30
31
  circle1: [
31
32
  "absolute",
32
33
  "w-full",
@@ -57,34 +58,34 @@ var spinner = (0, import_tailwind_variants.tv)({
57
58
  variants: {
58
59
  size: {
59
60
  xs: {
60
- base: "w-4 h-4",
61
+ wrapper: "w-4 h-4",
61
62
  circle1: "border-2",
62
63
  circle2: "border-2",
63
- label: "translate-y-6 text-xs"
64
+ label: "text-xs"
64
65
  },
65
66
  sm: {
66
- base: "w-5 h-5",
67
+ wrapper: "w-5 h-5",
67
68
  circle1: "border-2",
68
69
  circle2: "border-2",
69
- label: "translate-y-6 text-xs"
70
+ label: "text-xs"
70
71
  },
71
72
  md: {
72
- base: "w-8 h-8",
73
+ wrapper: "w-8 h-8",
73
74
  circle1: "border-3",
74
75
  circle2: "border-3",
75
- label: "translate-y-8 text-sm"
76
+ label: "text-sm"
76
77
  },
77
78
  lg: {
78
- base: "w-10 h-10",
79
+ wrapper: "w-10 h-10",
79
80
  circle1: "border-3",
80
81
  circle2: "border-3",
81
- label: "translate-y-10 text-base"
82
+ label: "text-base"
82
83
  },
83
84
  xl: {
84
- base: "w-12 h-12",
85
+ wrapper: "w-12 h-12",
85
86
  circle1: "border-4",
86
87
  circle2: "border-4",
87
- label: "translate-y-12 text-lg"
88
+ label: "text-lg"
88
89
  }
89
90
  },
90
91
  color: {
@@ -122,8 +123,8 @@ var spinner = (0, import_tailwind_variants.tv)({
122
123
  }
123
124
  },
124
125
  labelColor: {
125
- neutral: {
126
- label: "text-neutral"
126
+ foreground: {
127
+ label: "text-foreground"
127
128
  },
128
129
  primary: {
129
130
  label: "text-primary"
@@ -144,7 +145,8 @@ var spinner = (0, import_tailwind_variants.tv)({
144
145
  },
145
146
  defaultVariants: {
146
147
  size: "md",
147
- color: "primary"
148
+ color: "primary",
149
+ labelColor: "foreground"
148
150
  }
149
151
  });
150
152
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  spinner
3
- } from "../chunk-MFJMHP3B.mjs";
3
+ } from "../chunk-5FMGABPD.mjs";
4
4
  export {
5
5
  spinner
6
6
  };
@@ -2,8 +2,8 @@ import {
2
2
  tabs
3
3
  } from "../chunk-UUJTS7XS.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
- import "../chunk-K7LK7NCE.mjs";
6
5
  import "../chunk-RO3WUCFF.mjs";
6
+ import "../chunk-K7LK7NCE.mjs";
7
7
  import "../chunk-INZK6TTL.mjs";
8
8
  export {
9
9
  tabs
package/dist/index.js CHANGED
@@ -1105,7 +1105,8 @@ var drip = (0, import_tailwind_variants6.tv)({
1105
1105
  var import_tailwind_variants7 = require("tailwind-variants");
1106
1106
  var spinner = (0, import_tailwind_variants7.tv)({
1107
1107
  slots: {
1108
- base: "inline-flex flex-col items-center justify-center relative",
1108
+ base: "inline-flex flex-col gap-2 items-center justify-center",
1109
+ wrapper: "relative",
1109
1110
  circle1: [
1110
1111
  "absolute",
1111
1112
  "w-full",
@@ -1136,34 +1137,34 @@ var spinner = (0, import_tailwind_variants7.tv)({
1136
1137
  variants: {
1137
1138
  size: {
1138
1139
  xs: {
1139
- base: "w-4 h-4",
1140
+ wrapper: "w-4 h-4",
1140
1141
  circle1: "border-2",
1141
1142
  circle2: "border-2",
1142
- label: "translate-y-6 text-xs"
1143
+ label: "text-xs"
1143
1144
  },
1144
1145
  sm: {
1145
- base: "w-5 h-5",
1146
+ wrapper: "w-5 h-5",
1146
1147
  circle1: "border-2",
1147
1148
  circle2: "border-2",
1148
- label: "translate-y-6 text-xs"
1149
+ label: "text-xs"
1149
1150
  },
1150
1151
  md: {
1151
- base: "w-8 h-8",
1152
+ wrapper: "w-8 h-8",
1152
1153
  circle1: "border-3",
1153
1154
  circle2: "border-3",
1154
- label: "translate-y-8 text-sm"
1155
+ label: "text-sm"
1155
1156
  },
1156
1157
  lg: {
1157
- base: "w-10 h-10",
1158
+ wrapper: "w-10 h-10",
1158
1159
  circle1: "border-3",
1159
1160
  circle2: "border-3",
1160
- label: "translate-y-10 text-base"
1161
+ label: "text-base"
1161
1162
  },
1162
1163
  xl: {
1163
- base: "w-12 h-12",
1164
+ wrapper: "w-12 h-12",
1164
1165
  circle1: "border-4",
1165
1166
  circle2: "border-4",
1166
- label: "translate-y-12 text-lg"
1167
+ label: "text-lg"
1167
1168
  }
1168
1169
  },
1169
1170
  color: {
@@ -1201,8 +1202,8 @@ var spinner = (0, import_tailwind_variants7.tv)({
1201
1202
  }
1202
1203
  },
1203
1204
  labelColor: {
1204
- neutral: {
1205
- label: "text-neutral"
1205
+ foreground: {
1206
+ label: "text-foreground"
1206
1207
  },
1207
1208
  primary: {
1208
1209
  label: "text-primary"
@@ -1223,14 +1224,15 @@ var spinner = (0, import_tailwind_variants7.tv)({
1223
1224
  },
1224
1225
  defaultVariants: {
1225
1226
  size: "md",
1226
- color: "primary"
1227
+ color: "primary",
1228
+ labelColor: "foreground"
1227
1229
  }
1228
1230
  });
1229
1231
 
1230
1232
  // src/components/code.ts
1231
1233
  var import_tailwind_variants8 = require("tailwind-variants");
1232
1234
  var code = (0, import_tailwind_variants8.tv)({
1233
- base: ["px-2", "py-1", "font-mono", "whitespace-pre-wrap"],
1235
+ base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
1234
1236
  variants: {
1235
1237
  color: {
1236
1238
  neutral: colorVariants.flat.neutral,
package/dist/index.mjs CHANGED
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-3B4SYPW2.mjs";
30
30
  import {
31
31
  spinner
32
- } from "./chunk-MFJMHP3B.mjs";
32
+ } from "./chunk-5FMGABPD.mjs";
33
33
  import {
34
34
  table
35
35
  } from "./chunk-KWWWVBJL.mjs";
@@ -70,7 +70,7 @@ import {
70
70
  } from "./chunk-FVTLDCTS.mjs";
71
71
  import {
72
72
  code
73
- } from "./chunk-WFCALVUC.mjs";
73
+ } from "./chunk-DTLDG5KJ.mjs";
74
74
  import {
75
75
  divider
76
76
  } from "./chunk-5HKM2D3Z.mjs";
@@ -85,27 +85,27 @@ import {
85
85
  } from "./chunk-7EC2WH7W.mjs";
86
86
  import {
87
87
  nextui
88
- } from "./chunk-WIZLPJM6.mjs";
88
+ } from "./chunk-XUFLJ7RP.mjs";
89
89
  import "./chunk-XLATS5QU.mjs";
90
90
  import "./chunk-WQEDQHKX.mjs";
91
91
  import {
92
92
  colors
93
- } from "./chunk-M74ZSXB7.mjs";
93
+ } from "./chunk-MZAUPTXE.mjs";
94
94
  import {
95
95
  semanticColors
96
- } from "./chunk-LQHWK6UV.mjs";
97
- import "./chunk-37PIXVP4.mjs";
96
+ } from "./chunk-TFNTYAAW.mjs";
98
97
  import "./chunk-M63AFAHO.mjs";
99
98
  import {
100
99
  commonColors
101
- } from "./chunk-CRCBVLUP.mjs";
102
- import "./chunk-DCEG5LGX.mjs";
103
- import "./chunk-L2OL7R23.mjs";
100
+ } from "./chunk-W4HTBNGS.mjs";
104
101
  import "./chunk-YZYGFPNK.mjs";
105
102
  import "./chunk-Y4YW5MKL.mjs";
106
103
  import "./chunk-KZJBCC2H.mjs";
107
104
  import "./chunk-T3GWIVAM.mjs";
108
105
  import "./chunk-OR5PUD24.mjs";
106
+ import "./chunk-DCEG5LGX.mjs";
107
+ import "./chunk-L2OL7R23.mjs";
108
+ import "./chunk-37PIXVP4.mjs";
109
109
  import "./chunk-DMASP6FA.mjs";
110
110
  import {
111
111
  accordion,
@@ -123,10 +123,10 @@ import {
123
123
  buttonGroup
124
124
  } from "./chunk-HAR22HFA.mjs";
125
125
  import "./chunk-CMYR6AOY.mjs";
126
- import "./chunk-K7LK7NCE.mjs";
127
126
  import {
128
127
  colorVariants
129
128
  } from "./chunk-RO3WUCFF.mjs";
129
+ import "./chunk-K7LK7NCE.mjs";
130
130
  import {
131
131
  absoluteFullClasses,
132
132
  baseStyles,
package/dist/plugin.mjs CHANGED
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  nextui
3
- } from "./chunk-WIZLPJM6.mjs";
3
+ } from "./chunk-XUFLJ7RP.mjs";
4
4
  import "./chunk-XLATS5QU.mjs";
5
5
  import "./chunk-WQEDQHKX.mjs";
6
- import "./chunk-M74ZSXB7.mjs";
7
- import "./chunk-LQHWK6UV.mjs";
8
- import "./chunk-37PIXVP4.mjs";
6
+ import "./chunk-MZAUPTXE.mjs";
7
+ import "./chunk-TFNTYAAW.mjs";
9
8
  import "./chunk-M63AFAHO.mjs";
10
- import "./chunk-CRCBVLUP.mjs";
11
- import "./chunk-DCEG5LGX.mjs";
12
- import "./chunk-L2OL7R23.mjs";
9
+ import "./chunk-W4HTBNGS.mjs";
13
10
  import "./chunk-YZYGFPNK.mjs";
14
11
  import "./chunk-Y4YW5MKL.mjs";
15
12
  import "./chunk-KZJBCC2H.mjs";
16
13
  import "./chunk-T3GWIVAM.mjs";
17
14
  import "./chunk-OR5PUD24.mjs";
15
+ import "./chunk-DCEG5LGX.mjs";
16
+ import "./chunk-L2OL7R23.mjs";
17
+ import "./chunk-37PIXVP4.mjs";
18
18
  import "./chunk-DMASP6FA.mjs";
19
19
  import "./chunk-INZK6TTL.mjs";
20
20
  export {
@@ -1,8 +1,8 @@
1
1
  import "../chunk-CMYR6AOY.mjs";
2
- import "../chunk-K7LK7NCE.mjs";
3
2
  import {
4
3
  colorVariants
5
4
  } from "../chunk-RO3WUCFF.mjs";
5
+ import "../chunk-K7LK7NCE.mjs";
6
6
  import {
7
7
  absoluteFullClasses,
8
8
  baseStyles,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/theme",
3
- "version": "0.0.0-dev-v2-20230526220125",
3
+ "version": "0.0.0-dev-v2-20230527131721",
4
4
  "description": "The default theme for NextUI components",
5
5
  "keywords": [
6
6
  "theme",
@@ -1,9 +1,3 @@
1
- import {
2
- pink
3
- } from "./chunk-DCEG5LGX.mjs";
4
- import {
5
- purple
6
- } from "./chunk-L2OL7R23.mjs";
7
1
  import {
8
2
  red
9
3
  } from "./chunk-YZYGFPNK.mjs";
@@ -19,6 +13,12 @@ import {
19
13
  import {
20
14
  green
21
15
  } from "./chunk-OR5PUD24.mjs";
16
+ import {
17
+ pink
18
+ } from "./chunk-DCEG5LGX.mjs";
19
+ import {
20
+ purple
21
+ } from "./chunk-L2OL7R23.mjs";
22
22
 
23
23
  // src/colors/common.ts
24
24
  var commonColors = {