@deepnoid/ui 0.1.126 → 0.1.128

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 (87) hide show
  1. package/.turbo/turbo-build.log +189 -189
  2. package/dist/{chunk-4WHX4RXX.mjs → chunk-2OTW3LHJ.mjs} +1 -1
  3. package/dist/{chunk-KP2KOY5Z.mjs → chunk-DRQQKLIE.mjs} +1 -1
  4. package/dist/chunk-FBIG4AGH.mjs +138 -0
  5. package/dist/{chunk-MPUZ5T7X.mjs → chunk-G75QD37P.mjs} +2 -2
  6. package/dist/{chunk-WNNOVISA.mjs → chunk-HUJ5SMJH.mjs} +80 -38
  7. package/dist/{chunk-ANILRUAS.mjs → chunk-JCPTLQ2B.mjs} +5 -5
  8. package/dist/{chunk-BD4M2FZM.mjs → chunk-JN5LH5YY.mjs} +2 -2
  9. package/dist/{chunk-5XW5QDIW.mjs → chunk-NCK5E2NL.mjs} +1 -1
  10. package/dist/{chunk-IBYQBC6D.mjs → chunk-OWHJOXXX.mjs} +4 -4
  11. package/dist/{chunk-4X67BUPA.mjs → chunk-UPVTVM5V.mjs} +4 -4
  12. package/dist/{chunk-DDK4NEDX.mjs → chunk-ZI2HHPRM.mjs} +1 -1
  13. package/dist/components/backdrop/backdrop.mjs +2 -2
  14. package/dist/components/backdrop/index.mjs +2 -2
  15. package/dist/components/breadcrumb/breadcrumb.mjs +4 -4
  16. package/dist/components/breadcrumb/index.mjs +4 -4
  17. package/dist/components/button/button.mjs +1 -1
  18. package/dist/components/button/icon-button.mjs +1 -1
  19. package/dist/components/button/index.mjs +3 -3
  20. package/dist/components/button/text-button.mjs +2 -2
  21. package/dist/components/charts/areaChart.mjs +1 -1
  22. package/dist/components/charts/barChart.d.mts +4 -4
  23. package/dist/components/charts/barChart.d.ts +4 -4
  24. package/dist/components/charts/barChart.js +80 -40
  25. package/dist/components/charts/barChart.mjs +1 -1
  26. package/dist/components/charts/circularProgress.js +1 -1
  27. package/dist/components/charts/circularProgress.mjs +1 -1
  28. package/dist/components/charts/index.js +80 -38
  29. package/dist/components/charts/index.mjs +3 -3
  30. package/dist/components/checkbox/checkbox.mjs +2 -2
  31. package/dist/components/checkbox/index.mjs +2 -2
  32. package/dist/components/chip/chip.mjs +1 -1
  33. package/dist/components/chip/index.mjs +1 -1
  34. package/dist/components/drawer/drawer.mjs +2 -2
  35. package/dist/components/drawer/index.mjs +2 -2
  36. package/dist/components/fileUpload/fileUpload.mjs +7 -7
  37. package/dist/components/fileUpload/index.mjs +7 -7
  38. package/dist/components/input/index.mjs +3 -3
  39. package/dist/components/input/input.mjs +3 -3
  40. package/dist/components/list/index.mjs +2 -2
  41. package/dist/components/list/listItem.mjs +2 -2
  42. package/dist/components/modal/index.mjs +5 -5
  43. package/dist/components/modal/modal.mjs +5 -5
  44. package/dist/components/pagination/index.mjs +4 -4
  45. package/dist/components/pagination/pagination.mjs +4 -4
  46. package/dist/components/picker/datePicker.mjs +5 -5
  47. package/dist/components/picker/index.mjs +7 -7
  48. package/dist/components/picker/timePicker.mjs +4 -4
  49. package/dist/components/progress/index.mjs +2 -2
  50. package/dist/components/progress/progress.mjs +2 -2
  51. package/dist/components/radio/index.mjs +2 -2
  52. package/dist/components/radio/radio.mjs +2 -2
  53. package/dist/components/select/index.mjs +3 -3
  54. package/dist/components/select/select.mjs +3 -3
  55. package/dist/components/table/definition-table.d.mts +2 -0
  56. package/dist/components/table/definition-table.d.ts +2 -0
  57. package/dist/components/table/definition-table.js +67 -14
  58. package/dist/components/table/definition-table.mjs +2 -2
  59. package/dist/components/table/index.js +67 -14
  60. package/dist/components/table/index.mjs +9 -9
  61. package/dist/components/table/table-body.mjs +6 -6
  62. package/dist/components/table/table-head.mjs +6 -6
  63. package/dist/components/table/table.mjs +6 -6
  64. package/dist/components/textarea/index.mjs +2 -2
  65. package/dist/components/textarea/textarea.mjs +2 -2
  66. package/dist/components/timePicker/calendar.mjs +1 -1
  67. package/dist/components/toast/index.mjs +4 -4
  68. package/dist/components/toast/toast.mjs +3 -3
  69. package/dist/components/toast/use-toast.mjs +4 -4
  70. package/dist/components/tree/index.mjs +2 -2
  71. package/dist/components/tree/tree.mjs +2 -2
  72. package/dist/index.js +147 -52
  73. package/dist/index.mjs +46 -46
  74. package/package.json +1 -1
  75. package/dist/chunk-SJNXRXV5.mjs +0 -85
  76. package/dist/{chunk-3CRSSRCH.mjs → chunk-3HXNAVAN.mjs} +3 -3
  77. package/dist/{chunk-SDUDU3CU.mjs → chunk-3Q54M5ED.mjs} +3 -3
  78. package/dist/{chunk-JC6635TJ.mjs → chunk-C3R4TUY5.mjs} +3 -3
  79. package/dist/{chunk-J7IIHQNA.mjs → chunk-C4H4V23T.mjs} +3 -3
  80. package/dist/{chunk-ORZW6F6E.mjs → chunk-EMLYTP64.mjs} +3 -3
  81. package/dist/{chunk-3U5NJTRH.mjs → chunk-GNJJUQV2.mjs} +3 -3
  82. package/dist/{chunk-YWLC7KRK.mjs → chunk-M3ZHMKBV.mjs} +3 -3
  83. package/dist/{chunk-ZI3MLO7X.mjs → chunk-M6ODX3GX.mjs} +3 -3
  84. package/dist/{chunk-MCBAEW2Q.mjs → chunk-TEP5V4XL.mjs} +3 -3
  85. package/dist/{chunk-IW2MDZBW.mjs → chunk-UMPLXLIP.mjs} +3 -3
  86. package/dist/{chunk-5XV45JBV.mjs → chunk-UQN223LY.mjs} +3 -3
  87. package/dist/{chunk-5R3ARH2N.mjs → chunk-XBQEL2CR.mjs} +3 -3
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  text_button_default
4
- } from "./chunk-SDUDU3CU.mjs";
4
+ } from "./chunk-3Q54M5ED.mjs";
5
5
  import {
6
6
  Icon_default
7
7
  } from "./chunk-XX2PHROM.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZOTHPHXA.mjs";
