@televet/kibble-ui 4.0.0-beta.81 → 4.0.0-beta.82

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 (210) hide show
  1. package/dist/chunks/{alert.types-D3h-jPEx.js → alert.types-D-3T1zMb.js} +3 -3
  2. package/dist/chunks/{alert.types-D3h-jPEx.js.map → alert.types-D-3T1zMb.js.map} +1 -1
  3. package/dist/chunks/{alert.types-D1tC-hAf.js → alert.types-Fkq1_E-3.js} +2 -2
  4. package/dist/chunks/{alert.types-D1tC-hAf.js.map → alert.types-Fkq1_E-3.js.map} +1 -1
  5. package/dist/chunks/avatar.component-C9kUiMY7.js +2 -0
  6. package/dist/chunks/{avatar.component-59j9Mhq4.js.map → avatar.component-C9kUiMY7.js.map} +1 -1
  7. package/dist/chunks/{avatar.component-BAoXBJHg.js → avatar.component-DFefIlUE.js} +2 -2
  8. package/dist/chunks/{avatar.component-BAoXBJHg.js.map → avatar.component-DFefIlUE.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-Bfg1H2fR.js → avatarGroup.component-B8p1xC3D.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-Bfg1H2fR.js.map → avatarGroup.component-B8p1xC3D.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-DKpR1wMW.js → avatarGroup.component-D4H3sKfb.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-DKpR1wMW.js.map → avatarGroup.component-D4H3sKfb.js.map} +1 -1
  13. package/dist/chunks/{buttonGroup.component-D0itbXld.js → buttonGroup.component-BgsjtghM.js} +2 -2
  14. package/dist/chunks/{buttonGroup.component-D0itbXld.js.map → buttonGroup.component-BgsjtghM.js.map} +1 -1
  15. package/dist/chunks/{buttonGroup.component-CEmN60u2.js → buttonGroup.component-CMMVHI4v.js} +2 -2
  16. package/dist/chunks/{buttonGroup.component-CEmN60u2.js.map → buttonGroup.component-CMMVHI4v.js.map} +1 -1
  17. package/dist/chunks/{characterCounter.component-C9BUVUBm.js → characterCounter.component-Da1W5Crn.js} +2 -2
  18. package/dist/chunks/{characterCounter.component-C9BUVUBm.js.map → characterCounter.component-Da1W5Crn.js.map} +1 -1
  19. package/dist/chunks/{characterCounter.component-56VGll9h.js → characterCounter.component-VT8m1K12.js} +2 -2
  20. package/dist/chunks/{characterCounter.component-56VGll9h.js.map → characterCounter.component-VT8m1K12.js.map} +1 -1
  21. package/dist/chunks/{checkbox.component-DuH2lblm.js → checkbox.component-AcTeAzVW.js} +2 -2
  22. package/dist/chunks/{checkbox.component-DuH2lblm.js.map → checkbox.component-AcTeAzVW.js.map} +1 -1
  23. package/dist/chunks/{checkbox.component-Dw-QRKV7.js → checkbox.component-CMFZJnuD.js} +3 -3
  24. package/dist/chunks/{checkbox.component-Dw-QRKV7.js.map → checkbox.component-CMFZJnuD.js.map} +1 -1
  25. package/dist/chunks/{checkboxGroup.component-DismFliW.js → checkboxGroup.component-BWBTWbaC.js} +2 -2
  26. package/dist/chunks/{checkboxGroup.component-DismFliW.js.map → checkboxGroup.component-BWBTWbaC.js.map} +1 -1
  27. package/dist/chunks/{checkboxGroup.component-CN5sc3tH.js → checkboxGroup.component-BYyZqfgM.js} +3 -3
  28. package/dist/chunks/{checkboxGroup.component-CN5sc3tH.js.map → checkboxGroup.component-BYyZqfgM.js.map} +1 -1
  29. package/dist/chunks/conversationCard.component-PtZYdnE-.js +2 -0
  30. package/dist/chunks/{conversationCard.component-BJp9b-qZ.js.map → conversationCard.component-PtZYdnE-.js.map} +1 -1
  31. package/dist/chunks/{conversationCard.component-o2LijiGM.js → conversationCard.component-wm7Lpbwc.js} +15 -16
  32. package/dist/chunks/{conversationCard.component-o2LijiGM.js.map → conversationCard.component-wm7Lpbwc.js.map} +1 -1
  33. package/dist/chunks/{datePicker.component-Cetpt1nT.js → datePicker.component-M71Njnos.js} +4 -4
  34. package/dist/chunks/{datePicker.component-Cetpt1nT.js.map → datePicker.component-M71Njnos.js.map} +1 -1
  35. package/dist/chunks/{datePicker.component-Bf0dKn1T.js → datePicker.component-Q4Q7FQwl.js} +3 -3
  36. package/dist/chunks/{datePicker.component-Bf0dKn1T.js.map → datePicker.component-Q4Q7FQwl.js.map} +1 -1
  37. package/dist/chunks/{heading.component-1c_Ac7QM.js → heading.component-C6IbSCCN.js} +2 -2
  38. package/dist/chunks/{heading.component-1c_Ac7QM.js.map → heading.component-C6IbSCCN.js.map} +1 -1
  39. package/dist/chunks/{heading.component-N_-MAHsh.js → heading.component-CLeuZRZ3.js} +2 -2
  40. package/dist/chunks/{heading.component-N_-MAHsh.js.map → heading.component-CLeuZRZ3.js.map} +1 -1
  41. package/dist/chunks/{menu.component-BrzUNQgA.js → menu.component-BPD9FdbN.js} +2 -2
  42. package/dist/chunks/{menu.component-BrzUNQgA.js.map → menu.component-BPD9FdbN.js.map} +1 -1
  43. package/dist/chunks/{menu.component-B2W1izc1.js → menu.component-CKdbf8cV.js} +5 -5
  44. package/dist/chunks/{menu.component-B2W1izc1.js.map → menu.component-CKdbf8cV.js.map} +1 -1
  45. package/dist/chunks/{modal.types-BvR1ETR_.js → modal.types-CPdmvcA8.js} +2 -2
  46. package/dist/chunks/{modal.types-BvR1ETR_.js.map → modal.types-CPdmvcA8.js.map} +1 -1
  47. package/dist/chunks/{modal.types-D8O6CyYy.js → modal.types-XJffAUHT.js} +2 -2
  48. package/dist/chunks/{modal.types-D8O6CyYy.js.map → modal.types-XJffAUHT.js.map} +1 -1
  49. package/dist/chunks/{pinInput.types-C4IUpPcR.js → pinInput.types-BgecOsie.js} +2 -2
  50. package/dist/chunks/{pinInput.types-C4IUpPcR.js.map → pinInput.types-BgecOsie.js.map} +1 -1
  51. package/dist/chunks/{pinInput.types-BUEF4EWt.js → pinInput.types-DXmtwsDe.js} +2 -2
  52. package/dist/chunks/{pinInput.types-BUEF4EWt.js.map → pinInput.types-DXmtwsDe.js.map} +1 -1
  53. package/dist/chunks/{popover.component-B2F0gnKO.js → popover.component-Dj2hVIcn.js} +15 -16
  54. package/dist/chunks/{popover.component-B2F0gnKO.js.map → popover.component-Dj2hVIcn.js.map} +1 -1
  55. package/dist/chunks/popover.component-XAG_EQKh.js +2 -0
  56. package/dist/chunks/{popover.component-Bf1premS.js.map → popover.component-XAG_EQKh.js.map} +1 -1
  57. package/dist/chunks/{radioGroup.component-D-DzC9fJ.js → radioGroup.component-CTqkID3v.js} +2 -2
  58. package/dist/chunks/{radioGroup.component-D-DzC9fJ.js.map → radioGroup.component-CTqkID3v.js.map} +1 -1
  59. package/dist/chunks/{radioGroup.component-rmGXgmlj.js → radioGroup.component-CiVzjo7r.js} +4 -4
  60. package/dist/chunks/{radioGroup.component-rmGXgmlj.js.map → radioGroup.component-CiVzjo7r.js.map} +1 -1
  61. package/dist/chunks/{ratingDots.component-DPJW6mkU.js → ratingDots.component-B3T-LOsU.js} +3 -3
  62. package/dist/chunks/{ratingDots.component-DPJW6mkU.js.map → ratingDots.component-B3T-LOsU.js.map} +1 -1
  63. package/dist/chunks/{ratingDots.component-DrcYorhR.js → ratingDots.component-CZQqP6kr.js} +2 -2
  64. package/dist/chunks/{ratingDots.component-DrcYorhR.js.map → ratingDots.component-CZQqP6kr.js.map} +1 -1
  65. package/dist/chunks/{select.component-9laHgmD8.js → select.component-83JVgqUh.js} +2 -2
  66. package/dist/chunks/{select.component-9laHgmD8.js.map → select.component-83JVgqUh.js.map} +1 -1
  67. package/dist/chunks/{select.component-zUj7dNCd.js → select.component-B-Z8HCfk.js} +5 -5
  68. package/dist/chunks/{select.component-zUj7dNCd.js.map → select.component-B-Z8HCfk.js.map} +1 -1
  69. package/dist/chunks/{sortableList.component-jDFLd7Zu.js → sortableList.component-BezOn6lC.js} +3 -3
  70. package/dist/chunks/{sortableList.component-jDFLd7Zu.js.map → sortableList.component-BezOn6lC.js.map} +1 -1
  71. package/dist/chunks/{sortableList.component-DpQTfKOm.js → sortableList.component-DmIXsqZ6.js} +2 -2
  72. package/dist/chunks/{sortableList.component-DpQTfKOm.js.map → sortableList.component-DmIXsqZ6.js.map} +1 -1
  73. package/dist/chunks/{spinner.component-4mGO8at-.js → spinner.component-B8JvK7UJ.js} +2 -2
  74. package/dist/chunks/{spinner.component-4mGO8at-.js.map → spinner.component-B8JvK7UJ.js.map} +1 -1
  75. package/dist/chunks/{spinner.component-BjElijgU.js → spinner.component-CcGk0iRF.js} +2 -2
  76. package/dist/chunks/{spinner.component-BjElijgU.js.map → spinner.component-CcGk0iRF.js.map} +1 -1
  77. package/dist/chunks/{styledAvatar.types-Dwte4buR.js → styledAvatar.types-B1L3B7Vt.js} +2 -2
  78. package/dist/chunks/{styledAvatar.types-Dwte4buR.js.map → styledAvatar.types-B1L3B7Vt.js.map} +1 -1
  79. package/dist/chunks/{styledAvatar.types-7dRpC3BX.js → styledAvatar.types-DM3CCeK2.js} +2 -2
  80. package/dist/chunks/{styledAvatar.types-7dRpC3BX.js.map → styledAvatar.types-DM3CCeK2.js.map} +1 -1
  81. package/dist/chunks/{switch.component-ReNWRkpP.js → switch.component-DR2z1VIi.js} +2 -2
  82. package/dist/chunks/{switch.component-ReNWRkpP.js.map → switch.component-DR2z1VIi.js.map} +1 -1
  83. package/dist/chunks/{switch.component-DknFs3g_.js → switch.component-kymnT_3-.js} +2 -2
  84. package/dist/chunks/{switch.component-DknFs3g_.js.map → switch.component-kymnT_3-.js.map} +1 -1
  85. package/dist/chunks/{tabs.component-Byhg7Ag7.js → tabs.component-CXuIBpFN.js} +2 -2
  86. package/dist/chunks/{tabs.component-Byhg7Ag7.js.map → tabs.component-CXuIBpFN.js.map} +1 -1
  87. package/dist/chunks/{tabs.component-DRDAYsaJ.js → tabs.component-Dsp-LFv8.js} +2 -2
  88. package/dist/chunks/{tabs.component-DRDAYsaJ.js.map → tabs.component-Dsp-LFv8.js.map} +1 -1
  89. package/dist/chunks/{tagBlock.component-BBXzs2Uw.js → tagBlock.component-BUeL684f.js} +2 -2
  90. package/dist/chunks/{tagBlock.component-BBXzs2Uw.js.map → tagBlock.component-BUeL684f.js.map} +1 -1
  91. package/dist/chunks/{tagBlock.component-yW2Y91t1.js → tagBlock.component-Cz_t--RO.js} +5 -5
  92. package/dist/chunks/{tagBlock.component-yW2Y91t1.js.map → tagBlock.component-Cz_t--RO.js.map} +1 -1
  93. package/dist/chunks/{textInput.component-C24PrvoM.js → textInput.component-BNINW1_e.js} +3 -3
  94. package/dist/chunks/{textInput.component-C24PrvoM.js.map → textInput.component-BNINW1_e.js.map} +1 -1
  95. package/dist/chunks/{textInput.component-BeV7ammo.js → textInput.component-DgiFzty4.js} +2 -2
  96. package/dist/chunks/{textInput.component-BeV7ammo.js.map → textInput.component-DgiFzty4.js.map} +1 -1
  97. package/dist/chunks/{textarea.component-CwtCKBCL.js → textarea.component-Bp58Lx18.js} +3 -3
  98. package/dist/chunks/{textarea.component-CwtCKBCL.js.map → textarea.component-Bp58Lx18.js.map} +1 -1
  99. package/dist/chunks/{textarea.component-P8JB6b7V.js → textarea.component-C34ZB5P0.js} +2 -2
  100. package/dist/chunks/{textarea.component-P8JB6b7V.js.map → textarea.component-C34ZB5P0.js.map} +1 -1
  101. package/dist/chunks/{theme.provider-BQOfn-y4.js → theme.provider-AWSLFuJr.js} +4 -4
  102. package/dist/chunks/{theme.provider-BQOfn-y4.js.map → theme.provider-AWSLFuJr.js.map} +1 -1
  103. package/dist/chunks/{theme.provider-B74HDIdL.js → theme.provider-DBYGq_4U.js} +4 -5
  104. package/dist/chunks/{theme.provider-B74HDIdL.js.map → theme.provider-DBYGq_4U.js.map} +1 -1
  105. package/dist/chunks/{timePicker.component-uGDYc9Cv.js → timePicker.component-BdTpeepb.js} +2 -2
  106. package/dist/chunks/{timePicker.component-uGDYc9Cv.js.map → timePicker.component-BdTpeepb.js.map} +1 -1
  107. package/dist/chunks/{timePicker.component-BGLxZ054.js → timePicker.component-D-qQvgQh.js} +3 -3
  108. package/dist/chunks/{timePicker.component-BGLxZ054.js.map → timePicker.component-D-qQvgQh.js.map} +1 -1
  109. package/dist/chunks/{timeRange.component-D3sKETZI.js → timeRange.component-Cz0RyPsh.js} +2 -2
  110. package/dist/chunks/{timeRange.component-D3sKETZI.js.map → timeRange.component-Cz0RyPsh.js.map} +1 -1
  111. package/dist/chunks/{timeRange.component-CrHGWoHp.js → timeRange.component-pjEMSbFI.js} +2 -2
  112. package/dist/chunks/{timeRange.component-CrHGWoHp.js.map → timeRange.component-pjEMSbFI.js.map} +1 -1
  113. package/dist/chunks/timestamp.component-AfZBeSJ0.js +2 -0
  114. package/dist/chunks/{timestamp.component-t4Ungo7a.js.map → timestamp.component-AfZBeSJ0.js.map} +1 -1
  115. package/dist/chunks/timestamp.component-DupRVSWm.js +53 -0
  116. package/dist/chunks/{timestamp.component-BBDZXGwH.js.map → timestamp.component-DupRVSWm.js.map} +1 -1
  117. package/dist/chunks/{withFormControl-B0znrVI4.js → withFormControl-8TClG0uv.js} +2 -2
  118. package/dist/chunks/{withFormControl-B0znrVI4.js.map → withFormControl-8TClG0uv.js.map} +1 -1
  119. package/dist/chunks/{withFormControl-B2mD7X9h.js → withFormControl-CZAP4VgX.js} +2 -2
  120. package/dist/chunks/{withFormControl-B2mD7X9h.js.map → withFormControl-CZAP4VgX.js.map} +1 -1
  121. package/dist/chunks/{tooltip.component-D3vrmBNm.js → withTruncation-CIxtQTOw.js} +196 -132
  122. package/dist/chunks/withTruncation-CIxtQTOw.js.map +1 -0
  123. package/dist/chunks/withTruncation-DfW-AFRe.js +2 -0
  124. package/dist/chunks/withTruncation-DfW-AFRe.js.map +1 -0
  125. package/dist/cjs/components/Alert/index.cjs +1 -1
  126. package/dist/cjs/components/Avatar/index.cjs +1 -1
  127. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  128. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  129. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  130. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  131. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  132. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  133. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  134. package/dist/cjs/components/Heading/index.cjs +1 -1
  135. package/dist/cjs/components/Menu/index.cjs +1 -1
  136. package/dist/cjs/components/Modal/index.cjs +1 -1
  137. package/dist/cjs/components/PinInput/index.cjs +1 -1
  138. package/dist/cjs/components/Popover/index.cjs +1 -1
  139. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  140. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  141. package/dist/cjs/components/Select/index.cjs +1 -1
  142. package/dist/cjs/components/SortableList/index.cjs +1 -1
  143. package/dist/cjs/components/Spinner/index.cjs +1 -1
  144. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  145. package/dist/cjs/components/Switch/index.cjs +1 -1
  146. package/dist/cjs/components/Tabs/index.cjs +1 -1
  147. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  148. package/dist/cjs/components/Text/index.cjs +1 -1
  149. package/dist/cjs/components/TextInput/index.cjs +1 -1
  150. package/dist/cjs/components/Textarea/index.cjs +1 -1
  151. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  152. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  153. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  154. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  155. package/dist/cjs/components/index.cjs +1 -1
  156. package/dist/cjs/index.cjs +1 -1
  157. package/dist/cjs/theme/index.cjs +1 -1
  158. package/dist/esm/components/Alert/index.js +1 -1
  159. package/dist/esm/components/Avatar/index.js +1 -1
  160. package/dist/esm/components/AvatarGroup/index.js +1 -1
  161. package/dist/esm/components/ButtonGroup/index.js +1 -1
  162. package/dist/esm/components/CharacterCounter/index.js +1 -1
  163. package/dist/esm/components/Checkbox/index.js +1 -1
  164. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  165. package/dist/esm/components/ConversationCard/index.js +1 -1
  166. package/dist/esm/components/DatePicker/index.js +1 -1
  167. package/dist/esm/components/Heading/index.js +1 -1
  168. package/dist/esm/components/Menu/index.js +1 -1
  169. package/dist/esm/components/Modal/index.js +1 -1
  170. package/dist/esm/components/PinInput/index.js +1 -1
  171. package/dist/esm/components/Popover/index.js +1 -1
  172. package/dist/esm/components/RadioGroup/index.js +1 -1
  173. package/dist/esm/components/RatingDots/index.js +1 -1
  174. package/dist/esm/components/Select/index.js +1 -1
  175. package/dist/esm/components/SortableList/index.js +1 -1
  176. package/dist/esm/components/Spinner/index.js +1 -1
  177. package/dist/esm/components/StyledAvatar/index.js +1 -1
  178. package/dist/esm/components/Switch/index.js +1 -1
  179. package/dist/esm/components/Tabs/index.js +1 -1
  180. package/dist/esm/components/TagBlock/index.js +1 -1
  181. package/dist/esm/components/Text/index.js +1 -1
  182. package/dist/esm/components/TextInput/index.js +1 -1
  183. package/dist/esm/components/Textarea/index.js +1 -1
  184. package/dist/esm/components/TimePicker/index.js +1 -1
  185. package/dist/esm/components/TimeRange/index.js +1 -1
  186. package/dist/esm/components/Timestamp/index.js +1 -1
  187. package/dist/esm/components/Tooltip/index.js +1 -1
  188. package/dist/esm/components/index.js +38 -39
  189. package/dist/esm/components/index.js.map +1 -1
  190. package/dist/esm/index.js +57 -58
  191. package/dist/esm/index.js.map +1 -1
  192. package/dist/esm/theme/index.js +1 -1
  193. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  194. package/package.json +1 -1
  195. package/dist/chunks/avatar.component-59j9Mhq4.js +0 -2
  196. package/dist/chunks/conversationCard.component-BJp9b-qZ.js +0 -2
  197. package/dist/chunks/popover.component-Bf1premS.js +0 -2
  198. package/dist/chunks/text.component-CYwf-QN_.js +0 -2
  199. package/dist/chunks/text.component-CYwf-QN_.js.map +0 -1
  200. package/dist/chunks/text.component-U42t_-9H.js +0 -12
  201. package/dist/chunks/text.component-U42t_-9H.js.map +0 -1
  202. package/dist/chunks/timestamp.component-BBDZXGwH.js +0 -54
  203. package/dist/chunks/timestamp.component-t4Ungo7a.js +0 -2
  204. package/dist/chunks/tooltip.component-D3vrmBNm.js.map +0 -1
  205. package/dist/chunks/tooltip.component-DjYCcStc.js +0 -2
  206. package/dist/chunks/tooltip.component-DjYCcStc.js.map +0 -1
  207. package/dist/chunks/withTruncation-B9Xt21Iq.js +0 -67
  208. package/dist/chunks/withTruncation-B9Xt21Iq.js.map +0 -1
  209. package/dist/chunks/withTruncation-DOdt9K0X.js +0 -2
  210. package/dist/chunks/withTruncation-DOdt9K0X.js.map +0 -1
