@deepnoid/ui 0.1.81 → 0.1.83

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 (184) hide show
  1. package/.turbo/turbo-build.log +237 -207
  2. package/dist/{chunk-B6XJNGQL.mjs → chunk-3IILPVRA.mjs} +3 -3
  3. package/dist/{chunk-KCAGZUYM.mjs → chunk-3M6VYLOU.mjs} +1 -1
  4. package/dist/chunk-3V4HT2K5.mjs +36 -0
  5. package/dist/{chunk-TKGIYUSB.mjs → chunk-4BJPJ54Q.mjs} +4 -4
  6. package/dist/{chunk-FRKIXGG5.mjs → chunk-4LP3QDAE.mjs} +3 -3
  7. package/dist/{chunk-OKO3XRJS.mjs → chunk-4ORPRDPL.mjs} +5 -5
  8. package/dist/{chunk-FZNRCPWF.mjs → chunk-54342D4Z.mjs} +4 -4
  9. package/dist/chunk-5FFTHFBX.mjs +129 -0
  10. package/dist/{chunk-L65ETSUY.mjs → chunk-5IKVOP4M.mjs} +7 -7
  11. package/dist/{chunk-JPFA7PPB.mjs → chunk-6KH2UQRM.mjs} +3 -3
  12. package/dist/{chunk-TUXYVNTY.mjs → chunk-6SWMJLOD.mjs} +3 -3
  13. package/dist/{chunk-7Q2WQJ6U.mjs → chunk-7GFYCPP3.mjs} +3 -3
  14. package/dist/chunk-7VOQKIIK.mjs +1 -0
  15. package/dist/{chunk-ORXMPU2C.mjs → chunk-7VS6YXNB.mjs} +3 -3
  16. package/dist/{chunk-FZJ5PLRU.mjs → chunk-AF4I7ZQS.mjs} +1 -1
  17. package/dist/{chunk-LNVDBHVI.mjs → chunk-AI4YKKH4.mjs} +7 -7
  18. package/dist/{chunk-RN76ARTS.mjs → chunk-B6YYZVT6.mjs} +6 -6
  19. package/dist/{chunk-XOPCRI7Z.mjs → chunk-CDXBML6O.mjs} +17 -2
  20. package/dist/{chunk-B7THOWOI.mjs → chunk-D3HZG3CH.mjs} +1 -1
  21. package/dist/chunk-EKLA6ZR4.mjs +77 -0
  22. package/dist/{chunk-ZYS4NSXT.mjs → chunk-FB6LBMGN.mjs} +4 -4
  23. package/dist/chunk-FKHKYVZH.mjs +212 -0
  24. package/dist/{chunk-I6MFQAQE.mjs → chunk-GAZ472ZU.mjs} +3 -3
  25. package/dist/{chunk-5IESFXPF.mjs → chunk-GH4EPD35.mjs} +4 -4
  26. package/dist/{chunk-QFIS6N5R.mjs → chunk-I3ORSDFO.mjs} +6 -6
  27. package/dist/{chunk-EKWUOA5B.mjs → chunk-ITWKPTSD.mjs} +1 -1
  28. package/dist/{chunk-TVTIX7MO.mjs → chunk-JBSV7GCL.mjs} +4 -4
  29. package/dist/{chunk-CC2F5HQX.mjs → chunk-LMHSWLH2.mjs} +5 -5
  30. package/dist/{chunk-5M7UDEMG.mjs → chunk-MVL7HJSH.mjs} +4 -4
  31. package/dist/chunk-NMSDSEBD.mjs +1 -0
  32. package/dist/{chunk-FUPY7MXT.mjs → chunk-NTNIGQGI.mjs} +1 -1
  33. package/dist/{chunk-7JVTWM4U.mjs → chunk-RE2WH26E.mjs} +4 -4
  34. package/dist/{chunk-3WBUF37A.mjs → chunk-S7Y7XUBL.mjs} +4 -4
  35. package/dist/{chunk-PWWPGVPS.mjs → chunk-TZHEZEJ5.mjs} +3 -3
  36. package/dist/{chunk-STAE4IPE.mjs → chunk-WIZDHK4O.mjs} +3 -3
  37. package/dist/{chunk-SKOCUCE5.mjs → chunk-XZ5DXOJQ.mjs} +4 -4
  38. package/dist/{chunk-R7VCFJGU.mjs → chunk-Y5QV7T6D.mjs} +1 -1
  39. package/dist/{chunk-PDY7UYKZ.mjs → chunk-Z6IOS3S6.mjs} +6 -6
  40. package/dist/components/accordion/accordion.d.mts +98 -0
  41. package/dist/components/accordion/accordion.d.ts +98 -0
  42. package/dist/components/accordion/accordion.js +433 -0
  43. package/dist/components/accordion/accordion.mjs +10 -0
  44. package/dist/components/accordion/accordionItem.d.mts +207 -0
  45. package/dist/components/accordion/accordionItem.d.ts +207 -0
  46. package/dist/components/accordion/accordionItem.js +5201 -0
  47. package/dist/components/accordion/accordionItem.mjs +13 -0
  48. package/dist/components/accordion/index.d.mts +8 -0
  49. package/dist/components/accordion/index.d.ts +8 -0
  50. package/dist/components/accordion/index.js +5277 -0
  51. package/dist/components/accordion/index.mjs +18 -0
  52. package/dist/components/avatar/avatar.js +17 -2
  53. package/dist/components/avatar/avatar.mjs +2 -2
  54. package/dist/components/avatar/index.js +17 -2
  55. package/dist/components/avatar/index.mjs +2 -2
  56. package/dist/components/backdrop/backdrop.js +17 -2
  57. package/dist/components/backdrop/backdrop.mjs +2 -2
  58. package/dist/components/backdrop/index.js +17 -2
  59. package/dist/components/backdrop/index.mjs +2 -2
  60. package/dist/components/breadcrumb/breadcrumb.js +17 -2
  61. package/dist/components/breadcrumb/breadcrumb.mjs +8 -8
  62. package/dist/components/breadcrumb/index.js +17 -2
  63. package/dist/components/breadcrumb/index.mjs +8 -8
  64. package/dist/components/button/button-group.js +17 -2
  65. package/dist/components/button/button-group.mjs +2 -2
  66. package/dist/components/button/button.js +17 -2
  67. package/dist/components/button/button.mjs +4 -4
  68. package/dist/components/button/icon-button.js +17 -2
  69. package/dist/components/button/icon-button.mjs +4 -4
  70. package/dist/components/button/index.js +17 -2
  71. package/dist/components/button/index.mjs +9 -9
  72. package/dist/components/button/text-button.js +17 -2
  73. package/dist/components/button/text-button.mjs +3 -3
  74. package/dist/components/charts/areaChart.js +17 -2
  75. package/dist/components/charts/areaChart.mjs +2 -2
  76. package/dist/components/charts/barChart.js +17 -2
  77. package/dist/components/charts/barChart.mjs +2 -2
  78. package/dist/components/charts/circularProgress.js +17 -2
  79. package/dist/components/charts/circularProgress.mjs +2 -2
  80. package/dist/components/charts/index.js +17 -2
  81. package/dist/components/charts/index.mjs +4 -4
  82. package/dist/components/checkbox/checkbox.js +17 -2
  83. package/dist/components/checkbox/checkbox.mjs +3 -3
  84. package/dist/components/checkbox/index.js +17 -2
  85. package/dist/components/checkbox/index.mjs +3 -3
  86. package/dist/components/chip/chip.js +17 -2
  87. package/dist/components/chip/chip.mjs +3 -3
  88. package/dist/components/chip/index.js +17 -2
  89. package/dist/components/chip/index.mjs +3 -3
  90. package/dist/components/dateTimePicker/calendar.js +17 -2
  91. package/dist/components/dateTimePicker/calendar.mjs +3 -3
  92. package/dist/components/dateTimePicker/dateTimePicker.js +17 -2
  93. package/dist/components/dateTimePicker/dateTimePicker.mjs +8 -8
  94. package/dist/components/dateTimePicker/index.js +17 -2
  95. package/dist/components/dateTimePicker/index.mjs +8 -8
  96. package/dist/components/dateTimePicker/timePicker.js +17 -2
  97. package/dist/components/dateTimePicker/timePicker.mjs +6 -6
  98. package/dist/components/drawer/drawer.js +17 -2
  99. package/dist/components/drawer/drawer.mjs +3 -3
  100. package/dist/components/drawer/index.js +17 -2
  101. package/dist/components/drawer/index.mjs +3 -3
  102. package/dist/components/fileUpload/fileUpload.js +17 -2
  103. package/dist/components/fileUpload/fileUpload.mjs +9 -9
  104. package/dist/components/fileUpload/index.js +17 -2
  105. package/dist/components/fileUpload/index.mjs +9 -9
  106. package/dist/components/input/index.js +17 -2
  107. package/dist/components/input/index.mjs +3 -3
  108. package/dist/components/input/input.js +17 -2
  109. package/dist/components/input/input.mjs +3 -3
  110. package/dist/components/list/index.js +17 -2
  111. package/dist/components/list/index.mjs +7 -7
  112. package/dist/components/list/list.js +17 -2
  113. package/dist/components/list/list.mjs +2 -2
  114. package/dist/components/list/listItem.js +17 -2
  115. package/dist/components/list/listItem.mjs +4 -4
  116. package/dist/components/modal/index.js +17 -2
  117. package/dist/components/modal/index.mjs +9 -9
  118. package/dist/components/modal/modal.js +17 -2
  119. package/dist/components/modal/modal.mjs +9 -9
  120. package/dist/components/pagination/index.js +17 -2
  121. package/dist/components/pagination/index.mjs +4 -4
  122. package/dist/components/pagination/pagination.js +17 -2
  123. package/dist/components/pagination/pagination.mjs +4 -4
  124. package/dist/components/progress/index.d.mts +4 -0
  125. package/dist/components/progress/index.d.ts +4 -0
  126. package/dist/components/progress/index.js +519 -0
  127. package/dist/components/progress/index.mjs +12 -0
  128. package/dist/components/progress/progress.d.mts +208 -0
  129. package/dist/components/progress/progress.d.ts +208 -0
  130. package/dist/components/progress/progress.js +513 -0
  131. package/dist/components/progress/progress.mjs +11 -0
  132. package/dist/components/radio/index.js +17 -2
  133. package/dist/components/radio/index.mjs +3 -3
  134. package/dist/components/radio/radio.js +17 -2
  135. package/dist/components/radio/radio.mjs +3 -3
  136. package/dist/components/ripple/index.mjs +3 -3
  137. package/dist/components/select/index.js +17 -2
  138. package/dist/components/select/index.mjs +3 -3
  139. package/dist/components/select/select.js +17 -2
  140. package/dist/components/select/select.mjs +3 -3
  141. package/dist/components/table/definition-table.js +17 -2
  142. package/dist/components/table/definition-table.mjs +2 -2
  143. package/dist/components/table/form-table.js +17 -2
  144. package/dist/components/table/form-table.mjs +1 -1
  145. package/dist/components/table/index.js +17 -2
  146. package/dist/components/table/index.mjs +9 -9
  147. package/dist/components/table/table-body.js +17 -2
  148. package/dist/components/table/table-body.mjs +8 -8
  149. package/dist/components/table/table-head.js +17 -2
  150. package/dist/components/table/table-head.mjs +8 -8
  151. package/dist/components/table/table.js +17 -2
  152. package/dist/components/table/table.mjs +8 -8
  153. package/dist/components/tabs/index.js +17 -2
  154. package/dist/components/tabs/index.mjs +2 -2
  155. package/dist/components/tabs/tabs.js +17 -2
  156. package/dist/components/tabs/tabs.mjs +2 -2
  157. package/dist/components/textarea/index.mjs +2 -2
  158. package/dist/components/textarea/textarea.mjs +2 -2
  159. package/dist/components/toast/index.js +17 -2
  160. package/dist/components/toast/index.mjs +4 -4
  161. package/dist/components/toast/toast.js +17 -2
  162. package/dist/components/toast/toast.mjs +3 -3
  163. package/dist/components/toast/use-toast.js +17 -2
  164. package/dist/components/toast/use-toast.mjs +4 -4
  165. package/dist/components/tooltip/index.js +17 -2
  166. package/dist/components/tooltip/index.mjs +2 -2
  167. package/dist/components/tooltip/tooltip.js +17 -2
  168. package/dist/components/tooltip/tooltip.mjs +2 -2
  169. package/dist/components/tree/index.js +17 -2
  170. package/dist/components/tree/index.mjs +2 -2
  171. package/dist/components/tree/tree.js +17 -2
  172. package/dist/components/tree/tree.mjs +2 -2
  173. package/dist/hooks/useIsMounted.d.mts +8 -0
  174. package/dist/hooks/useIsMounted.d.ts +8 -0
  175. package/dist/hooks/useIsMounted.js +59 -0
  176. package/dist/hooks/useIsMounted.mjs +8 -0
  177. package/dist/index.d.mts +3 -0
  178. package/dist/index.d.ts +3 -0
  179. package/dist/index.js +2459 -2024
  180. package/dist/index.mjs +79 -64
  181. package/dist/utils/tailwind-variants.js +17 -2
  182. package/dist/utils/tailwind-variants.mjs +1 -1
  183. package/package.json +1 -1
  184. package/dist/{chunk-4EIGHKUO.mjs → chunk-6Q2BXHJL.mjs} +3 -3
