@deepnoid/ui 0.1.112 → 0.1.114

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 (122) hide show
  1. package/.turbo/turbo-build.log +181 -171
  2. package/dist/{chunk-46SXEYRN.mjs → chunk-2PZRTIRD.mjs} +1 -1
  3. package/dist/chunk-2VQM2ZBF.mjs +408 -0
  4. package/dist/{chunk-Q36C7WNH.mjs → chunk-4NVZMJGS.mjs} +1 -1
  5. package/dist/{chunk-HBEPQQOM.mjs → chunk-5AEN7QTL.mjs} +1 -1
  6. package/dist/{chunk-3I35VMMV.mjs → chunk-7VTZLHKM.mjs} +2 -2
  7. package/dist/{chunk-UOP7XLYB.mjs → chunk-7YCUFFKZ.mjs} +1 -1
  8. package/dist/{chunk-34DMXYCQ.mjs → chunk-AHBBUMPX.mjs} +2 -2
  9. package/dist/{chunk-KPNIWFLU.mjs → chunk-BFZ6OTVA.mjs} +2 -2
  10. package/dist/{chunk-7K463ANW.mjs → chunk-BKYNB52Z.mjs} +1 -1
  11. package/dist/{chunk-GAZ472ZU.mjs → chunk-CF7LIQF6.mjs} +54 -44
  12. package/dist/{chunk-XEEDMB5O.mjs → chunk-DDJ2EU3P.mjs} +39 -39
  13. package/dist/{chunk-J5K7RN5X.mjs → chunk-EDAREIAN.mjs} +1 -1
  14. package/dist/{chunk-33DLD2L6.mjs → chunk-FU4CDBVG.mjs} +1 -1
  15. package/dist/chunk-FWFEKWWD.mjs +18 -0
  16. package/dist/chunk-KIN2UK2C.mjs +132 -0
  17. package/dist/{chunk-XRYETYWI.mjs → chunk-L3WKBOWY.mjs} +1 -1
  18. package/dist/{chunk-EQWU2F5T.mjs → chunk-MLD6EZAE.mjs} +1 -1
  19. package/dist/{chunk-X67ELNP6.mjs → chunk-MTQGHQ7Z.mjs} +3 -3
  20. package/dist/{chunk-YCLB7ZNK.mjs → chunk-QREBEXKF.mjs} +1 -1
  21. package/dist/{chunk-2OK3VF75.mjs → chunk-TMHYS2DC.mjs} +4 -4
  22. package/dist/{chunk-GDKDD2MW.mjs → chunk-UNYKQTEP.mjs} +2 -2
  23. package/dist/{chunk-ANM4RNDF.mjs → chunk-VIXHPIIF.mjs} +3 -3
  24. package/dist/components/avatar/avatar.js +39 -39
  25. package/dist/components/avatar/avatar.mjs +2 -2
  26. package/dist/components/avatar/index.js +39 -39
  27. package/dist/components/avatar/index.mjs +2 -2
  28. package/dist/components/breadcrumb/breadcrumb.js +39 -39
  29. package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
  30. package/dist/components/breadcrumb/index.js +39 -39
  31. package/dist/components/breadcrumb/index.mjs +5 -5
  32. package/dist/components/button/button.js +39 -39
  33. package/dist/components/button/button.mjs +3 -3
  34. package/dist/components/button/icon-button.js +39 -39
  35. package/dist/components/button/icon-button.mjs +3 -3
  36. package/dist/components/button/index.js +39 -39
  37. package/dist/components/button/index.mjs +4 -4
  38. package/dist/components/charts/barChart.js +54 -44
  39. package/dist/components/charts/barChart.mjs +1 -1
  40. package/dist/components/charts/circularProgress.d.mts +18 -33
  41. package/dist/components/charts/circularProgress.d.ts +18 -33
  42. package/dist/components/charts/circularProgress.js +56 -31
  43. package/dist/components/charts/circularProgress.mjs +1 -1
  44. package/dist/components/charts/index.js +110 -75
  45. package/dist/components/charts/index.mjs +2 -2
  46. package/dist/components/chip/chip.js +39 -39
  47. package/dist/components/chip/chip.mjs +3 -3
  48. package/dist/components/chip/index.js +39 -39
  49. package/dist/components/chip/index.mjs +3 -3
  50. package/dist/components/fileUpload/fileUpload.js +39 -39
  51. package/dist/components/fileUpload/fileUpload.mjs +6 -6
  52. package/dist/components/fileUpload/index.js +39 -39
  53. package/dist/components/fileUpload/index.mjs +6 -6
  54. package/dist/components/icon/Icon.d.mts +4 -4
  55. package/dist/components/icon/Icon.d.ts +4 -4
  56. package/dist/components/icon/Icon.js +39 -39
  57. package/dist/components/icon/Icon.mjs +2 -2
  58. package/dist/components/icon/index.js +39 -39
  59. package/dist/components/icon/index.mjs +2 -2
  60. package/dist/components/icon/template.d.mts +1 -1
  61. package/dist/components/icon/template.d.ts +1 -1
  62. package/dist/components/icon/template.js +39 -39
  63. package/dist/components/icon/template.mjs +1 -1
  64. package/dist/components/input/index.js +39 -39
  65. package/dist/components/input/index.mjs +3 -3
  66. package/dist/components/input/input.js +39 -39
  67. package/dist/components/input/input.mjs +3 -3
  68. package/dist/components/list/index.js +39 -39
  69. package/dist/components/list/index.mjs +4 -4
  70. package/dist/components/list/listItem.js +39 -39
  71. package/dist/components/list/listItem.mjs +4 -4
  72. package/dist/components/modal/index.js +39 -39
  73. package/dist/components/modal/index.mjs +5 -5
  74. package/dist/components/modal/modal.js +39 -39
  75. package/dist/components/modal/modal.mjs +5 -5
  76. package/dist/components/pagination/index.js +39 -39
  77. package/dist/components/pagination/index.mjs +4 -4
  78. package/dist/components/pagination/pagination.js +39 -39
  79. package/dist/components/pagination/pagination.mjs +4 -4
  80. package/dist/components/picker/datePicker.d.mts +244 -0
  81. package/dist/components/picker/datePicker.d.ts +244 -0
  82. package/dist/components/picker/datePicker.js +5452 -0
  83. package/dist/components/picker/datePicker.mjs +17 -0
  84. package/dist/components/picker/index.d.mts +1 -0
  85. package/dist/components/picker/index.d.ts +1 -0
  86. package/dist/components/picker/index.js +507 -107
  87. package/dist/components/picker/index.mjs +10 -5
  88. package/dist/components/picker/timePicker.js +39 -39
  89. package/dist/components/picker/timePicker.mjs +4 -4
  90. package/dist/components/picker/utils.d.mts +4 -0
  91. package/dist/components/picker/utils.d.ts +4 -0
  92. package/dist/components/picker/utils.js +42 -0
  93. package/dist/components/picker/utils.mjs +10 -0
  94. package/dist/components/select/index.js +39 -39
  95. package/dist/components/select/index.mjs +3 -3
  96. package/dist/components/select/select.js +39 -39
  97. package/dist/components/select/select.mjs +3 -3
  98. package/dist/components/table/index.js +39 -39
  99. package/dist/components/table/index.mjs +7 -7
  100. package/dist/components/table/table-body.js +39 -39
  101. package/dist/components/table/table-body.mjs +7 -7
  102. package/dist/components/table/table-head.js +39 -39
  103. package/dist/components/table/table-head.mjs +7 -7
  104. package/dist/components/table/table.js +39 -39
  105. package/dist/components/table/table.mjs +7 -7
  106. package/dist/components/toast/index.js +39 -39
  107. package/dist/components/toast/index.mjs +5 -5
  108. package/dist/components/toast/toast.js +39 -39
  109. package/dist/components/toast/toast.mjs +3 -3
  110. package/dist/components/toast/use-toast.js +39 -39
  111. package/dist/components/toast/use-toast.mjs +4 -4
  112. package/dist/components/tree/index.js +39 -39
  113. package/dist/components/tree/index.mjs +3 -3
  114. package/dist/components/tree/tree.js +39 -39
  115. package/dist/components/tree/tree.mjs +3 -3
  116. package/dist/index.d.mts +2 -1
  117. package/dist/index.d.ts +2 -1
  118. package/dist/index.js +690 -253
  119. package/dist/index.mjs +47 -42
  120. package/package.json +1 -1
  121. package/dist/chunk-ZWLRSZTC.mjs +0 -107
  122. /package/dist/{chunk-BG7VAVOX.mjs → chunk-ZG4WRZOU.mjs} +0 -0
