@deepnoid/ui 0.1.113 → 0.1.115

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 (95) hide show
  1. package/.turbo/turbo-build.log +146 -146
  2. package/dist/{chunk-H6G6INED.mjs → chunk-7YCUFFKZ.mjs} +1 -1
  3. package/dist/{chunk-LXDKYJ5H.mjs → chunk-AHBBUMPX.mjs} +4 -4
  4. package/dist/{chunk-4NVZMJGS.mjs → chunk-AX3FVJMY.mjs} +1 -1
  5. package/dist/{chunk-3ER5WNGC.mjs → chunk-CEMBGO4V.mjs} +2 -2
  6. package/dist/{chunk-GAZ472ZU.mjs → chunk-CF7LIQF6.mjs} +54 -44
  7. package/dist/chunk-KIN2UK2C.mjs +132 -0
  8. package/dist/{chunk-JFWWH3LL.mjs → chunk-MTQGHQ7Z.mjs} +3 -3
  9. package/dist/{chunk-I7QMOYZO.mjs → chunk-NEBMBSKV.mjs} +4 -4
  10. package/dist/{chunk-6PNKRBUT.mjs → chunk-SZL743JC.mjs} +1 -1
  11. package/dist/{chunk-77EXMT5I.mjs → chunk-TMHYS2DC.mjs} +5 -5
  12. package/dist/{chunk-TLOKYBIC.mjs → chunk-UNYKQTEP.mjs} +4 -4
  13. package/dist/{chunk-2PZRTIRD.mjs → chunk-WKMBRUGX.mjs} +1 -1
  14. package/dist/components/backdrop/backdrop.mjs +2 -2
  15. package/dist/components/backdrop/index.mjs +2 -2
  16. package/dist/components/breadcrumb/breadcrumb.mjs +7 -7
  17. package/dist/components/breadcrumb/index.mjs +7 -7
  18. package/dist/components/button/button.js +1 -1
  19. package/dist/components/button/button.mjs +3 -3
  20. package/dist/components/button/icon-button.js +1 -1
  21. package/dist/components/button/icon-button.mjs +3 -3
  22. package/dist/components/button/index.js +1 -1
  23. package/dist/components/button/index.mjs +6 -6
  24. package/dist/components/button/text-button.mjs +2 -2
  25. package/dist/components/charts/barChart.js +54 -44
  26. package/dist/components/charts/barChart.mjs +1 -1
  27. package/dist/components/charts/circularProgress.d.mts +18 -33
  28. package/dist/components/charts/circularProgress.d.ts +18 -33
  29. package/dist/components/charts/circularProgress.js +56 -31
  30. package/dist/components/charts/circularProgress.mjs +1 -1
  31. package/dist/components/charts/index.js +110 -75
  32. package/dist/components/charts/index.mjs +2 -2
  33. package/dist/components/checkbox/checkbox.mjs +2 -2
  34. package/dist/components/checkbox/index.mjs +2 -2
  35. package/dist/components/chip/chip.mjs +1 -1
  36. package/dist/components/chip/index.mjs +1 -1
  37. package/dist/components/drawer/drawer.mjs +2 -2
  38. package/dist/components/drawer/index.mjs +2 -2
  39. package/dist/components/fileUpload/fileUpload.js +1 -1
  40. package/dist/components/fileUpload/fileUpload.mjs +9 -9
  41. package/dist/components/fileUpload/index.js +1 -1
  42. package/dist/components/fileUpload/index.mjs +9 -9
  43. package/dist/components/input/index.mjs +3 -3
  44. package/dist/components/input/input.mjs +3 -3
  45. package/dist/components/list/index.mjs +2 -2
  46. package/dist/components/list/listItem.mjs +2 -2
  47. package/dist/components/modal/index.js +1 -1
  48. package/dist/components/modal/index.mjs +8 -8
  49. package/dist/components/modal/modal.js +1 -1
  50. package/dist/components/modal/modal.mjs +8 -8
  51. package/dist/components/pagination/index.mjs +4 -4
  52. package/dist/components/pagination/pagination.mjs +4 -4
  53. package/dist/components/picker/datePicker.mjs +3 -3
  54. package/dist/components/picker/index.mjs +5 -5
  55. package/dist/components/picker/timePicker.mjs +4 -4
  56. package/dist/components/progress/index.mjs +2 -2
  57. package/dist/components/progress/progress.mjs +2 -2
  58. package/dist/components/radio/index.mjs +2 -2
  59. package/dist/components/radio/radio.mjs +2 -2
  60. package/dist/components/ripple/index.js +1 -1
  61. package/dist/components/ripple/index.mjs +1 -1
  62. package/dist/components/ripple/useRipple.js +1 -1
  63. package/dist/components/ripple/useRipple.mjs +1 -1
  64. package/dist/components/select/index.mjs +3 -3
  65. package/dist/components/select/select.mjs +3 -3
  66. package/dist/components/table/definition-table.mjs +2 -2
  67. package/dist/components/table/index.mjs +7 -7
  68. package/dist/components/table/table-body.mjs +6 -6
  69. package/dist/components/table/table-head.mjs +6 -6
  70. package/dist/components/table/table.mjs +6 -6
  71. package/dist/components/textarea/index.mjs +2 -2
  72. package/dist/components/textarea/textarea.mjs +2 -2
  73. package/dist/components/toast/index.mjs +5 -5
  74. package/dist/components/toast/toast.mjs +3 -3
  75. package/dist/components/toast/use-toast.mjs +4 -4
  76. package/dist/components/tree/index.mjs +2 -2
  77. package/dist/components/tree/tree.mjs +2 -2
  78. package/dist/index.js +111 -76
  79. package/dist/index.mjs +37 -37
  80. package/package.json +1 -1
  81. package/dist/chunk-ZWLRSZTC.mjs +0 -107
  82. package/dist/{chunk-AZ5SQYZE.mjs → chunk-2CLPU5LR.mjs} +3 -3
  83. package/dist/{chunk-K4XJAP6G.mjs → chunk-2VQM2ZBF.mjs} +3 -3
  84. package/dist/{chunk-3HXNAVAN.mjs → chunk-3CRSSRCH.mjs} +3 -3
  85. package/dist/{chunk-KY3W7MBV.mjs → chunk-3M6VYLOU.mjs} +3 -3
  86. package/dist/{chunk-KOELCZTB.mjs → chunk-5AEN7QTL.mjs} +3 -3
  87. package/dist/{chunk-NUELPELQ.mjs → chunk-AF4I7ZQS.mjs} +3 -3
  88. package/dist/{chunk-OMVVASRP.mjs → chunk-BFZ6OTVA.mjs} +3 -3
  89. package/dist/{chunk-3KWZHPVV.mjs → chunk-EDAREIAN.mjs} +3 -3
  90. package/dist/{chunk-AS2CSVBQ.mjs → chunk-FF56E2UQ.mjs} +3 -3
  91. package/dist/{chunk-TMI3QBKD.mjs → chunk-H6JGLPPF.mjs} +3 -3
  92. package/dist/{chunk-PYCIG6N3.mjs → chunk-L3WKBOWY.mjs} +3 -3
  93. package/dist/{chunk-XHSTRFLS.mjs → chunk-Q364C3FI.mjs} +3 -3
  94. package/dist/{chunk-S6ZXK2UP.mjs → chunk-QREBEXKF.mjs} +3 -3
  95. package/dist/{chunk-NO6RDCY7.mjs → chunk-S7Y7XUBL.mjs} +3 -3