5
5
  import {
6
6
  toast_default
7
- } from "./chunk-5R3ARH2N.mjs";
7
+ } from "./chunk-XBQEL2CR.mjs";
8
8
 
9
9
  // src/components/toast/use-toast.tsx
10
10
  import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";
@@ -0,0 +1,138 @@
1
+ "use client";
2
+ import {
3
+ clsx
4
+ } from "./chunk-27Y6K5NK.mjs";
5
+ import {
6
+ tv
7
+ } from "./chunk-76QIZILI.mjs";
8
+
9
+ // src/components/table/definition-table.tsx
10
+ import { forwardRef, useMemo } from "react";
11
+ import { jsx, jsxs } from "react/jsx-runtime";
12
+ var DEFAULT_CELL_CLASSES = "px-[10px] py-[8px] text-md border-r border-neutral-light h-[50px]";
13
+ var FIRST_CELL_WIDTH_CLASS = "w-[120px] font-bold text-md text-body-foreground";
14
+ var renderColGroup = (rows) => {
15
+ let maxCols = 0;
16
+ const colWidths = [];
17
+ rows.forEach((row) => {
18
+ let currentColCount = 0;
19
+ row.cells.forEach((cell) => {
20
+ currentColCount += cell.colSpan || 1;
21
+ });
22
+ maxCols = Math.max(maxCols, currentColCount);
23
+ });
24
+ colWidths[0] = "120px";
25
+ rows.forEach((row) => {
26
+ let colIndex = 0;
27
+ row.cells.forEach((cell) => {
28
+ const span = cell.colSpan || 1;
29
+ if (colIndex > 0 && cell.width && cell.width !== "auto" && colIndex < maxCols) {
30
+ colWidths[colIndex] = cell.width;
31
+ }
32
+ colIndex += span;
33
+ });
34
+ });
35
+ const cols = [];
36
+ for (let i = 0; i < maxCols; i++) {
37
+ cols.push(/* @__PURE__ */ jsx("col", { style: { width: colWidths[i] || "auto" } }, i));
38
+ }
39
+ return /* @__PURE__ */ jsx("colgroup", { children: cols });
40
+ };
41
+ var getHighlightColumnIndex = (rows, key) => {
42
+ if (!key) return null;
43
+ for (const row of rows) {
44
+ let colIndex = 0;
45
+ for (const cell of row.cells) {
46
+ const span = cell.colSpan || 1;
47
+ if (cell.key === key) return colIndex;
48
+ colIndex += span;
49
+ }
50
+ }
51
+ return null;
52
+ };
53
+ var DefinitionTableRow = ({
54
+ cells,
55
+ className,
56
+ rowIndex = 0,
57
+ rowCount = 0,
58
+ highlightColumnIndex
59
+ }) => /* @__PURE__ */ jsx("tr", { className: clsx("border-neutral-light border-b", className), children: cells.map((cell, colIndex) => {
60
+ const isFirstCell = colIndex === 0;
61
+ const isHighlighted = colIndex === highlightColumnIndex;
62
+ const isFirstRow = rowIndex === 0;
63
+ const isLastRow = rowIndex === rowCount - 1;
64
+ const borderHighlightClass = isHighlighted ? clsx(
65
+ "border-l-[2px] border-r-[2px] border-primary-main bg-neutral-soft",
66
+ isFirstRow && "border-t-[2px]",
67
+ isLastRow && "border-b-[2px]"
68
+ ) : "";
69
+ const combinedClassName = clsx(
70
+ DEFAULT_CELL_CLASSES,
71
+ isFirstCell && FIRST_CELL_WIDTH_CLASS,
72
+ cell.className,
73
+ borderHighlightClass
74
+ );
75
+ let cellStyle;
76
+ if (isFirstCell) {
77
+ cellStyle = {
78
+ width: "120px",
79
+ minWidth: "120px",
80
+ maxWidth: "120px"
81
+ };
82
+ } else if (cell.width && cell.width !== "auto") {
83
+ cellStyle = {
84
+ width: cell.width,
85
+ minWidth: cell.width,
86
+ maxWidth: cell.width
87
+ };
88
+ } else {
89
+ cellStyle = { width: "100%" };
90
+ }
91
+ return /* @__PURE__ */ jsx(
92
+ "td",
93
+ {
94
+ className: combinedClassName,
95
+ colSpan: cell.colSpan,
96
+ rowSpan: cell.rowSpan,
97
+ style: { ...cellStyle, height: "50px" },
98
+ children: cell.content
99
+ },
100
+ colIndex
101
+ );
102
+ }) });
103
+ var DefinitionTable = forwardRef(
104
+ ({ rows = [], footer, highlightColumnKey, classNames }, ref) => {
105
+ const slots = useMemo(() => DefinitionTableStyle(), []);
106
+ const highlightColumnIndex = useMemo(
107
+ () => getHighlightColumnIndex(rows, highlightColumnKey),
108
+ [rows, highlightColumnKey]
109
+ );
110
+ return /* @__PURE__ */ jsx("div", { ref, className: clsx(slots.base(), classNames == null ? void 0 : classNames.base), children: /* @__PURE__ */ jsxs("table", { className: clsx(slots.table(), classNames == null ? void 0 : classNames.table), children: [
111
+ renderColGroup(rows),
112
+ /* @__PURE__ */ jsx("tbody", { children: rows.map((row, i) => /* @__PURE__ */ jsx(
113
+ DefinitionTableRow,
114
+ {
115
+ ...row,
116
+ rowIndex: i,
117
+ rowCount: rows.length,
118
+ highlightColumnIndex,
119
+ className: row.className
120
+ },
121
+ i
122
+ )) }),
123
+ footer && /* @__PURE__ */ jsx("tfoot", { children: footer })
124
+ ] }) });
125
+ }
126
+ );
127
+ DefinitionTable.displayName = "DefinitionTable";
128
+ var definition_table_default = DefinitionTable;
129
+ var DefinitionTableStyle = tv({
130
+ slots: {
131
+ base: ["flex", "flex-col", "gap-[30px]"],
132
+ table: ["w-full", "table-auto", "border", "border-neutral-light"]
133
+ }
134
+ });
135
+
136
+ export {
137
+ definition_table_default
138
+ };
@@ -8,10 +8,10 @@ import {
8
8
  } from "./chunk-FWFEKWWD.mjs";