@@ -215,6 +215,21 @@ var fontSize = {
215
215
  ]
216
216
  };
217
217
 
218
+ // ../tailwind-config/src/animation/bar.ts
219
+ var barAnimation = {
220
+ "indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
221
+ };
222
+ var barKeyframe = {
223
+ "indeterminate-bar": {
224
+ "0%": {
225
+ transform: "translateX(-50%) scaleX(0.2)"
226
+ },
227
+ "100%": {
228
+ transform: "translateX(100%) scaleX(1)"
229
+ }
230
+ }
231
+ };
232
+
218
233
  // ../tailwind-config/src/animation/slide.ts
219
234
  var sliceAnimation = {
220
235
  slideInFromTop: "slideInFromTop 0.5s ease-out",
@@ -310,8 +325,8 @@ var sliceKeyframe = {
310
325
  };
311
326
 
312
327
  // ../tailwind-config/src/animation/index.ts
313
- var animation = { ...sliceAnimation };
314
- var keyframes = { ...sliceKeyframe };
328
+ var animation = { ...sliceAnimation, ...barAnimation };
329
+ var keyframes = { ...sliceKeyframe, ...barKeyframe };
315
330
 
316
331
  // ../tailwind-config/src/shadow/index.ts
317
332
  var boxShadow = {
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  ToastProvider,
4
4
  useToast
5
- } from "../../chunk-B7THOWOI.mjs";
5
+ } from "../../chunk-D3HZG3CH.mjs";
6
6
  import "../../chunk-ZOTHPHXA.mjs";
