@televet/kibble-ui 4.0.0-beta.65 → 4.0.0-beta.67

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 (405) hide show
  1. package/dist/chunks/{alert.types-Dth5h5qO.js → alert.types-B7BlPX2-.js} +10 -11
  2. package/dist/chunks/{alert.types-Dth5h5qO.js.map → alert.types-B7BlPX2-.js.map} +1 -1
  3. package/dist/chunks/alert.types-BsvcbTZD.js +2 -0
  4. package/dist/chunks/{alert.types-BvnpOwve.js.map → alert.types-BsvcbTZD.js.map} +1 -1
  5. package/dist/chunks/{avatar.component-BPCJZRyT.js → avatar.component-CB5m8zha.js} +27 -27
  6. package/dist/chunks/{avatar.component-BPCJZRyT.js.map → avatar.component-CB5m8zha.js.map} +1 -1
  7. package/dist/chunks/avatar.component-RKtP3MZt.js +2 -0
  8. package/dist/chunks/{avatar.component-y7gTa1dV.js.map → avatar.component-RKtP3MZt.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-BnRXVOIV.js → avatarGroup.component-CKFjjo2R.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-BnRXVOIV.js.map → avatarGroup.component-CKFjjo2R.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-Mfl8jvgp.js → avatarGroup.component-CjBeAxHZ.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-Mfl8jvgp.js.map → avatarGroup.component-CjBeAxHZ.js.map} +1 -1
  13. package/dist/chunks/{button.component-Dd9AfGox.js → button.component-BQA_MGYQ.js} +2 -2
  14. package/dist/chunks/{button.component-Dd9AfGox.js.map → button.component-BQA_MGYQ.js.map} +1 -1
  15. package/dist/chunks/{button.component-BpF3MzbZ.js → button.component-DahLrK9h.js} +3 -3
  16. package/dist/chunks/{button.component-BpF3MzbZ.js.map → button.component-DahLrK9h.js.map} +1 -1
  17. package/dist/chunks/{buttonGroup.component-6ZBOJbfR.js → buttonGroup.component-BI44nuxH.js} +2 -2
  18. package/dist/chunks/{buttonGroup.component-6ZBOJbfR.js.map → buttonGroup.component-BI44nuxH.js.map} +1 -1
  19. package/dist/chunks/{buttonGroup.component-DQfB4Nj3.js → buttonGroup.component-UKmJh2zn.js} +5 -5
  20. package/dist/chunks/{buttonGroup.component-DQfB4Nj3.js.map → buttonGroup.component-UKmJh2zn.js.map} +1 -1
  21. package/dist/chunks/characterCounter.component-B8efVNy4.js +2 -0
  22. package/dist/chunks/{characterCounter.component-4T8NHb11.js.map → characterCounter.component-B8efVNy4.js.map} +1 -1
  23. package/dist/chunks/{characterCounter.component-Cs0y0DOj.js → characterCounter.component-xgc8P1mp.js} +2 -2
  24. package/dist/chunks/{characterCounter.component-Cs0y0DOj.js.map → characterCounter.component-xgc8P1mp.js.map} +1 -1
  25. package/dist/chunks/{checkbox.component-DqlWmIyY.js → checkbox.component-5GtlYTnJ.js} +16 -16
  26. package/dist/chunks/{checkbox.component-DqlWmIyY.js.map → checkbox.component-5GtlYTnJ.js.map} +1 -1
  27. package/dist/chunks/checkbox.component-DO9NDbmM.js +2 -0
  28. package/dist/chunks/{checkbox.component-CFuJaYmY.js.map → checkbox.component-DO9NDbmM.js.map} +1 -1
  29. package/dist/chunks/{checkbox.records-08YIiUZO.js → checkbox.records-69wNHjsY.js} +8 -8
  30. package/dist/chunks/{checkbox.records-08YIiUZO.js.map → checkbox.records-69wNHjsY.js.map} +1 -1
  31. package/dist/chunks/checkbox.records-D7NUtCRR.js +2 -0
  32. package/dist/chunks/{checkbox.records-B7refmmT.js.map → checkbox.records-D7NUtCRR.js.map} +1 -1
  33. package/dist/chunks/{checkboxGroup.component-DaxmsqdZ.js → checkboxGroup.component-C1sPgVro.js} +2 -2
  34. package/dist/chunks/{checkboxGroup.component-DaxmsqdZ.js.map → checkboxGroup.component-C1sPgVro.js.map} +1 -1
  35. package/dist/chunks/{checkboxGroup.component-DBqDJvPC.js → checkboxGroup.component-Dq3jCGDU.js} +3 -3
  36. package/dist/chunks/{checkboxGroup.component-DBqDJvPC.js.map → checkboxGroup.component-Dq3jCGDU.js.map} +1 -1
  37. package/dist/chunks/{conversationCard.component-Bg1Q9FdN.js → conversationCard.component-LpR5eSru.js} +18 -20
  38. package/dist/chunks/{conversationCard.component-Bg1Q9FdN.js.map → conversationCard.component-LpR5eSru.js.map} +1 -1
  39. package/dist/chunks/conversationCard.component-qWYvoxVn.js +2 -0
  40. package/dist/chunks/{conversationCard.component-CBrw3VnT.js.map → conversationCard.component-qWYvoxVn.js.map} +1 -1
  41. package/dist/chunks/datePicker.component-CLR0tErm.js +15 -0
  42. package/dist/chunks/{datePicker.component-u52NQcza.js.map → datePicker.component-CLR0tErm.js.map} +1 -1
  43. package/dist/chunks/{datePicker.component-DfQNebKg.js → datePicker.component-DVR8Ech4.js} +85 -87
  44. package/dist/chunks/{datePicker.component-DfQNebKg.js.map → datePicker.component-DVR8Ech4.js.map} +1 -1
  45. package/dist/chunks/{dialog-trigger-BPlPzPU-.js → dialog-trigger-C6rpz6Do.js} +9 -9
  46. package/dist/chunks/{dialog-trigger-BPlPzPU-.js.map → dialog-trigger-C6rpz6Do.js.map} +1 -1
  47. package/dist/chunks/dialog-trigger-JNnMRY13.js +2 -0
  48. package/dist/chunks/{dialog-trigger-B5NK0lr-.js.map → dialog-trigger-JNnMRY13.js.map} +1 -1
  49. package/dist/chunks/{group-DPCVolOl.js → group-DKypflCt.js} +2 -2
  50. package/dist/chunks/{group-DPCVolOl.js.map → group-DKypflCt.js.map} +1 -1
  51. package/dist/chunks/group-Dv1hO5IW.js +2 -0
  52. package/dist/chunks/{group-Cv7AQw1b.js.map → group-Dv1hO5IW.js.map} +1 -1
  53. package/dist/chunks/heading.component-DkT5GYvU.js +2 -0
  54. package/dist/chunks/heading.component-DkT5GYvU.js.map +1 -0
  55. package/dist/chunks/heading.component-d5jKnwm5.js +976 -0
  56. package/dist/chunks/heading.component-d5jKnwm5.js.map +1 -0
  57. package/dist/chunks/icon-button-BTDZq0Tr.js +121 -0
  58. package/dist/chunks/icon-button-BTDZq0Tr.js.map +1 -0
  59. package/dist/chunks/icon-button-khcu437F.js +2 -0
  60. package/dist/chunks/icon-button-khcu437F.js.map +1 -0
  61. package/dist/chunks/{typography-Cqrokog3.js → icon.component-D84o075X.js} +43 -6
  62. package/dist/chunks/icon.component-D84o075X.js.map +1 -0
  63. package/dist/chunks/icon.component-DjiNNeqF.js +2 -0
  64. package/dist/chunks/icon.component-DjiNNeqF.js.map +1 -0
  65. package/dist/chunks/{index-Co91SHhW.js → index-B9cDqm2a.js} +3 -3
  66. package/dist/chunks/{index-Co91SHhW.js.map → index-B9cDqm2a.js.map} +1 -1
  67. package/dist/chunks/index-BDCLWoQU.js +2 -0
  68. package/dist/chunks/{index-ZaGEDS_0.js.map → index-BDCLWoQU.js.map} +1 -1
  69. package/dist/chunks/index-BIjZoyJk.js +70 -0
  70. package/dist/chunks/index-BIjZoyJk.js.map +1 -0
  71. package/dist/chunks/{index-D9DU-5GF.js → index-BL1VW2oK.js} +54 -55
  72. package/dist/chunks/{index-D9DU-5GF.js.map → index-BL1VW2oK.js.map} +1 -1
  73. package/dist/chunks/index-BiyIeWSg.js +2 -0
  74. package/dist/chunks/{index-BDnnTdaJ.js.map → index-BiyIeWSg.js.map} +1 -1
  75. package/dist/chunks/index-BlGAWSIX.js +3 -0
  76. package/dist/chunks/index-BlGAWSIX.js.map +1 -0
  77. package/dist/chunks/{index-DcJZ8q0f.js → index-Bn03tQNC.js} +19 -20
  78. package/dist/chunks/{index-DcJZ8q0f.js.map → index-Bn03tQNC.js.map} +1 -1
  79. package/dist/chunks/index-BpKhRg2I.js +2 -0
  80. package/dist/chunks/{index-COoMV9Mh.js.map → index-BpKhRg2I.js.map} +1 -1
  81. package/dist/chunks/index-Cb49D-ky.js +1328 -0
  82. package/dist/chunks/index-Cb49D-ky.js.map +1 -0
  83. package/dist/chunks/{index-MDMqrELk.js → index-Ciu8P7c-.js} +7 -7
  84. package/dist/chunks/{index-MDMqrELk.js.map → index-Ciu8P7c-.js.map} +1 -1
  85. package/dist/chunks/index-CmVbgcH8.js +2 -0
  86. package/dist/chunks/{index-Dyxhds_1.js.map → index-CmVbgcH8.js.map} +1 -1
  87. package/dist/chunks/{index-C2kxTsiE.js → index-CxHMu1In.js} +21 -23
  88. package/dist/chunks/{index-C2kxTsiE.js.map → index-CxHMu1In.js.map} +1 -1
  89. package/dist/chunks/index-CzzrUbmu.js +2 -0
  90. package/dist/chunks/{index-MlhL0PDC.js.map → index-CzzrUbmu.js.map} +1 -1
  91. package/dist/chunks/index-DFbSzgk8.js +8 -0
  92. package/dist/chunks/{index-UWtj4ULm.js.map → index-DFbSzgk8.js.map} +1 -1
  93. package/dist/chunks/{index-CjNAJEk5.js → index-DRABh-Lp.js} +105 -106
  94. package/dist/chunks/{index-CjNAJEk5.js.map → index-DRABh-Lp.js.map} +1 -1
  95. package/dist/chunks/index-DeprNCOL.js +2 -0
  96. package/dist/chunks/{index-BYf7SZUC.js.map → index-DeprNCOL.js.map} +1 -1
  97. package/dist/chunks/index-Fztcdoo_.js +2 -0
  98. package/dist/chunks/index-Fztcdoo_.js.map +1 -0
  99. package/dist/chunks/{index-S1uNQPZj.js → index-YfA5zlSf.js} +5 -5
  100. package/dist/chunks/{index-S1uNQPZj.js.map → index-YfA5zlSf.js.map} +1 -1
  101. package/dist/chunks/{link.component-CCFg-LIe.js → link.component-BQJI6gPi.js} +2 -2
  102. package/dist/chunks/{link.component-CCFg-LIe.js.map → link.component-BQJI6gPi.js.map} +1 -1
  103. package/dist/chunks/{link.component-DprieyUG.js → link.component-Cs05IsXP.js} +2 -2
  104. package/dist/chunks/{link.component-DprieyUG.js.map → link.component-Cs05IsXP.js.map} +1 -1
  105. package/dist/chunks/menu.component-BgAx3SsR.js +2 -0
  106. package/dist/chunks/{menu.component-CiZzHc2D.js.map → menu.component-BgAx3SsR.js.map} +1 -1
  107. package/dist/chunks/{menu.component-D4gknsq1.js → menu.component-CAr2xdZY.js} +28 -28
  108. package/dist/chunks/{menu.component-D4gknsq1.js.map → menu.component-CAr2xdZY.js.map} +1 -1
  109. package/dist/chunks/modal.context-DSKLfsJK.js +12 -0
  110. package/dist/chunks/modal.context-DSKLfsJK.js.map +1 -0
  111. package/dist/chunks/modal.context-EJ67QNzq.js +2 -0
  112. package/dist/chunks/modal.context-EJ67QNzq.js.map +1 -0
  113. package/dist/chunks/{modal.types-BV8Eand2.js → modal.types-B7PDc2GJ.js} +6 -6
  114. package/dist/chunks/{modal.types-BV8Eand2.js.map → modal.types-B7PDc2GJ.js.map} +1 -1
  115. package/dist/chunks/modal.types-CtHJAyfq.js +2 -0
  116. package/dist/chunks/{modal.types-9-Bz6ybC.js.map → modal.types-CtHJAyfq.js.map} +1 -1
  117. package/dist/chunks/{pinInput.types-U7Tfj5It.js → pinInput.types-TfkrphC7.js} +17 -17
  118. package/dist/chunks/{pinInput.types-U7Tfj5It.js.map → pinInput.types-TfkrphC7.js.map} +1 -1
  119. package/dist/chunks/pinInput.types-a0_2OLBO.js +2 -0
  120. package/dist/chunks/{pinInput.types-B-RchRm_.js.map → pinInput.types-a0_2OLBO.js.map} +1 -1
  121. package/dist/chunks/portal-CtkZ5xTm.js +3087 -0
  122. package/dist/chunks/portal-CtkZ5xTm.js.map +1 -0
  123. package/dist/chunks/portal-kmAjRmaV.js +22 -0
  124. package/dist/chunks/portal-kmAjRmaV.js.map +1 -0
  125. package/dist/chunks/{radio.records-D7VFHW-s.js → radio.records-DBS_lqNe.js} +9 -9
  126. package/dist/chunks/{radio.records-D7VFHW-s.js.map → radio.records-DBS_lqNe.js.map} +1 -1
  127. package/dist/chunks/radio.records-zKzNxtns.js +2 -0
  128. package/dist/chunks/{radio.records-DLffZyeq.js.map → radio.records-zKzNxtns.js.map} +1 -1
  129. package/dist/chunks/{radioGroup.component-DVsMiHFI.js → radioGroup.component-DBLLIgCZ.js} +17 -17
  130. package/dist/chunks/{radioGroup.component-DVsMiHFI.js.map → radioGroup.component-DBLLIgCZ.js.map} +1 -1
  131. package/dist/chunks/radioGroup.component-fpo_KMOY.js +2 -0
  132. package/dist/chunks/{radioGroup.component-CZwrCppd.js.map → radioGroup.component-fpo_KMOY.js.map} +1 -1
  133. package/dist/chunks/{ratingDots.component-1U-hoEpC.js → ratingDots.component-DG2nCpxT.js} +5 -5
  134. package/dist/chunks/{ratingDots.component-1U-hoEpC.js.map → ratingDots.component-DG2nCpxT.js.map} +1 -1
  135. package/dist/chunks/ratingDots.component-DJEDUD_9.js +2 -0
  136. package/dist/chunks/{ratingDots.component-qbroWQhZ.js.map → ratingDots.component-DJEDUD_9.js.map} +1 -1
  137. package/dist/chunks/render-strategy-C80bGq2n.js +2 -0
  138. package/dist/chunks/{render-strategy-BmWbSgqh.js.map → render-strategy-C80bGq2n.js.map} +1 -1
  139. package/dist/chunks/{render-strategy-C8hwN3bm.js → render-strategy-DN75XQJB.js} +2 -2
  140. package/dist/chunks/{render-strategy-C8hwN3bm.js.map → render-strategy-DN75XQJB.js.map} +1 -1
  141. package/dist/chunks/select.component-Bmop2_tX.js +2 -0
  142. package/dist/chunks/{select.component-C_Fs6Xeq.js.map → select.component-Bmop2_tX.js.map} +1 -1
  143. package/dist/chunks/{select.component-5vAzdrZa.js → select.component-DyXwbDeO.js} +46 -46
  144. package/dist/chunks/{select.component-5vAzdrZa.js.map → select.component-DyXwbDeO.js.map} +1 -1
  145. package/dist/chunks/{sortableList.component-BX3EvpRM.js → sortableList.component-CbZAQrKl.js} +4 -4
  146. package/dist/chunks/{sortableList.component-BX3EvpRM.js.map → sortableList.component-CbZAQrKl.js.map} +1 -1
  147. package/dist/chunks/{sortableList.component-B_O-YB3I.js → sortableList.component-b2t_K7ho.js} +2 -2
  148. package/dist/chunks/{sortableList.component-B_O-YB3I.js.map → sortableList.component-b2t_K7ho.js.map} +1 -1
  149. package/dist/chunks/{spinner.component-lHj69hIF.js → spinner.component-B1vU-FCd.js} +4 -4
  150. package/dist/chunks/{spinner.component-lHj69hIF.js.map → spinner.component-B1vU-FCd.js.map} +1 -1
  151. package/dist/chunks/spinner.component-CjQb7JjK.js +2 -0
  152. package/dist/chunks/{spinner.component-CzhcJOwX.js.map → spinner.component-CjQb7JjK.js.map} +1 -1
  153. package/dist/chunks/{styledAvatar.types-BvHm6hKS.js → styledAvatar.types-D8VWyELN.js} +2 -2
  154. package/dist/chunks/{styledAvatar.types-BvHm6hKS.js.map → styledAvatar.types-D8VWyELN.js.map} +1 -1
  155. package/dist/chunks/{styledAvatar.types-B9SHiNfg.js → styledAvatar.types-DstfmllC.js} +2 -2
  156. package/dist/chunks/{styledAvatar.types-B9SHiNfg.js.map → styledAvatar.types-DstfmllC.js.map} +1 -1
  157. package/dist/chunks/switch.component-ARZzuYrq.js +2 -0
  158. package/dist/chunks/{switch.component-B3Gfgft9.js.map → switch.component-ARZzuYrq.js.map} +1 -1
  159. package/dist/chunks/{switch.component-DjOGsCIQ.js → switch.component-DO9fxk_-.js} +22 -22
  160. package/dist/chunks/{switch.component-DjOGsCIQ.js.map → switch.component-DO9fxk_-.js.map} +1 -1
  161. package/dist/chunks/{tabs.component-Ca9jVGv0.js → tabs.component-BWTDtLWN.js} +55 -55
  162. package/dist/chunks/{tabs.component-Ca9jVGv0.js.map → tabs.component-BWTDtLWN.js.map} +1 -1
  163. package/dist/chunks/tabs.component-DRpNF8p-.js +2 -0
  164. package/dist/chunks/{tabs.component-pl0kO5_M.js.map → tabs.component-DRpNF8p-.js.map} +1 -1
  165. package/dist/chunks/tagBlock.component-Bahf1v33.js +2 -0
  166. package/dist/chunks/{tagBlock.component-C2DAQrQE.js.map → tagBlock.component-Bahf1v33.js.map} +1 -1
  167. package/dist/chunks/{tagBlock.component-CnPbyaGH.js → tagBlock.component-C3BrjwNJ.js} +16 -17
  168. package/dist/chunks/{tagBlock.component-CnPbyaGH.js.map → tagBlock.component-C3BrjwNJ.js.map} +1 -1
  169. package/dist/chunks/textInput.component-DDo9eUvp.js +2 -0
  170. package/dist/chunks/{textInput.component-D-galjwy.js.map → textInput.component-DDo9eUvp.js.map} +1 -1
  171. package/dist/chunks/{textInput.component-DXtEgbkr.js → textInput.component-LPGbDHwZ.js} +14 -14
  172. package/dist/chunks/{textInput.component-DXtEgbkr.js.map → textInput.component-LPGbDHwZ.js.map} +1 -1
  173. package/dist/chunks/textarea.component-5Ou5g_MJ.js +2 -0
  174. package/dist/chunks/{textarea.component-DmxMuMCU.js.map → textarea.component-5Ou5g_MJ.js.map} +1 -1
  175. package/dist/chunks/{textarea.component-Do0zHf-1.js → textarea.component-ClYqhTJX.js} +12 -12
  176. package/dist/chunks/{textarea.component-Do0zHf-1.js.map → textarea.component-ClYqhTJX.js.map} +1 -1
  177. package/dist/chunks/theme.provider-DWJTtjw5.js +26 -0
  178. package/dist/chunks/theme.provider-DWJTtjw5.js.map +1 -0
  179. package/dist/chunks/{theme.provider-Dj4pZ815.js → theme.provider-vZgSb-q5.js} +1827 -1699
  180. package/dist/chunks/theme.provider-vZgSb-q5.js.map +1 -0
  181. package/dist/chunks/{timePicker.component-DTs3MjOx.js → timePicker.component-AgnrqtFu.js} +4 -4
  182. package/dist/chunks/{timePicker.component-DTs3MjOx.js.map → timePicker.component-AgnrqtFu.js.map} +1 -1
  183. package/dist/chunks/{timePicker.component-CophNE3d.js → timePicker.component-Bx0fHgrN.js} +2 -2
  184. package/dist/chunks/{timePicker.component-CophNE3d.js.map → timePicker.component-Bx0fHgrN.js.map} +1 -1
  185. package/dist/chunks/{timeRange.component-C5wSyUiZ.js → timeRange.component-B3Nv-nLB.js} +2 -2
  186. package/dist/chunks/{timeRange.component-C5wSyUiZ.js.map → timeRange.component-B3Nv-nLB.js.map} +1 -1
  187. package/dist/chunks/{timeRange.component-C5dt8sZn.js → timeRange.component-C14RiUcS.js} +2 -2
  188. package/dist/chunks/{timeRange.component-C5dt8sZn.js.map → timeRange.component-C14RiUcS.js.map} +1 -1
  189. package/dist/chunks/timestamp.component-DEx0cUkA.js +2 -0
  190. package/dist/chunks/{timestamp.component-rTLrzBPA.js.map → timestamp.component-DEx0cUkA.js.map} +1 -1
  191. package/dist/chunks/timestamp.component-Kxi_bKp1.js +53 -0
  192. package/dist/chunks/{timestamp.component-BPU8bf7p.js.map → timestamp.component-Kxi_bKp1.js.map} +1 -1
  193. package/dist/chunks/toaster.records-CGym-iT-.js +2 -0
  194. package/dist/chunks/{toaster.records-BJo0j1IZ.js.map → toaster.records-CGym-iT-.js.map} +1 -1
  195. package/dist/chunks/{toaster.records-BGfpUOVt.js → toaster.records-CKeu_PyD.js} +21 -22
  196. package/dist/chunks/{toaster.records-BGfpUOVt.js.map → toaster.records-CKeu_PyD.js.map} +1 -1
  197. package/dist/chunks/{typography.records-C6G_65b4.js → typography.records-BeoK0Uyj.js} +2 -2
  198. package/dist/chunks/{typography.records-C6G_65b4.js.map → typography.records-BeoK0Uyj.js.map} +1 -1
  199. package/dist/chunks/{typography.records-jnjWfTLS.js → typography.records-XkUlmiSk.js} +2 -2
  200. package/dist/chunks/{typography.records-jnjWfTLS.js.map → typography.records-XkUlmiSk.js.map} +1 -1
  201. package/dist/chunks/{use-field-context-B_G7Yziz.js → use-field-context-1gfMkjvo.js} +2 -2
  202. package/dist/chunks/{use-field-context-B_G7Yziz.js.map → use-field-context-1gfMkjvo.js.map} +1 -1
  203. package/dist/chunks/use-field-context-DnTe9gdc.js +2 -0
  204. package/dist/chunks/{use-field-context--wBJQY1R.js.map → use-field-context-DnTe9gdc.js.map} +1 -1
  205. package/dist/chunks/{withFormControl-BDuV97Vb.js → withFormControl-DfqMqkSU.js} +39 -39
  206. package/dist/chunks/{withFormControl-BDuV97Vb.js.map → withFormControl-DfqMqkSU.js.map} +1 -1
  207. package/dist/chunks/withFormControl-kyGjRFza.js +2 -0
  208. package/dist/chunks/{withFormControl-DpytztWF.js.map → withFormControl-kyGjRFza.js.map} +1 -1
  209. package/dist/cjs/chakra/index.cjs +1 -1
  210. package/dist/cjs/chakra/index.cjs.map +1 -1
  211. package/dist/cjs/components/Alert/index.cjs +1 -1
  212. package/dist/cjs/components/Avatar/index.cjs +1 -1
  213. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  214. package/dist/cjs/components/Button/index.cjs +1 -1
  215. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  216. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  217. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  218. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  219. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  220. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  221. package/dist/cjs/components/Heading/index.cjs +1 -1
  222. package/dist/cjs/components/Icon/index.cjs +1 -1
  223. package/dist/cjs/components/Link/index.cjs +1 -1
  224. package/dist/cjs/components/Menu/index.cjs +1 -1
  225. package/dist/cjs/components/Modal/index.cjs +1 -1
  226. package/dist/cjs/components/PinInput/index.cjs +1 -1
  227. package/dist/cjs/components/Popover/index.cjs +1 -1
  228. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  229. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  230. package/dist/cjs/components/Select/index.cjs +1 -1
  231. package/dist/cjs/components/SortableList/index.cjs +1 -1
  232. package/dist/cjs/components/Spinner/index.cjs +1 -1
  233. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  234. package/dist/cjs/components/Switch/index.cjs +1 -1
  235. package/dist/cjs/components/Tabs/index.cjs +1 -1
  236. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  237. package/dist/cjs/components/Text/index.cjs +1 -1
  238. package/dist/cjs/components/TextInput/index.cjs +1 -1
  239. package/dist/cjs/components/Textarea/index.cjs +1 -1
  240. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  241. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  242. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  243. package/dist/cjs/components/Toast/index.cjs +1 -1
  244. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  245. package/dist/cjs/components/index.cjs +1 -1
  246. package/dist/cjs/index.cjs +1 -1
  247. package/dist/cjs/theme/index.cjs +1 -1
  248. package/dist/esm/chakra/index.js +146 -147
  249. package/dist/esm/chakra/index.js.map +1 -1
  250. package/dist/esm/components/Alert/index.js +1 -1
  251. package/dist/esm/components/Avatar/index.js +1 -1
  252. package/dist/esm/components/AvatarGroup/index.js +1 -1
  253. package/dist/esm/components/Button/index.js +1 -1
  254. package/dist/esm/components/ButtonGroup/index.js +1 -1
  255. package/dist/esm/components/CharacterCounter/index.js +1 -1
  256. package/dist/esm/components/Checkbox/index.js +1 -1
  257. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  258. package/dist/esm/components/ConversationCard/index.js +1 -1
  259. package/dist/esm/components/DatePicker/index.js +1 -1
  260. package/dist/esm/components/Heading/index.js +1 -1
  261. package/dist/esm/components/Icon/index.js +1 -1
  262. package/dist/esm/components/Link/index.js +1 -1
  263. package/dist/esm/components/Menu/index.js +1 -1
  264. package/dist/esm/components/Modal/index.js +1 -1
  265. package/dist/esm/components/PinInput/index.js +1 -1
  266. package/dist/esm/components/Popover/index.js +1 -1
  267. package/dist/esm/components/RadioGroup/index.js +1 -1
  268. package/dist/esm/components/RatingDots/index.js +1 -1
  269. package/dist/esm/components/Select/index.js +1 -1
  270. package/dist/esm/components/SortableList/index.js +1 -1
  271. package/dist/esm/components/Spinner/index.js +1 -1
  272. package/dist/esm/components/StyledAvatar/index.js +1 -1
  273. package/dist/esm/components/Switch/index.js +1 -1
  274. package/dist/esm/components/Tabs/index.js +1 -1
  275. package/dist/esm/components/TagBlock/index.js +1 -1
  276. package/dist/esm/components/Text/index.js +2 -2
  277. package/dist/esm/components/TextInput/index.js +1 -1
  278. package/dist/esm/components/Textarea/index.js +1 -1
  279. package/dist/esm/components/TimePicker/index.js +1 -1
  280. package/dist/esm/components/TimeRange/index.js +1 -1
  281. package/dist/esm/components/Timestamp/index.js +1 -1
  282. package/dist/esm/components/Toast/index.js +1 -1
  283. package/dist/esm/components/Tooltip/index.js +1 -1
  284. package/dist/esm/components/index.js +89 -92
  285. package/dist/esm/components/index.js.map +1 -1
  286. package/dist/esm/index.js +111 -114
  287. package/dist/esm/index.js.map +1 -1
  288. package/dist/esm/theme/index.js +1 -1
  289. package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
  290. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  291. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
  292. package/dist/types/components/Tooltip/tooltip.component.d.ts +5 -6
  293. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
  294. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -2
  295. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +11 -11
  296. package/package.json +1 -1
  297. package/dist/chunks/alert.types-BvnpOwve.js +0 -2
  298. package/dist/chunks/attr-BMs6szZx.js +0 -2
  299. package/dist/chunks/attr-BMs6szZx.js.map +0 -1
  300. package/dist/chunks/attr-sm10PXOd.js +0 -5
  301. package/dist/chunks/attr-sm10PXOd.js.map +0 -1
  302. package/dist/chunks/avatar.component-y7gTa1dV.js +0 -2
  303. package/dist/chunks/characterCounter.component-4T8NHb11.js +0 -2
  304. package/dist/chunks/checkbox.component-CFuJaYmY.js +0 -2
  305. package/dist/chunks/checkbox.records-B7refmmT.js +0 -2
  306. package/dist/chunks/conversationCard.component-CBrw3VnT.js +0 -2
  307. package/dist/chunks/datePicker.component-u52NQcza.js +0 -15
  308. package/dist/chunks/dialog-trigger-B5NK0lr-.js +0 -2
  309. package/dist/chunks/group-Cv7AQw1b.js +0 -2
  310. package/dist/chunks/heading.component-BXcyhAEU.js +0 -12
  311. package/dist/chunks/heading.component-BXcyhAEU.js.map +0 -1
  312. package/dist/chunks/heading.component-ZD_UVarx.js +0 -2
  313. package/dist/chunks/heading.component-ZD_UVarx.js.map +0 -1
  314. package/dist/chunks/icon-button-DTZOklQ9.js +0 -119
  315. package/dist/chunks/icon-button-DTZOklQ9.js.map +0 -1
  316. package/dist/chunks/icon-button-DtjZ-SdQ.js +0 -2
  317. package/dist/chunks/icon-button-DtjZ-SdQ.js.map +0 -1
  318. package/dist/chunks/icon.component-C0e0UGBw.js +0 -2
  319. package/dist/chunks/icon.component-C0e0UGBw.js.map +0 -1
  320. package/dist/chunks/icon.component-DGNCL1Yc.js +0 -42
  321. package/dist/chunks/icon.component-DGNCL1Yc.js.map +0 -1
  322. package/dist/chunks/index-BBZxmcrY.js +0 -2
  323. package/dist/chunks/index-BBZxmcrY.js.map +0 -1
  324. package/dist/chunks/index-BDnnTdaJ.js +0 -2
  325. package/dist/chunks/index-BGwwyukg.js +0 -2
  326. package/dist/chunks/index-BGwwyukg.js.map +0 -1
  327. package/dist/chunks/index-BNYygzo-.js +0 -376
  328. package/dist/chunks/index-BNYygzo-.js.map +0 -1
  329. package/dist/chunks/index-BYf7SZUC.js +0 -2
  330. package/dist/chunks/index-COoMV9Mh.js +0 -2
  331. package/dist/chunks/index-CYk-7wwG.js +0 -1018
  332. package/dist/chunks/index-CYk-7wwG.js.map +0 -1
  333. package/dist/chunks/index-CZ42b9rT.js +0 -3
  334. package/dist/chunks/index-CZ42b9rT.js.map +0 -1
  335. package/dist/chunks/index-CZz7hHWb.js +0 -2
  336. package/dist/chunks/index-CZz7hHWb.js.map +0 -1
  337. package/dist/chunks/index-DUHFrLMI.js +0 -389
  338. package/dist/chunks/index-DUHFrLMI.js.map +0 -1
  339. package/dist/chunks/index-Dyxhds_1.js +0 -2
  340. package/dist/chunks/index-MlhL0PDC.js +0 -2
  341. package/dist/chunks/index-UWtj4ULm.js +0 -8
  342. package/dist/chunks/index-ZaGEDS_0.js +0 -2
  343. package/dist/chunks/index-j7W9Hyzx.js +0 -322
  344. package/dist/chunks/index-j7W9Hyzx.js.map +0 -1
  345. package/dist/chunks/menu.component-CiZzHc2D.js +0 -2
  346. package/dist/chunks/modal.types-9-Bz6ybC.js +0 -2
  347. package/dist/chunks/pinInput.types-B-RchRm_.js +0 -2
  348. package/dist/chunks/popover-80QH8HEJ.js +0 -2
  349. package/dist/chunks/popover-80QH8HEJ.js.map +0 -1
  350. package/dist/chunks/popover-B9rNOU0g.js +0 -110
  351. package/dist/chunks/popover-B9rNOU0g.js.map +0 -1
  352. package/dist/chunks/popover-root-provider-CeLLpesI.js +0 -43
  353. package/dist/chunks/popover-root-provider-CeLLpesI.js.map +0 -1
  354. package/dist/chunks/popover-root-provider-DAMDDAHQ.js +0 -2
  355. package/dist/chunks/popover-root-provider-DAMDDAHQ.js.map +0 -1
  356. package/dist/chunks/popover.component-A8In7d2B.js +0 -2
  357. package/dist/chunks/popover.component-A8In7d2B.js.map +0 -1
  358. package/dist/chunks/popover.component-BR8W3Jb8.js +0 -322
  359. package/dist/chunks/popover.component-BR8W3Jb8.js.map +0 -1
  360. package/dist/chunks/popover.recipe--gMRcQTS.js +0 -479
  361. package/dist/chunks/popover.recipe--gMRcQTS.js.map +0 -1
  362. package/dist/chunks/popover.recipe-DLeyokHo.js +0 -2
  363. package/dist/chunks/popover.recipe-DLeyokHo.js.map +0 -1
  364. package/dist/chunks/radio.records-DLffZyeq.js +0 -2
  365. package/dist/chunks/radioGroup.component-CZwrCppd.js +0 -2
  366. package/dist/chunks/ratingDots.component-qbroWQhZ.js +0 -2
  367. package/dist/chunks/render-strategy-BmWbSgqh.js +0 -2
  368. package/dist/chunks/select.component-C_Fs6Xeq.js +0 -2
  369. package/dist/chunks/spinner-BWqSIW6m.js +0 -8
  370. package/dist/chunks/spinner-BWqSIW6m.js.map +0 -1
  371. package/dist/chunks/spinner-BnpL14kK.js +0 -2
  372. package/dist/chunks/spinner-BnpL14kK.js.map +0 -1
  373. package/dist/chunks/spinner.component-CzhcJOwX.js +0 -2
  374. package/dist/chunks/switch.component-B3Gfgft9.js +0 -2
  375. package/dist/chunks/tabs.component-pl0kO5_M.js +0 -2
  376. package/dist/chunks/tagBlock.component-C2DAQrQE.js +0 -2
  377. package/dist/chunks/text.component-CnnBhB3c.js +0 -2
  378. package/dist/chunks/text.component-CnnBhB3c.js.map +0 -1
  379. package/dist/chunks/text.component-Cpruo7MB.js +0 -12
  380. package/dist/chunks/text.component-Cpruo7MB.js.map +0 -1
  381. package/dist/chunks/textInput.component-D-galjwy.js +0 -2
  382. package/dist/chunks/textarea.component-DmxMuMCU.js +0 -2
  383. package/dist/chunks/theme.provider-CIJGn9Kh.js +0 -26
  384. package/dist/chunks/theme.provider-CIJGn9Kh.js.map +0 -1
  385. package/dist/chunks/theme.provider-Dj4pZ815.js.map +0 -1
  386. package/dist/chunks/timestamp.component-BPU8bf7p.js +0 -54
  387. package/dist/chunks/timestamp.component-rTLrzBPA.js +0 -2
  388. package/dist/chunks/toaster.records-BJo0j1IZ.js +0 -2
  389. package/dist/chunks/tooltip.component-CwrXAVEq.js +0 -2
  390. package/dist/chunks/tooltip.component-CwrXAVEq.js.map +0 -1
  391. package/dist/chunks/tooltip.component-DgOzrNG3.js +0 -758
  392. package/dist/chunks/tooltip.component-DgOzrNG3.js.map +0 -1
  393. package/dist/chunks/typography-Cqrokog3.js.map +0 -1
  394. package/dist/chunks/typography-CtiaGoJG.js +0 -2
  395. package/dist/chunks/typography-CtiaGoJG.js.map +0 -1
  396. package/dist/chunks/use-field-context--wBJQY1R.js +0 -2
  397. package/dist/chunks/use-locale-context-BdqHZ8L8.js +0 -22
  398. package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +0 -1
  399. package/dist/chunks/use-locale-context-D-agiW5E.js +0 -2301
  400. package/dist/chunks/use-locale-context-D-agiW5E.js.map +0 -1
  401. package/dist/chunks/withFormControl-DpytztWF.js +0 -2
  402. package/dist/chunks/withTruncation-DPbMF-jg.js +0 -2
  403. package/dist/chunks/withTruncation-DPbMF-jg.js.map +0 -1
  404. package/dist/chunks/withTruncation-DoQriKuH.js +0 -67
  405. package/dist/chunks/withTruncation-DoQriKuH.js.map +0 -1
