@deepnoid/ui 0.1.47 → 0.1.49
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.
- package/.turbo/turbo-build.log +203 -198
- package/dist/chunk-4F6RULPS.mjs +147 -0
- package/dist/chunk-A7GHXG3K.mjs +129 -0
- package/dist/{chunk-UHT6GDT2.mjs → chunk-BPEMHZH3.mjs} +1 -1
- package/dist/{chunk-Y7NTREVJ.mjs → chunk-G67WUZO3.mjs} +3 -3
- package/dist/{chunk-QJXYG2OC.mjs → chunk-IBI3OVQI.mjs} +1 -1
- package/dist/{chunk-LR3SWRB4.mjs → chunk-IC25OKBJ.mjs} +5 -5
- package/dist/{chunk-NR7MGDUE.mjs → chunk-KYJTZPXY.mjs} +2 -2
- package/dist/{chunk-YOSWY5QO.mjs → chunk-MCNCHQ33.mjs} +5 -5
- package/dist/{chunk-UCU5ON5M.mjs → chunk-P7YYNA6L.mjs} +1 -1
- package/dist/{chunk-K2J5B7WI.mjs → chunk-RIW4TT6V.mjs} +6 -6
- package/dist/{chunk-Z4RNZ4HQ.mjs → chunk-TRR232FS.mjs} +5 -5
- package/dist/{chunk-FEAPUDMZ.mjs → chunk-U2NPH2O3.mjs} +7 -7
- package/dist/{chunk-D7XSWNZ7.mjs → chunk-WOEZHDJR.mjs} +8 -8
- package/dist/{chunk-TWLYGLXN.mjs → chunk-ZYWQWFVT.mjs} +7 -7
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +6 -6
- package/dist/components/breadcrumb/index.mjs +6 -6
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/icon-button.mjs +2 -2
- package/dist/components/button/index.mjs +9 -9
- package/dist/components/button/text-button.mjs +3 -3
- package/dist/components/charts/{areaCharts.d.mts → areaChart.d.mts} +8 -4
- package/dist/components/charts/{areaCharts.d.ts → areaChart.d.ts} +8 -4
- package/dist/components/charts/{areaCharts.js → areaChart.js} +70 -66
- package/dist/components/charts/{areaCharts.mjs → areaChart.mjs} +4 -4
- package/dist/components/charts/barChart.d.mts +33 -0
- package/dist/components/charts/barChart.d.ts +33 -0
- package/dist/components/charts/barChart.js +464 -0
- package/dist/components/charts/barChart.mjs +10 -0
- package/dist/components/charts/circularProgress.d.mts +4 -4
- package/dist/components/charts/circularProgress.d.ts +4 -4
- package/dist/components/charts/circularProgress.js +4 -4
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.d.mts +2 -1
- package/dist/components/charts/index.d.ts +2 -1
- package/dist/components/charts/index.js +189 -65
- package/dist/components/charts/index.mjs +10 -6
- package/dist/components/checkbox/checkbox.mjs +3 -3
- package/dist/components/checkbox/index.mjs +3 -3
- package/dist/components/chip/chip.mjs +2 -2
- package/dist/components/chip/index.mjs +2 -2
- package/dist/components/dateTimePicker/calendar.mjs +2 -2
- package/dist/components/dateTimePicker/dateTimePicker.mjs +8 -8
- package/dist/components/dateTimePicker/index.mjs +8 -8
- package/dist/components/dateTimePicker/timePicker.mjs +5 -5
- package/dist/components/fileUpload/fileUpload.mjs +7 -7
- package/dist/components/fileUpload/index.mjs +7 -7
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.mjs +3 -3
- package/dist/components/modal/index.mjs +8 -8
- package/dist/components/modal/modal.mjs +8 -8
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/radio/index.mjs +3 -3
- package/dist/components/radio/radio.mjs +3 -3
- package/dist/components/select/index.js +3 -3
- package/dist/components/select/index.mjs +3 -3
- package/dist/components/select/select.js +3 -3
- package/dist/components/select/select.mjs +3 -3
- package/dist/components/table/index.mjs +8 -8
- package/dist/components/table/table-body.mjs +4 -4
- package/dist/components/table/table-head.mjs +4 -4
- package/dist/components/table/table.mjs +8 -8
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/textarea/index.mjs +2 -2
- package/dist/components/textarea/textarea.mjs +2 -2
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.mjs +2 -2
- package/dist/components/tree/tree.mjs +2 -2
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +192 -68
- package/dist/index.mjs +67 -63
- package/package.json +1 -1
- package/dist/chunk-VYLYF6G5.mjs +0 -143
- package/dist/{chunk-SSMMWMQC.mjs → chunk-2YMAKIZ6.mjs} +3 -3
- package/dist/{chunk-6Q2BXHJL.mjs → chunk-4EIGHKUO.mjs} +3 -3
- package/dist/{chunk-6K3E5BVO.mjs → chunk-7TAGGLNY.mjs} +3 -3
- package/dist/{chunk-X6D7C7QZ.mjs → chunk-A7RU3FU5.mjs} +3 -3
- package/dist/{chunk-7H5XPHY6.mjs → chunk-D6QI3DJG.mjs} +4 -4
- package/dist/{chunk-33C4DOPJ.mjs → chunk-GH6CPGFN.mjs} +4 -4
- package/dist/{chunk-UFVQPPPW.mjs → chunk-HIVPDIEP.mjs} +3 -3
- package/dist/{chunk-P5QCU457.mjs → chunk-LL6F3WDX.mjs} +3 -3
- package/dist/{chunk-UCIH2BJI.mjs → chunk-MEY4IL7D.mjs} +4 -4
- package/dist/{chunk-WPIFIRCJ.mjs → chunk-NFQMXW4Z.mjs} +3 -3
- package/dist/{chunk-YIIFWADW.mjs → chunk-QIRL6HY6.mjs} +4 -4
- package/dist/{chunk-QWIURBUH.mjs → chunk-RT3S3VVJ.mjs} +6 -6
- package/dist/{chunk-7J3KVOTS.mjs → chunk-UB4YBFOT.mjs} +3 -3
- package/dist/{chunk-KCOHU7X7.mjs → chunk-WFMFC7R6.mjs} +4 -4
- package/dist/{chunk-Y6XQTWB5.mjs → chunk-WLNLVX7Q.mjs} +3 -3
- package/dist/{chunk-3YMMVZDL.mjs → chunk-XOH6GWRD.mjs} +0 -0
- package/dist/{chunk-IL5ENWCR.mjs → chunk-Z2537DF6.mjs} +3 -3
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-MY5U63QO.mjs";
|
|
3
|
+
import {
|
|
4
|
+
icon_button_default
|
|
5
|
+
} from "../../chunk-7TAGGLNY.mjs";
|
|
6
|
+
import {
|
|
7
|
+
text_button_default
|
|
8
|
+
} from "../../chunk-WFMFC7R6.mjs";
|
|
3
9
|
import {
|
|
4
10
|
button_group_default
|
|
5
11
|
} from "../../chunk-LPZOH3RP.mjs";
|
|
6
12
|
import {
|
|
7
13
|
button_default
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import {
|
|
10
|
-
icon_button_default
|
|
11
|
-
} from "../../chunk-6K3E5BVO.mjs";
|
|
14
|
+
} from "../../chunk-UB4YBFOT.mjs";
|
|
12
15
|
import "../../chunk-6WSACUIB.mjs";
|
|
13
16
|
import "../../chunk-LXHUO6VM.mjs";
|
|
14
17
|
import "../../chunk-6PNKRBUT.mjs";
|
|
15
18
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
16
19
|
import "../../chunk-2TKEWFGH.mjs";
|
|
17
|
-
import {
|
|
18
|
-
text_button_default
|
|
19
|
-
} from "../../chunk-KCOHU7X7.mjs";
|
|
20
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
21
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
22
20
|
import "../../chunk-2SDYFOZL.mjs";
|
|
23
21
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
22
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
23
|
+
import "../../chunk-E3G5QXSH.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-
|
|
5
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
6
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
4
|
+
} from "../../chunk-WFMFC7R6.mjs";
|
|
7
5
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
6
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
7
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
8
8
|
import "../../chunk-AC6TWLRT.mjs";
|
|
9
9
|
export {
|
|
10
10
|
text_button_default as default
|
|
@@ -8,7 +8,8 @@ type AreaData = {
|
|
|
8
8
|
value: number;
|
|
9
9
|
};
|
|
10
10
|
type Props = {
|
|
11
|
-
|
|
11
|
+
data?: AreaData[];
|
|
12
|
+
label?: string;
|
|
12
13
|
classNames?: SlotsToClasses<AreaChartSlots>;
|
|
13
14
|
};
|
|
14
15
|
type AreaChartProps = Props & AreaChartVariantProps;
|
|
@@ -24,9 +25,10 @@ declare const areaChartStyle: tailwind_variants.TVReturnType<{
|
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
27
|
}, {
|
|
27
|
-
base:
|
|
28
|
+
base: string[];
|
|
28
29
|
color: never[];
|
|
29
30
|
axis: string[];
|
|
31
|
+
label: string[];
|
|
30
32
|
}, undefined, {
|
|
31
33
|
color: {
|
|
32
34
|
primary: {
|
|
@@ -37,9 +39,10 @@ declare const areaChartStyle: tailwind_variants.TVReturnType<{
|
|
|
37
39
|
};
|
|
38
40
|
};
|
|
39
41
|
}, {
|
|
40
|
-
base:
|
|
42
|
+
base: string[];
|
|
41
43
|
color: never[];
|
|
42
44
|
axis: string[];
|
|
45
|
+
label: string[];
|
|
43
46
|
}, tailwind_variants.TVReturnType<{
|
|
44
47
|
color: {
|
|
45
48
|
primary: {
|
|
@@ -50,9 +53,10 @@ declare const areaChartStyle: tailwind_variants.TVReturnType<{
|
|
|
50
53
|
};
|
|
51
54
|
};
|
|
52
55
|
}, {
|
|
53
|
-
base:
|
|
56
|
+
base: string[];
|
|
54
57
|
color: never[];
|
|
55
58
|
axis: string[];
|
|
59
|
+
label: string[];
|
|
56
60
|
}, undefined, unknown, unknown, undefined>>;
|
|
57
61
|
type AreaChartVariantProps = VariantProps<typeof areaChartStyle>;
|
|
58
62
|
type AreaChartSlots = keyof ReturnType<typeof areaChartStyle>;
|
|
@@ -8,7 +8,8 @@ type AreaData = {
|
|
|
8
8
|
value: number;
|
|
9
9
|
};
|
|
10
10
|
type Props = {
|
|
11
|
-
|
|
11
|
+
data?: AreaData[];
|
|
12
|
+
label?: string;
|
|
12
13
|
classNames?: SlotsToClasses<AreaChartSlots>;
|
|
13
14
|
};
|
|
14
15
|
type AreaChartProps = Props & AreaChartVariantProps;
|
|
@@ -24,9 +25,10 @@ declare const areaChartStyle: tailwind_variants.TVReturnType<{
|
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
27
|
}, {
|
|
27
|
-
base:
|
|
28
|
+
base: string[];
|
|
28
29
|
color: never[];
|
|
29
30
|
axis: string[];
|
|
31
|
+
label: string[];
|
|
30
32
|
}, undefined, {
|
|
31
33
|
color: {
|
|
32
34
|
primary: {
|
|
@@ -37,9 +39,10 @@ declare const areaChartStyle: tailwind_variants.TVReturnType<{
|
|
|
37
39
|
};
|
|
38
40
|
};
|
|
39
41
|
}, {
|
|
40
|
-
base:
|
|
42
|
+
base: string[];
|
|
41
43
|
color: never[];
|
|
42
44
|
axis: string[];
|
|
45
|
+
label: string[];
|
|
43
46
|
}, tailwind_variants.TVReturnType<{
|
|
44
47
|
color: {
|
|
45
48
|
primary: {
|
|
@@ -50,9 +53,10 @@ declare const areaChartStyle: tailwind_variants.TVReturnType<{
|
|
|
50
53
|
};
|
|
51
54
|
};
|
|
52
55
|
}, {
|
|
53
|
-
base:
|
|
56
|
+
base: string[];
|
|
54
57
|
color: never[];
|
|
55
58
|
axis: string[];
|
|
59
|
+
label: string[];
|
|
56
60
|
}, undefined, unknown, unknown, undefined>>;
|
|
57
61
|
type AreaChartVariantProps = VariantProps<typeof areaChartStyle>;
|
|
58
62
|
type AreaChartSlots = keyof ReturnType<typeof areaChartStyle>;
|
|
@@ -99,12 +99,12 @@ var require_plugin = __commonJS({
|
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
// src/components/charts/
|
|
103
|
-
var
|
|
104
|
-
__export(
|
|
105
|
-
default: () =>
|
|
102
|
+
// src/components/charts/areaChart.tsx
|
|
103
|
+
var areaChart_exports = {};
|
|
104
|
+
__export(areaChart_exports, {
|
|
105
|
+
default: () => areaChart_default
|
|
106
106
|
});
|
|
107
|
-
module.exports = __toCommonJS(
|
|
107
|
+
module.exports = __toCommonJS(areaChart_exports);
|
|
108
108
|
var import_react = require("react");
|
|
109
109
|
|
|
110
110
|
// src/utils/tailwind-variants.ts
|
|
@@ -324,7 +324,7 @@ var tv = (0, import_tailwind_variants.createTV)({
|
|
|
324
324
|
}
|
|
325
325
|
});
|
|
326
326
|
|
|
327
|
-
// src/components/charts/
|
|
327
|
+
// src/components/charts/areaChart.tsx
|
|
328
328
|
var import_recharts = require("recharts");
|
|
329
329
|
|
|
330
330
|
// src/utils/props.ts
|
|
@@ -347,12 +347,12 @@ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
|
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
349
|
|
|
350
|
-
// src/components/charts/
|
|
350
|
+
// src/components/charts/areaChart.tsx
|
|
351
351
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
352
352
|
var AreaChartComponent = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
353
353
|
const uniqueId = (0, import_react.useId)();
|
|
354
354
|
const [props, variantProps] = mapPropsVariants(originalProps, areaChartStyle.variantKeys);
|
|
355
|
-
const {
|
|
355
|
+
const { data, label, color = "primary", classNames } = { ...props, ...variantProps };
|
|
356
356
|
const slots = (0, import_react.useMemo)(() => areaChartStyle({ ...variantProps }), [variantProps]);
|
|
357
357
|
const COLOR_MAP = {
|
|
358
358
|
primary: "#3F9CF2",
|
|
@@ -390,7 +390,7 @@ var AreaChartComponent = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
390
390
|
tickRef.current = [];
|
|
391
391
|
});
|
|
392
392
|
return () => cancelAnimationFrame(raf);
|
|
393
|
-
}, [
|
|
393
|
+
}, [data]);
|
|
394
394
|
const CustomDotWithShadow = (props2) => {
|
|
395
395
|
const { cx, cy, fill, stroke } = props2;
|
|
396
396
|
if (cx === void 0 || cy === void 0) return null;
|
|
@@ -399,68 +399,72 @@ var AreaChartComponent = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
399
399
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx, cy, r: 3.5, fill, stroke, strokeWidth: 2 })
|
|
400
400
|
] });
|
|
401
401
|
};
|
|
402
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.
|
|
403
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("
|
|
404
|
-
|
|
405
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
402
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
403
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
|
|
404
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_recharts.AreaChart, { data, margin: { left: -30 }, children: [
|
|
405
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("linearGradient", { id: `colorGradient-${uniqueId}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
406
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: "5%", stopColor: colorHex, stopOpacity: 0.3 }),
|
|
407
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: "95%", stopColor: colorHex, stopOpacity: 0.05 })
|
|
408
|
+
] }) }),
|
|
409
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
410
|
+
import_recharts.CartesianGrid,
|
|
411
|
+
{
|
|
412
|
+
vertical: true,
|
|
413
|
+
horizontal: false,
|
|
414
|
+
strokeDasharray: "3 3",
|
|
415
|
+
className: "stroke-neutral-light",
|
|
416
|
+
verticalPoints: tickPositions
|
|
417
|
+
}
|
|
418
|
+
),
|
|
419
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
420
|
+
import_recharts.XAxis,
|
|
421
|
+
{
|
|
422
|
+
dataKey: "name",
|
|
423
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
424
|
+
tickLine: false,
|
|
425
|
+
tick: CustomTick,
|
|
426
|
+
padding: { left: 35.5, right: 35.5 }
|
|
427
|
+
}
|
|
428
|
+
),
|
|
429
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
430
|
+
import_recharts.YAxis,
|
|
431
|
+
{
|
|
432
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
433
|
+
tickLine: false,
|
|
434
|
+
tick: {
|
|
435
|
+
fontSize: 12,
|
|
436
|
+
fontWeight: 700,
|
|
437
|
+
fill: "text-body-foreground",
|
|
438
|
+
textAnchor: "middle",
|
|
439
|
+
dx: -10
|
|
440
|
+
},
|
|
441
|
+
ticks: [0, 20, 40, 60, 80, 100],
|
|
442
|
+
domain: [-6, 110]
|
|
443
|
+
}
|
|
444
|
+
),
|
|
445
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
446
|
+
import_recharts.Area,
|
|
447
|
+
{
|
|
448
|
+
type: "monotone",
|
|
449
|
+
dataKey: "value",
|
|
450
|
+
stroke: colorHex,
|
|
451
|
+
strokeWidth: 2,
|
|
452
|
+
fill: `url(#colorGradient-${uniqueId})`,
|
|
453
|
+
dot: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CustomDotWithShadow, { stroke: colorHex, fill: colorHex }),
|
|
454
|
+
activeDot: { r: 7, fill: colorHex }
|
|
455
|
+
}
|
|
456
|
+
)
|
|
457
|
+
] }) })
|
|
458
|
+
] });
|
|
456
459
|
});
|
|
457
460
|
AreaChartComponent.displayName = "AreaChart";
|
|
458
|
-
var
|
|
461
|
+
var areaChart_default = AreaChartComponent;
|
|
459
462
|
var areaChartStyle = tv({
|
|
460
463
|
slots: {
|
|
461
|
-
base: [],
|
|
464
|
+
base: ["flex", "flex-col", "gap-[10px]"],
|
|
462
465
|
color: [],
|
|
463
|
-
axis: ["text-sm", "font-bold", "text-center", "text-body-foreground"]
|
|
466
|
+
axis: ["text-sm", "font-bold", "text-center", "text-body-foreground"],
|
|
467
|
+
label: ["text-md", "font-bold", "text-body-foreground"]
|
|
464
468
|
},
|
|
465
469
|
variants: {
|
|
466
470
|
color: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
3
|
+
areaChart_default
|
|
4
|
+
} from "../../chunk-4F6RULPS.mjs";
|
|
6
5
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
6
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
7
7
|
import "../../chunk-AC6TWLRT.mjs";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
areaChart_default as default
|
|
10
10
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
5
|
+
|
|
6
|
+
type BarData = {
|
|
7
|
+
name: string;
|
|
8
|
+
avg: number;
|
|
9
|
+
high: number;
|
|
10
|
+
low: number;
|
|
11
|
+
};
|
|
12
|
+
type Props = {
|
|
13
|
+
data?: BarData[];
|
|
14
|
+
label?: string;
|
|
15
|
+
classNames?: SlotsToClasses<barChartSlots>;
|
|
16
|
+
};
|
|
17
|
+
type barChartProps = Props & barChartVariantProps;
|
|
18
|
+
declare const BarChartComponent: react.ForwardRefExoticComponent<Props & barChartVariantProps & react.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
|
|
20
|
+
declare const barChartStyle: tailwind_variants.TVReturnType<{}, {
|
|
21
|
+
base: string[];
|
|
22
|
+
label: string[];
|
|
23
|
+
}, undefined, {}, {
|
|
24
|
+
base: string[];
|
|
25
|
+
label: string[];
|
|
26
|
+
}, tailwind_variants.TVReturnType<{}, {
|
|
27
|
+
base: string[];
|
|
28
|
+
label: string[];
|
|
29
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
30
|
+
type barChartVariantProps = VariantProps<typeof barChartStyle>;
|
|
31
|
+
type barChartSlots = keyof ReturnType<typeof barChartStyle>;
|
|
32
|
+
|
|
33
|
+
export { type barChartProps, BarChartComponent as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
5
|
+
|
|
6
|
+
type BarData = {
|
|
7
|
+
name: string;
|
|
8
|
+
avg: number;
|
|
9
|
+
high: number;
|
|
10
|
+
low: number;
|
|
11
|
+
};
|
|
12
|
+
type Props = {
|
|
13
|
+
data?: BarData[];
|
|
14
|
+
label?: string;
|
|
15
|
+
classNames?: SlotsToClasses<barChartSlots>;
|
|
16
|
+
};
|
|
17
|
+
type barChartProps = Props & barChartVariantProps;
|
|
18
|
+
declare const BarChartComponent: react.ForwardRefExoticComponent<Props & barChartVariantProps & react.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
|
|
20
|
+
declare const barChartStyle: tailwind_variants.TVReturnType<{}, {
|
|
21
|
+
base: string[];
|
|
22
|
+
label: string[];
|
|
23
|
+
}, undefined, {}, {
|
|
24
|
+
base: string[];
|
|
25
|
+
label: string[];
|
|
26
|
+
}, tailwind_variants.TVReturnType<{}, {
|
|
27
|
+
base: string[];
|
|
28
|
+
label: string[];
|
|
29
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
30
|
+
type barChartVariantProps = VariantProps<typeof barChartStyle>;
|
|
31
|
+
type barChartSlots = keyof ReturnType<typeof barChartStyle>;
|
|
32
|
+
|
|
33
|
+
export { type barChartProps, BarChartComponent as default };
|