@@ -378,8 +378,8 @@ var BarChartComponent = (0, import_react.forwardRef)((originalProps, ref) => {
378
378
  const slots = (0, import_react.useMemo)(() => barChartStyle({ ...variantProps }), [variantProps]);
379
379
  const COLOR_MAP = {
380
380
  primary: "#C7E5FA",
381
- secondary: "#DEC1FA",
382
- warning: "#F9C967"
381
+ secondary: "#92DCB2",
382
+ warning: "#DEC1FA"
383
383
  };
384
384
  const [tickPositions, setTickPositions] = (0, import_react.useState)([]);
385
385
  const tickRef = (0, import_react.useRef)([]);
@@ -430,54 +430,64 @@ var BarChartComponent = (0, import_react.forwardRef)((originalProps, ref) => {
430
430
  }, [data]);
431
431
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
432
432
  label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
433
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_recharts.BarChart, { data, margin: { left: -30 }, barSize: 20, barGap: 10, children: [
434
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
435
- import_recharts.CartesianGrid,
436
- {
437
- vertical: true,
438
- horizontal: false,
439
- strokeDasharray: "3 3",
440
- className: "stroke-neutral-light",
441
- verticalPoints: tickPositions
442
- }
443
- ),
444
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
445
- import_recharts.XAxis,
446
- {
447
- dataKey: "name",
448
- axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
449
- tickLine: false,
450
- tick: CustomTick,
451
- padding: { left: 32, right: 32 }
452
- }
453
- ),
454
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
455
- import_recharts.YAxis,
456
- {
457
- axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
458
- tickLine: false,
459
- tick: {
460
- fontSize: 12,
461
- fontWeight: 700,
462
- fill: "text-body-foreground",
463
- textAnchor: "middle",
464
- dx: -10
465
- },
466
- ticks: [0, 20, 40, 60, 80, 100],
467
- domain: [-6, 110]
468
- }
469
- ),
470
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.Bar, { dataKey: "avg", fill: COLOR_MAP.primary, width: 20, shape: CustomBarShape }),
471
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.Bar, { dataKey: "high", fill: COLOR_MAP.secondary, width: 20, shape: CustomBarShape }),
472
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.Bar, { dataKey: "low", fill: COLOR_MAP.warning, width: 20, shape: CustomBarShape })
473
- ] }) })
433
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
434
+ import_recharts.BarChart,
435
+ {
436
+ data,
437
+ margin: { left: -30 },
438
+ barSize: 20,
439
+ barGap: 10,
440
+ className: "[&_.recharts-surface]:outline-none [&_.recharts-surface]:focus:outline-none",
441
+ children: [
442
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
443
+ import_recharts.CartesianGrid,
444
+ {
445
+ vertical: true,
446
+ horizontal: false,
447
+ strokeDasharray: "3 3",
448
+ className: "stroke-neutral-light",
449
+ verticalPoints: tickPositions
450
+ }
451
+ ),
452
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
453
+ import_recharts.XAxis,
454
+ {
455
+ dataKey: "name",
456
+ axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
457
+ tickLine: false,
458
+ tick: CustomTick,
459
+ padding: { left: 32, right: 32 }
460
+ }
461
+ ),
462
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
463
+ import_recharts.YAxis,
464
+ {
465
+ axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
466
+ tickLine: false,
467
+ tick: {
468
+ fontSize: 12,
469
+ fontWeight: 700,
470
+ fill: "text-body-foreground",
471
+ textAnchor: "middle",
472
+ dx: -10
473
+ },
474
+ ticks: [0, 20, 40, 60, 80, 100],
475
+ domain: [-6, 110]
476
+ }
477
+ ),
478
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.Bar, { dataKey: "avg", fill: COLOR_MAP.primary, width: 20, shape: CustomBarShape }),
479
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.Bar, { dataKey: "high", fill: COLOR_MAP.secondary, width: 20, shape: CustomBarShape }),
480
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.Bar, { dataKey: "low", fill: COLOR_MAP.warning, width: 20, shape: CustomBarShape })
481
+ ]
482
+ }
483
+ ) })
474
484
  ] });