9
9
  import {
10
10
  input_default
11
- } from "./chunk-ZI3MLO7X.mjs";
11
+ } from "./chunk-M6ODX3GX.mjs";
12
12
  import {
13
13
  text_button_default
14
- } from "./chunk-SDUDU3CU.mjs";
14
+ } from "./chunk-3Q54M5ED.mjs";
15
15
  import {
16
16
  button_default
17
17
  } from "./chunk-TRLIC34S.mjs";
@@ -8,24 +8,39 @@ import {
8
8
 
9
9
  // src/components/charts/barChart.tsx
10
10
  import { forwardRef, useEffect, useMemo, useRef, useState } from "react";
11
- import { XAxis, YAxis, ResponsiveContainer, CartesianGrid, BarChart, Bar, Tooltip } from "recharts";
11
+ import { XAxis, YAxis, ResponsiveContainer, CartesianGrid, BarChart, Bar } from "recharts";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  var BarChartComponent = forwardRef((originalProps, ref) => {
14
14
  const [props, variantProps] = mapPropsVariants(originalProps, barChartStyle.variantKeys);
15
15
  const {
16
- data,
16
+ data = [],
17
17
  label,
18
18
  classNames,
19
19
  yAxisTicks = [0, 20, 40, 60, 80, 100],
20
20
  yAxisTickFormatter = (value) => `${value}`,
21
21
  yAxisDomain = [-6, 110],
22
- customTooltip
22
+ tooltipFormatter
23
23
  } = { ...props, ...variantProps };
24
24
  const slots = useMemo(() => barChartStyle({ ...variantProps }), [variantProps]);
25
25
  const [tickPositions, setTickPositions] = useState([]);
26
26
  const tickRef = useRef([]);
27
- const CustomBarShape = (barProps) => {
28
- const { x, y, width, height, fill } = barProps;
27
+ const [tooltipState, setTooltipState] = useState(null);
28
+ const handleMouseEnter = (e, dataKey) => {
29
+ if (!tooltipFormatter) return;
30
+ const { payload, x, y } = e;
31
+ if (!payload || !payload[dataKey]) return;
32
+ setTooltipState({
33
+ x,
34
+ y,
35
+ value: payload[dataKey],
36
+ dataKey,
37
+ label: payload.title
38
+ });
39
+ };
40
+ const handleMouseLeave = () => {
41
+ setTooltipState(null);
42
+ };
43
+ const CustomBarShape = ({ x, y, width, height, fill }) => {
29
44
  const radius = 5;
30
45
  const extraHeight = 10;
31
46
  const adjustedHeight = height + extraHeight;
@@ -40,9 +55,7 @@ var BarChartComponent = forwardRef((originalProps, ref) => {
40
55
  ) : /* @__PURE__ */ jsx("rect", { x, y, width, height: 0, fill });
41
56
  };
42
57
  const CustomTick = ({ x, y, payload }) => {
43
- if (x !== void 0) {
44
- tickRef.current.push(x);
45
- }
58
+ if (x !== void 0) tickRef.current.push(x);
46
59
  return /* @__PURE__ */ jsx(
47
60
  "text",
48
61
  {
@@ -57,28 +70,20 @@ var BarChartComponent = forwardRef((originalProps, ref) => {
57
70
  }
58
71
  );
59
72
  };
60
- const CustomYAxisTick = ({ x, y, payload }) => {
61
- return /* @__PURE__ */ jsx(
62
- "text",
63
- {
64
- x: x - 10,
65
- y,
66
- textAnchor: "middle",
67
- fontSize: 12,
68
- fontWeight: 700,
69
- fill: "currentColor",
70
- className: "text-body-foreground",
71
- dy: 4,
72
- children: yAxisTickFormatter(payload.value)
73
- }
74
- );
75
- };
76
- const CustomTooltip = ({ active, payload, label: label2 }) => {
77
- if (customTooltip && active && payload && payload.length) {
78
- return customTooltip({ active, payload, label: label2 });
73
+ const CustomYAxisTick = ({ x, y, payload }) => /* @__PURE__ */ jsx(
74
+ "text",
75
+ {
76
+ x: x - 10,
77
+ y,
78
+ textAnchor: "middle",
79
+ fontSize: 12,
80
+ fontWeight: 700,
81
+ fill: "currentColor",
82
+ className: "text-body-foreground",
83
+ dy: 4,
84
+ children: yAxisTickFormatter(payload.value)
79
85
  }
80
- return null;
81
- };
86
+ );
82
87
  useEffect(() => {
83
88
  const raf = requestAnimationFrame(() => {
84
89
  const unique = [...new Set(tickRef.current)].sort((a, b) => a - b);
@@ -146,26 +151,63 @@ var BarChartComponent = forwardRef((originalProps, ref) => {
146
151
  domain: yAxisDomain
147
152
  }
148
153
  ),
149
- customTooltip && /* @__PURE__ */ jsx(Tooltip, { content: /* @__PURE__ */ jsx(CustomTooltip, {}), cursor: { fill: "transparent" } }),
150
- /* @__PURE__ */ jsx(Bar, { dataKey: "blue", fill: "url(#blueGradient)", width: 20, shape: CustomBarShape }),
151
- /* @__PURE__ */ jsx(Bar, { dataKey: "green", fill: "url(#greenGradient)", width: 20, shape: CustomBarShape }),
152
- /* @__PURE__ */ jsx(Bar, { dataKey: "pink", fill: "url(#pinkGradient)", width: 20, shape: CustomBarShape })
154
+ /* @__PURE__ */ jsx(
155
+ Bar,
156
+ {
157
+ dataKey: "blue",
158
+ fill: "url(#blueGradient)",
159
+ shape: CustomBarShape,
160
+ onMouseEnter: (e) => handleMouseEnter(e, "blue"),
161
+ onMouseLeave: handleMouseLeave
162
+ }
163
+ ),
164
+ /* @__PURE__ */ jsx(
165
+ Bar,
166
+ {
167
+ dataKey: "green",
168
+ fill: "url(#greenGradient)",
169
+ shape: CustomBarShape,
170
+ onMouseEnter: (e) => handleMouseEnter(e, "green"),
171
+ onMouseLeave: handleMouseLeave
172
+ }
173
+ ),
174
+ /* @__PURE__ */ jsx(
175
+ Bar,
176
+ {
177
+ dataKey: "pink",
178
+ fill: "url(#pinkGradient)",
179
+ shape: CustomBarShape,
180
+ onMouseEnter: (e) => handleMouseEnter(e, "pink"),
181
+ onMouseLeave: handleMouseLeave
182
+ }
183
+ )
153
184
  ]
154
185
  }
155
- ) })
186
+ ) }),
187
+ tooltipFormatter && tooltipState && /* @__PURE__ */ jsx(
188
+ "div",
189
+ {
190
+ style: {
191
+ position: "absolute",
192
+ left: tooltipState.x + 10,
193
+ top: tooltipState.y - 40,
194
+ transform: "translateX(-50%)",
195
+ pointerEvents: "none"
196
+ },
197
+ children: tooltipFormatter(tooltipState)
198
+ }
199
+ )
156
200
  ] });
157
201
  });
