@deepnoid/ui 0.1.159 → 0.1.161

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 (177) hide show
  1. package/.turbo/turbo-build.log +204 -204
  2. package/dist/{chunk-3X376ACN.mjs → chunk-2B3HDC26.mjs} +1 -1
  3. package/dist/{chunk-S7Y7XUBL.mjs → chunk-45Y7ANPK.mjs} +1 -1
  4. package/dist/{chunk-Q364C3FI.mjs → chunk-4LUASWAN.mjs} +1 -1
  5. package/dist/{chunk-U2MHQYVG.mjs → chunk-553TGKS6.mjs} +1 -1
  6. package/dist/{chunk-Z7CLJYRF.mjs → chunk-5G6CCE55.mjs} +1 -1
  7. package/dist/{chunk-YBVJFHH6.mjs → chunk-5KC3IFNR.mjs} +1 -1
  8. package/dist/{chunk-ITWKPTSD.mjs → chunk-5VTYO3RF.mjs} +1 -1
  9. package/dist/{chunk-3QE57PU3.mjs → chunk-6574ITBF.mjs} +1 -1
  10. package/dist/{chunk-PXAJEOZS.mjs → chunk-6DOAZ27E.mjs} +2 -2
  11. package/dist/{chunk-JKYLYL3A.mjs → chunk-AKAGWXXP.mjs} +1 -1
  12. package/dist/{chunk-D4IFXO36.mjs → chunk-ARNMOGRH.mjs} +1 -1
  13. package/dist/{chunk-QHETCLHO.mjs → chunk-BM3MR3JR.mjs} +2 -2
  14. package/dist/{chunk-EKLA6ZR4.mjs → chunk-CPFFP7L6.mjs} +1 -1
  15. package/dist/{chunk-YQYO5RLZ.mjs → chunk-DO56H4BN.mjs} +1 -1
  16. package/dist/{chunk-JZMJ5UMR.mjs → chunk-DS5CGU2X.mjs} +1 -1
  17. package/dist/{chunk-I3ADJOUT.mjs → chunk-DU7L4GA7.mjs} +1 -1
  18. package/dist/{chunk-NBJHZ4X2.mjs → chunk-DW3BX4M2.mjs} +1 -1
  19. package/dist/{chunk-KLBA5J2H.mjs → chunk-EQLBG32V.mjs} +1 -1
  20. package/dist/{chunk-CSG6FDBX.mjs → chunk-HKLVFMYQ.mjs} +2 -2
  21. package/dist/{chunk-AF4I7ZQS.mjs → chunk-IH3BJRTV.mjs} +1 -1
  22. package/dist/{chunk-L5FRTUM6.mjs → chunk-INRA6IED.mjs} +1 -1
  23. package/dist/{chunk-2CLPU5LR.mjs → chunk-KH63CD55.mjs} +1 -1
  24. package/dist/{chunk-3IILPVRA.mjs → chunk-NGRGAY42.mjs} +1 -1
  25. package/dist/{chunk-OBOPDVVM.mjs → chunk-NJFJJIWK.mjs} +6 -6
  26. package/dist/{chunk-H6JGLPPF.mjs → chunk-OEIEALIP.mjs} +1 -1
  27. package/dist/{chunk-SFA2DEUD.mjs → chunk-OOX5X2MN.mjs} +4 -4
  28. package/dist/{chunk-QW7T3V5O.mjs → chunk-PRNE3U26.mjs} +1 -1
  29. package/dist/{chunk-OY5W6JCO.mjs → chunk-PX4RCHOE.mjs} +2 -2
  30. package/dist/{chunk-46EIW6MN.mjs → chunk-SCQCMQDP.mjs} +3 -3
  31. package/dist/{chunk-CDXBML6O.mjs → chunk-U4DJHAM5.mjs} +7 -0
  32. package/dist/{chunk-6SKEFJQW.mjs → chunk-U7SYKG2C.mjs} +1 -1
  33. package/dist/{chunk-5PJMKFMX.mjs → chunk-V25UBATO.mjs} +36 -11
  34. package/dist/{chunk-QR5CKZLL.mjs → chunk-VNRGOOSY.mjs} +1 -1
  35. package/dist/{chunk-ITFEV25U.mjs → chunk-VO332GRO.mjs} +1 -1
  36. package/dist/{chunk-7QL54JRV.mjs → chunk-WLTBJF4I.mjs} +2 -2
  37. package/dist/{chunk-XHCPYYMC.mjs → chunk-WSBUOY2M.mjs} +1 -1
  38. package/dist/{chunk-4DESGO3D.mjs → chunk-XZYQFBCT.mjs} +1 -1
  39. package/dist/components/accordion/accordion.js +7 -0
  40. package/dist/components/accordion/accordion.mjs +2 -2
  41. package/dist/components/accordion/accordionItem.js +7 -0
  42. package/dist/components/accordion/accordionItem.mjs +2 -2
  43. package/dist/components/accordion/index.js +7 -0
  44. package/dist/components/accordion/index.mjs +3 -3
  45. package/dist/components/avatar/avatar.js +7 -0
  46. package/dist/components/avatar/avatar.mjs +2 -2
  47. package/dist/components/avatar/index.js +7 -0
  48. package/dist/components/avatar/index.mjs +2 -2
  49. package/dist/components/backdrop/backdrop.js +7 -0
  50. package/dist/components/backdrop/backdrop.mjs +2 -2
  51. package/dist/components/backdrop/index.js +7 -0
  52. package/dist/components/backdrop/index.mjs +2 -2
  53. package/dist/components/breadcrumb/breadcrumb.js +7 -0
  54. package/dist/components/breadcrumb/breadcrumb.mjs +6 -6
  55. package/dist/components/breadcrumb/index.js +7 -0
  56. package/dist/components/breadcrumb/index.mjs +6 -6
  57. package/dist/components/button/button-group.js +7 -0
  58. package/dist/components/button/button-group.mjs +2 -2
  59. package/dist/components/button/button.js +7 -0
  60. package/dist/components/button/button.mjs +2 -2
  61. package/dist/components/button/icon-button.js +7 -0
  62. package/dist/components/button/icon-button.mjs +2 -2
  63. package/dist/components/button/index.js +7 -0
  64. package/dist/components/button/index.mjs +5 -5
  65. package/dist/components/button/text-button.js +7 -0
  66. package/dist/components/button/text-button.mjs +2 -2
  67. package/dist/components/charts/areaChart.js +7 -0
  68. package/dist/components/charts/areaChart.mjs +2 -2
  69. package/dist/components/charts/barChart.d.mts +5 -1
  70. package/dist/components/charts/barChart.d.ts +5 -1
  71. package/dist/components/charts/barChart.js +44 -8
  72. package/dist/components/charts/barChart.mjs +4 -2
  73. package/dist/components/charts/circularProgress.js +7 -0
  74. package/dist/components/charts/circularProgress.mjs +2 -2
  75. package/dist/components/charts/index.d.mts +2 -1
  76. package/dist/components/charts/index.d.ts +2 -1
  77. package/dist/components/charts/index.js +41 -8
  78. package/dist/components/charts/index.mjs +7 -5
  79. package/dist/components/charts/radarChart.js +7 -0
  80. package/dist/components/charts/radarChart.mjs +2 -2
  81. package/dist/components/checkbox/checkbox.js +7 -0
  82. package/dist/components/checkbox/checkbox.mjs +2 -2
  83. package/dist/components/checkbox/index.js +7 -0
  84. package/dist/components/checkbox/index.mjs +2 -2
  85. package/dist/components/chip/chip.js +7 -0
  86. package/dist/components/chip/chip.mjs +2 -2
  87. package/dist/components/chip/index.js +7 -0
  88. package/dist/components/chip/index.mjs +2 -2
  89. package/dist/components/drawer/drawer.js +7 -0
  90. package/dist/components/drawer/drawer.mjs +2 -2
  91. package/dist/components/drawer/index.js +7 -0
  92. package/dist/components/drawer/index.mjs +2 -2
  93. package/dist/components/fileUpload/fileUpload.js +7 -0
  94. package/dist/components/fileUpload/fileUpload.mjs +8 -8
  95. package/dist/components/fileUpload/index.js +7 -0
  96. package/dist/components/fileUpload/index.mjs +8 -8
  97. package/dist/components/input/index.js +7 -0
  98. package/dist/components/input/index.mjs +2 -2
  99. package/dist/components/input/input.js +7 -0
  100. package/dist/components/input/input.mjs +2 -2
  101. package/dist/components/list/index.js +7 -0
  102. package/dist/components/list/index.mjs +4 -4
  103. package/dist/components/list/list.js +7 -0
  104. package/dist/components/list/list.mjs +2 -2
  105. package/dist/components/list/listItem.js +7 -0
  106. package/dist/components/list/listItem.mjs +3 -3
  107. package/dist/components/modal/index.js +7 -0
  108. package/dist/components/modal/index.mjs +7 -7
  109. package/dist/components/modal/modal.js +7 -0
  110. package/dist/components/modal/modal.mjs +7 -7
  111. package/dist/components/pagination/index.js +7 -0
  112. package/dist/components/pagination/index.mjs +3 -3
  113. package/dist/components/pagination/pagination.js +7 -0
  114. package/dist/components/pagination/pagination.mjs +3 -3
  115. package/dist/components/picker/datePicker.js +7 -0
  116. package/dist/components/picker/datePicker.mjs +8 -8
  117. package/dist/components/picker/day.js +7 -0
  118. package/dist/components/picker/day.mjs +2 -2
  119. package/dist/components/picker/index.js +7 -0
  120. package/dist/components/picker/index.mjs +10 -10
  121. package/dist/components/picker/timePicker.js +7 -0
  122. package/dist/components/picker/timePicker.mjs +3 -3
  123. package/dist/components/progress/index.js +7 -0
  124. package/dist/components/progress/index.mjs +2 -2
  125. package/dist/components/progress/progress.js +7 -0
  126. package/dist/components/progress/progress.mjs +2 -2
  127. package/dist/components/radio/index.js +7 -0
  128. package/dist/components/radio/index.mjs +2 -2
  129. package/dist/components/radio/radio.js +7 -0
  130. package/dist/components/radio/radio.mjs +2 -2
  131. package/dist/components/select/index.js +7 -0
  132. package/dist/components/select/index.mjs +2 -2
  133. package/dist/components/select/select.js +7 -0
  134. package/dist/components/select/select.mjs +2 -2
  135. package/dist/components/starRating/index.js +7 -0
  136. package/dist/components/starRating/index.mjs +2 -2
  137. package/dist/components/starRating/starRating.js +7 -0
  138. package/dist/components/starRating/starRating.mjs +2 -2
  139. package/dist/components/table/definition-table.js +7 -0
  140. package/dist/components/table/definition-table.mjs +2 -2
  141. package/dist/components/table/form-table.js +7 -0
  142. package/dist/components/table/form-table.mjs +1 -1
  143. package/dist/components/table/index.js +7 -0
  144. package/dist/components/table/index.mjs +6 -6
  145. package/dist/components/table/table-body.js +7 -0
  146. package/dist/components/table/table-body.mjs +5 -5
  147. package/dist/components/table/table-head.js +7 -0
  148. package/dist/components/table/table-head.mjs +5 -5
  149. package/dist/components/table/table.js +7 -0
  150. package/dist/components/table/table.mjs +5 -5
  151. package/dist/components/tabs/index.js +7 -0
  152. package/dist/components/tabs/index.mjs +2 -2
  153. package/dist/components/tabs/tabs.js +7 -0
  154. package/dist/components/tabs/tabs.mjs +2 -2
  155. package/dist/components/timePicker/calendar.js +7 -0
  156. package/dist/components/timePicker/calendar.mjs +1 -1
  157. package/dist/components/toast/index.js +7 -0
  158. package/dist/components/toast/index.mjs +3 -3
  159. package/dist/components/toast/toast.js +7 -0
  160. package/dist/components/toast/toast.mjs +2 -2
  161. package/dist/components/toast/use-toast.js +7 -0
  162. package/dist/components/toast/use-toast.mjs +3 -3
  163. package/dist/components/tooltip/index.js +7 -0
  164. package/dist/components/tooltip/index.mjs +2 -2
  165. package/dist/components/tooltip/tooltip.js +7 -0
  166. package/dist/components/tooltip/tooltip.mjs +2 -2
  167. package/dist/components/tree/index.js +7 -0
  168. package/dist/components/tree/index.mjs +2 -2
  169. package/dist/components/tree/tree.js +7 -0
  170. package/dist/components/tree/tree.mjs +2 -2
  171. package/dist/index.d.mts +1 -1
  172. package/dist/index.d.ts +1 -1
  173. package/dist/index.js +41 -8
  174. package/dist/index.mjs +47 -45
  175. package/dist/utils/tailwind-variants.js +7 -0
  176. package/dist/utils/tailwind-variants.mjs +1 -1
  177. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  avatar_default