package/dist/index.mjs CHANGED
@@ -1,14 +1,27 @@
1
1
  "use client";
2
+ import "./chunk-MBLZYQCN.mjs";
3
+ import {
4
+ tree_default
5
+ } from "./chunk-5AEN7QTL.mjs";
6
+ import "./chunk-LUWGOKLG.mjs";
7
+ import {
8
+ ToastProvider,
9
+ useToast
10
+ } from "./chunk-MTQGHQ7Z.mjs";
11
+ import "./chunk-ZOTHPHXA.mjs";
12
+ import {
13
+ toast_default
14
+ } from "./chunk-EDAREIAN.mjs";
2
15
  import "./chunk-HIE2YRGA.mjs";
3
16
  import {
4
17
  tooltip_default
5
18
  } from "./chunk-YBVJFHH6.mjs";
6
19
  import "./chunk-ZMOAFSYE.mjs";
7
20
  import "./chunk-WSIADHVC.mjs";
8
- import "./chunk-MBLZYQCN.mjs";
21
+ import "./chunk-LVFI2NOH.mjs";
9
22
  import {
10
- tree_default
11
- } from "./chunk-HBEPQQOM.mjs";
23
+ switch_default
24
+ } from "./chunk-AGE57VDD.mjs";
12
25
  import "./chunk-3MY6LO7N.mjs";
