@deepnoid/ui 0.1.43 → 0.1.44

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 (82) hide show
  1. package/.turbo/turbo-build.log +181 -181
  2. package/dist/{chunk-KJMJIFPS.mjs → chunk-BPEMHZH3.mjs} +1 -1
  3. package/dist/{chunk-BB7MFKNQ.mjs → chunk-CTBTYNSM.mjs} +3 -3
  4. package/dist/{chunk-L2VA3ACH.mjs → chunk-G67WUZO3.mjs} +3 -3
  5. package/dist/{chunk-LR3SWRB4.mjs → chunk-IC25OKBJ.mjs} +5 -5
  6. package/dist/{chunk-NR7MGDUE.mjs → chunk-KYJTZPXY.mjs} +2 -2
  7. package/dist/{chunk-ZSG4NGLK.mjs → chunk-MCNCHQ33.mjs} +4 -4
  8. package/dist/chunk-NZOVUADT.mjs +136 -0
  9. package/dist/{chunk-SBL6IHEW.mjs → chunk-P7YYNA6L.mjs} +1 -1
  10. package/dist/{chunk-42LXAL5Y.mjs → chunk-RIW4TT6V.mjs} +3 -3
  11. package/dist/{chunk-O6YBE7V3.mjs → chunk-TRR232FS.mjs} +5 -5
  12. package/dist/{chunk-D7XSWNZ7.mjs → chunk-WOEZHDJR.mjs} +8 -8
  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 +6 -6
  16. package/dist/components/breadcrumb/index.mjs +6 -6
  17. package/dist/components/button/button.mjs +2 -2
  18. package/dist/components/button/icon-button.mjs +2 -2
  19. package/dist/components/button/index.mjs +9 -9
  20. package/dist/components/button/text-button.mjs +2 -2
  21. package/dist/components/charts/areaCharts.js +81 -51
  22. package/dist/components/charts/areaCharts.mjs +2 -2
  23. package/dist/components/charts/circularProgress.mjs +2 -2
  24. package/dist/components/charts/index.js +81 -51
  25. package/dist/components/charts/index.mjs +3 -3
  26. package/dist/components/checkbox/checkbox.mjs +2 -2
  27. package/dist/components/checkbox/index.mjs +2 -2
  28. package/dist/components/chip/chip.mjs +2 -2
  29. package/dist/components/chip/index.mjs +2 -2
  30. package/dist/components/dateTimePicker/calendar.mjs +2 -2
  31. package/dist/components/dateTimePicker/dateTimePicker.mjs +8 -8
  32. package/dist/components/dateTimePicker/index.mjs +8 -8
  33. package/dist/components/dateTimePicker/timePicker.mjs +5 -5
  34. package/dist/components/fileUpload/fileUpload.mjs +7 -7
  35. package/dist/components/fileUpload/index.mjs +7 -7
  36. package/dist/components/input/index.mjs +3 -3
  37. package/dist/components/input/input.mjs +3 -3
  38. package/dist/components/list/index.mjs +4 -4
  39. package/dist/components/list/list.mjs +2 -2
  40. package/dist/components/list/listItem.mjs +3 -3
  41. package/dist/components/modal/index.mjs +8 -8
  42. package/dist/components/modal/modal.mjs +8 -8
  43. package/dist/components/pagination/index.mjs +4 -4
  44. package/dist/components/pagination/pagination.mjs +4 -4
  45. package/dist/components/radio/index.mjs +2 -2
  46. package/dist/components/radio/radio.mjs +2 -2
  47. package/dist/components/select/index.mjs +3 -3
  48. package/dist/components/select/select.mjs +3 -3
  49. package/dist/components/table/index.mjs +8 -8
  50. package/dist/components/table/table-body.mjs +3 -3
  51. package/dist/components/table/table-head.mjs +3 -3
  52. package/dist/components/table/table.mjs +8 -8
  53. package/dist/components/tabs/index.mjs +2 -2
  54. package/dist/components/tabs/tabs.mjs +2 -2
  55. package/dist/components/toast/index.mjs +5 -5
  56. package/dist/components/toast/toast.mjs +3 -3
  57. package/dist/components/toast/use-toast.mjs +4 -4
  58. package/dist/components/tooltip/index.mjs +2 -2
  59. package/dist/components/tooltip/tooltip.mjs +2 -2
  60. package/dist/components/tree/index.mjs +2 -2
  61. package/dist/components/tree/tree.mjs +2 -2
  62. package/dist/index.js +81 -51
  63. package/dist/index.mjs +66 -66
  64. package/package.json +1 -1
  65. package/dist/chunk-IET623ED.mjs +0 -106
  66. package/dist/{chunk-SSMMWMQC.mjs → chunk-2YMAKIZ6.mjs} +3 -3
  67. package/dist/{chunk-6K3E5BVO.mjs → chunk-7TAGGLNY.mjs} +3 -3
  68. package/dist/{chunk-X6D7C7QZ.mjs → chunk-A7RU3FU5.mjs} +3 -3
  69. package/dist/{chunk-YLRYHUTW.mjs → chunk-D6QI3DJG.mjs} +3 -3
  70. package/dist/{chunk-R62HK726.mjs → chunk-GH6CPGFN.mjs} +3 -3
  71. package/dist/{chunk-UFVQPPPW.mjs → chunk-HIVPDIEP.mjs} +3 -3
  72. package/dist/{chunk-P5QCU457.mjs → chunk-LL6F3WDX.mjs} +3 -3
  73. package/dist/{chunk-7W2ZI2DD.mjs → chunk-MEY4IL7D.mjs} +3 -3
  74. package/dist/{chunk-WPIFIRCJ.mjs → chunk-NFQMXW4Z.mjs} +3 -3
  75. package/dist/{chunk-HVKEPI7R.mjs → chunk-NLYGDZK3.mjs} +3 -3
  76. package/dist/{chunk-33LANVZV.mjs → chunk-QIRL6HY6.mjs} +3 -3
  77. package/dist/{chunk-QWIURBUH.mjs → chunk-RT3S3VVJ.mjs} +6 -6
  78. package/dist/{chunk-LTXJKWHO.mjs → chunk-TBZSYI6R.mjs} +3 -3
  79. package/dist/{chunk-7J3KVOTS.mjs → chunk-UB4YBFOT.mjs} +3 -3
  80. package/dist/{chunk-2PKM7SLZ.mjs → chunk-WFMFC7R6.mjs} +3 -3
  81. package/dist/{chunk-Y6XQTWB5.mjs → chunk-WLNLVX7Q.mjs} +3 -3
  82. package/dist/{chunk-IL5ENWCR.mjs → chunk-Z2537DF6.mjs} +3 -3