4
- } from "../../chunk-ITFEV25U.mjs";
4
+ } from "../../chunk-VO332GRO.mjs";
5
5
  import "../../chunk-DDFJMHBC.mjs";
6
- import "../../chunk-CDXBML6O.mjs";
6
+ import "../../chunk-U4DJHAM5.mjs";
7
7
  import "../../chunk-AC6TWLRT.mjs";
8
8
  export {
9
9
  avatar_default as default
@@ -4968,6 +4968,13 @@ var fontSize = {
4968
4968
  lineHeight: "27px",
4969
4969
  fontWeight: "400"
4970
4970
  }
4971
+ ],
4972
+ "2xl": [
4973
+ "24px",
4974
+ {
4975
+ lineHeight: "36px",
4976
+ fontWeight: "400"
4977
+ }
4971
4978
  ]
4972
4979
  };
4973
4980
 
@@ -2,9 +2,9 @@
2
2
  import "../../chunk-7DLOYKVC.mjs";
3
3
  import {
4
4
  avatar_default
5
- } from "../../chunk-ITFEV25U.mjs";
5
+ } from "../../chunk-VO332GRO.mjs";
6
6
  import "../../chunk-DDFJMHBC.mjs";
7
- import "../../chunk-CDXBML6O.mjs";
7
+ import "../../chunk-U4DJHAM5.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
10
10
  avatar_default as Avatar