@@ -1,758 +0,0 @@
1
- import { j as f } from "./jsx-runtime-C5mzlN2N.js";
2
- import { forwardRef as j, useId as Le, createContext as Se, useContext as De } from "react";
3
- import { c as Ae, f as R, u as ie, h as je, g as ee, d as Re, b as xe, i as Ve, j as Ie, k as _e, n as Fe, s as ae, l as le, m as ce, P as Ne } from "./use-locale-context-D-agiW5E.js";
4
- import { c as Ke } from "./create-slot-recipe-context-BJmsuxih.js";
5
- import { Y as E, Z as A, a2 as Z, au as $e, D as de, av as We, c as Be, y as ze, R as B, aw as Ge, b as qe, d as He, m as Ue } from "./index-CYk-7wwG.js";
6
- const [pe, x] = Ae({
7
- name: "TooltipContext",
8
- hookName: "useTooltipContext",
9
- providerName: "<TooltipProvider />"
10
- }), ue = j((e, t) => {
11
- const o = x(), n = E(o.getArrowProps(), e);
12
- return /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
13
- });
14
- ue.displayName = "TooltipArrow";
15
- const fe = j((e, t) => {
16
- const o = x(), n = E(o.getArrowTipProps(), e);
17
- return /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
18
- });
19
- fe.displayName = "TooltipArrowTip";
20
- const ge = j((e, t) => {
21
- const o = x(), n = ie(), r = E(o.getContentProps(), n.getPresenceProps(), e);
22
- return n.unmounted ? null : /* @__PURE__ */ f.jsx(R.div, { ...r, ref: je(n.ref, t) });
23
- });
24
- ge.displayName = "TooltipContent";
25
- const ve = j((e, t) => {
26
- const o = x(), n = E(o.getPositionerProps(), e);
27
- return ie().unmounted ? null : /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
28
- });
29
- ve.displayName = "TooltipPositioner";
30
- function Ye(e) {
31
- return !(e.metaKey || !We() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
32
- }
33
- var Ze = /* @__PURE__ */ new Set(["checkbox", "radio", "range", "color", "file", "image", "button", "submit", "reset"]);
34
- function Je(e, t, o) {
35
- const n = o ? de(o) : null, r = A(n);
36
- return e = e || n instanceof r.HTMLInputElement && !Ze.has(n?.type) || n instanceof r.HTMLTextAreaElement || n instanceof r.HTMLElement && n.isContentEditable, !(e && t === "keyboard" && o instanceof r.KeyboardEvent && !Reflect.has(Qe, o.key));
37
- }
38
- var T = null, G = /* @__PURE__ */ new Set(), D = /* @__PURE__ */ new Map(), k = !1, q = !1, Qe = {
39
- Tab: !0,
40
- Escape: !0
41
- };
42
- function $(e, t) {
43
- for (let o of G)
44
- o(e, t);
45
- }
46
- function N(e) {
47
- k = !0, Ye(e) && (T = "keyboard", $("keyboard", e));
48
- }
49
- function P(e) {
50
- T = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (k = !0, $("pointer", e));
51
- }
52
- function ye(e) {
53
- $e(e) && (k = !0, T = "virtual");
54
- }
55
- function me(e) {
56
- const t = de(e);
57
- t === A(t) || t === Z(t) || (!k && !q && (T = "virtual", $("virtual", e)), k = !1, q = !1);
58
- }
59
- function Pe() {
60
- k = !1, q = !0;
61
- }
62
- function Xe(e) {
63
- if (typeof window > "u" || D.get(A(e)))
64
- return;
65
- const t = A(e), o = Z(e);
66
- let n = t.HTMLElement.prototype.focus;
67
- t.HTMLElement.prototype.focus = function() {
68
- T = "virtual", $("virtual", null), k = !0, n.apply(this, arguments);
69
- }, o.addEventListener("keydown", N, !0), o.addEventListener("keyup", N, !0), o.addEventListener("click", ye, !0), t.addEventListener("focus", me, !0), t.addEventListener("blur", Pe, !1), typeof t.PointerEvent < "u" ? (o.addEventListener("pointerdown", P, !0), o.addEventListener("pointermove", P, !0), o.addEventListener("pointerup", P, !0)) : (o.addEventListener("mousedown", P, !0), o.addEventListener("mousemove", P, !0), o.addEventListener("mouseup", P, !0)), t.addEventListener(
70
- "beforeunload",
71
- () => {
72
- et(e);
73
- },
74
- { once: !0 }
75
- ), D.set(t, { focus: n });
76
- }
77
- var et = (e, t) => {
78
- const o = A(e), n = Z(e);
79
- D.has(o) && (o.HTMLElement.prototype.focus = D.get(o).focus, n.removeEventListener("keydown", N, !0), n.removeEventListener("keyup", N, !0), n.removeEventListener("click", ye, !0), o.removeEventListener("focus", me, !0), o.removeEventListener("blur", Pe, !1), typeof o.PointerEvent < "u" ? (n.removeEventListener("pointerdown", P, !0), n.removeEventListener("pointermove", P, !0), n.removeEventListener("pointerup", P, !0)) : (n.removeEventListener("mousedown", P, !0), n.removeEventListener("mousemove", P, !0), n.removeEventListener("mouseup", P, !0)), D.delete(o));
80
- };
81
- function H() {
82
- return T === "keyboard";
83
- }
84
- function tt(e = {}) {
85
- const { isTextInput: t, autoFocus: o, onChange: n, root: r } = e;
86
- Xe(r), n?.({ isFocusVisible: o || H(), modality: T });
87
- const c = (p, a) => {
88
- Je(!!t, p, a) && n?.({ isFocusVisible: H(), modality: p });
89
- };
90
- return G.add(c), () => {
91
- G.delete(c);
92
- };
93
- }
94
- const ot = Symbol(), te = Object.getPrototypeOf, U = /* @__PURE__ */ new WeakMap(), nt = (e) => e && (U.has(e) ? U.get(e) : te(e) === Object.prototype || te(e) === Array.prototype), rt = (e) => nt(e) && e[ot] || null, oe = (e, t = !0) => {
95
- U.set(e, t);
96
- };
97
- function st() {
98
- if (typeof globalThis < "u") return globalThis;
99
- if (typeof self < "u") return self;
100
- if (typeof window < "u") return window;
101
- if (typeof global < "u") return global;
102
- }
103
- function Oe(e, t) {
104
- const o = st();
105
- return o ? (o[e] || (o[e] = t()), o[e]) : t();
106
- }
107
- var F = Oe("__zag__refSet", () => /* @__PURE__ */ new WeakSet()), it = (e) => typeof e == "object" && e !== null && "$$typeof" in e && "props" in e, at = (e) => typeof e == "object" && e !== null && "__v_isVNode" in e, lt = (e) => typeof e == "object" && e !== null && "nodeType" in e && typeof e.nodeName == "string", ct = (e) => it(e) || at(e) || lt(e), Y = (e) => e !== null && typeof e == "object", ne = (e) => Y(e) && !F.has(e) && (Array.isArray(e) || !(Symbol.iterator in e)) && !ct(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), K = () => process.env.NODE_ENV !== "production", b = Oe("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap()), dt = (e = Object.is, t = (a, v) => new Proxy(a, v), o = /* @__PURE__ */ new WeakMap(), n = (a, v) => {
108
- const y = o.get(a);
109
- if (y?.[0] === v)
110
- return y[1];
111
- const u = Array.isArray(a) ? [] : Object.create(Object.getPrototypeOf(a));
112
- return oe(u, !0), o.set(a, [v, u]), Reflect.ownKeys(a).forEach((O) => {
113
- const m = Reflect.get(a, O);
114
- F.has(m) ? (oe(m, !1), u[O] = m) : b.has(m) ? u[O] = ft(m) : u[O] = m;
115
- }), Object.freeze(u);
116
- }, r = /* @__PURE__ */ new WeakMap(), c = [1, 1], p = (a) => {
117
- if (!Y(a))
118
- throw new Error("object required");
119
- const v = r.get(a);
120
- if (v)
121
- return v;
122
- let y = c[0];
123
- const u = /* @__PURE__ */ new Set(), O = (i, s = ++c[0]) => {
124
- y !== s && (y = s, u.forEach((l) => l(i, s)));
125
- };
126
- let m = c[1];
127
- const w = (i = ++c[1]) => (m !== i && !u.size && (m = i, d.forEach(([s]) => {
128
- const l = s[1](i);
129
- l > y && (y = l);
130
- })), y), C = (i) => (s, l) => {
131
- const g = [...s];
132
- g[1] = [i, ...g[1]], O(g, l);
133
- }, d = /* @__PURE__ */ new Map(), J = (i, s) => {
134
- if (K() && d.has(i))
135
- throw new Error("prop listener already exists");
136
- if (u.size) {
137
- const l = s[3](C(i));
138
- d.set(i, [s, l]);
139
- } else
140
- d.set(i, [s]);
141
- }, Q = (i) => {
142
- const s = d.get(i);
143
- s && (d.delete(i), s[1]?.());
144
- }, Ce = (i) => (u.add(i), u.size === 1 && d.forEach(([l, g], M) => {
145
- if (K() && g)
146
- throw new Error("remove already exists");
147
- const L = l[3](C(M));
148
- d.set(M, [l, L]);
149
- }), () => {
150
- u.delete(i), u.size === 0 && d.forEach(([l, g], M) => {
151
- g && (g(), d.set(M, [l]));
152
- });
153
- }), W = Array.isArray(a) ? [] : Object.create(Object.getPrototypeOf(a)), I = t(W, {
154
- deleteProperty(i, s) {
155
- const l = Reflect.get(i, s);
156
- Q(s);
157
- const g = Reflect.deleteProperty(i, s);
158
- return g && O(["delete", [s], l]), g;
159
- },
160
- set(i, s, l, g) {
161
- const M = Reflect.has(i, s), L = Reflect.get(i, s, g);
162
- if (M && (e(L, l) || r.has(l) && e(L, r.get(l))))
163
- return !0;
164
- Q(s), Y(l) && (l = rt(l) || l);
165
- let _ = l;
166
- if (!Object.getOwnPropertyDescriptor(i, s)?.set) {
167
- !b.has(l) && ne(l) && (_ = we(l));
168
- const X = !F.has(_) && b.get(_);
169
- X && J(s, X);
170
- }
171
- return Reflect.set(i, s, _, g), O(["set", [s], l, L]), !0;
172
- }
173
- });
174
- r.set(a, I);
175
- const Me = [W, w, n, Ce];
176
- return b.set(I, Me), Reflect.ownKeys(a).forEach((i) => {
177
- const s = Object.getOwnPropertyDescriptor(a, i);
178
- s.get || s.set ? Object.defineProperty(W, i, s) : I[i] = a[i];
179
- }), I;
180
- }) => [
181
- // public functions
182
- p,
183
- // shared state
184
- b,
185
- F,
186
- // internal things
187
- e,
188
- t,
189
- ne,
190
- o,
191
- n,
192
- r,
193
- c
194
- ], [pt] = dt();
195
- function we(e = {}) {
196
- return pt(e);
197
- }
198
- function ut(e, t, o) {
199
- const n = b.get(e);
200
- K() && !n && console.warn("Please use proxy object");
201
- let r;
202
- const c = [], p = n[3];
203
- let a = !1;
204
- const y = p((u) => {
205
- c.push(u), r || (r = Promise.resolve().then(() => {
206
- r = void 0, a && t(c.splice(0));
207
- }));
208
- });
209
- return a = !0, () => {
210
- a = !1, y();
211
- };
212
- }
213
- function ft(e) {
214
- const t = b.get(e);
215
- K() && !t && console.warn("Please use proxy object");
216
- const [o, n, r] = t;
217
- return r(o, n());
218
- }
219
- var gt = qe("tooltip").parts("trigger", "arrow", "arrowTip", "positioner", "content"), S = gt.build(), he = (e) => e.ids?.trigger ?? `tooltip:${e.id}:trigger`, vt = (e) => e.ids?.content ?? `tooltip:${e.id}:content`, yt = (e) => e.ids?.arrow ?? `tooltip:${e.id}:arrow`, be = (e) => e.ids?.positioner ?? `tooltip:${e.id}:popper`, z = (e) => e.getById(he(e)), re = (e) => e.getById(be(e)), h = we({ id: null });
220
- function mt(e, t) {
221
- const { state: o, context: n, send: r, scope: c, prop: p, event: a } = e, v = p("id"), y = !!p("aria-label"), u = o.matches("open", "closing"), O = he(c), m = vt(c), w = p("disabled"), C = Re({
222
- ...p("positioning"),
223
- placement: n.get("currentPlacement")
224
- });
225
- return {
226
- open: u,
227
- setOpen(d) {
228
- o.matches("open", "closing") !== d && r({ type: d ? "open" : "close" });
229
- },
230
- reposition(d = {}) {
231
- r({ type: "positioning.set", options: d });
232
- },
233
- getTriggerProps() {
234
- return t.button({
235
- ...S.trigger.attrs,
236
- id: O,
237
- dir: p("dir"),
238
- "data-expanded": He(u),
239
- "data-state": u ? "open" : "closed",
240
- "aria-describedby": u ? m : void 0,
241
- onClick(d) {
242
- d.defaultPrevented || w || p("closeOnClick") && r({ type: "close", src: "trigger.click" });
243
- },
244
- onFocus(d) {
245
- queueMicrotask(() => {
246
- d.defaultPrevented || w || a.src !== "trigger.pointerdown" && H() && r({ type: "open", src: "trigger.focus" });
247
- });
248
- },
249
- onBlur(d) {
250
- d.defaultPrevented || w || v === h.id && r({ type: "close", src: "trigger.blur" });
251
- },
252
- onPointerDown(d) {
253
- d.defaultPrevented || w || p("closeOnPointerDown") && v === h.id && r({ type: "close", src: "trigger.pointerdown" });
254
- },
255
- onPointerMove(d) {
256
- d.defaultPrevented || w || d.pointerType !== "touch" && r({ type: "pointer.move" });
257
- },
258
- onPointerLeave() {
259
- w || r({ type: "pointer.leave" });
260
- },
261
- onPointerCancel() {
262
- w || r({ type: "pointer.leave" });
263
- }
264
- });
265
- },
266
- getArrowProps() {
267
- return t.element({
268
- id: yt(c),
269
- ...S.arrow.attrs,
270
- dir: p("dir"),
271
- style: C.arrow
272
- });
273
- },
274
- getArrowTipProps() {
275
- return t.element({
276
- ...S.arrowTip.attrs,
277
- dir: p("dir"),
278
- style: C.arrowTip
279
- });
280
- },
281
- getPositionerProps() {
282
- return t.element({
283
- id: be(c),
284
- ...S.positioner.attrs,
285
- dir: p("dir"),
286
- style: C.floating
287
- });
288
- },
289
- getContentProps() {
290
- return t.element({
291
- ...S.content.attrs,
292
- dir: p("dir"),
293
- hidden: !u,
294
- "data-state": u ? "open" : "closed",
295
- role: y ? void 0 : "tooltip",
296
- id: y ? void 0 : m,
297
- "data-placement": n.get("currentPlacement"),
298
- onPointerEnter() {
299
- r({ type: "content.pointer.move" });
300
- },
301
- onPointerLeave() {
302
- r({ type: "content.pointer.leave" });
303
- },
304
- style: {
305
- pointerEvents: p("interactive") ? "auto" : "none"
306
- }
307
- });
308
- }
309
- };
310
- }
311
- var { and: Pt, not: se } = ze(), Ot = Be({
312
- initialState: ({ prop: e }) => e("open") || e("defaultOpen") ? "open" : "closed",
313
- props({ props: e }) {
314
- return {
315
- id: "x",
316
- openDelay: 1e3,
317
- closeDelay: 500,
318
- closeOnPointerDown: !0,
319
- closeOnEscape: !0,
320
- interactive: !1,
321
- closeOnScroll: !0,
322
- closeOnClick: !0,
323
- disabled: !1,
324
- ...e,
325
- positioning: {
326
- placement: "bottom",
327
- ...e.positioning
328
- }
329
- };
330
- },
331
- effects: ["trackFocusVisible", "trackStore"],
332
- context: ({ bindable: e }) => ({
333
- currentPlacement: e(() => ({ defaultValue: void 0 })),
334
- hasPointerMoveOpened: e(() => ({ defaultValue: !1 }))
335
- }),
336
- watch({ track: e, action: t, prop: o }) {
337
- e([() => o("disabled")], () => {
338
- t(["closeIfDisabled"]);
339
- }), e([() => o("open")], () => {
340
- t(["toggleVisibility"]);
341
- });
342
- },
343
- states: {
344
- closed: {
345
- entry: ["clearGlobalId"],
346
- on: {
347
- "controlled.open": {
348
- target: "open"
349
- },
350
- open: [
351
- {
352
- guard: "isOpenControlled",
353
- actions: ["invokeOnOpen"]
354
- },
355
- {
356
- target: "open",
357
- actions: ["invokeOnOpen"]
358
- }
359
- ],
360
- "pointer.leave": {
361
- actions: ["clearPointerMoveOpened"]
362
- },
363
- "pointer.move": [
364
- {
365
- guard: Pt("noVisibleTooltip", se("hasPointerMoveOpened")),
366
- target: "opening"
367
- },
368
- {
369
- guard: se("hasPointerMoveOpened"),
370
- target: "open",
371
- actions: ["setPointerMoveOpened", "invokeOnOpen"]
372
- }
373
- ]
374
- }
375
- },
376
- opening: {
377
- effects: ["trackScroll", "trackPointerlockChange", "waitForOpenDelay"],
378
- on: {
379
- "after.openDelay": [
380
- {
381
- guard: "isOpenControlled",
382
- actions: ["setPointerMoveOpened", "invokeOnOpen"]
383
- },
384
- {
385
- target: "open",
386
- actions: ["setPointerMoveOpened", "invokeOnOpen"]
387
- }
388
- ],
389
- "controlled.open": {
390
- target: "open"
391
- },
392
- "controlled.close": {
393
- target: "closed"
394
- },
395
- open: [
396
- {
397
- guard: "isOpenControlled",
398
- actions: ["invokeOnOpen"]
399
- },
400
- {
401
- target: "open",
402
- actions: ["invokeOnOpen"]
403
- }
404
- ],
405
- "pointer.leave": [
406
- {
407
- guard: "isOpenControlled",
408
- // We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
409
- actions: ["clearPointerMoveOpened", "invokeOnClose", "toggleVisibility"]
410
- },
411
- {
412
- target: "closed",
413
- actions: ["clearPointerMoveOpened", "invokeOnClose"]
414
- }
415
- ],
416
- close: [
417
- {
418
- guard: "isOpenControlled",
419
- // We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
420
- actions: ["invokeOnClose", "toggleVisibility"]
421
- },
422
- {
423
- target: "closed",
424
- actions: ["invokeOnClose"]
425
- }
426
- ]
427
- }
428
- },
429
- open: {
430
- effects: ["trackEscapeKey", "trackScroll", "trackPointerlockChange", "trackPositioning"],
431
- entry: ["setGlobalId"],
432
- on: {
433
- "controlled.close": {
434
- target: "closed"
435
- },
436
- close: [
437
- {
438
- guard: "isOpenControlled",
439
- actions: ["invokeOnClose"]
440
- },
441
- {
442
- target: "closed",
443
- actions: ["invokeOnClose"]
444
- }
445
- ],
446
- "pointer.leave": [
447
- {
448
- guard: "isVisible",
449
- target: "closing",
450
- actions: ["clearPointerMoveOpened"]
451
- },
452
- // == group ==
453
- {
454
- guard: "isOpenControlled",
455
- actions: ["clearPointerMoveOpened", "invokeOnClose"]
456
- },
457
- {
458
- target: "closed",
459
- actions: ["clearPointerMoveOpened", "invokeOnClose"]
460
- }
461
- ],
462
- "content.pointer.leave": {
463
- guard: "isInteractive",
464
- target: "closing"
465
- },
466
- "positioning.set": {
467
- actions: ["reposition"]
468
- }
469
- }
470
- },
471
- closing: {
472
- effects: ["trackPositioning", "waitForCloseDelay"],
473
- on: {
474
- "after.closeDelay": [
475
- {
476
- guard: "isOpenControlled",
477
- actions: ["invokeOnClose"]
478
- },
479
- {
480
- target: "closed",
481
- actions: ["invokeOnClose"]
482
- }
483
- ],
484
- "controlled.close": {
485
- target: "closed"
486
- },
487
- "controlled.open": {
488
- target: "open"
489
- },
490
- close: [
491
- {
492
- guard: "isOpenControlled",
493
- actions: ["invokeOnClose"]
494
- },
495
- {
496
- target: "closed",
497
- actions: ["invokeOnClose"]
498
- }
499
- ],
500
- "pointer.move": [
501
- {
502
- guard: "isOpenControlled",
503
- // We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
504
- actions: ["setPointerMoveOpened", "invokeOnOpen", "toggleVisibility"]
505
- },
506
- {
507
- target: "open",
508
- actions: ["setPointerMoveOpened", "invokeOnOpen"]
509
- }
510
- ],
511
- "content.pointer.move": {
512
- guard: "isInteractive",
513
- target: "open"
514
- },
515
- "positioning.set": {
516
- actions: ["reposition"]
517
- }
518
- }
519
- }
520
- },
521
- implementations: {
522
- guards: {
523
- noVisibleTooltip: () => h.id === null,
524
- isVisible: ({ prop: e }) => e("id") === h.id,
525
- isInteractive: ({ prop: e }) => !!e("interactive"),
526
- hasPointerMoveOpened: ({ context: e }) => e.get("hasPointerMoveOpened"),
527
- isOpenControlled: ({ prop: e }) => e("open") !== void 0
528
- },
529
- actions: {
530
- setGlobalId: ({ prop: e }) => {
531
- h.id = e("id");
532
- },
533
- clearGlobalId: ({ prop: e }) => {
534
- e("id") === h.id && (h.id = null);
535
- },
536
- invokeOnOpen: ({ prop: e }) => {
537
- e("onOpenChange")?.({ open: !0 });
538
- },
539
- invokeOnClose: ({ prop: e }) => {
540
- e("onOpenChange")?.({ open: !1 });
541
- },
542
- closeIfDisabled: ({ prop: e, send: t }) => {
543
- e("disabled") && t({ type: "close", src: "disabled.change" });
544
- },
545
- reposition: ({ context: e, event: t, prop: o, scope: n }) => {
546
- if (t.type !== "positioning.set") return;
547
- const r = () => re(n);
548
- return ee(z(n), r, {
549
- ...o("positioning"),
550
- ...t.options,
551
- defer: !0,
552
- listeners: !1,
553
- onComplete(c) {
554
- e.set("currentPlacement", c.placement);
555
- }
556
- });
557
- },
558
- toggleVisibility: ({ prop: e, event: t, send: o }) => {
559
- queueMicrotask(() => {
560
- o({
561
- type: e("open") ? "controlled.open" : "controlled.close",
562
- previousEvent: t
563
- });
564
- });
565
- },
566
- setPointerMoveOpened: ({ context: e }) => {
567
- e.set("hasPointerMoveOpened", !0);
568
- },
569
- clearPointerMoveOpened: ({ context: e }) => {
570
- e.set("hasPointerMoveOpened", !1);
571
- }
572
- },
573
- effects: {
574
- trackFocusVisible: ({ scope: e }) => tt({ root: e.getRootNode?.() }),
575
- trackPositioning: ({ context: e, prop: t, scope: o }) => {
576
- e.get("currentPlacement") || e.set("currentPlacement", t("positioning").placement);
577
- const n = () => re(o);
578
- return ee(z(o), n, {
579
- ...t("positioning"),
580
- defer: !0,
581
- onComplete(r) {
582
- e.set("currentPlacement", r.placement);
583
- }
584
- });
585
- },
586
- trackPointerlockChange: ({ send: e, scope: t }) => {
587
- const o = t.getDoc();
588
- return B(o, "pointerlockchange", () => e({ type: "close", src: "pointerlock:change" }), !1);
589
- },
590
- trackScroll: ({ send: e, prop: t, scope: o }) => {
591
- if (!t("closeOnScroll")) return;
592
- const n = z(o);
593
- if (!n) return;
594
- const c = Ge(n).map((p) => B(p, "scroll", () => {
595
- e({ type: "close", src: "scroll" });
596
- }, {
597
- passive: !0,
598
- capture: !0
599
- }));
600
- return () => {
601
- c.forEach((p) => p?.());
602
- };
603
- },
604
- trackStore: ({ prop: e, send: t }) => {
605
- let o;
606
- return queueMicrotask(() => {
607
- o = ut(h, () => {
608
- h.id !== e("id") && t({ type: "close", src: "id.change" });
609
- });
610
- }), () => o?.();
611
- },
612
- trackEscapeKey: ({ send: e, prop: t }) => t("closeOnEscape") ? B(document, "keydown", (n) => {
613
- Ue(n) || n.key === "Escape" && (n.stopPropagation(), e({ type: "close", src: "keydown.escape" }));
614
- }, !0) : void 0,
615
- waitForOpenDelay: ({ send: e, prop: t }) => {
616
- const o = setTimeout(() => {
617
- e({ type: "after.openDelay" });
618
- }, t("openDelay"));
619
- return () => clearTimeout(o);
620
- },
621
- waitForCloseDelay: ({ send: e, prop: t }) => {
622
- const o = setTimeout(() => {
623
- e({ type: "after.closeDelay" });
624
- }, t("closeDelay"));
625
- return () => clearTimeout(o);
626
- }
627
- }
628
- }
629
- });
630
- xe()([
631
- "aria-label",
632
- "closeDelay",
633
- "closeOnEscape",
634
- "closeOnPointerDown",
635
- "closeOnScroll",
636
- "closeOnClick",
637
- "dir",
638
- "disabled",
639
- "getRootNode",
640
- "id",
641
- "ids",
642
- "interactive",
643
- "onOpenChange",
644
- "defaultOpen",
645
- "open",
646
- "openDelay",
647
- "positioning"
648
- ]);
649
- const wt = (e) => {
650
- const t = Le(), { getRootNode: o } = Ve(), { dir: n } = Ie(), r = {
651
- id: t,
652
- dir: n,
653
- getRootNode: o,
654
- ...e
655
- }, c = _e(Ot, r);
656
- return mt(c, Fe);
657
- }, ht = (e) => {
658
- const [t, { children: o, ...n }] = ae(e), r = wt(n), c = le(E({ present: r.open }, t));
659
- return /* @__PURE__ */ f.jsx(pe, { value: r, children: /* @__PURE__ */ f.jsx(ce, { value: c, children: o }) });
660
- }, bt = (e) => {
661
- const [t, { value: o, children: n }] = ae(e), r = le(E({ present: o.open }, t));
662
- return /* @__PURE__ */ f.jsx(pe, { value: o, children: /* @__PURE__ */ f.jsx(ce, { value: r, children: n }) });
663
- }, ke = j((e, t) => {
664
- const o = x(), n = E(o.getTriggerProps(), e);
665
- return /* @__PURE__ */ f.jsx(R.button, { ...n, ref: t });
666
- });
667
- ke.displayName = "TooltipTrigger";
668
- const {
669
- withRootProvider: Ee,
670
- withContext: V
671
- } = Ke({ key: "tooltip" });
672
- Ee(
673
- bt
674
- );
675
- const kt = Ee(ht, {
676
- defaultProps: { lazyMount: !0, unmountOnExit: !0 }
677
- }), Et = V(ke, "trigger", { forwardAsChild: !0 }), Tt = V(ve, "positioner", { forwardAsChild: !0 }), Ct = V(
678
- ge,
679
- "content",
680
- { forwardAsChild: !0 }
681
- ), Te = V(fe, "arrowTip", { forwardAsChild: !0 }), Mt = V(
682
- ue,
683
- "arrow",
684
- { forwardAsChild: !0, defaultProps: { children: /* @__PURE__ */ f.jsx(Te, {}) } }
685
- ), Lt = Se(
686
- void 0
687
- ), St = () => {
688
- const e = De(Lt);
689
- return e === void 0 ? { contentRef: null } : e;
690
- }, Dt = ({
691
- children: e,
692
- disabled: t = !1,
693
- openDelay: o = 350,
694
- placement: n = "top",
695
- positioning: r,
696
- portalled: c = !0,
697
- label: p,
698
- ...a
699
- }) => {
700
- const { contentRef: v } = St();
701
- return e ? t ? /* @__PURE__ */ f.jsx(f.Fragment, { children: "children" }) : /* @__PURE__ */ f.jsxs(
702
- kt,
703
- {
704
- positioning: {
705
- ...r,
706
- placement: r?.placement || n
707
- },
708
- openDelay: o,
709
- ...a,
710
- children: [
711
- /* @__PURE__ */ f.jsx(
712
- Et,
713
- {
714
- asChild: !0,
715
- className: "Tooltip__Trigger",
716
- "data-testid": "kibble-tooltip-trigger",
717
- display: "inline-block",
718
- children: e
719
- }
720
- ),
721
- /* @__PURE__ */ f.jsx(Ne, { disabled: !c, container: v || void 0, children: /* @__PURE__ */ f.jsx(Tt, { className: "Tooltip", "data-testid": "kibble-tooltip", children: /* @__PURE__ */ f.jsxs(
722
- Ct,
723
- {
724
- className: "Tooltip__Content",
725
- "data-testid": "kibble-tooltip-content",
726
- fontSize: "sm",
727
- p: 2,
728
- color: "text.contrast",
729
- css: { "--tooltip-bg": "colors.background.overlay.contrast" },
730
- zIndex: "tooltipExtra",
731
- children: [
732
- /* @__PURE__ */ f.jsx(
733
- Mt,
734
- {
735
- className: "Tooltip__Arrow",
736
- "data-testid": "kibble-tooltip-arrow",
737
- css: { "--arrow-size": "10px" },
738
- children: /* @__PURE__ */ f.jsx(Te, {})
739
- }
740
- ),
741
- p
742
- ]
743
- }
744
- ) }) })
745
- ]
746
- }
747
- ) : /* @__PURE__ */ f.jsx(f.Fragment, {});
748
- };
749
- Dt.displayName = "Tooltip";
750
- export {
751
- Lt as M,
752
- Dt as T,
753
- gt as a,
754
- H as i,
755
- tt as t,
756
- St as u
757
- };
758
- //# sourceMappingURL=tooltip.component-DgOzrNG3.js.map