@deepnoid/ui 0.1.42 → 0.1.43
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 +171 -156
- package/dist/chunk-3YMMVZDL.mjs +1 -0
- package/dist/{chunk-6ZL5NEEI.mjs → chunk-42LXAL5Y.mjs} +4 -4
- package/dist/{chunk-IBI3OVQI.mjs → chunk-BB7MFKNQ.mjs} +1 -1
- package/dist/{chunk-K7V4VE7R.mjs → chunk-D7XSWNZ7.mjs} +8 -8
- package/dist/chunk-IET623ED.mjs +106 -0
- package/dist/{chunk-BPEMHZH3.mjs → chunk-KJMJIFPS.mjs} +1 -1
- package/dist/{chunk-G67WUZO3.mjs → chunk-L2VA3ACH.mjs} +3 -3
- package/dist/{chunk-IC25OKBJ.mjs → chunk-LR3SWRB4.mjs} +5 -5
- package/dist/chunk-LTXJKWHO.mjs +107 -0
- package/dist/{chunk-BFOK4HVC.mjs → chunk-NR7MGDUE.mjs} +4 -4
- package/dist/{chunk-25QOEKXS.mjs → chunk-O6YBE7V3.mjs} +3 -3
- package/dist/{chunk-P7YYNA6L.mjs → chunk-SBL6IHEW.mjs} +1 -1
- package/dist/{chunk-MCNCHQ33.mjs → chunk-ZSG4NGLK.mjs} +4 -4
- 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 +7 -7
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/charts/areaCharts.d.mts +66 -0
- package/dist/components/charts/areaCharts.d.ts +66 -0
- package/dist/components/charts/areaCharts.js +441 -0
- package/dist/components/charts/areaCharts.mjs +10 -0
- package/dist/components/charts/circularProgress.d.mts +92 -0
- package/dist/components/charts/circularProgress.d.ts +92 -0
- package/dist/components/charts/circularProgress.js +441 -0
- package/dist/components/charts/circularProgress.mjs +11 -0
- package/dist/components/charts/index.d.mts +5 -0
- package/dist/components/charts/index.d.ts +5 -0
- package/dist/components/charts/index.js +543 -0
- package/dist/components/charts/index.mjs +15 -0
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.mjs +2 -2
- 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 +6 -6
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.mjs +3 -3
- package/dist/components/modal/index.mjs +7 -7
- package/dist/components/modal/modal.mjs +7 -7
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/select/index.mjs +3 -3
- package/dist/components/select/select.mjs +3 -3
- package/dist/components/table/index.js +1 -1
- package/dist/components/table/index.mjs +12 -12
- package/dist/components/table/table-body.mjs +3 -3
- package/dist/components/table/table-head.mjs +3 -3
- package/dist/components/table/table.js +1 -1
- package/dist/components/table/table.mjs +10 -10
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.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 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +196 -1
- package/dist/index.mjs +77 -68
- package/package.json +4 -3
- package/dist/{chunk-WFMFC7R6.mjs → chunk-2PKM7SLZ.mjs} +3 -3
- package/dist/{chunk-QIRL6HY6.mjs → chunk-33LANVZV.mjs} +3 -3
- package/dist/{chunk-7TAGGLNY.mjs → chunk-6K3E5BVO.mjs} +3 -3
- package/dist/{chunk-UB4YBFOT.mjs → chunk-7J3KVOTS.mjs} +3 -3
- package/dist/{chunk-MEY4IL7D.mjs → chunk-7W2ZI2DD.mjs} +3 -3
- package/dist/{chunk-NLYGDZK3.mjs → chunk-HVKEPI7R.mjs} +3 -3
- package/dist/{chunk-Z2537DF6.mjs → chunk-IL5ENWCR.mjs} +3 -3
- package/dist/{chunk-LL6F3WDX.mjs → chunk-P5QCU457.mjs} +3 -3
- package/dist/{chunk-RT3S3VVJ.mjs → chunk-QWIURBUH.mjs} +6 -6
- package/dist/{chunk-GH6CPGFN.mjs → chunk-R62HK726.mjs} +3 -3
- package/dist/{chunk-2YMAKIZ6.mjs → chunk-SSMMWMQC.mjs} +3 -3
- package/dist/{chunk-HIVPDIEP.mjs → chunk-UFVQPPPW.mjs} +3 -3
- package/dist/{chunk-NFQMXW4Z.mjs → chunk-WPIFIRCJ.mjs} +3 -3
- package/dist/{chunk-A7RU3FU5.mjs → chunk-X6D7C7QZ.mjs} +3 -3
- package/dist/{chunk-WLNLVX7Q.mjs → chunk-Y6XQTWB5.mjs} +3 -3
- package/dist/{chunk-D6QI3DJG.mjs → chunk-YLRYHUTW.mjs} +3 -3
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
useDatePicker
|
|
4
|
+
} from "./chunk-FWJ2ZKH6.mjs";
|
|
2
5
|
import {
|
|
3
6
|
calendar_default
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X6D7C7QZ.mjs";
|
|
5
8
|
import {
|
|
6
9
|
timePicker_default
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
useDatePicker
|
|
10
|
-
} from "./chunk-FWJ2ZKH6.mjs";
|
|
10
|
+
} from "./chunk-NR7MGDUE.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Icon_default
|
|
13
13
|
} from "./chunk-2TKEWFGH.mjs";
|
|
14
|
-
import {
|
|
15
|
-
tv
|
|
16
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
17
14
|
import {
|
|
18
15
|
mapPropsVariants
|
|
19
16
|
} from "./chunk-E3G5QXSH.mjs";
|
|
17
|
+
import {
|
|
18
|
+
tv
|
|
19
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
20
20
|
|
|
21
21
|
// src/components/dateTimePicker/dateTimePicker.tsx
|
|
22
22
|
import React, { forwardRef, useCallback, useMemo } from "react";
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
mapPropsVariants
|
|
4
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tv
|
|
7
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
8
|
+
|
|
9
|
+
// src/components/charts/areaCharts.tsx
|
|
10
|
+
import { forwardRef, useMemo } from "react";
|
|
11
|
+
import { AreaChart, Area, XAxis, YAxis, ResponsiveContainer, CartesianGrid } from "recharts";
|
|
12
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
+
var AreaChartComponent = forwardRef((originalProps, ref) => {
|
|
14
|
+
var _a, _b;
|
|
15
|
+
const [props, variantProps] = mapPropsVariants(originalProps, areaChartStyle.variantKeys);
|
|
16
|
+
const { areaData, color, classNames } = { ...props, ...variantProps };
|
|
17
|
+
const slots = useMemo(() => areaChartStyle({ ...variantProps }), [variantProps]);
|
|
18
|
+
const colorHex = (_b = (_a = areaChartStyle.variants.color) == null ? void 0 : _a[color || "primary"]) == null ? void 0 : _b._colorValue;
|
|
19
|
+
const CustomDotWithShadow = (props2) => {
|
|
20
|
+
const { cx, cy, fill, stroke } = props2;
|
|
21
|
+
if (cx === void 0 || cy === void 0) return null;
|
|
22
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
23
|
+
/* @__PURE__ */ jsx("circle", { cx, cy, r: 8, fill, opacity: 0.2 }),
|
|
24
|
+
/* @__PURE__ */ jsx("circle", { cx, cy, r: 3.5, fill, stroke, strokeWidth: 2 })
|
|
25
|
+
] });
|
|
26
|
+
};
|
|
27
|
+
return /* @__PURE__ */ jsx("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: /* @__PURE__ */ jsx(ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs(
|
|
28
|
+
AreaChart,
|
|
29
|
+
{
|
|
30
|
+
data: areaData,
|
|
31
|
+
margin: {
|
|
32
|
+
top: 20,
|
|
33
|
+
right: 30,
|
|
34
|
+
left: 20,
|
|
35
|
+
bottom: 20
|
|
36
|
+
},
|
|
37
|
+
children: [
|
|
38
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", { id: "colorGradient", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
39
|
+
/* @__PURE__ */ jsx("stop", { offset: "5%", stopColor: colorHex, stopOpacity: 0.3 }),
|
|
40
|
+
/* @__PURE__ */ jsx("stop", { offset: "95%", stopColor: colorHex, stopOpacity: 0 })
|
|
41
|
+
] }) }),
|
|
42
|
+
/* @__PURE__ */ jsx(CartesianGrid, { vertical: true, horizontal: false, strokeDasharray: "3 3", className: "stroke-neutral-light" }),
|
|
43
|
+
/* @__PURE__ */ jsx(
|
|
44
|
+
XAxis,
|
|
45
|
+
{
|
|
46
|
+
dataKey: "name",
|
|
47
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
48
|
+
tickLine: false,
|
|
49
|
+
tick: { fontSize: 12, fontWeight: 700, fill: "text-body-foreground" },
|
|
50
|
+
padding: { left: 35.5, right: 35.5 }
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
/* @__PURE__ */ jsx(
|
|
54
|
+
YAxis,
|
|
55
|
+
{
|
|
56
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
57
|
+
tickLine: false,
|
|
58
|
+
tick: { fontSize: 12, fontWeight: 700, fill: "text-body-foreground" },
|
|
59
|
+
ticks: [0, 20, 40, 60, 80, 100],
|
|
60
|
+
domain: [0, 100]
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
/* @__PURE__ */ jsx(
|
|
64
|
+
Area,
|
|
65
|
+
{
|
|
66
|
+
type: "monotone",
|
|
67
|
+
dataKey: "value",
|
|
68
|
+
stroke: colorHex,
|
|
69
|
+
strokeWidth: 2,
|
|
70
|
+
fill: "url(#colorGradient)",
|
|
71
|
+
dot: /* @__PURE__ */ jsx(CustomDotWithShadow, { stroke: colorHex, fill: colorHex }),
|
|
72
|
+
activeDot: { r: 7, fill: colorHex }
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
) }) });
|
|
78
|
+
});
|
|
79
|
+
AreaChartComponent.displayName = "AreaChart";
|
|
80
|
+
var areaCharts_default = AreaChartComponent;
|
|
81
|
+
var areaChartStyle = tv({
|
|
82
|
+
slots: {
|
|
83
|
+
base: [],
|
|
84
|
+
color: [],
|
|
85
|
+
axis: ["text-sm", "font-bold", "text-center", "text-body-foreground"]
|
|
86
|
+
},
|
|
87
|
+
variants: {
|
|
88
|
+
color: {
|
|
89
|
+
primary: {
|
|
90
|
+
color: ["text-primary-main"],
|
|
91
|
+
_colorValue: "#3F9CF2"
|
|
92
|
+
},
|
|
93
|
+
danger: {
|
|
94
|
+
color: ["text-danger-main"],
|
|
95
|
+
_colorValue: "#FF4684"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
defaultVariants: {
|
|
100
|
+
color: "primary"
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
export {
|
|
105
|
+
areaCharts_default
|
|
106
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
text_button_default
|
|
4
|
-
} from "./chunk-WFMFC7R6.mjs";
|
|
5
2
|
import {
|
|
6
3
|
Icon_default
|
|
7
4
|
} from "./chunk-2TKEWFGH.mjs";
|
|
5
|
+
import {
|
|
6
|
+
text_button_default
|
|
7
|
+
} from "./chunk-2PKM7SLZ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tv
|
|
10
10
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
backdrop_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-P5QCU457.mjs";
|
|
5
5
|
import {
|
|
6
6
|
button_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7J3KVOTS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
10
|
} from "./chunk-2TKEWFGH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
tv
|
|
13
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
11
|
import {
|
|
15
12
|
mapPropsVariants
|
|
16
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
14
|
+
import {
|
|
15
|
+
tv
|
|
16
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
17
17
|
|
|
18
18
|
// src/components/modal/modal.tsx
|
|
19
19
|
import { forwardRef, useMemo, useEffect } from "react";
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
mapPropsVariants
|
|
4
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tv
|
|
7
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
8
|
+
|
|
9
|
+
// src/components/charts/circularProgress.tsx
|
|
10
|
+
import { RadialBarChart, RadialBar, PolarAngleAxis } from "recharts";
|
|
11
|
+
import { forwardRef, useMemo } from "react";
|
|
12
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
+
var CircularProgress = forwardRef((originalProps, ref) => {
|
|
14
|
+
const [props, variantProps] = mapPropsVariants(originalProps, circularProgressStyle.variantKeys);
|
|
15
|
+
const { title, size = 150, color, percentage, unit, classNames } = { ...props, ...variantProps };
|
|
16
|
+
const slots = useMemo(() => circularProgressStyle({ ...variantProps }), [variantProps]);
|
|
17
|
+
const data = [
|
|
18
|
+
{
|
|
19
|
+
name: title,
|
|
20
|
+
value: percentage
|
|
21
|
+
}
|
|
22
|
+
];
|
|
23
|
+
const BAR_SIZE = 24;
|
|
24
|
+
const OUTER_RADIUS = 88;
|
|
25
|
+
const INNER_RADIUS = OUTER_RADIUS - BAR_SIZE;
|
|
26
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
27
|
+
/* @__PURE__ */ jsxs("div", { className: `relative h-[${size}px] w-[${size}px]`, children: [
|
|
28
|
+
/* @__PURE__ */ jsxs(
|
|
29
|
+
RadialBarChart,
|
|
30
|
+
{
|
|
31
|
+
width: size,
|
|
32
|
+
height: size,
|
|
33
|
+
innerRadius: INNER_RADIUS,
|
|
34
|
+
outerRadius: OUTER_RADIUS,
|
|
35
|
+
barSize: BAR_SIZE,
|
|
36
|
+
data,
|
|
37
|
+
startAngle: 90,
|
|
38
|
+
endAngle: -270,
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ jsx(
|
|
41
|
+
"circle",
|
|
42
|
+
{
|
|
43
|
+
cx: size / 2,
|
|
44
|
+
cy: size / 2,
|
|
45
|
+
r: INNER_RADIUS + BAR_SIZE / 2,
|
|
46
|
+
className: slots.background({ class: classNames == null ? void 0 : classNames.background }),
|
|
47
|
+
fill: "currentColor"
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
/* @__PURE__ */ jsx(PolarAngleAxis, { type: "number", domain: [0, 100], angleAxisId: 0, tick: false }),
|
|
51
|
+
/* @__PURE__ */ jsx(
|
|
52
|
+
RadialBar,
|
|
53
|
+
{
|
|
54
|
+
dataKey: "value",
|
|
55
|
+
cornerRadius: 12,
|
|
56
|
+
animationDuration: 1e3,
|
|
57
|
+
className: slots.progress({ class: classNames == null ? void 0 : classNames.progress })
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsxs("span", { className: slots.text({ class: classNames == null ? void 0 : classNames.text }), children: [
|
|
64
|
+
percentage,
|
|
65
|
+
unit
|
|
66
|
+
] }) })
|
|
67
|
+
] }),
|
|
68
|
+
title && /* @__PURE__ */ jsx("p", { className: slots.title({ class: classNames == null ? void 0 : classNames.title }), children: title })
|
|
69
|
+
] });
|
|
70
|
+
});
|
|
71
|
+
CircularProgress.displayName = "CircularProgress";
|
|
72
|
+
var circularProgress_default = CircularProgress;
|
|
73
|
+
var circularProgressStyle = tv({
|
|
74
|
+
slots: {
|
|
75
|
+
base: ["flex", "flex-col", "items-center", "gap-[20px]"],
|
|
76
|
+
background: [],
|
|
77
|
+
progress: ["transition-all", "duration-1000 ease-out"],
|
|
78
|
+
text: ["text-xl", "font-bold"],
|
|
79
|
+
title: ["text-md", "font-bold", "text-center", "text-body-foreground"]
|
|
80
|
+
},
|
|
81
|
+
variants: {
|
|
82
|
+
color: {
|
|
83
|
+
primary: {
|
|
84
|
+
background: ["fill-primary-soft"],
|
|
85
|
+
progress: ["fill-primary-main"],
|
|
86
|
+
text: ["text-primary-dark"]
|
|
87
|
+
},
|
|
88
|
+
secondary: {
|
|
89
|
+
background: ["fill-secondary-soft"],
|
|
90
|
+
progress: ["fill-secondary-main"],
|
|
91
|
+
text: ["text-secondary-dark"]
|
|
92
|
+
},
|
|
93
|
+
warning: {
|
|
94
|
+
background: ["fill-warning-soft"],
|
|
95
|
+
progress: ["fill-warning-main"],
|
|
96
|
+
text: ["text-warning-dark"]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
defaultVariants: {
|
|
101
|
+
color: "primary"
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
export {
|
|
106
|
+
circularProgress_default
|
|
107
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
listItem_default
|
|
4
|
-
} from "./chunk-RT3S3VVJ.mjs";
|
|
5
2
|
import {
|
|
6
3
|
list_default
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UFVQPPPW.mjs";
|
|
5
|
+
import {
|
|
6
|
+
listItem_default
|
|
7
|
+
} from "./chunk-QWIURBUH.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/dateTimePicker/timePicker.tsx
|
|
10
10
|
import { useState, useRef, useEffect } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
input_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R62HK726.mjs";
|
|
5
5
|
import {
|
|
6
6
|
button_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7J3KVOTS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
icon_button_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6K3E5BVO.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/fileUpload/fileUpload.tsx
|
|
13
13
|
import { useRef, useState, useEffect } from "react";
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
} from "./chunk-F3HENRVM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
input_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-R62HK726.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
10
|
} from "./chunk-2TKEWFGH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
tv
|
|
13
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
11
|
import {
|
|
15
12
|
clsx
|
|
16
13
|
} from "./chunk-27Y6K5NK.mjs";
|
|
17
14
|
import {
|
|
18
15
|
mapPropsVariants
|
|
19
16
|
} from "./chunk-E3G5QXSH.mjs";
|
|
17
|
+
import {
|
|
18
|
+
tv
|
|
19
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
20
20
|
|
|
21
21
|
// src/components/pagination/pagination.tsx
|
|
22
22
|
import { forwardRef, useMemo, useState } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
backdrop_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-4ZJFD3L3.mjs";
|
|
4
|
+
} from "../../chunk-P5QCU457.mjs";
|
|
6
5
|
import "../../chunk-27Y6K5NK.mjs";
|
|
6
|
+
import "../../chunk-4ZJFD3L3.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-
|
|
6
|
-
import "../../chunk-4ZJFD3L3.mjs";
|
|
5
|
+
} from "../../chunk-P5QCU457.mjs";
|
|
7
6
|
import "../../chunk-27Y6K5NK.mjs";
|
|
7
|
+
import "../../chunk-4ZJFD3L3.mjs";
|
|
8
8
|
import "../../chunk-AC6TWLRT.mjs";
|
|
9
9
|
export {
|
|
10
10
|
backdrop_default as Backdrop
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
breadcrumb_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-L2VA3ACH.mjs";
|
|
5
5
|
import "../../chunk-MY5U63QO.mjs";
|
|
6
6
|
import "../../chunk-LPZOH3RP.mjs";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-7J3KVOTS.mjs";
|
|
8
|
+
import "../../chunk-6K3E5BVO.mjs";
|
|
9
9
|
import "../../chunk-6WSACUIB.mjs";
|
|
10
10
|
import "../../chunk-LXHUO6VM.mjs";
|
|
11
11
|
import "../../chunk-6PNKRBUT.mjs";
|
|
12
|
-
import "../../chunk-WFMFC7R6.mjs";
|
|
13
12
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
14
13
|
import "../../chunk-2TKEWFGH.mjs";
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-4ZJFD3L3.mjs";
|
|
14
|
+
import "../../chunk-2PKM7SLZ.mjs";
|
|
17
15
|
import "../../chunk-27Y6K5NK.mjs";
|
|
18
16
|
import "../../chunk-E3G5QXSH.mjs";
|
|
17
|
+
import "../../chunk-2SDYFOZL.mjs";
|
|
18
|
+
import "../../chunk-4ZJFD3L3.mjs";
|
|
19
19
|
import "../../chunk-AC6TWLRT.mjs";
|
|
20
20
|
export {
|
|
21
21
|
breadcrumb_default as default
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import "../../chunk-KYIODWXL.mjs";
|
|
3
3
|
import {
|
|
4
4
|
breadcrumb_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-L2VA3ACH.mjs";
|
|
6
6
|
import "../../chunk-MY5U63QO.mjs";
|
|
7
7
|
import "../../chunk-LPZOH3RP.mjs";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-7J3KVOTS.mjs";
|
|
9
|
+
import "../../chunk-6K3E5BVO.mjs";
|
|
10
10
|
import "../../chunk-6WSACUIB.mjs";
|
|
11
11
|
import "../../chunk-LXHUO6VM.mjs";
|
|
12
12
|
import "../../chunk-6PNKRBUT.mjs";
|
|
13
|
-
import "../../chunk-WFMFC7R6.mjs";
|
|
14
13
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
15
14
|
import "../../chunk-2TKEWFGH.mjs";
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-4ZJFD3L3.mjs";
|
|
15
|
+
import "../../chunk-2PKM7SLZ.mjs";
|
|
18
16
|
import "../../chunk-27Y6K5NK.mjs";
|
|
19
17
|
import "../../chunk-E3G5QXSH.mjs";
|
|
18
|
+
import "../../chunk-2SDYFOZL.mjs";
|
|
19
|
+
import "../../chunk-4ZJFD3L3.mjs";
|
|
20
20
|
import "../../chunk-AC6TWLRT.mjs";
|
|
21
21
|
export {
|
|
22
22
|
breadcrumb_default as Breadcrumb
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
button_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-7J3KVOTS.mjs";
|
|
5
5
|
import "../../chunk-6WSACUIB.mjs";
|
|
6
6
|
import "../../chunk-LXHUO6VM.mjs";
|
|
7
7
|
import "../../chunk-6PNKRBUT.mjs";
|
|
8
8
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
9
|
import "../../chunk-2TKEWFGH.mjs";
|
|
10
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
10
11
|
import "../../chunk-2SDYFOZL.mjs";
|
|
11
12
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
12
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
13
13
|
import "../../chunk-AC6TWLRT.mjs";
|
|
14
14
|
export {
|
|
15
15
|
button_default as default
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
icon_button_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-6K3E5BVO.mjs";
|
|
5
5
|
import "../../chunk-6WSACUIB.mjs";
|
|
6
6
|
import "../../chunk-LXHUO6VM.mjs";
|
|
7
7
|
import "../../chunk-6PNKRBUT.mjs";
|
|
8
8
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
9
|
import "../../chunk-2TKEWFGH.mjs";
|
|
10
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
10
11
|
import "../../chunk-2SDYFOZL.mjs";
|
|
11
12
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
12
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
13
13
|
import "../../chunk-AC6TWLRT.mjs";
|
|
14
14
|
export {
|
|
15
15
|
icon_button_default as default
|
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
} from "../../chunk-LPZOH3RP.mjs";
|
|
6
6
|
import {
|
|
7
7
|
button_default
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-7J3KVOTS.mjs";
|
|
9
9
|
import {
|
|
10
10
|
icon_button_default
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-6K3E5BVO.mjs";
|
|
12
12
|
import "../../chunk-6WSACUIB.mjs";
|
|
13
13
|
import "../../chunk-LXHUO6VM.mjs";
|
|
14
14
|
import "../../chunk-6PNKRBUT.mjs";
|
|
15
|
-
import {
|
|
16
|
-
text_button_default
|
|
17
|
-
} from "../../chunk-WFMFC7R6.mjs";
|
|
18
15
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
19
16
|
import "../../chunk-2TKEWFGH.mjs";
|
|
20
|
-
import
|
|
21
|
-
|
|
17
|
+
import {
|
|
18
|
+
text_button_default
|
|
19
|
+
} from "../../chunk-2PKM7SLZ.mjs";
|
|
22
20
|
import "../../chunk-27Y6K5NK.mjs";
|
|
23
21
|
import "../../chunk-E3G5QXSH.mjs";
|
|
22
|
+
import "../../chunk-2SDYFOZL.mjs";
|
|
23
|
+
import "../../chunk-4ZJFD3L3.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-4ZJFD3L3.mjs";
|
|
4
|
+
} from "../../chunk-2PKM7SLZ.mjs";
|
|
6
5
|
import "../../chunk-27Y6K5NK.mjs";
|
|
7
6
|
import "../../chunk-E3G5QXSH.mjs";
|
|
7
|
+
import "../../chunk-4ZJFD3L3.mjs";
|
|
8
8
|
import "../../chunk-AC6TWLRT.mjs";
|
|
9
9
|
export {
|
|
10
10
|
text_button_default as default
|
|
@@ -0,0 +1,66 @@
|
|
|
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 AreaData = {
|
|
7
|
+
name: string;
|
|
8
|
+
value: number;
|
|
9
|
+
};
|
|
10
|
+
type Props = {
|
|
11
|
+
areaData?: AreaData[];
|
|
12
|
+
classNames?: SlotsToClasses<AreaChartSlots>;
|
|
13
|
+
};
|
|
14
|
+
type AreaChartProps = Props & AreaChartVariantProps;
|
|
15
|
+
declare const AreaChartComponent: react.ForwardRefExoticComponent<Props & AreaChartVariantProps & react.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
|
|
17
|
+
declare const areaChartStyle: tailwind_variants.TVReturnType<{
|
|
18
|
+
color: {
|
|
19
|
+
primary: {
|
|
20
|
+
color: string[];
|
|
21
|
+
_colorValue: string;
|
|
22
|
+
};
|
|
23
|
+
danger: {
|
|
24
|
+
color: string[];
|
|
25
|
+
_colorValue: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}, {
|
|
29
|
+
base: never[];
|
|
30
|
+
color: never[];
|
|
31
|
+
axis: string[];
|
|
32
|
+
}, undefined, {
|
|
33
|
+
color: {
|
|
34
|
+
primary: {
|
|
35
|
+
color: string[];
|
|
36
|
+
_colorValue: string;
|
|
37
|
+
};
|
|
38
|
+
danger: {
|
|
39
|
+
color: string[];
|
|
40
|
+
_colorValue: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
base: never[];
|
|
45
|
+
color: never[];
|
|
46
|
+
axis: string[];
|
|
47
|
+
}, tailwind_variants.TVReturnType<{
|
|
48
|
+
color: {
|
|
49
|
+
primary: {
|
|
50
|
+
color: string[];
|
|
51
|
+
_colorValue: string;
|
|
52
|
+
};
|
|
53
|
+
danger: {
|
|
54
|
+
color: string[];
|
|
55
|
+
_colorValue: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
base: never[];
|
|
60
|
+
color: never[];
|
|
61
|
+
axis: string[];
|
|
62
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
63
|
+
type AreaChartVariantProps = VariantProps<typeof areaChartStyle>;
|
|
64
|
+
type AreaChartSlots = keyof ReturnType<typeof areaChartStyle>;
|
|
65
|
+
|
|
66
|
+
export { type AreaChartProps, AreaChartComponent as default };
|
|
@@ -0,0 +1,66 @@
|
|
|
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 AreaData = {
|
|
7
|
+
name: string;
|
|
8
|
+
value: number;
|
|
9
|
+
};
|
|
10
|
+
type Props = {
|
|
11
|
+
areaData?: AreaData[];
|
|
12
|
+
classNames?: SlotsToClasses<AreaChartSlots>;
|
|
13
|
+
};
|
|
14
|
+
type AreaChartProps = Props & AreaChartVariantProps;
|
|
15
|
+
declare const AreaChartComponent: react.ForwardRefExoticComponent<Props & AreaChartVariantProps & react.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
|
|
17
|
+
declare const areaChartStyle: tailwind_variants.TVReturnType<{
|
|
18
|
+
color: {
|
|
19
|
+
primary: {
|
|
20
|
+
color: string[];
|
|
21
|
+
_colorValue: string;
|
|
22
|
+
};
|
|
23
|
+
danger: {
|
|
24
|
+
color: string[];
|
|
25
|
+
_colorValue: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}, {
|
|
29
|
+
base: never[];
|
|
30
|
+
color: never[];
|
|
31
|
+
axis: string[];
|
|
32
|
+
}, undefined, {
|
|
33
|
+
color: {
|
|
34
|
+
primary: {
|
|
35
|
+
color: string[];
|
|
36
|
+
_colorValue: string;
|
|
37
|
+
};
|
|
38
|
+
danger: {
|
|
39
|
+
color: string[];
|
|
40
|
+
_colorValue: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
base: never[];
|
|
45
|
+
color: never[];
|
|
46
|
+
axis: string[];
|
|
47
|
+
}, tailwind_variants.TVReturnType<{
|
|
48
|
+
color: {
|
|
49
|
+
primary: {
|
|
50
|
+
color: string[];
|
|
51
|
+
_colorValue: string;
|
|
52
|
+
};
|
|
53
|
+
danger: {
|
|
54
|
+
color: string[];
|
|
55
|
+
_colorValue: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
base: never[];
|
|
60
|
+
color: never[];
|
|
61
|
+
axis: string[];
|
|
62
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
63
|
+
type AreaChartVariantProps = VariantProps<typeof areaChartStyle>;
|
|
64
|
+
type AreaChartSlots = keyof ReturnType<typeof areaChartStyle>;
|
|
65
|
+
|
|
66
|
+
export { type AreaChartProps, AreaChartComponent as default };
|