@deepnoid/ui 0.1.113 → 0.1.114

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 (81) hide show
  1. package/.turbo/turbo-build.log +158 -158
  2. package/dist/{chunk-3ER5WNGC.mjs → chunk-7VTZLHKM.mjs} +1 -1
  3. package/dist/{chunk-H6G6INED.mjs → chunk-7YCUFFKZ.mjs} +1 -1
  4. package/dist/{chunk-LXDKYJ5H.mjs → chunk-AHBBUMPX.mjs} +4 -4
  5. package/dist/{chunk-GAZ472ZU.mjs → chunk-CF7LIQF6.mjs} +54 -44
  6. package/dist/chunk-KIN2UK2C.mjs +132 -0
  7. package/dist/{chunk-JFWWH3LL.mjs → chunk-MTQGHQ7Z.mjs} +3 -3
  8. package/dist/{chunk-77EXMT5I.mjs → chunk-TMHYS2DC.mjs} +5 -5
  9. package/dist/{chunk-TLOKYBIC.mjs → chunk-UNYKQTEP.mjs} +4 -4
  10. package/dist/{chunk-I7QMOYZO.mjs → chunk-VIXHPIIF.mjs} +2 -2
  11. package/dist/components/backdrop/backdrop.mjs +2 -2
  12. package/dist/components/backdrop/index.mjs +2 -2
  13. package/dist/components/breadcrumb/breadcrumb.mjs +4 -4
  14. package/dist/components/breadcrumb/index.mjs +4 -4
  15. package/dist/components/button/button.mjs +1 -1
  16. package/dist/components/button/icon-button.mjs +1 -1
  17. package/dist/components/button/index.mjs +3 -3
  18. package/dist/components/button/text-button.mjs +2 -2
  19. package/dist/components/charts/barChart.js +54 -44
  20. package/dist/components/charts/barChart.mjs +1 -1
  21. package/dist/components/charts/circularProgress.d.mts +18 -33
  22. package/dist/components/charts/circularProgress.d.ts +18 -33
  23. package/dist/components/charts/circularProgress.js +56 -31
  24. package/dist/components/charts/circularProgress.mjs +1 -1
  25. package/dist/components/charts/index.js +110 -75
  26. package/dist/components/charts/index.mjs +2 -2
  27. package/dist/components/checkbox/checkbox.mjs +2 -2
  28. package/dist/components/checkbox/index.mjs +2 -2
  29. package/dist/components/chip/chip.mjs +1 -1
  30. package/dist/components/chip/index.mjs +1 -1
  31. package/dist/components/drawer/drawer.mjs +2 -2
  32. package/dist/components/drawer/index.mjs +2 -2
  33. package/dist/components/fileUpload/fileUpload.mjs +6 -6
  34. package/dist/components/fileUpload/index.mjs +6 -6
  35. package/dist/components/input/index.mjs +3 -3
  36. package/dist/components/input/input.mjs +3 -3
  37. package/dist/components/list/index.mjs +2 -2
  38. package/dist/components/list/listItem.mjs +2 -2
  39. package/dist/components/modal/index.mjs +5 -5
  40. package/dist/components/modal/modal.mjs +5 -5
  41. package/dist/components/pagination/index.mjs +4 -4
  42. package/dist/components/pagination/pagination.mjs +4 -4
  43. package/dist/components/picker/datePicker.mjs +3 -3
  44. package/dist/components/picker/index.mjs +5 -5
  45. package/dist/components/picker/timePicker.mjs +4 -4
  46. package/dist/components/progress/index.mjs +2 -2
  47. package/dist/components/progress/progress.mjs +2 -2
  48. package/dist/components/radio/index.mjs +2 -2
  49. package/dist/components/radio/radio.mjs +2 -2
  50. package/dist/components/select/index.mjs +3 -3
  51. package/dist/components/select/select.mjs +3 -3
  52. package/dist/components/table/definition-table.mjs +2 -2
  53. package/dist/components/table/index.mjs +9 -9
  54. package/dist/components/table/table-body.mjs +6 -6
  55. package/dist/components/table/table-head.mjs +6 -6
  56. package/dist/components/table/table.mjs +6 -6
  57. package/dist/components/textarea/index.mjs +2 -2
  58. package/dist/components/textarea/textarea.mjs +2 -2
  59. package/dist/components/toast/index.mjs +5 -5
  60. package/dist/components/toast/toast.mjs +3 -3
  61. package/dist/components/toast/use-toast.mjs +4 -4
  62. package/dist/components/tree/index.mjs +2 -2
  63. package/dist/components/tree/tree.mjs +2 -2
  64. package/dist/index.js +110 -75
  65. package/dist/index.mjs +41 -41
  66. package/package.json +1 -1
  67. package/dist/chunk-ZWLRSZTC.mjs +0 -107
  68. package/dist/{chunk-AZ5SQYZE.mjs → chunk-2CLPU5LR.mjs} +3 -3
  69. package/dist/{chunk-K4XJAP6G.mjs → chunk-2VQM2ZBF.mjs} +3 -3
  70. package/dist/{chunk-3HXNAVAN.mjs → chunk-3CRSSRCH.mjs} +3 -3
  71. package/dist/{chunk-KY3W7MBV.mjs → chunk-3M6VYLOU.mjs} +3 -3
  72. package/dist/{chunk-KOELCZTB.mjs → chunk-5AEN7QTL.mjs} +3 -3
  73. package/dist/{chunk-NUELPELQ.mjs → chunk-AF4I7ZQS.mjs} +3 -3
  74. package/dist/{chunk-OMVVASRP.mjs → chunk-BFZ6OTVA.mjs} +3 -3
  75. package/dist/{chunk-3KWZHPVV.mjs → chunk-EDAREIAN.mjs} +3 -3
  76. package/dist/{chunk-AS2CSVBQ.mjs → chunk-FF56E2UQ.mjs} +3 -3
  77. package/dist/{chunk-TMI3QBKD.mjs → chunk-H6JGLPPF.mjs} +3 -3
  78. package/dist/{chunk-PYCIG6N3.mjs → chunk-L3WKBOWY.mjs} +3 -3
  79. package/dist/{chunk-XHSTRFLS.mjs → chunk-Q364C3FI.mjs} +3 -3
  80. package/dist/{chunk-S6ZXK2UP.mjs → chunk-QREBEXKF.mjs} +3 -3
  81. package/dist/{chunk-NO6RDCY7.mjs → chunk-S7Y7XUBL.mjs} +3 -3