@@ -1,106 +0,0 @@
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
- mapPropsVariants
4
- } from "./chunk-E3G5QXSH.mjs";
5
2
  import {
6
3
  tv
7
4
  } from "./chunk-4ZJFD3L3.mjs";
5
+ import {
6
+ mapPropsVariants
7
+ } from "./chunk-E3G5QXSH.mjs";
8
8
 
9
9
  // src/components/tabs/tabs.tsx
10
10
  import { forwardRef, useCallback, useMemo, useState } from "react";
@@ -8,12 +8,12 @@ import {
8
8
  import {
9
9
  Icon_default
10
10
  } from "./chunk-2TKEWFGH.mjs";
11
- import {
12
- mapPropsVariants
13
- } from "./chunk-E3G5QXSH.mjs";
14
11
  import {
15
12
  tv
16
13
  } from "./chunk-4ZJFD3L3.mjs";
14
+ import {
15
+ mapPropsVariants
16
+ } from "./chunk-E3G5QXSH.mjs";
17
17
 
18
18
  // src/components/button/icon-button.tsx
19
19
  import { forwardRef, useMemo, useCallback } from "react";
@@ -6,12 +6,12 @@ import {
6
6
  import {
7
7
  Icon_default
8
8
  } from "./chunk-2TKEWFGH.mjs";
9
- import {
10
- mapPropsVariants
11
- } from "./chunk-E3G5QXSH.mjs";
12
9
  import {
13
10
  tv
14
11
  } from "./chunk-4ZJFD3L3.mjs";
12
+ import {
13
+ mapPropsVariants
14
+ } from "./chunk-E3G5QXSH.mjs";
15
15
 
16
16
  // src/components/dateTimePicker/calendar.tsx
17
17
  import React, {
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import {
3
+ tv
4
+ } from "./chunk-4ZJFD3L3.mjs";
2
5
  import {
3
6
  clsx
4
7
  } from "./chunk-27Y6K5NK.mjs";
5
8
  import {
6
9
  mapPropsVariants
7
10
  } from "./chunk-E3G5QXSH.mjs";
8
- import {
9
- tv
10
- } from "./chunk-4ZJFD3L3.mjs";
11
11
 
12
12
  // src/components/checkbox/checkbox.tsx
13
13
  import { forwardRef, useMemo } 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";
5
8
  import {
6
9
  clsx
7
10
  } from "./chunk-27Y6K5NK.mjs";
8
11
  import {
9
12
  mapPropsVariants
10
13
  } from "./chunk-E3G5QXSH.mjs";
11
- import {
12
- tv
13
- } from "./chunk-4ZJFD3L3.mjs";
14
14
 
15
15
  // src/components/input/input.tsx
16
16
  import {
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- mapPropsVariants
4
- } from "./chunk-E3G5QXSH.mjs";
5
2
  import {
6
3
  tv
7
4
  } from "./chunk-4ZJFD3L3.mjs";
5
+ import {
6
+ mapPropsVariants
7
+ } from "./chunk-E3G5QXSH.mjs";
8
8
 
9
9
  // src/components/list/list.tsx
10
10
  import { Children, cloneElement, forwardRef, isValidElement, useMemo } from "react";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- clsx
4
- } from "./chunk-27Y6K5NK.mjs";
5
2
  import {
6
3
  tv
7
4
  } from "./chunk-4ZJFD3L3.mjs";
5
+ import {
6
+ clsx
7
+ } from "./chunk-27Y6K5NK.mjs";
8
8
 
9
9
  // src/components/backdrop/backdrop.tsx
10
10
  import { useEffect, useState } 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";
5
8
  import {
6
9
  clsx
7
10
  } from "./chunk-27Y6K5NK.mjs";
8
11
  import {
9
12
  mapPropsVariants
10
13
  } 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,12 +2,12 @@
2
2
  import {
3
3
  Icon_default
4
4
  } from "./chunk-2TKEWFGH.mjs";
5
- import {
6
- clsx
7
- } from "./chunk-27Y6K5NK.mjs";
8
5
  import {
9
6
  tv
10
7
  } from "./chunk-4ZJFD3L3.mjs";
8
+ import {
9
+ clsx
10
+ } from "./chunk-27Y6K5NK.mjs";
11
11
 
12
12
  // src/components/tree/tree.tsx
13
13
  import { forwardRef, useMemo, useState, 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";
5
8
  import {
6
9
  clsx
7
10
  } from "./chunk-27Y6K5NK.mjs";
8
11
  import {
9
12
  mapPropsVariants
10
13
  } 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";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import {
3
+ tv
4
+ } from "./chunk-4ZJFD3L3.mjs";
2
5
  import {
3
6
  clsx
4
7
  } from "./chunk-27Y6K5NK.mjs";
5
8
  import {
6
9
  mapPropsVariants
7
10
  } 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";
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import {
3
- Icon_default
4
- } from "./chunk-2TKEWFGH.mjs";
5
- import {
6
- mapPropsVariants
7
- } from "./chunk-E3G5QXSH.mjs";
8
2
  import {
9
3
  avatar_default
10
4
  } from "./chunk-SP3JVQY3.mjs";
5
+ import {
6
+ Icon_default
7
+ } from "./chunk-2TKEWFGH.mjs";
11
8
  import {
12
9
  tv
13
10
  } from "./chunk-4ZJFD3L3.mjs";
11
+ import {
12
+ mapPropsVariants
13
+ } from "./chunk-E3G5QXSH.mjs";
14
14
 
15
15
  // src/components/list/listItem.tsx
16
16
  import { forwardRef, useMemo } from "react";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- mapPropsVariants
4
- } from "./chunk-E3G5QXSH.mjs";
5
2
  import {
6
3
  tv
7
4
  } from "./chunk-4ZJFD3L3.mjs";
5
+ import {
6
+ mapPropsVariants
7
+ } from "./chunk-E3G5QXSH.mjs";
8
8
 
9
9
  // src/components/charts/circularProgress.tsx
10
10
  import { RadialBarChart, RadialBar, PolarAngleAxis } from "recharts";
@@ -8,12 +8,12 @@ import {
8
8
  import {
9
9
  Icon_default
10
10
  } from "./chunk-2TKEWFGH.mjs";
11
- import {
12
- mapPropsVariants
13
- } from "./chunk-E3G5QXSH.mjs";
14
11
  import {
15
12
  tv
16
13
  } from "./chunk-4ZJFD3L3.mjs";
14
+ import {
15
+ mapPropsVariants
16
+ } from "./chunk-E3G5QXSH.mjs";
17
17
 
18
18
  // src/components/button/button.tsx
19
19
  import React, { forwardRef, useMemo, useCallback } from "react";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import {
3
+ tv
4
+ } from "./chunk-4ZJFD3L3.mjs";
2
5
  import {
3
6
  clsx
4
7
  } from "./chunk-27Y6K5NK.mjs";
5
8
  import {
6
9
  mapPropsVariants
7
10
  } 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 {
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  Icon_default
4
4
  } from "./chunk-2TKEWFGH.mjs";
5
- import {
6
- mapPropsVariants
7
- } from "./chunk-E3G5QXSH.mjs";
8
5
  import {
9
6
  tv
10
7
  } from "./chunk-4ZJFD3L3.mjs";
8
+ import {
9
+ mapPropsVariants
10
+ } from "./chunk-E3G5QXSH.mjs";
11
11
 
12
12
  // src/components/chip/chip.tsx
13
13
  import { forwardRef, useMemo } from "react";
@@ -6,12 +6,12 @@ import {
6
6
  getTailClassName,
7
7
  getTailStyles
8
8
  } from "./chunk-WSIADHVC.mjs";
9
- import {
10
- mapPropsVariants
11
- } from "./chunk-E3G5QXSH.mjs";
12
9
  import {
13
10
  tv
14
11
  } from "./chunk-4ZJFD3L3.mjs";
12
+ import {
13
+ mapPropsVariants
14
+ } from "./chunk-E3G5QXSH.mjs";
15
15
 
16
16
  // src/components/tooltip/tooltip.tsx
17
17
  import { forwardRef, useCallback, useMemo, useRef, useState, useEffect } from "react";