158
202
  BarChartComponent.displayName = "barChart";
159
203
  var barChart_default = BarChartComponent;
160
204
  var barChartStyle = tv({
161
205
  slots: {
162
- base: ["flex", "flex-col", "gap-[10px]", "select-none"],
206
+ base: ["flex", "flex-col", "gap-[10px]", "select-none", "relative"],
163
207
  label: ["text-md", "font-bold", "text-body-foreground"]
164
208
  },
165
209
  variants: {},
166
- defaultVariants: {
167
- color: "primary"
168
- }
210
+ defaultVariants: {}
169
211
  });
170
212
 
171
213
  export {
@@ -4,19 +4,19 @@ import {
4
4
  } from "./chunk-6PN3DGOE.mjs";
5
5
  import {
6
6
  pagination_default
7
- } from "./chunk-IBYQBC6D.mjs";
7
+ } from "./chunk-OWHJOXXX.mjs";
8
8
  import {
9
9
  scrollArea_default
10
10
  } from "./chunk-M37VBNB3.mjs";
11
11
  import {
12
12
  checkbox_default
13
- } from "./chunk-3U5NJTRH.mjs";
14
- import {
15
- mapPropsVariants
16
- } from "./chunk-E3G5QXSH.mjs";
13
+ } from "./chunk-GNJJUQV2.mjs";
17
14
  import {
18
15
  clsx
19
16
  } from "./chunk-27Y6K5NK.mjs";
