@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
@@ -238,6 +238,13 @@ var fontSize = {
238
238
  lineHeight: "27px",
239
239
  fontWeight: "400"
240
240
  }
241
+ ],
242
+ "2xl": [
243
+ "24px",
244
+ {
245
+ lineHeight: "36px",
246
+ fontWeight: "400"
247
+ }
241
248
  ]
242
249
  };
243
250
 
@@ -1,21 +1,21 @@
1
1
  "use client";
2
2
  import {
3
3
  table_head_default
4
- } from "../../chunk-OY5W6JCO.mjs";
4
+ } from "../../chunk-PX4RCHOE.mjs";
5
5
  import "../../chunk-7B7LRG5J.mjs";
6
- import "../../chunk-7QL54JRV.mjs";
6
+ import "../../chunk-WLTBJF4I.mjs";
7
7
  import "../../chunk-F3HENRVM.mjs";
8
8
  import "../../chunk-2GCSFWHD.mjs";
9
- import "../../chunk-QR5CKZLL.mjs";
9
+ import "../../chunk-VNRGOOSY.mjs";
10
10
  import "../../chunk-DQRAFUDA.mjs";
11
11
  import "../../chunk-EWS3FESG.mjs";
12
12
  import "../../chunk-QZ3LVYJW.mjs";
13
- import "../../chunk-H6JGLPPF.mjs";
13
+ import "../../chunk-OEIEALIP.mjs";
14
14
  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 {
@@ -237,6 +237,13 @@ var fontSize = {
237
237
  lineHeight: "27px",
238
238
  fontWeight: "400"
239
239
  }
240
+ ],
241
+ "2xl": [
242
+ "24px",
243
+ {
244
+ lineHeight: "36px",
245
+ fontWeight: "400"
246
+ }
240
247
  ]
241
248
  };
242
249
 
@@ -2,21 +2,21 @@
2
2
  import {
3
3
  getCellStyle,
4
4
  table_default
5
- } from "../../chunk-OY5W6JCO.mjs";
5
+ } from "../../chunk-PX4RCHOE.mjs";
6
6
  import "../../chunk-7B7LRG5J.mjs";
7
- import "../../chunk-7QL54JRV.mjs";
7
+ import "../../chunk-WLTBJF4I.mjs";
8
8
  import "../../chunk-F3HENRVM.mjs";
9
9
  import "../../chunk-2GCSFWHD.mjs";
10
- import "../../chunk-QR5CKZLL.mjs";
10
+ import "../../chunk-VNRGOOSY.mjs";
11
11
  import "../../chunk-DQRAFUDA.mjs";
12
12
  import "../../chunk-EWS3FESG.mjs";
13
13
  import "../../chunk-QZ3LVYJW.mjs";
14
- import "../../chunk-H6JGLPPF.mjs";
14
+ import "../../chunk-OEIEALIP.mjs";
15
15
  import "../../chunk-ZYIIXWVY.mjs";
16
16
  import "../../chunk-R7KUEH3N.mjs";
17
17
  import "../../chunk-E3G5QXSH.mjs";
18
18
  import "../../chunk-DDFJMHBC.mjs";
19
- import "../../chunk-CDXBML6O.mjs";
19
+ import "../../chunk-U4DJHAM5.mjs";
20
20
  import "../../chunk-27Y6K5NK.mjs";
21
21
  import "../../chunk-AC6TWLRT.mjs";
22
22
  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,9 +2,9 @@
2
2
  import "../../chunk-3MY6LO7N.mjs";
3
3
  import {
4
4
  tabs_default
5
- } from "../../chunk-NBJHZ4X2.mjs";
5
+ } from "../../chunk-DW3BX4M2.mjs";
6
6
  import "../../chunk-E3G5QXSH.mjs";
7
- import "../../chunk-CDXBML6O.mjs";
7
+ import "../../chunk-U4DJHAM5.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
10
10
  tabs_default as Tabs
@@ -173,6 +173,13 @@ var fontSize = {
173
173
  lineHeight: "27px",
174
174
  fontWeight: "400"
175
175
  }
176
+ ],
177
+ "2xl": [
178
+ "24px",
179
+ {
180
+ lineHeight: "36px",
181
+ fontWeight: "400"
182
+ }
176
183
  ]
177
184
  };
178
185
 
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  tabs,
4
4
  tabs_default
5
- } from "../../chunk-NBJHZ4X2.mjs";
5
+ } from "../../chunk-DW3BX4M2.mjs";
6
6
  import "../../chunk-E3G5QXSH.mjs";
7
- import "../../chunk-CDXBML6O.mjs";
7
+ import "../../chunk-U4DJHAM5.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
10
10
  tabs_default as default,