13
26
  import {
14
27
  tabs_default
@@ -17,66 +30,57 @@ import "./chunk-RRAZM5D3.mjs";
17
30
  import {
18
31
  textarea_default
19
32
  } from "./chunk-3CRSSRCH.mjs";
20
- import "./chunk-LUWGOKLG.mjs";
21
- import {
22
- ToastProvider,
23
- useToast
24
- } from "./chunk-X67ELNP6.mjs";
25
- import {
26
- toast_default
27
- } from "./chunk-J5K7RN5X.mjs";
28
- import "./chunk-ZOTHPHXA.mjs";
29
- import "./chunk-LVFI2NOH.mjs";
30
- import {
31
- switch_default
32
- } from "./chunk-AGE57VDD.mjs";
33
33
  import "./chunk-DX3KXNP6.mjs";
34
34
  import {
35
35
  definition_table_default
36
36
  } from "./chunk-3M6VYLOU.mjs";
37
37
  import {
38
38
  table_default
39
- } from "./chunk-2OK3VF75.mjs";
40
- import "./chunk-DQRAFUDA.mjs";
41
- import {
42
- scrollArea_default
43
- } from "./chunk-M37VBNB3.mjs";
39
+ } from "./chunk-TMHYS2DC.mjs";
44
40
  import "./chunk-MZ76AA76.mjs";
45
41
  import {
46
42
  skeleton_default
47
43
  } from "./chunk-6PN3DGOE.mjs";
44
+ import "./chunk-TPFN22HR.mjs";
45
+ import {
46
+ radio_default
47
+ } from "./chunk-FF56E2UQ.mjs";
48
+ import "./chunk-DQRAFUDA.mjs";
49
+ import {
50
+ scrollArea_default
51
+ } from "./chunk-M37VBNB3.mjs";
48
52
  import "./chunk-7B7LRG5J.mjs";
49
53
  import {
50
54
  pagination_default
51
- } from "./chunk-GDKDD2MW.mjs";
55
+ } from "./chunk-UNYKQTEP.mjs";
52
56
  import "./chunk-F3HENRVM.mjs";
53
- import "./chunk-BG7VAVOX.mjs";
57
+ import "./chunk-ZG4WRZOU.mjs";
58
+ import {
59
+ datePicker_default
60
+ } from "./chunk-2VQM2ZBF.mjs";
54
61
  import {
55
62
  timePicker_default
56
- } from "./chunk-34DMXYCQ.mjs";
63
+ } from "./chunk-AHBBUMPX.mjs";
57
64
  import "./chunk-QCEKPS7U.mjs";
58
65
  import {
59
66
  select_default
60
- } from "./chunk-YCLB7ZNK.mjs";
61
- import "./chunk-TPFN22HR.mjs";
62
- import {
63
- radio_default
64
- } from "./chunk-FF56E2UQ.mjs";
67
+ } from "./chunk-QREBEXKF.mjs";
68
+ import "./chunk-FWFEKWWD.mjs";
65
69
  import "./chunk-7MVEAQ7Z.mjs";
66
70
  import {
67
71
  list_default
68
72
  } from "./chunk-3IILPVRA.mjs";
69
73
  import {
70
74
  listItem_default
71
- } from "./chunk-KPNIWFLU.mjs";
75
+ } from "./chunk-BFZ6OTVA.mjs";
72
76
  import "./chunk-DJOG6Z35.mjs";
73
77
  import {
74
78
  modal_default
75
- } from "./chunk-3I35VMMV.mjs";
79
+ } from "./chunk-7VTZLHKM.mjs";
76
80
  import "./chunk-MGEWSREV.mjs";
77
81
  import {
78
82
  chip_default
79
- } from "./chunk-7K463ANW.mjs";
83
+ } from "./chunk-BKYNB52Z.mjs";
80
84
  import "./chunk-32GA3YW4.mjs";