475
485
  });
476
486
  BarChartComponent.displayName = "barChart";
477
487
  var barChart_default = BarChartComponent;
478
488
  var barChartStyle = tv({
479
489
  slots: {
480
- base: ["flex", "flex-col", "gap-[10px]"],
490
+ base: ["flex", "flex-col", "gap-[10px]", "select-none"],
481
491
  label: ["text-md", "font-bold", "text-body-foreground"]
482
492
  },
483
493
  variants: {},
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  barChart_default
4
- } from "../../chunk-GAZ472ZU.mjs";
4
+ } from "../../chunk-CF7LIQF6.mjs";
5
5
  import "../../chunk-E3G5QXSH.mjs";
6
6
  import "../../chunk-CDXBML6O.mjs";
7
7
  import "../../chunk-AC6TWLRT.mjs";
@@ -15,75 +15,60 @@ declare const CircularProgress: react.ForwardRefExoticComponent<Props & Circular
15
15
 
16
16
  declare const circularProgressStyle: tailwind_variants.TVReturnType<{
17
17
  color: {
18
- primary: {
19
- background: string[];
18
+ blue: {
20
19
  progress: string[];
21
- text: string[];
22
20
  };
23
- secondary: {
24
- background: string[];
21
+ green: {
25
22
  progress: string[];
26
- text: string[];
27
23
  };
28
- warning: {
29
- background: string[];
24
+ pink: {
30
25
  progress: string[];
31
- text: string[];
32
26
  };
33
27
  };
34
28
  }, {
35
29
  base: string[];
36
- background: never[];
30
+ background: string[];
37
31
  progress: string[];
38
- text: string[];
32
+ percentage: string[];
33
+ unit: string[];
39
34
  label: string[];
40
35
  }, undefined, {
41
36
  color: {
42
- primary: {
43
- background: string[];
37
+ blue: {
44
38
  progress: string[];
45
- text: string[];
46
39
  };
47
- secondary: {
48
- background: string[];
40
+ green: {
49
41
  progress: string[];
50
- text: string[];
51
42
  };
52
- warning: {
53
- background: string[];
43
+ pink: {
54
44
  progress: string[];
55
- text: string[];
56
45
  };
57
46
  };
58
47
  }, {
59
48
  base: string[];
60
- background: never[];
49
+ background: string[];
61
50
  progress: string[];
62
- text: string[];
51
+ percentage: string[];
52
+ unit: string[];
63
53
  label: string[];
64
54
  }, tailwind_variants.TVReturnType<{
65
55
  color: {
66
- primary: {
67
- background: string[];
56
+ blue: {
68
57
  progress: string[];
69
- text: string[];
70
58
  };
71
- secondary: {
72
- background: string[];
59
+ green: {
73
60
  progress: string[];
74
- text: string[];
75
61
  };
76
- warning: {
77
- background: string[];
62
+ pink: {
78
63
  progress: string[];
79
- text: string[];
80
64
  };
81
65
  };
82
66
  }, {
83
67
  base: string[];
84
- background: never[];
68
+ background: string[];
85
69
  progress: string[];
86
- text: string[];
70
+ percentage: string[];
71
+ unit: string[];
87
72
  label: string[];
88
73
  }, undefined, unknown, unknown, undefined>>;
89
74
  type CircularProgressVariantProps = VariantProps<typeof circularProgressStyle>;
@@ -15,75 +15,60 @@ declare const CircularProgress: react.ForwardRefExoticComponent<Props & Circular
15
15
 
16
16
  declare const circularProgressStyle: tailwind_variants.TVReturnType<{
17
17
  color: {
18
- primary: {
19
- background: string[];
18
+ blue: {
20
19
  progress: string[];
21
- text: string[];
22
20
  };
23
- secondary: {
24
- background: string[];
21
+ green: {
25
22
  progress: string[];
26
- text: string[];
27
23
  };
28
- warning: {
29
- background: string[];
24
+ pink: {
30
25
  progress: string[];
31
- text: string[];
32
26
  };
33
27
  };
34
28
  }, {
35
29
  base: string[];
36
- background: never[];
30
+ background: string[];
37
31
  progress: string[];
38
- text: string[];
32
+ percentage: string[];
33
+ unit: string[];
39
34
  label: string[];
40
35
  }, undefined, {
41
36
  color: {
42
- primary: {
43
- background: string[];
37
+ blue: {
44
38
  progress: string[];
45
- text: string[];
46
39
  };
47
- secondary: {
48
- background: string[];
40
+ green: {
49
41
  progress: string[];
50
- text: string[];
51
42
  };
52
- warning: {
53
- background: string[];
43
+ pink: {
54
44
  progress: string[];
55
- text: string[];
56
45
  };
57
46
  };
58
47
  }, {
59
48
  base: string[];
60
- background: never[];
49
+ background: string[];
61
50
  progress: string[];
62
- text: string[];
51
+ percentage: string[];
52
+ unit: string[];
63
53
  label: string[];
64
54
  }, tailwind_variants.TVReturnType<{
65
55
  color: {
66
- primary: {
67
- background: string[];
56
+ blue: {
68
57
  progress: string[];
69
- text: string[];
70
58
  };
71
- secondary: {
72
- background: string[];
59
+ green: {
73
60
  progress: string[];
74
- text: string[];
75
61
  };
76
- warning: {
77
- background: string[];
62
+ pink: {
78
63
  progress: string[];
79
- text: string[];
80
64
  };
81
65
  };
82
66
  }, {
83
67
  base: string[];
84
- background: never[];
68
+ background: string[];
85
69
  progress: string[];
86
- text: string[];
70
+ percentage: string[];
71
+ unit: string[];
87
72
  label: string[];
88
73
  }, undefined, unknown, unknown, undefined>>;
89
74
  type CircularProgressVariantProps = VariantProps<typeof circularProgressStyle>;
@@ -381,8 +381,30 @@ var CircularProgress = (0, import_react.forwardRef)((originalProps, ref) => {
381
381
  }
382
382
  ];
383
383
  const BAR_SIZE = 24;
384
- const OUTER_RADIUS = 75;
384
+ const STROKE_WIDTH = 1;
385
+ const BORDER_MARGIN = 5;
386
+ const CONTAINER_PADDING = BORDER_MARGIN + STROKE_WIDTH + 1;
387
+ const OUTER_RADIUS = (size - CONTAINER_PADDING * 2) / 2;
385
388
  const INNER_RADIUS = OUTER_RADIUS - BAR_SIZE;
389
+ const BACKGROUND_RADIUS = (INNER_RADIUS + OUTER_RADIUS) / 2;
390
+ const gradientId = `gradient-${Math.random().toString(36).slice(2)}`;
391
+ const gradientColors = {
392
+ blue: {
393
+ start: "#DEC1FA",
394
+ end: "#3F9CF2"
395
+ },
396
+ green: {
397
+ start: "#C2E59C",
398
+ end: "#64B3F4"
399
+ },
400
+ pink: {
401
+ start: "#DDD6F3",
402
+ end: "#FAACA8"
403
+ }
404
+ };
405
+ const colorValue = originalProps.color;
406
+ const colorKey = colorValue || "blue";
407
+ const currentGradient = gradientColors[colorKey];
386
408
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
387
409
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative", style: { width: size, height: size }, children: [
388
410
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
@@ -390,40 +412,48 @@ var CircularProgress = (0, import_react.forwardRef)((originalProps, ref) => {
390
412
  {
391
413
  width: size,
392
414
  height: size,
393
- innerRadius: INNER_RADIUS,
415
+ innerRadius: INNER_RADIUS - 0.1,
394
416
  outerRadius: OUTER_RADIUS,
395
417
  barSize: BAR_SIZE,
396
418
  data,
397
419
  startAngle: 90,
398
420
  endAngle: -270,
399
421
  children: [
422
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "100%", children: [
423
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: "0%", stopColor: currentGradient.start }),
424
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: "100%", stopColor: currentGradient.end })
425
+ ] }) }),
400
426
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
401
427
  "circle",
402
428
  {
403
429
  cx: size / 2,
404
430
  cy: size / 2,
405
- r: OUTER_RADIUS,
406
- className: slots.background({ class: classNames == null ? void 0 : classNames.background }),
407
- fill: "currentColor"
431
+ r: OUTER_RADIUS + BORDER_MARGIN,
432
+ fill: "none",
433
+ stroke: "#DFE2E7",
434
+ strokeWidth: "1"
408
435
  }
409
436
  ),
410
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.PolarAngleAxis, { type: "number", domain: [0, 100], angleAxisId: 0, tick: false }),
411
437
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
412
- import_recharts.RadialBar,
438
+ "circle",
413
439
  {
414
- dataKey: "value",
415
- cornerRadius: 12,
416
- animationDuration: 1e3,
417
- className: slots.progress({ class: classNames == null ? void 0 : classNames.progress })
440
+ cx: size / 2,
441
+ cy: size / 2,
442
+ r: BACKGROUND_RADIUS,
443
+ fill: "none",
444
+ stroke: "rgba(0, 0, 0, 0.05)",
445
+ strokeWidth: BAR_SIZE
418
446
  }
419
- )
447
+ ),
448
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.PolarAngleAxis, { type: "number", domain: [0, 100], angleAxisId: 0, tick: false }),
449
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.RadialBar, { dataKey: "value", cornerRadius: 12, animationDuration: 1e3, fill: `url(#${gradientId})` })
420
450
  ]
421
451
  }
422
452
  ),
423
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: slots.text({ class: classNames == null ? void 0 : classNames.text }), children: [
424
- percentage,
425
- unit
426
- ] }) })
453
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "absolute inset-0 flex items-center justify-center", children: [
454
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.percentage({ class: classNames == null ? void 0 : classNames.percentage }), children: percentage }),
455
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.unit({ class: classNames == null ? void 0 : classNames.unit }), children: unit })
456
+ ] })
427
457
  ] }),