17
+ import {
18
+ mapPropsVariants
19
+ } from "./chunk-E3G5QXSH.mjs";
20
20
 
21
21
  // src/components/table/table.tsx
22
22
  import {
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  progress_default
4
- } from "./chunk-MCBAEW2Q.mjs";
4
+ } from "./chunk-TEP5V4XL.mjs";
5
5
  import {
6
6
  input_default
7
- } from "./chunk-ZI3MLO7X.mjs";
7
+ } from "./chunk-M6ODX3GX.mjs";
8
8
  import {
9
9
  button_default
10
10
  } from "./chunk-TRLIC34S.mjs";
@@ -69,7 +69,7 @@ var CircularProgress = forwardRef((originalProps, ref) => {
69
69
  cx: size / 2,
70
70
  cy: size / 2,
71
71
  r: OUTER_RADIUS + BORDER_MARGIN,
72
- fill: "none",
72
+ fill: "#fff",
73
73
  stroke: "#DFE2E7",
74
74
  strokeWidth: "1"
75
75
  }
@@ -4,19 +4,19 @@ import {
4
4
  } from "./chunk-F3HENRVM.mjs";
5
5
  import {
6
6
  input_default
7
- } from "./chunk-ZI3MLO7X.mjs";
7
+ } from "./chunk-M6ODX3GX.mjs";
8
8
  import {
9
9
  Icon_default
10
10
  } from "./chunk-XX2PHROM.mjs";
