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

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 (407) hide show
  1. package/dist/chunks/{alert.types-B7BlPX2-.js → alert.types-BTwB1SOp.js} +11 -10
  2. package/dist/chunks/{alert.types-B7BlPX2-.js.map → alert.types-BTwB1SOp.js.map} +1 -1
  3. package/dist/chunks/alert.types-Cjh2MIRP.js +2 -0
  4. package/dist/chunks/{alert.types-BsvcbTZD.js.map → alert.types-Cjh2MIRP.js.map} +1 -1
  5. package/dist/chunks/attr-BMs6szZx.js +2 -0
  6. package/dist/chunks/attr-BMs6szZx.js.map +1 -0
  7. package/dist/chunks/attr-sm10PXOd.js +5 -0
  8. package/dist/chunks/attr-sm10PXOd.js.map +1 -0
  9. package/dist/chunks/{avatar.component-CB5m8zha.js → avatar.component-BnOmYhL2.js} +27 -27
  10. package/dist/chunks/{avatar.component-CB5m8zha.js.map → avatar.component-BnOmYhL2.js.map} +1 -1
  11. package/dist/chunks/avatar.component-CbtJE4RJ.js +2 -0
  12. package/dist/chunks/{avatar.component-RKtP3MZt.js.map → avatar.component-CbtJE4RJ.js.map} +1 -1
  13. package/dist/chunks/{avatarGroup.component-CKFjjo2R.js → avatarGroup.component-Bcb1Fxwv.js} +2 -2
  14. package/dist/chunks/{avatarGroup.component-CKFjjo2R.js.map → avatarGroup.component-Bcb1Fxwv.js.map} +1 -1
  15. package/dist/chunks/{avatarGroup.component-CjBeAxHZ.js → avatarGroup.component-D4lmT752.js} +2 -2
  16. package/dist/chunks/{avatarGroup.component-CjBeAxHZ.js.map → avatarGroup.component-D4lmT752.js.map} +1 -1
  17. package/dist/chunks/{button.component-DahLrK9h.js → button.component-BpF3MzbZ.js} +3 -3
  18. package/dist/chunks/{button.component-DahLrK9h.js.map → button.component-BpF3MzbZ.js.map} +1 -1
  19. package/dist/chunks/{button.component-BQA_MGYQ.js → button.component-Dd9AfGox.js} +2 -2
  20. package/dist/chunks/{button.component-BQA_MGYQ.js.map → button.component-Dd9AfGox.js.map} +1 -1
  21. package/dist/chunks/{buttonGroup.component-UKmJh2zn.js → buttonGroup.component-DzQFhbS7.js} +5 -5
  22. package/dist/chunks/{buttonGroup.component-UKmJh2zn.js.map → buttonGroup.component-DzQFhbS7.js.map} +1 -1
  23. package/dist/chunks/{buttonGroup.component-BI44nuxH.js → buttonGroup.component-aes3EERQ.js} +2 -2
  24. package/dist/chunks/{buttonGroup.component-BI44nuxH.js.map → buttonGroup.component-aes3EERQ.js.map} +1 -1
  25. package/dist/chunks/{characterCounter.component-xgc8P1mp.js → characterCounter.component-UgnBVIt2.js} +2 -2
  26. package/dist/chunks/{characterCounter.component-xgc8P1mp.js.map → characterCounter.component-UgnBVIt2.js.map} +1 -1
  27. package/dist/chunks/characterCounter.component-WGffeYNG.js +2 -0
  28. package/dist/chunks/{characterCounter.component-B8efVNy4.js.map → characterCounter.component-WGffeYNG.js.map} +1 -1
  29. package/dist/chunks/checkbox.component-BEP-GPhs.js +2 -0
  30. package/dist/chunks/{checkbox.component-DO9NDbmM.js.map → checkbox.component-BEP-GPhs.js.map} +1 -1
  31. package/dist/chunks/{checkbox.component-5GtlYTnJ.js → checkbox.component-C6lXKzXZ.js} +16 -16
  32. package/dist/chunks/{checkbox.component-5GtlYTnJ.js.map → checkbox.component-C6lXKzXZ.js.map} +1 -1
  33. package/dist/chunks/checkbox.records-CXszv_gF.js +2 -0
  34. package/dist/chunks/{checkbox.records-D7NUtCRR.js.map → checkbox.records-CXszv_gF.js.map} +1 -1
  35. package/dist/chunks/{checkbox.records-69wNHjsY.js → checkbox.records-Gz6DOO_0.js} +8 -8
  36. package/dist/chunks/{checkbox.records-69wNHjsY.js.map → checkbox.records-Gz6DOO_0.js.map} +1 -1
  37. package/dist/chunks/{checkboxGroup.component-C1sPgVro.js → checkboxGroup.component-Dc_r6mYN.js} +2 -2
  38. package/dist/chunks/{checkboxGroup.component-C1sPgVro.js.map → checkboxGroup.component-Dc_r6mYN.js.map} +1 -1
  39. package/dist/chunks/{checkboxGroup.component-Dq3jCGDU.js → checkboxGroup.component-DhXdSILq.js} +3 -3
  40. package/dist/chunks/{checkboxGroup.component-Dq3jCGDU.js.map → checkboxGroup.component-DhXdSILq.js.map} +1 -1
  41. package/dist/chunks/conversationCard.component-1OCCeSNc.js +2 -0
  42. package/dist/chunks/{conversationCard.component-qWYvoxVn.js.map → conversationCard.component-1OCCeSNc.js.map} +1 -1
  43. package/dist/chunks/{conversationCard.component-LpR5eSru.js → conversationCard.component-Eb3E-4jY.js} +20 -18
  44. package/dist/chunks/{conversationCard.component-LpR5eSru.js.map → conversationCard.component-Eb3E-4jY.js.map} +1 -1
  45. package/dist/chunks/{datePicker.component-DVR8Ech4.js → datePicker.component-CTbeLdvH.js} +87 -85
  46. package/dist/chunks/{datePicker.component-DVR8Ech4.js.map → datePicker.component-CTbeLdvH.js.map} +1 -1
  47. package/dist/chunks/datePicker.component-DvAwsX_7.js +15 -0
  48. package/dist/chunks/{datePicker.component-CLR0tErm.js.map → datePicker.component-DvAwsX_7.js.map} +1 -1
  49. package/dist/chunks/dialog-trigger-B5NK0lr-.js +2 -0
  50. package/dist/chunks/{dialog-trigger-JNnMRY13.js.map → dialog-trigger-B5NK0lr-.js.map} +1 -1
  51. package/dist/chunks/{dialog-trigger-C6rpz6Do.js → dialog-trigger-BPlPzPU-.js} +9 -9
  52. package/dist/chunks/{dialog-trigger-C6rpz6Do.js.map → dialog-trigger-BPlPzPU-.js.map} +1 -1
  53. package/dist/chunks/group-Cv7AQw1b.js +2 -0
  54. package/dist/chunks/{group-Dv1hO5IW.js.map → group-Cv7AQw1b.js.map} +1 -1
  55. package/dist/chunks/{group-DKypflCt.js → group-DPCVolOl.js} +2 -2
  56. package/dist/chunks/{group-DKypflCt.js.map → group-DPCVolOl.js.map} +1 -1
  57. package/dist/chunks/heading.component-DJaIpxi0.js +12 -0
  58. package/dist/chunks/heading.component-DJaIpxi0.js.map +1 -0
  59. package/dist/chunks/heading.component-lFK21HJl.js +2 -0
  60. package/dist/chunks/heading.component-lFK21HJl.js.map +1 -0
  61. package/dist/chunks/icon-button-DTZOklQ9.js +119 -0
  62. package/dist/chunks/icon-button-DTZOklQ9.js.map +1 -0
  63. package/dist/chunks/icon-button-DtjZ-SdQ.js +2 -0
  64. package/dist/chunks/icon-button-DtjZ-SdQ.js.map +1 -0
  65. package/dist/chunks/icon.component-C0e0UGBw.js +2 -0
  66. package/dist/chunks/icon.component-C0e0UGBw.js.map +1 -0
  67. package/dist/chunks/icon.component-DGNCL1Yc.js +42 -0
  68. package/dist/chunks/icon.component-DGNCL1Yc.js.map +1 -0
  69. package/dist/chunks/index-BBZxmcrY.js +2 -0
  70. package/dist/chunks/index-BBZxmcrY.js.map +1 -0
  71. package/dist/chunks/index-BDnnTdaJ.js +2 -0
  72. package/dist/chunks/{index-BiyIeWSg.js.map → index-BDnnTdaJ.js.map} +1 -1
  73. package/dist/chunks/index-BGwwyukg.js +2 -0
  74. package/dist/chunks/index-BGwwyukg.js.map +1 -0
  75. package/dist/chunks/index-BNYygzo-.js +376 -0
  76. package/dist/chunks/index-BNYygzo-.js.map +1 -0
  77. package/dist/chunks/index-BYf7SZUC.js +2 -0
  78. package/dist/chunks/{index-DeprNCOL.js.map → index-BYf7SZUC.js.map} +1 -1
  79. package/dist/chunks/{index-CxHMu1In.js → index-C2kxTsiE.js} +23 -21
  80. package/dist/chunks/{index-CxHMu1In.js.map → index-C2kxTsiE.js.map} +1 -1
  81. package/dist/chunks/index-COoMV9Mh.js +2 -0
  82. package/dist/chunks/{index-BpKhRg2I.js.map → index-COoMV9Mh.js.map} +1 -1
  83. package/dist/chunks/index-CYk-7wwG.js +1018 -0
  84. package/dist/chunks/index-CYk-7wwG.js.map +1 -0
  85. package/dist/chunks/index-CZ42b9rT.js +3 -0
  86. package/dist/chunks/index-CZ42b9rT.js.map +1 -0
  87. package/dist/chunks/index-CZz7hHWb.js +2 -0
  88. package/dist/chunks/index-CZz7hHWb.js.map +1 -0
  89. package/dist/chunks/{index-DRABh-Lp.js → index-CjNAJEk5.js} +106 -105
  90. package/dist/chunks/{index-DRABh-Lp.js.map → index-CjNAJEk5.js.map} +1 -1
  91. package/dist/chunks/{index-B9cDqm2a.js → index-Co91SHhW.js} +3 -3
  92. package/dist/chunks/{index-B9cDqm2a.js.map → index-Co91SHhW.js.map} +1 -1
  93. package/dist/chunks/index-D-rN7ETu.js +2 -0
  94. package/dist/chunks/{index-CmVbgcH8.js.map → index-D-rN7ETu.js.map} +1 -1
  95. package/dist/chunks/{index-BL1VW2oK.js → index-D9DU-5GF.js} +55 -54
  96. package/dist/chunks/{index-BL1VW2oK.js.map → index-D9DU-5GF.js.map} +1 -1
  97. package/dist/chunks/index-DUHFrLMI.js +389 -0
  98. package/dist/chunks/index-DUHFrLMI.js.map +1 -0
  99. package/dist/chunks/{index-Bn03tQNC.js → index-DcJZ8q0f.js} +20 -19
  100. package/dist/chunks/{index-Bn03tQNC.js.map → index-DcJZ8q0f.js.map} +1 -1
  101. package/dist/chunks/index-MlhL0PDC.js +2 -0
  102. package/dist/chunks/{index-CzzrUbmu.js.map → index-MlhL0PDC.js.map} +1 -1
  103. package/dist/chunks/{index-YfA5zlSf.js → index-S1uNQPZj.js} +5 -5
  104. package/dist/chunks/{index-YfA5zlSf.js.map → index-S1uNQPZj.js.map} +1 -1
  105. package/dist/chunks/index-UWtj4ULm.js +8 -0
  106. package/dist/chunks/{index-DFbSzgk8.js.map → index-UWtj4ULm.js.map} +1 -1
  107. package/dist/chunks/index-ZaGEDS_0.js +2 -0
  108. package/dist/chunks/{index-BDCLWoQU.js.map → index-ZaGEDS_0.js.map} +1 -1
  109. package/dist/chunks/index-j7W9Hyzx.js +322 -0
  110. package/dist/chunks/index-j7W9Hyzx.js.map +1 -0
  111. package/dist/chunks/{index-Ciu8P7c-.js → index-ryFIinh4.js} +7 -7
  112. package/dist/chunks/{index-Ciu8P7c-.js.map → index-ryFIinh4.js.map} +1 -1
  113. package/dist/chunks/{link.component-BQJI6gPi.js → link.component-CCFg-LIe.js} +2 -2
  114. package/dist/chunks/{link.component-BQJI6gPi.js.map → link.component-CCFg-LIe.js.map} +1 -1
  115. package/dist/chunks/{link.component-Cs05IsXP.js → link.component-DprieyUG.js} +2 -2
  116. package/dist/chunks/{link.component-Cs05IsXP.js.map → link.component-DprieyUG.js.map} +1 -1
  117. package/dist/chunks/{menu.component-CAr2xdZY.js → menu.component-CrRs7bHi.js} +28 -28
  118. package/dist/chunks/{menu.component-CAr2xdZY.js.map → menu.component-CrRs7bHi.js.map} +1 -1
  119. package/dist/chunks/menu.component-Ob_ob-5Z.js +2 -0
  120. package/dist/chunks/{menu.component-BgAx3SsR.js.map → menu.component-Ob_ob-5Z.js.map} +1 -1
  121. package/dist/chunks/modal.types-Bq8QqBuR.js +2 -0
  122. package/dist/chunks/{modal.types-CtHJAyfq.js.map → modal.types-Bq8QqBuR.js.map} +1 -1
  123. package/dist/chunks/{modal.types-B7PDc2GJ.js → modal.types-DCe2G-mT.js} +6 -6
  124. package/dist/chunks/{modal.types-B7PDc2GJ.js.map → modal.types-DCe2G-mT.js.map} +1 -1
  125. package/dist/chunks/{pinInput.types-TfkrphC7.js → pinInput.types-ChHs2RV-.js} +17 -17
  126. package/dist/chunks/{pinInput.types-TfkrphC7.js.map → pinInput.types-ChHs2RV-.js.map} +1 -1
  127. package/dist/chunks/pinInput.types-hI4GxH_1.js +2 -0
  128. package/dist/chunks/{pinInput.types-a0_2OLBO.js.map → pinInput.types-hI4GxH_1.js.map} +1 -1
  129. package/dist/chunks/popover-80QH8HEJ.js +2 -0
  130. package/dist/chunks/popover-80QH8HEJ.js.map +1 -0
  131. package/dist/chunks/popover-B9rNOU0g.js +110 -0
  132. package/dist/chunks/popover-B9rNOU0g.js.map +1 -0
  133. package/dist/chunks/popover-root-provider-CeLLpesI.js +43 -0
  134. package/dist/chunks/popover-root-provider-CeLLpesI.js.map +1 -0
  135. package/dist/chunks/popover-root-provider-DAMDDAHQ.js +2 -0
  136. package/dist/chunks/popover-root-provider-DAMDDAHQ.js.map +1 -0
  137. package/dist/chunks/popover.component-BIpq3zkh.js +322 -0
  138. package/dist/chunks/popover.component-BIpq3zkh.js.map +1 -0
  139. package/dist/chunks/popover.component-Dz0_vSF2.js +2 -0
  140. package/dist/chunks/popover.component-Dz0_vSF2.js.map +1 -0
  141. package/dist/chunks/popover.recipe--gMRcQTS.js +479 -0
  142. package/dist/chunks/popover.recipe--gMRcQTS.js.map +1 -0
  143. package/dist/chunks/popover.recipe-DLeyokHo.js +2 -0
  144. package/dist/chunks/popover.recipe-DLeyokHo.js.map +1 -0
  145. package/dist/chunks/radio.records-CAWibIHJ.js +2 -0
  146. package/dist/chunks/{radio.records-zKzNxtns.js.map → radio.records-CAWibIHJ.js.map} +1 -1
  147. package/dist/chunks/{radio.records-DBS_lqNe.js → radio.records-gz4RRw4x.js} +9 -9
  148. package/dist/chunks/{radio.records-DBS_lqNe.js.map → radio.records-gz4RRw4x.js.map} +1 -1
  149. package/dist/chunks/{radioGroup.component-DBLLIgCZ.js → radioGroup.component-wTDMlFMI.js} +17 -17
  150. package/dist/chunks/{radioGroup.component-DBLLIgCZ.js.map → radioGroup.component-wTDMlFMI.js.map} +1 -1
  151. package/dist/chunks/radioGroup.component-xCr6p4DS.js +2 -0
  152. package/dist/chunks/{radioGroup.component-fpo_KMOY.js.map → radioGroup.component-xCr6p4DS.js.map} +1 -1
  153. package/dist/chunks/{ratingDots.component-DG2nCpxT.js → ratingDots.component-DNeSgGRt.js} +5 -5
  154. package/dist/chunks/{ratingDots.component-DG2nCpxT.js.map → ratingDots.component-DNeSgGRt.js.map} +1 -1
  155. package/dist/chunks/ratingDots.component-DvlGbBPz.js +2 -0
  156. package/dist/chunks/{ratingDots.component-DJEDUD_9.js.map → ratingDots.component-DvlGbBPz.js.map} +1 -1
  157. package/dist/chunks/render-strategy-BmWbSgqh.js +2 -0
  158. package/dist/chunks/{render-strategy-C80bGq2n.js.map → render-strategy-BmWbSgqh.js.map} +1 -1
  159. package/dist/chunks/{render-strategy-DN75XQJB.js → render-strategy-C8hwN3bm.js} +2 -2
  160. package/dist/chunks/{render-strategy-DN75XQJB.js.map → render-strategy-C8hwN3bm.js.map} +1 -1
  161. package/dist/chunks/select.component-1__YvaFF.js +2 -0
  162. package/dist/chunks/{select.component-Bmop2_tX.js.map → select.component-1__YvaFF.js.map} +1 -1
  163. package/dist/chunks/{select.component-DyXwbDeO.js → select.component-DN5g4aQG.js} +46 -46
  164. package/dist/chunks/{select.component-DyXwbDeO.js.map → select.component-DN5g4aQG.js.map} +1 -1
  165. package/dist/chunks/{sortableList.component-CbZAQrKl.js → sortableList.component-DI2da4B_.js} +4 -4
  166. package/dist/chunks/{sortableList.component-CbZAQrKl.js.map → sortableList.component-DI2da4B_.js.map} +1 -1
  167. package/dist/chunks/{sortableList.component-b2t_K7ho.js → sortableList.component-U3Kci1Jk.js} +2 -2
  168. package/dist/chunks/{sortableList.component-b2t_K7ho.js.map → sortableList.component-U3Kci1Jk.js.map} +1 -1
  169. package/dist/chunks/spinner-BWqSIW6m.js +8 -0
  170. package/dist/chunks/spinner-BWqSIW6m.js.map +1 -0
  171. package/dist/chunks/spinner-BnpL14kK.js +2 -0
  172. package/dist/chunks/spinner-BnpL14kK.js.map +1 -0
  173. package/dist/chunks/{spinner.component-B1vU-FCd.js → spinner.component-DER6c5R6.js} +4 -4
  174. package/dist/chunks/{spinner.component-B1vU-FCd.js.map → spinner.component-DER6c5R6.js.map} +1 -1
  175. package/dist/chunks/spinner.component-DUIpnXU8.js +2 -0
  176. package/dist/chunks/{spinner.component-CjQb7JjK.js.map → spinner.component-DUIpnXU8.js.map} +1 -1
  177. package/dist/chunks/{styledAvatar.types-DstfmllC.js → styledAvatar.types-EGc1-I1N.js} +2 -2
  178. package/dist/chunks/{styledAvatar.types-DstfmllC.js.map → styledAvatar.types-EGc1-I1N.js.map} +1 -1
  179. package/dist/chunks/{styledAvatar.types-D8VWyELN.js → styledAvatar.types-HA5wRy7y.js} +2 -2
  180. package/dist/chunks/{styledAvatar.types-D8VWyELN.js.map → styledAvatar.types-HA5wRy7y.js.map} +1 -1
  181. package/dist/chunks/{switch.component-DO9fxk_-.js → switch.component-6TiuST9H.js} +22 -22
  182. package/dist/chunks/{switch.component-DO9fxk_-.js.map → switch.component-6TiuST9H.js.map} +1 -1
  183. package/dist/chunks/switch.component-BPS2pQZx.js +2 -0
  184. package/dist/chunks/{switch.component-ARZzuYrq.js.map → switch.component-BPS2pQZx.js.map} +1 -1
  185. package/dist/chunks/tabs.component-DnbHYXT-.js +2 -0
  186. package/dist/chunks/{tabs.component-DRpNF8p-.js.map → tabs.component-DnbHYXT-.js.map} +1 -1
  187. package/dist/chunks/{tabs.component-BWTDtLWN.js → tabs.component-RpmipiEe.js} +55 -55
  188. package/dist/chunks/{tabs.component-BWTDtLWN.js.map → tabs.component-RpmipiEe.js.map} +1 -1
  189. package/dist/chunks/{tagBlock.component-C3BrjwNJ.js → tagBlock.component-C-CNF4In.js} +17 -16
  190. package/dist/chunks/{tagBlock.component-C3BrjwNJ.js.map → tagBlock.component-C-CNF4In.js.map} +1 -1
  191. package/dist/chunks/tagBlock.component-DgmTLlRz.js +2 -0
  192. package/dist/chunks/{tagBlock.component-Bahf1v33.js.map → tagBlock.component-DgmTLlRz.js.map} +1 -1
  193. package/dist/chunks/text.component-BGUHMpKP.js +12 -0
  194. package/dist/chunks/text.component-BGUHMpKP.js.map +1 -0
  195. package/dist/chunks/text.component-BJ5u8GVO.js +2 -0
  196. package/dist/chunks/text.component-BJ5u8GVO.js.map +1 -0
  197. package/dist/chunks/{textInput.component-LPGbDHwZ.js → textInput.component-B2S0GcHU.js} +14 -14
  198. package/dist/chunks/{textInput.component-LPGbDHwZ.js.map → textInput.component-B2S0GcHU.js.map} +1 -1
  199. package/dist/chunks/textInput.component-D1L2qv1M.js +2 -0
  200. package/dist/chunks/{textInput.component-DDo9eUvp.js.map → textInput.component-D1L2qv1M.js.map} +1 -1
  201. package/dist/chunks/textarea.component-BEgF2Yny.js +2 -0
  202. package/dist/chunks/{textarea.component-5Ou5g_MJ.js.map → textarea.component-BEgF2Yny.js.map} +1 -1
  203. package/dist/chunks/{textarea.component-ClYqhTJX.js → textarea.component-DB51bevU.js} +12 -12
  204. package/dist/chunks/{textarea.component-ClYqhTJX.js.map → textarea.component-DB51bevU.js.map} +1 -1
  205. package/dist/chunks/{theme.provider-vZgSb-q5.js → theme.provider-Dez6uepg.js} +1900 -2011
  206. package/dist/chunks/theme.provider-Dez6uepg.js.map +1 -0
  207. package/dist/chunks/theme.provider-u0ofgWRM.js +26 -0
  208. package/dist/chunks/theme.provider-u0ofgWRM.js.map +1 -0
  209. package/dist/chunks/{timePicker.component-AgnrqtFu.js → timePicker.component-DsQUV8fR.js} +4 -4
  210. package/dist/chunks/{timePicker.component-AgnrqtFu.js.map → timePicker.component-DsQUV8fR.js.map} +1 -1
  211. package/dist/chunks/{timePicker.component-Bx0fHgrN.js → timePicker.component-av1t2G-i.js} +2 -2
  212. package/dist/chunks/{timePicker.component-Bx0fHgrN.js.map → timePicker.component-av1t2G-i.js.map} +1 -1
  213. package/dist/chunks/{timeRange.component-B3Nv-nLB.js → timeRange.component-B7syLsrU.js} +2 -2
  214. package/dist/chunks/{timeRange.component-B3Nv-nLB.js.map → timeRange.component-B7syLsrU.js.map} +1 -1
  215. package/dist/chunks/{timeRange.component-C14RiUcS.js → timeRange.component-bIQZJ4MP.js} +2 -2
  216. package/dist/chunks/{timeRange.component-C14RiUcS.js.map → timeRange.component-bIQZJ4MP.js.map} +1 -1
  217. package/dist/chunks/timestamp.component-CNlZ6Jw2.js +2 -0
  218. package/dist/chunks/{timestamp.component-DEx0cUkA.js.map → timestamp.component-CNlZ6Jw2.js.map} +1 -1
  219. package/dist/chunks/timestamp.component-ZcL8FlD-.js +54 -0
  220. package/dist/chunks/{timestamp.component-Kxi_bKp1.js.map → timestamp.component-ZcL8FlD-.js.map} +1 -1
  221. package/dist/chunks/{toaster.records-CKeu_PyD.js → toaster.records-BGfpUOVt.js} +22 -21
  222. package/dist/chunks/{toaster.records-CKeu_PyD.js.map → toaster.records-BGfpUOVt.js.map} +1 -1
  223. package/dist/chunks/toaster.records-BJo0j1IZ.js +2 -0
  224. package/dist/chunks/{toaster.records-CGym-iT-.js.map → toaster.records-BJo0j1IZ.js.map} +1 -1
  225. package/dist/chunks/tooltip.component-B4S3qwsH.js +2 -0
  226. package/dist/chunks/tooltip.component-B4S3qwsH.js.map +1 -0
  227. package/dist/chunks/tooltip.component-OLohVRIH.js +755 -0
  228. package/dist/chunks/tooltip.component-OLohVRIH.js.map +1 -0
  229. package/dist/chunks/{icon.component-D84o075X.js → typography-Cqrokog3.js} +6 -43
  230. package/dist/chunks/typography-Cqrokog3.js.map +1 -0
  231. package/dist/chunks/typography-CtiaGoJG.js +2 -0
  232. package/dist/chunks/typography-CtiaGoJG.js.map +1 -0
  233. package/dist/chunks/{typography.records-BeoK0Uyj.js → typography.records-C6G_65b4.js} +2 -2
  234. package/dist/chunks/{typography.records-BeoK0Uyj.js.map → typography.records-C6G_65b4.js.map} +1 -1
  235. package/dist/chunks/{typography.records-XkUlmiSk.js → typography.records-jnjWfTLS.js} +2 -2
  236. package/dist/chunks/{typography.records-XkUlmiSk.js.map → typography.records-jnjWfTLS.js.map} +1 -1
  237. package/dist/chunks/use-field-context--wBJQY1R.js +2 -0
  238. package/dist/chunks/{use-field-context-DnTe9gdc.js.map → use-field-context--wBJQY1R.js.map} +1 -1
  239. package/dist/chunks/{use-field-context-1gfMkjvo.js → use-field-context-B_G7Yziz.js} +2 -2
  240. package/dist/chunks/{use-field-context-1gfMkjvo.js.map → use-field-context-B_G7Yziz.js.map} +1 -1
  241. package/dist/chunks/use-locale-context-BdqHZ8L8.js +22 -0
  242. package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +1 -0
  243. package/dist/chunks/use-locale-context-D-agiW5E.js +2301 -0
  244. package/dist/chunks/use-locale-context-D-agiW5E.js.map +1 -0
  245. package/dist/chunks/{withFormControl-DfqMqkSU.js → withFormControl-DIT4DbIl.js} +39 -39
  246. package/dist/chunks/{withFormControl-DfqMqkSU.js.map → withFormControl-DIT4DbIl.js.map} +1 -1
  247. package/dist/chunks/withFormControl-DzgoWpP6.js +2 -0
  248. package/dist/chunks/{withFormControl-kyGjRFza.js.map → withFormControl-DzgoWpP6.js.map} +1 -1
  249. package/dist/chunks/withTruncation-CVhXtaaF.js +67 -0
  250. package/dist/chunks/withTruncation-CVhXtaaF.js.map +1 -0
  251. package/dist/chunks/withTruncation-CYH02HoE.js +2 -0
  252. package/dist/chunks/withTruncation-CYH02HoE.js.map +1 -0
  253. package/dist/cjs/chakra/index.cjs +1 -1
  254. package/dist/cjs/chakra/index.cjs.map +1 -1
  255. package/dist/cjs/components/Alert/index.cjs +1 -1
  256. package/dist/cjs/components/Avatar/index.cjs +1 -1
  257. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  258. package/dist/cjs/components/Button/index.cjs +1 -1
  259. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  260. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  261. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  262. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  263. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  264. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  265. package/dist/cjs/components/Heading/index.cjs +1 -1
  266. package/dist/cjs/components/Icon/index.cjs +1 -1
  267. package/dist/cjs/components/Link/index.cjs +1 -1
  268. package/dist/cjs/components/Menu/index.cjs +1 -1
  269. package/dist/cjs/components/Modal/index.cjs +1 -1
  270. package/dist/cjs/components/PinInput/index.cjs +1 -1
  271. package/dist/cjs/components/Popover/index.cjs +1 -1
  272. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  273. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  274. package/dist/cjs/components/Select/index.cjs +1 -1
  275. package/dist/cjs/components/SortableList/index.cjs +1 -1
  276. package/dist/cjs/components/Spinner/index.cjs +1 -1
  277. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  278. package/dist/cjs/components/Switch/index.cjs +1 -1
  279. package/dist/cjs/components/Tabs/index.cjs +1 -1
  280. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  281. package/dist/cjs/components/Text/index.cjs +1 -1
  282. package/dist/cjs/components/TextInput/index.cjs +1 -1
  283. package/dist/cjs/components/Textarea/index.cjs +1 -1
  284. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  285. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  286. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  287. package/dist/cjs/components/Toast/index.cjs +1 -1
  288. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  289. package/dist/cjs/components/index.cjs +1 -1
  290. package/dist/cjs/index.cjs +1 -1
  291. package/dist/cjs/theme/index.cjs +1 -1
  292. package/dist/esm/chakra/index.js +147 -146
  293. package/dist/esm/chakra/index.js.map +1 -1
  294. package/dist/esm/components/Alert/index.js +1 -1
  295. package/dist/esm/components/Avatar/index.js +1 -1
  296. package/dist/esm/components/AvatarGroup/index.js +1 -1
  297. package/dist/esm/components/Button/index.js +1 -1
  298. package/dist/esm/components/ButtonGroup/index.js +1 -1
  299. package/dist/esm/components/CharacterCounter/index.js +1 -1
  300. package/dist/esm/components/Checkbox/index.js +1 -1
  301. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  302. package/dist/esm/components/ConversationCard/index.js +1 -1
  303. package/dist/esm/components/DatePicker/index.js +1 -1
  304. package/dist/esm/components/Heading/index.js +1 -1
  305. package/dist/esm/components/Icon/index.js +1 -1
  306. package/dist/esm/components/Link/index.js +1 -1
  307. package/dist/esm/components/Menu/index.js +1 -1
  308. package/dist/esm/components/Modal/index.js +1 -1
  309. package/dist/esm/components/PinInput/index.js +1 -1
  310. package/dist/esm/components/Popover/index.js +1 -1
  311. package/dist/esm/components/RadioGroup/index.js +1 -1
  312. package/dist/esm/components/RatingDots/index.js +1 -1
  313. package/dist/esm/components/Select/index.js +1 -1
  314. package/dist/esm/components/SortableList/index.js +1 -1
  315. package/dist/esm/components/Spinner/index.js +1 -1
  316. package/dist/esm/components/StyledAvatar/index.js +1 -1
  317. package/dist/esm/components/Switch/index.js +1 -1
  318. package/dist/esm/components/Tabs/index.js +1 -1
  319. package/dist/esm/components/TagBlock/index.js +1 -1
  320. package/dist/esm/components/Text/index.js +2 -2
  321. package/dist/esm/components/TextInput/index.js +1 -1
  322. package/dist/esm/components/Textarea/index.js +1 -1
  323. package/dist/esm/components/TimePicker/index.js +1 -1
  324. package/dist/esm/components/TimeRange/index.js +1 -1
  325. package/dist/esm/components/Timestamp/index.js +1 -1
  326. package/dist/esm/components/Toast/index.js +1 -1
  327. package/dist/esm/components/Tooltip/index.js +1 -1
  328. package/dist/esm/components/index.js +92 -89
  329. package/dist/esm/components/index.js.map +1 -1
  330. package/dist/esm/index.js +114 -111
  331. package/dist/esm/index.js.map +1 -1
  332. package/dist/esm/theme/index.js +1 -1
  333. package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
  334. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  335. package/dist/types/components/PinInput/pinInput.recipe.d.ts +1 -1
  336. package/dist/types/components/Spinner/spinner.recipe.d.ts +1 -1
  337. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
  338. package/dist/types/components/Tooltip/tooltip.component.d.ts +2 -4
  339. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -0
  340. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
  341. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +8 -8
  342. package/package.json +1 -1
  343. package/dist/chunks/alert.types-BsvcbTZD.js +0 -2
  344. package/dist/chunks/avatar.component-RKtP3MZt.js +0 -2
  345. package/dist/chunks/characterCounter.component-B8efVNy4.js +0 -2
  346. package/dist/chunks/checkbox.component-DO9NDbmM.js +0 -2
  347. package/dist/chunks/checkbox.records-D7NUtCRR.js +0 -2
  348. package/dist/chunks/conversationCard.component-qWYvoxVn.js +0 -2
  349. package/dist/chunks/datePicker.component-CLR0tErm.js +0 -15
  350. package/dist/chunks/dialog-trigger-JNnMRY13.js +0 -2
  351. package/dist/chunks/group-Dv1hO5IW.js +0 -2
  352. package/dist/chunks/heading.component-DkT5GYvU.js +0 -2
  353. package/dist/chunks/heading.component-DkT5GYvU.js.map +0 -1
  354. package/dist/chunks/heading.component-d5jKnwm5.js +0 -976
  355. package/dist/chunks/heading.component-d5jKnwm5.js.map +0 -1
  356. package/dist/chunks/icon-button-BTDZq0Tr.js +0 -121
  357. package/dist/chunks/icon-button-BTDZq0Tr.js.map +0 -1
  358. package/dist/chunks/icon-button-khcu437F.js +0 -2
  359. package/dist/chunks/icon-button-khcu437F.js.map +0 -1
  360. package/dist/chunks/icon.component-D84o075X.js.map +0 -1
  361. package/dist/chunks/icon.component-DjiNNeqF.js +0 -2
  362. package/dist/chunks/icon.component-DjiNNeqF.js.map +0 -1
  363. package/dist/chunks/index-BDCLWoQU.js +0 -2
  364. package/dist/chunks/index-BIjZoyJk.js +0 -70
  365. package/dist/chunks/index-BIjZoyJk.js.map +0 -1
  366. package/dist/chunks/index-BiyIeWSg.js +0 -2
  367. package/dist/chunks/index-BlGAWSIX.js +0 -3
  368. package/dist/chunks/index-BlGAWSIX.js.map +0 -1
  369. package/dist/chunks/index-BpKhRg2I.js +0 -2
  370. package/dist/chunks/index-Cb49D-ky.js +0 -1328
  371. package/dist/chunks/index-Cb49D-ky.js.map +0 -1
  372. package/dist/chunks/index-CmVbgcH8.js +0 -2
  373. package/dist/chunks/index-CzzrUbmu.js +0 -2
  374. package/dist/chunks/index-DFbSzgk8.js +0 -8
  375. package/dist/chunks/index-DeprNCOL.js +0 -2
  376. package/dist/chunks/index-Fztcdoo_.js +0 -2
  377. package/dist/chunks/index-Fztcdoo_.js.map +0 -1
  378. package/dist/chunks/menu.component-BgAx3SsR.js +0 -2
  379. package/dist/chunks/modal.context-DSKLfsJK.js +0 -12
  380. package/dist/chunks/modal.context-DSKLfsJK.js.map +0 -1
  381. package/dist/chunks/modal.context-EJ67QNzq.js +0 -2
  382. package/dist/chunks/modal.context-EJ67QNzq.js.map +0 -1
  383. package/dist/chunks/modal.types-CtHJAyfq.js +0 -2
  384. package/dist/chunks/pinInput.types-a0_2OLBO.js +0 -2
  385. package/dist/chunks/portal-CtkZ5xTm.js +0 -3087
  386. package/dist/chunks/portal-CtkZ5xTm.js.map +0 -1
  387. package/dist/chunks/portal-kmAjRmaV.js +0 -22
  388. package/dist/chunks/portal-kmAjRmaV.js.map +0 -1
  389. package/dist/chunks/radio.records-zKzNxtns.js +0 -2
  390. package/dist/chunks/radioGroup.component-fpo_KMOY.js +0 -2
  391. package/dist/chunks/ratingDots.component-DJEDUD_9.js +0 -2
  392. package/dist/chunks/render-strategy-C80bGq2n.js +0 -2
  393. package/dist/chunks/select.component-Bmop2_tX.js +0 -2
  394. package/dist/chunks/spinner.component-CjQb7JjK.js +0 -2
  395. package/dist/chunks/switch.component-ARZzuYrq.js +0 -2
  396. package/dist/chunks/tabs.component-DRpNF8p-.js +0 -2
  397. package/dist/chunks/tagBlock.component-Bahf1v33.js +0 -2
  398. package/dist/chunks/textInput.component-DDo9eUvp.js +0 -2
  399. package/dist/chunks/textarea.component-5Ou5g_MJ.js +0 -2
  400. package/dist/chunks/theme.provider-DWJTtjw5.js +0 -26
  401. package/dist/chunks/theme.provider-DWJTtjw5.js.map +0 -1
  402. package/dist/chunks/theme.provider-vZgSb-q5.js.map +0 -1
  403. package/dist/chunks/timestamp.component-DEx0cUkA.js +0 -2
  404. package/dist/chunks/timestamp.component-Kxi_bKp1.js +0 -53
  405. package/dist/chunks/toaster.records-CGym-iT-.js +0 -2
  406. package/dist/chunks/use-field-context-DnTe9gdc.js +0 -2
  407. package/dist/chunks/withFormControl-kyGjRFza.js +0 -2
