@expcat/tigercat-react 1.3.4 → 1.5.0

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 (432) hide show
  1. package/dist/{chunk-WV5XHYW6.js → chunk-23XPDNCA.js} +6 -4
  2. package/dist/{chunk-CY5GRTAX.js → chunk-24NDLFPK.js} +46 -33
  3. package/dist/{chunk-3SV6J7I5.mjs → chunk-2L7QEOFD.mjs} +34 -25
  4. package/dist/{chunk-NMKFR435.js → chunk-2LKX6CE7.js} +7 -4
  5. package/dist/{chunk-MB6U72CI.js → chunk-2PV3F47T.js} +2 -2
  6. package/dist/{chunk-ANN5P7TJ.js → chunk-2ZA4MUO2.js} +72 -29
  7. package/dist/{chunk-H4AR4GXH.js → chunk-3NVMKDMH.js} +1 -8
  8. package/dist/{chunk-NPTXXUXF.mjs → chunk-3RBRWBUG.mjs} +9 -7
  9. package/dist/{chunk-SIY6FDKJ.js → chunk-3RQ3FHJ7.js} +341 -316
  10. package/dist/{chunk-ELRZ2ZHM.mjs → chunk-4DRJA5ZK.mjs} +15 -17
  11. package/dist/{chunk-J3N24I7A.mjs → chunk-4F3UTDFE.mjs} +24 -6
  12. package/dist/{chunk-3CJFNG54.mjs → chunk-4HMMH4XS.mjs} +24 -11
  13. package/dist/{chunk-IG75YSX3.mjs → chunk-4MONGWU5.mjs} +4 -6
  14. package/dist/{chunk-CHBUNQIJ.mjs → chunk-4MREOFVE.mjs} +26 -9
  15. package/dist/{chunk-EEF26RBA.mjs → chunk-4SU6D2E7.mjs} +15 -3
  16. package/dist/{chunk-ZZAR4IDS.js → chunk-4TPRBVW7.js} +19 -2
  17. package/dist/{chunk-NSEO2B74.mjs → chunk-4V5RL25M.mjs} +8 -5
  18. package/dist/{chunk-TMON4MPO.js → chunk-5ALMTE35.js} +9 -7
  19. package/dist/{chunk-AUW7DCXL.js → chunk-5JYVN65W.js} +24 -6
  20. package/dist/{chunk-3MRP3XYI.js → chunk-5QLSTNA3.js} +13 -2
  21. package/dist/chunk-5SX2M3LU.mjs +319 -0
  22. package/dist/{chunk-FI53LYZ6.js → chunk-5UREMEDS.js} +24 -8
  23. package/dist/{chunk-MSHCPJIJ.mjs → chunk-6BOSSZM3.mjs} +8 -9
  24. package/dist/chunk-6LGCAGNG.js +312 -0
  25. package/dist/{chunk-A42OLED6.mjs → chunk-6REMGSLS.mjs} +35 -13
  26. package/dist/{chunk-PNAWOJ32.js → chunk-6S5QOTXZ.js} +14 -2
  27. package/dist/{chunk-PUZDW7NR.js → chunk-6SG2N4WF.js} +135 -21
  28. package/dist/{chunk-5XE5VBDS.mjs → chunk-6UIVNRAR.mjs} +15 -2
  29. package/dist/{chunk-F6IXIH6B.mjs → chunk-7RI5W465.mjs} +43 -30
  30. package/dist/{chunk-DCKBVRLI.js → chunk-7UZ7O7KX.js} +63 -16
  31. package/dist/{chunk-ONTRGV5T.js → chunk-7YI5TAPT.js} +8 -19
  32. package/dist/chunk-AI4V7L6K.mjs +230 -0
  33. package/dist/chunk-AQOXANET.mjs +222 -0
  34. package/dist/{chunk-YOAYDEWW.mjs → chunk-ATSI3UKS.mjs} +5 -21
  35. package/dist/{chunk-ZRHDNGWO.js → chunk-BR3WLDH7.js} +16 -2
  36. package/dist/{chunk-2Y5NIPHB.mjs → chunk-BRPOEVRT.mjs} +32 -3
  37. package/dist/{chunk-LRPPXU74.mjs → chunk-CR4QBH46.mjs} +47 -8
  38. package/dist/{chunk-7U6VWD4H.mjs → chunk-CSJGNEHR.mjs} +2 -2
  39. package/dist/{chunk-OZD75CLT.js → chunk-CXXOZLP4.js} +34 -24
  40. package/dist/{chunk-7QZ4XT2P.mjs → chunk-D4X3NBAI.mjs} +11 -11
  41. package/dist/{chunk-RQXY2MGX.mjs → chunk-D7UR526A.mjs} +231 -184
  42. package/dist/{chunk-CBYJXDW4.js → chunk-DBMC6FPU.js} +16 -4
  43. package/dist/{chunk-WQ4FOHOU.mjs → chunk-DEIVWO2D.mjs} +3 -5
  44. package/dist/{chunk-WNLUUD5N.mjs → chunk-DEQZZKY5.mjs} +20 -19
  45. package/dist/{chunk-ITRYKHQJ.js → chunk-DH4B2COV.js} +121 -47
  46. package/dist/{chunk-BONUUJU3.mjs → chunk-DJOFM2VO.mjs} +1 -8
  47. package/dist/chunk-DO3MVZZN.mjs +698 -0
  48. package/dist/{chunk-6GIJ7NFV.mjs → chunk-E355NVP7.mjs} +38 -19
  49. package/dist/{chunk-KQ5I7PRM.js → chunk-ENJMHEQU.js} +48 -9
  50. package/dist/{chunk-UHFHOTNI.js → chunk-FBIBHTBG.js} +8 -9
  51. package/dist/{chunk-P36GX65N.js → chunk-FCCHM2B4.js} +40 -4
  52. package/dist/{chunk-4LIDROT4.js → chunk-FFDK6PEP.js} +7 -4
  53. package/dist/{chunk-KYP7U6FK.js → chunk-FZHBVHQ6.js} +34 -25
  54. package/dist/{chunk-R2KUNFDN.mjs → chunk-GA4YOE57.mjs} +2 -2
  55. package/dist/{chunk-3E76U2RG.js → chunk-GADCSCH2.js} +33 -5
  56. package/dist/{chunk-JOB47R6Q.mjs → chunk-GCOA4AO6.mjs} +72 -29
  57. package/dist/{chunk-GN3TSQWW.mjs → chunk-GOUSXJEY.mjs} +2 -2
  58. package/dist/{chunk-WVVXZKNI.js → chunk-GPAY5F7D.js} +14 -14
  59. package/dist/{chunk-KGSDDVRC.mjs → chunk-GQPKHMHA.mjs} +4 -4
  60. package/dist/{chunk-NKSYX4R7.mjs → chunk-GTDLZF7K.mjs} +2 -2
  61. package/dist/{chunk-2GQCFTD7.mjs → chunk-H4MPPCTB.mjs} +23 -4
  62. package/dist/{chunk-3ZNZLGQO.mjs → chunk-H7D7UBDC.mjs} +8 -9
  63. package/dist/{chunk-BBLVRLXT.js → chunk-HFGTJEQW.js} +301 -164
  64. package/dist/{chunk-GQFVVAEF.js → chunk-HVAG26CK.js} +5 -5
  65. package/dist/{chunk-L5AMVEQL.mjs → chunk-HWZSMV2M.mjs} +61 -19
  66. package/dist/{chunk-TC6JLEGZ.js → chunk-I5UB4FN3.js} +27 -10
  67. package/dist/{chunk-4U5HSR2H.js → chunk-I6VHGILW.js} +24 -13
  68. package/dist/{chunk-EOU6WZTS.js → chunk-I7OSNH5T.js} +34 -5
  69. package/dist/{chunk-M73NMNZX.js → chunk-IFB3OECJ.js} +18 -5
  70. package/dist/{chunk-Y5RQN5BO.mjs → chunk-IXAPFTTD.mjs} +7 -6
  71. package/dist/{chunk-EHIXCFD7.js → chunk-JHRFG5PG.js} +57 -12
  72. package/dist/{chunk-3EB42WFR.mjs → chunk-KCPGFO5R.mjs} +2 -2
  73. package/dist/{chunk-G3PBQ4B4.mjs → chunk-KQ4ZKXXN.mjs} +52 -2
  74. package/dist/{chunk-I373B74W.js → chunk-KSXGH3FO.js} +105 -44
  75. package/dist/{chunk-X7JAYXPY.js → chunk-KVWSVDAJ.js} +4 -4
  76. package/dist/chunk-L3WPA2RP.js +25 -0
  77. package/dist/{chunk-NVEIVIAW.mjs → chunk-LACDTZTE.mjs} +134 -20
  78. package/dist/{chunk-WI4N5DD3.mjs → chunk-LAKPYMBZ.mjs} +17 -4
  79. package/dist/{chunk-6GU5NH5F.mjs → chunk-LBXNMCXN.mjs} +33 -5
  80. package/dist/{chunk-4LX5UGPQ.js → chunk-LJRCEB7F.js} +168 -121
  81. package/dist/{chunk-BJQIYELW.mjs → chunk-LOM6NNQK.mjs} +34 -21
  82. package/dist/{chunk-KXNWY2Q7.mjs → chunk-LUABLBKS.mjs} +308 -171
  83. package/dist/{chunk-F7H4ALKN.js → chunk-LZG24TDB.js} +8 -9
  84. package/dist/{chunk-K2TXT5HQ.js → chunk-M577W3TS.js} +101 -85
  85. package/dist/{chunk-UXUYCWQC.js → chunk-MOYZF62V.js} +34 -21
  86. package/dist/{chunk-6TR7JB6C.js → chunk-MQIVMK24.js} +4 -4
  87. package/dist/{chunk-DKT2EYVM.mjs → chunk-MV2JQ6XQ.mjs} +3 -6
  88. package/dist/{chunk-WMPCN7OF.mjs → chunk-MZCGQED3.mjs} +15 -3
  89. package/dist/{chunk-IGAMV6ML.mjs → chunk-MZPKFMQC.mjs} +1 -1
  90. package/dist/{chunk-AG4HRAW2.mjs → chunk-NEHSCSQP.mjs} +2 -2
  91. package/dist/chunk-NG3OBMKV.js +319 -0
  92. package/dist/{chunk-RFHPG4KN.js → chunk-NGSJGXUZ.js} +15 -17
  93. package/dist/{chunk-WIWTY74F.mjs → chunk-NJHZQBA7.mjs} +16 -2
  94. package/dist/{chunk-EQD2U4KM.js → chunk-O2N7ITWQ.js} +63 -16
  95. package/dist/{chunk-NASC6XHN.mjs → chunk-O6YIPNXX.mjs} +24 -15
  96. package/dist/{chunk-VHGCWZ6V.mjs → chunk-OTRPN5ZG.mjs} +58 -13
  97. package/dist/{chunk-QIKR5EFI.js → chunk-OVJO5NYW.js} +4 -4
  98. package/dist/{chunk-6GYT3EZD.mjs → chunk-P2WQIVXD.mjs} +25 -14
  99. package/dist/{chunk-NMEVQPOD.js → chunk-PHAJXRGE.js} +2 -4
  100. package/dist/{chunk-WG3YS2QV.js → chunk-PQF5VLNX.js} +35 -13
  101. package/dist/chunk-PQOUWJAT.mjs +211 -0
  102. package/dist/{chunk-AW5M3EL4.js → chunk-PSCPLUGP.js} +63 -21
  103. package/dist/{chunk-ITVLIR7T.mjs → chunk-PZB24FST.mjs} +23 -25
  104. package/dist/{chunk-BO45CU4Q.js → chunk-PZWI4YNN.js} +6 -4
  105. package/dist/{chunk-PFYK2V3E.js → chunk-Q2OXQNWU.js} +73 -9
  106. package/dist/{chunk-VM4ZQHT5.mjs → chunk-QANWBRNU.mjs} +59 -12
  107. package/dist/{chunk-XBM76P27.mjs → chunk-QFUIGOOM.mjs} +4 -2
  108. package/dist/{chunk-5OHVTGHS.mjs → chunk-QKNORS26.mjs} +385 -319
  109. package/dist/{chunk-ZFMMAYSX.js → chunk-QLATA4UB.js} +4 -6
  110. package/dist/{chunk-LROHXQWX.js → chunk-R4PMBWU3.js} +2 -2
  111. package/dist/chunk-R56UOY6C.js +222 -0
  112. package/dist/chunk-RNHC7BON.js +230 -0
  113. package/dist/{chunk-RF2BA2N6.js → chunk-RRO752KE.js} +11 -10
  114. package/dist/{chunk-2TZ3SBMU.mjs → chunk-S4NGDDAM.mjs} +120 -46
  115. package/dist/{chunk-EF5ZTNHX.js → chunk-SA3N2LUB.js} +37 -20
  116. package/dist/{chunk-M7HBWFQO.js → chunk-SFBSI3J7.js} +14 -1
  117. package/dist/{chunk-G5USITWF.js → chunk-SH4BZYXO.js} +27 -8
  118. package/dist/{chunk-RVO6R37N.mjs → chunk-SHDQJ5BJ.mjs} +1 -1
  119. package/dist/{chunk-N2JYU4JI.js → chunk-SHU7L4NM.js} +52 -2
  120. package/dist/{chunk-I2AUOICV.mjs → chunk-SI3P3V75.mjs} +19 -9
  121. package/dist/{chunk-UVMQJOTX.js → chunk-SK7PXSVE.js} +23 -14
  122. package/dist/{chunk-U356F7GU.js → chunk-SO2ADQTB.js} +52 -11
  123. package/dist/{chunk-NKKIJQMV.mjs → chunk-SPIPFOGD.mjs} +4 -2
  124. package/dist/{chunk-JLRRXRZO.js → chunk-SQONS5PH.js} +4 -7
  125. package/dist/{chunk-NQNHM4OL.mjs → chunk-SRC7JHME.mjs} +1 -1
  126. package/dist/{chunk-EEWHWEYO.js → chunk-SXTMVZ4W.js} +25 -12
  127. package/dist/{chunk-LMTUM3J3.js → chunk-SYJJKI7U.js} +37 -18
  128. package/dist/{chunk-3QPCQH62.mjs → chunk-SYVMCKPR.mjs} +1 -1
  129. package/dist/{chunk-SY23FAXK.mjs → chunk-T6HNFCOW.mjs} +24 -8
  130. package/dist/{chunk-ZITBUGBH.mjs → chunk-TBMDIAZI.mjs} +59 -12
  131. package/dist/{chunk-TSJYAEFZ.js → chunk-TIDVBSXR.js} +371 -305
  132. package/dist/{chunk-ZJI2VLIL.js → chunk-TLDTBCT6.js} +15 -3
  133. package/dist/{chunk-XFPJYKBQ.js → chunk-TN7GMDME.js} +13 -9
  134. package/dist/{chunk-ZYJTHGQW.js → chunk-TO4SSBAJ.js} +26 -25
  135. package/dist/{chunk-N4PP3ENO.js → chunk-TPU6S7G7.js} +2 -2
  136. package/dist/{chunk-PU7KEYLP.mjs → chunk-TRXNHYWB.mjs} +9 -9
  137. package/dist/{chunk-H6NC6SBX.js → chunk-TVEO2CFD.js} +2 -2
  138. package/dist/{chunk-6QQBMZQ6.mjs → chunk-U2ZXZ2KQ.mjs} +74 -10
  139. package/dist/{chunk-FB34UWF7.mjs → chunk-U337RHJB.mjs} +103 -42
  140. package/dist/{chunk-XRNKHQTL.js → chunk-UEAXYZSE.js} +3 -2
  141. package/dist/{chunk-7ISEWLA3.js → chunk-UKQMF3JV.js} +21 -6
  142. package/dist/chunk-UQZ4RLTI.js +698 -0
  143. package/dist/{chunk-PXO2F2CS.mjs → chunk-V23KR23W.mjs} +47 -4
  144. package/dist/{chunk-6I6X255M.js → chunk-V3QEV3TL.js} +12 -12
  145. package/dist/{chunk-M5GSLKUX.mjs → chunk-VAIWWELW.mjs} +15 -3
  146. package/dist/{chunk-GG72T6JK.js → chunk-VOSN3IQC.js} +47 -4
  147. package/dist/{chunk-J4OQ2VRH.mjs → chunk-W6T3CG7U.mjs} +45 -4
  148. package/dist/{chunk-OTEM4FVX.mjs → chunk-WGKNAOW7.mjs} +11 -7
  149. package/dist/chunk-WHYHLUXG.mjs +25 -0
  150. package/dist/chunk-WLFLQB4R.mjs +312 -0
  151. package/dist/{chunk-W6AWN7BC.js → chunk-WLORVPTR.js} +4 -4
  152. package/dist/{chunk-J5N5OQWB.mjs → chunk-WOEX4S6J.mjs} +5 -2
  153. package/dist/{chunk-SDZOVRVR.mjs → chunk-WT72F56O.mjs} +351 -326
  154. package/dist/{chunk-7Z64GEMN.js → chunk-WTASPL6V.js} +3 -1
  155. package/dist/{chunk-FNJDBFKM.mjs → chunk-WTIEJCRV.mjs} +12 -1
  156. package/dist/{chunk-V4JIZN3E.mjs → chunk-WYPTAUCX.mjs} +6 -17
  157. package/dist/{chunk-BFAZZUD6.js → chunk-XKMZ5AMS.js} +7 -23
  158. package/dist/{chunk-SKMZTW3K.js → chunk-XMD7CQQ2.js} +24 -26
  159. package/dist/{chunk-7DUHHRAU.mjs → chunk-Y5X3G2LD.mjs} +41 -5
  160. package/dist/{chunk-XATXFVKR.mjs → chunk-Y7K27DVV.mjs} +4 -3
  161. package/dist/{chunk-ZA5EFHET.mjs → chunk-Z6BDNV3S.mjs} +18 -1
  162. package/dist/{chunk-UBP7HZSU.mjs → chunk-ZG2W4HS5.mjs} +6 -4
  163. package/dist/{chunk-UIIOZEUP.js → chunk-ZLCVJXGL.js} +4 -4
  164. package/dist/{chunk-LQT6ZGME.mjs → chunk-ZLP4XEAO.mjs} +36 -19
  165. package/dist/{chunk-QQFLRNI3.mjs → chunk-ZRZB3C5J.mjs} +18 -3
  166. package/dist/{chunk-YID7J6ZK.js → chunk-ZXVLZKLT.js} +1 -1
  167. package/dist/components/ActivityFeed.js +6 -5
  168. package/dist/components/ActivityFeed.mjs +5 -4
  169. package/dist/components/AreaChart.js +4 -4
  170. package/dist/components/AreaChart.mjs +3 -3
  171. package/dist/components/AutoComplete.js +3 -2
  172. package/dist/components/AutoComplete.mjs +2 -1
  173. package/dist/components/BackTop.js +2 -2
  174. package/dist/components/BackTop.mjs +1 -1
  175. package/dist/components/Badge.js +3 -2
  176. package/dist/components/Badge.mjs +2 -1
  177. package/dist/components/BarChart.js +4 -4
  178. package/dist/components/BarChart.mjs +3 -3
  179. package/dist/components/Breadcrumb.d.mts +1 -1
  180. package/dist/components/Breadcrumb.d.ts +1 -1
  181. package/dist/components/Calendar.d.mts +2 -10
  182. package/dist/components/Calendar.d.ts +2 -10
  183. package/dist/components/Calendar.js +3 -2
  184. package/dist/components/Calendar.mjs +2 -1
  185. package/dist/components/Cascader.d.mts +3 -1
  186. package/dist/components/Cascader.d.ts +3 -1
  187. package/dist/components/Cascader.js +3 -2
  188. package/dist/components/Cascader.mjs +2 -1
  189. package/dist/components/ChartAxis.d.mts +1 -2
  190. package/dist/components/ChartAxis.d.ts +1 -2
  191. package/dist/components/ChartGrid.d.mts +1 -2
  192. package/dist/components/ChartGrid.d.ts +1 -2
  193. package/dist/components/ChartLegend.js +2 -2
  194. package/dist/components/ChartLegend.mjs +1 -1
  195. package/dist/components/ChartSeries.d.mts +1 -2
  196. package/dist/components/ChartSeries.d.ts +1 -2
  197. package/dist/components/ChartTooltip.js +2 -2
  198. package/dist/components/ChartTooltip.mjs +1 -1
  199. package/dist/components/ChatWindow.js +9 -7
  200. package/dist/components/ChatWindow.mjs +8 -6
  201. package/dist/components/Checkbox.js +4 -4
  202. package/dist/components/Checkbox.mjs +3 -3
  203. package/dist/components/CheckboxGroup.js +3 -3
  204. package/dist/components/CheckboxGroup.mjs +2 -2
  205. package/dist/components/CodeEditor.js +2 -2
  206. package/dist/components/CodeEditor.mjs +1 -1
  207. package/dist/components/CommentThread.js +7 -5
  208. package/dist/components/CommentThread.mjs +6 -4
  209. package/dist/components/CropUpload.d.mts +6 -2
  210. package/dist/components/CropUpload.d.ts +6 -2
  211. package/dist/components/CropUpload.js +5 -5
  212. package/dist/components/CropUpload.mjs +4 -4
  213. package/dist/components/DataTableWithToolbar.d.mts +2 -3
  214. package/dist/components/DataTableWithToolbar.d.ts +2 -3
  215. package/dist/components/DataTableWithToolbar.js +13 -12
  216. package/dist/components/DataTableWithToolbar.mjs +12 -11
  217. package/dist/components/DatePicker.d.mts +1 -0
  218. package/dist/components/DatePicker.d.ts +1 -0
  219. package/dist/components/DatePicker.js +4 -2
  220. package/dist/components/DatePicker.mjs +3 -1
  221. package/dist/components/DonutChart.js +5 -5
  222. package/dist/components/DonutChart.mjs +4 -4
  223. package/dist/components/Drawer.js +3 -3
  224. package/dist/components/Drawer.mjs +2 -2
  225. package/dist/components/Empty.js +3 -2
  226. package/dist/components/Empty.mjs +2 -1
  227. package/dist/components/FileManager.d.mts +3 -22
  228. package/dist/components/FileManager.d.ts +3 -22
  229. package/dist/components/FileManager.js +3 -2
  230. package/dist/components/FileManager.mjs +2 -1
  231. package/dist/components/FloatButton.js +2 -2
  232. package/dist/components/FloatButton.mjs +1 -1
  233. package/dist/components/Form.js +3 -2
  234. package/dist/components/Form.mjs +2 -1
  235. package/dist/components/FormItem.js +4 -3
  236. package/dist/components/FormItem.mjs +3 -2
  237. package/dist/components/FormWizard.js +4 -4
  238. package/dist/components/FormWizard.mjs +3 -3
  239. package/dist/components/FunnelChart.js +4 -4
  240. package/dist/components/FunnelChart.mjs +3 -3
  241. package/dist/components/GaugeChart.js +3 -2
  242. package/dist/components/GaugeChart.mjs +2 -1
  243. package/dist/components/HeatmapChart.js +3 -3
  244. package/dist/components/HeatmapChart.mjs +2 -2
  245. package/dist/components/Image.js +5 -4
  246. package/dist/components/Image.mjs +4 -3
  247. package/dist/components/ImageAnnotation.d.mts +1 -1
  248. package/dist/components/ImageAnnotation.d.ts +1 -1
  249. package/dist/components/ImageAnnotation.js +3 -2
  250. package/dist/components/ImageAnnotation.mjs +2 -1
  251. package/dist/components/ImageCropper.js +3 -2
  252. package/dist/components/ImageCropper.mjs +2 -1
  253. package/dist/components/ImageGroup.js +4 -3
  254. package/dist/components/ImageGroup.mjs +3 -2
  255. package/dist/components/ImagePreview.js +3 -2
  256. package/dist/components/ImagePreview.mjs +2 -1
  257. package/dist/components/ImageViewer.d.mts +3 -1
  258. package/dist/components/ImageViewer.d.ts +3 -1
  259. package/dist/components/ImageViewer.js +3 -2
  260. package/dist/components/ImageViewer.mjs +2 -1
  261. package/dist/components/InfiniteScroll.d.mts +2 -0
  262. package/dist/components/InfiniteScroll.d.ts +2 -0
  263. package/dist/components/InfiniteScroll.js +3 -2
  264. package/dist/components/InfiniteScroll.mjs +2 -1
  265. package/dist/components/Input.js +4 -2
  266. package/dist/components/Input.mjs +3 -1
  267. package/dist/components/InputNumber.js +4 -2
  268. package/dist/components/InputNumber.mjs +3 -1
  269. package/dist/components/Kanban.d.mts +5 -1
  270. package/dist/components/Kanban.d.ts +5 -1
  271. package/dist/components/Kanban.js +3 -3
  272. package/dist/components/Kanban.mjs +2 -2
  273. package/dist/components/LineChart.js +4 -4
  274. package/dist/components/LineChart.mjs +3 -3
  275. package/dist/components/List.d.mts +6 -3
  276. package/dist/components/List.d.ts +6 -3
  277. package/dist/components/List.js +4 -3
  278. package/dist/components/List.mjs +3 -2
  279. package/dist/components/Loading.js +3 -2
  280. package/dist/components/Loading.mjs +2 -1
  281. package/dist/components/MarkdownEditor.js +3 -3
  282. package/dist/components/MarkdownEditor.mjs +2 -2
  283. package/dist/components/Mentions.js +2 -2
  284. package/dist/components/Mentions.mjs +1 -1
  285. package/dist/components/Menu.d.mts +8 -80
  286. package/dist/components/Menu.d.ts +8 -80
  287. package/dist/components/Menu.js +2 -2
  288. package/dist/components/Menu.mjs +1 -1
  289. package/dist/components/MenuItem.d.mts +6 -2
  290. package/dist/components/MenuItem.d.ts +6 -2
  291. package/dist/components/MenuItem.js +2 -2
  292. package/dist/components/MenuItem.mjs +1 -1
  293. package/dist/components/MenuItemGroup.d.mts +6 -2
  294. package/dist/components/MenuItemGroup.d.ts +6 -2
  295. package/dist/components/MenuItemGroup.js +2 -2
  296. package/dist/components/MenuItemGroup.mjs +1 -1
  297. package/dist/components/Message.d.mts +2 -1
  298. package/dist/components/Message.d.ts +2 -1
  299. package/dist/components/Message.js +2 -2
  300. package/dist/components/Message.mjs +1 -1
  301. package/dist/components/Modal.js +3 -3
  302. package/dist/components/Modal.mjs +2 -2
  303. package/dist/components/Notification.js +2 -2
  304. package/dist/components/Notification.mjs +1 -1
  305. package/dist/components/NotificationCenter.js +7 -6
  306. package/dist/components/NotificationCenter.mjs +6 -5
  307. package/dist/components/NumberKeyboard.js +3 -2
  308. package/dist/components/NumberKeyboard.mjs +2 -1
  309. package/dist/components/PieChart.js +4 -4
  310. package/dist/components/PieChart.mjs +3 -3
  311. package/dist/components/QRCode.d.mts +2 -1
  312. package/dist/components/QRCode.d.ts +2 -1
  313. package/dist/components/QRCode.js +3 -2
  314. package/dist/components/QRCode.mjs +2 -1
  315. package/dist/components/RadarChart.js +4 -4
  316. package/dist/components/RadarChart.mjs +3 -3
  317. package/dist/components/Radio.js +4 -4
  318. package/dist/components/Radio.mjs +3 -3
  319. package/dist/components/RadioGroup.js +3 -3
  320. package/dist/components/RadioGroup.mjs +2 -2
  321. package/dist/components/Rate.js +2 -2
  322. package/dist/components/Rate.mjs +1 -1
  323. package/dist/components/Resizable.js +2 -2
  324. package/dist/components/Resizable.mjs +1 -1
  325. package/dist/components/Result.js +2 -2
  326. package/dist/components/Result.mjs +1 -1
  327. package/dist/components/RichTextEditor.js +3 -3
  328. package/dist/components/RichTextEditor.mjs +2 -2
  329. package/dist/components/ScatterChart.js +4 -4
  330. package/dist/components/ScatterChart.mjs +3 -3
  331. package/dist/components/Segmented.d.mts +1 -1
  332. package/dist/components/Segmented.d.ts +1 -1
  333. package/dist/components/Segmented.js +2 -2
  334. package/dist/components/Segmented.mjs +1 -1
  335. package/dist/components/Select.d.mts +3 -1
  336. package/dist/components/Select.d.ts +3 -1
  337. package/dist/components/Select.js +3 -2
  338. package/dist/components/Select.mjs +2 -1
  339. package/dist/components/Signature.d.mts +1 -0
  340. package/dist/components/Signature.d.ts +1 -0
  341. package/dist/components/Signature.js +3 -2
  342. package/dist/components/Signature.mjs +2 -1
  343. package/dist/components/Slider.js +2 -2
  344. package/dist/components/Slider.mjs +1 -1
  345. package/dist/components/Splitter.js +2 -2
  346. package/dist/components/Splitter.mjs +1 -1
  347. package/dist/components/Spotlight.js +4 -2
  348. package/dist/components/Spotlight.mjs +3 -1
  349. package/dist/components/Steps.js +2 -2
  350. package/dist/components/Steps.mjs +1 -1
  351. package/dist/components/StepsItem.js +2 -2
  352. package/dist/components/StepsItem.mjs +1 -1
  353. package/dist/components/SubMenu.d.mts +6 -2
  354. package/dist/components/SubMenu.d.ts +6 -2
  355. package/dist/components/SubMenu.js +2 -2
  356. package/dist/components/SubMenu.mjs +1 -1
  357. package/dist/components/SunburstChart.js +4 -4
  358. package/dist/components/SunburstChart.mjs +3 -3
  359. package/dist/components/TabPane.js +2 -2
  360. package/dist/components/TabPane.mjs +1 -1
  361. package/dist/components/Table.d.mts +3 -3
  362. package/dist/components/Table.d.ts +3 -3
  363. package/dist/components/Table.js +9 -9
  364. package/dist/components/Table.mjs +8 -8
  365. package/dist/components/Tabs.d.mts +0 -4
  366. package/dist/components/Tabs.d.ts +0 -4
  367. package/dist/components/Tabs.js +2 -2
  368. package/dist/components/Tabs.mjs +1 -1
  369. package/dist/components/Tag.js +3 -2
  370. package/dist/components/Tag.mjs +2 -1
  371. package/dist/components/TaskBoard.d.mts +3 -1
  372. package/dist/components/TaskBoard.d.ts +3 -1
  373. package/dist/components/TaskBoard.js +2 -2
  374. package/dist/components/TaskBoard.mjs +1 -1
  375. package/dist/components/Textarea.js +4 -3
  376. package/dist/components/Textarea.mjs +3 -2
  377. package/dist/components/TimePicker.d.mts +1 -0
  378. package/dist/components/TimePicker.d.ts +1 -0
  379. package/dist/components/TimePicker.js +4 -2
  380. package/dist/components/TimePicker.mjs +3 -1
  381. package/dist/components/Timeline.d.mts +5 -1
  382. package/dist/components/Timeline.d.ts +5 -1
  383. package/dist/components/Timeline.js +3 -2
  384. package/dist/components/Timeline.mjs +2 -1
  385. package/dist/components/Tour.js +4 -2
  386. package/dist/components/Tour.mjs +3 -1
  387. package/dist/components/Transfer.d.mts +3 -1
  388. package/dist/components/Transfer.d.ts +3 -1
  389. package/dist/components/Transfer.js +3 -2
  390. package/dist/components/Transfer.mjs +2 -1
  391. package/dist/components/Tree.d.mts +3 -1
  392. package/dist/components/Tree.d.ts +3 -1
  393. package/dist/components/Tree.js +4 -3
  394. package/dist/components/Tree.mjs +3 -2
  395. package/dist/components/TreeMapChart.js +4 -4
  396. package/dist/components/TreeMapChart.mjs +3 -3
  397. package/dist/components/TreeSelect.d.mts +3 -1
  398. package/dist/components/TreeSelect.d.ts +3 -1
  399. package/dist/components/TreeSelect.js +3 -2
  400. package/dist/components/TreeSelect.mjs +2 -1
  401. package/dist/components/Upload.js +3 -2
  402. package/dist/components/Upload.mjs +2 -1
  403. package/dist/components/VirtualList.js +2 -2
  404. package/dist/components/VirtualList.mjs +1 -1
  405. package/dist/components/VirtualTable.d.mts +9 -3
  406. package/dist/components/VirtualTable.d.ts +9 -3
  407. package/dist/components/VirtualTable.js +3 -2
  408. package/dist/components/VirtualTable.mjs +2 -1
  409. package/dist/index.d.mts +81 -56
  410. package/dist/index.d.ts +81 -56
  411. package/dist/index.js +92 -92
  412. package/dist/index.mjs +93 -93
  413. package/dist/{types-CHmCMNEM.d.ts → types-0oVwMXtR.d.mts} +1 -1
  414. package/dist/{types-CHmCMNEM.d.mts → types-0oVwMXtR.d.ts} +1 -1
  415. package/dist/types-CcgZY0mv.d.mts +80 -0
  416. package/dist/types-CcgZY0mv.d.ts +80 -0
  417. package/package.json +6 -6
  418. package/dist/chunk-4GITZKAH.mjs +0 -153
  419. package/dist/chunk-4SO4LANY.js +0 -626
  420. package/dist/chunk-5EVHVZG5.js +0 -131
  421. package/dist/chunk-5HFHHFQS.mjs +0 -168
  422. package/dist/chunk-CDRQSKXT.mjs +0 -195
  423. package/dist/chunk-DLKUDB2R.js +0 -153
  424. package/dist/chunk-GYQ2DN6Z.mjs +0 -174
  425. package/dist/chunk-HR5GBE3P.js +0 -168
  426. package/dist/chunk-S5Y6UHAK.mjs +0 -131
  427. package/dist/chunk-T7KO6EVK.js +0 -174
  428. package/dist/chunk-UKGQ7256.js +0 -12
  429. package/dist/chunk-UQMPEMY7.mjs +0 -12
  430. package/dist/chunk-VNVGSPBI.mjs +0 -626
  431. package/dist/{chunk-UMZ3PMUJ.js → chunk-SXHCMZ6U.js} +2 -2
  432. package/dist/{chunk-BWDQZSAB.mjs → chunk-WTSG7QXK.mjs} +3 -3