@@ -173,6 +173,13 @@ var fontSize = {
173
173
  lineHeight: "27px",
174
174
  fontWeight: "400"
175
175
  }
176
+ ],
177
+ "2xl": [
178
+ "24px",
179
+ {
180
+ lineHeight: "36px",
181
+ fontWeight: "400"
182
+ }
176
183
  ]
177
184
  };
178
185
 
@@ -13,7 +13,7 @@ import {
13
13
  import "../../chunk-DDFJMHBC.mjs";
14
14
  import {
15
15
  tv
16
- } from "../../chunk-CDXBML6O.mjs";
16
+ } from "../../chunk-U4DJHAM5.mjs";
17
17
  import "../../chunk-AC6TWLRT.mjs";
18
18
 
19
19
  // src/components/timePicker/calendar.tsx
@@ -176,6 +176,13 @@ var fontSize = {
176
176
  lineHeight: "27px",
177
177
  fontWeight: "400"
178
178
  }
179
+ ],
180
+ "2xl": [
181
+ "24px",
182
+ {
183
+ lineHeight: "36px",
184
+ fontWeight: "400"
185
+ }
179
186
  ]
180
187
  };
181
188
 
@@ -3,16 +3,16 @@ import "../../chunk-LUWGOKLG.mjs";
3
3
  import {
4
4
  ToastProvider,
5
5
  useToast
6
- } from "../../chunk-KLBA5J2H.mjs";
6
+ } from "../../chunk-EQLBG32V.mjs";
7
7
  import "../../chunk-ZOTHPHXA.mjs";
8
8
  import {
9
9
  toast_default
10
- } from "../../chunk-3QE57PU3.mjs";
10
+ } from "../../chunk-6574ITBF.mjs";
11
11
  import "../../chunk-ZYIIXWVY.mjs";
12
12
  import "../../chunk-R7KUEH3N.mjs";
13
13
  import "../../chunk-E3G5QXSH.mjs";
14
14
  import "../../chunk-DDFJMHBC.mjs";
15
- import "../../chunk-CDXBML6O.mjs";
15
+ import "../../chunk-U4DJHAM5.mjs";
16
16
  import "../../chunk-27Y6K5NK.mjs";
17
17
  import "../../chunk-AC6TWLRT.mjs";
18
18
  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
  toast_default
4
- } from "../../chunk-3QE57PU3.mjs";
4
+ } from "../../chunk-6574ITBF.mjs";
5
5
  import "../../chunk-ZYIIXWVY.mjs";
6
6
  import "../../chunk-R7KUEH3N.mjs";
7
7
  import "../../chunk-E3G5QXSH.mjs";
8
8
  import "../../chunk-DDFJMHBC.mjs";
9
- import "../../chunk-CDXBML6O.mjs";
9
+ import "../../chunk-U4DJHAM5.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
@@ -212,6 +212,13 @@ var fontSize = {
212
212
  lineHeight: "27px",
213
213
  fontWeight: "400"
214
214
  }
215
+ ],
216
+ "2xl": [
217
+ "24px",
218
+ {
219
+ lineHeight: "36px",
220
+ fontWeight: "400"
221
+ }
215
222
  ]
216
223
  };
217
224
 
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  ToastProvider,
4
4
  useToast
5
- } from "../../chunk-KLBA5J2H.mjs";
5
+ } from "../../chunk-EQLBG32V.mjs";
6
6
  import "../../chunk-ZOTHPHXA.mjs";
7
- import "../../chunk-3QE57PU3.mjs";
7
+ import "../../chunk-6574ITBF.mjs";
8
8
  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-27Y6K5NK.mjs";
14
14
  import "../../chunk-AC6TWLRT.mjs";
15
15
  export {
@@ -175,6 +175,13 @@ var fontSize = {
175
175
  lineHeight: "27px",
176
176
  fontWeight: "400"
177
177
  }
178
+ ],
179
+ "2xl": [
180
+ "24px",
181
+ {
182
+ lineHeight: "36px",
183
+ fontWeight: "400"
184
+ }
178
185
  ]
179
186
  };
180
187
 
@@ -2,11 +2,11 @@
2
2
  import "../../chunk-HIE2YRGA.mjs";
3
3
  import {
4
4
  tooltip_default
5
- } from "../../chunk-YBVJFHH6.mjs";
5
+ } from "../../chunk-5KC3IFNR.mjs";
6
6
  import "../../chunk-ZMOAFSYE.mjs";
7
7
  import "../../chunk-WSIADHVC.mjs";
8
8
  import "../../chunk-E3G5QXSH.mjs";
9
- import "../../chunk-CDXBML6O.mjs";
9
+ import "../../chunk-U4DJHAM5.mjs";
10
10
  import "../../chunk-AC6TWLRT.mjs";