7
- import "../../chunk-TKGIYUSB.mjs";
7
+ import "../../chunk-4BJPJ54Q.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
9
  import "../../chunk-JP4TEWP7.mjs";
10
+ import "../../chunk-E3G5QXSH.mjs";
10
11
  import "../../chunk-RRONV7YA.mjs";
11
- import "../../chunk-XOPCRI7Z.mjs";
12
+ import "../../chunk-CDXBML6O.mjs";
12
13
  import "../../chunk-27Y6K5NK.mjs";
13
- import "../../chunk-E3G5QXSH.mjs";
14
14
  import "../../chunk-AC6TWLRT.mjs";
15
15
  export {
16
16
  ToastProvider,
@@ -178,6 +178,21 @@ var fontSize = {
178
178
  ]
179
179
  };
180
180
 
181
+ // ../tailwind-config/src/animation/bar.ts
182
+ var barAnimation = {
183
+ "indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
184
+ };
185
+ var barKeyframe = {
186
+ "indeterminate-bar": {
187
+ "0%": {
188
+ transform: "translateX(-50%) scaleX(0.2)"
189
+ },
190
+ "100%": {
191
+ transform: "translateX(100%) scaleX(1)"
192
+ }
193
+ }
194
+ };
195
+
181
196
  // ../tailwind-config/src/animation/slide.ts