@@ -22,18 +22,24 @@ import {
22
22
  messageCloseIconPath,
23
23
  isBrowser,
24
24
  ANIMATION_DURATION_MS,
25
- normalizeStringOption
25
+ normalizeStringOption,
26
+ createInstanceCounter
26
27
  } from "@expcat/tigercat-core";
27
- import { jsx, jsxs } from "react/jsx-runtime";
28
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
28
29
  var MESSAGE_CONTAINER_ID = "tiger-message-container";
29
30
  var MESSAGE_CLOSE_ARIA_LABEL = "Close message";
31
+ var MESSAGE_POSITIONS = [
32
+ "top",
33
+ "top-left",
34
+ "top-right",
35
+ "bottom",
36
+ "bottom-left",
37
+ "bottom-right"
38
+ ];
30
39
  var messageInstances = [];
31
- var instanceIdCounter = 0;
32
40
  var containerRoot = null;
33
41
  var updateCallback = null;
34
- function getNextInstanceId() {
35
- return ++instanceIdCounter;
36
- }
42
+ var getNextInstanceId = createInstanceCounter();
37
43
  var MessageItem = ({ message, onClose }) => {
38
44
  const [isVisible, setIsVisible] = useState(false);
39
45
  useEffect(() => {
@@ -93,17 +99,12 @@ var MessageItem = ({ message, onClose }) => {
93
99
  }
94
100
  );
95
101
  };
96
- var MessageContainer = ({ position = "top" }) => {
97
- const [messages, setMessages] = useState(() => [...messageInstances]);
98
- useEffect(() => {
99
- updateCallback = () => {
100
- setMessages([...messageInstances]);
101
- };
102
- return () => {
103
- updateCallback = null;
104
- };
105
- }, []);
102
+ var MessageContainer = ({
103
+ position = "top",
104
+ messages = messageInstances.filter((message) => message.position === position)
105
+ }) => {
106
106
  const containerClasses = classNames(messageContainerBaseClasses, messagePositionClasses[position]);
107
+ const containerId = position === "top" ? MESSAGE_CONTAINER_ID : `${MESSAGE_CONTAINER_ID}-${position}`;
107
108
  const handleRemove = useCallback((id) => {
108
109
  removeMessage(id);
109
110
  }, []);
@@ -111,14 +112,31 @@ var MessageContainer = ({ position = "top" }) => {
111
112
  "div",
112
113
  {
113
114
  className: containerClasses,
114
- id: MESSAGE_CONTAINER_ID,
115
+ id: containerId,
115
116
  "aria-live": "polite",
116
117
  "aria-relevant": "additions",
118
+ "data-tiger-message-position": position,
117
119
  "data-tiger-message-container": true,
118
120
  children: messages.map((message) => /* @__PURE__ */ jsx(MessageItem, { message, onClose: handleRemove }, message.id))
119
121
  }
120
122
  );
121
123
  };
124
+ var MessageHost = () => {
125
+ const [messages, setMessages] = useState(() => [...messageInstances]);
126
+ useEffect(() => {
127
+ updateCallback = () => {
128
+ setMessages([...messageInstances]);
129
+ };
130
+ return () => {
131
+ updateCallback = null;
132
+ };
133
+ }, []);
134
+ return /* @__PURE__ */ jsx(Fragment, { children: MESSAGE_POSITIONS.map((position) => {
135
+ const positionedMessages = messages.filter((message) => message.position === position);
136
+ if (positionedMessages.length === 0) return null;
137
+ return /* @__PURE__ */ jsx(MessageContainer, { position, messages: positionedMessages }, position);
138
+ }) });
139
+ };
122
140
  function ensureContainer() {
123
141
  if (!isBrowser()) {
124
142
  return;
@@ -140,7 +158,7 @@ function ensureContainer() {
140
158
  }
141
159
  containerRoot = createRoot(rootEl);
142
160
  flushSync(() => {
143
- containerRoot?.render(/* @__PURE__ */ jsx(MessageContainer, {}));
161
+ containerRoot?.render(/* @__PURE__ */ jsx(MessageHost, {}));
144
162
  });
145
163
  }
146
164
  function addMessage(config) {
@@ -153,7 +171,8 @@ function addMessage(config) {
153
171
  closable: config.closable || false,
154
172
  onClose: config.onClose,
155
173
  icon: config.icon,
156
- className: config.className
174
+ className: config.className,
175
+ position: config.position ?? "top"
157
176
  };
158
177
  messageInstances.push(instance);
159
178
  const rootId = `${MESSAGE_CONTAINER_ID}-root`;
@@ -1,10 +1,23 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
+
3
+
4
+
5
+
6
+ var _chunkSTTQ5LXXjs = require('./chunk-STTQ5LXX.js');
7
+
2
8
 
3
9
  var _chunkHQ3QOT7Hjs = require('./chunk-HQ3QOT7H.js');
4
10
 
11
+
12
+ var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
13
+
5
14
  // src/components/Tour.tsx
6
15
  var _react = require('react');
7
- var _reactdom = require('react-dom'); var _reactdom2 = _interopRequireDefault(_reactdom);
16
+
17
+
18
+
19
+
20
+
8
21
 
9
22
 
10
23
 
@@ -28,17 +41,27 @@ var Tour = ({
28
41
  loadSteps,
29
42
  open = false,
30
43
  current: controlledCurrent,
31
- nextText = "Next",
32
- prevText = "Previous",
33
- finishText = "Finish",
44
+ nextText,
45
+ prevText,
46
+ finishText,
34
47
  closable = true,
35
48
  showIndicators = true,
49
+ locale,
36
50
  className,
37
51
  onOpenChange,
38
52
  onClose,
39
53
  onFinish,
40
54
  onChange
41
55
  }) => {
56
+ const config = _chunkTDODFBBOjs.useTigerConfig.call(void 0, );
57
+ const mergedLocale = _react.useMemo.call(void 0,
58
+ () => _tigercatcore.mergeTigerLocale.call(void 0, config.locale, locale),
59
+ [config.locale, locale]
60
+ );
61
+ const labels = _react.useMemo.call(void 0,
62
+ () => _tigercatcore.getTourLabels.call(void 0, mergedLocale, { nextText, prevText, finishText }),
63
+ [finishText, mergedLocale, nextText, prevText]
64
+ );
42
65
  const [internalStep, setInternalStep] = _react.useState.call(void 0, 0);
43
66
  const [resolvedSteps, setResolvedSteps] = _react.useState.call(void 0, steps);
44
67
  const currentStep = _nullishCoalesce(controlledCurrent, () => ( internalStep));
@@ -51,6 +74,8 @@ var Tour = ({
51
74
  const step = _optionalChain([activeStepInfo, 'optionalAccess', _2 => _2.step]);
52
75
  const [targetRect, setTargetRect] = _react.useState.call(void 0, );
53
76
  const popoverRef = _react.useRef.call(void 0, null);
77
+ const closeButtonRef = _react.useRef.call(void 0, null);
78
+ const previousActiveElementRef = _react.useRef.call(void 0, null);
54
79
  _react.useEffect.call(void 0, () => {
55
80
  if (!loadSteps) {
56
81
  setResolvedSteps(steps);
@@ -112,6 +137,19 @@ var Tour = ({
112
137
  _optionalChain([onOpenChange, 'optionalCall', _8 => _8(false)]);
113
138
  _optionalChain([onClose, 'optionalCall', _9 => _9()]);
114
139
  }, [onOpenChange, onClose]);
140
+ _react.useEffect.call(void 0, () => {
141
+ if (open) {
142
+ previousActiveElementRef.current = _tigercatcore.captureActiveElement.call(void 0, );
143
+ const timer = setTimeout(() => {
144
+ _tigercatcore.focusFirst.call(void 0, [closeButtonRef.current, popoverRef.current]);
145
+ }, 0);
146
+ return () => clearTimeout(timer);
147
+ }
148
+ _tigercatcore.restoreFocus.call(void 0, previousActiveElementRef.current);
149
+ }, [open]);
150
+ _chunkSTTQ5LXXjs.useEscapeKey.call(void 0, { enabled: open, onEscape: close });
151
+ _chunkSTTQ5LXXjs.useBodyScrollLock.call(void 0, { enabled: open });
152
+ _chunkSTTQ5LXXjs.useFocusTrap.call(void 0, { enabled: open, containerRef: popoverRef });
115
153
  if (!open || !step) return null;
116
154
  if (!_tigercatcore.isBrowser.call(void 0, )) return null;
117
155
  const placement = _nullishCoalesce(step.placement, () => ( "bottom"));
@@ -145,9 +183,10 @@ var Tour = ({
145
183
  closable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
146
184
  "button",
147
185
  {
186
+ ref: closeButtonRef,
148
187
  className: _tigercatcore.tourCloseButtonClasses,
149
188
  type: "button",
150
- "aria-label": "Close tour",
189
+ "aria-label": labels.closeAriaLabel,
151
190
  onClick: close,
152
191
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQ3QOT7Hjs.StatusIcon, { path: _tigercatcore.closeIconPathD, className: "h-4 w-4" })
153
192
  }
@@ -167,7 +206,7 @@ var Tour = ({
167
206
  type: "button",
168
207
  className: "px-3 py-1.5 text-sm rounded-md border border-[var(--tiger-border,#e5e7eb)] text-[var(--tiger-text,#111827)] hover:bg-[var(--tiger-surface-muted,#f9fafb)] transition-colors mr-2",
169
208
  onClick: prev,
170
- children: prevText
209
+ children: labels.prevText
171
210
  }
172
211
  ),
173
212
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -176,7 +215,7 @@ var Tour = ({
176
215
  type: "button",
177
216
  className: "px-3 py-1.5 text-sm rounded-md bg-[var(--tiger-primary,#2563eb)] text-white hover:bg-[var(--tiger-primary-hover,#1d4ed8)] transition-colors",
178
217
  onClick: next,
179
- children: isLast ? finishText : nextText
218
+ children: isLast ? labels.finishText : labels.nextText
180
219
  }
181
220
  )
182
221
  ] })
@@ -185,7 +224,7 @@ var Tour = ({
185
224
  }
186
225
  )
187
226
  ] });
188
- return _reactdom2.default.createPortal(content, document.body);
227
+ return _chunkSTTQ5LXXjs.renderBodyPortal.call(void 0, content);
189
228
  };
190
229
 
191
230
 
@@ -1,5 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
+ var _chunkL3WPA2RPjs = require('./chunk-L3WPA2RP.js');
4
+
5
+
3
6
  var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
4
7
 
5
8
  // src/components/Upload.tsx
@@ -76,16 +79,12 @@ var Upload = ({
76
79
  );
77
80
  const inputRef = _react.useRef.call(void 0, null);
78
81
  const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
79
- const [internalFileList, setInternalFileList] = _react.useState.call(void 0, []);
80
- const isControlled = controlledFileList !== void 0;
81
- const fileList = isControlled ? controlledFileList : internalFileList;
82
+ const [fileList, setFileList] = _chunkL3WPA2RPjs.useControlledState.call(void 0, controlledFileList, []);
82
83
  const updateFileList = _react.useCallback.call(void 0,
83
84
  (newFileList) => {
84
- if (!isControlled) {
85
- setInternalFileList(newFileList);
86
- }
85
+ setFileList(newFileList);
87
86
  },
88
- [isControlled]
87
+ [setFileList]
89
88
  );
90
89
  const handleClick = () => {
91
90
  if (disabled) return;
@@ -395,7 +394,7 @@ var Upload = ({
395
394
  const imageUrl = file.url || (file.file ? URL.createObjectURL(file.file) : "");
396
395
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.getPictureCardClasses.call(void 0, file.status), children: [
397
396
  imageUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: imageUrl, alt: file.name, className: "w-full h-full object-cover" }),
398
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 bg-black bg-opacity-0 hover:bg-opacity-50 transition-all flex items-center justify-center space-x-2 opacity-0 hover:opacity-100", children: [
397
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 bg-black/0 hover:bg-black/50 transition-all flex items-center justify-center space-x-2 opacity-0 hover:opacity-100", children: [
399
398
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
400
399
  "button",
401
400
  {
@@ -457,7 +456,7 @@ var Upload = ({
457
456
  }
458
457
  )
459
458
  ] }),
460
- file.status === "uploading" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 bg-white bg-opacity-75 flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
459
+ file.status === "uploading" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 bg-white/75 flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
461
460
  "svg",
462
461
  {
463
462
  className: _tigercatcore.getUploadStatusIconClasses.call(void 0, "uploading", "lg", {
@@ -22,7 +22,10 @@ var VirtualList = ({
22
22
  onScroll
23
23
  }) => {
24
24
  const [scrollTop, setScrollTop] = _react.useState.call(void 0, 0);
25
+ const [measureVersion, setMeasureVersion] = _react.useState.call(void 0, 0);
25
26
  const containerRef = _react.useRef.call(void 0, null);
27
+ const itemRefs = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
28
+ const isDynamic = !customStrategy && !getItemHeight && estimatedItemHeight !== void 0;
26
29
  const strategy = _react.useMemo.call(void 0, () => {
27
30
  if (customStrategy) return customStrategy;
28
31
  if (getItemHeight) return _tigercatcore.variableSizeStrategy.call(void 0, getItemHeight, itemCount);
@@ -32,8 +35,23 @@ var VirtualList = ({
32
35
  }, [customStrategy, getItemHeight, estimatedItemHeight, itemHeight, itemCount]);
33
36
  const range = _react.useMemo.call(void 0,
34
37
  () => strategy.getRange(scrollTop, height, itemCount, overscan),
35
- [scrollTop, height, itemCount, overscan, strategy]
38
+ // measureVersion participates so re-measured heights recompute the window.
39
+ // eslint-disable-next-line react-hooks/exhaustive-deps
40
+ [scrollTop, height, itemCount, overscan, strategy, measureVersion]
36
41
  );
42
+ _react.useLayoutEffect.call(void 0, () => {
43
+ if (!isDynamic || !strategy.updateItemHeight) return;
44
+ let changed = false;
45
+ itemRefs.current.forEach((el, i) => {
46
+ if (!el) return;
47
+ const measured = el.offsetHeight;
48
+ if (measured > 0 && measured !== strategy.getItemHeight(i)) {
49
+ strategy.updateItemHeight(i, measured);
50
+ changed = true;
51
+ }
52
+ });
53
+ if (changed) setMeasureVersion((v) => v + 1);
54
+ }, [isDynamic, strategy]);
37
55
  const handleScroll = _react.useCallback.call(void 0, () => {
38
56
  if (containerRef.current) {
39
57
  const st = containerRef.current.scrollTop;
@@ -45,9 +63,27 @@ var VirtualList = ({
45
63
  const items = [];
46
64
  for (let i = startIndex; i <= endIndex; i++) {
47
65
  const itemH = strategy.getItemHeight(i);
48
- items.push(
49
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { height: `${itemH}px`, width: "100%" }, children: renderItem({ index: i }) }, i)
50
- );
66
+ if (isDynamic) {
67
+ const index = i;
68
+ items.push(
69
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
70
+ "div",
71
+ {
72
+ ref: (el) => {
73
+ if (el) itemRefs.current.set(index, el);
74
+ else itemRefs.current.delete(index);
75
+ },
76
+ style: { width: "100%" },
77
+ children: renderItem({ index })
78
+ },
79
+ index
80
+ )
81
+ );
82
+ } else {
83
+ items.push(
84
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { height: `${itemH}px`, width: "100%" }, children: renderItem({ index: i }) }, i)
85
+ );
86
+ }
51
87
  }
52
88
  const offsetTop = startIndex >= 0 ? strategy.getItemOffset(startIndex) : 0;
53
89
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9,6 +9,7 @@ var _react = require('react');
9
9
 
10
10
 
11
11
 
12
+
12
13
  var _tigercatcore = require('@expcat/tigercat-core');
13
14
  var _jsxruntime = require('react/jsx-runtime');
14
15
  var DefaultIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -24,7 +25,7 @@ var DefaultIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
24
25
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { strokeLinecap: "round", strokeLinejoin: "round", d: _tigercatcore.backTopIconPath })
25
26
  }
26
27
  );
27
- var getDefaultTarget = () => window;
28
+ var getDefaultTarget = () => _tigercatcore.isBrowser.call(void 0, ) ? window : null;
28
29
  var BackTop = ({
29
30
  visibilityHeight = 400,
30
31
  target = getDefaultTarget,
@@ -36,8 +37,10 @@ var BackTop = ({
36
37
  ...props
37
38
  }) => {
38
39
  const [visible, setVisible] = _react.useState.call(void 0, false);
40
+ const [targetElement, setTargetElement] = _react.useState.call(void 0, null);
39
41
  _react.useEffect.call(void 0, () => {
40
42
  const el = target();
43
+ setTargetElement(el);
41
44
  if (!el) return;
42
45
  const visibilityController = _tigercatcore.createBackTopVisibilityController.call(void 0, {
43
46
  target: el,
@@ -49,6 +52,7 @@ var BackTop = ({
49
52
  return () => {
50
53
  el.removeEventListener("scroll", visibilityController.schedule);
51
54
  visibilityController.cancel();
55
+ setTargetElement(null);
52
56
  };
53
57
  }, [target, visibilityHeight]);
54
58
  const handleClick = _react.useCallback.call(void 0,
@@ -60,14 +64,13 @@ var BackTop = ({
60
64
  [target, duration, onClick]
61
65
  );
62
66
  const buttonClasses = _react.useMemo.call(void 0, () => {
63
- const el = target();
64
- const positionClasses = !el || el === window ? _tigercatcore.backTopButtonClasses : _tigercatcore.backTopContainerClasses;
67
+ const positionClasses = !targetElement || targetElement === window ? _tigercatcore.backTopButtonClasses : _tigercatcore.backTopContainerClasses;
65
68
  return _tigercatcore.classNames.call(void 0,
66
69
  positionClasses,
67
70
  visible ? _tigercatcore.backTopVisibleClasses : _tigercatcore.backTopHiddenClasses,
68
71
  className
69
72
  );
70
- }, [target, visible, className]);
73
+ }, [targetElement, visible, className]);
71
74
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
72
75
  "button",
73
76
  {
@@ -1,10 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
+ var _chunkL3WPA2RPjs = require('./chunk-L3WPA2RP.js');
4
+
5
+
3
6
 
4
7
 
5
8
 
6
9
  var _chunkSTTQ5LXXjs = require('./chunk-STTQ5LXX.js');
7
10
 
11
+
12
+ var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
13
+
8
14
  // src/components/Spotlight.tsx
9
15
  var _react = require('react'); var _react2 = _interopRequireDefault(_react);
10
16
 
@@ -29,6 +35,8 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
29
35
 
30
36
 
31
37
 
38
+
39
+
32
40
 
33
41
 
34
42
 
@@ -49,8 +57,9 @@ var Spotlight = ({
49
57
  defaultQuery = "",
50
58
  items = EMPTY_ITEMS,
51
59
  title = "Spotlight",
52
- placeholder = "Search",
53
- emptyText = "No results found",
60
+ placeholder,
61
+ emptyText,
62
+ locale,
54
63
  inputAriaLabel,
55
64
  listboxLabel,
56
65
  closeOnSelect = true,
@@ -67,13 +76,27 @@ var Spotlight = ({
67
76
  style,
68
77
  ...rest
69
78
  }) => {
70
- const [uncontrolledOpen, setUncontrolledOpen] = _react.useState.call(void 0, defaultOpen);
71
- const [uncontrolledQuery, setUncontrolledQuery] = _react.useState.call(void 0, defaultQuery);
79
+ const config = _chunkTDODFBBOjs.useTigerConfig.call(void 0, );
80
+ const mergedLocale = _react.useMemo.call(void 0,
81
+ () => _tigercatcore.mergeTigerLocale.call(void 0, config.locale, locale),
82
+ [config.locale, locale]
83
+ );
84
+ const placeholderText = _tigercatcore.resolveLocaleText.call(void 0,
85
+ "Search",
86
+ placeholder,
87
+ _optionalChain([mergedLocale, 'optionalAccess', _ => _.common, 'optionalAccess', _2 => _2.searchPlaceholder])
88
+ );
89
+ const [resolvedOpen, setOpenValue] = _chunkL3WPA2RPjs.useControlledState.call(void 0,
90
+ open,
91
+ _nullishCoalesce(defaultOpen, () => ( false)),
92
+ onOpenChange
93
+ );
94
+ const [resolvedQuery, setQueryValue] = _chunkL3WPA2RPjs.useControlledState.call(void 0,
95
+ query,
96
+ _nullishCoalesce(defaultQuery, () => ( "")),
97
+ onQueryChange
98
+ );
72
99
  const [activeIndex, setActiveIndex] = _react.useState.call(void 0, -1);
73
- const isOpenControlled = open !== void 0;
74
- const isQueryControlled = query !== void 0;
75
- const resolvedOpen = isOpenControlled ? Boolean(open) : uncontrolledOpen;
76
- const resolvedQuery = isQueryControlled ? String(query) : uncontrolledQuery;
77
100
  const reactId = _react.useId.call(void 0, );
78
101
  const dialogId = `tiger-spotlight-${reactId}`;
79
102
  const titleId = `${dialogId}-title`;
@@ -85,20 +108,6 @@ var Spotlight = ({
85
108
  () => _tigercatcore.getSpotlightSearchState.call(void 0, items, resolvedQuery, { filterItem, limit }),
86
109
  [items, resolvedQuery, filterItem, limit]
87
110
  );
88
- const setOpenValue = _react.useCallback.call(void 0,
89
- (nextOpen) => {
90
- if (!isOpenControlled) setUncontrolledOpen(nextOpen);
91
- _optionalChain([onOpenChange, 'optionalCall', _ => _(nextOpen)]);
92
- },
93
- [isOpenControlled, onOpenChange]
94
- );
95
- const setQueryValue = _react.useCallback.call(void 0,
96
- (nextQuery) => {
97
- if (!isQueryControlled) setUncontrolledQuery(nextQuery);
98
- _optionalChain([onQueryChange, 'optionalCall', _2 => _2(nextQuery)]);
99
- },
100
- [isQueryControlled, onQueryChange]
101
- );
102
111
  const closeSpotlight = _react.useCallback.call(void 0, () => {
103
112
  setOpenValue(false);
104
113
  }, [setOpenValue]);
@@ -200,8 +209,8 @@ var Spotlight = ({
200
209
  value: resolvedQuery,
201
210
  type: "search",
202
211
  className: _tigercatcore.spotlightInputClasses,
203
- placeholder,
204
- "aria-label": _nullishCoalesce(inputAriaLabel, () => ( placeholder)),
212
+ placeholder: placeholderText,
213
+ "aria-label": _nullishCoalesce(inputAriaLabel, () => ( placeholderText)),
205
214
  autoComplete: "off",
206
215
  ..._tigercatcore.getPickerComboboxAria.call(void 0, {
207
216
  expanded: true,
@@ -256,7 +265,7 @@ var Spotlight = ({
256
265
  _nullishCoalesce(group.label, () => ( `group-${groupIndex}`))
257
266
  ))
258
267
  }
259
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.spotlightEmptyClasses, children: emptyText })
268
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.spotlightEmptyClasses, children: _tigercatcore.resolveLocaleText.call(void 0, "No results found", emptyText, _optionalChain([mergedLocale, 'optionalAccess', _4 => _4.common, 'optionalAccess', _5 => _5.emptyText])) })
260
269
  ]
261
270
  }
262
271
  )
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-6QML6T3Y.mjs";
4
4
  import {
5
5
  ChartLegend
6
- } from "./chunk-UBP7HZSU.mjs";
6
+ } from "./chunk-ZG2W4HS5.mjs";
7
7
  import {
8
8
  ChartTooltip
9
- } from "./chunk-NASC6XHN.mjs";
9
+ } from "./chunk-O6YIPNXX.mjs";
10
10
  import {
11
11
  ChartCanvas
12
12
  } from "./chunk-DKNVSQSV.mjs";
@@ -11,6 +11,8 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
11
11
 
12
12
 
13
13
 
14
+
15
+
14
16
  var _tigercatcore = require('@expcat/tigercat-core');
15
17
  var _jsxruntime = require('react/jsx-runtime');
16
18
  var CodeEditor = ({
@@ -25,6 +27,7 @@ var CodeEditor = ({
25
27
  wordWrap = false,
26
28
  minLines = 3,
27
29
  maxLines = 0,
30
+ highlightActiveLine = true,
28
31
  disabled = false,
29
32
  className,
30
33
  style,
@@ -32,6 +35,7 @@ var CodeEditor = ({
32
35
  highlighter
33
36
  }) => {
34
37
  const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
38
+ const [activeLine, setActiveLine] = _react.useState.call(void 0, 0);
35
39
  const textareaRef = _react.useRef.call(void 0, null);
36
40
  const code = controlledValue !== void 0 ? controlledValue : internalValue;
37
41
  const lines = _react.useMemo.call(void 0, () => code.split("\n"), [code]);
@@ -48,11 +52,17 @@ var CodeEditor = ({
48
52
  if (maxLines > 0) s.maxHeight = `${maxLines * lineHeight + 1.5}rem`;
49
53
  return s;
50
54
  }, [minLines, maxLines, style]);
55
+ const updateActiveLine = _react.useCallback.call(void 0, () => {
56
+ const ta = textareaRef.current;
57
+ if (!ta) return;
58
+ setActiveLine(_tigercatcore.getActiveLineIndex.call(void 0, ta.value, ta.selectionStart));
59
+ }, []);
51
60
  const handleInput = _react.useCallback.call(void 0,
52
61
  (e) => {
53
62
  const val = e.target.value;
54
63
  setInternalValue(val);
55
64
  _optionalChain([onChange, 'optionalCall', _ => _(val)]);
65
+ setActiveLine(_tigercatcore.getActiveLineIndex.call(void 0, val, e.target.selectionStart));
56
66
  },
57
67
  [onChange]
58
68
  );
@@ -74,27 +84,42 @@ var CodeEditor = ({
74
84
  [tabSize, onChange]
75
85
  );
76
86
  const wrapClass = wordWrap ? "whitespace-pre-wrap break-all" : "";
87
+ const showActiveLine = highlightActiveLine && !disabled;
88
+ const activeLineClass = _tigercatcore.getCodeEditorActiveLineClasses.call(void 0, theme);
77
89
  const renderToken = (token, idx) => {
78
90
  const cls = _tigercatcore.getTokenClasses.call(void 0, token.type, theme);
79
91
  return cls ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: cls, children: token.value }, idx) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: token.value }, idx);
80
92
  };
81
93
  const renderLine = (line, lineIndex) => {
94
+ const lineClass = _tigercatcore.classNames.call(void 0,
95
+ "min-h-[1.625rem]",
96
+ showActiveLine && lineIndex === activeLine && activeLineClass
97
+ );
82
98
  if (_optionalChain([highlighter, 'optionalAccess', _3 => _3.highlightLine])) {
83
99
  const html = highlighter.highlightLine(line, language, theme) || (line === "" ? "\n" : "");
84
100
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
85
101
  "div",
86
102
  {
87
- className: "min-h-[1.625rem]",
103
+ className: lineClass,
104
+ "data-active-line": showActiveLine && lineIndex === activeLine ? "" : void 0,
88
105
  dangerouslySetInnerHTML: { __html: html }
89
106
  },
90
107
  lineIndex
91
108
  );
92
109
  }
93
110
  const tokens = _tigercatcore.tokenizeLine.call(void 0, line, language);
94
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-[1.625rem]", children: [
95
- tokens.map(renderToken),
96
- line === "" ? "\n" : null
97
- ] }, lineIndex);
111
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
112
+ "div",
113
+ {
114
+ className: lineClass,
115
+ "data-active-line": showActiveLine && lineIndex === activeLine ? "" : void 0,
116
+ children: [
117
+ tokens.map(renderToken),
118
+ line === "" ? "\n" : null
119
+ ]
120
+ },
121
+ lineIndex
122
+ );
98
123
  };
99
124
  const blockHtml = highlighter && !highlighter.highlightLine && highlighter.highlightCode ? highlighter.highlightCode(code, language, theme) : null;
100
125
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -123,6 +148,9 @@ var CodeEditor = ({
123
148
  value: code,
124
149
  onChange: handleInput,
125
150
  onKeyDown: handleKeyDown,
151
+ onSelect: updateActiveLine,
152
+ onClick: updateActiveLine,
153
+ onKeyUp: updateActiveLine,
126
154
  readOnly: readOnly || disabled,
127
155
  disabled,
128
156
  placeholder,