11
11
  export {
12
12
  tooltip_default as Tooltip
@@ -173,6 +173,13 @@ var fontSize = {
173
173
  lineHeight: "27px",
174
174
  fontWeight: "400"
175
175
  }
176
+ ],
177
+ "2xl": [
178
+ "24px",
179
+ {
180
+ lineHeight: "36px",
181
+ fontWeight: "400"
182
+ }
176
183
  ]
177
184
  };
178
185
 
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  tooltip_default
4
- } from "../../chunk-YBVJFHH6.mjs";
4
+ } from "../../chunk-5KC3IFNR.mjs";
5
5
  import "../../chunk-ZMOAFSYE.mjs";
6
6
  import "../../chunk-WSIADHVC.mjs";
7
7
  import "../../chunk-E3G5QXSH.mjs";
8
- import "../../chunk-CDXBML6O.mjs";
8
+ import "../../chunk-U4DJHAM5.mjs";
9
9
  import "../../chunk-AC6TWLRT.mjs";
10
10
  export {
11
11
  tooltip_default as default
@@ -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,11 +2,11 @@
2
2
  import "../../chunk-MBLZYQCN.mjs";
3
3
  import {
4
4
  tree_default
5
- } from "../../chunk-XHCPYYMC.mjs";
5
+ } from "../../chunk-WSBUOY2M.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-R7KUEH3N.mjs";
8
8
  import "../../chunk-DDFJMHBC.mjs";
9
- import "../../chunk-CDXBML6O.mjs";
9
+ import "../../chunk-U4DJHAM5.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
@@ -173,6 +173,13 @@ var fontSize = {
173
173
  lineHeight: "27px",
174
174
  fontWeight: "400"
175
175
  }
176
+ ],
177
+ "2xl": [
178
+ "24px",
179
+ {
180
+ lineHeight: "36px",
181
+ fontWeight: "400"
182
+ }
176
183
  ]
177
184
  };
178
185
 
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  Tree,
4
4
  tree_default
5
- } from "../../chunk-XHCPYYMC.mjs";
5
+ } from "../../chunk-WSBUOY2M.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-R7KUEH3N.mjs";
8
8
  import "../../chunk-DDFJMHBC.mjs";
9
- import "../../chunk-CDXBML6O.mjs";
9
+ import "../../chunk-U4DJHAM5.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
package/dist/index.d.mts CHANGED
@@ -35,7 +35,7 @@ export { default as FileUpload } from './components/fileUpload/fileUpload.mjs';
35
35
  export { default as Skeleton } from './components/skeleton/skeleton.mjs';
36
36
  export { default as CircularProgress } from './components/charts/circularProgress.mjs';
37
37
  export { default as AreaChart } from './components/charts/areaChart.mjs';
38
- export { default as BarChart } from './components/charts/barChart.mjs';
38
+ export { default as BarChart, BarChartTooltip } from './components/charts/barChart.mjs';
39
39
  export { default as RadarChart } from './components/charts/radarChart.mjs';
40
40
  export { default as Progress } from './components/progress/progress.mjs';
41
41
  export { default as StarRating, StarRatingProps } from './components/starRating/starRating.mjs';
package/dist/index.d.ts CHANGED
@@ -35,7 +35,7 @@ export { default as FileUpload } from './components/fileUpload/fileUpload.js';
35
35
  export { default as Skeleton } from './components/skeleton/skeleton.js';
36
36
  export { default as CircularProgress } from './components/charts/circularProgress.js';
37
37
  export { default as AreaChart } from './components/charts/areaChart.js';
38
- export { default as BarChart } from './components/charts/barChart.js';
38
+ export { default as BarChart, BarChartTooltip } from './components/charts/barChart.js';
39
39
  export { default as RadarChart } from './components/charts/radarChart.js';
40
40
  export { default as Progress } from './components/progress/progress.js';
41
41
  export { default as StarRating, StarRatingProps } from './components/starRating/starRating.js';
package/dist/index.js CHANGED
@@ -108,6 +108,7 @@ __export(index_exports, {
108
108
  Avatar: () => avatar_default,
109
109
  Backdrop: () => backdrop_default,
110
110
  BarChart: () => barChart_default,
111
+ BarChartTooltip: () => BarChartTooltip,
111
112
  Breadcrumb: () => breadcrumb_default,
112
113
  Button: () => button_default,
113
114
  ButtonGroup: () => button_group_default,
@@ -356,6 +357,13 @@ var fontSize = {
356
357
  lineHeight: "27px",
357
358
  fontWeight: "400"
358
359
  }
360
+ ],
361
+ "2xl": [
362
+ "24px",
363
+ {
364
+ lineHeight: "36px",
365
+ fontWeight: "400"
366
+ }
359
367
  ]
360
368
  };