182
197
  var sliceAnimation = {
183
198
  slideInFromTop: "slideInFromTop 0.5s ease-out",
@@ -273,8 +288,8 @@ var sliceKeyframe = {
273
288
  };
274
289
 
275
290
  // ../tailwind-config/src/animation/index.ts
276
- var animation = { ...sliceAnimation };
277
- var keyframes = { ...sliceKeyframe };
291
+ var animation = { ...sliceAnimation, ...barAnimation };
292
+ var keyframes = { ...sliceKeyframe, ...barKeyframe };
278
293
 
279
294
  // ../tailwind-config/src/shadow/index.ts
280
295
  var boxShadow = {
@@ -2,11 +2,11 @@
2
2
  import "../../chunk-HIE2YRGA.mjs";
3
3
  import {
4
4
  tooltip_default
5
- } from "../../chunk-JPFA7PPB.mjs";
5
+ } from "../../chunk-6KH2UQRM.mjs";
6
6
  import "../../chunk-ZMOAFSYE.mjs";
7
7
  import "../../chunk-WSIADHVC.mjs";
8
- import "../../chunk-XOPCRI7Z.mjs";
9
8
  import "../../chunk-E3G5QXSH.mjs";
9
+ import "../../chunk-CDXBML6O.mjs";
10
10
  import "../../chunk-AC6TWLRT.mjs";
11
11
  export {
12
12
  tooltip_default as Tooltip
@@ -176,6 +176,21 @@ var fontSize = {
176
176
  ]
177
177
  };
178
178
 
179
+ // ../tailwind-config/src/animation/bar.ts
180
+ var barAnimation = {
181
+ "indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
182
+ };
183
+ var barKeyframe = {
184
+ "indeterminate-bar": {
185
+ "0%": {
186
+ transform: "translateX(-50%) scaleX(0.2)"
187
+ },
188
+ "100%": {
189
+ transform: "translateX(100%) scaleX(1)"
190
+ }
191
+ }
192
+ };
193
+
179
194
  // ../tailwind-config/src/animation/slide.ts
180
195
  var sliceAnimation = {
181
196
  slideInFromTop: "slideInFromTop 0.5s ease-out",
@@ -271,8 +286,8 @@ var sliceKeyframe = {
271
286
  };
272
287
 
273
288
  // ../tailwind-config/src/animation/index.ts
274
- var animation = { ...sliceAnimation };
275
- var keyframes = { ...sliceKeyframe };
289
+ var animation = { ...sliceAnimation, ...barAnimation };
290
+ var keyframes = { ...sliceKeyframe, ...barKeyframe };
276
291
 
277
292
  // ../tailwind-config/src/shadow/index.ts
278
293
  var boxShadow = {
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  tooltip_default
4
- } from "../../chunk-JPFA7PPB.mjs";
4
+ } from "../../chunk-6KH2UQRM.mjs";
5
5
  import "../../chunk-ZMOAFSYE.mjs";
6
6
  import "../../chunk-WSIADHVC.mjs";
7
- import "../../chunk-XOPCRI7Z.mjs";
8
7
  import "../../chunk-E3G5QXSH.mjs";
8
+ import "../../chunk-CDXBML6O.mjs";
9
9
  import "../../chunk-AC6TWLRT.mjs";
10
10
  export {
11
11
  tooltip_default as default
@@ -177,6 +177,21 @@ var fontSize = {
177
177
  ]
178
178
  };
179
179
 
180
+ // ../tailwind-config/src/animation/bar.ts
181
+ var barAnimation = {
182
+ "indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
183
+ };
184
+ var barKeyframe = {
185
+ "indeterminate-bar": {
186
+ "0%": {
187
+ transform: "translateX(-50%) scaleX(0.2)"
188
+ },
189
+ "100%": {
190
+ transform: "translateX(100%) scaleX(1)"
191
+ }
192
+ }
193
+ };
194
+
180
195
  // ../tailwind-config/src/animation/slide.ts
181
196
  var sliceAnimation = {
182
197
  slideInFromTop: "slideInFromTop 0.5s ease-out",
@@ -272,8 +287,8 @@ var sliceKeyframe = {
272
287
  };
273
288
 
274
289
  // ../tailwind-config/src/animation/index.ts
275
- var animation = { ...sliceAnimation };
276
- var keyframes = { ...sliceKeyframe };
290
+ var animation = { ...sliceAnimation, ...barAnimation };
291
+ var keyframes = { ...sliceKeyframe, ...barKeyframe };
277
292
 
278
293
  // ../tailwind-config/src/shadow/index.ts
279
294
  var boxShadow = {
@@ -2,11 +2,11 @@
2
2
  import "../../chunk-MBLZYQCN.mjs";
3
3
  import {
4
4
  tree_default
5
- } from "../../chunk-R7VCFJGU.mjs";
5
+ } from "../../chunk-Y5QV7T6D.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-JP4TEWP7.mjs";
8
8
  import "../../chunk-RRONV7YA.mjs";
9
- import "../../chunk-XOPCRI7Z.mjs";
9
+ import "../../chunk-CDXBML6O.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
@@ -176,6 +176,21 @@ var fontSize = {
176
176
  ]
177
177
  };
178
178
 
179
+ // ../tailwind-config/src/animation/bar.ts
180
+ var barAnimation = {
181
+ "indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
182
+ };
183
+ var barKeyframe = {
184
+ "indeterminate-bar": {
185
+ "0%": {
186
+ transform: "translateX(-50%) scaleX(0.2)"
187
+ },
188
+ "100%": {
189
+ transform: "translateX(100%) scaleX(1)"
190
+ }
191
+ }
192
+ };
193
+
179
194
  // ../tailwind-config/src/animation/slide.ts
180
195
  var sliceAnimation = {
181
196
  slideInFromTop: "slideInFromTop 0.5s ease-out",
@@ -271,8 +286,8 @@ var sliceKeyframe = {
271
286
  };
272
287
 
273
288
  // ../tailwind-config/src/animation/index.ts
274
- var animation = { ...sliceAnimation };
275
- var keyframes = { ...sliceKeyframe };
289
+ var animation = { ...sliceAnimation, ...barAnimation };
290
+ var keyframes = { ...sliceKeyframe, ...barKeyframe };
276
291
 
277
292
  // ../tailwind-config/src/shadow/index.ts
278
293
  var boxShadow = {
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  Tree,
4
4
  tree_default
5
- } from "../../chunk-R7VCFJGU.mjs";
5
+ } from "../../chunk-Y5QV7T6D.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-JP4TEWP7.mjs";
8
8
  import "../../chunk-RRONV7YA.mjs";
9
- import "../../chunk-XOPCRI7Z.mjs";
9
+ import "../../chunk-CDXBML6O.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
@@ -0,0 +1,8 @@
1
+ type UseIsMountedProps = {
2
+ rerender?: boolean;
3
+ delay?: number;
4
+ };
5
+ declare function useIsMounted(props?: UseIsMountedProps): (boolean | (() => boolean))[];
6
+ type UseIsMountedReturn = ReturnType<typeof useIsMounted>;
7
+
8
+ export { type UseIsMountedProps, type UseIsMountedReturn, useIsMounted };
@@ -0,0 +1,8 @@
1
+ type UseIsMountedProps = {
2
+ rerender?: boolean;
3
+ delay?: number;
4
+ };
5
+ declare function useIsMounted(props?: UseIsMountedProps): (boolean | (() => boolean))[];
6
+ type UseIsMountedReturn = ReturnType<typeof useIsMounted>;
7
+
8
+ export { type UseIsMountedProps, type UseIsMountedReturn, useIsMounted };
@@ -0,0 +1,59 @@
1
+ "use client";
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/hooks/useIsMounted.ts
22
+ var useIsMounted_exports = {};
23
+ __export(useIsMounted_exports, {
24
+ useIsMounted: () => useIsMounted
25
+ });
26
+ module.exports = __toCommonJS(useIsMounted_exports);
27
+ var import_react = require("react");
28
+ function useIsMounted(props = {}) {
29
+ const { rerender = false, delay = 0 } = props;
30
+ const isMountedRef = (0, import_react.useRef)(false);
31
+ const [isMounted, setIsMounted] = (0, import_react.useState)(false);
32
+ (0, import_react.useEffect)(() => {
33
+ isMountedRef.current = true;
34
+ let timer = null;
35
+ if (rerender) {
36
+ if (delay > 0) {
37
+ timer = setTimeout(() => {
38
+ setIsMounted(true);
39
+ }, delay);
40
+ } else {
41
+ setIsMounted(true);
42
+ }
43
+ }
44
+ return () => {
45
+ isMountedRef.current = false;
46
+ if (rerender) {
47
+ setIsMounted(false);
48
+ }
49
+ if (timer) {
50
+ clearTimeout(timer);
51
+ }
52
+ };
53
+ }, [rerender]);
54
+ return [(0, import_react.useCallback)(() => isMountedRef.current, []), isMounted];
55
+ }
56
+ // Annotate the CommonJS export names for ESM import in node:
57
+ 0 && (module.exports = {
58
+ useIsMounted
59
+ });
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import {
3
+ useIsMounted
4
+ } from "../chunk-3V4HT2K5.mjs";
5
+ import "../chunk-AC6TWLRT.mjs";
6
+ export {
7
+ useIsMounted
8
+ };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,5 @@
1
+ export { default as Accordion, AccordionProps } from './components/accordion/accordion.mjs';
2
+ export { default as AccordionItem, AccordionItemProps } from './components/accordion/accordionItem.mjs';
1
3
  export { default as Avatar } from './components/avatar/avatar.mjs';
2
4
  export { default as Backdrop } from './components/backdrop/backdrop.mjs';
3
5
  export { default as Breadcrumb } from './components/breadcrumb/breadcrumb.mjs';
@@ -32,6 +34,7 @@ export { default as Skeleton } from './components/skeleton/skeleton.mjs';
32
34
  export { default as CircularProgress } from './components/charts/circularProgress.mjs';
33
35
  export { default as AreaChart } from './components/charts/areaChart.mjs';
34
36
  export { default as BarChart } from './components/charts/barChart.mjs';
37
+ export { default as Progress } from './components/progress/progress.mjs';
35
38
  export { tv } from './utils/tailwind-variants.mjs';
36
39
  export { deepnoidUi } from '@deepnoid/tailwind-config';
37
40
  export { VariantProps } from 'tailwind-variants';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ export { default as Accordion, AccordionProps } from './components/accordion/accordion.js';
2
+ export { default as AccordionItem, AccordionItemProps } from './components/accordion/accordionItem.js';
1
3
  export { default as Avatar } from './components/avatar/avatar.js';
2
4
  export { default as Backdrop } from './components/backdrop/backdrop.js';
3
5
  export { default as Breadcrumb } from './components/breadcrumb/breadcrumb.js';
@@ -32,6 +34,7 @@ export { default as Skeleton } from './components/skeleton/skeleton.js';
32
34
  export { default as CircularProgress } from './components/charts/circularProgress.js';
33
35
  export { default as AreaChart } from './components/charts/areaChart.js';
34
36
  export { default as BarChart } from './components/charts/barChart.js';
37
+ export { default as Progress } from './components/progress/progress.js';
35
38
  export { tv } from './utils/tailwind-variants.js';
36
39
  export { deepnoidUi } from '@deepnoid/tailwind-config';
37
40
  export { VariantProps } from 'tailwind-variants';