81
85
  import {
82
86
  drawer_default
@@ -84,7 +88,7 @@ import {
84
88
  import "./chunk-RLXOHILK.mjs";
85
89
  import {
86
90
  fileUpload_default
87
- } from "./chunk-ANM4RNDF.mjs";
91
+ } from "./chunk-VIXHPIIF.mjs";
88
92
  import "./chunk-7VOQKIIK.mjs";
89
93
  import {
90
94
  progress_default
@@ -92,17 +96,17 @@ import {
92
96
  import "./chunk-2GCSFWHD.mjs";
93
97
  import {
94
98
  input_default
95
- } from "./chunk-XRYETYWI.mjs";
99
+ } from "./chunk-L3WKBOWY.mjs";
96
100
  import "./chunk-VYNBJBXD.mjs";
97
101
  import {
98
102
  areaChart_default
99
103
  } from "./chunk-WIZDHK4O.mjs";
100
104
  import {
101
105
  barChart_default
102
- } from "./chunk-GAZ472ZU.mjs";
106
+ } from "./chunk-CF7LIQF6.mjs";
103
107
  import {
104
108
  circularProgress_default
105
- } from "./chunk-ZWLRSZTC.mjs";
109
+ } from "./chunk-KIN2UK2C.mjs";
106
110
  import {
107
111
  radarChart_default
108
112
  } from "./chunk-63KZGR73.mjs";
@@ -117,7 +121,7 @@ import {
117
121
  import "./chunk-KYIODWXL.mjs";
118
122
  import {
119
123
  breadcrumb_default
120
- } from "./chunk-UOP7XLYB.mjs";
124
+ } from "./chunk-7YCUFFKZ.mjs";
121
125
  import "./chunk-MY5U63QO.mjs";
122
126
  import {
123
127
  text_button_default
@@ -127,10 +131,10 @@ import {
127
131
  } from "./chunk-ITWKPTSD.mjs";
128
132
  import {
129
133
  button_default
130
- } from "./chunk-Q36C7WNH.mjs";
134
+ } from "./chunk-4NVZMJGS.mjs";
131
135
  import {
132
136
  icon_button_default
133
- } from "./chunk-46SXEYRN.mjs";
137
+ } from "./chunk-2PZRTIRD.mjs";
134
138
  import "./chunk-6WSACUIB.mjs";
135
139
  import "./chunk-LXHUO6VM.mjs";
136
140
  import "./chunk-6PNKRBUT.mjs";
@@ -138,7 +142,7 @@ import "./chunk-ZYIIXWVY.mjs";
138
142
  import {
139
143
  Icon_default,
140
144
  iconTemplate
141
- } from "./chunk-33DLD2L6.mjs";
145
+ } from "./chunk-FU4CDBVG.mjs";
142
146
  import "./chunk-NMSDSEBD.mjs";
143
147
  import {
144
148
  accordion_default
@@ -150,8 +154,8 @@ import "./chunk-E3G5QXSH.mjs";
150
154
  import "./chunk-7DLOYKVC.mjs";
151
155
  import {
152
156
  avatar_default
153
- } from "./chunk-EQWU2F5T.mjs";
154
- import "./chunk-XEEDMB5O.mjs";
157
+ } from "./chunk-MLD6EZAE.mjs";
158
+ import "./chunk-DDJ2EU3P.mjs";
155
159
  import {
156
160
  deepnoidUi,
157
161
  tv
@@ -172,6 +176,7 @@ export {
172
176
  checkbox_default as CheckBox,
173
177
  chip_default as Chip,
174
178
  circularProgress_default as CircularProgress,
179
+ datePicker_default as DatePicker,
175
180
  definition_table_default as DefinitionTable,
176
181
  drawer_default as Drawer,
177
182
  fileUpload_default as FileUpload,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.1.112",
3
+ "version": "0.1.114",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -1,107 +0,0 @@
1
- "use client";
2
- import {
3
- mapPropsVariants
4
- } from "./chunk-E3G5QXSH.mjs";
5
- import {
6
- tv
7
- } from "./chunk-CDXBML6O.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 { label, size = 150, percentage, unit, classNames } = { ...props, ...variantProps };
16
- const slots = useMemo(() => circularProgressStyle({ ...variantProps }), [variantProps]);
17
- const data = [
18
- {
19
- name: label,
20
- value: percentage
21
- }
22
- ];
23
- const BAR_SIZE = 24;
24
- const OUTER_RADIUS = 75;
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", style: { width: size, height: size }, 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: OUTER_RADIUS,
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
- label && /* @__PURE__ */ jsx("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label })
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
- label: ["text-md", "font-bold", "text-left", "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
- };
File without changes