@@ -172,6 +172,13 @@ var fontSize = {
172
172
  lineHeight: "27px",
173
173
  fontWeight: "400"
174
174
  }
175
+ ],
176
+ "2xl": [
177
+ "24px",
178
+ {
179
+ lineHeight: "36px",
180
+ fontWeight: "400"
181
+ }
175
182
  ]
176
183
  };
177
184
 
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  backdrop_default
4
- } from "../../chunk-AF4I7ZQS.mjs";
5
- import "../../chunk-CDXBML6O.mjs";
4
+ } from "../../chunk-IH3BJRTV.mjs";
5
+ import "../../chunk-U4DJHAM5.mjs";
6
6
  import "../../chunk-27Y6K5NK.mjs";
7
7
  import "../../chunk-AC6TWLRT.mjs";
8
8
  export {
@@ -174,6 +174,13 @@ var fontSize = {
174
174
  lineHeight: "27px",
175
175
  fontWeight: "400"
176
176
  }
177
+ ],
178
+ "2xl": [
179
+ "24px",
180
+ {
181
+ lineHeight: "36px",
182
+ fontWeight: "400"
183
+ }
177
184
  ]
178
185
  };
179
186
 
@@ -2,8 +2,8 @@
2
2
  import "../../chunk-SE5TU755.mjs";
3
3
  import {
4
4
  backdrop_default
5
- } from "../../chunk-AF4I7ZQS.mjs";
6
- import "../../chunk-CDXBML6O.mjs";
5
+ } from "../../chunk-IH3BJRTV.mjs";
6
+ import "../../chunk-U4DJHAM5.mjs";
7
7
  import "../../chunk-27Y6K5NK.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
@@ -172,6 +172,13 @@ var fontSize = {
172
172
  lineHeight: "27px",
173
173
  fontWeight: "400"
174
174
  }
175
+ ],
176
+ "2xl": [
177
+ "24px",
178
+ {
179
+ lineHeight: "36px",
180
+ fontWeight: "400"
181
+ }
175
182
  ]
176
183
  };
177
184
 
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  breadcrumb_default
4
- } from "../../chunk-PXAJEOZS.mjs";
4
+ } from "../../chunk-6DOAZ27E.mjs";
5
5
  import "../../chunk-MY5U63QO.mjs";
6
- import "../../chunk-Q364C3FI.mjs";
7
- import "../../chunk-ITWKPTSD.mjs";
8
- import "../../chunk-YQYO5RLZ.mjs";
9
- import "../../chunk-JKYLYL3A.mjs";
6
+ import "../../chunk-4LUASWAN.mjs";
7
+ import "../../chunk-5VTYO3RF.mjs";
8
+ import "../../chunk-DO56H4BN.mjs";
9
+ import "../../chunk-AKAGWXXP.mjs";
10
10
  import "../../chunk-6WSACUIB.mjs";
11
11
  import "../../chunk-LXHUO6VM.mjs";
12
12
  import "../../chunk-SZL743JC.mjs";
@@ -14,7 +14,7 @@ import "../../chunk-ZYIIXWVY.mjs";
14
14
  import "../../chunk-R7KUEH3N.mjs";
15
15
  import "../../chunk-E3G5QXSH.mjs";
16
16
  import "../../chunk-DDFJMHBC.mjs";
17
- import "../../chunk-CDXBML6O.mjs";
17
+ import "../../chunk-U4DJHAM5.mjs";
18
18
  import "../../chunk-27Y6K5NK.mjs";
19
19
  import "../../chunk-AC6TWLRT.mjs";
20
20
  export {
@@ -174,6 +174,13 @@ var fontSize = {
174
174
  lineHeight: "27px",
175
175
  fontWeight: "400"
176
176
  }
177
+ ],
178
+ "2xl": [
179
+ "24px",
180
+ {
181
+ lineHeight: "36px",
182
+ fontWeight: "400"
183
+ }
177
184
  ]
178
185
  };
179
186
 
@@ -2,12 +2,12 @@
2
2
  import "../../chunk-KYIODWXL.mjs";
3
3
  import {
4
4
  breadcrumb_default
5
- } from "../../chunk-PXAJEOZS.mjs";
5
+ } from "../../chunk-6DOAZ27E.mjs";
6
6
  import "../../chunk-MY5U63QO.mjs";
7
- import "../../chunk-Q364C3FI.mjs";
8
- import "../../chunk-ITWKPTSD.mjs";
9
- import "../../chunk-YQYO5RLZ.mjs";
10
- import "../../chunk-JKYLYL3A.mjs";
7
+ import "../../chunk-4LUASWAN.mjs";
8
+ import "../../chunk-5VTYO3RF.mjs";
9
+ import "../../chunk-DO56H4BN.mjs";
10
+ import "../../chunk-AKAGWXXP.mjs";
11
11
  import "../../chunk-6WSACUIB.mjs";
12
12
  import "../../chunk-LXHUO6VM.mjs";
13
13
  import "../../chunk-SZL743JC.mjs";
@@ -15,7 +15,7 @@ import "../../chunk-ZYIIXWVY.mjs";
15
15
  import "../../chunk-R7KUEH3N.mjs";
16
16
  import "../../chunk-E3G5QXSH.mjs";
17
17
  import "../../chunk-DDFJMHBC.mjs";
18
- import "../../chunk-CDXBML6O.mjs";
18
+ import "../../chunk-U4DJHAM5.mjs";
19
19
  import "../../chunk-27Y6K5NK.mjs";
20
20
  import "../../chunk-AC6TWLRT.mjs";
21
21
  export {
@@ -172,6 +172,13 @@ var fontSize = {
172
172
  lineHeight: "27px",
173
173
  fontWeight: "400"
174
174
  }
175
+ ],
176
+ "2xl": [
177
+ "24px",
178
+ {
179
+ lineHeight: "36px",
180
+ fontWeight: "400"
181
+ }
175
182
  ]
176
183
  };
177
184
 
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  button_group_default
4
- } from "../../chunk-ITWKPTSD.mjs";
5
- import "../../chunk-CDXBML6O.mjs";
4
+ } from "../../chunk-5VTYO3RF.mjs";
5
+ import "../../chunk-U4DJHAM5.mjs";
6
6
  import "../../chunk-AC6TWLRT.mjs";
7
7
  export {
8
8
  button_group_default as default
@@ -172,6 +172,13 @@ var fontSize = {
172
172
  lineHeight: "27px",
173
173
  fontWeight: "400"
174
174
  }
175
+ ],
176
+ "2xl": [
177
+ "24px",
178
+ {
179
+ lineHeight: "36px",
180
+ fontWeight: "400"
181
+ }
175
182
  ]
176
183
  };
177
184
 
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  button_default
4
- } from "../../chunk-YQYO5RLZ.mjs";
4
+ } from "../../chunk-DO56H4BN.mjs";
5
5
  import "../../chunk-6WSACUIB.mjs";
6
6
  import "../../chunk-LXHUO6VM.mjs";
7
7
  import "../../chunk-SZL743JC.mjs";
@@ -9,7 +9,7 @@ import "../../chunk-ZYIIXWVY.mjs";
9
9
  import "../../chunk-R7KUEH3N.mjs";
10
10
  import "../../chunk-E3G5QXSH.mjs";
11
11
  import "../../chunk-DDFJMHBC.mjs";
12
- import "../../chunk-CDXBML6O.mjs";
12
+ import "../../chunk-U4DJHAM5.mjs";
13
13
  import "../../chunk-AC6TWLRT.mjs";
14
14
  export {
15
15
  button_default as default
@@ -172,6 +172,13 @@ var fontSize = {
172
172
  lineHeight: "27px",
173
173
  fontWeight: "400"
174
174
  }
175
+ ],
176
+ "2xl": [
177
+ "24px",
178
+ {
179
+ lineHeight: "36px",
180
+ fontWeight: "400"
181
+ }
175
182
  ]
176
183
  };
177
184
 
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  icon_button_default
4
- } from "../../chunk-JKYLYL3A.mjs";
4
+ } from "../../chunk-AKAGWXXP.mjs";
5
5
  import "../../chunk-6WSACUIB.mjs";
6
6
  import "../../chunk-LXHUO6VM.mjs";
7
7
  import "../../chunk-SZL743JC.mjs";
@@ -9,7 +9,7 @@ import "../../chunk-ZYIIXWVY.mjs";
9
9
  import "../../chunk-R7KUEH3N.mjs";
10
10
  import "../../chunk-E3G5QXSH.mjs";
11
11
  import "../../chunk-DDFJMHBC.mjs";
12
- import "../../chunk-CDXBML6O.mjs";
12
+ import "../../chunk-U4DJHAM5.mjs";
13
13
  import "../../chunk-AC6TWLRT.mjs";
14
14
  export {
15
15
  icon_button_default as default
@@ -177,6 +177,13 @@ var fontSize = {
177
177
  lineHeight: "27px",
178
178
  fontWeight: "400"
179
179
  }
180
+ ],
181
+ "2xl": [
182
+ "24px",
183
+ {
184
+ lineHeight: "36px",
185
+ fontWeight: "400"
186
+ }
180
187
  ]
181
188
  };
182
189
 
@@ -2,16 +2,16 @@
2
2
  import "../../chunk-MY5U63QO.mjs";
3
3
  import {
4
4
  text_button_default
5
- } from "../../chunk-Q364C3FI.mjs";
5
+ } from "../../chunk-4LUASWAN.mjs";
6
6
  import {
7
7
  button_group_default
8
- } from "../../chunk-ITWKPTSD.mjs";
8
+ } from "../../chunk-5VTYO3RF.mjs";
9
9
  import {
10
10
  button_default
11
- } from "../../chunk-YQYO5RLZ.mjs";
11
+ } from "../../chunk-DO56H4BN.mjs";
12
12
  import {
13
13
  icon_button_default
14
- } from "../../chunk-JKYLYL3A.mjs";
14
+ } from "../../chunk-AKAGWXXP.mjs";
15
15
  import "../../chunk-6WSACUIB.mjs";
16
16
  import "../../chunk-LXHUO6VM.mjs";
17
17
  import "../../chunk-SZL743JC.mjs";
@@ -19,7 +19,7 @@ import "../../chunk-ZYIIXWVY.mjs";
19
19
  import "../../chunk-R7KUEH3N.mjs";
20
20
  import "../../chunk-E3G5QXSH.mjs";
21
21
  import "../../chunk-DDFJMHBC.mjs";
22
- import "../../chunk-CDXBML6O.mjs";
22
+ import "../../chunk-U4DJHAM5.mjs";
23
23
  import "../../chunk-27Y6K5NK.mjs";
24
24
  import "../../chunk-AC6TWLRT.mjs";
25
25
  export {
@@ -172,6 +172,13 @@ var fontSize = {
172
172
  lineHeight: "27px",
173
173
  fontWeight: "400"
174
174
  }
175
+ ],
176
+ "2xl": [
177
+ "24px",
178
+ {
179
+ lineHeight: "36px",
180
+ fontWeight: "400"
181
+ }
175
182
  ]
176
183
  };
177
184
 
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  text_button_default
4
- } from "../../chunk-Q364C3FI.mjs";
4
+ } from "../../chunk-4LUASWAN.mjs";
5
5
  import "../../chunk-E3G5QXSH.mjs";
6
- import "../../chunk-CDXBML6O.mjs";
6
+ import "../../chunk-U4DJHAM5.mjs";
7
7
  import "../../chunk-27Y6K5NK.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
@@ -172,6 +172,13 @@ var fontSize = {
172
172
  lineHeight: "27px",
173
173
  fontWeight: "400"
174
174
  }
175
+ ],
176
+ "2xl": [
177
+ "24px",
178
+ {
179
+ lineHeight: "36px",
180
+ fontWeight: "400"
181
+ }
175
182
  ]
176
183
  };
177
184
 
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  areaChart_default
4
- } from "../../chunk-D4IFXO36.mjs";
4
+ } from "../../chunk-ARNMOGRH.mjs";
5
5
  import "../../chunk-DQRAFUDA.mjs";
6
6
  import "../../chunk-EWS3FESG.mjs";
7
7
  import "../../chunk-E3G5QXSH.mjs";
8
- import "../../chunk-CDXBML6O.mjs";
8
+ import "../../chunk-U4DJHAM5.mjs";
9
9
  import "../../chunk-27Y6K5NK.mjs";
10
10
  import "../../chunk-AC6TWLRT.mjs";
11
11
  export {
@@ -1,3 +1,4 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as tailwind_variants from 'tailwind-variants';
2
3
  import { VariantProps } from 'tailwind-variants';
3
4
  import * as react from 'react';
@@ -40,5 +41,8 @@ declare const barChartStyle: tailwind_variants.TVReturnType<{}, {
40
41
  }, undefined, unknown, unknown, undefined>>;
41
42
  type barChartVariantProps = VariantProps<typeof barChartStyle>;
42
43
  type barChartSlots = keyof ReturnType<typeof barChartStyle>;
44
+ declare function BarChartTooltip({ children }: {
45
+ children: ReactNode;
46
+ }): react_jsx_runtime.JSX.Element;
43
47
 
44
- export { type barChartProps, BarChartComponent as default };
48
+ export { BarChartTooltip, type barChartProps, BarChartComponent as default };
@@ -1,3 +1,4 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as tailwind_variants from 'tailwind-variants';
2
3
  import { VariantProps } from 'tailwind-variants';
3
4
  import * as react from 'react';
@@ -40,5 +41,8 @@ declare const barChartStyle: tailwind_variants.TVReturnType<{}, {
40
41
  }, undefined, unknown, unknown, undefined>>;
41
42
  type barChartVariantProps = VariantProps<typeof barChartStyle>;
42
43
  type barChartSlots = keyof ReturnType<typeof barChartStyle>;
44
+ declare function BarChartTooltip({ children }: {
45
+ children: ReactNode;
46
+ }): react_jsx_runtime.JSX.Element;
43
47
 
44
- export { type barChartProps, BarChartComponent as default };
48
+ export { BarChartTooltip, type barChartProps, BarChartComponent as default };
@@ -102,6 +102,7 @@ var require_plugin = __commonJS({
102
102
  // src/components/charts/barChart.tsx
103
103
  var barChart_exports = {};
104
104
  __export(barChart_exports, {
105
+ BarChartTooltip: () => BarChartTooltip,
105
106
  default: () => barChart_default
106
107
  });
107
108
  module.exports = __toCommonJS(barChart_exports);
@@ -173,6 +174,13 @@ var fontSize = {
173
174
  lineHeight: "27px",
174
175
  fontWeight: "400"
175
176
  }
177
+ ],
178
+ "2xl": [
179
+ "24px",
180
+ {
181
+ lineHeight: "36px",
182
+ fontWeight: "400"
183
+ }
176
184
  ]
177
185
  };
178
186
 
@@ -383,11 +391,14 @@ var BarChartComponent = (0, import_react.forwardRef)((originalProps, ref) => {
383
391
  tooltipFormatter
384
392
  } = { ...props, ...variantProps };
385
393
  const slots = (0, import_react.useMemo)(() => barChartStyle({ ...variantProps }), [variantProps]);
394
+ const chartRef = (0, import_react.useRef)(null);
395
+ const tooltipRef = (0, import_react.useRef)(null);
396
+ const [tooltipLeft, setTooltipLeft] = (0, import_react.useState)(0);
386
397
  const [tickPositions, setTickPositions] = (0, import_react.useState)([]);
387
398
  const tickRef = (0, import_react.useRef)([]);
388
399
  const [tooltipState, setTooltipState] = (0, import_react.useState)(null);
389
400
  const handleMouseEnter = (e, dataKey) => {
390
- if (!tooltipFormatter) return;
401
+ if (!tooltipFormatter || !chartRef.current) return;
391
402
  const { payload, x, y } = e;
392
403
  if (!payload || !payload[dataKey]) return;
393
404
  setTooltipState({
@@ -457,7 +468,21 @@ var BarChartComponent = (0, import_react.forwardRef)((originalProps, ref) => {
457
468
  });
458
469
  return () => cancelAnimationFrame(raf);
459
470
  }, [data]);
460
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), onMouseLeave: handleMouseLeave, children: [
471
+ (0, import_react.useLayoutEffect)(() => {
472
+ if (!tooltipState || !chartRef.current || !tooltipRef.current) return;
473
+ const chartRect = chartRef.current.getBoundingClientRect();
474
+ const tooltipRect = tooltipRef.current.getBoundingClientRect();
475
+ const chartWidth = chartRect.width;
476
+ const tooltipWidth = tooltipRect.width;
477
+ let centeredLeft = tooltipState.x - tooltipWidth / 2;
478
+ if (centeredLeft < 8) {
479
+ centeredLeft = 8;
480
+ } else if (centeredLeft + tooltipWidth > chartWidth - 8) {
481
+ centeredLeft = chartWidth - tooltipWidth - 8;
482
+ }
483
+ setTooltipLeft(centeredLeft);
484
+ }, [tooltipState]);
485
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ref: chartRef, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), onMouseLeave: handleMouseLeave, children: [
461
486
  label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
462
487
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_recharts.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
463
488
  import_recharts.BarChart,
@@ -545,17 +570,21 @@ var BarChartComponent = (0, import_react.forwardRef)((originalProps, ref) => {
545
570
  ]
546
571
  }
547
572
  ) }),