@@ -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";
@@ -386,8 +386,30 @@ var CircularProgress = (0, import_react.forwardRef)((originalProps, ref) => {
386
386
  }
387
387
  ];
388
388
  const BAR_SIZE = 24;
389
- const OUTER_RADIUS = 75;
389
+ const STROKE_WIDTH = 1;
390
+ const BORDER_MARGIN = 5;
391
+ const CONTAINER_PADDING = BORDER_MARGIN + STROKE_WIDTH + 1;
392
+ const OUTER_RADIUS = (size - CONTAINER_PADDING * 2) / 2;
390
393
  const INNER_RADIUS = OUTER_RADIUS - BAR_SIZE;
394
+ const BACKGROUND_RADIUS = (INNER_RADIUS + OUTER_RADIUS) / 2;
395
+ const gradientId = `gradient-${Math.random().toString(36).slice(2)}`;
396
+ const gradientColors = {
397
+ blue: {
398
+ start: "#DEC1FA",
399
+ end: "#3F9CF2"
400
+ },
401
+ green: {
402
+ start: "#C2E59C",
403
+ end: "#64B3F4"
404
+ },
405
+ pink: {
406
+ start: "#DDD6F3",
407
+ end: "#FAACA8"
408
+ }
409
+ };
410
+ const colorValue = originalProps.color;
411
+ const colorKey = colorValue || "blue";
412
+ const currentGradient = gradientColors[colorKey];
391
413
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
392
414
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative", style: { width: size, height: size }, children: [
393
415
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
@@ -395,40 +417,48 @@ var CircularProgress = (0, import_react.forwardRef)((originalProps, ref) => {
395
417
  {
396
418
  width: size,
397
419
  height: size,
398
- innerRadius: INNER_RADIUS,
420
+ innerRadius: INNER_RADIUS - 0.1,
399
421
  outerRadius: OUTER_RADIUS,
400
422
  barSize: BAR_SIZE,
401
423
  data,
402
424
  startAngle: 90,
403
425
  endAngle: -270,
404
426
  children: [
427
+ /* @__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: [
428
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: "0%", stopColor: currentGradient.start }),
429
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: "100%", stopColor: currentGradient.end })
430
+ ] }) }),
405
431
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
406
432
  "circle",
407
433
  {
408
434
  cx: size / 2,
409
435
  cy: size / 2,
410
- r: OUTER_RADIUS,
411
- className: slots.background({ class: classNames == null ? void 0 : classNames.background }),
412
- fill: "currentColor"
436
+ r: OUTER_RADIUS + BORDER_MARGIN,
437
+ fill: "none",
438
+ stroke: "#DFE2E7",
439
+ strokeWidth: "1"
413
440
  }
414
441
  ),
415
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.PolarAngleAxis, { type: "number", domain: [0, 100], angleAxisId: 0, tick: false }),
416
442
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
417
- import_recharts.RadialBar,
443
+ "circle",
418
444
  {
419
- dataKey: "value",
420
- cornerRadius: 12,
421
- animationDuration: 1e3,
422
- className: slots.progress({ class: classNames == null ? void 0 : classNames.progress })
445
+ cx: size / 2,
446
+ cy: size / 2,
447
+ r: BACKGROUND_RADIUS,
448
+ fill: "none",
449
+ stroke: "rgba(0, 0, 0, 0.05)",
450
+ strokeWidth: BAR_SIZE
423
451
  }
424
- )
452
+ ),
453
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.PolarAngleAxis, { type: "number", domain: [0, 100], angleAxisId: 0, tick: false }),
454
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.RadialBar, { dataKey: "value", cornerRadius: 12, animationDuration: 1e3, fill: `url(#${gradientId})` })
425
455
  ]
426
456
  }
427
457
  ),
428
- /* @__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: [
429
- percentage,
430
- unit
431
- ] }) })
458
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "absolute inset-0 flex items-center justify-center", children: [
459
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.percentage({ class: classNames == null ? void 0 : classNames.percentage }), children: percentage }),
460
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.unit({ class: classNames == null ? void 0 : classNames.unit }), children: unit })
461
+ ] })
432
462
  ] }),
433
463
  label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label })
434
464
  ] });
@@ -438,32 +468,27 @@ var circularProgress_default = CircularProgress;
438
468
  var circularProgressStyle = tv({
439
469
  slots: {
440
470
  base: ["flex", "flex-col", "items-center", "gap-[20px]"],
441
- background: [],
471
+ background: ["fill-body-background", "border-neutral-light"],
442
472
  progress: ["transition-all", "duration-1000 ease-out"],
443
- text: ["text-xl", "font-bold"],
473
+ percentage: ["text-xl", "font-bold", "text-body-foreground"],
474
+ unit: ["text-md", "font-bold", "text-body-foreground"],
444
475
  label: ["text-md", "font-bold", "text-left", "text-body-foreground"]
445
476
  },
446
477
  variants: {
447
478
  color: {
448
- primary: {
449
- background: ["fill-primary-soft"],
450
- progress: ["fill-primary-main"],
451
- text: ["text-primary-dark"]
479
+ blue: {
480
+ progress: ["fill-blue-main"]
452
481
  },
453
- secondary: {
454
- background: ["fill-secondary-soft"],
455
- progress: ["fill-secondary-main"],
456
- text: ["text-secondary-dark"]
482
+ green: {
483
+ progress: ["fill-green-main"]
457
484
  },
458
- warning: {
459
- background: ["fill-warning-soft"],
460
- progress: ["fill-warning-main"],
461
- text: ["text-warning-dark"]
485
+ pink: {
486
+ progress: ["fill-pink-main"]
462
487
  }
463
488
  }
464
489
  },
465
490
  defaultVariants: {
466
- color: "primary"
491
+ color: "blue"
467
492
  }
468
493
  });
469
494
 
@@ -613,8 +638,8 @@ var BarChartComponent = (0, import_react3.forwardRef)((originalProps, ref) => {
613
638
  const slots = (0, import_react3.useMemo)(() => barChartStyle({ ...variantProps }), [variantProps]);
614
639
  const COLOR_MAP = {
615
640
  primary: "#C7E5FA",
616
- secondary: "#DEC1FA",
617
- warning: "#F9C967"
641
+ secondary: "#92DCB2",
642
+ warning: "#DEC1FA"
618
643
  };
619
644
  const [tickPositions, setTickPositions] = (0, import_react3.useState)([]);
620
645
  const tickRef = (0, import_react3.useRef)([]);
@@ -665,54 +690,64 @@ var BarChartComponent = (0, import_react3.forwardRef)((originalProps, ref) => {
665
690
  }, [data]);
666
691
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
667
692
  label && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
668
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_recharts3.BarChart, { data, margin: { left: -30 }, barSize: 20, barGap: 10, children: [
669
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
670
- import_recharts3.CartesianGrid,
671
- {
672
- vertical: true,
673
- horizontal: false,
674
- strokeDasharray: "3 3",
675
- className: "stroke-neutral-light",
676
- verticalPoints: tickPositions
677
- }
678
- ),
679
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
680
- import_recharts3.XAxis,
681
- {
682
- dataKey: "name",
683
- axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
684
- tickLine: false,
685
- tick: CustomTick,
686
- padding: { left: 32, right: 32 }
687
- }
688
- ),
689
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
690
- import_recharts3.YAxis,
691
- {
692
- axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
693
- tickLine: false,
694
- tick: {
695
- fontSize: 12,
696
- fontWeight: 700,
697
- fill: "text-body-foreground",
698
- textAnchor: "middle",
699
- dx: -10
700
- },
701
- ticks: [0, 20, 40, 60, 80, 100],
702
- domain: [-6, 110]
703
- }
704
- ),
705
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.Bar, { dataKey: "avg", fill: COLOR_MAP.primary, width: 20, shape: CustomBarShape }),
706
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.Bar, { dataKey: "high", fill: COLOR_MAP.secondary, width: 20, shape: CustomBarShape }),
707
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.Bar, { dataKey: "low", fill: COLOR_MAP.warning, width: 20, shape: CustomBarShape })
708
- ] }) })
693
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
694
+ import_recharts3.BarChart,
695
+ {
696
+ data,
697
+ margin: { left: -30 },
698
+ barSize: 20,
699
+ barGap: 10,
700
+ className: "[&_.recharts-surface]:outline-none [&_.recharts-surface]:focus:outline-none",
701
+ children: [
702
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
703
+ import_recharts3.CartesianGrid,
704
+ {
705
+ vertical: true,
706
+ horizontal: false,
707
+ strokeDasharray: "3 3",
708
+ className: "stroke-neutral-light",
709
+ verticalPoints: tickPositions
710
+ }
711
+ ),
712
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
713
+ import_recharts3.XAxis,
714
+ {
715
+ dataKey: "name",
716
+ axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
717
+ tickLine: false,
718
+ tick: CustomTick,
719
+ padding: { left: 32, right: 32 }
720
+ }
721
+ ),
722
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
723
+ import_recharts3.YAxis,
724
+ {
725
+ axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
726
+ tickLine: false,
727
+ tick: {
728
+ fontSize: 12,
729
+ fontWeight: 700,
730
+ fill: "text-body-foreground",
731
+ textAnchor: "middle",
732
+ dx: -10
733
+ },
734
+ ticks: [0, 20, 40, 60, 80, 100],
735
+ domain: [-6, 110]
736
+ }
737
+ ),
738
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.Bar, { dataKey: "avg", fill: COLOR_MAP.primary, width: 20, shape: CustomBarShape }),
739
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.Bar, { dataKey: "high", fill: COLOR_MAP.secondary, width: 20, shape: CustomBarShape }),
740
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_recharts3.Bar, { dataKey: "low", fill: COLOR_MAP.warning, width: 20, shape: CustomBarShape })
741
+ ]
742
+ }
743
+ ) })
709
744
  ] });
710
745
  });
711
746
  BarChartComponent.displayName = "barChart";
712
747
  var barChart_default = BarChartComponent;
713
748
  var barChartStyle = tv({
714
749
  slots: {
715
- base: ["flex", "flex-col", "gap-[10px]"],
750
+ base: ["flex", "flex-col", "gap-[10px]", "select-none"],
716
751
  label: ["text-md", "font-bold", "text-body-foreground"]
717
752
  },
718
753
  variants: {},
@@ -5,10 +5,10 @@ import {
5
5
  } from "../../chunk-WIZDHK4O.mjs";
6
6
  import {
7
7
  barChart_default
8
- } from "../../chunk-GAZ472ZU.mjs";
8
+ } from "../../chunk-CF7LIQF6.mjs";
9
9
  import {
10
10
  circularProgress_default
11
- } from "../../chunk-ZWLRSZTC.mjs";
11
+ } from "../../chunk-KIN2UK2C.mjs";
12
12
  import {
13
13
  radarChart_default
14
14
  } from "../../chunk-63KZGR73.mjs";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  checkbox_default
4
- } from "../../chunk-TMI3QBKD.mjs";
5
- import "../../chunk-27Y6K5NK.mjs";
4
+ } from "../../chunk-H6JGLPPF.mjs";
6
5
  import "../../chunk-E3G5QXSH.mjs";
7
6
  import "../../chunk-CDXBML6O.mjs";
7
+ import "../../chunk-27Y6K5NK.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
10
10
  checkbox_default as default
@@ -2,10 +2,10 @@
2
2
  import "../../chunk-QZ3LVYJW.mjs";
3
3
  import {
4
4
  checkbox_default
5
- } from "../../chunk-TMI3QBKD.mjs";
6
- import "../../chunk-27Y6K5NK.mjs";
5
+ } from "../../chunk-H6JGLPPF.mjs";
7
6
  import "../../chunk-E3G5QXSH.mjs";
8
7
  import "../../chunk-CDXBML6O.mjs";
8
+ import "../../chunk-27Y6K5NK.mjs";
9
9
  import "../../chunk-AC6TWLRT.mjs";
10
10
  export {
11
11
  checkbox_default as CheckBox
@@ -4,8 +4,8 @@ import {
4
4
  } from "../../chunk-BKYNB52Z.mjs";
5
5
  import "../../chunk-ZYIIXWVY.mjs";
6
6
  import "../../chunk-FU4CDBVG.mjs";
7
- import "../../chunk-DDJ2EU3P.mjs";
8
7
  import "../../chunk-E3G5QXSH.mjs";
8
+ import "../../chunk-DDJ2EU3P.mjs";
9
9
  import "../../chunk-CDXBML6O.mjs";
10
10
  import "../../chunk-AC6TWLRT.mjs";
11
11
  export {
@@ -5,8 +5,8 @@ import {
5
5
  } from "../../chunk-BKYNB52Z.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-FU4CDBVG.mjs";
8
- import "../../chunk-DDJ2EU3P.mjs";
9
8
  import "../../chunk-E3G5QXSH.mjs";
9
+ import "../../chunk-DDJ2EU3P.mjs";
10
10
  import "../../chunk-CDXBML6O.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {