@deepnoid/ui 0.1.123 → 0.1.124

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 (107) hide show
  1. package/.turbo/turbo-build.log +180 -180
  2. package/dist/{chunk-5MINOKNM.mjs → chunk-2GFE25AI.mjs} +1 -1
  3. package/dist/{chunk-4DESGO3D.mjs → chunk-2TDHQLVV.mjs} +1 -1
  4. package/dist/{chunk-XOUAUSP4.mjs → chunk-3HY74IGR.mjs} +1 -1
  5. package/dist/{chunk-H6JGLPPF.mjs → chunk-3U5NJTRH.mjs} +1 -1
  6. package/dist/{chunk-27K5BTEL.mjs → chunk-3ZF7LQOM.mjs} +5 -5
  7. package/dist/{chunk-S7Y7XUBL.mjs → chunk-5XV45JBV.mjs} +1 -1
  8. package/dist/{chunk-VB5NKWJG.mjs → chunk-5XW5QDIW.mjs} +1 -1
  9. package/dist/{chunk-6JLHCQH7.mjs → chunk-6UKNZTOL.mjs} +1 -1
  10. package/dist/{chunk-CDXBML6O.mjs → chunk-76QIZILI.mjs} +6 -3
  11. package/dist/{chunk-NBJHZ4X2.mjs → chunk-BBRPAQON.mjs} +1 -1
  12. package/dist/{chunk-RVFSQFWS.mjs → chunk-C5IJSWWJ.mjs} +4 -4
  13. package/dist/{chunk-I3ADJOUT.mjs → chunk-CVXLLXLE.mjs} +1 -1
  14. package/dist/{chunk-LOYDOCOR.mjs → chunk-F4ORNNYB.mjs} +2 -2
  15. package/dist/{chunk-ITWKPTSD.mjs → chunk-GUTGDPXH.mjs} +1 -1
  16. package/dist/{chunk-3F6OF2QS.mjs → chunk-HKONMHXA.mjs} +1 -1
  17. package/dist/{chunk-ITDBI3X2.mjs → chunk-HO533YTO.mjs} +8 -8
  18. package/dist/chunk-IHLCZM5T.mjs +198 -0
  19. package/dist/{chunk-AF4I7ZQS.mjs → chunk-IW2MDZBW.mjs} +1 -1
  20. package/dist/{chunk-FF56E2UQ.mjs → chunk-J7IIHQNA.mjs} +1 -1
  21. package/dist/{chunk-DD6HAIW3.mjs → chunk-KJ7L6CO6.mjs} +1 -1
  22. package/dist/{chunk-HX64P3XQ.mjs → chunk-KRGI6HW7.mjs} +2 -2
  23. package/dist/{chunk-GZEAMYAO.mjs → chunk-LX7NPKFE.mjs} +1 -1
  24. package/dist/{chunk-2CLPU5LR.mjs → chunk-MCBAEW2Q.mjs} +1 -1
  25. package/dist/{chunk-JGQ5MLQ7.mjs → chunk-OEFILEL3.mjs} +1 -1
  26. package/dist/{chunk-VOKDAIUY.mjs → chunk-OL22LVBG.mjs} +1 -1
  27. package/dist/{chunk-3IILPVRA.mjs → chunk-P3PXIJTU.mjs} +1 -1
  28. package/dist/{chunk-E2LGBO2H.mjs → chunk-QXYGQPY3.mjs} +2 -2
  29. package/dist/{chunk-Q364C3FI.mjs → chunk-SDUDU3CU.mjs} +1 -1
  30. package/dist/{chunk-D6MHTE5L.mjs → chunk-SJNXRXV5.mjs} +1 -1
  31. package/dist/{chunk-DLNGJVFS.mjs → chunk-TSBG5FXL.mjs} +1 -1
  32. package/dist/{chunk-OGJONB7G.mjs → chunk-WNNOVISA.mjs} +1 -1
  33. package/dist/{chunk-AT6GNVOQ.mjs → chunk-WOGNHRNX.mjs} +1 -1
  34. package/dist/{chunk-2IOTRPCS.mjs → chunk-WUGITHV6.mjs} +4 -4
  35. package/dist/{chunk-EKLA6ZR4.mjs → chunk-XL3K55LE.mjs} +1 -1
  36. package/dist/{chunk-VEBJS4SC.mjs → chunk-Y3CGQN3I.mjs} +3 -3
  37. package/dist/{chunk-YBVJFHH6.mjs → chunk-YGOX6FBU.mjs} +1 -1
  38. package/dist/components/accordion/accordion.mjs +2 -2
  39. package/dist/components/accordion/accordionItem.mjs +2 -2
  40. package/dist/components/accordion/index.mjs +3 -3
  41. package/dist/components/avatar/avatar.mjs +2 -2
  42. package/dist/components/avatar/index.mjs +2 -2
  43. package/dist/components/backdrop/backdrop.mjs +2 -2
  44. package/dist/components/backdrop/index.mjs +2 -2
  45. package/dist/components/breadcrumb/breadcrumb.mjs +6 -6
  46. package/dist/components/breadcrumb/index.mjs +6 -6
  47. package/dist/components/button/button-group.mjs +2 -2
  48. package/dist/components/button/button.mjs +2 -2
  49. package/dist/components/button/icon-button.mjs +2 -2
  50. package/dist/components/button/index.mjs +7 -7
  51. package/dist/components/button/text-button.mjs +2 -2
  52. package/dist/components/charts/areaChart.d.mts +5 -0
  53. package/dist/components/charts/areaChart.d.ts +5 -0
  54. package/dist/components/charts/areaChart.js +191 -73
  55. package/dist/components/charts/areaChart.mjs +5 -2
  56. package/dist/components/charts/barChart.mjs +2 -2
  57. package/dist/components/charts/circularProgress.mjs +2 -2
  58. package/dist/components/charts/index.js +225 -105
  59. package/dist/components/charts/index.mjs +10 -7
  60. package/dist/components/charts/radarChart.mjs +2 -2
  61. package/dist/components/checkbox/checkbox.mjs +2 -2
  62. package/dist/components/checkbox/index.mjs +2 -2
  63. package/dist/components/chip/chip.mjs +2 -2
  64. package/dist/components/chip/index.mjs +2 -2
  65. package/dist/components/drawer/drawer.mjs +2 -2
  66. package/dist/components/drawer/index.mjs +2 -2
  67. package/dist/components/fileUpload/fileUpload.mjs +8 -8
  68. package/dist/components/fileUpload/index.mjs +8 -8
  69. package/dist/components/input/index.mjs +2 -2
  70. package/dist/components/input/input.mjs +2 -2
  71. package/dist/components/list/index.mjs +4 -4
  72. package/dist/components/list/list.mjs +2 -2
  73. package/dist/components/list/listItem.mjs +3 -3
  74. package/dist/components/modal/index.mjs +7 -7
  75. package/dist/components/modal/modal.mjs +7 -7
  76. package/dist/components/pagination/index.mjs +3 -3
  77. package/dist/components/pagination/pagination.mjs +3 -3
  78. package/dist/components/picker/datePicker.mjs +8 -8
  79. package/dist/components/picker/day.mjs +2 -2
  80. package/dist/components/picker/index.mjs +13 -13
  81. package/dist/components/picker/timePicker.mjs +3 -3
  82. package/dist/components/progress/index.mjs +2 -2
  83. package/dist/components/progress/progress.mjs +2 -2
  84. package/dist/components/radio/index.mjs +2 -2
  85. package/dist/components/radio/radio.mjs +2 -2
  86. package/dist/components/select/index.mjs +2 -2
  87. package/dist/components/select/select.mjs +2 -2
  88. package/dist/components/table/definition-table.mjs +2 -2
  89. package/dist/components/table/form-table.mjs +1 -1
  90. package/dist/components/table/index.mjs +8 -8
  91. package/dist/components/table/table-body.mjs +7 -7
  92. package/dist/components/table/table-head.mjs +7 -7
  93. package/dist/components/table/table.mjs +7 -7
  94. package/dist/components/tabs/index.mjs +2 -2
  95. package/dist/components/tabs/tabs.mjs +2 -2
  96. package/dist/components/toast/index.mjs +3 -3
  97. package/dist/components/toast/toast.mjs +2 -2
  98. package/dist/components/toast/use-toast.mjs +3 -3
  99. package/dist/components/tooltip/index.mjs +2 -2
  100. package/dist/components/tooltip/tooltip.mjs +2 -2
  101. package/dist/components/tree/index.mjs +2 -2
  102. package/dist/components/tree/tree.mjs +2 -2
  103. package/dist/index.js +112 -69
  104. package/dist/index.mjs +63 -63
  105. package/dist/utils/tailwind-variants.mjs +1 -1
  106. package/package.json +1 -1
  107. package/dist/chunk-QKRCC26D.mjs +0 -155
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-YZ57UYAS.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
  import {
9
9
  clsx
10
10
  } from "./chunk-27Y6K5NK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
 
9
9
  // src/components/picker/day.tsx
10
10
  import { forwardRef, useMemo } from "react";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-E3G5QXSH.mjs";
14
14
  import {
15
15
  tv
16
- } from "./chunk-CDXBML6O.mjs";
16
+ } from "./chunk-76QIZILI.mjs";
17
17
 
18
18
  // src/components/button/button.tsx
19
19
  import {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
  import {
9
9
  clsx
10
10
  } from "./chunk-27Y6K5NK.mjs";
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  skeleton_default
4
4
  } from "./chunk-6PN3DGOE.mjs";
5
- import {
6
- scrollArea_default
7
- } from "./chunk-M37VBNB3.mjs";
8
5
  import {
9
6
  pagination_default
10
- } from "./chunk-HX64P3XQ.mjs";
7
+ } from "./chunk-KRGI6HW7.mjs";
11
8
  import {
12
9
  checkbox_default
13
- } from "./chunk-H6JGLPPF.mjs";
10
+ } from "./chunk-3U5NJTRH.mjs";
11
+ import {
12
+ scrollArea_default
13
+ } from "./chunk-M37VBNB3.mjs";
14
14
  import {
15
15
  mapPropsVariants
16
16
  } from "./chunk-E3G5QXSH.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
  import {
9
9
  clsx
10
10
  } from "./chunk-27Y6K5NK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
 
9
9
  // src/components/charts/circularProgress.tsx
10
10
  import { RadialBarChart, RadialBar, PolarAngleAxis } from "recharts";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-E3G5QXSH.mjs";
14
14
  import {
15
15
  tv
16
- } from "./chunk-CDXBML6O.mjs";
16
+ } from "./chunk-76QIZILI.mjs";
17
17
 
18
18
  // src/components/button/icon-button.tsx
19
19
  import { forwardRef, useMemo, useCallback } from "react";
@@ -468,7 +468,8 @@ var scrollbar = {
468
468
  height: "6px"
469
469
  },
470
470
  "&::-webkit-scrollbar-thumb": {
471
- backgroundColor: "rgba(0, 0, 0, 0.05)",
471
+ backgroundColor: "#3F9CF2",
472
+ // "rgba(0, 0, 0, 0.05)",
472
473
  borderRadius: "100px"
473
474
  },
474
475
  "&::-webkit-scrollbar-track": {
@@ -481,7 +482,8 @@ var scrollbar = {
481
482
  height: "8px"
482
483
  },
483
484
  "&::-webkit-scrollbar-thumb": {
484
- backgroundColor: "rgba(0, 0, 0, 0.05)",
485
+ backgroundColor: "#3F9CF2",
486
+ // "rgba(0, 0, 0, 0.05)",
485
487
  borderRadius: "100px"
486
488
  },
487
489
  "&::-webkit-scrollbar-track": {
@@ -494,7 +496,8 @@ var scrollbar = {
494
496
  height: "10px"
495
497
  },
496
498
  "&::-webkit-scrollbar-thumb": {
497
- backgroundColor: "rgba(0, 0, 0, 0.05)",
499
+ backgroundColor: "#3F9CF2",
500
+ // "rgba(0, 0, 0, 0.05)",
498
501
  borderRadius: "100px"
499
502
  },
500
503
  "&::-webkit-scrollbar-track": {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
 
9
9
  // src/components/tabs/tabs.tsx
10
10
  import { forwardRef, useCallback, useMemo, useState } from "react";
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import {
3
3
  progress_default
4
- } from "./chunk-2CLPU5LR.mjs";
4
+ } from "./chunk-MCBAEW2Q.mjs";
5
5
  import {
6
6
  input_default
7
- } from "./chunk-3F6OF2QS.mjs";
7
+ } from "./chunk-HKONMHXA.mjs";
8
8
  import {
9
9
  button_default
10
- } from "./chunk-XOUAUSP4.mjs";
10
+ } from "./chunk-3HY74IGR.mjs";
11
11
  import {
12
12
  icon_button_default
13
- } from "./chunk-6JLHCQH7.mjs";
13
+ } from "./chunk-6UKNZTOL.mjs";
14
14
 
15
15
  // src/components/fileUpload/fileUpload.tsx
16
16
  import { useRef, useState, useEffect } from "react";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
 
9
9
  // src/components/accordion/accordionItem.tsx
10
10
  import {
@@ -7,10 +7,10 @@ import {
7
7
  } from "./chunk-E3G5QXSH.mjs";
8
8
  import {
9
9
  avatar_default
10
- } from "./chunk-VOKDAIUY.mjs";
10
+ } from "./chunk-OL22LVBG.mjs";
11
11
  import {
12
12
  tv
13
- } from "./chunk-CDXBML6O.mjs";
13
+ } from "./chunk-76QIZILI.mjs";
14
14
 
15
15
  // src/components/list/listItem.tsx
16
16
  import { forwardRef, useMemo } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  tv
4
- } from "./chunk-CDXBML6O.mjs";
4
+ } from "./chunk-76QIZILI.mjs";
5
5
 
6
6
  // src/components/button/button-group.tsx
7
7
  import React, { forwardRef } from "react";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-E3G5QXSH.mjs";
8
8
  import {
9
9
  tv
10
- } from "./chunk-CDXBML6O.mjs";
10
+ } from "./chunk-76QIZILI.mjs";
11
11
  import {
12
12
  clsx
13
13
  } from "./chunk-27Y6K5NK.mjs";
@@ -5,28 +5,28 @@ import {
5
5
  } from "./chunk-FWFEKWWD.mjs";
6
6
  import {
7
7
  day_default
8
- } from "./chunk-4DESGO3D.mjs";
8
+ } from "./chunk-2TDHQLVV.mjs";
9
9
  import {
10
10
  input_default
11
- } from "./chunk-3F6OF2QS.mjs";
12
- import {
13
- text_button_default
14
- } from "./chunk-Q364C3FI.mjs";
11
+ } from "./chunk-HKONMHXA.mjs";
15
12
  import {
16
13
  button_default
17
- } from "./chunk-XOUAUSP4.mjs";
14
+ } from "./chunk-3HY74IGR.mjs";
18
15
  import {
19
16
  icon_button_default
20
- } from "./chunk-6JLHCQH7.mjs";
17
+ } from "./chunk-6UKNZTOL.mjs";
21
18
  import {
22
19
  Icon_default
23
20
  } from "./chunk-YZ57UYAS.mjs";
21
+ import {
22
+ text_button_default
23
+ } from "./chunk-SDUDU3CU.mjs";
24
24
  import {
25
25
  mapPropsVariants
26
26
  } from "./chunk-E3G5QXSH.mjs";
27
27
  import {
28
28
  tv
29
- } from "./chunk-CDXBML6O.mjs";
29
+ } from "./chunk-76QIZILI.mjs";
30
30
 
31
31
  // src/components/picker/datePicker.tsx
32
32
  import {
@@ -0,0 +1,198 @@
1
+ "use client";
2
+ import {
3
+ scrollArea_default
4
+ } from "./chunk-M37VBNB3.mjs";
5
+ import {
6
+ mapPropsVariants
7
+ } from "./chunk-E3G5QXSH.mjs";
8
+ import {
9
+ tv
10
+ } from "./chunk-76QIZILI.mjs";
11
+
12
+ // src/components/charts/areaChart.tsx
13
+ import { forwardRef, useMemo, useState, useRef, useEffect, useId } from "react";
14
+ import { AreaChart, Area, XAxis, YAxis, CartesianGrid } from "recharts";
15
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
16
+ var AreaChartComponent = forwardRef((originalProps, ref) => {
17
+ const uniqueId = useId();
18
+ const [props, variantProps] = mapPropsVariants(originalProps, areaChartStyle.variantKeys);
19
+ const {
20
+ data,
21
+ label,
22
+ headerContent,
23
+ color = "primary",
24
+ startFromZero = false,
25
+ itemWidth,
26
+ chartHeight = 240,
27
+ classNames
28
+ } = { ...props, ...variantProps };
29
+ const slots = useMemo(() => areaChartStyle({ ...variantProps }), [variantProps]);
30
+ const COLOR_MAP = {
31
+ primary: "#3F9CF2",
32
+ danger: "#FF4684"
33
+ };
34
+ const colorHex = useMemo(() => COLOR_MAP[color], [color]);
35
+ const totalChartWidth = useMemo(() => {
36
+ if (!data || !itemWidth) return void 0;
37
+ const dataLength = startFromZero ? data.length + 1 : data.length;
38
+ return dataLength * itemWidth;
39
+ }, [data, itemWidth, startFromZero]);
40
+ const needsScroll = useMemo(() => {
41
+ return totalChartWidth;
42
+ }, [totalChartWidth]);
43
+ const processedData = useMemo(() => {
44
+ if (!data) return [];
45
+ return data;
46
+ }, [data, startFromZero]);
47
+ const [tickPositions, setTickPositions] = useState([]);
48
+ const tickRef = useRef([]);
49
+ const CustomTick = ({ x, y, payload }) => {
50
+ if (x !== void 0) {
51
+ tickRef.current.push(x);
52
+ }
53
+ if (startFromZero && payload.value === "") {
54
+ return /* @__PURE__ */ jsx("g", {});
55
+ }
56
+ return /* @__PURE__ */ jsx(
57
+ "text",
58
+ {
59
+ x,
60
+ y: y + 11,
61
+ textAnchor: "middle",
62
+ fontSize: 12,
63
+ fontWeight: 700,
64
+ fill: "currentColor",
65
+ className: "text-body-foreground",
66
+ children: payload.value
67
+ }
68
+ );
69
+ };
70
+ useEffect(() => {
71
+ const raf = requestAnimationFrame(() => {
72
+ const unique = [...new Set(tickRef.current)].sort((a, b) => a - b);
73
+ const mids = [];
74
+ for (let i = 0; i < unique.length - 1; i++) {
75
+ mids.push((unique[i] + unique[i + 1]) / 2);
76
+ }
77
+ setTickPositions(mids);
78
+ tickRef.current = [];
79
+ });
80
+ return () => cancelAnimationFrame(raf);
81
+ }, [processedData]);
82
+ const CustomDotWithShadow = (props2) => {
83
+ const { cx, cy, fill, stroke, payload } = props2;
84
+ if (cx === void 0 || cy === void 0) return null;
85
+ if (startFromZero && (payload == null ? void 0 : payload.name) === "") {
86
+ return null;
87
+ }
88
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
89
+ /* @__PURE__ */ jsx("circle", { cx, cy, r: 8, fill, opacity: 0.2 }),
90
+ /* @__PURE__ */ jsx("circle", { cx, cy, r: 3.5, fill, stroke, strokeWidth: 2 })
91
+ ] });
92
+ };
93
+ const chartContent = /* @__PURE__ */ jsx(
94
+ "div",
95
+ {
96
+ style: {
97
+ width: totalChartWidth || "100%",
98
+ minWidth: totalChartWidth || "100%"
99
+ },
100
+ children: /* @__PURE__ */ jsxs(
101
+ AreaChart,
102
+ {
103
+ width: totalChartWidth || 400,
104
+ height: chartHeight + 30,
105
+ data: processedData,
106
+ margin: { left: -30 },
107
+ className: "bg-body-background [&_.recharts-surface]:outline-none [&_.recharts-surface]:focus:outline-none",
108
+ children: [
109
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", { id: `colorGradient-${uniqueId}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
110
+ /* @__PURE__ */ jsx("stop", { offset: "5%", stopColor: colorHex, stopOpacity: 0.3 }),
111
+ /* @__PURE__ */ jsx("stop", { offset: "95%", stopColor: colorHex, stopOpacity: 0 })
112
+ ] }) }),
113
+ /* @__PURE__ */ jsx(
114
+ CartesianGrid,
115
+ {
116
+ vertical: true,
117
+ horizontal: false,
118
+ strokeDasharray: "3 3",
119
+ className: "stroke-neutral-light",
120
+ verticalPoints: tickPositions
121
+ }
122
+ ),
123
+ /* @__PURE__ */ jsx(
124
+ XAxis,
125
+ {
126
+ dataKey: "name",
127
+ axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
128
+ tickLine: false,
129
+ tick: CustomTick,
130
+ padding: { left: 35.5, right: 35.5 }
131
+ }
132
+ ),
133
+ /* @__PURE__ */ jsx(
134
+ YAxis,
135
+ {
136
+ axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
137
+ tickLine: false,
138
+ tick: {
139
+ fontSize: 12,
140
+ fontWeight: 700,
141
+ fill: "text-body-foreground",
142
+ textAnchor: "middle",
143
+ dx: -10
144
+ },
145
+ ticks: [0, 20, 40, 60, 80, 100],
146
+ domain: [-6, 110]
147
+ }
148
+ ),
149
+ /* @__PURE__ */ jsx(
150
+ Area,
151
+ {
152
+ type: "monotone",
153
+ dataKey: "value",
154
+ stroke: colorHex,
155
+ strokeWidth: 2,
156
+ fill: `url(#colorGradient-${uniqueId})`,
157
+ dot: /* @__PURE__ */ jsx(CustomDotWithShadow, { stroke: colorHex, fill: colorHex }),
158
+ activeDot: false
159
+ }
160
+ )
161
+ ]
162
+ }
163
+ )
164
+ }
165
+ );
166
+ return /* @__PURE__ */ jsxs("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
167
+ label && /* @__PURE__ */ jsx("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
168
+ headerContent,
169
+ needsScroll ? /* @__PURE__ */ jsx(scrollArea_default, { direction: "x", size: "sm", children: chartContent }) : chartContent
170
+ ] });
171
+ });
172
+ AreaChartComponent.displayName = "AreaChart";
173
+ var areaChart_default = AreaChartComponent;
174
+ var areaChartStyle = tv({
175
+ slots: {
176
+ base: ["flex", "flex-col", "gap-[10px]", "select-none"],
177
+ color: [],
178
+ axis: ["text-sm", "font-bold", "text-center", "text-body-foreground"],
179
+ label: ["text-md", "font-bold", "text-body-foreground"]
180
+ },
181
+ variants: {
182
+ color: {
183
+ primary: {
184
+ color: ["text-primary-main"]
185
+ },
186
+ danger: {
187
+ color: ["text-danger-main"]
188
+ }
189
+ }
190
+ },
191
+ defaultVariants: {
192
+ color: "primary"
193
+ }
194
+ });
195
+
196
+ export {
197
+ areaChart_default
198
+ };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  tv
4
- } from "./chunk-CDXBML6O.mjs";
4
+ } from "./chunk-76QIZILI.mjs";
5
5
  import {
6
6
  clsx
7
7
  } from "./chunk-27Y6K5NK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
  import {
9
9
  clsx
10
10
  } from "./chunk-27Y6K5NK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZOTHPHXA.mjs";
5
5
  import {
6
6
  toast_default
7
- } from "./chunk-DLNGJVFS.mjs";
7
+ } from "./chunk-TSBG5FXL.mjs";
8
8
 
9
9
  // src/components/toast/use-toast.tsx
10
10
  import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-F3HENRVM.mjs";
5
5
  import {
6
6
  input_default
7
- } from "./chunk-3F6OF2QS.mjs";
7
+ } from "./chunk-HKONMHXA.mjs";
8
8
  import {
9
9
  Icon_default
10
10
  } from "./chunk-YZ57UYAS.mjs";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-E3G5QXSH.mjs";
14
14
  import {
15
15
  tv
16
- } from "./chunk-CDXBML6O.mjs";
16
+ } from "./chunk-76QIZILI.mjs";
17
17
  import {
18
18
  clsx
19
19
  } from "./chunk-27Y6K5NK.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-E3G5QXSH.mjs";
8
8
  import {
9
9
  tv
10
- } from "./chunk-CDXBML6O.mjs";
10
+ } from "./chunk-76QIZILI.mjs";
11
11
  import {
12
12
  clsx
13
13
  } from "./chunk-27Y6K5NK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
  import {
9
9
  useIsMounted
10
10
  } from "./chunk-3V4HT2K5.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
 
9
9
  // src/components/charts/radarChart.tsx
10
10
  import {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-BG4DIGKH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
 
9
9
  // src/components/avatar/avatar.tsx
10
10
  import { forwardRef, useMemo } from "react";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
 
9
9
  // src/components/list/list.tsx
10
10
  import { Children, cloneElement, forwardRef, isValidElement, useMemo } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  select_default
4
- } from "./chunk-GZEAMYAO.mjs";
4
+ } from "./chunk-LX7NPKFE.mjs";
5
5
  import {
6
6
  Icon_default
7
7
  } from "./chunk-YZ57UYAS.mjs";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-E3G5QXSH.mjs";
11
11
  import {
12
12
  tv
13
- } from "./chunk-CDXBML6O.mjs";
13
+ } from "./chunk-76QIZILI.mjs";
14
14
  import {
15
15
  clsx
16
16
  } from "./chunk-27Y6K5NK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
  import {
9
9
  clsx
10
10
  } from "./chunk-27Y6K5NK.mjs";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  tv
4
- } from "./chunk-CDXBML6O.mjs";
4
+ } from "./chunk-76QIZILI.mjs";
5
5
  import {
6
6
  clsx
7
7
  } from "./chunk-27Y6K5NK.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-E3G5QXSH.mjs";
8
8
  import {
9
9
  tv
10
- } from "./chunk-CDXBML6O.mjs";
10
+ } from "./chunk-76QIZILI.mjs";
11
11
  import {
12
12
  clsx
13
13
  } from "./chunk-27Y6K5NK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
 
9
9
  // src/components/charts/barChart.tsx
10
10
  import { forwardRef, useEffect, useMemo, useRef, useState } from "react";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-E3G5QXSH.mjs";
8
8
  import {
9
9
  tv
10
- } from "./chunk-CDXBML6O.mjs";
10
+ } from "./chunk-76QIZILI.mjs";
11
11
 
12
12
  // src/components/chip/chip.tsx
13
13
  import { forwardRef, useMemo } from "react";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import {
3
- text_button_default
4
- } from "./chunk-Q364C3FI.mjs";
5
2
  import {
6
3
  Icon_default
7
4
  } from "./chunk-YZ57UYAS.mjs";
5
+ import {
6
+ text_button_default
7
+ } from "./chunk-SDUDU3CU.mjs";
8
8
  import {
9
9
  tv
10
- } from "./chunk-CDXBML6O.mjs";
10
+ } from "./chunk-76QIZILI.mjs";
11
11
 
12
12
  // src/components/breadcrumb/breadcrumb.tsx
13
13
  import { forwardRef, useMemo } from "react";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-E3G5QXSH.mjs";
5
5
  import {
6
6
  tv
7
- } from "./chunk-CDXBML6O.mjs";
7
+ } from "./chunk-76QIZILI.mjs";
8
8
 
9
9
  // src/components/accordion/accordion.tsx
10
10
  import React, { forwardRef, useMemo, useState } from "react";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  backdrop_default
4
- } from "./chunk-AF4I7ZQS.mjs";
4
+ } from "./chunk-IW2MDZBW.mjs";
5
5
  import {
6
6
  button_default
7
- } from "./chunk-XOUAUSP4.mjs";
7
+ } from "./chunk-3HY74IGR.mjs";
8
8
  import {
9
9
  Icon_default
10
10
  } from "./chunk-YZ57UYAS.mjs";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-E3G5QXSH.mjs";
14
14
  import {
15
15
  tv
16
- } from "./chunk-CDXBML6O.mjs";
16
+ } from "./chunk-76QIZILI.mjs";
17
17
 
18
18
  // src/components/modal/modal.tsx
19
19
  import { forwardRef, useMemo, useEffect } from "react";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-E3G5QXSH.mjs";
12
12
  import {
13
13
  tv
14
- } from "./chunk-CDXBML6O.mjs";
14
+ } from "./chunk-76QIZILI.mjs";
15
15
 
16
16
  // src/components/tooltip/tooltip.tsx
17
17
  import { forwardRef, useCallback, useMemo, useRef, useState, useEffect } from "react";