11
+ import {
12
+ clsx
13
+ } from "./chunk-27Y6K5NK.mjs";
11
14
  import {
12
15
  mapPropsVariants
13
16
  } from "./chunk-E3G5QXSH.mjs";
14
17
  import {
15
18
  tv
16
19
  } from "./chunk-76QIZILI.mjs";
17
- import {
18
- clsx
19
- } from "./chunk-27Y6K5NK.mjs";
20
20
 
21
21
  // src/components/pagination/pagination.tsx
22
22
  import { forwardRef, useMemo, useState } from "react";
@@ -1,19 +1,19 @@
1
1
  "use client";
2
2
  import {
3
3
  select_default
4
- } from "./chunk-YWLC7KRK.mjs";
4
+ } from "./chunk-M3ZHMKBV.mjs";
5
5
  import {
6
6
  Icon_default
7
7
  } from "./chunk-XX2PHROM.mjs";
8
+ import {
9
+ clsx
10
+ } from "./chunk-27Y6K5NK.mjs";
8
11
  import {
9
12
  mapPropsVariants
10
13
  } from "./chunk-E3G5QXSH.mjs";
11
14
  import {
12
15
  tv
13
16
  } from "./chunk-76QIZILI.mjs";
14
- import {
15
- clsx
16
- } from "./chunk-27Y6K5NK.mjs";
17
17
 
18
18
  // src/components/picker/timePicker.tsx
19
19
  import { forwardRef, useCallback, useMemo, useState, useRef } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  backdrop_default
4
- } from "./chunk-IW2MDZBW.mjs";
4
+ } from "./chunk-UMPLXLIP.mjs";
5
5
  import {
6
6
  button_default
7
7
  } from "./chunk-TRLIC34S.mjs";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  backdrop_default
4
- } from "../../chunk-IW2MDZBW.mjs";
5
- import "../../chunk-76QIZILI.mjs";
4
+ } from "../../chunk-UMPLXLIP.mjs";
6
5
  import "../../chunk-27Y6K5NK.mjs";
6
+ import "../../chunk-76QIZILI.mjs";
7
7
  import "../../chunk-AC6TWLRT.mjs";
