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

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 (376) hide show
  1. package/dist/chunks/{alert.types-C1GVh2D6.js → alert.types-BvnpOwve.js} +2 -2
  2. package/dist/chunks/{alert.types-C1GVh2D6.js.map → alert.types-BvnpOwve.js.map} +1 -1
  3. package/dist/chunks/{alert.types-BdMaGbwu.js → alert.types-Dth5h5qO.js} +3 -3
  4. package/dist/chunks/{alert.types-BdMaGbwu.js.map → alert.types-Dth5h5qO.js.map} +1 -1
  5. package/dist/chunks/{avatar.component-BKp_pbGA.js → avatar.component-BPCJZRyT.js} +14 -14
  6. package/dist/chunks/{avatar.component-BKp_pbGA.js.map → avatar.component-BPCJZRyT.js.map} +1 -1
  7. package/dist/chunks/avatar.component-y7gTa1dV.js +2 -0
  8. package/dist/chunks/{avatar.component-BRjxOsjQ.js.map → avatar.component-y7gTa1dV.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-DIfCXmiw.js → avatarGroup.component-BnRXVOIV.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-DIfCXmiw.js.map → avatarGroup.component-BnRXVOIV.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-B3cA6J2Z.js → avatarGroup.component-Mfl8jvgp.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-B3cA6J2Z.js.map → avatarGroup.component-Mfl8jvgp.js.map} +1 -1
  13. package/dist/chunks/{buttonGroup.component-DuNSCwga.js → buttonGroup.component-6ZBOJbfR.js} +2 -2
  14. package/dist/chunks/{buttonGroup.component-DuNSCwga.js.map → buttonGroup.component-6ZBOJbfR.js.map} +1 -1
  15. package/dist/chunks/{buttonGroup.component-CLTkO5BF.js → buttonGroup.component-DQfB4Nj3.js} +2 -2
  16. package/dist/chunks/{buttonGroup.component-CLTkO5BF.js.map → buttonGroup.component-DQfB4Nj3.js.map} +1 -1
  17. package/dist/chunks/{characterCounter.component-C2e2l-WJ.js → characterCounter.component-4T8NHb11.js} +2 -2
  18. package/dist/chunks/{characterCounter.component-C2e2l-WJ.js.map → characterCounter.component-4T8NHb11.js.map} +1 -1
  19. package/dist/chunks/{characterCounter.component-BEg4MItI.js → characterCounter.component-Cs0y0DOj.js} +3 -3
  20. package/dist/chunks/{characterCounter.component-BEg4MItI.js.map → characterCounter.component-Cs0y0DOj.js.map} +1 -1
  21. package/dist/chunks/checkbox.component-CFuJaYmY.js +2 -0
  22. package/dist/chunks/{checkbox.component-CYpG_LI3.js.map → checkbox.component-CFuJaYmY.js.map} +1 -1
  23. package/dist/chunks/{checkbox.component-Dxvk8exv.js → checkbox.component-DqlWmIyY.js} +10 -10
  24. package/dist/chunks/{checkbox.component-Dxvk8exv.js.map → checkbox.component-DqlWmIyY.js.map} +1 -1
  25. package/dist/chunks/{checkbox.records-BtLBaHBy.js → checkbox.records-08YIiUZO.js} +12 -12
  26. package/dist/chunks/{checkbox.records-BtLBaHBy.js.map → checkbox.records-08YIiUZO.js.map} +1 -1
  27. package/dist/chunks/checkbox.records-B7refmmT.js +2 -0
  28. package/dist/chunks/{checkbox.records-wbkLltak.js.map → checkbox.records-B7refmmT.js.map} +1 -1
  29. package/dist/chunks/{checkboxGroup.component-CCY-tnlz.js → checkboxGroup.component-DBqDJvPC.js} +3 -3
  30. package/dist/chunks/{checkboxGroup.component-CCY-tnlz.js.map → checkboxGroup.component-DBqDJvPC.js.map} +1 -1
  31. package/dist/chunks/{checkboxGroup.component-DXuYKyDD.js → checkboxGroup.component-DaxmsqdZ.js} +2 -2
  32. package/dist/chunks/{checkboxGroup.component-DXuYKyDD.js.map → checkboxGroup.component-DaxmsqdZ.js.map} +1 -1
  33. package/dist/chunks/{config-B1FINd7s.js → config-DlTdf-Yt.js} +3 -3
  34. package/dist/chunks/{config-B1FINd7s.js.map → config-DlTdf-Yt.js.map} +1 -1
  35. package/dist/chunks/{conversationCard.component-DvUZFdws.js → conversationCard.component-Bg1Q9FdN.js} +18 -17
  36. package/dist/chunks/{conversationCard.component-DvUZFdws.js.map → conversationCard.component-Bg1Q9FdN.js.map} +1 -1
  37. package/dist/chunks/conversationCard.component-CBrw3VnT.js +2 -0
  38. package/dist/chunks/{conversationCard.component-BbV9kzvn.js.map → conversationCard.component-CBrw3VnT.js.map} +1 -1
  39. package/dist/chunks/{datePicker.component-CfULnyaz.js → datePicker.component-DfQNebKg.js} +8 -8
  40. package/dist/chunks/{datePicker.component-CfULnyaz.js.map → datePicker.component-DfQNebKg.js.map} +1 -1
  41. package/dist/chunks/datePicker.component-u52NQcza.js +15 -0
  42. package/dist/chunks/{datePicker.component-CaX-nDYU.js.map → datePicker.component-u52NQcza.js.map} +1 -1
  43. package/dist/chunks/dialog-trigger-B5NK0lr-.js +2 -0
  44. package/dist/chunks/{dialog-trigger-BCeZGpGO.js.map → dialog-trigger-B5NK0lr-.js.map} +1 -1
  45. package/dist/chunks/{dialog-trigger-D2uDgMJr.js → dialog-trigger-BPlPzPU-.js} +9 -9
  46. package/dist/chunks/{dialog-trigger-D2uDgMJr.js.map → dialog-trigger-BPlPzPU-.js.map} +1 -1
  47. package/dist/chunks/{heading.component-CUa8MRJt.js → heading.component-BXcyhAEU.js} +2 -2
  48. package/dist/chunks/{heading.component-CUa8MRJt.js.map → heading.component-BXcyhAEU.js.map} +1 -1
  49. package/dist/chunks/{heading.component-Cuqs0DsG.js → heading.component-ZD_UVarx.js} +2 -2
  50. package/dist/chunks/{heading.component-Cuqs0DsG.js.map → heading.component-ZD_UVarx.js.map} +1 -1
  51. package/dist/chunks/{index-DZGYG5M4.js → index-BBZxmcrY.js} +2 -2
  52. package/dist/chunks/{index-DZGYG5M4.js.map → index-BBZxmcrY.js.map} +1 -1
  53. package/dist/chunks/index-BDnnTdaJ.js +2 -0
  54. package/dist/chunks/{index-CEYJbpt4.js.map → index-BDnnTdaJ.js.map} +1 -1
  55. package/dist/chunks/index-BGwwyukg.js +2 -0
  56. package/dist/chunks/index-BGwwyukg.js.map +1 -0
  57. package/dist/chunks/{index-CBh9RZVL.js → index-BNYygzo-.js} +18 -17
  58. package/dist/chunks/{index-CBh9RZVL.js.map → index-BNYygzo-.js.map} +1 -1
  59. package/dist/chunks/index-BYf7SZUC.js +2 -0
  60. package/dist/chunks/{index-BfD9Ne2e.js.map → index-BYf7SZUC.js.map} +1 -1
  61. package/dist/chunks/{index-Cuu1x05z.js → index-C2kxTsiE.js} +17 -16
  62. package/dist/chunks/{index-Cuu1x05z.js.map → index-C2kxTsiE.js.map} +1 -1
  63. package/dist/chunks/index-COoMV9Mh.js +2 -0
  64. package/dist/chunks/{index-hGlTuPbK.js.map → index-COoMV9Mh.js.map} +1 -1
  65. package/dist/chunks/index-CYk-7wwG.js +1018 -0
  66. package/dist/chunks/index-CYk-7wwG.js.map +1 -0
  67. package/dist/chunks/index-CZ42b9rT.js +3 -0
  68. package/dist/chunks/index-CZ42b9rT.js.map +1 -0
  69. package/dist/chunks/index-CZz7hHWb.js +2 -0
  70. package/dist/chunks/{index-B4fjIWcA.js.map → index-CZz7hHWb.js.map} +1 -1
  71. package/dist/chunks/{index-Cqwkg1hU.js → index-CjNAJEk5.js} +106 -105
  72. package/dist/chunks/{index-Cqwkg1hU.js.map → index-CjNAJEk5.js.map} +1 -1
  73. package/dist/chunks/{index-CZPHIn6T.js → index-Co91SHhW.js} +3 -3
  74. package/dist/chunks/{index-CZPHIn6T.js.map → index-Co91SHhW.js.map} +1 -1
  75. package/dist/chunks/{index-D5Dscg8T.js → index-D9DU-5GF.js} +49 -48
  76. package/dist/chunks/{index-D5Dscg8T.js.map → index-D9DU-5GF.js.map} +1 -1
  77. package/dist/chunks/{index-f4Ba8Pq7.js → index-DUHFrLMI.js} +15 -15
  78. package/dist/chunks/{index-f4Ba8Pq7.js.map → index-DUHFrLMI.js.map} +1 -1
  79. package/dist/chunks/{index-Dx94WMw1.js → index-DcJZ8q0f.js} +44 -43
  80. package/dist/chunks/{index-Dx94WMw1.js.map → index-DcJZ8q0f.js.map} +1 -1
  81. package/dist/chunks/index-Dyxhds_1.js +2 -0
  82. package/dist/chunks/{index-5cRW642o.js.map → index-Dyxhds_1.js.map} +1 -1
  83. package/dist/chunks/{index-DMSZTX7A.js → index-MDMqrELk.js} +9 -9
  84. package/dist/chunks/{index-DMSZTX7A.js.map → index-MDMqrELk.js.map} +1 -1
  85. package/dist/chunks/index-MlhL0PDC.js +2 -0
  86. package/dist/chunks/{index-CFnNmQf0.js.map → index-MlhL0PDC.js.map} +1 -1
  87. package/dist/chunks/{index-Dq91nN6-.js → index-S1uNQPZj.js} +3 -3
  88. package/dist/chunks/{index-Dq91nN6-.js.map → index-S1uNQPZj.js.map} +1 -1
  89. package/dist/chunks/index-UWtj4ULm.js +8 -0
  90. package/dist/chunks/{index-CedYIQt5.js.map → index-UWtj4ULm.js.map} +1 -1
  91. package/dist/chunks/index-ZaGEDS_0.js +2 -0
  92. package/dist/chunks/{index-BmcSWiFh.js.map → index-ZaGEDS_0.js.map} +1 -1
  93. package/dist/chunks/index-j7W9Hyzx.js +322 -0
  94. package/dist/chunks/index-j7W9Hyzx.js.map +1 -0
  95. package/dist/chunks/{logo.types-CXQsathd.js → logo.types-By8TqyNf.js} +2 -2
  96. package/dist/chunks/{logo.types-CXQsathd.js.map → logo.types-By8TqyNf.js.map} +1 -1
  97. package/dist/chunks/menu.component-CiZzHc2D.js +2 -0
  98. package/dist/chunks/{menu.component-DzEdcGnQ.js.map → menu.component-CiZzHc2D.js.map} +1 -1
  99. package/dist/chunks/{menu.component-DuEKWjJe.js → menu.component-D4gknsq1.js} +26 -26
  100. package/dist/chunks/{menu.component-DuEKWjJe.js.map → menu.component-D4gknsq1.js.map} +1 -1
  101. package/dist/chunks/modal.types-9-Bz6ybC.js +2 -0
  102. package/dist/chunks/{modal.types-SzYLypgs.js.map → modal.types-9-Bz6ybC.js.map} +1 -1
  103. package/dist/chunks/{modal.types-Cg8WeIe5.js → modal.types-BV8Eand2.js} +5 -5
  104. package/dist/chunks/{modal.types-Cg8WeIe5.js.map → modal.types-BV8Eand2.js.map} +1 -1
  105. package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js → notificationCounter.component-Bei8mHSZ.js} +2 -2
  106. package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js.map → notificationCounter.component-Bei8mHSZ.js.map} +1 -1
  107. package/dist/chunks/pinInput.types-B-RchRm_.js +2 -0
  108. package/dist/chunks/{pinInput.types-D73AXb6j.js.map → pinInput.types-B-RchRm_.js.map} +1 -1
  109. package/dist/chunks/{pinInput.types-DzJ8G-cv.js → pinInput.types-U7Tfj5It.js} +8 -8
  110. package/dist/chunks/{pinInput.types-DzJ8G-cv.js.map → pinInput.types-U7Tfj5It.js.map} +1 -1
  111. package/dist/chunks/popover-80QH8HEJ.js +2 -0
  112. package/dist/chunks/{popover-DPEovmxh.js.map → popover-80QH8HEJ.js.map} +1 -1
  113. package/dist/chunks/{popover-D0QoPsrG.js → popover-B9rNOU0g.js} +26 -26
  114. package/dist/chunks/{popover-D0QoPsrG.js.map → popover-B9rNOU0g.js.map} +1 -1
  115. package/dist/chunks/{popover-root-provider-Dt02njg5.js → popover-root-provider-CeLLpesI.js} +8 -8
  116. package/dist/chunks/{popover-root-provider-Dt02njg5.js.map → popover-root-provider-CeLLpesI.js.map} +1 -1
  117. package/dist/chunks/popover-root-provider-DAMDDAHQ.js +2 -0
  118. package/dist/chunks/{popover-root-provider-BYJE5I-P.js.map → popover-root-provider-DAMDDAHQ.js.map} +1 -1
  119. package/dist/chunks/popover.component-A8In7d2B.js +2 -0
  120. package/dist/chunks/popover.component-A8In7d2B.js.map +1 -0
  121. package/dist/chunks/popover.component-BR8W3Jb8.js +322 -0
  122. package/dist/chunks/popover.component-BR8W3Jb8.js.map +1 -0
  123. package/dist/chunks/popover.recipe--gMRcQTS.js +479 -0
  124. package/dist/chunks/popover.recipe--gMRcQTS.js.map +1 -0
  125. package/dist/chunks/popover.recipe-DLeyokHo.js +2 -0
  126. package/dist/chunks/popover.recipe-DLeyokHo.js.map +1 -0
  127. package/dist/chunks/{radio.records-CzNYznSb.js → radio.records-D7VFHW-s.js} +16 -16
  128. package/dist/chunks/{radio.records-CzNYznSb.js.map → radio.records-D7VFHW-s.js.map} +1 -1
  129. package/dist/chunks/radio.records-DLffZyeq.js +2 -0
  130. package/dist/chunks/{radio.records-CEgwvLIL.js.map → radio.records-DLffZyeq.js.map} +1 -1
  131. package/dist/chunks/radioGroup.component-CZwrCppd.js +2 -0
  132. package/dist/chunks/{radioGroup.component-6Sb4sfkk.js.map → radioGroup.component-CZwrCppd.js.map} +1 -1
  133. package/dist/chunks/{radioGroup.component-Dy-hsu8-.js → radioGroup.component-DVsMiHFI.js} +11 -11
  134. package/dist/chunks/{radioGroup.component-Dy-hsu8-.js.map → radioGroup.component-DVsMiHFI.js.map} +1 -1
  135. package/dist/chunks/{ratingDots.component-k9LJL9Eu.js → ratingDots.component-1U-hoEpC.js} +4 -4
  136. package/dist/chunks/{ratingDots.component-k9LJL9Eu.js.map → ratingDots.component-1U-hoEpC.js.map} +1 -1
  137. package/dist/chunks/{ratingDots.component-DMe19wON.js → ratingDots.component-qbroWQhZ.js} +2 -2
  138. package/dist/chunks/{ratingDots.component-DMe19wON.js.map → ratingDots.component-qbroWQhZ.js.map} +1 -1
  139. package/dist/chunks/render-strategy-BmWbSgqh.js +2 -0
  140. package/dist/chunks/{render-strategy-CdSSbgPU.js.map → render-strategy-BmWbSgqh.js.map} +1 -1
  141. package/dist/chunks/{render-strategy-ql9Qx5Cz.js → render-strategy-C8hwN3bm.js} +2 -2
  142. package/dist/chunks/{render-strategy-ql9Qx5Cz.js.map → render-strategy-C8hwN3bm.js.map} +1 -1
  143. package/dist/chunks/{select.component-InxmAsNH.js → select.component-5vAzdrZa.js} +44 -44
  144. package/dist/chunks/{select.component-InxmAsNH.js.map → select.component-5vAzdrZa.js.map} +1 -1
  145. package/dist/chunks/select.component-C_Fs6Xeq.js +2 -0
  146. package/dist/chunks/{select.component-CuiKCzV4.js.map → select.component-C_Fs6Xeq.js.map} +1 -1
  147. package/dist/chunks/{sortableList.component-B9CPjKG7.js → sortableList.component-BX3EvpRM.js} +3 -3
  148. package/dist/chunks/{sortableList.component-B9CPjKG7.js.map → sortableList.component-BX3EvpRM.js.map} +1 -1
  149. package/dist/chunks/{sortableList.component-CaPRUdXt.js → sortableList.component-B_O-YB3I.js} +3 -3
  150. package/dist/chunks/{sortableList.component-CaPRUdXt.js.map → sortableList.component-B_O-YB3I.js.map} +1 -1
  151. package/dist/chunks/{spinner.component-CWdZsQ1n.js → spinner.component-CzhcJOwX.js} +2 -2
  152. package/dist/chunks/{spinner.component-CWdZsQ1n.js.map → spinner.component-CzhcJOwX.js.map} +1 -1
  153. package/dist/chunks/{spinner.component-DWZ_4aTj.js → spinner.component-lHj69hIF.js} +3 -3
  154. package/dist/chunks/{spinner.component-DWZ_4aTj.js.map → spinner.component-lHj69hIF.js.map} +1 -1
  155. package/dist/chunks/{styledAvatar.types-D4XrEFve.js → styledAvatar.types-B9SHiNfg.js} +2 -2
  156. package/dist/chunks/{styledAvatar.types-D4XrEFve.js.map → styledAvatar.types-B9SHiNfg.js.map} +1 -1
  157. package/dist/chunks/{styledAvatar.types-BXftd-Wf.js → styledAvatar.types-BvHm6hKS.js} +2 -2
  158. package/dist/chunks/{styledAvatar.types-BXftd-Wf.js.map → styledAvatar.types-BvHm6hKS.js.map} +1 -1
  159. package/dist/chunks/{swatch.types-B8OSJZ-a.js → swatch.types-DbgA3RWc.js} +2 -2
  160. package/dist/chunks/{swatch.types-B8OSJZ-a.js.map → swatch.types-DbgA3RWc.js.map} +1 -1
  161. package/dist/chunks/switch.component-B3Gfgft9.js +2 -0
  162. package/dist/chunks/{switch.component-Ct8hEoT2.js.map → switch.component-B3Gfgft9.js.map} +1 -1
  163. package/dist/chunks/{switch.component-vDh8eC0O.js → switch.component-DjOGsCIQ.js} +11 -11
  164. package/dist/chunks/{switch.component-vDh8eC0O.js.map → switch.component-DjOGsCIQ.js.map} +1 -1
  165. package/dist/chunks/{tabs.component-CuCzoee6.js → tabs.component-Ca9jVGv0.js} +48 -48
  166. package/dist/chunks/{tabs.component-CuCzoee6.js.map → tabs.component-Ca9jVGv0.js.map} +1 -1
  167. package/dist/chunks/tabs.component-pl0kO5_M.js +2 -0
  168. package/dist/chunks/{tabs.component-DDmnq9Yj.js.map → tabs.component-pl0kO5_M.js.map} +1 -1
  169. package/dist/chunks/{tagBlock.component-Cvlqt0tt.js → tagBlock.component-C2DAQrQE.js} +2 -2
  170. package/dist/chunks/{tagBlock.component-Cvlqt0tt.js.map → tagBlock.component-C2DAQrQE.js.map} +1 -1
  171. package/dist/chunks/{tagBlock.component-LJYc9GiQ.js → tagBlock.component-CnPbyaGH.js} +5 -5
  172. package/dist/chunks/{tagBlock.component-LJYc9GiQ.js.map → tagBlock.component-CnPbyaGH.js.map} +1 -1
  173. package/dist/chunks/text.component-CnnBhB3c.js +2 -0
  174. package/dist/chunks/text.component-CnnBhB3c.js.map +1 -0
  175. package/dist/chunks/text.component-Cpruo7MB.js +12 -0
  176. package/dist/chunks/text.component-Cpruo7MB.js.map +1 -0
  177. package/dist/chunks/textInput.component-D-galjwy.js +2 -0
  178. package/dist/chunks/{textInput.component-HHNykQ9Q.js.map → textInput.component-D-galjwy.js.map} +1 -1
  179. package/dist/chunks/{textInput.component--WvGHJxt.js → textInput.component-DXtEgbkr.js} +12 -12
  180. package/dist/chunks/{textInput.component--WvGHJxt.js.map → textInput.component-DXtEgbkr.js.map} +1 -1
  181. package/dist/chunks/textarea.component-DmxMuMCU.js +2 -0
  182. package/dist/chunks/{textarea.component-FFs6Uln9.js.map → textarea.component-DmxMuMCU.js.map} +1 -1
  183. package/dist/chunks/{textarea.component--AjIMSc1.js → textarea.component-Do0zHf-1.js} +7 -7
  184. package/dist/chunks/{textarea.component--AjIMSc1.js.map → textarea.component-Do0zHf-1.js.map} +1 -1
  185. package/dist/chunks/theme.provider-CIJGn9Kh.js +26 -0
  186. package/dist/chunks/theme.provider-CIJGn9Kh.js.map +1 -0
  187. package/dist/chunks/{theme.provider-C5Ltz2zj.js → theme.provider-Dj4pZ815.js} +1699 -1830
  188. package/dist/chunks/theme.provider-Dj4pZ815.js.map +1 -0
  189. package/dist/chunks/{timePicker.component-BxmUXWNg.js → timePicker.component-CophNE3d.js} +2 -2
  190. package/dist/chunks/{timePicker.component-BxmUXWNg.js.map → timePicker.component-CophNE3d.js.map} +1 -1
  191. package/dist/chunks/{timePicker.component-Bah1y2Pc.js → timePicker.component-DTs3MjOx.js} +4 -4
  192. package/dist/chunks/{timePicker.component-Bah1y2Pc.js.map → timePicker.component-DTs3MjOx.js.map} +1 -1
  193. package/dist/chunks/{timeRange.component-C0ZHjvEa.js → timeRange.component-C5dt8sZn.js} +2 -2
  194. package/dist/chunks/{timeRange.component-C0ZHjvEa.js.map → timeRange.component-C5dt8sZn.js.map} +1 -1
  195. package/dist/chunks/{timeRange.component-BhdUqy0y.js → timeRange.component-C5wSyUiZ.js} +2 -2
  196. package/dist/chunks/{timeRange.component-BhdUqy0y.js.map → timeRange.component-C5wSyUiZ.js.map} +1 -1
  197. package/dist/chunks/timestamp.component-BPU8bf7p.js +54 -0
  198. package/dist/chunks/{timestamp.component-BOksAchA.js.map → timestamp.component-BPU8bf7p.js.map} +1 -1
  199. package/dist/chunks/timestamp.component-rTLrzBPA.js +2 -0
  200. package/dist/chunks/{timestamp.component-DLh53lam.js.map → timestamp.component-rTLrzBPA.js.map} +1 -1
  201. package/dist/chunks/{toaster.records-Cf8bpHo8.js → toaster.records-BGfpUOVt.js} +22 -21
  202. package/dist/chunks/{toaster.records-Cf8bpHo8.js.map → toaster.records-BGfpUOVt.js.map} +1 -1
  203. package/dist/chunks/toaster.records-BJo0j1IZ.js +2 -0
  204. package/dist/chunks/{toaster.records-CGym-iT-.js.map → toaster.records-BJo0j1IZ.js.map} +1 -1
  205. package/dist/chunks/tooltip.component-CwrXAVEq.js +2 -0
  206. package/dist/chunks/tooltip.component-CwrXAVEq.js.map +1 -0
  207. package/dist/chunks/tooltip.component-DgOzrNG3.js +758 -0
  208. package/dist/chunks/tooltip.component-DgOzrNG3.js.map +1 -0
  209. package/dist/chunks/{typography.records-BeoK0Uyj.js → typography.records-C6G_65b4.js} +2 -2
  210. package/dist/chunks/{typography.records-BeoK0Uyj.js.map → typography.records-C6G_65b4.js.map} +1 -1
  211. package/dist/chunks/{typography.records-Xg59taw9.js → typography.records-jnjWfTLS.js} +2 -2
  212. package/dist/chunks/{typography.records-Xg59taw9.js.map → typography.records-jnjWfTLS.js.map} +1 -1
  213. package/dist/chunks/use-field-context--wBJQY1R.js +2 -0
  214. package/dist/chunks/{use-field-context-xBX4EpFz.js.map → use-field-context--wBJQY1R.js.map} +1 -1
  215. package/dist/chunks/{use-field-context-C4IwmN39.js → use-field-context-B_G7Yziz.js} +2 -2
  216. package/dist/chunks/{use-field-context-C4IwmN39.js.map → use-field-context-B_G7Yziz.js.map} +1 -1
  217. package/dist/chunks/use-locale-context-BdqHZ8L8.js +22 -0
  218. package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +1 -0
  219. package/dist/chunks/{portal-D2KZrSzZ.js → use-locale-context-D-agiW5E.js} +242 -242
  220. package/dist/chunks/use-locale-context-D-agiW5E.js.map +1 -0
  221. package/dist/chunks/{withFormControl-3s6IRbl0.js → withFormControl-BDuV97Vb.js} +49 -49
  222. package/dist/chunks/{withFormControl-3s6IRbl0.js.map → withFormControl-BDuV97Vb.js.map} +1 -1
  223. package/dist/chunks/withFormControl-DpytztWF.js +2 -0
  224. package/dist/chunks/{withFormControl-DhWavZor.js.map → withFormControl-DpytztWF.js.map} +1 -1
  225. package/dist/chunks/withTruncation-DPbMF-jg.js +2 -0
  226. package/dist/chunks/withTruncation-DPbMF-jg.js.map +1 -0
  227. package/dist/chunks/withTruncation-DoQriKuH.js +67 -0
  228. package/dist/chunks/withTruncation-DoQriKuH.js.map +1 -0
  229. package/dist/chunks/{wrap-CYgSj8wY.js → wrap-B8tBNeBY.js} +2 -2
  230. package/dist/chunks/{wrap-CYgSj8wY.js.map → wrap-B8tBNeBY.js.map} +1 -1
  231. package/dist/cjs/chakra/index.cjs +1 -1
  232. package/dist/cjs/chakra/index.cjs.map +1 -1
  233. package/dist/cjs/components/Alert/index.cjs +1 -1
  234. package/dist/cjs/components/Avatar/index.cjs +1 -1
  235. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  236. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  237. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  238. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  239. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  240. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  241. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  242. package/dist/cjs/components/Heading/index.cjs +1 -1
  243. package/dist/cjs/components/Menu/index.cjs +1 -1
  244. package/dist/cjs/components/Modal/index.cjs +1 -1
  245. package/dist/cjs/components/PinInput/index.cjs +1 -1
  246. package/dist/cjs/components/Popover/index.cjs +1 -1
  247. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  248. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  249. package/dist/cjs/components/Select/index.cjs +1 -1
  250. package/dist/cjs/components/SortableList/index.cjs +1 -1
  251. package/dist/cjs/components/Spinner/index.cjs +1 -1
  252. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  253. package/dist/cjs/components/Switch/index.cjs +1 -1
  254. package/dist/cjs/components/Tabs/index.cjs +1 -1
  255. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  256. package/dist/cjs/components/Text/index.cjs +1 -1
  257. package/dist/cjs/components/TextInput/index.cjs +1 -1
  258. package/dist/cjs/components/Textarea/index.cjs +1 -1
  259. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  260. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  261. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  262. package/dist/cjs/components/Toast/index.cjs +1 -1
  263. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  264. package/dist/cjs/components/index.cjs +1 -1
  265. package/dist/cjs/index.cjs +1 -1
  266. package/dist/cjs/theme/index.cjs +1 -1
  267. package/dist/esm/chakra/index.js +69 -69
  268. package/dist/esm/components/Alert/index.js +1 -1
  269. package/dist/esm/components/Avatar/index.js +1 -1
  270. package/dist/esm/components/AvatarGroup/index.js +1 -1
  271. package/dist/esm/components/ButtonGroup/index.js +1 -1
  272. package/dist/esm/components/CharacterCounter/index.js +1 -1
  273. package/dist/esm/components/Checkbox/index.js +1 -1
  274. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  275. package/dist/esm/components/ConversationCard/index.js +1 -1
  276. package/dist/esm/components/DatePicker/index.js +1 -1
  277. package/dist/esm/components/Heading/index.js +1 -1
  278. package/dist/esm/components/Logo/index.js +1 -1
  279. package/dist/esm/components/Menu/index.js +1 -1
  280. package/dist/esm/components/Modal/index.js +1 -1
  281. package/dist/esm/components/NotificationCounter/index.js +1 -1
  282. package/dist/esm/components/PinInput/index.js +1 -1
  283. package/dist/esm/components/Popover/index.js +1 -1
  284. package/dist/esm/components/RadioGroup/index.js +1 -1
  285. package/dist/esm/components/RatingDots/index.js +1 -1
  286. package/dist/esm/components/Select/index.js +1 -1
  287. package/dist/esm/components/SortableList/index.js +1 -1
  288. package/dist/esm/components/Spinner/index.js +1 -1
  289. package/dist/esm/components/StyledAvatar/index.js +1 -1
  290. package/dist/esm/components/Swatch/index.js +1 -1
  291. package/dist/esm/components/Switch/index.js +1 -1
  292. package/dist/esm/components/Tabs/index.js +1 -1
  293. package/dist/esm/components/TagBlock/index.js +1 -1
  294. package/dist/esm/components/Text/index.js +1 -1
  295. package/dist/esm/components/TextInput/index.js +1 -1
  296. package/dist/esm/components/Textarea/index.js +1 -1
  297. package/dist/esm/components/TimePicker/index.js +1 -1
  298. package/dist/esm/components/TimeRange/index.js +1 -1
  299. package/dist/esm/components/Timestamp/index.js +1 -1
  300. package/dist/esm/components/Toast/index.js +1 -1
  301. package/dist/esm/components/Tooltip/index.js +1 -1
  302. package/dist/esm/components/index.js +42 -41
  303. package/dist/esm/components/index.js.map +1 -1
  304. package/dist/esm/index.js +61 -60
  305. package/dist/esm/index.js.map +1 -1
  306. package/dist/esm/theme/index.js +1 -1
  307. package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
  308. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  309. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
  310. package/dist/types/components/Tooltip/tooltip.component.d.ts +6 -5
  311. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
  312. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +3 -3
  313. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
  314. package/package.json +1 -1
  315. package/dist/chunks/avatar.component-BRjxOsjQ.js +0 -2
  316. package/dist/chunks/checkbox.component-CYpG_LI3.js +0 -2
  317. package/dist/chunks/checkbox.records-wbkLltak.js +0 -2
  318. package/dist/chunks/conversationCard.component-BbV9kzvn.js +0 -2
  319. package/dist/chunks/datePicker.component-CaX-nDYU.js +0 -15
  320. package/dist/chunks/dialog-trigger-BCeZGpGO.js +0 -2
  321. package/dist/chunks/index-5cRW642o.js +0 -2
  322. package/dist/chunks/index-B4fjIWcA.js +0 -2
  323. package/dist/chunks/index-BfD9Ne2e.js +0 -2
  324. package/dist/chunks/index-BlGAWSIX.js +0 -3
  325. package/dist/chunks/index-BlGAWSIX.js.map +0 -1
  326. package/dist/chunks/index-BmcSWiFh.js +0 -2
  327. package/dist/chunks/index-C323eOJV.js +0 -1328
  328. package/dist/chunks/index-C323eOJV.js.map +0 -1
  329. package/dist/chunks/index-CEYJbpt4.js +0 -2
  330. package/dist/chunks/index-CFnNmQf0.js +0 -2
  331. package/dist/chunks/index-CedYIQt5.js +0 -8
  332. package/dist/chunks/index-Fztcdoo_.js +0 -2
  333. package/dist/chunks/index-Fztcdoo_.js.map +0 -1
  334. package/dist/chunks/index-WyVSig7F.js +0 -70
  335. package/dist/chunks/index-WyVSig7F.js.map +0 -1
  336. package/dist/chunks/index-hGlTuPbK.js +0 -2
  337. package/dist/chunks/menu.component-DzEdcGnQ.js +0 -2
  338. package/dist/chunks/modal.context-DSKLfsJK.js +0 -12
  339. package/dist/chunks/modal.context-DSKLfsJK.js.map +0 -1
  340. package/dist/chunks/modal.context-EJ67QNzq.js +0 -2
  341. package/dist/chunks/modal.context-EJ67QNzq.js.map +0 -1
  342. package/dist/chunks/modal.types-SzYLypgs.js +0 -2
  343. package/dist/chunks/pinInput.types-D73AXb6j.js +0 -2
  344. package/dist/chunks/popover-DPEovmxh.js +0 -2
  345. package/dist/chunks/popover-root-provider-BYJE5I-P.js +0 -2
  346. package/dist/chunks/popover.component-BNH2Qyh6.js +0 -264
  347. package/dist/chunks/popover.component-BNH2Qyh6.js.map +0 -1
  348. package/dist/chunks/popover.component-DXcu1TE5.js +0 -2
  349. package/dist/chunks/popover.component-DXcu1TE5.js.map +0 -1
  350. package/dist/chunks/popover.recipe-BLsWPsAa.js +0 -124
  351. package/dist/chunks/popover.recipe-BLsWPsAa.js.map +0 -1
  352. package/dist/chunks/popover.recipe-av5Jdn1r.js +0 -2
  353. package/dist/chunks/popover.recipe-av5Jdn1r.js.map +0 -1
  354. package/dist/chunks/portal-D2KZrSzZ.js.map +0 -1
  355. package/dist/chunks/portal-TWtD47zg.js +0 -22
  356. package/dist/chunks/portal-TWtD47zg.js.map +0 -1
  357. package/dist/chunks/radio.records-CEgwvLIL.js +0 -2
  358. package/dist/chunks/radioGroup.component-6Sb4sfkk.js +0 -2
  359. package/dist/chunks/render-strategy-CdSSbgPU.js +0 -2
  360. package/dist/chunks/select.component-CuiKCzV4.js +0 -2
  361. package/dist/chunks/switch.component-Ct8hEoT2.js +0 -2
  362. package/dist/chunks/tabs.component-DDmnq9Yj.js +0 -2
  363. package/dist/chunks/textInput.component-HHNykQ9Q.js +0 -2
  364. package/dist/chunks/textarea.component-FFs6Uln9.js +0 -2
  365. package/dist/chunks/theme.provider-BEb3gD55.js +0 -26
  366. package/dist/chunks/theme.provider-BEb3gD55.js.map +0 -1
  367. package/dist/chunks/theme.provider-C5Ltz2zj.js.map +0 -1
  368. package/dist/chunks/timestamp.component-BOksAchA.js +0 -53
  369. package/dist/chunks/timestamp.component-DLh53lam.js +0 -2
  370. package/dist/chunks/toaster.records-CGym-iT-.js +0 -2
  371. package/dist/chunks/use-field-context-xBX4EpFz.js +0 -2
  372. package/dist/chunks/withFormControl-DhWavZor.js +0 -2
  373. package/dist/chunks/withTruncation-D8W737TN.js +0 -562
  374. package/dist/chunks/withTruncation-D8W737TN.js.map +0 -1
  375. package/dist/chunks/withTruncation-nuzHzFsq.js +0 -2
  376. package/dist/chunks/withTruncation-nuzHzFsq.js.map +0 -1