@@ -1,2 +0,0 @@
1
- "use strict";const d=require("./index-BlGAWSIX.js"),T=require("./index-Fztcdoo_.js"),b=require("./portal-kmAjRmaV.js");var S=d.createAnatomy("radio-group").parts("root","label","item","itemText","itemControl","indicator"),c=S.build(),g=e=>e.ids?.root??`radio-group:${e.id}`,I=e=>e.ids?.label??`radio-group:${e.id}:label`,C=(e,t)=>e.ids?.item?.(t)??`radio-group:${e.id}:radio:${t}`,m=(e,t)=>e.ids?.itemHiddenInput?.(t)??`radio-group:${e.id}:radio:input:${t}`,k=(e,t)=>e.ids?.itemControl?.(t)??`radio-group:${e.id}:radio:control:${t}`,R=(e,t)=>e.ids?.itemLabel?.(t)??`radio-group:${e.id}:radio:label:${t}`,A=e=>e.ids?.indicator??`radio-group:${e.id}:indicator`,h=e=>e.getById(g(e)),F=(e,t)=>e.getById(m(e,t)),D=e=>e.getById(A(e)),$=e=>h(e)?.querySelector("input:not(:disabled)"),P=e=>h(e)?.querySelector("input:not(:disabled):checked"),V=e=>{const i=`input[type=radio][data-ownedby='${CSS.escape(g(e))}']:not([disabled])`;return d.queryAll(h(e),i)},_=(e,t)=>{if(t)return e.getById(C(e,t))},w=e=>({left:e?.offsetLeft??0,top:e?.offsetTop??0,width:e?.offsetWidth??0,height:e?.offsetHeight??0}),O=e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`});function H(e,t){const{context:i,send:n,computed:s,prop:o,scope:l}=e,f=s("isDisabled"),y=o("readOnly");function v(a){const r=i.get("focusedValue")===a.value,u=r&&T.isFocusVisible();return{value:a.value,invalid:!!a.invalid,disabled:!!a.disabled||f,checked:i.get("value")===a.value,focused:r,focusVisible:u,hovered:i.get("hoveredValue")===a.value,active:i.get("activeValue")===a.value}}function p(a){const r=v(a);return{"data-focus":d.dataAttr(r.focused),"data-focus-visible":d.dataAttr(r.focusVisible),"data-disabled":d.dataAttr(r.disabled),"data-readonly":d.dataAttr(y),"data-state":r.checked?"checked":"unchecked","data-hover":d.dataAttr(r.hovered),"data-invalid":d.dataAttr(r.invalid),"data-orientation":o("orientation"),"data-ssr":d.dataAttr(i.get("ssr"))}}const E=()=>{(P(l)??$(l))?.focus()};return{focus:E,value:i.get("value"),setValue(a){n({type:"SET_VALUE",value:a,isTrusted:!1})},clearValue(){n({type:"SET_VALUE",value:null,isTrusted:!1})},getRootProps(){return t.element({...c.root.attrs,role:"radiogroup",id:g(l),"aria-labelledby":I(l),"data-orientation":o("orientation"),"data-disabled":d.dataAttr(f),"aria-orientation":o("orientation"),dir:o("dir"),style:{position:"relative"}})},getLabelProps(){return t.element({...c.label.attrs,dir:o("dir"),"data-orientation":o("orientation"),"data-disabled":d.dataAttr(f),id:I(l),onClick:E})},getItemState:v,getItemProps(a){const r=v(a);return t.label({...c.item.attrs,dir:o("dir"),id:C(l,a.value),htmlFor:m(l,a.value),...p(a),onPointerMove(){r.disabled||r.hovered||n({type:"SET_HOVERED",value:a.value,hovered:!0})},onPointerLeave(){r.disabled||n({type:"SET_HOVERED",value:null})},onPointerDown(u){r.disabled||(r.focused&&u.pointerType==="mouse"&&u.preventDefault(),n({type:"SET_ACTIVE",value:a.value,active:!0}))},onPointerUp(){r.disabled||n({type:"SET_ACTIVE",value:null})},onClick(){!r.disabled&&d.isSafari()&&F(l,a.value)?.focus()}})},getItemTextProps(a){return t.element({...c.itemText.attrs,dir:o("dir"),id:R(l,a.value),...p(a)})},getItemControlProps(a){const r=v(a);return t.element({...c.itemControl.attrs,dir:o("dir"),id:k(l,a.value),"data-active":d.dataAttr(r.active),"aria-hidden":!0,...p(a)})},getItemHiddenInputProps(a){const r=v(a);return t.input({"data-ownedby":g(l),id:m(l,a.value),type:"radio",name:o("name")||o("id"),form:o("form"),value:a.value,onClick(u){if(y){u.preventDefault();return}u.currentTarget.checked&&n({type:"SET_VALUE",value:a.value,isTrusted:!0})},onBlur(){n({type:"SET_FOCUSED",value:null,focused:!1})},onFocus(){n({type:"SET_FOCUSED",value:a.value,focused:!0})},onKeyDown(u){u.defaultPrevented||u.key===" "&&n({type:"SET_ACTIVE",value:a.value,active:!0})},onKeyUp(u){u.defaultPrevented||u.key===" "&&n({type:"SET_ACTIVE",value:null})},disabled:r.disabled,defaultChecked:r.checked,style:d.visuallyHiddenStyle})},getIndicatorProps(){const a=i.get("indicatorRect");return t.element({id:A(l),...c.indicator.attrs,dir:o("dir"),hidden:i.get("value")==null,"data-disabled":d.dataAttr(f),"data-orientation":o("orientation"),style:{"--transition-property":"left, top, width, height","--left":a?.left,"--top":a?.top,"--width":a?.width,"--height":a?.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:i.get("canIndicatorTransition")?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[o("orientation")==="horizontal"?"left":"top"]:o("orientation")==="horizontal"?"var(--left)":"var(--top)"}})}}}var{not:L}=d.createGuards(),U=d.createMachine({props({props:e}){return{orientation:"vertical",...e}},initialState(){return"idle"},context({prop:e,bindable:t}){return{value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(i){e("onValueChange")?.({value:i})}})),activeValue:t(()=>({defaultValue:null})),focusedValue:t(()=>({defaultValue:null})),hoveredValue:t(()=>({defaultValue:null})),indicatorRect:t(()=>({defaultValue:{}})),canIndicatorTransition:t(()=>({defaultValue:!1})),fieldsetDisabled:t(()=>({defaultValue:!1})),ssr:t(()=>({defaultValue:!0}))}},refs(){return{indicatorCleanup:null}},computed:{isDisabled:({prop:e,context:t})=>!!e("disabled")||t.get("fieldsetDisabled")},entry:["syncIndicatorRect","syncSsr"],exit:["cleanupObserver"],effects:["trackFormControlState","trackFocusVisible"],watch({track:e,action:t,context:i}){e([()=>i.get("value")],()=>{t(["setIndicatorTransition","syncIndicatorRect","syncInputElements"])})},on:{SET_VALUE:[{guard:L("isTrusted"),actions:["setValue","dispatchChangeEvent"]},{actions:["setValue"]}],SET_HOVERED:{actions:["setHovered"]},SET_ACTIVE:{actions:["setActive"]},SET_FOCUSED:{actions:["setFocused"]}},states:{idle:{}},implementations:{guards:{isTrusted:({event:e})=>!!e.isTrusted},effects:{trackFormControlState({context:e,scope:t}){return d.trackFormControl(h(t),{onFieldsetDisabledChange(i){e.set("fieldsetDisabled",i)},onFormReset(){e.set("value",e.initial("value"))}})},trackFocusVisible({scope:e}){return T.trackFocusVisible({root:e.getRootNode?.()})}},actions:{setValue({context:e,event:t}){e.set("value",t.value)},setHovered({context:e,event:t}){e.set("hoveredValue",t.value)},setActive({context:e,event:t}){e.set("activeValue",t.value)},setFocused({context:e,event:t}){e.set("focusedValue",t.value)},syncInputElements({context:e,scope:t}){V(t).forEach(n=>{n.checked=n.value===e.get("value")})},setIndicatorTransition({context:e}){e.set("canIndicatorTransition",d.isString(e.get("value")))},cleanupObserver({refs:e}){e.get("indicatorCleanup")?.()},syncSsr({context:e}){e.set("ssr",!1)},syncIndicatorRect({context:e,scope:t,refs:i}){if(i.get("indicatorCleanup")?.(),!D(t))return;const n=e.get("value"),s=_(t,n);if(n==null||!s){e.set("canIndicatorTransition",!1),e.set("indicatorRect",{});return}const o=d.trackElementRect([s],{measure(l){return w(l)},onEntry({rects:l}){e.set("indicatorRect",O(l[0]))}});i.set("indicatorCleanup",o)},dispatchChangeEvent({context:e,scope:t}){V(t).forEach(n=>{const s=n.value===e.get("value");s!==n.checked&&d.dispatchInputCheckedEvent(n,{checked:s})})}}}});b.createProps()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]);b.createProps()(["value","disabled","invalid"]);const q={sm:3,md:4,lg:5},B={sm:2,md:2,lg:3};exports.RadioSizeMap=q;exports.RadioTextSpacing=B;exports.anatomy=S;exports.connect=H;exports.machine=U;
2
- //# sourceMappingURL=radio.records-zKzNxtns.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const r=require("./jsx-runtime-BjDatQAs.js"),E=require("./withFormControl-kyGjRFza.js"),u=require("react"),g=require("./card.component-KNc4HKSh.js"),P=require("./radio.records-zKzNxtns.js"),L=require("./heading.component-DkT5GYvU.js"),M=require("./create-slot-recipe-context-IwVIgtBt.js"),k=require("./icon-button-khcu437F.js"),F=require("./empty-B5_AO6Pg.js"),V=require("./factory-D6tdBUPG.js"),B=require("./use-recipe-DaPWl_pL.js"),i=require("./portal-kmAjRmaV.js"),m=require("./index-BlGAWSIX.js"),Y=require("./buttonGroup.component-BI44nuxH.js"),D=require("./stack-BKu3hWEQ.js"),O=e=>e&&e.__esModule?e:{default:e},b=O(u),[y,G]=i.createContext({name:"RadioGroupContext",hookName:"useRadioGroupContext",providerName:"<RadioGroupProvider />"}),[J,K]=i.createContext({name:"RadioGroupItemContext",hookName:"useRadioGroupItemContext",providerName:"<RadioGroupItemProvider />"}),[Q,I]=i.createContext({name:"RadioGroupItemPropsContext",hookName:"useRadioGroupItemPropsContext",providerName:"<RadioGroupItemPropsProvider />"}),N=u.forwardRef((e,o)=>{const[t,s]=i.createSplitProps()(e,["value","disabled","invalid"]),a=G(),d=m.mergeProps(a.getItemProps(t),s),n=a.getItemState(t);return r.jsxRuntimeExports.jsx(J,{value:n,children:r.jsxRuntimeExports.jsx(Q,{value:t,children:r.jsxRuntimeExports.jsx(i.ark.label,{...d,ref:o})})})});N.displayName="RadioGroupItem";const U=e=>e.children(K()),v=u.forwardRef((e,o)=>{const t=G(),s=I(),a=m.mergeProps(t.getItemControlProps(s),e);return r.jsxRuntimeExports.jsx(i.ark.div,{...a,ref:o})});v.displayName="RadioGroupItemControl";const w=u.forwardRef((e,o)=>{const t=G(),s=I(),a=m.mergeProps(t.getItemHiddenInputProps(s),e);return r.jsxRuntimeExports.jsx(i.ark.input,{...a,ref:o})});w.displayName="RadioGroupItemHiddenInput";const _=u.forwardRef((e,o)=>{const t=G(),s=I(),a=m.mergeProps(t.getItemTextProps(s),e);return r.jsxRuntimeExports.jsx(i.ark.span,{...a,ref:o})});_.displayName="RadioGroupItemText";const q=u.forwardRef((e,o)=>{const t=G(),s=m.mergeProps(t.getLabelProps(),e);return r.jsxRuntimeExports.jsx(i.ark.label,{...s,ref:o})});q.displayName="RadioGroupLabel";const X=e=>{const o=u.useId(),{getRootNode:t}=i.useEnvironmentContext(),{dir:s}=i.useLocaleContext(),a={id:o,dir:s,getRootNode:t,...e},d=i.useMachine(P.machine,a);return P.connect(d,i.normalizeProps)},S=u.forwardRef((e,o)=>{const[t,s]=i.createSplitProps()(e,["defaultValue","disabled","form","id","ids","name","onValueChange","orientation","readOnly","value"]),a=X(t),d=m.mergeProps(a.getRootProps(),s);return r.jsxRuntimeExports.jsx(y,{value:a,children:r.jsxRuntimeExports.jsx(i.ark.div,{...d,ref:o})})});S.displayName="RadioGroupRoot";const T=u.forwardRef((e,o)=>{const[{value:t},s]=i.createSplitProps()(e,["value"]),a=m.mergeProps(t.getRootProps(),s);return r.jsxRuntimeExports.jsx(y,{value:t,children:r.jsxRuntimeExports.jsx(i.ark.div,{...a,ref:o})})});T.displayName="RadioGroupRootProvider";const Z=u.forwardRef(function(o,t){const s=B.useRecipe({key:"radiomark",recipe:o.recipe}),[a,d]=s.splitVariantProps(o),{checked:n,disabled:c,unstyled:l,children:x,...R}=d,j=l?F.EMPTY_STYLES:s(a),h={ref:t,"data-checked":k.dataAttr(n),"data-disabled":k.dataAttr(c),...R,css:[j,o.css]};return r.jsxRuntimeExports.jsx(V.chakra.span,{...h,children:n&&r.jsxRuntimeExports.jsx("span",{className:"dot"})})}),{withProvider:A,withContext:f,useStyles:z}=M.createSlotRecipeContext({key:"radioGroup"});A(T,"root",{forwardAsChild:!0});const ee=A(S,"root",{forwardAsChild:!0});f(q,"label",{forwardAsChild:!0});const oe=f(N,"item",{forwardAsChild:!0}),te=f(_,"itemText",{forwardAsChild:!0});f(v,"itemControl",{forwardAsChild:!0});const re=u.forwardRef(function(o,t){const s=z();return r.jsxRuntimeExports.jsx(U,{children:a=>r.jsxRuntimeExports.jsx(v,{asChild:!0,children:r.jsxRuntimeExports.jsx(Z,{ref:t,unstyled:!0,...o,checked:a.checked,disabled:a.disabled,css:[s.itemControl,o.css]})})})}),se=w,ae=E.withFormControl(({children:e,checked:o=!1,disabled:t=!1,invalid:s=!1,onContrast:a=!1,radioRef:d,size:n="md",withCard:c=!1,...l})=>{const x=c?R=>{const j=(P.RadioSizeMap[n]+P.RadioTextSpacing[n]+g.CardPaddingMap[n])*4;return r.jsxRuntimeExports.jsx(g.Card,{className:"Radio__Card","data-testid":"kibble-radio-card",...!t&&{interactive:!0,invalid:s,active:!!o},onContrast:a,size:n,fullWidth:!0,display:"flex",...typeof e=="string"&&{alignItems:"center"},width:"inherit",pr:`${j}px`,children:R.children})}:b.default.Fragment;return r.jsxRuntimeExports.jsx(oe,{className:"Radio","data-testid":"kibble-radio",invalid:s,disabled:t,ref:d,...l,children:r.jsxRuntimeExports.jsxs(x,{children:[r.jsxRuntimeExports.jsx(se,{className:"Radio__Input","data-testid":"kibble-radio-input"}),r.jsxRuntimeExports.jsx(re,{className:"Radio__Indicator","data-testid":"kibble-radio-indicator"}),e&&r.jsxRuntimeExports.jsx(te,{className:"Radio__Text","data-testid":"kibble-radio-label",...c&&typeof e!="string"&&{mt:"-4px"},children:typeof e=="string"?r.jsxRuntimeExports.jsx(L.WrappedText,{size:n,lineHeight:"unset",variant:a?"onContrast":"default",children:e}):e})]})})}),$=b.default.forwardRef((e,o)=>r.jsxRuntimeExports.jsx(ae,{radioRef:o,...e}));$.displayName="Radio";const W=({radios:e,defaultValue:o,direction:t="column",disabled:s,invalid:a,onContrast:d,onChange:n,size:c="md",radioType:l="default",value:x,gap:R=2,...j})=>{const h=d?"onContrast":"default";return r.jsxRuntimeExports.jsxs(ee,{className:"RadioGroup","data-testid":"kibble-radio-group",disabled:s,defaultValue:o,value:x,onValueChange:({value:p})=>n?.(p),size:c,variant:h,...j,children:[l==="default"&&r.jsxRuntimeExports.jsx(D.Stack,{gap:R,direction:t,children:e.map((p,C)=>r.jsxRuntimeExports.jsx($,{invalid:a,disabled:s,checked:o===p.value||x===p.value,size:c,...t==="row"&&{fullWidth:!1},...p},`radio-${C}`))}),l==="buttons"&&r.jsxRuntimeExports.jsx(Y.ButtonGroup,{onContrast:d,variant:"secondarySubtle",size:c,buttons:e.map((p,C)=>{const H=o===p.value||x===p.value;return{key:`button-radio-${C}`,children:p.children,active:H,disabled:s,onClick:()=>n?.(p.value)}})})]})};W.displayName="CheckboxGroup";const ie=E.withFormControl(W);exports.WrappedRadioGroup=ie;
2
- //# sourceMappingURL=radioGroup.component-fpo_KMOY.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const t=require("./jsx-runtime-BjDatQAs.js"),d=require("react"),c=require("./heading.component-DkT5GYvU.js"),R=require("./config-BFcXpdZo.js"),f=require("./use-recipe-DaPWl_pL.js"),j=require("./flex-D14H6HbP.js"),v=require("./withFormControl-kyGjRFza.js"),h=require("./box-Baq7UBls.js"),C=R.defineRecipe({base:{alignItems:"center",border:"2px",borderColor:"border.focus",borderRadius:"full",fontSize:"lg",justifyContent:"center",mb:1,mr:1},variants:{variant:{default:{bgColor:"background.secondary",color:"text.contrast",cursor:"default",h:"40px",w:"40px"},interactive:{bgColor:"transparent",color:"text.interactive",cursor:"pointer",h:"60px",w:"60px","&[data-disabled][data-active]":{bgColor:"background.secondary",color:"text.contrast"},_active:{bgColor:"background.secondary",color:"text.contrast",_hover:{bgColor:"background.secondary"}},_disabled:{cursor:"not-allowed",opacity:.6},_hover:{bgColor:"background.secondaryAlpha.hover"},_invalid:{borderColor:"border.danger"}}}},defaultVariants:{variant:"default"}}),y=({active:s,disabled:u,invalid:l,number:e,onClick:r})=>{const a=r?"interactive":"default",o=f.useRecipe({recipe:C})({variant:a}),p=d.useCallback(i=>{i.preventDefault(),r&&r(e)},[e,r]);return t.jsxRuntimeExports.jsx(j.Flex,{...s&&{"data-active":"true"},...u?{"data-disabled":"true"}:{onClick:p},...l&&{"data-invalid":"true"},css:o,children:e})},E=v.withFormControl(({centeredLabel:s,disabled:u,invalid:l,minLabel:e,minValue:r,maxLabel:a,maxValue:x,onChange:o,value:p})=>{const i=d.useMemo(()=>Math.round(r),[r]),b=d.useMemo(()=>Math.round(x),[x]),m=d.useMemo(()=>{const n=[];for(let g=i;g<=b;g++)n.push(g);return n},[b,i]);return t.jsxRuntimeExports.jsxs(h.Box,{className:"RatingDots","data-testid":"kibble-rating-dots",children:[t.jsxRuntimeExports.jsx(j.Flex,{className:"RatingDots__Container","data-testid":"kibble-rating-dots-container",my:4,flexWrap:"wrap",justifyContent:o?"center":"flex-start",children:m.map(n=>t.jsxRuntimeExports.jsx(y,{number:n,active:n===p,disabled:u,invalid:l,onClick:o},`rating-dot-${n}`))}),(s||e||a)&&t.jsxRuntimeExports.jsx(j.Flex,{className:"RatingDots__Label","data-testid":"kibble-rating-dots-label",justifyContent:o?s?"center":"space-between":"flex-start",children:s?t.jsxRuntimeExports.jsx(c.WrappedText,{variant:"subtle",size:"sm",children:s}):t.jsxRuntimeExports.jsxs(t.jsxRuntimeExports.Fragment,{children:[e&&t.jsxRuntimeExports.jsx(c.WrappedText,{variant:"subtle",size:"sm",children:`${i} - ${e}`}),!o&&t.jsxRuntimeExports.jsx(c.WrappedText,{variant:"subtle",size:"sm",pr:1,children:","}),a&&t.jsxRuntimeExports.jsx(c.WrappedText,{variant:"subtle",size:"sm",children:`${b} - ${a}`})]})})]})});exports.RatingDots=E;
2
- //# sourceMappingURL=ratingDots.component-DJEDUD_9.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const e=require("./portal-kmAjRmaV.js"),[r,o]=e.createContext({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),n=t=>e.createSplitProps()(t,["lazyMount","unmountOnExit"]);exports.RenderStrategyPropsProvider=r;exports.splitRenderStrategyProps=n;exports.useRenderStrategyPropsContext=o;
2
- //# sourceMappingURL=render-strategy-C80bGq2n.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const e=require("./jsx-runtime-BjDatQAs.js"),c=require("react"),se=require("./withFormControl-kyGjRFza.js"),oe=require("./icon.component-DjiNNeqF.js"),ne=require("./button.component-BQA_MGYQ.js"),T=require("./heading.component-DkT5GYvU.js"),le=require("./spinner.component-CjQb7JjK.js"),l=require("./portal-kmAjRmaV.js"),ce=require("./create-slot-recipe-context-IwVIgtBt.js"),C=require("./icons-CTpAjbC-.js"),N=require("./use-field-context-DnTe9gdc.js"),d=require("./index-BlGAWSIX.js"),h=require("./index-BiyIeWSg.js"),ie=require("./modal.context-EJ67QNzq.js"),ae=require("./textInput.component-DDo9eUvp.js"),de=require("./box-Baq7UBls.js"),y=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 _=c.forwardRef((t,n)=>{const s=p(),r=d.mergeProps(s.getControlProps(),t);return e.jsxRuntimeExports.jsx(l.ark.div,{...r,ref:n})});_.displayName="SelectControl";const A=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))]})});A.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}),ye=x(q,"clearTrigger",{forwardAsChild:!0,defaultProps:{children:e.jsxRuntimeExports.jsx(C.CloseIcon,{boxSize:"1em"})}});x(V,"itemGroup",{forwardAsChild:!0});x($,"itemGroupLabel",{forwardAsChild:!0});const Te=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(_,"control",{forwardAsChild:!0});x(W,"label",{forwardAsChild:!0});const qe=A,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(T.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})})]})},_e=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(ye,{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(y.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(Te,{item:u,children:e.jsxRuntimeExports.jsx(K,{item:u,onContrast:!!r,shouldTruncateText:!!v,size:P})},u.value)):e.jsxRuntimeExports.jsx(y.Flex,{w:"100%",justifyContent:"center",py:3,children:e.jsxRuntimeExports.jsx(T.WrappedText,{size:"sm",variant:r?"subtleOnContrast":"subtle",children:n})})})]})})})]})}),Q=pe.default.forwardRef((t,n)=>e.jsxRuntimeExports.jsx(_e,{selectRef:n,...t}));Q.displayName="Select";exports.WrappedSelect=Q;
2
- //# sourceMappingURL=select.component-Bmop2_tX.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const t=require("./jsx-runtime-BjDatQAs.js"),c=require("./heading.component-DkT5GYvU.js"),n=require("./icon.component-DjiNNeqF.js"),y=require("./config-BFcXpdZo.js"),S=require("./use-slot-recipe-8liupslO.js"),d=require("./v-stack-DxjgpeJ0.js"),u=require("./icon-button-khcu437F.js"),h=["root","spinner","label"],g={xs:{spinner:{h:3,w:3},label:{fontSize:"xs"}},sm:{spinner:{h:4,w:4},label:{fontSize:"sm"}},md:{spinner:{h:6,w:6,"--spinner-size":6},label:{fontSize:"md"}},lg:{spinner:{h:8,w:8},label:{fontSize:"lg"}},xl:{spinner:{h:12,w:12},label:{fontSize:"xl"}}},b={accent:{spinner:n.typographyVariantStyles.accent},accentSubtle:{spinner:n.typographyVariantStyles.accentSubtle},brand:{spinner:n.typographyVariantStyles.brand},brandOnContrast:{spinner:n.typographyVariantStyles.brandOnContrast},danger:{spinner:n.typographyVariantStyles.danger},dangerOnContrast:{spinner:n.typographyVariantStyles.dangerOnContrast},default:{spinner:n.typographyVariantStyles.default},info:{spinner:n.typographyVariantStyles.info},interactive:{spinner:n.typographyVariantStyles.interactive},interactiveOnContrast:{spinner:n.typographyVariantStyles.interactiveOnContrast},onContrast:{spinner:n.typographyVariantStyles.onContrast},placeholder:{spinner:n.typographyVariantStyles.placeholder},placeholderOnContrast:{spinner:n.typographyVariantStyles.placeholderOnContrast},subtle:{spinner:n.typographyVariantStyles.subtle},subtleOnContrast:{spinner:n.typographyVariantStyles.subtleOnContrast},success:{spinner:n.typographyVariantStyles.success},warning:{spinner:n.typographyVariantStyles.warning}},V=y.defineSlotRecipe({slots:h,base:{root:{alignItems:"center",justifyContent:"center"}},variants:{variant:b,size:g,fullScreen:{true:{root:{h:"100%",left:0,top:0,position:"absolute",w:"100%",zIndex:"tooltipExtra"}},false:{root:{h:"max-content",w:"max-content"}}}},defaultVariants:{fullScreen:!1,size:"md",variant:"brand"}}),f=({backdropColor:s="background.alpha.pressed",fullScreen:r=!1,label:a="Loading...",labelProps:i,showLabel:o=!1,size:p="md",variant:l="accent"})=>{const e=S.useSlotRecipe({recipe:V})({variant:l,size:p,fullScreen:r});return t.jsxRuntimeExports.jsxs(d.VStack,{className:"Spinner","data-testid":"kibble-spinner",css:e.root,...r&&{bg:s},children:[t.jsxRuntimeExports.jsx(u.Spinner,{css:e.spinner}),o&&t.jsxRuntimeExports.jsx(c.WrappedText,{className:"Spinner__Label","data-testid":"kibble-spinner-label",variant:"subtle",css:e.label,...i,children:a})]})};exports.Spinner=f;
2
- //# sourceMappingURL=spinner.component-CjQb7JjK.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const i=require("./jsx-runtime-BjDatQAs.js"),c=require("react"),y=require("./withFormControl-kyGjRFza.js"),w=require("./icon-button-khcu437F.js"),E=require("./create-slot-recipe-context-IwVIgtBt.js"),m=require("./factory-D6tdBUPG.js"),n=require("./portal-kmAjRmaV.js"),f=require("./use-field-context-DnTe9gdc.js"),l=require("./index-BlGAWSIX.js"),x=require("./index-CmVbgcH8.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-ARZzuYrq.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const l=require("./jsx-runtime-BjDatQAs.js"),_=require("./icon.component-DjiNNeqF.js"),M=require("./notificationCounter.component-BhZcuBmr.js"),H=require("./heading.component-DkT5GYvU.js"),X=require("./create-slot-recipe-context-IwVIgtBt.js"),p=require("react"),u=require("./portal-kmAjRmaV.js"),x=require("./render-strategy-C80bGq2n.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-DRpNF8p-.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const e=require("./jsx-runtime-BjDatQAs.js"),d=require("react"),f=require("./button.component-BQA_MGYQ.js"),x=require("./heading.component-DkT5GYvU.js"),C=require("./menu.component-BgAx3SsR.js"),E=require("./spinner.component-CjQb7JjK.js"),T=require("./tag.component-C6a6EzZB.js"),r=require("./box-Baq7UBls.js"),l=require("./flex-D14H6HbP.js"),N=require("./h-stack-Bjx9hlJo.js"),v=n=>n&&n.__esModule?n:{default:n},q=v(d);var i=(n=>(n.Inactive="Inactive",n.Deleted="Deleted",n))(i||{});const w={size:"sm",variant:"secondarySubtle",iconName:"plus",text:"Add",hideCaret:!0},y=({title:n,menuProps:b,tags:a,canBeDeleted:h=!1,onClearAll:_,onRemoveTag:c,onDelete:B,hasError:p=!1,errorText:R="This field contains an error",displayTagsInGroups:u,loading:m=!1})=>{const j=d.useCallback(s=>{c&&c(s,a)},[c,a]),g=q.default.useMemo(()=>{if(!u)return[];const s={};for(const t of a){const o=t.groupLabel||"-";s[o]||(s[o]=[]),s[o].push(t)}return Object.entries(s).map(([t,o])=>({groupLabel:t,tags:o}))},[a,u]),k=d.useCallback(s=>s.map(t=>{const o=t.label.includes(i.Inactive)||t.label.includes(i.Deleted);return e.jsxRuntimeExports.jsx(T.Tag,{className:"TagBlock__Tag","data-testid":"kibble-tag-block-tag",mr:1,mb:1,label:t.label,onClose:()=>j(t.value),closeButtonDisplay:"always",fontWeight:"normal",color:o?"text.placeholder":"text",size:"md"},t.value)}),[j]);return e.jsxRuntimeExports.jsxs(r.Box,{className:"TagBlock","data-testid":"kibble-tag-block",position:"relative",mb:3,py:2,pl:4,pr:2,bg:"background.subtle",borderRadius:"lg",boxShadow:p?"0 0 0 2px var(--chakra-colors-border-danger)":"",border:"1px",borderColor:"border",overflow:m?"hidden":void 0,children:[e.jsxRuntimeExports.jsxs(l.Flex,{className:"TagBlock__ButtonContainer","data-testid":"kibble-tag-block-button-container",justifyContent:"space-between",children:[e.jsxRuntimeExports.jsxs(N.HStack,{gap:1,minH:10,children:[n&&e.jsxRuntimeExports.jsx(x.WrappedText,{className:"TagBlock__Title",mr:2,fontWeight:"bold",children:n}),e.jsxRuntimeExports.jsx(C.Menu,{"data-testid":"kibble-tag-block-menu",...b,buttonProps:b?.buttonProps||w}),e.jsxRuntimeExports.jsx(f.Button,{className:"TagBlock__Button--ClearAll","data-testid":"kibble-tag-block-clear-all-button",size:"sm",iconName:"arrowCircle",variant:"ghostNeutral",onClick:_,disabled:a.length<=0,children:"Clear All"})]}),h&&e.jsxRuntimeExports.jsx(r.Box,{children:e.jsxRuntimeExports.jsx(f.Button,{className:"TagBlock__Button--Delete","data-testid":"kibble-tag-block-delete-button",iconName:"trashcan",variant:"ghostNeutral",onClick:B,justifySelf:"flex-end"})})]}),!!a.length&&e.jsxRuntimeExports.jsx(l.Flex,{className:"TagBlock__TagContainer","data-testid":"kibble-tag-block-tag-container",mt:2,pb:1,alignContent:"space-between",flexWrap:"wrap",justifyContent:"flex-start",alignItems:"flex-start",children:u&&g.length?e.jsxRuntimeExports.jsx(l.Flex,{direction:"column",children:g.map(({groupLabel:s,tags:t})=>e.jsxRuntimeExports.jsxs(r.Box,{mb:2,children:[e.jsxRuntimeExports.jsx(r.Box,{className:"TagBlock__GroupTitle","data-testid":"kibble-tag-block-group-title",children:e.jsxRuntimeExports.jsx(x.WrappedHeading,{size:"xs",pb:2,children:s})}),e.jsxRuntimeExports.jsx(l.Flex,{alignContent:"space-between",flexWrap:"wrap",justifyContent:"flex-start",alignItems:"flex-start",children:k(t)})]},s))}):k(a)}),m&&e.jsxRuntimeExports.jsx(E.Spinner,{fullScreen:!0}),p&&e.jsxRuntimeExports.jsx(x.WrappedText,{className:"TagBlock__Error","data-testid":"kibble-tag-block-error",mt:2,size:"xs",variant:"danger",children:R})]})};exports.TagBlock=y;exports.TagDisabledState=i;
2
- //# sourceMappingURL=tagBlock.component-Bahf1v33.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const e=require("./jsx-runtime-BjDatQAs.js"),u=require("react"),y=require("./withFormControl-kyGjRFza.js"),P=require("./button.component-BQA_MGYQ.js"),b=require("./characterCounter.component-B8efVNy4.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-Dv1hO5IW.js"),v=require("./create-recipe-context-sESms8Eo.js"),N=require("./portal-kmAjRmaV.js"),S=require("./use-field-context-DnTe9gdc.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-DDo9eUvp.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const c=require("./jsx-runtime-BjDatQAs.js"),u=require("react"),h=require("./withFormControl-kyGjRFza.js"),v=require("./characterCounter.component-B8efVNy4.js"),g=require("./flex-D14H6HbP.js"),w=require("./create-recipe-context-sESms8Eo.js"),x=require("./index-BlGAWSIX.js"),l=require("./portal-kmAjRmaV.js"),b=require("./use-field-context-DnTe9gdc.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-5Ou5g_MJ.js.map