@nextui-org/theme 2.3.0-beta.11 → 2.3.0-beta.13

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.
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/components/progress.ts
21
21
  var progress_exports = {};
22
22
  __export(progress_exports, {
23
+ circularProgress: () => circularProgress,
23
24
  progress: () => progress
24
25
  });
25
26
  module.exports = __toCommonJS(progress_exports);
@@ -220,7 +221,88 @@ var progress = tv(
220
221
  twMerge: true
221
222
  }
222
223
  );
224
+ var circularProgress = tv({
225
+ slots: {
226
+ base: "flex flex-col justify-center gap-1 max-w-fit items-center",
227
+ label: "",
228
+ svgWrapper: "relative block",
229
+ svg: "z-0 relative overflow-hidden",
230
+ track: "h-full stroke-default-300/50",
231
+ indicator: "h-full stroke-current",
232
+ value: "absolute font-normal inset-0 flex items-center justify-center"
233
+ },
234
+ variants: {
235
+ color: {
236
+ default: {
237
+ svg: "text-default-400"
238
+ },
239
+ primary: {
240
+ svg: "text-primary"
241
+ },
242
+ secondary: {
243
+ svg: "text-secondary"
244
+ },
245
+ success: {
246
+ svg: "text-success"
247
+ },
248
+ warning: {
249
+ svg: "text-warning"
250
+ },
251
+ danger: {
252
+ svg: "text-danger"
253
+ }
254
+ },
255
+ size: {
256
+ sm: {
257
+ svg: "w-8 h-8",
258
+ label: "text-small",
259
+ value: "text-[0.5rem]"
260
+ },
261
+ md: {
262
+ svg: "w-10 h-10",
263
+ label: "text-small",
264
+ value: "text-[0.55rem]"
265
+ },
266
+ lg: {
267
+ svg: "w-12 h-12",
268
+ label: "text-medium",
269
+ value: "text-[0.6rem]"
270
+ }
271
+ },
272
+ isIndeterminate: {
273
+ true: {
274
+ svg: "animate-spinner-ease-spin"
275
+ }
276
+ },
277
+ isDisabled: {
278
+ true: {
279
+ base: "opacity-disabled cursor-not-allowed"
280
+ }
281
+ },
282
+ disableAnimation: {
283
+ true: {},
284
+ false: {
285
+ indicator: "transition-all !duration-500"
286
+ }
287
+ }
288
+ },
289
+ defaultVariants: {
290
+ color: "primary",
291
+ size: "md",
292
+ isDisabled: false
293
+ },
294
+ compoundVariants: [
295
+ {
296
+ disableAnimation: true,
297
+ isIndeterminate: false,
298
+ class: {
299
+ svg: "!transition-none motion-reduce:transition-none"
300
+ }
301
+ }
302
+ ]
303
+ });
223
304
  // Annotate the CommonJS export names for ESM import in node:
224
305
  0 && (module.exports = {
306
+ circularProgress,
225
307
  progress
226
308
  });
@@ -1,8 +1,10 @@
1
1
  import {
2
+ circularProgress,
2
3
  progress
3
- } from "../chunk-IZOPFGDE.mjs";
4
+ } from "../chunk-6KWI4IHE.mjs";
4
5
  import "../chunk-UWE6H66T.mjs";
5
6
  import "../chunk-GIXI35A3.mjs";
6
7
  export {
8
+ circularProgress,
7
9
  progress
8
10
  };
package/dist/index.d.ts CHANGED
@@ -15,8 +15,7 @@ export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } fro
15
15
  export { PaginationSlots, PaginationVariantProps, pagination } from './components/pagination.js';
16
16
  export { ToggleSlots, ToggleVariantProps, toggle } from './components/toggle.js';
17
17
  export { AccordionGroupVariantProps, AccordionItemSlots, AccordionItemVariantProps, accordion, accordionItem } from './components/accordion.js';
18
- export { ProgressSlots, ProgressVariantProps, progress } from './components/progress.js';
19
- export { CircularProgressSlots, CircularProgressVariantProps, circularProgress } from './components/circular-progress.js';
18
+ export { CircularProgressSlots, CircularProgressVariantProps, ProgressSlots, ProgressVariantProps, circularProgress, progress } from './components/progress.js';
20
19
  export { InputSlots, InputVariantProps, input } from './components/input.js';