@@ -1,2 +0,0 @@
1
- "use strict";const e=require("./jsx-runtime-BjDatQAs.js"),c=require("react"),se=require("./withFormControl-DhWavZor.js"),oe=require("./icon.component-C0e0UGBw.js"),ne=require("./button.component-Dd9AfGox.js"),y=require("./withTruncation-nuzHzFsq.js"),le=require("./spinner.component-CWdZsQ1n.js"),l=require("./portal-TWtD47zg.js"),ce=require("./create-slot-recipe-context-IwVIgtBt.js"),C=require("./icons-CTpAjbC-.js"),N=require("./use-field-context-xBX4EpFz.js"),d=require("./index-BlGAWSIX.js"),h=require("./index-CEYJbpt4.js"),ie=require("./modal.context-EJ67QNzq.js"),ae=require("./textInput.component-HHNykQ9Q.js"),de=require("./box-Baq7UBls.js"),T=require("./flex-D14H6HbP.js"),ue=t=>t&&t.__esModule?t:{default:t},pe=ue(c),xe=t=>new h.ListCollection(t),[k,p]=l.createContext({name:"SelectContext",hookName:"useSelectContext",providerName:"<SelectProvider />"}),q=c.forwardRef((t,n)=>{const s=p(),r=d.mergeProps(s.getClearTriggerProps(),t);return e.jsxRuntimeExports.jsx(l.ark.button,{...r,ref:n})});q.displayName="SelectClearTrigger";const G=c.forwardRef((t,n)=>{const s=p(),r=l.usePresenceContext(),o=d.mergeProps(s.getContentProps(),r.getPresenceProps(),t);return r.unmounted?null:e.jsxRuntimeExports.jsx(l.ark.div,{...o,ref:l.composeRefs(r.ref,n)})});G.displayName="SelectContent";const A=c.forwardRef((t,n)=>{const s=p(),r=d.mergeProps(s.getControlProps(),t);return e.jsxRuntimeExports.jsx(l.ark.div,{...r,ref:n})});A.displayName="SelectControl";const _=c.forwardRef((t,n)=>{const s=p(),r=d.mergeProps(s.getHiddenSelectProps(),t),o=s.value.length===0,i=N.useFieldContext();return e.jsxRuntimeExports.jsxs(l.ark.select,{"aria-describedby":i?.ariaDescribedby,...r,ref:n,children:[o&&e.jsxRuntimeExports.jsx("option",{value:""}),s.collection.items.map((a,m)=>e.jsxRuntimeExports.jsx("option",{value:s.collection.getItemValue(a)??"",disabled:s.collection.getItemDisabled(a),children:s.collection.stringifyItem(a)},m))]})});_.displayName="SelectHiddenSelect";const O=c.forwardRef((t,n)=>{const s=p(),r=d.mergeProps(s.getIndicatorProps(),t);return e.jsxRuntimeExports.jsx(l.ark.div,{...r,ref:n})});O.displayName="SelectIndicator";const[me,Oe]=l.createContext({name:"SelectItemContext",hookName:"useSelectItemContext",providerName:"<SelectItemProvider />"}),[Pe,F]=l.createContext({name:"SelectItemPropsContext",hookName:"useSelectItemPropsContext",providerName:"<SelectItemPropsProvider />"}),L=c.forwardRef((t,n)=>{const[s,r]=l.createSplitProps()(t,["item","persistFocus"]),o=p(),i=d.mergeProps(o.getItemProps(s),r),a=o.getItemState(s);return e.jsxRuntimeExports.jsx(Pe,{value:s,children:e.jsxRuntimeExports.jsx(me,{value:a,children:e.jsxRuntimeExports.jsx(l.ark.div,{...i,ref:n})})})});L.displayName="SelectItem";const[je,ge]=l.createContext({name:"SelectItemGroupPropsContext",hookName:"useSelectItemGroupPropsContext",providerName:"<SelectItemGroupPropsProvider />"}),V=c.forwardRef((t,n)=>{const s=c.useId(),[r,o]=l.createSplitProps()(t,["id"]),i={id:s,...r},a=p(),m=d.mergeProps(a.getItemGroupProps(i),o);return e.jsxRuntimeExports.jsx(je,{value:i,children:e.jsxRuntimeExports.jsx(l.ark.div,{...m,ref:n})})});V.displayName="SelectItemGroup";const $=c.forwardRef((t,n)=>{const s=p(),r=ge(),o=d.mergeProps(s.getItemGroupLabelProps({htmlFor:r.id}),t);return e.jsxRuntimeExports.jsx(l.ark.div,{...o,ref:n})});$.displayName="SelectItemGroupLabel";const H=c.forwardRef((t,n)=>{const s=p(),r=F(),o=d.mergeProps(s.getItemIndicatorProps(r),t);return e.jsxRuntimeExports.jsx(l.ark.div,{...o,ref:n})});H.displayName="SelectItemIndicator";const D=c.forwardRef((t,n)=>{const s=p(),r=F(),o=d.mergeProps(s.getItemTextProps(r),t);return e.jsxRuntimeExports.jsx(l.ark.span,{...o,ref:n})});D.displayName="SelectItemText";const W=c.forwardRef((t,n)=>{const s=p(),r=d.mergeProps(s.getLabelProps(),t);return e.jsxRuntimeExports.jsx(l.ark.label,{...r,ref:n})});W.displayName="SelectLabel";const M=c.forwardRef((t,n)=>{const s=p(),r=d.mergeProps(s.getPositionerProps(),t);return l.usePresenceContext().unmounted?null:e.jsxRuntimeExports.jsx(l.ark.div,{...r,ref:n})});M.displayName="SelectPositioner";const fe=t=>{const n=c.useId(),{dir:s}=l.useLocaleContext(),{getRootNode:r}=l.useEnvironmentContext(),o=N.useFieldContext(),i={id:n,ids:{label:o?.ids.label,hiddenSelect:o?.ids.control},disabled:o?.disabled,readOnly:o?.readOnly,invalid:o?.invalid,required:o?.required,dir:s,getRootNode:r,...t},a=l.useMachine(h.machine,i);return h.connect(a,l.normalizeProps)},Se=(t,n)=>{const[s,r]=l.splitPresenceProps(t),[o,i]=l.createSplitProps()(r,["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","disabled","form","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"]),a=fe(o),m=l.usePresence(d.mergeProps({present:a.open},s)),g=d.mergeProps(a.getRootProps(),i);return e.jsxRuntimeExports.jsx(k,{value:a,children:e.jsxRuntimeExports.jsx(l.PresenceProvider,{value:m,children:e.jsxRuntimeExports.jsx(l.ark.div,{...g,ref:n})})})},Re=c.forwardRef(Se),he=(t,n)=>{const[s,r]=l.splitPresenceProps(t),[{value:o},i]=l.createSplitProps()(r,["value"]),a=l.usePresence(d.mergeProps({present:o.open},s)),m=d.mergeProps(o.getRootProps(),i);return e.jsxRuntimeExports.jsx(k,{value:o,children:e.jsxRuntimeExports.jsx(l.PresenceProvider,{value:a,children:e.jsxRuntimeExports.jsx(l.ark.div,{...m,ref:n})})})},Ce=c.forwardRef(he),B=c.forwardRef((t,n)=>{const s=p(),r=d.mergeProps(s.getTriggerProps(),t);return e.jsxRuntimeExports.jsx(l.ark.button,{...r,ref:n})});B.displayName="SelectTrigger";const z=c.forwardRef((t,n)=>{const{children:s,placeholder:r,...o}=t,i=p(),a=d.mergeProps(i.getValueTextProps(),o);return e.jsxRuntimeExports.jsx(l.ark.span,{...a,ref:n,children:s||i.valueAsString||r})});z.displayName="SelectValueText";const{withProvider:J,withContext:x}=ce.createSlotRecipeContext({key:"select"});J(Ce,"root",{forwardAsChild:!0});const ve=J(Re,"root",{forwardAsChild:!0,defaultProps:{positioning:{sameWidth:!0}}}),Ee=x(B,"trigger",{forwardAsChild:!0}),Ie=x(M,"positioner",{forwardAsChild:!0}),be=x(G,"content",{forwardAsChild:!0}),we=x(z,"valueText",{forwardAsChild:!0}),Te=x(q,"clearTrigger",{forwardAsChild:!0,defaultProps:{children:e.jsxRuntimeExports.jsx(C.CloseIcon,{boxSize:"1em"})}});x(V,"itemGroup",{forwardAsChild:!0});x($,"itemGroupLabel",{forwardAsChild:!0});const ye=x(L,"item",{forwardAsChild:!0});x(D,"itemText",{forwardAsChild:!0});x(H,"itemIndicator",{forwardAsChild:!0,defaultProps:{children:e.jsxRuntimeExports.jsx(C.CheckIcon,{})}});const Ne=x("div","indicatorGroup");x(O,"indicator",{forwardAsChild:!0,defaultProps:{children:e.jsxRuntimeExports.jsx(C.ChevronDownIcon,{})}});const ke=x(A,"control",{forwardAsChild:!0});x(W,"label",{forwardAsChild:!0});const qe=_,K=({item:t,onContrast:n,shouldTruncateText:s,size:r})=>e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[t.leftElement,typeof t.label=="string"?e.jsxRuntimeExports.jsx(y.WrappedText,{size:r,truncated:s,variant:t.variant||(n?"onContrast":"default"),children:t.label}):t.label]}),Ge=({placeholder:t="",placeholderElement:n,...s})=>{const r=p(),o=c.useMemo(()=>r.selectedItems[0],[r]);return e.jsxRuntimeExports.jsxs(Ee,{children:[!o&&n,e.jsxRuntimeExports.jsx(we,{placeholder:t,children:o&&e.jsxRuntimeExports.jsx(K,{item:o,...s})})]})},Ae=se.withFormControl(({clearable:t,emptyPlaceholder:n="No options available",loading:s,onContrast:r,onSearch:o,options:i,placeholder:a="",placeholderElement:m,searchable:g=!1,searchPlaceholder:U="Search...",selectRef:X,shouldTruncateText:v=!0,size:P="md",...Y})=>{const{contentRef:Z}=ie.useModalContentRef(),ee=r?"onContrast":"default",[f,E]=c.useState(""),[I,b]=c.useState(i),S=c.useMemo(()=>xe({items:I??[],itemToString:u=>typeof u.label=="string"?u.label:u.valueText||"",itemToValue:u=>u.value}),[I]),w=c.useCallback((u,j)=>u===""||!u?j:(console.log(u,j),j.filter(R=>!!(typeof R.label=="string"?R.label:R.valueText)?.toLowerCase().includes(u.toLowerCase()))),[]);c.useEffect(()=>{b(o?i:w(f,i))},[i,f,o,w]);const te=c.useCallback(u=>{const j=u.target.value;E(j),o&&o(u)},[o]),re=c.useCallback(()=>{E(""),o&&o({target:{value:""}})},[o]);return e.jsxRuntimeExports.jsxs(ve,{className:"Select","data-testid":"kibble-select",collection:S,size:P,variant:ee,...Y,children:[e.jsxRuntimeExports.jsx(qe,{ref:X}),e.jsxRuntimeExports.jsxs(ke,{children:[e.jsxRuntimeExports.jsx(Ge,{placeholder:a,placeholderElement:m,onContrast:!!r,shouldTruncateText:!!v,size:P}),e.jsxRuntimeExports.jsxs(Ne,{children:[t&&e.jsxRuntimeExports.jsx(Te,{asChild:!0,children:e.jsxRuntimeExports.jsx(ne.Button,{iconName:"close",onContrast:r,size:P==="lg"?"sm":"xs",variant:"ghostNeutral"})}),e.jsxRuntimeExports.jsx(oe.Icon,{name:"chevronDown",size:P,variant:r?"onContrast":"default"})]})]}),e.jsxRuntimeExports.jsx(l.Portal,{container:Z||void 0,children:e.jsxRuntimeExports.jsx(Ie,{children:e.jsxRuntimeExports.jsxs(be,{children:[g&&e.jsxRuntimeExports.jsx(de.Box,{className:"Select__Header","data-testid":"kibble-select-header",m:"0 12px 8px",children:e.jsxRuntimeExports.jsx(ae.WrappedTextInput,{className:"Select__SearchBar","data-testid":"kibble-select-search-bar",placeholder:U,onChange:te,size:"sm",value:f,clearable:!0,onClear:re,formControlStyle:{mt:1}})}),s?e.jsxRuntimeExports.jsx(T.Flex,{w:"100%",justifyContent:"center",py:3,children:e.jsxRuntimeExports.jsx(le.Spinner,{variant:r?"brandOnContrast":"brand",size:P})}):e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:S.items.length?S.items.map(u=>e.jsxRuntimeExports.jsx(ye,{item:u,children:e.jsxRuntimeExports.jsx(K,{item:u,onContrast:!!r,shouldTruncateText:!!v,size:P})},u.value)):e.jsxRuntimeExports.jsx(T.Flex,{w:"100%",justifyContent:"center",py:3,children:e.jsxRuntimeExports.jsx(y.WrappedText,{size:"sm",variant:r?"subtleOnContrast":"subtle",children:n})})})]})})})]})}),Q=pe.default.forwardRef((t,n)=>e.jsxRuntimeExports.jsx(Ae,{selectRef:n,...t}));Q.displayName="Select";exports.WrappedSelect=Q;
2
- //# sourceMappingURL=select.component-CuiKCzV4.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const i=require("./jsx-runtime-BjDatQAs.js"),c=require("react"),y=require("./withFormControl-DhWavZor.js"),w=require("./attr-BMs6szZx.js"),E=require("./create-slot-recipe-context-IwVIgtBt.js"),m=require("./factory-D6tdBUPG.js"),n=require("./portal-TWtD47zg.js"),f=require("./use-field-context-xBX4EpFz.js"),l=require("./index-BlGAWSIX.js"),x=require("./index-5cRW642o.js"),q=t=>t&&t.__esModule?t:{default:t},N=q(c),[R,u]=n.createContext({name:"SwitchContext",hookName:"useSwitchContext",providerName:"<SwitchProvider />"}),S=c.forwardRef((t,e)=>{const r=u(),s=l.mergeProps(r.getControlProps(),t);return i.jsxRuntimeExports.jsx(n.ark.span,{...s,ref:e})});S.displayName="SwitchControl";const j=c.forwardRef((t,e)=>{const r=u(),s=l.mergeProps(r.getHiddenInputProps(),t),o=f.useFieldContext();return i.jsxRuntimeExports.jsx(n.ark.input,{"aria-describedby":o?.ariaDescribedby,...s,ref:e})});j.displayName="SwitchHiddenInput";const b=c.forwardRef((t,e)=>{const r=u(),s=l.mergeProps(r.getLabelProps(),t);return i.jsxRuntimeExports.jsx(n.ark.span,{...s,ref:e})});b.displayName="SwitchLabel";const I=t=>{const e=c.useId(),{getRootNode:r}=n.useEnvironmentContext(),{dir:s}=n.useLocaleContext(),o=f.useFieldContext(),a={id:e,ids:{label:o?.ids.label,hiddenInput:o?.ids.control},dir:s,disabled:o?.disabled,readOnly:o?.readOnly,invalid:o?.invalid,required:o?.required,getRootNode:r,...t},d=n.useMachine(x.machine,a);return x.connect(d,n.normalizeProps)},C=c.forwardRef((t,e)=>{const[r,s]=n.createSplitProps()(t,["checked","defaultChecked","disabled","form","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]),o=I(r),a=l.mergeProps(o.getRootProps(),s);return i.jsxRuntimeExports.jsx(R,{value:o,children:i.jsxRuntimeExports.jsx(n.ark.label,{...a,ref:e})})});C.displayName="SwitchRoot";const P=c.forwardRef((t,e)=>{const[{value:r},s]=n.createSplitProps()(t,["value"]),o=l.mergeProps(r.getRootProps(),s);return i.jsxRuntimeExports.jsx(R,{value:r,children:i.jsxRuntimeExports.jsx(n.ark.label,{...o,ref:e})})});P.displayName="SwitchRootProvider";const k=c.forwardRef((t,e)=>{const r=u(),s=l.mergeProps(r.getThumbProps(),t);return i.jsxRuntimeExports.jsx(n.ark.span,{...s,ref:e})});k.displayName="SwitchThumb";const{withProvider:g,withContext:p,useStyles:_}=E.createSlotRecipeContext({key:"switch"});g(P,"root",{forwardAsChild:!0});const A=g(C,"root",{forwardAsChild:!0}),$=p(b,"label",{forwardAsChild:!0}),F=p(k,"thumb",{forwardAsChild:!0}),L=p(S,"control",{forwardAsChild:!0,defaultProps:{children:i.jsxRuntimeExports.jsx(F,{})}});c.forwardRef(function(e,r){const s=u(),o=_(),{fallback:a,children:d,...h}=e;return i.jsxRuntimeExports.jsx(m.chakra.span,{ref:r,"data-checked":w.dataAttr(s.checked),...h,css:[o.indicator,e.css],children:s.checked?d:a})});c.forwardRef(function(e,r){const s=u(),{fallback:o,children:a,...d}=e;return i.jsxRuntimeExports.jsx(m.chakra.span,{ref:r,"data-checked":w.dataAttr(s.checked),...d,children:s.checked?a:o})});const T=j,H=y.withFormControl(({children:t,indeterminate:e=!1,onContrast:r,label:s,size:o="md",switchRef:a,...d})=>{const h=c.useMemo(()=>e?r?"indeterminateOnContrast":"indeterminate":r?"onContrast":"default",[e,r]);return i.jsxRuntimeExports.jsxs(A,{className:"Switch","data-testid":"kibble-switch",ref:a,size:o,variant:h,...d,children:[i.jsxRuntimeExports.jsx(T,{className:"Switch_Input","data-testid":"kibble-switch-input"}),i.jsxRuntimeExports.jsx(L,{className:"Switch_Control","data-testid":"kibble-switch-control"}),!!t&&i.jsxRuntimeExports.jsx($,{children:t})]})}),v=N.default.forwardRef((t,e)=>i.jsxRuntimeExports.jsx(H,{switchRef:e,...t}));v.displayName="Switch";exports.WrappedSwitch=v;
2
- //# sourceMappingURL=switch.component-Ct8hEoT2.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const l=require("./jsx-runtime-BjDatQAs.js"),_=require("./icon.component-C0e0UGBw.js"),M=require("./notificationCounter.component-BhZcuBmr.js"),H=require("./heading.component-Cuqs0DsG.js"),X=require("./create-slot-recipe-context-IwVIgtBt.js"),p=require("react"),u=require("./portal-TWtD47zg.js"),x=require("./render-strategy-CdSSbgPU.js"),n=require("./index-BlGAWSIX.js");function K(e,t){const[r,a]=p.useState(e);return p.useEffect(()=>{const o=setTimeout(()=>{a(e)},t);return()=>{clearTimeout(o)}},[e,t]),r}const[N,A]=u.createContext({name:"TabsContext",hookName:"useTabsContext",providerName:"<TabsProvider />"}),S=p.forwardRef((e,t)=>{const[r,a]=u.createSplitProps()(e,["value"]),o=A(),s=x.useRenderStrategyPropsContext(),i=u.usePresence({...s,present:K(o.value===e.value,0),immediate:!0}),g=n.mergeProps(o.getContentProps(r),i.getPresenceProps(),a);return l.jsxRuntimeExports.jsx(u.PresenceProvider,{value:i,children:i.unmounted?null:l.jsxRuntimeExports.jsx(u.ark.div,{...g,ref:u.composeRefs(i.ref,t)})})});S.displayName="TabContent";const L=p.forwardRef((e,t)=>{const r=A(),a=n.mergeProps(r.getIndicatorProps(),e);return l.jsxRuntimeExports.jsx(u.ark.div,{...a,ref:t})});L.displayName="TabIndicator";const O=p.forwardRef((e,t)=>{const r=A(),a=n.mergeProps(r.getListProps(),e);return l.jsxRuntimeExports.jsx(u.ark.div,{...a,ref:t})});O.displayName="TabList";const k=p.forwardRef((e,t)=>{const[r,a]=u.createSplitProps()(e,["disabled","value"]),o=A(),s=n.mergeProps(o.getTriggerProps(r),a);return l.jsxRuntimeExports.jsx(u.ark.button,{...s,ref:t})});k.displayName="TabTrigger";var G=n.createAnatomy("tabs").parts("root","list","trigger","content","indicator"),m=G.build(),Y=e=>e.ids?.root??`tabs:${e.id}`,R=e=>e.ids?.list??`tabs:${e.id}:list`,I=(e,t)=>e.ids?.content??`tabs:${e.id}:content-${t}`,v=(e,t)=>e.ids?.trigger??`tabs:${e.id}:trigger-${t}`,B=e=>e.ids?.indicator??`tabs:${e.id}:indicator`,z=e=>e.getById(R(e)),J=(e,t)=>e.getById(I(e,t)),V=(e,t)=>e.getById(v(e,t)),w=e=>e.getById(B(e)),y=e=>{const r=`[role=tab][data-ownedby='${CSS.escape(R(e))}']:not([disabled])`;return n.queryAll(z(e),r)},Q=e=>n.first(y(e)),Z=e=>n.last(y(e)),ee=(e,t)=>n.nextById(y(e),v(e,t.value),t.loopFocus),te=(e,t)=>n.prevById(y(e),v(e,t.value),t.loopFocus),$=e=>({left:e?.offsetLeft??0,top:e?.offsetTop??0,width:e?.offsetWidth??0,height:e?.offsetHeight??0}),ae=(e,t)=>{const r=n.itemById(y(e),v(e,t));return D($(r))},D=e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`});function re(e,t){const{state:r,send:a,context:o,prop:s,scope:i}=e,g=s("translations"),T=r.matches("focused"),P=s("orientation")==="vertical",h=s("orientation")==="horizontal",j=s("composite");function F(c){return{selected:o.get("value")===c.value,focused:o.get("focusedValue")===c.value,disabled:!!c.disabled}}return{value:o.get("value"),focusedValue:o.get("focusedValue"),setValue(c){a({type:"SET_VALUE",value:c})},clearValue(){a({type:"CLEAR_VALUE"})},setIndicatorRect(c){const d=v(i,c);a({type:"SET_INDICATOR_RECT",id:d})},syncTabIndex(){a({type:"SYNC_TAB_INDEX"})},selectNext(c){a({type:"TAB_FOCUS",value:c,src:"selectNext"}),a({type:"ARROW_NEXT",src:"selectNext"})},selectPrev(c){a({type:"TAB_FOCUS",value:c,src:"selectPrev"}),a({type:"ARROW_PREV",src:"selectPrev"})},focus(){const c=o.get("value");c&&V(i,c)?.focus()},getRootProps(){return t.element({...m.root.attrs,id:Y(i),"data-orientation":s("orientation"),"data-focus":n.dataAttr(T),dir:s("dir")})},getListProps(){return t.element({...m.list.attrs,id:R(i),role:"tablist",dir:s("dir"),"data-focus":n.dataAttr(T),"aria-orientation":s("orientation"),"data-orientation":s("orientation"),"aria-label":g?.listLabel,onKeyDown(c){if(c.defaultPrevented||!n.isSelfTarget(c)||n.isComposingEvent(c))return;const d={ArrowDown(){h||a({type:"ARROW_NEXT",key:"ArrowDown"})},ArrowUp(){h||a({type:"ARROW_PREV",key:"ArrowUp"})},ArrowLeft(){P||a({type:"ARROW_PREV",key:"ArrowLeft"})},ArrowRight(){P||a({type:"ARROW_NEXT",key:"ArrowRight"})},Home(){a({type:"HOME"})},End(){a({type:"END"})},Enter(){a({type:"ENTER"})}};let f=n.getEventKey(c,{dir:s("dir"),orientation:s("orientation")});const b=d[f];b&&(c.preventDefault(),b(c))}})},getTriggerState:F,getTriggerProps(c){const{value:d,disabled:f}=c,b=F(c);return t.button({...m.trigger.attrs,role:"tab",type:"button",disabled:f,dir:s("dir"),"data-orientation":s("orientation"),"data-disabled":n.dataAttr(f),"aria-disabled":f,"data-value":d,"aria-selected":b.selected,"data-selected":n.dataAttr(b.selected),"data-focus":n.dataAttr(b.focused),"aria-controls":b.selected?I(i,d):void 0,"data-ownedby":R(i),"data-ssr":n.dataAttr(o.get("ssr")),id:v(i,d),tabIndex:b.selected&&j?0:-1,onFocus(){a({type:"TAB_FOCUS",value:d})},onBlur(C){C.relatedTarget?.getAttribute("role")!=="tab"&&a({type:"TAB_BLUR"})},onClick(C){C.defaultPrevented||f||(n.isSafari()&&C.currentTarget.focus(),a({type:"TAB_CLICK",value:d}))}})},getContentProps(c){const{value:d}=c,f=o.get("value")===d;return t.element({...m.content.attrs,dir:s("dir"),id:I(i,d),tabIndex:j?0:-1,"aria-labelledby":v(i,d),role:"tabpanel","data-ownedby":R(i),"data-selected":n.dataAttr(f),"data-orientation":s("orientation"),hidden:!f})},getIndicatorProps(){const c=o.get("indicatorRect"),d=o.get("indicatorTransition");return t.element({id:B(i),...m.indicator.attrs,dir:s("dir"),"data-orientation":s("orientation"),style:{"--transition-property":"left, right, top, bottom, width, height","--left":c.left,"--top":c.top,"--width":c.width,"--height":c.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:d?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[h?"left":"top"]:h?"var(--left)":"var(--top)"}})}}}var{not:se}=n.createGuards(),oe=n.createMachine({props({props:e}){return{dir:"ltr",orientation:"horizontal",activationMode:"automatic",loopFocus:!0,composite:!0,navigate(t){n.clickIfLink(t.node)},defaultValue:null,...e}},initialState(){return"idle"},context({prop:e,bindable:t}){return{value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(r){e("onValueChange")?.({value:r})}})),focusedValue:t(()=>({defaultValue:e("value")||e("defaultValue"),sync:!0,onChange(r){e("onFocusChange")?.({focusedValue:r})}})),ssr:t(()=>({defaultValue:!0})),indicatorTransition:t(()=>({defaultValue:!1})),indicatorRect:t(()=>({defaultValue:{left:"0px",top:"0px",width:"0px",height:"0px"}}))}},watch({context:e,prop:t,track:r,action:a}){r([()=>e.get("value")],()=>{a(["allowIndicatorTransition","syncIndicatorRect","syncTabIndex","navigateIfNeeded"])}),r([()=>t("dir"),()=>t("orientation")],()=>{a(["syncIndicatorRect"])})},on:{SET_VALUE:{actions:["setValue"]},CLEAR_VALUE:{actions:["clearValue"]},SET_INDICATOR_RECT:{actions:["setIndicatorRect"]},SYNC_TAB_INDEX:{actions:["syncTabIndex"]}},entry:["syncIndicatorRect","syncTabIndex","syncSsr"],exit:["cleanupObserver"],states:{idle:{on:{TAB_FOCUS:{target:"focused",actions:["setFocusedValue"]},TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]},ARROW_PREV:[{guard:"selectOnFocus",actions:["focusPrevTab","selectFocusedTab"]},{actions:["focusPrevTab"]}],ARROW_NEXT:[{guard:"selectOnFocus",actions:["focusNextTab","selectFocusedTab"]},{actions:["focusNextTab"]}],HOME:[{guard:"selectOnFocus",actions:["focusFirstTab","selectFocusedTab"]},{actions:["focusFirstTab"]}],END:[{guard:"selectOnFocus",actions:["focusLastTab","selectFocusedTab"]},{actions:["focusLastTab"]}],ENTER:{guard:se("selectOnFocus"),actions:["selectFocusedTab"]},TAB_FOCUS:{actions:["setFocusedValue"]},TAB_BLUR:{target:"idle",actions:["clearFocusedValue"]}}}},implementations:{guards:{selectOnFocus:({prop:e})=>e("activationMode")==="automatic"},actions:{selectFocusedTab({context:e,prop:t}){n.raf(()=>{const r=e.get("focusedValue");if(!r)return;const o=t("deselectable")&&e.get("value")===r?null:r;e.set("value",o)})},setFocusedValue({context:e,event:t,flush:r}){t.value!=null&&r(()=>{e.set("focusedValue",t.value)})},clearFocusedValue({context:e}){e.set("focusedValue",null)},setValue({context:e,event:t,prop:r}){const a=r("deselectable")&&e.get("value")===e.get("focusedValue");e.set("value",a?null:t.value)},clearValue({context:e}){e.set("value",null)},focusFirstTab({scope:e}){n.raf(()=>{Q(e)?.focus()})},focusLastTab({scope:e}){n.raf(()=>{Z(e)?.focus()})},focusNextTab({context:e,prop:t,scope:r,event:a}){const o=a.value??e.get("focusedValue");if(!o)return;const s=ee(r,{value:o,loopFocus:t("loopFocus")});n.raf(()=>{t("composite")?s?.focus():s?.dataset.value!=null&&e.set("focusedValue",s.dataset.value)})},focusPrevTab({context:e,prop:t,scope:r,event:a}){const o=a.value??e.get("focusedValue");if(!o)return;const s=te(r,{value:o,loopFocus:t("loopFocus")});n.raf(()=>{t("composite")?s?.focus():s?.dataset.value!=null&&e.set("focusedValue",s.dataset.value)})},syncTabIndex({context:e,scope:t}){n.raf(()=>{const r=e.get("value");if(!r)return;const a=J(t,r);if(!a)return;n.getFocusables(a).length>0?a.removeAttribute("tabindex"):a.setAttribute("tabindex","0")})},cleanupObserver({refs:e}){const t=e.get("indicatorCleanup");t&&t()},allowIndicatorTransition({context:e}){e.set("indicatorTransition",!0)},setIndicatorRect({context:e,event:t,scope:r}){const a=t.id??e.get("value");if(!w(r))return;if(!a){e.set("indicatorTransition",!1);return}V(r,a)&&(e.set("indicatorRect",ae(r,a)),n.nextTick(()=>{e.set("indicatorTransition",!1)}))},syncSsr({context:e}){e.set("ssr",!1)},syncIndicatorRect({context:e,refs:t,scope:r}){const a=t.get("indicatorCleanup");a&&a();const o=e.get("value");if(!o){e.set("indicatorTransition",!1);return}const s=V(r,o),i=w(r);if(!s||!i)return;const g=n.trackElementRect([s],{measure(T){return $(T)},onEntry({rects:T}){const[P]=T;e.set("indicatorRect",D(P))}});t.set("indicatorCleanup",g)},navigateIfNeeded({context:e,prop:t,scope:r}){const a=e.get("value");if(!a)return;const o=V(r,a);n.isAnchorElement(o)&&t("navigate")?.({value:a,node:o,href:o.href})}}}});u.createProps()(["activationMode","composite","deselectable","dir","getRootNode","id","ids","loopFocus","navigate","onFocusChange","onValueChange","orientation","translations","value","defaultValue"]);u.createProps()(["disabled","value"]);u.createProps()(["value"]);const ne=e=>{const t=p.useId(),{getRootNode:r}=u.useEnvironmentContext(),{dir:a}=u.useLocaleContext(),o={id:t,dir:a,getRootNode:r,...e},s=u.useMachine(oe,o);return re(s,u.normalizeProps)},U=p.forwardRef((e,t)=>{const[r,a]=x.splitRenderStrategyProps(e),[o,s]=u.createSplitProps()(a,["activationMode","composite","defaultValue","deselectable","id","ids","loopFocus","navigate","onFocusChange","onValueChange","orientation","translations","value"]),i=ne(o),g=n.mergeProps(i.getRootProps(),s);return l.jsxRuntimeExports.jsx(N,{value:i,children:l.jsxRuntimeExports.jsx(x.RenderStrategyPropsProvider,{value:r,children:l.jsxRuntimeExports.jsx(u.ark.div,{...g,ref:t})})})});U.displayName="TabsRoot";const q=p.forwardRef((e,t)=>{const[r,a]=x.splitRenderStrategyProps(e),[{value:o},s]=u.createSplitProps()(a,["value"]),i=n.mergeProps(o.getRootProps(),s);return l.jsxRuntimeExports.jsx(N,{value:o,children:l.jsxRuntimeExports.jsx(x.RenderStrategyPropsProvider,{value:r,children:l.jsxRuntimeExports.jsx(u.ark.div,{...i,ref:t})})})});q.displayName="TabsRootProvider";const{withProvider:W,withContext:E}=X.createSlotRecipeContext({key:"tabs"});W(q,"root",{forwardAsChild:!0});const ie=W(U,"root",{forwardAsChild:!0}),ce=E(k,"trigger",{forwardAsChild:!0}),ue=E(S,"content",{forwardAsChild:!0});E("div","contentGroup");const le=E(O,"list",{forwardAsChild:!0});E(L,"indicator",{forwardAsChild:!0});const de={xs:"sm",sm:"md",md:"md",lg:"lg"},ge={xs:"xs",sm:"xs",md:"sm",lg:"md"},fe=({iconName:e,iconPosition:t="left",label:r,notificationCounterProps:a,showNotificationCounter:o,size:s="md",...i})=>l.jsxRuntimeExports.jsxs(ce,{className:"Tab","data-testid":"kibble-tab",...i,children:[!!e&&t==="left"&&l.jsxRuntimeExports.jsx(_.Icon,{className:"Tab__Icon","data-testid":"kibble-tab-icon",name:e,size:s,variant:"default"}),l.jsxRuntimeExports.jsx(H.WrappedHeading,{className:"Tab__Label","data-testid":"kibble-tab-label",size:ge[s],children:r}),!!e&&t==="right"&&l.jsxRuntimeExports.jsx(_.Icon,{className:"Tab__Icon","data-testid":"kibble-tab-icon",name:e,size:s}),o&&l.jsxRuntimeExports.jsx(M.NotificationCounter,{className:"Tab__NotificationCounter","data-testid":"kibble-tab-notification-counter",...a,size:de[s]})]}),pe=({align:e="start",onChange:t,size:r="md",tabs:a,tabsContents:o,...s})=>l.jsxRuntimeExports.jsxs(ie,{className:"Tabs","data-testid":"kibble-tabs",justify:e||s.justify,size:r,onValueChange:({value:i})=>t?.(i),...s,children:[l.jsxRuntimeExports.jsx(le,{className:"Tabs__List","data-testid":"kibble-tabs-list",children:a.map((i,g)=>l.jsxRuntimeExports.jsx(fe,{...i},`tab-${g}`))}),!!o&&o.map((i,g)=>l.jsxRuntimeExports.jsx(ue,{...i},`tabContent-${g}`))]});exports.Tabs=pe;
2
- //# sourceMappingURL=tabs.component-DDmnq9Yj.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const e=require("./jsx-runtime-BjDatQAs.js"),u=require("react"),y=require("./withFormControl-DhWavZor.js"),P=require("./button.component-Dd9AfGox.js"),b=require("./characterCounter.component-C2e2l-WJ.js"),T=require("./box-Baq7UBls.js"),k=require("./empty-B5_AO6Pg.js"),I=require("./factory-D6tdBUPG.js"),w=require("./use-recipe-DaPWl_pL.js"),A=require("./group-Cv7AQw1b.js"),v=require("./create-recipe-context-sESms8Eo.js"),N=require("./portal-TWtD47zg.js"),S=require("./use-field-context-xBX4EpFz.js"),F=require("./index-BlGAWSIX.js"),B=t=>t&&t.__esModule?t:{default:t},G=B(u),C=u.forwardRef((t,r)=>{const n=S.useFieldContext(),s=F.mergeProps(n?.getInputProps(),t);return e.jsxRuntimeExports.jsx(N.ark.input,{...s,ref:r})});C.displayName="FieldInput";const{withContext:M}=v.createRecipeContext({key:"input"}),z=M(C),R=u.forwardRef(function({unstyled:r,...n},s){const c=w.useRecipe({key:"inputAddon",recipe:n.recipe}),[i,a]=c.splitVariantProps(n),o=r?k.EMPTY_SLOT_STYLES:c(i);return e.jsxRuntimeExports.jsx(I.chakra.div,{ref:s,...a,css:[o,n.css]})}),E=I.chakra("div",{base:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",zIndex:2,color:"fg.muted",height:"full",fontSize:"sm",px:"3"},variants:{placement:{start:{insetInlineStart:"0"},end:{insetInlineEnd:"0"}}}}),D=u.forwardRef(function(r,n){const{startElement:s,startElementProps:c,endElement:i,endElementProps:a,startAddon:o,startAddonProps:m,endAddon:d,endAddonProps:x,children:l,startOffset:p="0px",endOffset:f="0px",...h}=r,j=u.Children.only(l),g=!!(o||d);return e.jsxRuntimeExports.jsxs(A.Group,{width:"full",ref:n,attached:g,skip:q=>q.type===E,...h,children:[o&&e.jsxRuntimeExports.jsx(R,{...m,children:o}),s&&e.jsxRuntimeExports.jsx(E,{pointerEvents:"none",...c,children:s}),u.cloneElement(j,{...s&&{ps:`calc(var(--input-height) - ${p})`},...i&&{pe:`calc(var(--input-height) - ${f})`},...l.props}),i&&e.jsxRuntimeExports.jsx(E,{placement:"end",...a,children:i}),d&&e.jsxRuntimeExports.jsx(R,{...x,children:d})]})}),O={sm:"xs",md:"sm",lg:"md"},W=y.withFormControl(({charLimit:t=void 0,clearable:r=!1,disabled:n=!1,inputRef:s,invalid:c,leftAddon:i,leftElement:a,onClear:o,onContrast:m,rightAddon:d,rightElement:x,size:l="md",value:p,...f})=>{const h=()=>{o&&o(p||"")};r&&p&&!n&&(x=e.jsxRuntimeExports.jsx(P.Button,{className:"TextInput__ClearButton","data-testid":"kibble-text-input-clear-button",size:O[l],variant:"ghostNeutral",onClick:h,iconName:"close"}));const j=u.useMemo(()=>p?.toString()?.length||0,[p]);return e.jsxRuntimeExports.jsxs(T.Box,{className:"TextInput__Wrapper",position:"relative",w:"100%",children:[e.jsxRuntimeExports.jsx(D,{className:"TextInput__InputGroup","data-testid":"kibble-text-input-group",startElement:a,startElementProps:{color:"inherit",_groupDisabled:{opacity:.6}},endElement:x,endElementProps:{color:"inherit",paddingInline:1.5,_groupDisabled:{opacity:.6}},startAddon:i,endAddon:d,children:e.jsxRuntimeExports.jsx(z,{"data-testid":"kibble-text-input",className:"TextInput",ref:s,value:p,size:l,disabled:n,...c&&{"aria-invalid":!0},variant:m?"onContrast":"default",...f})}),!!t&&e.jsxRuntimeExports.jsx(b.CharacterCounter,{withLimit:!0,limit:t,currentCount:j})]})}),_=G.default.forwardRef((t,r)=>e.jsxRuntimeExports.jsx(W,{inputRef:r,...t}));_.displayName="TextInput";exports.WrappedTextInput=_;
2
- //# sourceMappingURL=textInput.component-HHNykQ9Q.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const c=require("./jsx-runtime-BjDatQAs.js"),u=require("react"),h=require("./withFormControl-DhWavZor.js"),v=require("./characterCounter.component-C2e2l-WJ.js"),g=require("./flex-D14H6HbP.js"),w=require("./create-recipe-context-sESms8Eo.js"),x=require("./index-BlGAWSIX.js"),l=require("./portal-TWtD47zg.js"),b=require("./use-field-context-xBX4EpFz.js"),R=e=>e&&e.__esModule?e:{default:e},F=R(u);var y=e=>{if(!e)return;const t=x.getComputedStyle(e),o=x.getWindow(e),s=x.getDocument(e),r=()=>{requestAnimationFrame(()=>{e.style.height="auto";let i;t.boxSizing==="content-box"?i=e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):i=e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),t.maxHeight!=="none"&&i>parseFloat(t.maxHeight)?(t.overflowY==="hidden"&&(e.style.overflowY="scroll"),i=parseFloat(t.maxHeight)):t.overflowY!=="hidden"&&(e.style.overflowY="hidden"),e.style.height=`${i}px`})};e.addEventListener("input",r),e.form?.addEventListener("reset",r);const n=Object.getPrototypeOf(e),a=Object.getOwnPropertyDescriptor(n,"value");Object.defineProperty(e,"value",{...a,set(){a?.set?.apply(this,arguments),r()}});const d=new o.ResizeObserver(()=>{requestAnimationFrame(()=>r())});d.observe(e);const p=new o.MutationObserver(()=>r());return p.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),s.fonts?.addEventListener("loadingdone",r),()=>{e.removeEventListener("input",r),e.form?.removeEventListener("reset",r),s.fonts?.removeEventListener("loadingdone",r),d.disconnect(),p.disconnect()}};const m=u.forwardRef((e,t)=>{const{autoresize:o,...s}=e,r=u.useRef(null),n=b.useFieldContext(),a=x.mergeProps(n?.getTextareaProps(),{style:{resize:o?"none":void 0}},s);return u.useEffect(()=>{if(o)return y(r.current)},[o]),c.jsxRuntimeExports.jsx(l.ark.textarea,{...a,ref:l.composeRefs(t,r)})});m.displayName="FieldTextarea";const{withContext:C}=w.createRecipeContext({key:"textarea"}),j=C(m),T=h.withFormControl(({charLimit:e=void 0,invalid:t,onContrast:o,resize:s="none",textareaRef:r,value:n,...a})=>{const d=o?"onContrast":"default",p=u.useMemo(()=>n?.toString()?.length||0,[n]);return c.jsxRuntimeExports.jsxs(g.Flex,{className:"Textarea__Wrapper",position:"relative",w:"100%",children:[c.jsxRuntimeExports.jsx(j,{className:"Textarea","data-testid":"kibble-textarea",resize:s,variant:d,value:n,...t&&{"aria-invalid":!0},minH:"140px",...a,ref:r}),!!e&&c.jsxRuntimeExports.jsx(v.CharacterCounter,{withLimit:!0,limit:e,currentCount:p})]})}),f=F.default.forwardRef((e,t)=>c.jsxRuntimeExports.jsx(T,{textareaRef:t,...e}));f.displayName="Textarea";exports.WrappedTextArea=f;
2
- //# sourceMappingURL=textarea.component-FFs6Uln9.js.map