428
458
  label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label })
429
459
  ] });
@@ -433,31 +463,26 @@ var circularProgress_default = CircularProgress;
433
463
  var circularProgressStyle = tv({
434
464
  slots: {
435
465
  base: ["flex", "flex-col", "items-center", "gap-[20px]"],
436
- background: [],
466
+ background: ["fill-body-background", "border-neutral-light"],
437
467
  progress: ["transition-all", "duration-1000 ease-out"],
438
- text: ["text-xl", "font-bold"],
468
+ percentage: ["text-xl", "font-bold", "text-body-foreground"],
469
+ unit: ["text-md", "font-bold", "text-body-foreground"],
439
470
  label: ["text-md", "font-bold", "text-left", "text-body-foreground"]
440
471
  },
441
472
  variants: {
442
473
  color: {
443
- primary: {
444
- background: ["fill-primary-soft"],
445
- progress: ["fill-primary-main"],
446
- text: ["text-primary-dark"]
474
+ blue: {
475
+ progress: ["fill-blue-main"]
447
476
  },
448
- secondary: {
449
- background: ["fill-secondary-soft"],
450
- progress: ["fill-secondary-main"],
451
- text: ["text-secondary-dark"]
477
+ green: {
478
+ progress: ["fill-green-main"]
452
479
  },
453
- warning: {
454
- background: ["fill-warning-soft"],
455
- progress: ["fill-warning-main"],
456
- text: ["text-warning-dark"]
480
+ pink: {
481
+ progress: ["fill-pink-main"]
457
482
  }
458
483
  }
459
484
  },
460
485
  defaultVariants: {
461
- color: "primary"
486
+ color: "blue"
462
487
  }
463
488
  });
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  circularProgress_default
4
- } from "../../chunk-ZWLRSZTC.mjs";
4
+ } from "../../chunk-KIN2UK2C.mjs";
5
5
  import "../../chunk-E3G5QXSH.mjs";
6
6
  import "../../chunk-CDXBML6O.mjs";
7
7
  import "../../chunk-AC6TWLRT.mjs";