@televet/kibble-ui 4.0.0-beta.77 → 4.0.0-beta.78

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 (331) hide show
  1. package/dist/chunks/{alert.types-D6TkftlY.js → alert.types-C1hSbPAj.js} +2 -2
  2. package/dist/chunks/{alert.types-D6TkftlY.js.map → alert.types-C1hSbPAj.js.map} +1 -1
  3. package/dist/chunks/{alert.types-DFdr6LJp.js → alert.types-pRFStpHD.js} +3 -3
  4. package/dist/chunks/{alert.types-DFdr6LJp.js.map → alert.types-pRFStpHD.js.map} +1 -1
  5. package/dist/chunks/{avatar.component-qXjXZmjT.js → avatar.component-BSA7tJUO.js} +2 -2
  6. package/dist/chunks/{avatar.component-qXjXZmjT.js.map → avatar.component-BSA7tJUO.js.map} +1 -1
  7. package/dist/chunks/{avatar.component-v66udI-_.js → avatar.component-BwRv7qvB.js} +13 -13
  8. package/dist/chunks/{avatar.component-v66udI-_.js.map → avatar.component-BwRv7qvB.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-sVDzWHae.js → avatarGroup.component-CtNUO8FY.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-sVDzWHae.js.map → avatarGroup.component-CtNUO8FY.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-DXtoztak.js → avatarGroup.component-DQ8vHW56.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-DXtoztak.js.map → avatarGroup.component-DQ8vHW56.js.map} +1 -1
  13. package/dist/chunks/{buttonGroup.component-s0zArL6V.js → buttonGroup.component-B7YBMn5C.js} +2 -2
  14. package/dist/chunks/{buttonGroup.component-s0zArL6V.js.map → buttonGroup.component-B7YBMn5C.js.map} +1 -1
  15. package/dist/chunks/{buttonGroup.component-Dlz5CnTj.js → buttonGroup.component-Cg_TQped.js} +2 -2
  16. package/dist/chunks/{buttonGroup.component-Dlz5CnTj.js.map → buttonGroup.component-Cg_TQped.js.map} +1 -1
  17. package/dist/chunks/{characterCounter.component-DQpZpSAG.js → characterCounter.component-0p9iEi6i.js} +2 -2
  18. package/dist/chunks/{characterCounter.component-DQpZpSAG.js.map → characterCounter.component-0p9iEi6i.js.map} +1 -1
  19. package/dist/chunks/{characterCounter.component-BR9CB85Y.js → characterCounter.component-B7PijscW.js} +2 -2
  20. package/dist/chunks/{characterCounter.component-BR9CB85Y.js.map → characterCounter.component-B7PijscW.js.map} +1 -1
  21. package/dist/chunks/{checkbox.component-CDWLPHBb.js → checkbox.component-C3SpCA_Q.js} +10 -10
  22. package/dist/chunks/{checkbox.component-CDWLPHBb.js.map → checkbox.component-C3SpCA_Q.js.map} +1 -1
  23. package/dist/chunks/{checkbox.component-DWY6uyeH.js → checkbox.component-Dt23wSaV.js} +2 -2
  24. package/dist/chunks/{checkbox.component-DWY6uyeH.js.map → checkbox.component-Dt23wSaV.js.map} +1 -1
  25. package/dist/chunks/{checkbox.records-VGvM2lMr.js → checkbox.records-4j704fMI.js} +12 -12
  26. package/dist/chunks/{checkbox.records-VGvM2lMr.js.map → checkbox.records-4j704fMI.js.map} +1 -1
  27. package/dist/chunks/checkbox.records-DI3mqSNf.js +2 -0
  28. package/dist/chunks/{checkbox.records-CXDQlfs4.js.map → checkbox.records-DI3mqSNf.js.map} +1 -1
  29. package/dist/chunks/{checkboxGroup.component-D_atqiOV.js → checkboxGroup.component-CVpvkfhE.js} +2 -2
  30. package/dist/chunks/{checkboxGroup.component-D_atqiOV.js.map → checkboxGroup.component-CVpvkfhE.js.map} +1 -1
  31. package/dist/chunks/{checkboxGroup.component-ZnL-IZ9n.js → checkboxGroup.component-DsfWyRog.js} +3 -3
  32. package/dist/chunks/{checkboxGroup.component-ZnL-IZ9n.js.map → checkboxGroup.component-DsfWyRog.js.map} +1 -1
  33. package/dist/chunks/{conversationCard.component-BOcG-o05.js → conversationCard.component-BOVg1QrI.js} +6 -6
  34. package/dist/chunks/{conversationCard.component-BOcG-o05.js.map → conversationCard.component-BOVg1QrI.js.map} +1 -1
  35. package/dist/chunks/{conversationCard.component-BsD6fCbc.js → conversationCard.component-DAk3CXE_.js} +2 -2
  36. package/dist/chunks/{conversationCard.component-BsD6fCbc.js.map → conversationCard.component-DAk3CXE_.js.map} +1 -1
  37. package/dist/chunks/{datePicker.component-CYeP02vZ.js → datePicker.component-ByOoi8Qd.js} +7 -8
  38. package/dist/chunks/datePicker.component-ByOoi8Qd.js.map +1 -0
  39. package/dist/chunks/{datePicker.component-DwGsDzmJ.js → datePicker.component-DP7YTR4q.js} +3 -3
  40. package/dist/chunks/datePicker.component-DP7YTR4q.js.map +1 -0
  41. package/dist/chunks/{dialog-trigger-B5NK0lr-.js → dialog-trigger-MkOQUjzu.js} +2 -2
  42. package/dist/chunks/{dialog-trigger-B5NK0lr-.js.map → dialog-trigger-MkOQUjzu.js.map} +1 -1
  43. package/dist/chunks/{dialog-trigger-Qc_jF1sR.js → dialog-trigger-eqGXDXGQ.js} +9 -9
  44. package/dist/chunks/{dialog-trigger-Qc_jF1sR.js.map → dialog-trigger-eqGXDXGQ.js.map} +1 -1
  45. package/dist/chunks/{heading.component-C0b0I-gL.js → heading.component-B5fvHRUH.js} +2 -2
  46. package/dist/chunks/{heading.component-C0b0I-gL.js.map → heading.component-B5fvHRUH.js.map} +1 -1
  47. package/dist/chunks/{heading.component-F2SF26Rv.js → heading.component-tEOV4AD0.js} +2 -2
  48. package/dist/chunks/{heading.component-F2SF26Rv.js.map → heading.component-tEOV4AD0.js.map} +1 -1
  49. package/dist/chunks/index-BR7peqZO.js +2 -0
  50. package/dist/chunks/{index-MlhL0PDC.js.map → index-BR7peqZO.js.map} +1 -1
  51. package/dist/chunks/{index-C6cNrRSG.js → index-Bff1r_rH.js} +15 -15
  52. package/dist/chunks/{index-C6cNrRSG.js.map → index-Bff1r_rH.js.map} +1 -1
  53. package/dist/chunks/index-Bz8HDeWA.js +70 -0
  54. package/dist/chunks/index-Bz8HDeWA.js.map +1 -0
  55. package/dist/chunks/index-CHIISuTq.js +3 -0
  56. package/dist/chunks/index-CHIISuTq.js.map +1 -0
  57. package/dist/chunks/{index-Im8BYbf9.js → index-CJLttzPM.js} +3 -3
  58. package/dist/chunks/{index-Im8BYbf9.js.map → index-CJLttzPM.js.map} +1 -1
  59. package/dist/chunks/index-CS8X6LiC.js +2 -0
  60. package/dist/chunks/{index-BDnnTdaJ.js.map → index-CS8X6LiC.js.map} +1 -1
  61. package/dist/chunks/{index-BRCoaB60.js → index-C_AXAeNS.js} +16 -17
  62. package/dist/chunks/{index-BRCoaB60.js.map → index-C_AXAeNS.js.map} +1 -1
  63. package/dist/chunks/{index-B2pGzKof.js → index-Cbkb_94C.js} +48 -49
  64. package/dist/chunks/{index-B2pGzKof.js.map → index-Cbkb_94C.js.map} +1 -1
  65. package/dist/chunks/{index-BBZxmcrY.js → index-CtXUprYH.js} +2 -2
  66. package/dist/chunks/{index-BBZxmcrY.js.map → index-CtXUprYH.js.map} +1 -1
  67. package/dist/chunks/index-DBk0LkcO.js +2 -0
  68. package/dist/chunks/{index-CfQe7XQk.js.map → index-DBk0LkcO.js.map} +1 -1
  69. package/dist/chunks/{index-BYf7SZUC.js → index-DOXzraja.js} +2 -2
  70. package/dist/chunks/{index-BYf7SZUC.js.map → index-DOXzraja.js.map} +1 -1
  71. package/dist/chunks/index-DSedXH1s.js +2 -0
  72. package/dist/chunks/{index-ZaGEDS_0.js.map → index-DSedXH1s.js.map} +1 -1
  73. package/dist/chunks/{index-KOHUWYh0.js → index-DUY19L6M.js} +105 -106
  74. package/dist/chunks/{index-KOHUWYh0.js.map → index-DUY19L6M.js.map} +1 -1
  75. package/dist/chunks/{index-BADDrHDf.js → index-DVNjUEDJ.js} +9 -9
  76. package/dist/chunks/{index-BADDrHDf.js.map → index-DVNjUEDJ.js.map} +1 -1
  77. package/dist/chunks/index-DbTEJc-K.js +2 -0
  78. package/dist/chunks/index-DbTEJc-K.js.map +1 -0
  79. package/dist/chunks/{index-COoMV9Mh.js → index-DowO8Ued.js} +2 -2
  80. package/dist/chunks/{index-COoMV9Mh.js.map → index-DowO8Ued.js.map} +1 -1
  81. package/dist/chunks/{index-Ootk-hWL.js → index-L197Dry5.js} +17 -18
  82. package/dist/chunks/{index-Ootk-hWL.js.map → index-L197Dry5.js.map} +1 -1
  83. package/dist/chunks/{index-BwIBc5Vr.js → index-OpolRlgD.js} +3 -3
  84. package/dist/chunks/{index-BwIBc5Vr.js.map → index-OpolRlgD.js.map} +1 -1
  85. package/dist/chunks/index-QTIBH1Or.js +2 -0
  86. package/dist/chunks/{index-CZz7hHWb.js.map → index-QTIBH1Or.js.map} +1 -1
  87. package/dist/chunks/index-YtNA0Ueo.js +1328 -0
  88. package/dist/chunks/index-YtNA0Ueo.js.map +1 -0
  89. package/dist/chunks/{index-DwxB1_tE.js → index-cSjUS7Xj.js} +43 -44
  90. package/dist/chunks/{index-DwxB1_tE.js.map → index-cSjUS7Xj.js.map} +1 -1
  91. package/dist/chunks/index-iaug4k6v.js +8 -0
  92. package/dist/chunks/{index-UWtj4ULm.js.map → index-iaug4k6v.js.map} +1 -1
  93. package/dist/chunks/{menu.component-BvRBlU1u.js → menu.component-C-HbgplJ.js} +2 -2
  94. package/dist/chunks/{menu.component-BvRBlU1u.js.map → menu.component-C-HbgplJ.js.map} +1 -1
  95. package/dist/chunks/{menu.component-ti1ki8i1.js → menu.component-DRbCsT5G.js} +26 -26
  96. package/dist/chunks/{menu.component-ti1ki8i1.js.map → menu.component-DRbCsT5G.js.map} +1 -1
  97. package/dist/chunks/{modal.types-OT5YDIow.js → modal.types-BShblwxe.js} +4 -4
  98. package/dist/chunks/{modal.types-OT5YDIow.js.map → modal.types-BShblwxe.js.map} +1 -1
  99. package/dist/chunks/{modal.types-BnELR1Ol.js → modal.types-Bbjk7iGl.js} +2 -2
  100. package/dist/chunks/{modal.types-BnELR1Ol.js.map → modal.types-Bbjk7iGl.js.map} +1 -1
  101. package/dist/chunks/{pinInput.types-1yr3_0OI.js → pinInput.types-DzKllrSu.js} +2 -2
  102. package/dist/chunks/{pinInput.types-1yr3_0OI.js.map → pinInput.types-DzKllrSu.js.map} +1 -1
  103. package/dist/chunks/{pinInput.types-DP9RhKqz.js → pinInput.types-vJ-_jicz.js} +8 -8
  104. package/dist/chunks/{pinInput.types-DP9RhKqz.js.map → pinInput.types-vJ-_jicz.js.map} +1 -1
  105. package/dist/chunks/{popover-80QH8HEJ.js → popover-BSBYgvs4.js} +2 -2
  106. package/dist/chunks/{popover-80QH8HEJ.js.map → popover-BSBYgvs4.js.map} +1 -1
  107. package/dist/chunks/{popover-BpMSsJKD.js → popover-DNKVYG-J.js} +26 -26
  108. package/dist/chunks/{popover-BpMSsJKD.js.map → popover-DNKVYG-J.js.map} +1 -1
  109. package/dist/chunks/{popover-root-provider-rmv9U0xr.js → popover-root-provider-BErev2-N.js} +8 -8
  110. package/dist/chunks/{popover-root-provider-rmv9U0xr.js.map → popover-root-provider-BErev2-N.js.map} +1 -1
  111. package/dist/chunks/{popover-root-provider-DAMDDAHQ.js → popover-root-provider-C2iwUZJn.js} +2 -2
  112. package/dist/chunks/{popover-root-provider-DAMDDAHQ.js.map → popover-root-provider-C2iwUZJn.js.map} +1 -1
  113. package/dist/chunks/popover.component-BxwHgQIv.js +2 -0
  114. package/dist/chunks/popover.component-BxwHgQIv.js.map +1 -0
  115. package/dist/chunks/popover.component-CVGKw2zy.js +386 -0
  116. package/dist/chunks/popover.component-CVGKw2zy.js.map +1 -0
  117. package/dist/chunks/{radio.records-LkbGZcNW.js → radio.records-4ih1q8nO.js} +16 -16
  118. package/dist/chunks/{radio.records-LkbGZcNW.js.map → radio.records-4ih1q8nO.js.map} +1 -1
  119. package/dist/chunks/radio.records-j0JOqaJ4.js +2 -0
  120. package/dist/chunks/{radio.records-CV3axDFi.js.map → radio.records-j0JOqaJ4.js.map} +1 -1
  121. package/dist/chunks/{radioGroup.component-DH5SnCI7.js → radioGroup.component-DOCa9IlZ.js} +11 -11
  122. package/dist/chunks/{radioGroup.component-DH5SnCI7.js.map → radioGroup.component-DOCa9IlZ.js.map} +1 -1
  123. package/dist/chunks/{radioGroup.component-DjCuFGQG.js → radioGroup.component-HJ7ADLyQ.js} +2 -2
  124. package/dist/chunks/{radioGroup.component-DjCuFGQG.js.map → radioGroup.component-HJ7ADLyQ.js.map} +1 -1
  125. package/dist/chunks/{ratingDots.component-b2Pw-1F_.js → ratingDots.component-BuFKV26e.js} +3 -3
  126. package/dist/chunks/{ratingDots.component-b2Pw-1F_.js.map → ratingDots.component-BuFKV26e.js.map} +1 -1
  127. package/dist/chunks/{ratingDots.component-Czg5IgiN.js → ratingDots.component-CJuTm2VS.js} +2 -2
  128. package/dist/chunks/{ratingDots.component-Czg5IgiN.js.map → ratingDots.component-CJuTm2VS.js.map} +1 -1
  129. package/dist/chunks/{render-strategy-m3gtiO9A.js → render-strategy-CHp7lb6C.js} +2 -2
  130. package/dist/chunks/{render-strategy-m3gtiO9A.js.map → render-strategy-CHp7lb6C.js.map} +1 -1
  131. package/dist/chunks/{render-strategy-BmWbSgqh.js → render-strategy-C_zp9LNQ.js} +2 -2
  132. package/dist/chunks/{render-strategy-BmWbSgqh.js.map → render-strategy-C_zp9LNQ.js.map} +1 -1
  133. package/dist/chunks/{select.component-CIo-RvH_.js → select.component-CybeNI0i.js} +43 -43
  134. package/dist/chunks/{select.component-CIo-RvH_.js.map → select.component-CybeNI0i.js.map} +1 -1
  135. package/dist/chunks/{select.component-D2arS0o0.js → select.component-i_EaT6Zs.js} +2 -2
  136. package/dist/chunks/{select.component-D2arS0o0.js.map → select.component-i_EaT6Zs.js.map} +1 -1
  137. package/dist/chunks/{sortableList.component-BprhujW-.js → sortableList.component-C4sdfnNc.js} +3 -3
  138. package/dist/chunks/{sortableList.component-BprhujW-.js.map → sortableList.component-C4sdfnNc.js.map} +1 -1
  139. package/dist/chunks/{sortableList.component-DkOOWlZi.js → sortableList.component-Di02P6Xa.js} +2 -2
  140. package/dist/chunks/{sortableList.component-DkOOWlZi.js.map → sortableList.component-Di02P6Xa.js.map} +1 -1
  141. package/dist/chunks/{spinner.component--A74YhnV.js → spinner.component-Y6WSYB00.js} +2 -2
  142. package/dist/chunks/{spinner.component--A74YhnV.js.map → spinner.component-Y6WSYB00.js.map} +1 -1
  143. package/dist/chunks/{spinner.component-CyCqFb4q.js → spinner.component-mAs2EzXc.js} +2 -2
  144. package/dist/chunks/{spinner.component-CyCqFb4q.js.map → spinner.component-mAs2EzXc.js.map} +1 -1
  145. package/dist/chunks/{styledAvatar.types-CCuTmj5u.js → styledAvatar.types-D1U_mKEg.js} +2 -2
  146. package/dist/chunks/{styledAvatar.types-CCuTmj5u.js.map → styledAvatar.types-D1U_mKEg.js.map} +1 -1
  147. package/dist/chunks/{styledAvatar.types-DG91ByYD.js → styledAvatar.types-E52xMx_F.js} +2 -2
  148. package/dist/chunks/{styledAvatar.types-DG91ByYD.js.map → styledAvatar.types-E52xMx_F.js.map} +1 -1
  149. package/dist/chunks/{switch.component-frqBM_Af.js → switch.component-BC_L3Gzc.js} +2 -2
  150. package/dist/chunks/{switch.component-frqBM_Af.js.map → switch.component-BC_L3Gzc.js.map} +1 -1
  151. package/dist/chunks/{switch.component-Duu-vQCU.js → switch.component-F106ejwM.js} +11 -11
  152. package/dist/chunks/{switch.component-Duu-vQCU.js.map → switch.component-F106ejwM.js.map} +1 -1
  153. package/dist/chunks/{tabs.component-CqZ-1KM1.js → tabs.component-BSQtGb-N.js} +47 -47
  154. package/dist/chunks/{tabs.component-CqZ-1KM1.js.map → tabs.component-BSQtGb-N.js.map} +1 -1
  155. package/dist/chunks/{tabs.component-COJoNw1J.js → tabs.component-YEPvlQka.js} +2 -2
  156. package/dist/chunks/{tabs.component-COJoNw1J.js.map → tabs.component-YEPvlQka.js.map} +1 -1
  157. package/dist/chunks/{tagBlock.component-CNRGkGi0.js → tagBlock.component-5R68SSbc.js} +2 -2
  158. package/dist/chunks/{tagBlock.component-CNRGkGi0.js.map → tagBlock.component-5R68SSbc.js.map} +1 -1
  159. package/dist/chunks/{tagBlock.component-GOWWkkrD.js → tagBlock.component-C59sawdu.js} +5 -5
  160. package/dist/chunks/{tagBlock.component-GOWWkkrD.js.map → tagBlock.component-C59sawdu.js.map} +1 -1
  161. package/dist/chunks/{textInput.component-tH7q7tyB.js → textInput.component-BLxERLt1.js} +2 -2
  162. package/dist/chunks/{textInput.component-tH7q7tyB.js.map → textInput.component-BLxERLt1.js.map} +1 -1
  163. package/dist/chunks/{textInput.component-CZ5vEcX2.js → textInput.component-DF5JU8nm.js} +12 -12
  164. package/dist/chunks/{textInput.component-CZ5vEcX2.js.map → textInput.component-DF5JU8nm.js.map} +1 -1
  165. package/dist/chunks/{textarea.component-CckCPXIa.js → textarea.component-C3hMq2md.js} +2 -2
  166. package/dist/chunks/{textarea.component-CckCPXIa.js.map → textarea.component-C3hMq2md.js.map} +1 -1
  167. package/dist/chunks/{textarea.component-D55xPgy5.js → textarea.component-Cb7cJ3fE.js} +7 -7
  168. package/dist/chunks/{textarea.component-D55xPgy5.js.map → textarea.component-Cb7cJ3fE.js.map} +1 -1
  169. package/dist/chunks/theme.provider-BuF0PD7y.js +26 -0
  170. package/dist/chunks/theme.provider-BuF0PD7y.js.map +1 -0
  171. package/dist/chunks/{theme.provider-CYOEo6b-.js → theme.provider-DIHPjRt6.js} +1827 -1698
  172. package/dist/chunks/theme.provider-DIHPjRt6.js.map +1 -0
  173. package/dist/chunks/{timePicker.component-DevQsVia.js → timePicker.component-DOuFbuYn.js} +2 -2
  174. package/dist/chunks/timePicker.component-DOuFbuYn.js.map +1 -0
  175. package/dist/chunks/{timePicker.component-DdXZNjaq.js → timePicker.component-DzmwMnG3.js} +19 -20
  176. package/dist/chunks/timePicker.component-DzmwMnG3.js.map +1 -0
  177. package/dist/chunks/{timeRange.component-CRprxuDE.js → timeRange.component-BEJvno5T.js} +2 -2
  178. package/dist/chunks/{timeRange.component-CRprxuDE.js.map → timeRange.component-BEJvno5T.js.map} +1 -1
  179. package/dist/chunks/{timeRange.component-BADX9awY.js → timeRange.component-C6zB9wnu.js} +2 -2
  180. package/dist/chunks/{timeRange.component-BADX9awY.js.map → timeRange.component-C6zB9wnu.js.map} +1 -1
  181. package/dist/chunks/{timestamp.component-C11dDnCQ.js → timestamp.component-3r-E7s-6.js} +2 -2
  182. package/dist/chunks/{timestamp.component-C11dDnCQ.js.map → timestamp.component-3r-E7s-6.js.map} +1 -1
  183. package/dist/chunks/{timestamp.component-D7eN5_Rp.js → timestamp.component-CexMdlZm.js} +2 -2
  184. package/dist/chunks/{timestamp.component-D7eN5_Rp.js.map → timestamp.component-CexMdlZm.js.map} +1 -1
  185. package/dist/chunks/{toaster.records-Dp_v1E5T.js → toaster.records-CcwOeMM7.js} +21 -22
  186. package/dist/chunks/{toaster.records-Dp_v1E5T.js.map → toaster.records-CcwOeMM7.js.map} +1 -1
  187. package/dist/chunks/toaster.records-zJfplz5w.js +2 -0
  188. package/dist/chunks/{toaster.records-BJo0j1IZ.js.map → toaster.records-zJfplz5w.js.map} +1 -1
  189. package/dist/chunks/{typography.records-C6G_65b4.js → typography.records-CSy2LmDd.js} +2 -2
  190. package/dist/chunks/{typography.records-C6G_65b4.js.map → typography.records-CSy2LmDd.js.map} +1 -1
  191. package/dist/chunks/{typography.records-BVjSfRuB.js → typography.records-H4aA5AOA.js} +2 -2
  192. package/dist/chunks/{typography.records-BVjSfRuB.js.map → typography.records-H4aA5AOA.js.map} +1 -1
  193. package/dist/chunks/{use-field-context--wBJQY1R.js → use-field-context-CArmgHPP.js} +2 -2
  194. package/dist/chunks/{use-field-context--wBJQY1R.js.map → use-field-context-CArmgHPP.js.map} +1 -1
  195. package/dist/chunks/{use-field-context-xndZXNT4.js → use-field-context-Cm3grEyV.js} +2 -2
  196. package/dist/chunks/{use-field-context-xndZXNT4.js.map → use-field-context-Cm3grEyV.js.map} +1 -1
  197. package/dist/chunks/{use-locale-context-KeBTTMq9.js → use-locale-context-BiiNTYMT.js} +29 -29
  198. package/dist/chunks/{use-locale-context-KeBTTMq9.js.map → use-locale-context-BiiNTYMT.js.map} +1 -1
  199. package/dist/chunks/{use-locale-context-BdqHZ8L8.js → use-locale-context-D0LByRu9.js} +2 -2
  200. package/dist/chunks/{use-locale-context-BdqHZ8L8.js.map → use-locale-context-D0LByRu9.js.map} +1 -1
  201. package/dist/chunks/{withFormControl-C3CCUu8p.js → withFormControl-DyPM4V_t.js} +2 -2
  202. package/dist/chunks/{withFormControl-C3CCUu8p.js.map → withFormControl-DyPM4V_t.js.map} +1 -1
  203. package/dist/chunks/{withFormControl-CSnkTHz3.js → withFormControl-yxJx_BJg.js} +49 -49
  204. package/dist/chunks/{withFormControl-CSnkTHz3.js.map → withFormControl-yxJx_BJg.js.map} +1 -1
  205. package/dist/chunks/withTruncation-B-Hma82m.js +2 -0
  206. package/dist/chunks/withTruncation-B-Hma82m.js.map +1 -0
  207. package/dist/chunks/withTruncation-BRHPZgp1.js +581 -0
  208. package/dist/chunks/withTruncation-BRHPZgp1.js.map +1 -0
  209. package/dist/cjs/chakra/index.cjs +1 -1
  210. package/dist/cjs/components/Alert/index.cjs +1 -1
  211. package/dist/cjs/components/Avatar/index.cjs +1 -1
  212. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  213. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  214. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  215. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  216. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  217. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  218. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  219. package/dist/cjs/components/Heading/index.cjs +1 -1
  220. package/dist/cjs/components/Menu/index.cjs +1 -1
  221. package/dist/cjs/components/Modal/index.cjs +1 -1
  222. package/dist/cjs/components/PinInput/index.cjs +1 -1
  223. package/dist/cjs/components/Popover/index.cjs +1 -1
  224. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  225. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  226. package/dist/cjs/components/Select/index.cjs +1 -1
  227. package/dist/cjs/components/SortableList/index.cjs +1 -1
  228. package/dist/cjs/components/Spinner/index.cjs +1 -1
  229. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  230. package/dist/cjs/components/Switch/index.cjs +1 -1
  231. package/dist/cjs/components/Tabs/index.cjs +1 -1
  232. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  233. package/dist/cjs/components/Text/index.cjs +1 -1
  234. package/dist/cjs/components/TextInput/index.cjs +1 -1
  235. package/dist/cjs/components/Textarea/index.cjs +1 -1
  236. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  237. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  238. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  239. package/dist/cjs/components/Toast/index.cjs +1 -1
  240. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  241. package/dist/cjs/components/index.cjs +1 -1
  242. package/dist/cjs/index.cjs +1 -1
  243. package/dist/cjs/theme/index.cjs +1 -1
  244. package/dist/esm/chakra/index.js +8 -8
  245. package/dist/esm/components/Alert/index.js +1 -1
  246. package/dist/esm/components/Avatar/index.js +1 -1
  247. package/dist/esm/components/AvatarGroup/index.js +1 -1
  248. package/dist/esm/components/ButtonGroup/index.js +1 -1
  249. package/dist/esm/components/CharacterCounter/index.js +1 -1
  250. package/dist/esm/components/Checkbox/index.js +1 -1
  251. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  252. package/dist/esm/components/ConversationCard/index.js +1 -1
  253. package/dist/esm/components/DatePicker/index.js +1 -1
  254. package/dist/esm/components/Heading/index.js +1 -1
  255. package/dist/esm/components/Menu/index.js +1 -1
  256. package/dist/esm/components/Modal/index.js +1 -1
  257. package/dist/esm/components/PinInput/index.js +1 -1
  258. package/dist/esm/components/Popover/index.js +1 -1
  259. package/dist/esm/components/RadioGroup/index.js +1 -1
  260. package/dist/esm/components/RatingDots/index.js +1 -1
  261. package/dist/esm/components/Select/index.js +1 -1
  262. package/dist/esm/components/SortableList/index.js +1 -1
  263. package/dist/esm/components/Spinner/index.js +1 -1
  264. package/dist/esm/components/StyledAvatar/index.js +1 -1
  265. package/dist/esm/components/Switch/index.js +1 -1
  266. package/dist/esm/components/Tabs/index.js +1 -1
  267. package/dist/esm/components/TagBlock/index.js +1 -1
  268. package/dist/esm/components/Text/index.js +1 -1
  269. package/dist/esm/components/TextInput/index.js +1 -1
  270. package/dist/esm/components/Textarea/index.js +1 -1
  271. package/dist/esm/components/TimePicker/index.js +1 -1
  272. package/dist/esm/components/TimeRange/index.js +1 -1
  273. package/dist/esm/components/Timestamp/index.js +1 -1
  274. package/dist/esm/components/Toast/index.js +1 -1
  275. package/dist/esm/components/Tooltip/index.js +1 -1
  276. package/dist/esm/components/index.js +29 -29
  277. package/dist/esm/index.js +30 -30
  278. package/dist/esm/theme/index.js +1 -1
  279. package/dist/types/components/Avatar/avatar.recipe.d.ts +1 -1
  280. package/dist/types/components/Button/button.recipe.d.ts +1 -1
  281. package/dist/types/components/Logo/logo.recipe.d.ts +1 -1
  282. package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
  283. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  284. package/dist/types/components/PinInput/pinInput.recipe.d.ts +1 -1
  285. package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
  286. package/dist/types/components/Spinner/spinner.recipe.d.ts +1 -1
  287. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
  288. package/dist/types/components/Tooltip/tooltip.component.d.ts +4 -2
  289. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -1
  290. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
  291. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +3 -3
  292. package/dist/types/theme/tokens/spacing/spacing.config.d.ts +3 -3
  293. package/dist/types/theme/tokens/transitions/transitions.config.d.ts +2 -2
  294. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +8 -8
  295. package/package.json +1 -1
  296. package/dist/chunks/checkbox.records-CXDQlfs4.js +0 -2
  297. package/dist/chunks/datePicker.component-CYeP02vZ.js.map +0 -1
  298. package/dist/chunks/datePicker.component-DwGsDzmJ.js.map +0 -1
  299. package/dist/chunks/index-BDnnTdaJ.js +0 -2
  300. package/dist/chunks/index-BGwwyukg.js +0 -2
  301. package/dist/chunks/index-BGwwyukg.js.map +0 -1
  302. package/dist/chunks/index-BIz6smcP.js +0 -322
  303. package/dist/chunks/index-BIz6smcP.js.map +0 -1
  304. package/dist/chunks/index-CZ42b9rT.js +0 -3
  305. package/dist/chunks/index-CZ42b9rT.js.map +0 -1
  306. package/dist/chunks/index-CZz7hHWb.js +0 -2
  307. package/dist/chunks/index-CfQe7XQk.js +0 -2
  308. package/dist/chunks/index-Czx27hGN.js +0 -1018
  309. package/dist/chunks/index-Czx27hGN.js.map +0 -1
  310. package/dist/chunks/index-MlhL0PDC.js +0 -2
  311. package/dist/chunks/index-UWtj4ULm.js +0 -8
  312. package/dist/chunks/index-ZaGEDS_0.js +0 -2
  313. package/dist/chunks/popover.component-CpS9xV8Q.js +0 -322
  314. package/dist/chunks/popover.component-CpS9xV8Q.js.map +0 -1
  315. package/dist/chunks/popover.component-DS0EiGlE.js +0 -2
  316. package/dist/chunks/popover.component-DS0EiGlE.js.map +0 -1
  317. package/dist/chunks/popover.recipe-DLeyokHo.js +0 -2
  318. package/dist/chunks/popover.recipe-DLeyokHo.js.map +0 -1
  319. package/dist/chunks/popover.recipe-_90TbZhK.js +0 -479
  320. package/dist/chunks/popover.recipe-_90TbZhK.js.map +0 -1
  321. package/dist/chunks/radio.records-CV3axDFi.js +0 -2
  322. package/dist/chunks/theme.provider-B3cH9Mqo.js +0 -26
  323. package/dist/chunks/theme.provider-B3cH9Mqo.js.map +0 -1
  324. package/dist/chunks/theme.provider-CYOEo6b-.js.map +0 -1
  325. package/dist/chunks/timePicker.component-DdXZNjaq.js.map +0 -1
  326. package/dist/chunks/timePicker.component-DevQsVia.js.map +0 -1
  327. package/dist/chunks/toaster.records-BJo0j1IZ.js +0 -2
  328. package/dist/chunks/withTruncation-DcoulzNi.js +0 -828
  329. package/dist/chunks/withTruncation-DcoulzNi.js.map +0 -1
  330. package/dist/chunks/withTruncation-DqAm-acL.js +0 -2
  331. package/dist/chunks/withTruncation-DqAm-acL.js.map +0 -1