361
369
 
@@ -12839,11 +12847,14 @@ var BarChartComponent = (0, import_react40.forwardRef)((originalProps, ref) => {
12839
12847
  tooltipFormatter
12840
12848
  } = { ...props, ...variantProps };
12841
12849
  const slots = (0, import_react40.useMemo)(() => barChartStyle({ ...variantProps }), [variantProps]);
12850
+ const chartRef = (0, import_react40.useRef)(null);
12851
+ const tooltipRef = (0, import_react40.useRef)(null);
12852
+ const [tooltipLeft, setTooltipLeft] = (0, import_react40.useState)(0);
12842
12853
  const [tickPositions, setTickPositions] = (0, import_react40.useState)([]);
12843
12854
  const tickRef = (0, import_react40.useRef)([]);
12844
12855
  const [tooltipState, setTooltipState] = (0, import_react40.useState)(null);
12845
12856
  const handleMouseEnter = (e, dataKey) => {
12846
- if (!tooltipFormatter) return;
12857
+ if (!tooltipFormatter || !chartRef.current) return;
12847
12858
  const { payload, x, y } = e;
12848
12859
  if (!payload || !payload[dataKey]) return;
12849
12860
  setTooltipState({
@@ -12913,7 +12924,21 @@ var BarChartComponent = (0, import_react40.forwardRef)((originalProps, ref) => {
12913
12924
  });
12914
12925
  return () => cancelAnimationFrame(raf);
12915
12926
  }, [data]);
12916
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), onMouseLeave: handleMouseLeave, children: [
12927
+ (0, import_react40.useLayoutEffect)(() => {
12928
+ if (!tooltipState || !chartRef.current || !tooltipRef.current) return;
12929
+ const chartRect = chartRef.current.getBoundingClientRect();
12930
+ const tooltipRect = tooltipRef.current.getBoundingClientRect();
12931
+ const chartWidth = chartRect.width;
12932
+ const tooltipWidth = tooltipRect.width;
12933
+ let centeredLeft = tooltipState.x - tooltipWidth / 2;
12934
+ if (centeredLeft < 8) {
12935
+ centeredLeft = 8;
12936
+ } else if (centeredLeft + tooltipWidth > chartWidth - 8) {
12937
+ centeredLeft = chartWidth - tooltipWidth - 8;
12938
+ }
12939
+ setTooltipLeft(centeredLeft);
12940
+ }, [tooltipState]);
12941
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { ref: chartRef, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), onMouseLeave: handleMouseLeave, children: [
12917
12942
  label && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
12918
12943
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_recharts3.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
12919
12944
  import_recharts3.BarChart,
@@ -13001,17 +13026,21 @@ var BarChartComponent = (0, import_react40.forwardRef)((originalProps, ref) => {
13001
13026
  ]
13002
13027
  }
13003
13028
  ) }),
13004
- tooltipFormatter && tooltipState && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
13029
+ tooltipFormatter && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
13005
13030
  "div",
13006
13031
  {
13032
+ ref: tooltipRef,
13007
13033
  style: {
13008
13034
  position: "absolute",
13009
- left: tooltipState.x + 10,
13010
- top: tooltipState.y - 40,
13011
- transform: "translateX(-50%)",
13012
- pointerEvents: "none"
13035
+ left: tooltipLeft + 10,
13036
+ top: (tooltipState == null ? void 0 : tooltipState.y) ? tooltipState.y - 40 : 0,
13037
+ pointerEvents: "none",
13038
+ zIndex: 10,
13039
+ opacity: tooltipState ? 1 : 0,
13040
+ transition: "opacity 0.1s ease-out",
13041
+ visibility: tooltipState ? "visible" : "hidden"
13013
13042
  },
13014
- children: tooltipFormatter(tooltipState)
13043
+ children: tooltipState && tooltipFormatter(tooltipState)
13015
13044
  }
13016
13045
  )
13017
13046
  ] });
@@ -13026,6 +13055,9 @@ var barChartStyle = tv({
13026
13055
  variants: {},
13027
13056
  defaultVariants: {}
13028
13057
  });
13058
+ function BarChartTooltip({ children }) {
13059
+ return /* @__PURE__ */ (0, import_jsx_runtime43.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 });
13060
+ }
13029
13061
 
13030
13062
  // src/components/charts/radarChart.tsx
13031
13063
  var import_recharts4 = require("recharts");
@@ -13223,6 +13255,7 @@ var starRatingStyle = tv({
13223
13255
  Avatar,
13224
13256
  Backdrop,
13225
13257
  BarChart,
13258
+ BarChartTooltip,
13226
13259
  Breadcrumb,
13227
13260
  Button,
13228
13261
  ButtonGroup,