548
- tooltipFormatter && tooltipState && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
573
+ tooltipFormatter && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
549
574
  "div",
550
575
  {
576
+ ref: tooltipRef,
551
577
  style: {
552
578
  position: "absolute",
553
- left: tooltipState.x + 10,
554
- top: tooltipState.y - 40,
555
- transform: "translateX(-50%)",
556
- pointerEvents: "none"
579
+ left: tooltipLeft + 10,
580
+ top: (tooltipState == null ? void 0 : tooltipState.y) ? tooltipState.y - 40 : 0,
581
+ pointerEvents: "none",
582
+ zIndex: 10,
583
+ opacity: tooltipState ? 1 : 0,
584
+ transition: "opacity 0.1s ease-out",
585
+ visibility: tooltipState ? "visible" : "hidden"
557
586
  },
558
- children: tooltipFormatter(tooltipState)
587
+ children: tooltipState && tooltipFormatter(tooltipState)
559
588
  }
560
589
  )
561
590
  ] });
@@ -570,3 +599,10 @@ var barChartStyle = tv({
570
599
  variants: {},
571
600
  defaultVariants: {}
572
601
  });
602
+ function BarChartTooltip({ children }) {
603
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "text-md text-common-white bg-common-black max-w-[160px] whitespace-nowrap rounded-[5px] px-[10px] py-[6px] text-center font-bold", children });
604
+ }
605
+ // Annotate the CommonJS export names for ESM import in node:
606
+ 0 && (module.exports = {
607
+ BarChartTooltip
608
+ });
@@ -1,10 +1,12 @@
1
1
  "use client";
2
2
  import {
3
+ BarChartTooltip,
3
4
  barChart_default
4
- } from "../../chunk-5PJMKFMX.mjs";
5
+ } from "../../chunk-V25UBATO.mjs";
5
6
  import "../../chunk-E3G5QXSH.mjs";
6
- import "../../chunk-CDXBML6O.mjs";
7
+ import "../../chunk-U4DJHAM5.mjs";
7
8
  import "../../chunk-AC6TWLRT.mjs";
8
9
  export {
10
+ BarChartTooltip,
9
11
  barChart_default as default
10
12
  };
@@ -193,6 +193,13 @@ var fontSize = {
193
193
  lineHeight: "27px",
194
194
  fontWeight: "400"
195
195
  }
196
+ ],
197
+ "2xl": [
198
+ "24px",
199
+ {
200
+ lineHeight: "36px",
201
+ fontWeight: "400"
202
+ }
196
203
  ]
197
204
  };
198
205
 
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  circularProgress_default
4
- } from "../../chunk-U2MHQYVG.mjs";
4
+ } from "../../chunk-553TGKS6.mjs";
5
5
  import "../../chunk-E3G5QXSH.mjs";
6
- import "../../chunk-CDXBML6O.mjs";
6
+ import "../../chunk-U4DJHAM5.mjs";
7
7
  import "../../chunk-AC6TWLRT.mjs";
8
8
  export {
9
9
  circularProgress_default as default
@@ -1,7 +1,8 @@
1
1
  export { default as CircularProgress } from './circularProgress.mjs';
2
2
  export { default as AreaChart } from './areaChart.mjs';
3
- export { default as BarChart } from './barChart.mjs';
3
+ export { default as BarChart, BarChartTooltip } from './barChart.mjs';
4
4
  export { default as RadarChart } from './radarChart.mjs';
5
5
  import 'tailwind-variants';
6
6
  import 'react';
7
7
  import '../../utils/types.mjs';
8
+ import 'react/jsx-runtime';
@@ -1,7 +1,8 @@
1
1
  export { default as CircularProgress } from './circularProgress.js';
2
2
  export { default as AreaChart } from './areaChart.js';
3
- export { default as BarChart } from './barChart.js';
3
+ export { default as BarChart, BarChartTooltip } from './barChart.js';
4
4
  export { default as RadarChart } from './radarChart.js';
5
5
  import 'tailwind-variants';
6
6
  import 'react';
7
7
  import '../../utils/types.js';
8
+ import 'react/jsx-runtime';