@@ -1,112 +1,116 @@
1
1
  import { j as s } from "./jsx-runtime-C5mzlN2N.js";
2
- import { forwardRef as p, useId as V } from "react";
3
- import { a as $ } from "./config-DlTdf-Yt.js";
4
- import { u as F } from "./use-slot-recipe-DhtQ1j_5.js";
5
- import { c as B, f as P, u as y, h as U, g as T, d as Y, b as M, i as q, j as z, k as J, n as K, s as R, l as N, m as w, P as Q } from "./use-locale-context-BiiNTYMT.js";
6
- import { c as W } from "./create-slot-recipe-context-BJmsuxih.js";
7
- import { a1 as d, c as X, z as Z, t as ee, b as te } from "./index-YtNA0Ueo.js";
8
- const [L, g] = B({
2
+ import { forwardRef as C, useId as Y, memo as y, useState as z, useRef as R, useCallback as q, useEffect as J } from "react";
3
+ import { a as K } from "./config-DlTdf-Yt.js";
4
+ import { B as Q } from "./box-Ck9I7FYv.js";
5
+ import { c as X } from "./create-recipe-context-D7FewUR4.js";
6
+ import { u as Z } from "./use-slot-recipe-DhtQ1j_5.js";
7
+ import { c as ee, f as O, u as k, h as te, g as x, d as re, b as oe, i as ne, j as se, k as ie, n as ae, s as L, l as I, m as H, P as ce } from "./use-locale-context-BiiNTYMT.js";
8
+ import { c as le } from "./create-slot-recipe-context-BJmsuxih.js";
9
+ import { a1 as g, c as de, z as pe, t as ue, b as ge } from "./index-YtNA0Ueo.js";
10
+ const { withContext: Ce } = X({
11
+ key: "text"
12
+ }), ve = Ce("p"), [D, v] = ee({
9
13
  name: "HoverCardContext",
10
14
  hookName: "useHoverCardContext",
11
15
  providerName: "<HoverCardProvider />"
12
- }), I = p((e, t) => {
13
- const o = g(), r = d(o.getArrowProps(), e);
14
- return /* @__PURE__ */ s.jsx(P.div, { ...r, ref: t });
16
+ }), _ = C((e, t) => {
17
+ const r = v(), o = g(r.getArrowProps(), e);
18
+ return /* @__PURE__ */ s.jsx(O.div, { ...o, ref: t });
15
19
  });
16
- I.displayName = "HoverCardArrow";
17
- const k = p((e, t) => {
18
- const o = g(), r = d(o.getArrowTipProps(), e);
19
- return /* @__PURE__ */ s.jsx(P.div, { ...r, ref: t });
20
+ _.displayName = "HoverCardArrow";
21
+ const j = C((e, t) => {
22
+ const r = v(), o = g(r.getArrowTipProps(), e);
23
+ return /* @__PURE__ */ s.jsx(O.div, { ...o, ref: t });
20
24
  });
21
- k.displayName = "HoverCardArrowTip";
22
- const b = p((e, t) => {
23
- const o = g(), r = y(), n = d(o.getContentProps(), r.getPresenceProps(), e);
24
- return r.unmounted ? null : /* @__PURE__ */ s.jsx(P.div, { ...n, ref: U(r.ref, t) });
25
+ j.displayName = "HoverCardArrowTip";
26
+ const A = C((e, t) => {
27
+ const r = v(), o = k(), n = g(r.getContentProps(), o.getPresenceProps(), e);
28
+ return o.unmounted ? null : /* @__PURE__ */ s.jsx(O.div, { ...n, ref: te(o.ref, t) });
25
29
  });
26
- b.displayName = "HoverCardContent";
27
- const oe = (e) => e.children(g()), D = p((e, t) => {
28
- const o = g(), r = d(o.getPositionerProps(), e);
29
- return y().unmounted ? null : /* @__PURE__ */ s.jsx(P.div, { ...r, ref: t });
30
+ A.displayName = "HoverCardContent";
31
+ const Pe = (e) => e.children(v()), S = C((e, t) => {
32
+ const r = v(), o = g(r.getPositionerProps(), e);
33
+ return k().unmounted ? null : /* @__PURE__ */ s.jsx(O.div, { ...o, ref: t });
30
34
  });
31
- D.displayName = "HoverCardPositioner";
32
- var re = te("hoverCard").parts("arrow", "arrowTip", "trigger", "positioner", "content"), C = re.build(), x = (e) => e.ids?.trigger ?? `hover-card:${e.id}:trigger`, H = (e) => e.ids?.content ?? `hover-card:${e.id}:content`, A = (e) => e.ids?.positioner ?? `hover-card:${e.id}:popper`, ne = (e) => e.ids?.arrow ?? `hover-card:${e.id}:arrow`, E = (e) => e.getById(x(e)), se = (e) => e.getById(H(e)), f = (e) => e.getById(A(e));
33
- function ie(e, t) {
34
- const { state: o, send: r, prop: n, context: a, scope: c } = e, l = o.hasTag("open"), u = Y({
35
+ S.displayName = "HoverCardPositioner";
36
+ var me = ge("hoverCard").parts("arrow", "arrowTip", "trigger", "positioner", "content"), m = me.build(), $ = (e) => e.ids?.trigger ?? `hover-card:${e.id}:trigger`, F = (e) => e.ids?.content ?? `hover-card:${e.id}:content`, G = (e) => e.ids?.positioner ?? `hover-card:${e.id}:popper`, Oe = (e) => e.ids?.arrow ?? `hover-card:${e.id}:arrow`, w = (e) => e.getById($(e)), Te = (e) => e.getById(F(e)), N = (e) => e.getById(G(e));
37
+ function Ee(e, t) {
38
+ const { state: r, send: o, prop: n, context: a, scope: c } = e, l = r.hasTag("open"), u = re({
35
39
  ...n("positioning"),
36
40
  placement: a.get("currentPlacement")
37
41
  });
38
42
  return {
39
43
  open: l,
40
44
  setOpen(i) {
41
- o.hasTag("open") !== i && r({ type: i ? "OPEN" : "CLOSE" });
45
+ r.hasTag("open") !== i && o({ type: i ? "OPEN" : "CLOSE" });
42
46
  },
43
47
  reposition(i = {}) {
44
- r({ type: "POSITIONING.SET", options: i });
48
+ o({ type: "POSITIONING.SET", options: i });
45
49
  },
46
50
  getArrowProps() {
47
51
  return t.element({
48
- id: ne(c),
49
- ...C.arrow.attrs,
52
+ id: Oe(c),
53
+ ...m.arrow.attrs,
50
54
  dir: n("dir"),
51
55
  style: u.arrow
52
56
  });
53
57
  },
54
58
  getArrowTipProps() {
55
59
  return t.element({
56
- ...C.arrowTip.attrs,
60
+ ...m.arrowTip.attrs,
57
61
  dir: n("dir"),
58
62
  style: u.arrowTip
59
63
  });
60
64
  },
61
65
  getTriggerProps() {
62
66
  return t.element({
63
- ...C.trigger.attrs,
67
+ ...m.trigger.attrs,
64
68
  dir: n("dir"),
65
69
  "data-placement": a.get("currentPlacement"),
66
- id: x(c),
70
+ id: $(c),
67
71
  "data-state": l ? "open" : "closed",
68
72
  onPointerEnter(i) {
69
- i.pointerType !== "touch" && r({ type: "POINTER_ENTER", src: "trigger" });
73
+ i.pointerType !== "touch" && o({ type: "POINTER_ENTER", src: "trigger" });
70
74
  },
71
75
  onPointerLeave(i) {
72
- i.pointerType !== "touch" && r({ type: "POINTER_LEAVE", src: "trigger" });
76
+ i.pointerType !== "touch" && o({ type: "POINTER_LEAVE", src: "trigger" });
73
77
  },
74
78
  onFocus() {
75
- r({ type: "TRIGGER_FOCUS" });
79
+ o({ type: "TRIGGER_FOCUS" });
76
80
  },
77
81
  onBlur() {
78
- r({ type: "TRIGGER_BLUR" });
82
+ o({ type: "TRIGGER_BLUR" });
79
83
  }
80
84
  });
81
85
  },
82
86
  getPositionerProps() {
83
87
  return t.element({
84
- id: A(c),
85
- ...C.positioner.attrs,
88
+ id: G(c),
89
+ ...m.positioner.attrs,
86
90
  dir: n("dir"),
87
91
  style: u.floating
88
92
  });
89
93
  },
90
94
  getContentProps() {
91
95
  return t.element({
92
- ...C.content.attrs,
96
+ ...m.content.attrs,
93
97
  dir: n("dir"),
94
- id: H(c),
98
+ id: F(c),
95
99
  hidden: !l,
96
100
  tabIndex: -1,
97
101
  "data-state": l ? "open" : "closed",
98
102
  "data-placement": a.get("currentPlacement"),
99
103
  onPointerEnter(i) {
100
- i.pointerType !== "touch" && r({ type: "POINTER_ENTER", src: "content" });
104
+ i.pointerType !== "touch" && o({ type: "POINTER_ENTER", src: "content" });
101
105
  },
102
106
  onPointerLeave(i) {
103
- i.pointerType !== "touch" && r({ type: "POINTER_LEAVE", src: "content" });
107
+ i.pointerType !== "touch" && o({ type: "POINTER_LEAVE", src: "content" });
104
108
  }
105
109
  });
106
110
  }
107
111
  };
108
112
  }
109
- var { not: m, and: h } = Z(), ae = X({
113
+ var { not: E, and: b } = pe(), fe = de({
110
114
  props({ props: e }) {
111
115
  return {
112
116
  openDelay: 700,
@@ -126,8 +130,8 @@ var { not: m, and: h } = Z(), ae = X({
126
130
  open: t(() => ({
127
131
  defaultValue: e("defaultOpen"),
128
132
  value: e("open"),
129
- onChange(o) {
130
- e("onOpenChange")?.({ open: o });
133
+ onChange(r) {
134
+ e("onOpenChange")?.({ open: r });
131
135
  }
132
136
  })),
133
137
  currentPlacement: t(() => ({
@@ -138,9 +142,9 @@ var { not: m, and: h } = Z(), ae = X({
138
142
  }))
139
143
  };
140
144
  },
141
- watch({ track: e, context: t, action: o }) {
145
+ watch({ track: e, context: t, action: r }) {
142
146
  e([() => t.get("open")], () => {
143
- o(["toggleVisibility"]);
147
+ r(["toggleVisibility"]);
144
148
  });
145
149
  },
146
150
  states: {
@@ -196,12 +200,12 @@ var { not: m, and: h } = Z(), ae = X({
196
200
  ],
197
201
  TRIGGER_BLUR: [
198
202
  {
199
- guard: h("isOpenControlled", m("isPointer")),
203
+ guard: b("isOpenControlled", E("isPointer")),
200
204
  // We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
201
205
  actions: ["invokeOnClose", "toggleVisibility"]
202
206
  },
203
207
  {
204
- guard: m("isPointer"),
208
+ guard: E("isPointer"),
205
209
  target: "closed",
206
210
  actions: ["invokeOnClose"]
207
211
  }
@@ -244,11 +248,11 @@ var { not: m, and: h } = Z(), ae = X({
244
248
  ],
245
249
  TRIGGER_BLUR: [
246
250
  {
247
- guard: h("isOpenControlled", m("isPointer")),
251
+ guard: b("isOpenControlled", E("isPointer")),
248
252
  actions: ["invokeOnClose"]
249
253
  },
250
254
  {
251
- guard: m("isPointer"),
255
+ guard: E("isPointer"),
252
256
  target: "closed",
253
257
  actions: ["invokeOnClose"]
254
258
  }
@@ -293,21 +297,21 @@ var { not: m, and: h } = Z(), ae = X({
293
297
  },
294
298
  effects: {
295
299
  waitForOpenDelay({ send: e, prop: t }) {
296
- const o = setTimeout(() => {
300
+ const r = setTimeout(() => {
297
301
  e({ type: "OPEN_DELAY" });
298
302
  }, t("openDelay"));
299
- return () => clearTimeout(o);
303
+ return () => clearTimeout(r);
300
304
  },
301
305
  waitForCloseDelay({ send: e, prop: t }) {
302
- const o = setTimeout(() => {
306
+ const r = setTimeout(() => {
303
307
  e({ type: "CLOSE_DELAY" });
304
308
  }, t("closeDelay"));
305
- return () => clearTimeout(o);
309
+ return () => clearTimeout(r);
306
310
  },
307
- trackPositioning({ context: e, prop: t, scope: o }) {
311
+ trackPositioning({ context: e, prop: t, scope: r }) {
308
312
  e.get("currentPlacement") || e.set("currentPlacement", t("positioning").placement);
309
- const r = () => f(o);
310
- return T(E(o), r, {
313
+ const o = () => N(r);
314
+ return x(w(r), o, {
311
315
  ...t("positioning"),
312
316
  defer: !0,
313
317
  onComplete(n) {
@@ -315,17 +319,17 @@ var { not: m, and: h } = Z(), ae = X({
315
319
  }
316
320
  });
317
321
  },
318
- trackDismissableElement({ send: e, scope: t, prop: o }) {
319
- return ee(() => se(t), {
322
+ trackDismissableElement({ send: e, scope: t, prop: r }) {
323
+ return ue(() => Te(t), {
320
324
  defer: !0,
321
- exclude: [E(t)],
325
+ exclude: [w(t)],
322
326
  onDismiss() {
323
327
  e({ type: "CLOSE", src: "interact-outside" });
324
328
  },
325
- onInteractOutside: o("onInteractOutside"),
326
- onPointerDownOutside: o("onPointerDownOutside"),
329
+ onInteractOutside: r("onInteractOutside"),
330
+ onPointerDownOutside: r("onPointerDownOutside"),
327
331
  onFocusOutside(n) {
328
- n.preventDefault(), o("onFocusOutside")?.(n);
332
+ n.preventDefault(), r("onFocusOutside")?.(n);
329
333
  }
330
334
  });
331
335
  }
@@ -343,11 +347,11 @@ var { not: m, and: h } = Z(), ae = X({
343
347
  clearIsPointer({ context: e }) {
344
348
  e.set("isPointer", !1);
345
349
  },
346
- reposition({ context: e, prop: t, scope: o, event: r }) {
347
- const n = () => f(o);
348
- T(E(o), n, {
350
+ reposition({ context: e, prop: t, scope: r, event: o }) {
351
+ const n = () => N(r);
352
+ x(w(r), n, {
349
353
  ...t("positioning"),
350
- ...r.options,
354
+ ...o.options,
351
355
  defer: !0,
352
356
  listeners: !1,
353
357
  onComplete(a) {
@@ -355,15 +359,15 @@ var { not: m, and: h } = Z(), ae = X({
355
359
  }
356
360
  });
357
361
  },
358
- toggleVisibility({ prop: e, event: t, send: o }) {
362
+ toggleVisibility({ prop: e, event: t, send: r }) {
359
363
  queueMicrotask(() => {
360
- o({ type: e("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE", previousEvent: t });
364
+ r({ type: e("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE", previousEvent: t });
361
365
  });
362
366
  }
363
367
  }
364
368
  }
365
369
  });
366
- M()([
370
+ oe()([
367
371
  "closeDelay",
368
372
  "dir",
369
373
  "getRootNode",
@@ -378,39 +382,39 @@ M()([
378
382
  "onPointerDownOutside",
379
383
  "onFocusOutside"
380
384
  ]);
381
- const ce = (e) => {
382
- const t = V(), { getRootNode: o } = q(), { dir: r } = z(), n = {
385
+ const he = (e) => {
386
+ const t = Y(), { getRootNode: r } = ne(), { dir: o } = se(), n = {
383
387
  id: t,
384
- dir: r,
385
- getRootNode: o,
388
+ dir: o,
389
+ getRootNode: r,
386
390
  ...e
387
- }, a = J(ae, n);
388
- return ie(a, K);
389
- }, de = (e) => {
390
- const [t, { children: o, ...r }] = R(e), n = ce(r), a = N(d({ present: n.open }, t));
391
- return /* @__PURE__ */ s.jsx(L, { value: n, children: /* @__PURE__ */ s.jsx(w, { value: a, children: o }) });
392
- }, le = (e) => {
393
- const [t, { value: o, children: r }] = R(e), n = N(d({ present: o.open }, t));
394
- return /* @__PURE__ */ s.jsx(L, { value: o, children: /* @__PURE__ */ s.jsx(w, { value: n, children: r }) });
395
- }, S = p((e, t) => {
396
- const o = g(), r = d(o.getTriggerProps(), e);
397
- return /* @__PURE__ */ s.jsx(P.button, { ...r, ref: t });
391
+ }, a = ie(fe, n);
392
+ return Ee(a, ae);
393
+ }, we = (e) => {
394
+ const [t, { children: r, ...o }] = L(e), n = he(o), a = I(g({ present: n.open }, t));
395
+ return /* @__PURE__ */ s.jsx(D, { value: n, children: /* @__PURE__ */ s.jsx(H, { value: a, children: r }) });
396
+ }, ye = (e) => {
397
+ const [t, { value: r, children: o }] = L(e), n = I(g({ present: r.open }, t));
398
+ return /* @__PURE__ */ s.jsx(D, { value: r, children: /* @__PURE__ */ s.jsx(H, { value: n, children: o }) });
399
+ }, V = C((e, t) => {
400
+ const r = v(), o = g(r.getTriggerProps(), e);
401
+ return /* @__PURE__ */ s.jsx(O.button, { ...o, ref: t });
398
402
  });
399
- S.displayName = "HoverCardTrigger";
403
+ V.displayName = "HoverCardTrigger";
400
404
  const {
401
- withRootProvider: _,
402
- withContext: v,
403
- PropsProvider: pe
404
- } = W({ key: "hoverCard" }), we = _(le), ge = _(
405
- de
406
- ), Le = pe, ue = v(S, "trigger", { forwardAsChild: !0 }), Ce = v(D, "positioner", { forwardAsChild: !0 }), Pe = v(b, "content", { forwardAsChild: !0 }), j = v(k, "arrowTip", { forwardAsChild: !0 }), ve = v(
407
- I,
405
+ withRootProvider: B,
406
+ withContext: T,
407
+ PropsProvider: Re
408
+ } = le({ key: "hoverCard" }), Ue = B(ye), xe = B(
409
+ we
410
+ ), Me = Re, Ne = T(V, "trigger", { forwardAsChild: !0 }), be = T(S, "positioner", { forwardAsChild: !0 }), ke = T(A, "content", { forwardAsChild: !0 }), U = T(j, "arrowTip", { forwardAsChild: !0 }), Le = T(
411
+ _,
408
412
  "arrow",
409
413
  {
410
414
  forwardAsChild: !0,
411
- defaultProps: { children: /* @__PURE__ */ s.jsx(j, {}) }
415
+ defaultProps: { children: /* @__PURE__ */ s.jsx(U, {}) }
412
416
  }
413
- ), Ie = oe, Oe = $({
417
+ ), We = Pe, Ie = K({
414
418
  slots: ["root", "trigger", "content", "arrow", "arrowTip"],
415
419
  base: {
416
420
  arrow: {
@@ -424,29 +428,28 @@ const {
424
428
  border: "none",
425
429
  borderRadius: "base",
426
430
  boxShadow: "none",
427
- padding: 2,
428
- // TODO: Remove
429
- color: "text.contrast",
430
- fontSize: "sm"
431
+ padding: 2
431
432
  },
432
433
  trigger: {
433
434
  display: "inline-block"
434
435
  }
435
436
  }
436
- }), me = p(
437
+ }), M = ({ children: e, ...t }) => /* @__PURE__ */ s.jsx(ve, { className: "Text", "data-testid": "kibble-text", ...t, children: e });
438
+ M.displayName = "Text";
439
+ const He = De(M), W = C(
437
440
  (e, t) => {
438
441
  const {
439
- children: o,
440
- disabled: r = !1,
442
+ children: r,
443
+ disabled: o = !1,
441
444
  openDelay: n = 350,
442
445
  placement: a = "top",
443
446
  positioning: c,
444
447
  portalled: l = !0,
445
448
  label: u,
446
449
  ...i
447
- } = e, O = F({ recipe: Oe })();
448
- return o ? r ? o : /* @__PURE__ */ s.jsxs(
449
- ge,
450
+ } = e, d = Z({ recipe: Ie })();
451
+ return r ? o ? r : /* @__PURE__ */ s.jsxs(
452
+ xe,
450
453
  {
451
454
  positioning: {
452
455
  ...c,
@@ -456,38 +459,38 @@ const {
456
459
  ...i,
457
460
  children: [
458
461
  /* @__PURE__ */ s.jsx(
459
- ue,
462
+ Ne,
460
463
  {
461
464
  asChild: !0,
462
465
  className: "Tooltip__Trigger",
463
466
  "data-testid": "kibble-tooltip-trigger",
464
- css: O.trigger,
465
- children: o
467
+ css: d.trigger,
468
+ children: r
466
469
  }
467
470
  ),
468
- /* @__PURE__ */ s.jsx(Q, { disabled: !l, children: /* @__PURE__ */ s.jsx(
469
- Ce,
471
+ /* @__PURE__ */ s.jsx(ce, { disabled: !l, children: /* @__PURE__ */ s.jsx(
472
+ be,
470
473
  {
471
474
  className: "Tooltip",
472
475
  "data-testid": "kibble-tooltip",
473
476
  children: /* @__PURE__ */ s.jsxs(
474
- Pe,
477
+ ke,
475
478
  {
476
479
  className: "Tooltip__Content",
477
480
  "data-testid": "kibble-tooltip-content",
478
481
  ref: t,
479
- css: O.content,
482
+ css: d.content,
480
483
  children: [
481
484
  /* @__PURE__ */ s.jsx(
482
- ve,
485
+ Le,
483
486
  {
484
487
  className: "Tooltip__Arrow",
485
488
  "data-testid": "kibble-tooltip-arrow",
486
- css: O.arrow,
487
- children: /* @__PURE__ */ s.jsx(j, { css: O.arrowTip })
489
+ css: d.arrow,
490
+ children: /* @__PURE__ */ s.jsx(U, { css: d.arrowTip })
488
491
  }
489
492
  ),
490
- u
493
+ /* @__PURE__ */ s.jsx(He, { truncated: !1, variant: "onContrast", size: "sm", children: u })
491
494
  ]
492
495
  }
493
496
  )
@@ -498,19 +501,80 @@ const {
498
501
  ) : /* @__PURE__ */ s.jsx(s.Fragment, {});
499
502
  }
500
503
  );
501
- me.displayName = "Tooltip";
504
+ W.displayName = "Tooltip";
505
+ const De = (e) => {
506
+ const t = y(e);
507
+ function r({
508
+ truncated: o = !1,
509
+ noOfLines: n = 1,
510
+ children: a,
511
+ tooltipProps: c,
512
+ ...l
513
+ }) {
514
+ const [u, i] = z(!1), p = R(null), d = R(null), f = q(() => {
515
+ if (p.current) {
516
+ const P = p.current?.children[0].scrollHeight || 0, h = p.current?.offsetHeight || 0;
517
+ i(P > h);
518
+ }
519
+ }, []);
520
+ return J(() => {
521
+ if (o && p.current) {
522
+ let P;
523
+ const h = () => {
524
+ window.clearTimeout(P), P = window.setTimeout(f, 100);
525
+ };
526
+ return d.current = new ResizeObserver(() => {
527
+ h();
528
+ }), d.current.observe(p.current), f(), () => {
529
+ window.clearTimeout(P), d.current && d.current.disconnect();
530
+ };
531
+ }
532
+ }, [o, f]), o ? /* @__PURE__ */ s.jsx(
533
+ W,
534
+ {
535
+ ...c,
536
+ label: c?.label || a?.toLocaleString() || "",
537
+ disabled: !u,
538
+ "data-testid": "kibble-truncated-text-tooltip",
539
+ children: /* @__PURE__ */ s.jsx(
540
+ Q,
541
+ {
542
+ ref: p,
543
+ display: "inline-block",
544
+ position: "relative",
545
+ className: "TruncatedText__Wrapper",
546
+ "data-testid": "kibble-truncated-text-wrapper",
547
+ children: /* @__PURE__ */ s.jsx(
548
+ t,
549
+ {
550
+ className: "TruncatedText__TextContent",
551
+ "data-testid": "kibble-truncated-text-content",
552
+ lineClamp: n,
553
+ ...l,
554
+ children: a
555
+ }
556
+ )
557
+ }
558
+ )
559
+ }
560
+ ) : /* @__PURE__ */ s.jsx(t, { ...l, children: a });
561
+ }
562
+ return r.displayName = `withTruncation(${e.displayName || e.name}`, y(r);
563
+ };
502
564
  export {
503
- ve as H,
504
- me as T,
505
- j as a,
506
- Pe as b,
507
- Ie as c,
508
- Ce as d,
509
- Le as e,
510
- ge as f,
511
- we as g,
512
- ue as h,
513
- re as i,
514
- g as u
565
+ Le as H,
566
+ W as T,
567
+ He as W,
568
+ U as a,
569
+ ke as b,
570
+ We as c,
571
+ be as d,
572
+ Me as e,
573
+ xe as f,
574
+ Ue as g,
575
+ Ne as h,
576
+ me as i,
577
+ v as u,
578
+ De as w
515
579
  };
516
- //# sourceMappingURL=tooltip.component-D3vrmBNm.js.map
580
+ //# sourceMappingURL=withTruncation-CIxtQTOw.js.map