@@ -1,828 +0,0 @@
1
- import { j as f } from "./jsx-runtime-C5mzlN2N.js";
2
- import { forwardRef as x, useId as De, memo as ee, useState as Ae, useRef as te, useCallback as Re, useEffect as Ne } from "react";
3
- import { B as _e } from "./box-Ck9I7FYv.js";
4
- import { c as Ve } from "./create-recipe-context-D7FewUR4.js";
5
- import { c as Ie, f as A, u as le, h as Fe, g as oe, d as We, b as $e, i as Ke, j as ze, k as Be, n as Ge, s as ce, l as de, m as pe, P as He } from "./use-locale-context-KeBTTMq9.js";
6
- import { c as qe } from "./create-slot-recipe-context-BJmsuxih.js";
7
- import { Y as E, Z as D, a2 as Z, b2 as Ue, D as ue, b3 as Ye, c as Ze, y as Je, R as z, b4 as Qe, b as Xe, d as et, m as tt } from "./index-Czx27hGN.js";
8
- const { withContext: ot } = Ve({
9
- key: "text"
10
- }), nt = ot("p"), [fe, R] = Ie({
11
- name: "TooltipContext",
12
- hookName: "useTooltipContext",
13
- providerName: "<TooltipProvider />"
14
- }), ge = x((e, t) => {
15
- const o = R(), n = E(o.getArrowProps(), e);
16
- return /* @__PURE__ */ f.jsx(A.div, { ...n, ref: t });
17
- });
18
- ge.displayName = "TooltipArrow";
19
- const ve = x((e, t) => {
20
- const o = R(), n = E(o.getArrowTipProps(), e);
21
- return /* @__PURE__ */ f.jsx(A.div, { ...n, ref: t });
22
- });
23
- ve.displayName = "TooltipArrowTip";
24
- const me = x((e, t) => {
25
- const o = R(), n = le(), r = E(o.getContentProps(), n.getPresenceProps(), e);
26
- return n.unmounted ? null : /* @__PURE__ */ f.jsx(A.div, { ...r, ref: Fe(n.ref, t) });
27
- });
28
- me.displayName = "TooltipContent";
29
- const ye = x((e, t) => {
30
- const o = R(), n = E(o.getPositionerProps(), e);
31
- return le().unmounted ? null : /* @__PURE__ */ f.jsx(A.div, { ...n, ref: t });
32
- });
33
- ye.displayName = "TooltipPositioner";
34
- function rt(e) {
35
- return !(e.metaKey || !Ye() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
36
- }
37
- var st = /* @__PURE__ */ new Set(["checkbox", "radio", "range", "color", "file", "image", "button", "submit", "reset"]);
38
- function it(e, t, o) {
39
- const n = o ? ue(o) : null, r = D(n);
40
- return e = e || n instanceof r.HTMLInputElement && !st.has(n?.type) || n instanceof r.HTMLTextAreaElement || n instanceof r.HTMLElement && n.isContentEditable, !(e && t === "keyboard" && o instanceof r.KeyboardEvent && !Reflect.has(at, o.key));
41
- }
42
- var C = null, G = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Map(), k = !1, H = !1, at = {
43
- Tab: !0,
44
- Escape: !0
45
- };
46
- function $(e, t) {
47
- for (let o of G)
48
- o(e, t);
49
- }
50
- function F(e) {
51
- k = !0, rt(e) && (C = "keyboard", $("keyboard", e));
52
- }
53
- function O(e) {
54
- C = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (k = !0, $("pointer", e));
55
- }
56
- function Pe(e) {
57
- Ue(e) && (k = !0, C = "virtual");
58
- }
59
- function we(e) {
60
- const t = ue(e);
61
- t === D(t) || t === Z(t) || (!k && !H && (C = "virtual", $("virtual", e)), k = !1, H = !1);
62
- }
63
- function Oe() {
64
- k = !1, H = !0;
65
- }
66
- function lt(e) {
67
- if (typeof window > "u" || j.get(D(e)))
68
- return;
69
- const t = D(e), o = Z(e);
70
- let n = t.HTMLElement.prototype.focus;
71
- t.HTMLElement.prototype.focus = function() {
72
- C = "virtual", $("virtual", null), k = !0, n.apply(this, arguments);
73
- }, o.addEventListener("keydown", F, !0), o.addEventListener("keyup", F, !0), o.addEventListener("click", Pe, !0), t.addEventListener("focus", we, !0), t.addEventListener("blur", Oe, !1), typeof t.PointerEvent < "u" ? (o.addEventListener("pointerdown", O, !0), o.addEventListener("pointermove", O, !0), o.addEventListener("pointerup", O, !0)) : (o.addEventListener("mousedown", O, !0), o.addEventListener("mousemove", O, !0), o.addEventListener("mouseup", O, !0)), t.addEventListener(
74
- "beforeunload",
75
- () => {
76
- ct(e);
77
- },
78
- { once: !0 }
79
- ), j.set(t, { focus: n });
80
- }
81
- var ct = (e, t) => {
82
- const o = D(e), n = Z(e);
83
- j.has(o) && (o.HTMLElement.prototype.focus = j.get(o).focus, n.removeEventListener("keydown", F, !0), n.removeEventListener("keyup", F, !0), n.removeEventListener("click", Pe, !0), o.removeEventListener("focus", we, !0), o.removeEventListener("blur", Oe, !1), typeof o.PointerEvent < "u" ? (n.removeEventListener("pointerdown", O, !0), n.removeEventListener("pointermove", O, !0), n.removeEventListener("pointerup", O, !0)) : (n.removeEventListener("mousedown", O, !0), n.removeEventListener("mousemove", O, !0), n.removeEventListener("mouseup", O, !0)), j.delete(o));
84
- };
85
- function q() {
86
- return C === "keyboard";
87
- }
88
- function dt(e = {}) {
89
- const { isTextInput: t, autoFocus: o, onChange: n, root: r } = e;
90
- lt(r), n?.({ isFocusVisible: o || q(), modality: C });
91
- const l = (d, i) => {
92
- it(!!t, d, i) && n?.({ isFocusVisible: q(), modality: d });
93
- };
94
- return G.add(l), () => {
95
- G.delete(l);
96
- };
97
- }
98
- const pt = Symbol(), ne = Object.getPrototypeOf, U = /* @__PURE__ */ new WeakMap(), ut = (e) => e && (U.has(e) ? U.get(e) : ne(e) === Object.prototype || ne(e) === Array.prototype), ft = (e) => ut(e) && e[pt] || null, re = (e, t = !0) => {
99
- U.set(e, t);
100
- };
101
- function gt() {
102
- if (typeof globalThis < "u") return globalThis;
103
- if (typeof self < "u") return self;
104
- if (typeof window < "u") return window;
105
- if (typeof global < "u") return global;
106
- }
107
- function be(e, t) {
108
- const o = gt();
109
- return o ? (o[e] || (o[e] = t()), o[e]) : t();
110
- }
111
- var I = be("__zag__refSet", () => /* @__PURE__ */ new WeakSet()), vt = (e) => typeof e == "object" && e !== null && "$$typeof" in e && "props" in e, mt = (e) => typeof e == "object" && e !== null && "__v_isVNode" in e, yt = (e) => typeof e == "object" && e !== null && "nodeType" in e && typeof e.nodeName == "string", Pt = (e) => vt(e) || mt(e) || yt(e), Y = (e) => e !== null && typeof e == "object", se = (e) => Y(e) && !I.has(e) && (Array.isArray(e) || !(Symbol.iterator in e)) && !Pt(e) && !(e instanceof WeakMap) && !(e instanceof WeakSet) && !(e instanceof Error) && !(e instanceof Number) && !(e instanceof Date) && !(e instanceof String) && !(e instanceof RegExp) && !(e instanceof ArrayBuffer) && !(e instanceof Promise), W = () => process.env.NODE_ENV !== "production", T = be("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap()), wt = (e = Object.is, t = (i, m) => new Proxy(i, m), o = /* @__PURE__ */ new WeakMap(), n = (i, m) => {
112
- const g = o.get(i);
113
- if (g?.[0] === m)
114
- return g[1];
115
- const c = Array.isArray(i) ? [] : Object.create(Object.getPrototypeOf(i));
116
- return re(c, !0), o.set(i, [m, c]), Reflect.ownKeys(i).forEach((y) => {
117
- const v = Reflect.get(i, y);
118
- I.has(v) ? (re(v, !1), c[y] = v) : T.has(v) ? c[y] = ht(v) : c[y] = v;
119
- }), Object.freeze(c);
120
- }, r = /* @__PURE__ */ new WeakMap(), l = [1, 1], d = (i) => {
121
- if (!Y(i))
122
- throw new Error("object required");
123
- const m = r.get(i);
124
- if (m)
125
- return m;
126
- let g = l[0];
127
- const c = /* @__PURE__ */ new Set(), y = (a, s = ++l[0]) => {
128
- g !== s && (g = s, c.forEach((p) => p(a, s)));
129
- };
130
- let v = l[1];
131
- const P = (a = ++l[1]) => (v !== a && !c.size && (v = a, u.forEach(([s]) => {
132
- const p = s[1](a);
133
- p > g && (g = p);
134
- })), g), b = (a) => (s, p) => {
135
- const w = [...s];
136
- w[1] = [a, ...w[1]], y(w, p);
137
- }, u = /* @__PURE__ */ new Map(), J = (a, s) => {
138
- if (W() && u.has(a))
139
- throw new Error("prop listener already exists");
140
- if (c.size) {
141
- const p = s[3](b(a));
142
- u.set(a, [s, p]);
143
- } else
144
- u.set(a, [s]);
145
- }, Q = (a) => {
146
- const s = u.get(a);
147
- s && (u.delete(a), s[1]?.());
148
- }, Se = (a) => (c.add(a), c.size === 1 && u.forEach(([p, w], M) => {
149
- if (W() && w)
150
- throw new Error("remove already exists");
151
- const L = p[3](b(M));
152
- u.set(M, [p, L]);
153
- }), () => {
154
- c.delete(a), c.size === 0 && u.forEach(([p, w], M) => {
155
- w && (w(), u.set(M, [p]));
156
- });
157
- }), K = Array.isArray(i) ? [] : Object.create(Object.getPrototypeOf(i)), _ = t(K, {
158
- deleteProperty(a, s) {
159
- const p = Reflect.get(a, s);
160
- Q(s);
161
- const w = Reflect.deleteProperty(a, s);
162
- return w && y(["delete", [s], p]), w;
163
- },
164
- set(a, s, p, w) {
165
- const M = Reflect.has(a, s), L = Reflect.get(a, s, w);
166
- if (M && (e(L, p) || r.has(p) && e(L, r.get(p))))
167
- return !0;
168
- Q(s), Y(p) && (p = ft(p) || p);
169
- let V = p;
170
- if (!Object.getOwnPropertyDescriptor(a, s)?.set) {
171
- !T.has(p) && se(p) && (V = he(p));
172
- const X = !I.has(V) && T.get(V);
173
- X && J(s, X);
174
- }
175
- return Reflect.set(a, s, V, w), y(["set", [s], p, L]), !0;
176
- }
177
- });
178
- r.set(i, _);
179
- const je = [K, P, n, Se];
180
- return T.set(_, je), Reflect.ownKeys(i).forEach((a) => {
181
- const s = Object.getOwnPropertyDescriptor(i, a);
182
- s.get || s.set ? Object.defineProperty(K, a, s) : _[a] = i[a];
183
- }), _;
184
- }) => [
185
- // public functions
186
- d,
187
- // shared state
188
- T,
189
- I,
190
- // internal things
191
- e,
192
- t,
193
- se,
194
- o,
195
- n,
196
- r,
197
- l
198
- ], [Ot] = wt();
199
- function he(e = {}) {
200
- return Ot(e);
201
- }
202
- function bt(e, t, o) {
203
- const n = T.get(e);
204
- W() && !n && console.warn("Please use proxy object");
205
- let r;
206
- const l = [], d = n[3];
207
- let i = !1;
208
- const g = d((c) => {
209
- l.push(c), r || (r = Promise.resolve().then(() => {
210
- r = void 0, i && t(l.splice(0));
211
- }));
212
- });
213
- return i = !0, () => {
214
- i = !1, g();
215
- };
216
- }
217
- function ht(e) {
218
- const t = T.get(e);
219
- W() && !t && console.warn("Please use proxy object");
220
- const [o, n, r] = t;
221
- return r(o, n());
222
- }
223
- var Tt = Xe("tooltip").parts("trigger", "arrow", "arrowTip", "positioner", "content"), S = Tt.build(), Te = (e) => e.ids?.trigger ?? `tooltip:${e.id}:trigger`, kt = (e) => e.ids?.content ?? `tooltip:${e.id}:content`, Et = (e) => e.ids?.arrow ?? `tooltip:${e.id}:arrow`, ke = (e) => e.ids?.positioner ?? `tooltip:${e.id}:popper`, B = (e) => e.getById(Te(e)), ie = (e) => e.getById(ke(e)), h = he({ id: null });
224
- function Ct(e, t) {
225
- const { state: o, context: n, send: r, scope: l, prop: d, event: i } = e, m = d("id"), g = !!d("aria-label"), c = o.matches("open", "closing"), y = Te(l), v = kt(l), P = d("disabled"), b = We({
226
- ...d("positioning"),
227
- placement: n.get("currentPlacement")
228
- });
229
- return {
230
- open: c,
231
- setOpen(u) {
232
- o.matches("open", "closing") !== u && r({ type: u ? "open" : "close" });
233
- },
234
- reposition(u = {}) {
235
- r({ type: "positioning.set", options: u });
236
- },
237
- getTriggerProps() {
238
- return t.button({
239
- ...S.trigger.attrs,
240
- id: y,
241
- dir: d("dir"),
242
- "data-expanded": et(c),
243
- "data-state": c ? "open" : "closed",
244
- "aria-describedby": c ? v : void 0,
245
- onClick(u) {
246
- u.defaultPrevented || P || d("closeOnClick") && r({ type: "close", src: "trigger.click" });
247
- },
248
- onFocus(u) {
249
- queueMicrotask(() => {
250
- u.defaultPrevented || P || i.src !== "trigger.pointerdown" && q() && r({ type: "open", src: "trigger.focus" });
251
- });
252
- },
253
- onBlur(u) {
254
- u.defaultPrevented || P || m === h.id && r({ type: "close", src: "trigger.blur" });
255
- },
256
- onPointerDown(u) {
257
- u.defaultPrevented || P || d("closeOnPointerDown") && m === h.id && r({ type: "close", src: "trigger.pointerdown" });
258
- },
259
- onPointerMove(u) {
260
- u.defaultPrevented || P || u.pointerType !== "touch" && r({ type: "pointer.move" });
261
- },
262
- onPointerLeave() {
263
- P || r({ type: "pointer.leave" });
264
- },
265
- onPointerCancel() {
266
- P || r({ type: "pointer.leave" });
267
- }
268
- });
269
- },
270
- getArrowProps() {
271
- return t.element({
272
- id: Et(l),
273
- ...S.arrow.attrs,
274
- dir: d("dir"),
275
- style: b.arrow
276
- });
277
- },
278
- getArrowTipProps() {
279
- return t.element({
280
- ...S.arrowTip.attrs,
281
- dir: d("dir"),
282
- style: b.arrowTip
283
- });
284
- },
285
- getPositionerProps() {
286
- return t.element({
287
- id: ke(l),
288
- ...S.positioner.attrs,
289
- dir: d("dir"),
290
- style: b.floating
291
- });
292
- },
293
- getContentProps() {
294
- return t.element({
295
- ...S.content.attrs,
296
- dir: d("dir"),
297
- hidden: !c,
298
- "data-state": c ? "open" : "closed",
299
- role: g ? void 0 : "tooltip",
300
- id: g ? void 0 : v,
301
- "data-placement": n.get("currentPlacement"),
302
- onPointerEnter() {
303
- r({ type: "content.pointer.move" });
304
- },
305
- onPointerLeave() {
306
- r({ type: "content.pointer.leave" });
307
- },
308
- style: {
309
- pointerEvents: d("interactive") ? "auto" : "none"
310
- }
311
- });
312
- }
313
- };
314
- }
315
- var { and: Mt, not: ae } = Je(), xt = Ze({
316
- initialState: ({ prop: e }) => e("open") || e("defaultOpen") ? "open" : "closed",
317
- props({ props: e }) {
318
- return {
319
- id: "x",
320
- openDelay: 1e3,
321
- closeDelay: 500,
322
- closeOnPointerDown: !0,
323
- closeOnEscape: !0,
324
- interactive: !1,
325
- closeOnScroll: !0,
326
- closeOnClick: !0,
327
- disabled: !1,
328
- ...e,
329
- positioning: {
330
- placement: "bottom",
331
- ...e.positioning
332
- }
333
- };
334
- },
335
- effects: ["trackFocusVisible", "trackStore"],
336
- context: ({ bindable: e }) => ({
337
- currentPlacement: e(() => ({ defaultValue: void 0 })),
338
- hasPointerMoveOpened: e(() => ({ defaultValue: !1 }))
339
- }),
340
- watch({ track: e, action: t, prop: o }) {
341
- e([() => o("disabled")], () => {
342
- t(["closeIfDisabled"]);
343
- }), e([() => o("open")], () => {
344
- t(["toggleVisibility"]);
345
- });
346
- },
347
- states: {
348
- closed: {
349
- entry: ["clearGlobalId"],
350
- on: {
351
- "controlled.open": {
352
- target: "open"
353
- },
354
- open: [
355
- {
356
- guard: "isOpenControlled",
357
- actions: ["invokeOnOpen"]
358
- },
359
- {
360
- target: "open",
361
- actions: ["invokeOnOpen"]
362
- }
363
- ],
364
- "pointer.leave": {
365
- actions: ["clearPointerMoveOpened"]
366
- },
367
- "pointer.move": [
368
- {
369
- guard: Mt("noVisibleTooltip", ae("hasPointerMoveOpened")),
370
- target: "opening"
371
- },
372
- {
373
- guard: ae("hasPointerMoveOpened"),
374
- target: "open",
375
- actions: ["setPointerMoveOpened", "invokeOnOpen"]
376
- }
377
- ]
378
- }
379
- },
380
- opening: {
381
- effects: ["trackScroll", "trackPointerlockChange", "waitForOpenDelay"],
382
- on: {
383
- "after.openDelay": [
384
- {
385
- guard: "isOpenControlled",
386
- actions: ["setPointerMoveOpened", "invokeOnOpen"]
387
- },
388
- {
389
- target: "open",
390
- actions: ["setPointerMoveOpened", "invokeOnOpen"]
391
- }
392
- ],
393
- "controlled.open": {
394
- target: "open"
395
- },
396
- "controlled.close": {
397
- target: "closed"
398
- },
399
- open: [
400
- {
401
- guard: "isOpenControlled",
402
- actions: ["invokeOnOpen"]
403
- },
404
- {
405
- target: "open",
406
- actions: ["invokeOnOpen"]
407
- }
408
- ],
409
- "pointer.leave": [
410
- {
411
- guard: "isOpenControlled",
412
- // We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
413
- actions: ["clearPointerMoveOpened", "invokeOnClose", "toggleVisibility"]
414
- },
415
- {
416
- target: "closed",
417
- actions: ["clearPointerMoveOpened", "invokeOnClose"]
418
- }
419
- ],
420
- close: [
421
- {
422
- guard: "isOpenControlled",
423
- // We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
424
- actions: ["invokeOnClose", "toggleVisibility"]
425
- },
426
- {
427
- target: "closed",
428
- actions: ["invokeOnClose"]
429
- }
430
- ]
431
- }
432
- },
433
- open: {
434
- effects: ["trackEscapeKey", "trackScroll", "trackPointerlockChange", "trackPositioning"],
435
- entry: ["setGlobalId"],
436
- on: {
437
- "controlled.close": {
438
- target: "closed"
439
- },
440
- close: [
441
- {
442
- guard: "isOpenControlled",
443
- actions: ["invokeOnClose"]
444
- },
445
- {
446
- target: "closed",
447
- actions: ["invokeOnClose"]
448
- }
449
- ],
450
- "pointer.leave": [
451
- {
452
- guard: "isVisible",
453
- target: "closing",
454
- actions: ["clearPointerMoveOpened"]
455
- },
456
- // == group ==
457
- {
458
- guard: "isOpenControlled",
459
- actions: ["clearPointerMoveOpened", "invokeOnClose"]
460
- },
461
- {
462
- target: "closed",
463
- actions: ["clearPointerMoveOpened", "invokeOnClose"]
464
- }
465
- ],
466
- "content.pointer.leave": {
467
- guard: "isInteractive",
468
- target: "closing"
469
- },
470
- "positioning.set": {
471
- actions: ["reposition"]
472
- }
473
- }
474
- },
475
- closing: {
476
- effects: ["trackPositioning", "waitForCloseDelay"],
477
- on: {
478
- "after.closeDelay": [
479
- {
480
- guard: "isOpenControlled",
481
- actions: ["invokeOnClose"]
482
- },
483
- {
484
- target: "closed",
485
- actions: ["invokeOnClose"]
486
- }
487
- ],
488
- "controlled.close": {
489
- target: "closed"
490
- },
491
- "controlled.open": {
492
- target: "open"
493
- },
494
- close: [
495
- {
496
- guard: "isOpenControlled",
497
- actions: ["invokeOnClose"]
498
- },
499
- {
500
- target: "closed",
501
- actions: ["invokeOnClose"]
502
- }
503
- ],
504
- "pointer.move": [
505
- {
506
- guard: "isOpenControlled",
507
- // We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
508
- actions: ["setPointerMoveOpened", "invokeOnOpen", "toggleVisibility"]
509
- },
510
- {
511
- target: "open",
512
- actions: ["setPointerMoveOpened", "invokeOnOpen"]
513
- }
514
- ],
515
- "content.pointer.move": {
516
- guard: "isInteractive",
517
- target: "open"
518
- },
519
- "positioning.set": {
520
- actions: ["reposition"]
521
- }
522
- }
523
- }
524
- },
525
- implementations: {
526
- guards: {
527
- noVisibleTooltip: () => h.id === null,
528
- isVisible: ({ prop: e }) => e("id") === h.id,
529
- isInteractive: ({ prop: e }) => !!e("interactive"),
530
- hasPointerMoveOpened: ({ context: e }) => e.get("hasPointerMoveOpened"),
531
- isOpenControlled: ({ prop: e }) => e("open") !== void 0
532
- },
533
- actions: {
534
- setGlobalId: ({ prop: e }) => {
535
- h.id = e("id");
536
- },
537
- clearGlobalId: ({ prop: e }) => {
538
- e("id") === h.id && (h.id = null);
539
- },
540
- invokeOnOpen: ({ prop: e }) => {
541
- e("onOpenChange")?.({ open: !0 });
542
- },
543
- invokeOnClose: ({ prop: e }) => {
544
- e("onOpenChange")?.({ open: !1 });
545
- },
546
- closeIfDisabled: ({ prop: e, send: t }) => {
547
- e("disabled") && t({ type: "close", src: "disabled.change" });
548
- },
549
- reposition: ({ context: e, event: t, prop: o, scope: n }) => {
550
- if (t.type !== "positioning.set") return;
551
- const r = () => ie(n);
552
- return oe(B(n), r, {
553
- ...o("positioning"),
554
- ...t.options,
555
- defer: !0,
556
- listeners: !1,
557
- onComplete(l) {
558
- e.set("currentPlacement", l.placement);
559
- }
560
- });
561
- },
562
- toggleVisibility: ({ prop: e, event: t, send: o }) => {
563
- queueMicrotask(() => {
564
- o({
565
- type: e("open") ? "controlled.open" : "controlled.close",
566
- previousEvent: t
567
- });
568
- });
569
- },
570
- setPointerMoveOpened: ({ context: e }) => {
571
- e.set("hasPointerMoveOpened", !0);
572
- },
573
- clearPointerMoveOpened: ({ context: e }) => {
574
- e.set("hasPointerMoveOpened", !1);
575
- }
576
- },
577
- effects: {
578
- trackFocusVisible: ({ scope: e }) => dt({ root: e.getRootNode?.() }),
579
- trackPositioning: ({ context: e, prop: t, scope: o }) => {
580
- e.get("currentPlacement") || e.set("currentPlacement", t("positioning").placement);
581
- const n = () => ie(o);
582
- return oe(B(o), n, {
583
- ...t("positioning"),
584
- defer: !0,
585
- onComplete(r) {
586
- e.set("currentPlacement", r.placement);
587
- }
588
- });
589
- },
590
- trackPointerlockChange: ({ send: e, scope: t }) => {
591
- const o = t.getDoc();
592
- return z(o, "pointerlockchange", () => e({ type: "close", src: "pointerlock:change" }), !1);
593
- },
594
- trackScroll: ({ send: e, prop: t, scope: o }) => {
595
- if (!t("closeOnScroll")) return;
596
- const n = B(o);
597
- if (!n) return;
598
- const l = Qe(n).map((d) => z(d, "scroll", () => {
599
- e({ type: "close", src: "scroll" });
600
- }, {
601
- passive: !0,
602
- capture: !0
603
- }));
604
- return () => {
605
- l.forEach((d) => d?.());
606
- };
607
- },
608
- trackStore: ({ prop: e, send: t }) => {
609
- let o;
610
- return queueMicrotask(() => {
611
- o = bt(h, () => {
612
- h.id !== e("id") && t({ type: "close", src: "id.change" });
613
- });
614
- }), () => o?.();
615
- },
616
- trackEscapeKey: ({ send: e, prop: t }) => t("closeOnEscape") ? z(document, "keydown", (n) => {
617
- tt(n) || n.key === "Escape" && (n.stopPropagation(), e({ type: "close", src: "keydown.escape" }));
618
- }, !0) : void 0,
619
- waitForOpenDelay: ({ send: e, prop: t }) => {
620
- const o = setTimeout(() => {
621
- e({ type: "after.openDelay" });
622
- }, t("openDelay"));
623
- return () => clearTimeout(o);
624
- },
625
- waitForCloseDelay: ({ send: e, prop: t }) => {
626
- const o = setTimeout(() => {
627
- e({ type: "after.closeDelay" });
628
- }, t("closeDelay"));
629
- return () => clearTimeout(o);
630
- }
631
- }
632
- }
633
- });
634
- $e()([
635
- "aria-label",
636
- "closeDelay",
637
- "closeOnEscape",
638
- "closeOnPointerDown",
639
- "closeOnScroll",
640
- "closeOnClick",
641
- "dir",
642
- "disabled",
643
- "getRootNode",
644
- "id",
645
- "ids",
646
- "interactive",
647
- "onOpenChange",
648
- "defaultOpen",
649
- "open",
650
- "openDelay",
651
- "positioning"
652
- ]);
653
- const Lt = (e) => {
654
- const t = De(), { getRootNode: o } = Ke(), { dir: n } = ze(), r = {
655
- id: t,
656
- dir: n,
657
- getRootNode: o,
658
- ...e
659
- }, l = Be(xt, r);
660
- return Ct(l, Ge);
661
- }, St = (e) => {
662
- const [t, { children: o, ...n }] = ce(e), r = Lt(n), l = de(E({ present: r.open }, t));
663
- return /* @__PURE__ */ f.jsx(fe, { value: r, children: /* @__PURE__ */ f.jsx(pe, { value: l, children: o }) });
664
- }, jt = (e) => {
665
- const [t, { value: o, children: n }] = ce(e), r = de(E({ present: o.open }, t));
666
- return /* @__PURE__ */ f.jsx(fe, { value: o, children: /* @__PURE__ */ f.jsx(pe, { value: r, children: n }) });
667
- }, Ee = x((e, t) => {
668
- const o = R(), n = E(o.getTriggerProps(), e);
669
- return /* @__PURE__ */ f.jsx(A.button, { ...n, ref: t });
670
- });
671
- Ee.displayName = "TooltipTrigger";
672
- const {
673
- withRootProvider: Ce,
674
- withContext: N
675
- } = qe({ key: "tooltip" });
676
- Ce(
677
- jt
678
- );
679
- const Dt = Ce(St, {
680
- defaultProps: { lazyMount: !0, unmountOnExit: !0 }
681
- }), At = N(Ee, "trigger", { forwardAsChild: !0 }), Rt = N(ye, "positioner", { forwardAsChild: !0 }), Nt = N(
682
- me,
683
- "content",
684
- { forwardAsChild: !0 }
685
- ), Me = N(ve, "arrowTip", { forwardAsChild: !0 }), _t = N(
686
- ge,
687
- "arrow",
688
- { forwardAsChild: !0, defaultProps: { children: /* @__PURE__ */ f.jsx(Me, {}) } }
689
- ), xe = ({ children: e, ...t }) => /* @__PURE__ */ f.jsx(nt, { className: "Text", "data-testid": "kibble-text", ...t, children: e });
690
- xe.displayName = "Text";
691
- const Vt = It(xe), Le = x(
692
- (e, t) => {
693
- const {
694
- children: o,
695
- disabled: n = !1,
696
- openDelay: r = 350,
697
- placement: l = "top",
698
- positioning: d,
699
- portalled: i = !0,
700
- label: m,
701
- ...g
702
- } = e;
703
- return o ? n ? o : /* @__PURE__ */ f.jsxs(
704
- Dt,
705
- {
706
- positioning: {
707
- ...d,
708
- placement: d?.placement || l
709
- },
710
- openDelay: r,
711
- unmountOnExit: !1,
712
- ...g,
713
- children: [
714
- /* @__PURE__ */ f.jsx(
715
- At,
716
- {
717
- asChild: !0,
718
- className: "Tooltip__Trigger",
719
- "data-testid": "kibble-tooltip-trigger",
720
- display: "inline-block",
721
- children: o
722
- }
723
- ),
724
- /* @__PURE__ */ f.jsx(
725
- He,
726
- {
727
- disabled: !i,
728
- children: /* @__PURE__ */ f.jsx(Rt, { className: "Tooltip", "data-testid": "kibble-tooltip", children: /* @__PURE__ */ f.jsxs(
729
- Nt,
730
- {
731
- className: "Tooltip__Content",
732
- "data-testid": "kibble-tooltip-content",
733
- ref: t,
734
- fontSize: "sm",
735
- p: 2,
736
- color: "text.contrast",
737
- css: { "--tooltip-bg": "colors.background.overlay.contrast" },
738
- zIndex: "tooltipExtra",
739
- children: [
740
- /* @__PURE__ */ f.jsx(
741
- _t,
742
- {
743
- className: "Tooltip__Arrow",
744
- "data-testid": "kibble-tooltip-arrow",
745
- css: { "--arrow-size": "10px" },
746
- children: /* @__PURE__ */ f.jsx(Me, {})
747
- }
748
- ),
749
- /* @__PURE__ */ f.jsx(Vt, { truncated: !1, variant: "onContrast", size: "sm", children: m })
750
- ]
751
- }
752
- ) })
753
- }
754
- )
755
- ]
756
- }
757
- ) : /* @__PURE__ */ f.jsx(f.Fragment, {});
758
- }
759
- );
760
- Le.displayName = "Tooltip";
761
- const It = (e) => {
762
- const t = ee(e);
763
- function o({
764
- truncated: n = !1,
765
- noOfLines: r = 1,
766
- children: l,
767
- tooltipProps: d,
768
- ...i
769
- }) {
770
- const [m, g] = Ae(!1), c = te(null), y = te(null), v = Re(() => {
771
- if (c.current) {
772
- const P = c.current?.children[0].scrollHeight || 0, b = c.current?.offsetHeight || 0;
773
- g(P > b);
774
- }
775
- }, []);
776
- return Ne(() => {
777
- if (n && c.current) {
778
- let P;
779
- const b = () => {
780
- window.clearTimeout(P), P = window.setTimeout(v, 100);
781
- };
782
- return y.current = new ResizeObserver(() => {
783
- b();
784
- }), y.current.observe(c.current), v(), () => {
785
- window.clearTimeout(P), y.current && y.current.disconnect();
786
- };
787
- }
788
- }, [n, v]), n ? /* @__PURE__ */ f.jsx(
789
- Le,
790
- {
791
- ...d,
792
- label: d?.label || l?.toLocaleString() || "",
793
- disabled: !m,
794
- "data-testid": "kibble-truncated-text-tooltip",
795
- children: /* @__PURE__ */ f.jsx(
796
- _e,
797
- {
798
- ref: c,
799
- display: "inline-block",
800
- position: "relative",
801
- className: "TruncatedText__Wrapper",
802
- "data-testid": "kibble-truncated-text-wrapper",
803
- children: /* @__PURE__ */ f.jsx(
804
- t,
805
- {
806
- className: "TruncatedText__TextContent",
807
- "data-testid": "kibble-truncated-text-content",
808
- lineClamp: r,
809
- ...i,
810
- children: l
811
- }
812
- )
813
- }
814
- )
815
- }
816
- ) : /* @__PURE__ */ f.jsx(t, { ...i, children: l });
817
- }
818
- return o.displayName = `withTruncation(${e.displayName || e.name}`, ee(o);
819
- };
820
- export {
821
- Le as T,
822
- Vt as W,
823
- Tt as a,
824
- q as i,
825
- dt as t,
826
- It as w
827
- };
828
- //# sourceMappingURL=withTruncation-DcoulzNi.js.map