@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
package/dist/index.d.mts
CHANGED
|
@@ -28,6 +28,8 @@ export { default as ScrollArea } from './components/scroll/scrollArea.mjs';
|
|
|
28
28
|
export { default as Tree, TreeNode } from './components/tree/tree.mjs';
|
|
29
29
|
export { default as FileUpload } from './components/fileUpload/fileUpload.mjs';
|
|
30
30
|
export { default as Skeleton } from './components/skeleton/skeleton.mjs';
|
|
31
|
+
export { default as CircularProgress } from './components/charts/circularProgress.mjs';
|
|
32
|
+
export { default as AreaChart } from './components/charts/areaCharts.mjs';
|
|
31
33
|
export { tv } from './utils/tailwind-variants.mjs';
|
|
32
34
|
export { deepnoidUi } from '@deepnoid/tailwind-config';
|
|
33
35
|
export { VariantProps } from 'tailwind-variants';
|
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export { default as ScrollArea } from './components/scroll/scrollArea.js';
|
|
|
28
28
|
export { default as Tree, TreeNode } from './components/tree/tree.js';
|
|
29
29
|
export { default as FileUpload } from './components/fileUpload/fileUpload.js';
|
|
30
30
|
export { default as Skeleton } from './components/skeleton/skeleton.js';
|
|
31
|
+
export { default as CircularProgress } from './components/charts/circularProgress.js';
|
|
32
|
+
export { default as AreaChart } from './components/charts/areaCharts.js';
|
|
31
33
|
export { tv } from './utils/tailwind-variants.js';
|
|
32
34
|
export { deepnoidUi } from '@deepnoid/tailwind-config';
|
|
33
35
|
export { VariantProps } from 'tailwind-variants';
|
package/dist/index.js
CHANGED
|
@@ -102,6 +102,7 @@ var require_plugin = __commonJS({
|
|
|
102
102
|
// src/index.ts
|
|
103
103
|
var index_exports = {};
|
|
104
104
|
__export(index_exports, {
|
|
105
|
+
AreaChart: () => areaCharts_default,
|
|
105
106
|
Avatar: () => avatar_default,
|
|
106
107
|
Backdrop: () => backdrop_default,
|
|
107
108
|
Breadcrumb: () => breadcrumb_default,
|
|
@@ -109,6 +110,7 @@ __export(index_exports, {
|
|
|
109
110
|
ButtonGroup: () => button_group_default,
|
|
110
111
|
CheckBox: () => checkbox_default,
|
|
111
112
|
Chip: () => chip_default,
|
|
113
|
+
CircularProgress: () => circularProgress_default,
|
|
112
114
|
DateTimePicker: () => dateTimePicker_default,
|
|
113
115
|
DefinitionTable: () => definition_table_default,
|
|
114
116
|
FileUpload: () => fileUpload_default,
|
|
@@ -7550,7 +7552,7 @@ var tableStyle = (0, import_tailwind_variants16.tv)({
|
|
|
7550
7552
|
table: ["w-full", "h-auto"],
|
|
7551
7553
|
thead: ["w-full"],
|
|
7552
7554
|
tbody: ["w-full"],
|
|
7553
|
-
tr: ["group", "outline-none", "w-full", "h-full"],
|
|
7555
|
+
tr: ["group/tr", "outline-none", "w-full", "h-full"],
|
|
7554
7556
|
th: [
|
|
7555
7557
|
"text-body-foreground",
|
|
7556
7558
|
"font-bold",
|
|
@@ -10514,8 +10516,200 @@ var fileUploadStyle = (0, import_tailwind_variants30.tv)({
|
|
|
10514
10516
|
helperMessage: ["text-neutral-main", "text-sm"]
|
|
10515
10517
|
}
|
|
10516
10518
|
});
|
|
10519
|
+
|
|
10520
|
+
// src/components/charts/circularProgress.tsx
|
|
10521
|
+
var import_recharts = require("recharts");
|
|
10522
|
+
var import_react34 = require("react");
|
|
10523
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
10524
|
+
var CircularProgress = (0, import_react34.forwardRef)((originalProps, ref) => {
|
|
10525
|
+
const [props, variantProps] = mapPropsVariants(originalProps, circularProgressStyle.variantKeys);
|
|
10526
|
+
const { title, size = 150, color, percentage, unit, classNames } = { ...props, ...variantProps };
|
|
10527
|
+
const slots = (0, import_react34.useMemo)(() => circularProgressStyle({ ...variantProps }), [variantProps]);
|
|
10528
|
+
const data = [
|
|
10529
|
+
{
|
|
10530
|
+
name: title,
|
|
10531
|
+
value: percentage
|
|
10532
|
+
}
|
|
10533
|
+
];
|
|
10534
|
+
const BAR_SIZE = 24;
|
|
10535
|
+
const OUTER_RADIUS = 88;
|
|
10536
|
+
const INNER_RADIUS = OUTER_RADIUS - BAR_SIZE;
|
|
10537
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
10538
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: `relative h-[${size}px] w-[${size}px]`, children: [
|
|
10539
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
10540
|
+
import_recharts.RadialBarChart,
|
|
10541
|
+
{
|
|
10542
|
+
width: size,
|
|
10543
|
+
height: size,
|
|
10544
|
+
innerRadius: INNER_RADIUS,
|
|
10545
|
+
outerRadius: OUTER_RADIUS,
|
|
10546
|
+
barSize: BAR_SIZE,
|
|
10547
|
+
data,
|
|
10548
|
+
startAngle: 90,
|
|
10549
|
+
endAngle: -270,
|
|
10550
|
+
children: [
|
|
10551
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10552
|
+
"circle",
|
|
10553
|
+
{
|
|
10554
|
+
cx: size / 2,
|
|
10555
|
+
cy: size / 2,
|
|
10556
|
+
r: INNER_RADIUS + BAR_SIZE / 2,
|
|
10557
|
+
className: slots.background({ class: classNames == null ? void 0 : classNames.background }),
|
|
10558
|
+
fill: "currentColor"
|
|
10559
|
+
}
|
|
10560
|
+
),
|
|
10561
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_recharts.PolarAngleAxis, { type: "number", domain: [0, 100], angleAxisId: 0, tick: false }),
|
|
10562
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
10563
|
+
import_recharts.RadialBar,
|
|
10564
|
+
{
|
|
10565
|
+
dataKey: "value",
|
|
10566
|
+
cornerRadius: 12,
|
|
10567
|
+
animationDuration: 1e3,
|
|
10568
|
+
className: slots.progress({ class: classNames == null ? void 0 : classNames.progress })
|
|
10569
|
+
}
|
|
10570
|
+
)
|
|
10571
|
+
]
|
|
10572
|
+
}
|
|
10573
|
+
),
|
|
10574
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("span", { className: slots.text({ class: classNames == null ? void 0 : classNames.text }), children: [
|
|
10575
|
+
percentage,
|
|
10576
|
+
unit
|
|
10577
|
+
] }) })
|
|
10578
|
+
] }),
|
|
10579
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: slots.title({ class: classNames == null ? void 0 : classNames.title }), children: title })
|
|
10580
|
+
] });
|
|
10581
|
+
});
|
|
10582
|
+
CircularProgress.displayName = "CircularProgress";
|
|
10583
|
+
var circularProgress_default = CircularProgress;
|
|
10584
|
+
var circularProgressStyle = tv({
|
|
10585
|
+
slots: {
|
|
10586
|
+
base: ["flex", "flex-col", "items-center", "gap-[20px]"],
|
|
10587
|
+
background: [],
|
|
10588
|
+
progress: ["transition-all", "duration-1000 ease-out"],
|
|
10589
|
+
text: ["text-xl", "font-bold"],
|
|
10590
|
+
title: ["text-md", "font-bold", "text-center", "text-body-foreground"]
|
|
10591
|
+
},
|
|
10592
|
+
variants: {
|
|
10593
|
+
color: {
|
|
10594
|
+
primary: {
|
|
10595
|
+
background: ["fill-primary-soft"],
|
|
10596
|
+
progress: ["fill-primary-main"],
|
|
10597
|
+
text: ["text-primary-dark"]
|
|
10598
|
+
},
|
|
10599
|
+
secondary: {
|
|
10600
|
+
background: ["fill-secondary-soft"],
|
|
10601
|
+
progress: ["fill-secondary-main"],
|
|
10602
|
+
text: ["text-secondary-dark"]
|
|
10603
|
+
},
|
|
10604
|
+
warning: {
|
|
10605
|
+
background: ["fill-warning-soft"],
|
|
10606
|
+
progress: ["fill-warning-main"],
|
|
10607
|
+
text: ["text-warning-dark"]
|
|
10608
|
+
}
|
|
10609
|
+
}
|
|
10610
|
+
},
|
|
10611
|
+
defaultVariants: {
|
|
10612
|
+
color: "primary"
|
|
10613
|
+
}
|
|
10614
|
+
});
|
|
10615
|
+
|
|
10616
|
+
// src/components/charts/areaCharts.tsx
|
|
10617
|
+
var import_react35 = require("react");
|
|
10618
|
+
var import_recharts2 = require("recharts");
|
|
10619
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
10620
|
+
var AreaChartComponent = (0, import_react35.forwardRef)((originalProps, ref) => {
|
|
10621
|
+
var _a, _b;
|
|
10622
|
+
const [props, variantProps] = mapPropsVariants(originalProps, areaChartStyle.variantKeys);
|
|
10623
|
+
const { areaData, color, classNames } = { ...props, ...variantProps };
|
|
10624
|
+
const slots = (0, import_react35.useMemo)(() => areaChartStyle({ ...variantProps }), [variantProps]);
|
|
10625
|
+
const colorHex = (_b = (_a = areaChartStyle.variants.color) == null ? void 0 : _a[color || "primary"]) == null ? void 0 : _b._colorValue;
|
|
10626
|
+
const CustomDotWithShadow = (props2) => {
|
|
10627
|
+
const { cx, cy, fill, stroke } = props2;
|
|
10628
|
+
if (cx === void 0 || cy === void 0) return null;
|
|
10629
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
|
|
10630
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("circle", { cx, cy, r: 8, fill, opacity: 0.2 }),
|
|
10631
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("circle", { cx, cy, r: 3.5, fill, stroke, strokeWidth: 2 })
|
|
10632
|
+
] });
|
|
10633
|
+
};
|
|
10634
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
10635
|
+
import_recharts2.AreaChart,
|
|
10636
|
+
{
|
|
10637
|
+
data: areaData,
|
|
10638
|
+
margin: {
|
|
10639
|
+
top: 20,
|
|
10640
|
+
right: 30,
|
|
10641
|
+
left: 20,
|
|
10642
|
+
bottom: 20
|
|
10643
|
+
},
|
|
10644
|
+
children: [
|
|
10645
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("linearGradient", { id: "colorGradient", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
10646
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("stop", { offset: "5%", stopColor: colorHex, stopOpacity: 0.3 }),
|
|
10647
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("stop", { offset: "95%", stopColor: colorHex, stopOpacity: 0 })
|
|
10648
|
+
] }) }),
|
|
10649
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_recharts2.CartesianGrid, { vertical: true, horizontal: false, strokeDasharray: "3 3", className: "stroke-neutral-light" }),
|
|
10650
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
10651
|
+
import_recharts2.XAxis,
|
|
10652
|
+
{
|
|
10653
|
+
dataKey: "name",
|
|
10654
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
10655
|
+
tickLine: false,
|
|
10656
|
+
tick: { fontSize: 12, fontWeight: 700, fill: "text-body-foreground" },
|
|
10657
|
+
padding: { left: 35.5, right: 35.5 }
|
|
10658
|
+
}
|
|
10659
|
+
),
|
|
10660
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
10661
|
+
import_recharts2.YAxis,
|
|
10662
|
+
{
|
|
10663
|
+
axisLine: { stroke: "#DFE2E7", strokeWidth: 1 },
|
|
10664
|
+
tickLine: false,
|
|
10665
|
+
tick: { fontSize: 12, fontWeight: 700, fill: "text-body-foreground" },
|
|
10666
|
+
ticks: [0, 20, 40, 60, 80, 100],
|
|
10667
|
+
domain: [0, 100]
|
|
10668
|
+
}
|
|
10669
|
+
),
|
|
10670
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
10671
|
+
import_recharts2.Area,
|
|
10672
|
+
{
|
|
10673
|
+
type: "monotone",
|
|
10674
|
+
dataKey: "value",
|
|
10675
|
+
stroke: colorHex,
|
|
10676
|
+
strokeWidth: 2,
|
|
10677
|
+
fill: "url(#colorGradient)",
|
|
10678
|
+
dot: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CustomDotWithShadow, { stroke: colorHex, fill: colorHex }),
|
|
10679
|
+
activeDot: { r: 7, fill: colorHex }
|
|
10680
|
+
}
|
|
10681
|
+
)
|
|
10682
|
+
]
|
|
10683
|
+
}
|
|
10684
|
+
) }) });
|
|
10685
|
+
});
|
|
10686
|
+
AreaChartComponent.displayName = "AreaChart";
|
|
10687
|
+
var areaCharts_default = AreaChartComponent;
|
|
10688
|
+
var areaChartStyle = tv({
|
|
10689
|
+
slots: {
|
|
10690
|
+
base: [],
|
|
10691
|
+
color: [],
|
|
10692
|
+
axis: ["text-sm", "font-bold", "text-center", "text-body-foreground"]
|
|
10693
|
+
},
|
|
10694
|
+
variants: {
|
|
10695
|
+
color: {
|
|
10696
|
+
primary: {
|
|
10697
|
+
color: ["text-primary-main"],
|
|
10698
|
+
_colorValue: "#3F9CF2"
|
|
10699
|
+
},
|
|
10700
|
+
danger: {
|
|
10701
|
+
color: ["text-danger-main"],
|
|
10702
|
+
_colorValue: "#FF4684"
|
|
10703
|
+
}
|
|
10704
|
+
}
|
|
10705
|
+
},
|
|
10706
|
+
defaultVariants: {
|
|
10707
|
+
color: "primary"
|
|
10708
|
+
}
|
|
10709
|
+
});
|
|
10517
10710
|
// Annotate the CommonJS export names for ESM import in node:
|
|
10518
10711
|
0 && (module.exports = {
|
|
10712
|
+
AreaChart,
|
|
10519
10713
|
Avatar,
|
|
10520
10714
|
Backdrop,
|
|
10521
10715
|
Breadcrumb,
|
|
@@ -10523,6 +10717,7 @@ var fileUploadStyle = (0, import_tailwind_variants30.tv)({
|
|
|
10523
10717
|
ButtonGroup,
|
|
10524
10718
|
CheckBox,
|
|
10525
10719
|
Chip,
|
|
10720
|
+
CircularProgress,
|
|
10526
10721
|
DateTimePicker,
|
|
10527
10722
|
DefinitionTable,
|
|
10528
10723
|
FileUpload,
|
package/dist/index.mjs
CHANGED
|
@@ -1,142 +1,150 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./chunk-HIE2YRGA.mjs";
|
|
3
|
-
import {
|
|
4
|
-
tooltip_default
|
|
5
|
-
} from "./chunk-Z2537DF6.mjs";
|
|
6
|
-
import "./chunk-ZMOAFSYE.mjs";
|
|
7
|
-
import "./chunk-WSIADHVC.mjs";
|
|
8
2
|
import "./chunk-MBLZYQCN.mjs";
|
|
9
3
|
import {
|
|
10
4
|
tree_default
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-3MY6LO7N.mjs";
|
|
13
|
-
import {
|
|
14
|
-
tabs_default
|
|
15
|
-
} from "./chunk-2YMAKIZ6.mjs";
|
|
16
|
-
import "./chunk-RRAZM5D3.mjs";
|
|
17
|
-
import {
|
|
18
|
-
textarea_default
|
|
19
|
-
} from "./chunk-4EIGHKUO.mjs";
|
|
5
|
+
} from "./chunk-WPIFIRCJ.mjs";
|
|
20
6
|
import "./chunk-LUWGOKLG.mjs";
|
|
21
7
|
import {
|
|
22
8
|
ToastProvider,
|
|
23
9
|
useToast
|
|
24
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BB7MFKNQ.mjs";
|
|
25
11
|
import "./chunk-ZOTHPHXA.mjs";
|
|
26
12
|
import {
|
|
27
13
|
toast_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-7W2ZI2DD.mjs";
|
|
15
|
+
import "./chunk-HIE2YRGA.mjs";
|
|
30
16
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./chunk-
|
|
17
|
+
tooltip_default
|
|
18
|
+
} from "./chunk-IL5ENWCR.mjs";
|
|
19
|
+
import "./chunk-ZMOAFSYE.mjs";
|
|
20
|
+
import "./chunk-WSIADHVC.mjs";
|
|
33
21
|
import "./chunk-DX3KXNP6.mjs";
|
|
34
|
-
import {
|
|
35
|
-
table_default
|
|
36
|
-
} from "./chunk-6ZL5NEEI.mjs";
|
|
37
22
|
import {
|
|
38
23
|
definition_table_default
|
|
39
24
|
} from "./chunk-6TIIBU7J.mjs";
|
|
40
|
-
import "./chunk-BPEMHZH3.mjs";
|
|
41
|
-
import "./chunk-P7YYNA6L.mjs";
|
|
42
|
-
import "./chunk-DQRAFUDA.mjs";
|
|
43
25
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./chunk-
|
|
26
|
+
table_default
|
|
27
|
+
} from "./chunk-42LXAL5Y.mjs";
|
|
28
|
+
import "./chunk-KJMJIFPS.mjs";
|
|
29
|
+
import "./chunk-SBL6IHEW.mjs";
|
|
30
|
+
import "./chunk-RRAZM5D3.mjs";
|
|
31
|
+
import {
|
|
32
|
+
textarea_default
|
|
33
|
+
} from "./chunk-4EIGHKUO.mjs";
|
|
46
34
|
import "./chunk-QCEKPS7U.mjs";
|
|
47
35
|
import {
|
|
48
36
|
select_default
|
|
49
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HVKEPI7R.mjs";
|
|
50
38
|
import "./chunk-MZ76AA76.mjs";
|
|
51
39
|
import {
|
|
52
40
|
skeleton_default
|
|
53
41
|
} from "./chunk-6PN3DGOE.mjs";
|
|
54
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-LVFI2NOH.mjs";
|
|
55
43
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
44
|
+
switch_default
|
|
45
|
+
} from "./chunk-AJUQBMSV.mjs";
|
|
46
|
+
import "./chunk-3MY6LO7N.mjs";
|
|
59
47
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-F3HENRVM.mjs";
|
|
48
|
+
tabs_default
|
|
49
|
+
} from "./chunk-SSMMWMQC.mjs";
|
|
63
50
|
import "./chunk-TPFN22HR.mjs";
|
|
64
51
|
import {
|
|
65
52
|
radio_default
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-MGEWSREV.mjs";
|
|
69
|
-
import "./chunk-75HLCORR.mjs";
|
|
53
|
+
} from "./chunk-33LANVZV.mjs";
|
|
54
|
+
import "./chunk-DQRAFUDA.mjs";
|
|
70
55
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-BFOK4HVC.mjs";
|
|
75
|
-
import "./chunk-7MVEAQ7Z.mjs";
|
|
56
|
+
scrollArea_default
|
|
57
|
+
} from "./chunk-M37VBNB3.mjs";
|
|
58
|
+
import "./chunk-DJOG6Z35.mjs";
|
|
76
59
|
import {
|
|
77
|
-
|
|
78
|
-
} from "./chunk-
|
|
60
|
+
modal_default
|
|
61
|
+
} from "./chunk-LR3SWRB4.mjs";
|
|
62
|
+
import "./chunk-7B7LRG5J.mjs";
|
|
79
63
|
import {
|
|
80
|
-
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
64
|
+
pagination_default
|
|
65
|
+
} from "./chunk-ZSG4NGLK.mjs";
|
|
66
|
+
import "./chunk-F3HENRVM.mjs";
|
|
67
|
+
import "./chunk-RLXOHILK.mjs";
|
|
84
68
|
import {
|
|
85
69
|
fileUpload_default
|
|
86
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-O6YBE7V3.mjs";
|
|
87
71
|
import "./chunk-2GCSFWHD.mjs";
|
|
88
72
|
import {
|
|
89
73
|
input_default
|
|
90
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-R62HK726.mjs";
|
|
91
75
|
import "./chunk-QZ3LVYJW.mjs";
|
|
92
76
|
import {
|
|
93
77
|
checkbox_default
|
|
94
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-YLRYHUTW.mjs";
|
|
79
|
+
import "./chunk-MGEWSREV.mjs";
|
|
95
80
|
import {
|
|
96
81
|
chip_default
|
|
97
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-Y6XQTWB5.mjs";
|
|
83
|
+
import "./chunk-75HLCORR.mjs";
|
|
84
|
+
import {
|
|
85
|
+
dateTimePicker_default
|
|
86
|
+
} from "./chunk-D7XSWNZ7.mjs";
|
|
87
|
+
import "./chunk-FWJ2ZKH6.mjs";
|
|
88
|
+
import "./chunk-X6D7C7QZ.mjs";
|
|
89
|
+
import "./chunk-P732YGHO.mjs";
|
|
90
|
+
import "./chunk-NR7MGDUE.mjs";
|
|
91
|
+
import "./chunk-7MVEAQ7Z.mjs";
|
|
92
|
+
import {
|
|
93
|
+
list_default
|
|
94
|
+
} from "./chunk-UFVQPPPW.mjs";
|
|
95
|
+
import {
|
|
96
|
+
listItem_default
|
|
97
|
+
} from "./chunk-QWIURBUH.mjs";
|
|
98
|
+
import "./chunk-3YMMVZDL.mjs";
|
|
99
|
+
import {
|
|
100
|
+
areaCharts_default
|
|
101
|
+
} from "./chunk-IET623ED.mjs";
|
|
102
|
+
import {
|
|
103
|
+
circularProgress_default
|
|
104
|
+
} from "./chunk-LTXJKWHO.mjs";
|
|
98
105
|
import "./chunk-SE5TU755.mjs";
|
|
99
106
|
import {
|
|
100
107
|
backdrop_default
|
|
101
|
-
} from "./chunk-
|
|
102
|
-
import "./chunk-7DLOYKVC.mjs";
|
|
103
|
-
import {
|
|
104
|
-
avatar_default
|
|
105
|
-
} from "./chunk-SP3JVQY3.mjs";
|
|
108
|
+
} from "./chunk-P5QCU457.mjs";
|
|
106
109
|
import "./chunk-KYIODWXL.mjs";
|
|
107
110
|
import {
|
|
108
111
|
breadcrumb_default
|
|
109
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-L2VA3ACH.mjs";
|
|
110
113
|
import "./chunk-MY5U63QO.mjs";
|
|
111
114
|
import {
|
|
112
115
|
button_group_default
|
|
113
116
|
} from "./chunk-LPZOH3RP.mjs";
|
|
114
117
|
import {
|
|
115
118
|
button_default
|
|
116
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-7J3KVOTS.mjs";
|
|
117
120
|
import {
|
|
118
121
|
icon_button_default
|
|
119
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-6K3E5BVO.mjs";
|
|
120
123
|
import "./chunk-6WSACUIB.mjs";
|
|
121
124
|
import "./chunk-LXHUO6VM.mjs";
|
|
122
125
|
import "./chunk-6PNKRBUT.mjs";
|
|
123
|
-
import {
|
|
124
|
-
text_button_default
|
|
125
|
-
} from "./chunk-WFMFC7R6.mjs";
|
|
126
126
|
import "./chunk-ZYIIXWVY.mjs";
|
|
127
127
|
import {
|
|
128
128
|
Icon_default,
|
|
129
129
|
iconTemplate
|
|
130
130
|
} from "./chunk-2TKEWFGH.mjs";
|
|
131
|
+
import {
|
|
132
|
+
text_button_default
|
|
133
|
+
} from "./chunk-2PKM7SLZ.mjs";
|
|
134
|
+
import "./chunk-27Y6K5NK.mjs";
|
|
135
|
+
import "./chunk-E3G5QXSH.mjs";
|
|
136
|
+
import "./chunk-7DLOYKVC.mjs";
|
|
137
|
+
import {
|
|
138
|
+
avatar_default
|
|
139
|
+
} from "./chunk-SP3JVQY3.mjs";
|
|
131
140
|
import "./chunk-2SDYFOZL.mjs";
|
|
132
141
|
import {
|
|
133
142
|
deepnoidUi,
|
|
134
143
|
tv
|
|
135
144
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
136
|
-
import "./chunk-27Y6K5NK.mjs";
|
|
137
|
-
import "./chunk-E3G5QXSH.mjs";
|
|
138
145
|
import "./chunk-AC6TWLRT.mjs";
|
|
139
146
|
export {
|
|
147
|
+
areaCharts_default as AreaChart,
|
|
140
148
|
avatar_default as Avatar,
|
|
141
149
|
backdrop_default as Backdrop,
|
|
142
150
|
breadcrumb_default as Breadcrumb,
|
|
@@ -144,6 +152,7 @@ export {
|
|
|
144
152
|
button_group_default as ButtonGroup,
|
|
145
153
|
checkbox_default as CheckBox,
|
|
146
154
|
chip_default as Chip,
|
|
155
|
+
circularProgress_default as CircularProgress,
|
|
147
156
|
dateTimePicker_default as DateTimePicker,
|
|
148
157
|
definition_table_default as DefinitionTable,
|
|
149
158
|
fileUpload_default as FileUpload,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepnoid/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.43",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"exports": {
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"framer-motion": "^12.10.0",
|
|
29
29
|
"react": "^19.1.0",
|
|
30
30
|
"react-dom": "^19.1.0",
|
|
31
|
+
"recharts": "^2.15.3",
|
|
31
32
|
"tailwind-variants": "^1.0.0"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
@@ -47,9 +48,9 @@
|
|
|
47
48
|
"typescript": "^5.8.2"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
51
|
+
"framer-motion": ">=12.10.0",
|
|
50
52
|
"react": ">=19.1.0",
|
|
51
|
-
"react-dom": ">=19.1.0"
|
|
52
|
-
"framer-motion": ">=12.10.0"
|
|
53
|
+
"react-dom": ">=19.1.0"
|
|
53
54
|
},
|
|
54
55
|
"publishConfig": {
|
|
55
56
|
"access": "public",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
tv
|
|
4
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
2
|
import {
|
|
6
3
|
clsx
|
|
7
4
|
} from "./chunk-27Y6K5NK.mjs";
|
|
8
5
|
import {
|
|
9
6
|
mapPropsVariants
|
|
10
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
+
import {
|
|
9
|
+
tv
|
|
10
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/button/text-button.tsx
|
|
13
13
|
import {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
tv
|
|
4
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
2
|
import {
|
|
6
3
|
clsx
|
|
7
4
|
} from "./chunk-27Y6K5NK.mjs";
|
|
8
5
|
import {
|
|
9
6
|
mapPropsVariants
|
|
10
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
+
import {
|
|
9
|
+
tv
|
|
10
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/radio/radio.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
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/button/icon-button.tsx
|
|
19
19
|
import { forwardRef, useMemo, useCallback } from "react";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
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/button/button.tsx
|
|
19
19
|
import React, { forwardRef, useMemo, useCallback } from "react";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-2TKEWFGH.mjs";
|
|
5
|
-
import {
|
|
6
|
-
tv
|
|
7
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
8
5
|
import {
|
|
9
6
|
clsx
|
|
10
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
11
8
|
import {
|
|
12
9
|
mapPropsVariants
|
|
13
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
|
+
import {
|
|
12
|
+
tv
|
|
13
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/toast/toast.tsx
|
|
16
16
|
import { forwardRef, useImperativeHandle, useMemo, useRef } from "react";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
4
|
} from "./chunk-2TKEWFGH.mjs";
|
|
5
|
-
import {
|
|
6
|
-
tv
|
|
7
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
8
5
|
import {
|
|
9
6
|
clsx
|
|
10
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
11
8
|
import {
|
|
12
9
|
mapPropsVariants
|
|
13
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
|
+
import {
|
|
12
|
+
tv
|
|
13
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/select/select.tsx
|
|
16
16
|
import { forwardRef, useMemo, useState, useRef, useEffect } from "react";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
getTailClassName,
|
|
7
7
|
getTailStyles
|
|
8
8
|
} from "./chunk-WSIADHVC.mjs";
|
|
9
|
-
import {
|
|
10
|
-
tv
|
|
11
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
12
9
|
import {
|
|
13
10
|
mapPropsVariants
|
|
14
11
|
} from "./chunk-E3G5QXSH.mjs";
|
|
12
|
+
import {
|
|
13
|
+
tv
|
|
14
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
15
15
|
|
|
16
16
|
// src/components/tooltip/tooltip.tsx
|
|
17
17
|
import { forwardRef, useCallback, useMemo, useRef, useState, useEffect } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
tv
|
|
4
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
2
|
import {
|
|
6
3
|
clsx
|
|
7
4
|
} from "./chunk-27Y6K5NK.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tv
|
|
7
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/backdrop/backdrop.tsx
|
|
10
10
|
import { useEffect, useState } from "react";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
avatar_default
|
|
4
|
-
} from "./chunk-SP3JVQY3.mjs";
|
|
5
2
|
import {
|
|
6
3
|
Icon_default
|
|
7
4
|
} from "./chunk-2TKEWFGH.mjs";
|
|
8
|
-
import {
|
|
9
|
-
tv
|
|
10
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
11
5
|
import {
|
|
12
6
|
mapPropsVariants
|
|
13
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
+
import {
|
|
9
|
+
avatar_default
|
|
10
|
+
} from "./chunk-SP3JVQY3.mjs";
|
|
11
|
+
import {
|
|
12
|
+
tv
|
|
13
|
+
} from "./chunk-4ZJFD3L3.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/list/listItem.tsx
|
|
16
16
|
import { forwardRef, useMemo } from "react";
|