@nextui-org/theme 2.3.0-beta.12 → 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.
@@ -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",
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
@@ -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.12",
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
- };
@@ -1,430 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
- import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
-
5
- /**
6
- * CircularProgress **Tailwind Variants** component
7
- *
8
- * @example
9
- * ```js
10
- * const {base, svgWrapper, svg, indicator, value, label} = circularProgress({...})
11
- *
12
- * <div className={base()} aria-label="progress" role="progressbar" aria-valuenow={value} aria-valuemin={min} aria-valuemax={max}>
13
- * <div className={svgWrapper()}>
14
- * <svg className={svg()}>
15
- * <circle className={track()} />
16
- * <circle className={indicator()} />
17
- * </svg>
18
- * <span className={value()}>{value}</span>
19
- * </div>
20
- * <span className={label()}>{label}</span>
21
- * </div>
22
- * ```
23
- */
24
- declare const circularProgress: tailwind_variants.TVReturnType<{
25
- color: {
26
- default: {
27
- svg: string;
28
- };
29
- primary: {
30
- svg: string;
31
- };
32
- secondary: {
33
- svg: string;
34
- };
35
- success: {
36
- svg: string;
37
- };
38
- warning: {
39
- svg: string;
40
- };
41
- danger: {
42
- svg: string;
43
- };
44
- };
45
- size: {
46
- sm: {
47
- svg: string;
48
- label: string;
49
- value: string;
50
- };
51
- md: {
52
- svg: string;
53
- label: string;
54
- value: string;
55
- };
56
- lg: {
57
- svg: string;
58
- label: string;
59
- value: string;
60
- };
61
- };
62
- isIndeterminate: {
63
- true: {
64
- svg: string;
65
- };
66
- };
67
- isDisabled: {
68
- true: {
69
- base: string;
70
- };
71
- };
72
- disableAnimation: {
73
- true: {};
74
- false: {
75
- indicator: string;
76
- };
77
- };
78
- }, {
79
- base: string;
80
- label: string;
81
- svgWrapper: string;
82
- svg: string;
83
- track: string;
84
- indicator: string;
85
- value: string;
86
- }, undefined, tailwind_variants_dist_config.TVConfig<{
87
- color: {
88
- default: {
89
- svg: string;
90
- };
91
- primary: {
92
- svg: string;
93
- };
94
- secondary: {
95
- svg: string;
96
- };
97
- success: {
98
- svg: string;
99
- };
100
- warning: {
101
- svg: string;
102
- };
103
- danger: {
104
- svg: string;
105
- };
106
- };
107
- size: {
108
- sm: {
109
- svg: string;
110
- label: string;
111
- value: string;
112
- };
113
- md: {
114
- svg: string;
115
- label: string;
116
- value: string;
117
- };
118
- lg: {
119
- svg: string;
120
- label: string;
121
- value: string;
122
- };
123
- };
124
- isIndeterminate: {
125
- true: {
126
- svg: string;
127
- };
128
- };
129
- isDisabled: {
130
- true: {
131
- base: string;
132
- };
133
- };
134
- disableAnimation: {
135
- true: {};
136
- false: {
137
- indicator: string;
138
- };
139
- };
140
- }, {
141
- color: {
142
- default: {
143
- svg: string;
144
- };
145
- primary: {
146
- svg: string;
147
- };
148
- secondary: {
149
- svg: string;
150
- };
151
- success: {
152
- svg: string;
153
- };
154
- warning: {
155
- svg: string;
156
- };
157
- danger: {
158
- svg: string;
159
- };
160
- };
161
- size: {
162
- sm: {
163
- svg: string;
164
- label: string;
165
- value: string;
166
- };
167
- md: {
168
- svg: string;
169
- label: string;
170
- value: string;
171
- };
172
- lg: {
173
- svg: string;
174
- label: string;
175
- value: string;
176
- };
177
- };
178
- isIndeterminate: {
179
- true: {
180
- svg: string;
181
- };
182
- };
183
- isDisabled: {
184
- true: {
185
- base: string;
186
- };
187
- };
188
- disableAnimation: {
189
- true: {};
190
- false: {
191
- indicator: string;
192
- };
193
- };
194
- }>, {
195
- color: {
196
- default: {
197
- svg: string;
198
- };
199
- primary: {
200
- svg: string;
201
- };
202
- secondary: {
203
- svg: string;
204
- };
205
- success: {
206
- svg: string;
207
- };
208
- warning: {
209
- svg: string;
210
- };
211
- danger: {
212
- svg: string;
213
- };
214
- };
215
- size: {
216
- sm: {
217
- svg: string;
218
- label: string;
219
- value: string;
220
- };
221
- md: {
222
- svg: string;
223
- label: string;
224
- value: string;
225
- };
226
- lg: {
227
- svg: string;
228
- label: string;
229
- value: string;
230
- };
231
- };
232
- isIndeterminate: {
233
- true: {
234
- svg: string;
235
- };
236
- };
237
- isDisabled: {
238
- true: {
239
- base: string;
240
- };
241
- };
242
- disableAnimation: {
243
- true: {};
244
- false: {
245
- indicator: string;
246
- };
247
- };
248
- }, {
249
- base: string;
250
- label: string;
251
- svgWrapper: string;
252
- svg: string;
253
- track: string;
254
- indicator: string;
255
- value: string;
256
- }, tailwind_variants.TVReturnType<{
257
- color: {
258
- default: {
259
- svg: string;
260
- };
261
- primary: {
262
- svg: string;
263
- };
264
- secondary: {
265
- svg: string;
266
- };
267
- success: {
268
- svg: string;
269
- };
270
- warning: {
271
- svg: string;
272
- };
273
- danger: {
274
- svg: string;
275
- };
276
- };
277
- size: {
278
- sm: {
279
- svg: string;
280
- label: string;
281
- value: string;
282
- };
283
- md: {
284
- svg: string;
285
- label: string;
286
- value: string;
287
- };
288
- lg: {
289
- svg: string;
290
- label: string;
291
- value: string;
292
- };
293
- };
294
- isIndeterminate: {
295
- true: {
296
- svg: string;
297
- };
298
- };
299
- isDisabled: {
300
- true: {
301
- base: string;
302
- };
303
- };
304
- disableAnimation: {
305
- true: {};
306
- false: {
307
- indicator: string;
308
- };
309
- };
310
- }, {
311
- base: string;
312
- label: string;
313
- svgWrapper: string;
314
- svg: string;
315
- track: string;
316
- indicator: string;
317
- value: string;
318
- }, undefined, tailwind_variants_dist_config.TVConfig<{
319
- color: {
320
- default: {
321
- svg: string;
322
- };
323
- primary: {
324
- svg: string;
325
- };
326
- secondary: {
327
- svg: string;
328
- };
329
- success: {
330
- svg: string;
331
- };
332
- warning: {
333
- svg: string;
334
- };
335
- danger: {
336
- svg: string;
337
- };
338
- };
339
- size: {
340
- sm: {
341
- svg: string;
342
- label: string;
343
- value: string;
344
- };
345
- md: {
346
- svg: string;
347
- label: string;
348
- value: string;
349
- };
350
- lg: {
351
- svg: string;
352
- label: string;
353
- value: string;
354
- };
355
- };
356
- isIndeterminate: {
357
- true: {
358
- svg: string;
359
- };
360
- };
361
- isDisabled: {
362
- true: {
363
- base: string;
364
- };
365
- };
366
- disableAnimation: {
367
- true: {};
368
- false: {
369
- indicator: string;
370
- };
371
- };
372
- }, {
373
- color: {
374
- default: {
375
- svg: string;
376
- };
377
- primary: {
378
- svg: string;
379
- };
380
- secondary: {
381
- svg: string;
382
- };
383
- success: {
384
- svg: string;
385
- };
386
- warning: {
387
- svg: string;
388
- };
389
- danger: {
390
- svg: string;
391
- };
392
- };
393
- size: {
394
- sm: {
395
- svg: string;
396
- label: string;
397
- value: string;
398
- };
399
- md: {
400
- svg: string;
401
- label: string;
402
- value: string;
403
- };
404
- lg: {
405
- svg: string;
406
- label: string;
407
- value: string;
408
- };
409
- };
410
- isIndeterminate: {
411
- true: {
412
- svg: string;
413
- };
414
- };
415
- isDisabled: {
416
- true: {
417
- base: string;
418
- };
419
- };
420
- disableAnimation: {
421
- true: {};
422
- false: {
423
- indicator: string;
424
- };
425
- };
426
- }>, unknown, unknown, undefined>>;
427
- type CircularProgressVariantProps = VariantProps<typeof circularProgress>;
428
- type CircularProgressSlots = keyof ReturnType<typeof circularProgress>;
429
-
430
- export { CircularProgressSlots, CircularProgressVariantProps, circularProgress };