8
8
  export {
9
9
  backdrop_default as default
@@ -2,9 +2,9 @@
2
2
  import "../../chunk-SE5TU755.mjs";
3
3
  import {
4
4
  backdrop_default
5
- } from "../../chunk-IW2MDZBW.mjs";
6
- import "../../chunk-76QIZILI.mjs";
5
+ } from "../../chunk-UMPLXLIP.mjs";
7
6
  import "../../chunk-27Y6K5NK.mjs";
7
+ import "../../chunk-76QIZILI.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
10
10
  backdrop_default as Backdrop
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  breadcrumb_default
4
- } from "../../chunk-4WHX4RXX.mjs";
4
+ } from "../../chunk-2OTW3LHJ.mjs";
5
5
  import "../../chunk-MY5U63QO.mjs";
6
- import "../../chunk-SDUDU3CU.mjs";
6
+ import "../../chunk-3Q54M5ED.mjs";
7
7
  import "../../chunk-GUTGDPXH.mjs";
8
8
  import "../../chunk-TRLIC34S.mjs";
9
9
  import "../../chunk-OLQJXFHU.mjs";
@@ -12,10 +12,10 @@ import "../../chunk-LXHUO6VM.mjs";
12
12
  import "../../chunk-SZL743JC.mjs";
13
13
  import "../../chunk-ZYIIXWVY.mjs";
14
14
  import "../../chunk-XX2PHROM.mjs";
15
- import "../../chunk-E3G5QXSH.mjs";
16
15
  import "../../chunk-GQFNYXJZ.mjs";
17
- import "../../chunk-76QIZILI.mjs";
18
16
  import "../../chunk-27Y6K5NK.mjs";
17
+ import "../../chunk-E3G5QXSH.mjs";
18
+ import "../../chunk-76QIZILI.mjs";
19
19
  import "../../chunk-AC6TWLRT.mjs";
20
20
  export {
21
21
  breadcrumb_default as default
@@ -2,9 +2,9 @@
2
2
  import "../../chunk-KYIODWXL.mjs";
3
3
  import {
4
4
  breadcrumb_default
5
- } from "../../chunk-4WHX4RXX.mjs";
5
+ } from "../../chunk-2OTW3LHJ.mjs";
6
6
  import "../../chunk-MY5U63QO.mjs";
7
- import "../../chunk-SDUDU3CU.mjs";
7
+ import "../../chunk-3Q54M5ED.mjs";
8
8
  import "../../chunk-GUTGDPXH.mjs";
9
9
  import "../../chunk-TRLIC34S.mjs";
10
10
  import "../../chunk-OLQJXFHU.mjs";
@@ -13,10 +13,10 @@ import "../../chunk-LXHUO6VM.mjs";
13
13
  import "../../chunk-SZL743JC.mjs";
14
14
  import "../../chunk-ZYIIXWVY.mjs";
15
15
  import "../../chunk-XX2PHROM.mjs";
16
- import "../../chunk-E3G5QXSH.mjs";
17
16
  import "../../chunk-GQFNYXJZ.mjs";
18
- import "../../chunk-76QIZILI.mjs";
19
17
  import "../../chunk-27Y6K5NK.mjs";
18
+ import "../../chunk-E3G5QXSH.mjs";
19
+ import "../../chunk-76QIZILI.mjs";
20
20
  import "../../chunk-AC6TWLRT.mjs";