21
20
  export { DropdownItemSlots, DropdownItemVariantProps, DropdownSectionSlots, DropdownSectionVariantProps, dropdown, dropdownItem, dropdownMenu, dropdownSection } from './components/dropdown.js';
22
21
  export { ImageSlots, ImageVariantProps, image } from './components/image.js';
package/dist/index.js CHANGED
@@ -3737,8 +3737,6 @@ var progress = tv(
3737
3737
  twMerge: true
3738
3738
  }
3739
3739
  );
3740
-
3741
- // src/components/circular-progress.ts
3742
3740
  var circularProgress = tv({
3743
3741
  slots: {
3744
3742
  base: "flex flex-col justify-center gap-1 max-w-fit items-center",
@@ -8034,7 +8032,7 @@ var breadcrumbs = tv({
8034
8032
  var autocomplete = tv({
8035
8033
  slots: {
8036
8034
  base: "group inline-flex flex-column w-full",
8037
- listboxWrapper: "scroll-py-6 max-h-64 w-full",
8035
+ listboxWrapper: "scroll-py-6 w-full",
8038
8036
  listbox: "",
8039
8037
  popoverContent: "w-full p-1 overflow-hidden",
8040
8038
  endContentWrapper: "relative flex h-full items-center -mr-2",
package/dist/index.mjs CHANGED
@@ -1,7 +1,4 @@
1
- import "./chunk-MA4DKK64.mjs";
2
- import {
3
- spinner
4
- } from "./chunk-DBPAK7QN.mjs";
1
+ import "./chunk-KEHIJEFK.mjs";
5
2
  import {
6
3
  table
7
4
  } from "./chunk-2ODFPLXN.mjs";
@@ -14,9 +11,6 @@ import {
14
11
  import {
15
12
  user
16
13
  } from "./chunk-GMZHMFEU.mjs";
17
- import {
18
- progress
19
- } from "./chunk-IZOPFGDE.mjs";
20
14
  import {
21
15
  radio,
22
16
  radioGroup
@@ -40,8 +34,8 @@ import {
40
34
  spacer
41
35
  } from "./chunk-AKXXHKTO.mjs";
42
36
  import {
43
- kbd
44
- } from "./chunk-VX7HAPUO.mjs";
37
+ spinner
38
+ } from "./chunk-DBPAK7QN.mjs";
45
39
  import {
46
40
  link,
47
41
  linkAnchorClasses
@@ -65,9 +59,9 @@ import {
65
59
  popover
66
60
  } from "./chunk-HHK47K4W.mjs";
67
61
  import {
68
- datePicker,
69
- dateRangePicker
70
- } from "./chunk-QFGVVQRM.mjs";
62
+ circularProgress,
63
+ progress
64
+ } from "./chunk-6KWI4IHE.mjs";
71
65
  import {
72
66
  divider
73
67
  } from "./chunk-AXSF7SRE.mjs";
@@ -89,6 +83,9 @@ import {
89
83
  import {
90
84
  input
91
85
  } from "./chunk-MXL6JCUG.mjs";
86
+ import {
87
+ kbd
88
+ } from "./chunk-VX7HAPUO.mjs";
92
89
  import {
93
90
  button,
94
91
  buttonGroup
@@ -106,15 +103,16 @@ import {
106
103
  import {
107
104
  chip
108
105
  } from "./chunk-5VB7JNVX.mjs";
109
- import {
110
- circularProgress
111
- } from "./chunk-AUN4SP2F.mjs";
112
106
  import {
113
107
  code
114
108
  } from "./chunk-JE6SPRGQ.mjs";
115
109
  import {
116
110
  dateInput
117
111
  } from "./chunk-HNRFZTEX.mjs";
112
+ import {
113
+ datePicker,
114
+ dateRangePicker
115
+ } from "./chunk-QFGVVQRM.mjs";
118
116
  import {
119
117
  accordion,
120
118
  accordionItem
@@ -124,7 +122,7 @@ import {
124
122
  } from "./chunk-MO6TCUI5.mjs";
125
123
  import {
126
124
  autocomplete
127
- } from "./chunk-2TAKWWRG.mjs";
125
+ } from "./chunk-ZZ2VSLD6.mjs";
128
126
  import {
129
127
  avatar,
130
128
  avatarGroup
@@ -152,12 +150,12 @@ import {
152
150
  } from "./chunk-GIXI35A3.mjs";
153
151
  import {
154
152
  nextui
155
- } from "./chunk-LCMN7HGG.mjs";
153
+ } from "./chunk-4QKM3RKK.mjs";
156
154
  import "./chunk-D2XMP2NC.mjs";
157
- import "./chunk-XZMJGJQX.mjs";
158
- import "./chunk-WN6AL2BX.mjs";
155
+ import "./chunk-KVYVTKEN.mjs";
159
156
  import "./chunk-W5UU3F46.mjs";
160
157
  import "./chunk-4Z22WXZX.mjs";
158
+ import "./chunk-WN6AL2BX.mjs";
161
159
  import {
162
160
  absoluteFullClasses,
163
161
  baseStyles,
package/dist/plugin.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  nextui
3
- } from "./chunk-LCMN7HGG.mjs";
3
+ } from "./chunk-4QKM3RKK.mjs";
4
4
  import "./chunk-D2XMP2NC.mjs";
5
- import "./chunk-XZMJGJQX.mjs";
6
- import "./chunk-WN6AL2BX.mjs";
5
+ import "./chunk-KVYVTKEN.mjs";
7
6
  import "./chunk-W5UU3F46.mjs";
8
7
  import "./chunk-4Z22WXZX.mjs";
8
+ import "./chunk-WN6AL2BX.mjs";
9
9
  import "./chunk-XHQUSKIE.mjs";
10
10
  import "./chunk-WQEDQHKX.mjs";
11
11
  import "./chunk-QZTWGJ72.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  utilities
3
- } from "../chunk-XZMJGJQX.mjs";
4
- import "../chunk-WN6AL2BX.mjs";
3
+ } from "../chunk-KVYVTKEN.mjs";
5
4
  import "../chunk-W5UU3F46.mjs";
6
5
  import "../chunk-4Z22WXZX.mjs";
6
+ import "../chunk-WN6AL2BX.mjs";
7
7
  export {
8
8
  utilities
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/theme",
3
- "version": "2.3.0-beta.11",
3
+ "version": "2.3.0-beta.13",
4
4
  "description": "The default theme for NextUI components",
5
5
  "keywords": [
6
6
  "theme",
@@ -1,89 +0,0 @@
1
- import {
2
- tv
3
- } from "./chunk-UWE6H66T.mjs";
4
-
5
- // src/components/circular-progress.ts
6
- var circularProgress = tv({
7
- slots: {
8
- base: "flex flex-col justify-center gap-1 max-w-fit items-center",
9
- label: "",
10
- svgWrapper: "relative block",
11
- svg: "z-0 relative overflow-hidden",
12
- track: "h-full stroke-default-300/50",
13
- indicator: "h-full stroke-current",
14
- value: "absolute font-normal inset-0 flex items-center justify-center"
15
- },
16
- variants: {
17
- color: {
18
- default: {
19
- svg: "text-default-400"
20
- },
21
- primary: {
22
- svg: "text-primary"
23
- },
24
- secondary: {
25
- svg: "text-secondary"
26
- },
27
- success: {
28
- svg: "text-success"
29
- },
30
- warning: {
31
- svg: "text-warning"
32
- },
33
- danger: {
34
- svg: "text-danger"
35
- }
36
- },
37
- size: {
38
- sm: {
39
- svg: "w-8 h-8",
40
- label: "text-small",
41
- value: "text-[0.5rem]"
42
- },
43
- md: {
44
- svg: "w-10 h-10",
45
- label: "text-small",
46
- value: "text-[0.55rem]"
47
- },
48
- lg: {
49
- svg: "w-12 h-12",
50
- label: "text-medium",
51
- value: "text-[0.6rem]"
52
- }
53
- },
54
- isIndeterminate: {
55
- true: {
56
- svg: "animate-spinner-ease-spin"
57
- }
58
- },
59
- isDisabled: {
60
- true: {
61
- base: "opacity-disabled cursor-not-allowed"
62
- }
63
- },
64
- disableAnimation: {
65
- true: {},
66
- false: {
67
- indicator: "transition-all !duration-500"
68
- }
69
- }
70
- },
71
- defaultVariants: {
72
- color: "primary",
73
- size: "md",
74
- isDisabled: false
75
- },
76
- compoundVariants: [
77
- {
78
- disableAnimation: true,
79
- isIndeterminate: false,
80
- class: {
81
- svg: "!transition-none motion-reduce:transition-none"
82
- }
83
- }
84
- ]
85
- });
86
-
87
- export {
88
- circularProgress
89
- };