21
21
  export {
22
22
  breadcrumb_default as Breadcrumb
@@ -7,8 +7,8 @@ import "../../chunk-LXHUO6VM.mjs";
7
7
  import "../../chunk-SZL743JC.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
9
  import "../../chunk-XX2PHROM.mjs";
10
- import "../../chunk-E3G5QXSH.mjs";
11
10
  import "../../chunk-GQFNYXJZ.mjs";
11
+ import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-76QIZILI.mjs";
13
13
  import "../../chunk-AC6TWLRT.mjs";
14
14
  export {
@@ -7,8 +7,8 @@ import "../../chunk-LXHUO6VM.mjs";
7
7
  import "../../chunk-SZL743JC.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
9
  import "../../chunk-XX2PHROM.mjs";
10
- import "../../chunk-E3G5QXSH.mjs";
11
10
  import "../../chunk-GQFNYXJZ.mjs";
11
+ import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-76QIZILI.mjs";
13
13
  import "../../chunk-AC6TWLRT.mjs";
14
14
  export {
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-MY5U63QO.mjs";
3
3
  import {
4
4
  text_button_default
5
- } from "../../chunk-SDUDU3CU.mjs";
5
+ } from "../../chunk-3Q54M5ED.mjs";
6
6
  import {
7
7
  button_group_default
8
8
  } from "../../chunk-GUTGDPXH.mjs";
@@ -17,10 +17,10 @@ import "../../chunk-LXHUO6VM.mjs";
17
17
  import "../../chunk-SZL743JC.mjs";
18
18
  import "../../chunk-ZYIIXWVY.mjs";
19
19
  import "../../chunk-XX2PHROM.mjs";
20
- import "../../chunk-E3G5QXSH.mjs";
21
20
  import "../../chunk-GQFNYXJZ.mjs";
22
- import "../../chunk-76QIZILI.mjs";
23
21
  import "../../chunk-27Y6K5NK.mjs";
22
+ import "../../chunk-E3G5QXSH.mjs";
23
+ import "../../chunk-76QIZILI.mjs";
24
24
  import "../../chunk-AC6TWLRT.mjs";
25
25
  export {
26
26
  button_default as Button,
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  text_button_default
4
- } from "../../chunk-SDUDU3CU.mjs";
4
+ } from "../../chunk-3Q54M5ED.mjs";
5
+ import "../../chunk-27Y6K5NK.mjs";
5
6
  import "../../chunk-E3G5QXSH.mjs";
6
7
  import "../../chunk-76QIZILI.mjs";
7
- import "../../chunk-27Y6K5NK.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
10
10
  text_button_default as default
@@ -4,9 +4,9 @@ import {
4
4
  } from "../../chunk-IHLCZM5T.mjs";
5
5
  import "../../chunk-DQRAFUDA.mjs";
6
6
  import "../../chunk-M37VBNB3.mjs";
7
+ import "../../chunk-27Y6K5NK.mjs";
7
8
  import "../../chunk-E3G5QXSH.mjs";
8
9
  import "../../chunk-76QIZILI.mjs";
9
- import "../../chunk-27Y6K5NK.mjs";
10
10
  import "../../chunk-AC6TWLRT.mjs";
11
11
  export {
12
12
  areaChart_default as default
@@ -10,9 +10,9 @@ type BarData = {
10
10
  green: number;
11
11
  pink: number;
12
12
  };
13
- type TooltipProps = {
14
- active: boolean;
15
- payload: any[];
13
+ type TooltipFormatterParams = {
14
+ dataKey: string;
15
+ value: number;
16
16
  label: string;
17
17
  };
18
18
  type Props = {
@@ -22,7 +22,7 @@ type Props = {
22
22
  yAxisTicks?: number[];
23
23
  yAxisTickFormatter?: (value: number) => string;
24
24
  yAxisDomain?: [number, number];
25
- customTooltip?: (props: TooltipProps) => ReactNode;
25
+ tooltipFormatter?: (params: TooltipFormatterParams) => ReactNode;
26
26
  };
27
27
  type barChartProps = Props & barChartVariantProps;
28
28
  declare const BarChartComponent: react.ForwardRefExoticComponent<Props & barChartVariantProps & react.RefAttributes<HTMLDivElement>>;
@@ -10,9 +10,9 @@ type BarData = {
10
10
  green: number;
11
11
  pink: number;
12
12
  };
13
- type TooltipProps = {
14
- active: boolean;
15
- payload: any[];
13
+ type TooltipFormatterParams = {
14
+ dataKey: string;
15
+ value: number;
16
16
  label: string;
17
17
  };
18
18
  type Props = {
@@ -22,7 +22,7 @@ type Props = {
22
22
  yAxisTicks?: number[];
23
23
  yAxisTickFormatter?: (value: number) => string;
24
24
  yAxisDomain?: [number, number];
25
- customTooltip?: (props: TooltipProps) => ReactNode;
25
+ tooltipFormatter?: (params: TooltipFormatterParams) => ReactNode;
26
26
  };
27
27
  type barChartProps = Props & barChartVariantProps;
28
28
  declare const BarChartComponent: react.ForwardRefExoticComponent<Props & barChartVariantProps & react.RefAttributes<HTMLDivElement>>;