@televet/kibble-ui 4.0.0-beta.44 → 4.0.0-beta.45

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 (228) hide show
  1. package/dist/chunks/{alert.component-D4KMig7W.js → alert.component-CjjsneE_.js} +2 -2
  2. package/dist/chunks/{alert.component-D4KMig7W.js.map → alert.component-CjjsneE_.js.map} +1 -1
  3. package/dist/chunks/{alert.component-BrnaAnby.js → alert.component-xIg594Bw.js} +3 -3
  4. package/dist/chunks/{alert.component-BrnaAnby.js.map → alert.component-xIg594Bw.js.map} +1 -1
  5. package/dist/chunks/{avatar.component-Bh0DFMwE.js → avatar.component-B7rggLqO.js} +2 -2
  6. package/dist/chunks/{avatar.component-Bh0DFMwE.js.map → avatar.component-B7rggLqO.js.map} +1 -1
  7. package/dist/chunks/{avatar.component-_Mqnl3-P.js → avatar.component-C0lDpuBh.js} +2 -2
  8. package/dist/chunks/{avatar.component-_Mqnl3-P.js.map → avatar.component-C0lDpuBh.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-oRjqOWEB.js → avatarGroup.component-BxK-Fntw.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-oRjqOWEB.js.map → avatarGroup.component-BxK-Fntw.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-Bw5gczhh.js → avatarGroup.component-Cr2dLGn7.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-Bw5gczhh.js.map → avatarGroup.component-Cr2dLGn7.js.map} +1 -1
  13. package/dist/chunks/{buttonGroup.component-BCCxeFx_.js → buttonGroup.component-BllwiY24.js} +2 -2
  14. package/dist/chunks/{buttonGroup.component-BCCxeFx_.js.map → buttonGroup.component-BllwiY24.js.map} +1 -1
  15. package/dist/chunks/{buttonGroup.component-Cpwnw5G3.js → buttonGroup.component-CyWOOEs3.js} +2 -2
  16. package/dist/chunks/{buttonGroup.component-Cpwnw5G3.js.map → buttonGroup.component-CyWOOEs3.js.map} +1 -1
  17. package/dist/chunks/{characterCounter.component-Ww-ll5pL.js → characterCounter.component-Bmd3imRK.js} +2 -2
  18. package/dist/chunks/{characterCounter.component-Ww-ll5pL.js.map → characterCounter.component-Bmd3imRK.js.map} +1 -1
  19. package/dist/chunks/{characterCounter.component-BcKXSebL.js → characterCounter.component-L802Ir9b.js} +2 -2
  20. package/dist/chunks/{characterCounter.component-BcKXSebL.js.map → characterCounter.component-L802Ir9b.js.map} +1 -1
  21. package/dist/chunks/{checkbox.component-C8IPf20R.js → checkbox.component-C99uwLFM.js} +3 -3
  22. package/dist/chunks/{checkbox.component-C8IPf20R.js.map → checkbox.component-C99uwLFM.js.map} +1 -1
  23. package/dist/chunks/{checkbox.component-CvuE1PVR.js → checkbox.component-jKQDjGYQ.js} +2 -2
  24. package/dist/chunks/{checkbox.component-CvuE1PVR.js.map → checkbox.component-jKQDjGYQ.js.map} +1 -1
  25. package/dist/chunks/{checkbox.records-ef7wOXPE.js → checkbox.records-BBV1vniy.js} +2 -2
  26. package/dist/chunks/{checkbox.records-ef7wOXPE.js.map → checkbox.records-BBV1vniy.js.map} +1 -1
  27. package/dist/chunks/{checkbox.records-jwUqoHaK.js → checkbox.records-CYYbBUNp.js} +2 -2
  28. package/dist/chunks/{checkbox.records-jwUqoHaK.js.map → checkbox.records-CYYbBUNp.js.map} +1 -1
  29. package/dist/chunks/{checkboxGroup.component-CaHesQT7.js → checkboxGroup.component-DwICStpY.js} +3 -3
  30. package/dist/chunks/{checkboxGroup.component-CaHesQT7.js.map → checkboxGroup.component-DwICStpY.js.map} +1 -1
  31. package/dist/chunks/{checkboxGroup.component-CQEwY2Fu.js → checkboxGroup.component-v0mNVsPd.js} +2 -2
  32. package/dist/chunks/{checkboxGroup.component-CQEwY2Fu.js.map → checkboxGroup.component-v0mNVsPd.js.map} +1 -1
  33. package/dist/chunks/{conversationCard.component-C_gj2TZd.js → conversationCard.component-BERwqiS-.js} +7 -7
  34. package/dist/chunks/{conversationCard.component-C_gj2TZd.js.map → conversationCard.component-BERwqiS-.js.map} +1 -1
  35. package/dist/chunks/{conversationCard.component-p1vrl1L3.js → conversationCard.component-CTRfZQCI.js} +2 -2
  36. package/dist/chunks/{conversationCard.component-p1vrl1L3.js.map → conversationCard.component-CTRfZQCI.js.map} +1 -1
  37. package/dist/chunks/{datePicker.component-CwQ7lbgj.js → datePicker.component-DN3Vb2hm.js} +2 -2
  38. package/dist/chunks/{datePicker.component-CwQ7lbgj.js.map → datePicker.component-DN3Vb2hm.js.map} +1 -1
  39. package/dist/chunks/{datePicker.component-DLbm9VYf.js → datePicker.component-PImZR-B6.js} +4 -4
  40. package/dist/chunks/{datePicker.component-DLbm9VYf.js.map → datePicker.component-PImZR-B6.js.map} +1 -1
  41. package/dist/chunks/{heading.component--ic7O4CR.js → heading.component-CgsSnBVo.js} +2 -2
  42. package/dist/chunks/{heading.component--ic7O4CR.js.map → heading.component-CgsSnBVo.js.map} +1 -1
  43. package/dist/chunks/{heading.component-E5shs3Uo.js → heading.component-DIST7ncC.js} +2 -2
  44. package/dist/chunks/{heading.component-E5shs3Uo.js.map → heading.component-DIST7ncC.js.map} +1 -1
  45. package/dist/chunks/{index-sVj7ynbl.js → index-ByhnCBwf.js} +2 -2
  46. package/dist/chunks/{index-sVj7ynbl.js.map → index-ByhnCBwf.js.map} +1 -1
  47. package/dist/chunks/{index-CX6Jo_Vb.js → index-DKKJDbpe.js} +2 -2
  48. package/dist/chunks/{index-CX6Jo_Vb.js.map → index-DKKJDbpe.js.map} +1 -1
  49. package/dist/chunks/{link.component-CSyWrGG3.js → link.component-CRVhyVdO.js} +2 -2
  50. package/dist/chunks/{link.component-CSyWrGG3.js.map → link.component-CRVhyVdO.js.map} +1 -1
  51. package/dist/chunks/{link.component-ucfag2-g.js → link.component-DYNc5XEj.js} +2 -2
  52. package/dist/chunks/{link.component-ucfag2-g.js.map → link.component-DYNc5XEj.js.map} +1 -1
  53. package/dist/chunks/{menu.component-toq-fDY8.js → menu.component-CTze16Re.js} +142 -141
  54. package/dist/chunks/{menu.component-toq-fDY8.js.map → menu.component-CTze16Re.js.map} +1 -1
  55. package/dist/chunks/menu.component-DfMZGgCy.js +2 -0
  56. package/dist/chunks/{menu.component-D_eoL8VD.js.map → menu.component-DfMZGgCy.js.map} +1 -1
  57. package/dist/chunks/modal.types-DYbLPZKq.js +197 -0
  58. package/dist/chunks/modal.types-DYbLPZKq.js.map +1 -0
  59. package/dist/chunks/modal.types-Dt-zDnrS.js +2 -0
  60. package/dist/chunks/modal.types-Dt-zDnrS.js.map +1 -0
  61. package/dist/chunks/{pinInput.types-GAEfMLAv.js → pinInput.types-CU3UyhyT.js} +2 -2
  62. package/dist/chunks/{pinInput.types-GAEfMLAv.js.map → pinInput.types-CU3UyhyT.js.map} +1 -1
  63. package/dist/chunks/{pinInput.types-BPnWNbwp.js → pinInput.types-Ov7NqPQG.js} +2 -2
  64. package/dist/chunks/{pinInput.types-BPnWNbwp.js.map → pinInput.types-Ov7NqPQG.js.map} +1 -1
  65. package/dist/chunks/{popover.component-CewrKFIu.js → popover.component-DU-JJabq.js} +2 -2
  66. package/dist/chunks/{popover.component-CewrKFIu.js.map → popover.component-DU-JJabq.js.map} +1 -1
  67. package/dist/chunks/{popover.component-8ETQVr48.js → popover.component-LH8cQ5xp.js} +3 -3
  68. package/dist/chunks/{popover.component-8ETQVr48.js.map → popover.component-LH8cQ5xp.js.map} +1 -1
  69. package/dist/chunks/{radio.records-CsyF_2pW.js → radio.records-BEcLVP_S.js} +2 -2
  70. package/dist/chunks/{radio.records-CsyF_2pW.js.map → radio.records-BEcLVP_S.js.map} +1 -1
  71. package/dist/chunks/{radio.records-U-7SH4rq.js → radio.records-CnQniSEw.js} +2 -2
  72. package/dist/chunks/{radio.records-U-7SH4rq.js.map → radio.records-CnQniSEw.js.map} +1 -1
  73. package/dist/chunks/{radioGroup.component-DyE_o-Fx.js → radioGroup.component-BijXqMDe.js} +5 -5
  74. package/dist/chunks/{radioGroup.component-DyE_o-Fx.js.map → radioGroup.component-BijXqMDe.js.map} +1 -1
  75. package/dist/chunks/{radioGroup.component-B3pl5h2h.js → radioGroup.component-D9lKUJfv.js} +2 -2
  76. package/dist/chunks/{radioGroup.component-B3pl5h2h.js.map → radioGroup.component-D9lKUJfv.js.map} +1 -1
  77. package/dist/chunks/{ratingDots.component-C8eBoN9v.js → ratingDots.component-CdawEWbl.js} +2 -2
  78. package/dist/chunks/{ratingDots.component-C8eBoN9v.js.map → ratingDots.component-CdawEWbl.js.map} +1 -1
  79. package/dist/chunks/{ratingDots.component-BesDpg8x.js → ratingDots.component-CgBG_tvz.js} +3 -3
  80. package/dist/chunks/{ratingDots.component-BesDpg8x.js.map → ratingDots.component-CgBG_tvz.js.map} +1 -1
  81. package/dist/chunks/select.component-9-2Fo505.js +2 -0
  82. package/dist/chunks/{select.component-BCFraNbc.js.map → select.component-9-2Fo505.js.map} +1 -1
  83. package/dist/chunks/select.component-C4Kx68wP.js +345 -0
  84. package/dist/chunks/{select.component-GTm2laeB.js.map → select.component-C4Kx68wP.js.map} +1 -1
  85. package/dist/chunks/{sortableList.component-COofj0TO.js → sortableList.component-BRToMbfY.js} +2 -2
  86. package/dist/chunks/{sortableList.component-COofj0TO.js.map → sortableList.component-BRToMbfY.js.map} +1 -1
  87. package/dist/chunks/{sortableList.component-B8ch3VZ9.js → sortableList.component-Engs9U32.js} +2 -2
  88. package/dist/chunks/{sortableList.component-B8ch3VZ9.js.map → sortableList.component-Engs9U32.js.map} +1 -1
  89. package/dist/chunks/{spinner.component-DjiFeql5.js → spinner.component-BuNeiOw3.js} +2 -2
  90. package/dist/chunks/{spinner.component-DjiFeql5.js.map → spinner.component-BuNeiOw3.js.map} +1 -1
  91. package/dist/chunks/{spinner.component-DRQDBF8j.js → spinner.component-DCSsW51J.js} +2 -2
  92. package/dist/chunks/{spinner.component-DRQDBF8j.js.map → spinner.component-DCSsW51J.js.map} +1 -1
  93. package/dist/chunks/{styledAvatar.types-Cq3BLvCU.js → styledAvatar.types-BT8cujaA.js} +2 -2
  94. package/dist/chunks/{styledAvatar.types-Cq3BLvCU.js.map → styledAvatar.types-BT8cujaA.js.map} +1 -1
  95. package/dist/chunks/{styledAvatar.types-cc6fpkt6.js → styledAvatar.types-b9eWaeJ6.js} +2 -2
  96. package/dist/chunks/{styledAvatar.types-cc6fpkt6.js.map → styledAvatar.types-b9eWaeJ6.js.map} +1 -1
  97. package/dist/chunks/{switch.component-CSGFEF3I.js → switch.component-B2vWRrP_.js} +3 -3
  98. package/dist/chunks/{switch.component-CSGFEF3I.js.map → switch.component-B2vWRrP_.js.map} +1 -1
  99. package/dist/chunks/{switch.component-DjHknb_4.js → switch.component-QSVPRhDJ.js} +2 -2
  100. package/dist/chunks/{switch.component-DjHknb_4.js.map → switch.component-QSVPRhDJ.js.map} +1 -1
  101. package/dist/chunks/{tabs.component-B365dz_T.js → tabs.component-Cy7BLGXM.js} +2 -2
  102. package/dist/chunks/{tabs.component-B365dz_T.js.map → tabs.component-Cy7BLGXM.js.map} +1 -1
  103. package/dist/chunks/{tabs.component-D5tE6-_n.js → tabs.component-DlaP-qhJ.js} +2 -2
  104. package/dist/chunks/{tabs.component-D5tE6-_n.js.map → tabs.component-DlaP-qhJ.js.map} +1 -1
  105. package/dist/chunks/{tagBlock.component-BWbEe9VL.js → tagBlock.component-CNWy7Cz4.js} +2 -2
  106. package/dist/chunks/{tagBlock.component-BWbEe9VL.js.map → tagBlock.component-CNWy7Cz4.js.map} +1 -1
  107. package/dist/chunks/{tagBlock.component-DGGkSE8s.js → tagBlock.component-Cn6vRcHX.js} +5 -5
  108. package/dist/chunks/{tagBlock.component-DGGkSE8s.js.map → tagBlock.component-Cn6vRcHX.js.map} +1 -1
  109. package/dist/chunks/{text.component-DZkwd4C0.js → text.component-D3E0SdX1.js} +2 -2
  110. package/dist/chunks/{text.component-DZkwd4C0.js.map → text.component-D3E0SdX1.js.map} +1 -1
  111. package/dist/chunks/{text.component-C_Zg4dMh.js → text.component-Dcx3RoTp.js} +2 -2
  112. package/dist/chunks/{text.component-C_Zg4dMh.js.map → text.component-Dcx3RoTp.js.map} +1 -1
  113. package/dist/chunks/{textInput.component-db5JWDOn.js → textInput.component-BjQgcjCW.js} +2 -2
  114. package/dist/chunks/{textInput.component-db5JWDOn.js.map → textInput.component-BjQgcjCW.js.map} +1 -1
  115. package/dist/chunks/{textInput.component-D2StzwsH.js → textInput.component-BpCIE07n.js} +3 -3
  116. package/dist/chunks/{textInput.component-D2StzwsH.js.map → textInput.component-BpCIE07n.js.map} +1 -1
  117. package/dist/chunks/{textarea.component-DvA5vzjS.js → textarea.component-B5AsA90v.js} +3 -3
  118. package/dist/chunks/{textarea.component-DvA5vzjS.js.map → textarea.component-B5AsA90v.js.map} +1 -1
  119. package/dist/chunks/{textarea.component-VN5A4zVD.js → textarea.component-BXtiF_l4.js} +2 -2
  120. package/dist/chunks/{textarea.component-VN5A4zVD.js.map → textarea.component-BXtiF_l4.js.map} +1 -1
  121. package/dist/chunks/{theme.provider-CW14mtF4.js → theme.provider-B8KfvKCf.js} +2 -2
  122. package/dist/chunks/{theme.provider-CW14mtF4.js.map → theme.provider-B8KfvKCf.js.map} +1 -1
  123. package/dist/chunks/{theme.provider-Im9VeW3I.js → theme.provider-CnlvRUbx.js} +6 -6
  124. package/dist/chunks/{theme.provider-Im9VeW3I.js.map → theme.provider-CnlvRUbx.js.map} +1 -1
  125. package/dist/chunks/{timePicker.component-sttSyiVV.js → timePicker.component-BFa1h4Gv.js} +3 -3
  126. package/dist/chunks/{timePicker.component-sttSyiVV.js.map → timePicker.component-BFa1h4Gv.js.map} +1 -1
  127. package/dist/chunks/{timePicker.component-Cm2roPxJ.js → timePicker.component-Bk5xtY7m.js} +2 -2
  128. package/dist/chunks/{timePicker.component-Cm2roPxJ.js.map → timePicker.component-Bk5xtY7m.js.map} +1 -1
  129. package/dist/chunks/{timeRange.component-BuLsK6ed.js → timeRange.component-CWbreNV8.js} +2 -2
  130. package/dist/chunks/{timeRange.component-BuLsK6ed.js.map → timeRange.component-CWbreNV8.js.map} +1 -1
  131. package/dist/chunks/{timeRange.component-OH7hVSwj.js → timeRange.component-DuKclNl6.js} +2 -2
  132. package/dist/chunks/{timeRange.component-OH7hVSwj.js.map → timeRange.component-DuKclNl6.js.map} +1 -1
  133. package/dist/chunks/{timestamp.component-p5tMHeq4.js → timestamp.component-6Yax0uEP.js} +2 -2
  134. package/dist/chunks/{timestamp.component-p5tMHeq4.js.map → timestamp.component-6Yax0uEP.js.map} +1 -1
  135. package/dist/chunks/{timestamp.component-C51FWMrY.js → timestamp.component-BouqsJZM.js} +3 -3
  136. package/dist/chunks/{timestamp.component-C51FWMrY.js.map → timestamp.component-BouqsJZM.js.map} +1 -1
  137. package/dist/chunks/tooltip.component-C7RpuMiK.js +2 -0
  138. package/dist/chunks/tooltip.component-C7RpuMiK.js.map +1 -0
  139. package/dist/chunks/{tooltip.component-DsowDvmZ.js → tooltip.component-DYBYGsfe.js} +226 -219
  140. package/dist/chunks/tooltip.component-DYBYGsfe.js.map +1 -0
  141. package/dist/chunks/{withFormControl-Chelruxy.js → withFormControl-Vf_flDYv.js} +2 -2
  142. package/dist/chunks/{withFormControl-Chelruxy.js.map → withFormControl-Vf_flDYv.js.map} +1 -1
  143. package/dist/chunks/{withFormControl-CvsBPk94.js → withFormControl-YVXep-WE.js} +2 -2
  144. package/dist/chunks/{withFormControl-CvsBPk94.js.map → withFormControl-YVXep-WE.js.map} +1 -1
  145. package/dist/chunks/{withTruncation-Cca8DRk_.js → withTruncation-BNm_JUdt.js} +2 -2
  146. package/dist/chunks/{withTruncation-Cca8DRk_.js.map → withTruncation-BNm_JUdt.js.map} +1 -1
  147. package/dist/chunks/{withTruncation-C7erdGm7.js → withTruncation-D0DUT56h.js} +2 -2
  148. package/dist/chunks/{withTruncation-C7erdGm7.js.map → withTruncation-D0DUT56h.js.map} +1 -1
  149. package/dist/cjs/components/Alert/index.cjs +1 -1
  150. package/dist/cjs/components/Avatar/index.cjs +1 -1
  151. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  152. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  153. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  154. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  155. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  156. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  157. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  158. package/dist/cjs/components/Heading/index.cjs +1 -1
  159. package/dist/cjs/components/Link/index.cjs +1 -1
  160. package/dist/cjs/components/Menu/index.cjs +1 -1
  161. package/dist/cjs/components/Modal/index.cjs +1 -1
  162. package/dist/cjs/components/PinInput/index.cjs +1 -1
  163. package/dist/cjs/components/Popover/index.cjs +1 -1
  164. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  165. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  166. package/dist/cjs/components/Select/index.cjs +1 -1
  167. package/dist/cjs/components/SortableList/index.cjs +1 -1
  168. package/dist/cjs/components/Spinner/index.cjs +1 -1
  169. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  170. package/dist/cjs/components/Switch/index.cjs +1 -1
  171. package/dist/cjs/components/Tabs/index.cjs +1 -1
  172. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  173. package/dist/cjs/components/Text/index.cjs +1 -1
  174. package/dist/cjs/components/TextInput/index.cjs +1 -1
  175. package/dist/cjs/components/Textarea/index.cjs +1 -1
  176. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  177. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  178. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  179. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  180. package/dist/cjs/components/index.cjs +1 -1
  181. package/dist/cjs/index.cjs +1 -1
  182. package/dist/cjs/theme/index.cjs +1 -1
  183. package/dist/esm/components/Alert/index.js +1 -1
  184. package/dist/esm/components/Avatar/index.js +1 -1
  185. package/dist/esm/components/AvatarGroup/index.js +1 -1
  186. package/dist/esm/components/ButtonGroup/index.js +1 -1
  187. package/dist/esm/components/CharacterCounter/index.js +1 -1
  188. package/dist/esm/components/Checkbox/index.js +1 -1
  189. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  190. package/dist/esm/components/ConversationCard/index.js +1 -1
  191. package/dist/esm/components/DatePicker/index.js +1 -1
  192. package/dist/esm/components/Heading/index.js +1 -1
  193. package/dist/esm/components/Link/index.js +1 -1
  194. package/dist/esm/components/Menu/index.js +1 -1
  195. package/dist/esm/components/Modal/index.js +1 -1
  196. package/dist/esm/components/PinInput/index.js +1 -1
  197. package/dist/esm/components/Popover/index.js +1 -1
  198. package/dist/esm/components/RadioGroup/index.js +1 -1
  199. package/dist/esm/components/RatingDots/index.js +1 -1
  200. package/dist/esm/components/Select/index.js +1 -1
  201. package/dist/esm/components/SortableList/index.js +1 -1
  202. package/dist/esm/components/Spinner/index.js +1 -1
  203. package/dist/esm/components/StyledAvatar/index.js +1 -1
  204. package/dist/esm/components/Switch/index.js +1 -1
  205. package/dist/esm/components/Tabs/index.js +1 -1
  206. package/dist/esm/components/TagBlock/index.js +1 -1
  207. package/dist/esm/components/Text/index.js +1 -1
  208. package/dist/esm/components/TextInput/index.js +1 -1
  209. package/dist/esm/components/Textarea/index.js +1 -1
  210. package/dist/esm/components/TimePicker/index.js +1 -1
  211. package/dist/esm/components/TimeRange/index.js +1 -1
  212. package/dist/esm/components/Timestamp/index.js +1 -1
  213. package/dist/esm/components/Tooltip/index.js +1 -1
  214. package/dist/esm/components/index.js +31 -31
  215. package/dist/esm/index.js +32 -32
  216. package/dist/esm/theme/index.js +1 -1
  217. package/dist/types/components/Modal/context/modal.context.d.ts +6 -0
  218. package/package.json +1 -1
  219. package/dist/chunks/menu.component-D_eoL8VD.js +0 -2
  220. package/dist/chunks/modal.types-BhM9guMA.js +0 -2
  221. package/dist/chunks/modal.types-BhM9guMA.js.map +0 -1
  222. package/dist/chunks/modal.types-Dz2IFuc7.js +0 -193
  223. package/dist/chunks/modal.types-Dz2IFuc7.js.map +0 -1
  224. package/dist/chunks/select.component-BCFraNbc.js +0 -2
  225. package/dist/chunks/select.component-GTm2laeB.js +0 -344
  226. package/dist/chunks/tooltip.component-DsowDvmZ.js.map +0 -1
  227. package/dist/chunks/tooltip.component-HHJpC9zD.js +0 -2
  228. package/dist/chunks/tooltip.component-HHJpC9zD.js.map +0 -1
@@ -1,19 +1,20 @@
1
1
  import { j as e } from "./jsx-runtime-C5mzlN2N.js";
2
- import De, { forwardRef as x, useEffect as B, useId as F, useRef as X, useCallback as j, useState as Y, useMemo as y } from "react";
2
+ import Ee, { forwardRef as x, useEffect as B, useId as F, useRef as X, useCallback as b, useState as Y, useMemo as A } from "react";
3
3
  import { B as L } from "./button.component-BWlRjD5a.js";
4
4
  import { I as ne } from "./icon.component-BmcWaysM.js";
5
- import { W as V } from "./text.component-DZkwd4C0.js";
6
- import { F as T } from "./flex-C2d2LH-K.js";
7
- import { W as Ee } from "./textInput.component-D2StzwsH.js";
8
- import { S as He } from "./spinner.component-DRQDBF8j.js";
9
- import { B as A } from "./box-y05hq0PT.js";
10
- import { W as Ke, u as Ue } from "./checkbox.component-C8IPf20R.js";
11
- import { a as k, f as g, b as S, u as z, h as qe, i as Je, j as Qe, k as Xe, n as Ye, s as oe, l as se, m as re, P as Ze } from "./use-locale-context-zakBNK5b.js";
12
- import { c as et } from "./create-slot-recipe-context-DJkLYvCT.js";
13
- import { b as tt } from "./icons-grAfs3Oz.js";
14
- import { c as nt, m as ot } from "./index-sWaESJRS.js";
5
+ import { W as V } from "./text.component-D3E0SdX1.js";
6
+ import { F as w } from "./flex-C2d2LH-K.js";
7
+ import { W as He } from "./textInput.component-BpCIE07n.js";
8
+ import { S as Ke } from "./spinner.component-DCSsW51J.js";
9
+ import { B as G } from "./box-y05hq0PT.js";
10
+ import { u as Ue } from "./tooltip.component-DYBYGsfe.js";
11
+ import { W as qe, u as Je } from "./checkbox.component-C99uwLFM.js";
12
+ import { a as S, f as g, b as N, u as z, h as Qe, i as Xe, j as Ye, k as Ze, n as et, s as oe, l as se, m as re, P as tt } from "./use-locale-context-zakBNK5b.js";
13
+ import { c as nt } from "./create-slot-recipe-context-DJkLYvCT.js";
14
+ import { b as ot } from "./icons-grAfs3Oz.js";
15
+ import { c as st, m as rt } from "./index-sWaESJRS.js";
15
16
  import { U as d } from "./index-DLvqBeH6.js";
16
- const [ae, m] = k({
17
+ const [ae, m] = S({
17
18
  name: "MenuContext",
18
19
  hookName: "useMenuContext",
19
20
  providerName: "<MenuProvider />",
@@ -28,16 +29,16 @@ const ue = x((o, n) => {
28
29
  return /* @__PURE__ */ e.jsx(g.div, { ...s, ref: n });
29
30
  });
30
31
  ue.displayName = "MenuArrowTip";
31
- const [W, Bt] = k({
32
+ const [W, Vt] = S({
32
33
  name: "MenuItemContext",
33
34
  hookName: "useMenuItemContext",
34
35
  providerName: "<MenuItemProvider />"
35
- }), [ie, le] = k({
36
+ }), [ie, le] = S({
36
37
  name: "MenuOptionItemPropsContext",
37
38
  hookName: "useMenuOptionItemPropsContext",
38
39
  providerName: "<MenuOptionItemPropsProvider />"
39
40
  }), de = x((o, n) => {
40
- const [t, s] = S()(o, [
41
+ const [t, s] = N()(o, [
41
42
  "checked",
42
43
  "closeOnSelect",
43
44
  "disabled",
@@ -53,7 +54,7 @@ const [W, Bt] = k({
53
54
  de.displayName = "MenuCheckboxItem";
54
55
  const me = x((o, n) => {
55
56
  const t = m(), s = z(), r = d(t.getContentProps(), s.getPresenceProps(), o);
56
- return s.unmounted ? null : /* @__PURE__ */ e.jsx(g.div, { ...r, ref: qe(s.ref, n) });
57
+ return s.unmounted ? null : /* @__PURE__ */ e.jsx(g.div, { ...r, ref: Qe(s.ref, n) });
57
58
  });
58
59
  me.displayName = "MenuContent";
59
60
  const pe = x((o, n) => {
@@ -67,7 +68,7 @@ const he = x((o, n) => {
67
68
  });
68
69
  he.displayName = "MenuIndicator";
69
70
  const xe = x((o, n) => {
70
- const [t, s] = S()(o, [
71
+ const [t, s] = N()(o, [
71
72
  "closeOnSelect",
72
73
  "disabled",
73
74
  "value",
@@ -77,12 +78,12 @@ const xe = x((o, n) => {
77
78
  return B(() => r.addItemListener({ id: c.id, onSelect: t.onSelect }), [c.id, t.onSelect]), /* @__PURE__ */ e.jsx(W, { value: c, children: /* @__PURE__ */ e.jsx(g.div, { ...u, ref: n }) });
78
79
  });
79
80
  xe.displayName = "MenuItem";
80
- const [ge, Me] = k({
81
+ const [ge, Me] = S({
81
82
  name: "MenuItemGroupContext",
82
83
  hookName: "useMenuItemGroupContext",
83
84
  providerName: "<MenuItemGroupProvider />"
84
85
  }), fe = x((o, n) => {
85
- const [t, s] = S()(o, ["id"]), r = m(), c = { id: F(), ...t }, l = d(r.getItemGroupProps(c), s);
86
+ const [t, s] = N()(o, ["id"]), r = m(), c = { id: F(), ...t }, l = d(r.getItemGroupProps(c), s);
86
87
  return /* @__PURE__ */ e.jsx(ge, { value: c, children: /* @__PURE__ */ e.jsx(g.div, { ...l, ref: n }) });
87
88
  });
88
89
  fe.displayName = "MenuItemGroup";
@@ -107,7 +108,7 @@ const Ce = x((o, n) => {
107
108
  });
108
109
  Ce.displayName = "MenuPositioner";
109
110
  const je = x((o, n) => {
110
- const [t, s] = S()(o, [
111
+ const [t, s] = N()(o, [
111
112
  "closeOnSelect",
112
113
  "disabled",
113
114
  "value",
@@ -122,7 +123,7 @@ const je = x((o, n) => {
122
123
  });
123
124
  je.displayName = "MenuRadioItem";
124
125
  const be = x((o, n) => {
125
- const [t, s] = S()(o, [
126
+ const [t, s] = N()(o, [
126
127
  "id",
127
128
  "onValueChange",
128
129
  "value"
@@ -137,26 +138,26 @@ const ke = (o) => {
137
138
  }), B(() => {
138
139
  t.current !== !0 && (t.current = !0, n.current());
139
140
  }, []);
140
- }, st = (o) => {
141
- const n = F(), { getRootNode: t } = Je(), { dir: s } = Qe(), r = {
141
+ }, at = (o) => {
142
+ const n = F(), { getRootNode: t } = Xe(), { dir: s } = Ye(), r = {
142
143
  id: n,
143
144
  dir: s,
144
145
  getRootNode: t,
145
146
  ...o
146
- }, u = Xe(ot, r);
147
- return { api: nt(u, Ye), service: u };
148
- }, [Se, Ne] = k({
147
+ }, u = Ze(rt, r);
148
+ return { api: st(u, et), service: u };
149
+ }, [Se, Ne] = S({
149
150
  name: "MenuMachineContext",
150
151
  hookName: "useMenuMachineContext",
151
152
  providerName: "<MenuMachineProvider />",
152
153
  strict: !1
153
- }), [Te, rt] = k({
154
+ }), [Te, ct] = S({
154
155
  name: "MenuMachineContext",
155
156
  hookName: "useMenuMachineContext",
156
157
  providerName: "<MenuMachineProvider />",
157
158
  strict: !1
158
- }), at = (o) => {
159
- const [n, t] = oe(o), [s, r] = S()(t, [
159
+ }), ut = (o) => {
160
+ const [n, t] = oe(o), [s, r] = N()(t, [
160
161
  "anchorPoint",
161
162
  "aria-label",
162
163
  "closeOnSelect",
@@ -178,19 +179,19 @@ const ke = (o) => {
178
179
  "open",
179
180
  "positioning",
180
181
  "typeahead"
181
- ]), u = m(), c = Ne(), { api: l, service: M } = st(s), I = se(d({ present: l.open }, n));
182
+ ]), u = m(), c = Ne(), { api: l, service: M } = at(s), P = se(d({ present: l.open }, n));
182
183
  ke(() => {
183
184
  c && u && (u.setChild(M), l.setParent(c));
184
185
  });
185
- const P = j(() => u?.getTriggerItemProps(l), [l, u]);
186
- return /* @__PURE__ */ e.jsx(Te, { value: P, children: /* @__PURE__ */ e.jsx(Se, { value: M, children: /* @__PURE__ */ e.jsx(ae, { value: l, children: /* @__PURE__ */ e.jsx(re, { value: I, ...r }) }) }) });
187
- }, ct = (o) => {
186
+ const j = b(() => u?.getTriggerItemProps(l), [l, u]);
187
+ return /* @__PURE__ */ e.jsx(Te, { value: j, children: /* @__PURE__ */ e.jsx(Se, { value: M, children: /* @__PURE__ */ e.jsx(ae, { value: l, children: /* @__PURE__ */ e.jsx(re, { value: P, ...r }) }) }) });
188
+ }, it = (o) => {
188
189
  const n = m(), t = Ne(), [s, { value: r, children: u }] = oe(o), { api: c, service: l } = r, M = se(d({ present: c.open }, s));
189
190
  ke(() => {
190
191
  t && n && (n.setChild(l), c.setParent(t));
191
192
  });
192
- const I = j(() => n?.getTriggerItemProps(c), [c, n]);
193
- return /* @__PURE__ */ e.jsx(Te, { value: I, children: /* @__PURE__ */ e.jsx(Se, { value: l, children: /* @__PURE__ */ e.jsx(ae, { value: c, children: /* @__PURE__ */ e.jsx(re, { value: M, children: u }) }) }) });
193
+ const P = b(() => n?.getTriggerItemProps(c), [c, n]);
194
+ return /* @__PURE__ */ e.jsx(Te, { value: P, children: /* @__PURE__ */ e.jsx(Se, { value: l, children: /* @__PURE__ */ e.jsx(ae, { value: c, children: /* @__PURE__ */ e.jsx(re, { value: M, children: u }) }) }) });
194
195
  }, we = x((o, n) => {
195
196
  const t = m(), s = d(t.getSeparatorProps(), o);
196
197
  return /* @__PURE__ */ e.jsx(g.hr, { ...s, ref: n });
@@ -208,26 +209,26 @@ const ye = x((o, n) => {
208
209
  });
209
210
  ye.displayName = "MenuTrigger";
210
211
  const Ae = x((o, n) => {
211
- const t = rt(), s = d(t?.() ?? {}, o);
212
+ const t = ct(), s = d(t?.() ?? {}, o);
212
213
  return /* @__PURE__ */ e.jsx(g.div, { ...s, ref: n });
213
214
  });
214
215
  Ae.displayName = "MenuTriggerItem";
215
216
  const {
216
217
  withRootProvider: Ge,
217
218
  withContext: p
218
- } = et({ key: "menu" });
219
+ } = nt({ key: "menu" });
219
220
  Ge(
220
- ct
221
+ it
221
222
  );
222
- const ut = Ge(at, {
223
+ const lt = Ge(ut, {
223
224
  defaultProps: { lazyMount: !0, unmountOnExit: !0 }
224
- }), it = p(
225
+ }), dt = p(
225
226
  ye,
226
227
  "trigger",
227
228
  { forwardAsChild: !0 }
228
229
  );
229
230
  p(pe, "contextTrigger", { forwardAsChild: !0 });
230
- const lt = p(
231
+ const mt = p(
231
232
  Ce,
232
233
  "positioner",
233
234
  { forwardAsChild: !0 }
@@ -237,11 +238,11 @@ p(
237
238
  "separator",
238
239
  { forwardAsChild: !0 }
239
240
  );
240
- const dt = p(
241
+ const pt = p(
241
242
  me,
242
243
  "content",
243
244
  { forwardAsChild: !0 }
244
- ), mt = p(
245
+ ), ht = p(
245
246
  ue,
246
247
  "arrowTip",
247
248
  { forwardAsChild: !0 }
@@ -249,22 +250,22 @@ const dt = p(
249
250
  p(
250
251
  ce,
251
252
  "arrow",
252
- { forwardAsChild: !0, defaultProps: { children: /* @__PURE__ */ e.jsx(mt, {}) } }
253
+ { forwardAsChild: !0, defaultProps: { children: /* @__PURE__ */ e.jsx(ht, {}) } }
253
254
  );
254
255
  p(
255
256
  he,
256
257
  "indicator",
257
258
  { forwardAsChild: !0 }
258
259
  );
259
- const pt = p(
260
+ const xt = p(
260
261
  fe,
261
262
  "itemGroup",
262
263
  { forwardAsChild: !0 }
263
- ), ht = p(Pe, "itemGroupLabel", { forwardAsChild: !0 }), xt = p(
264
+ ), gt = p(Pe, "itemGroupLabel", { forwardAsChild: !0 }), Mt = p(
264
265
  xe,
265
266
  "item",
266
267
  { forwardAsChild: !0 }
267
- ), gt = p(Ae, "item", { forwardAsChild: !0 });
268
+ ), ft = p(Ae, "item", { forwardAsChild: !0 });
268
269
  p(
269
270
  ve,
270
271
  "itemText",
@@ -276,16 +277,16 @@ p(
276
277
  );
277
278
  p(Ie, "itemIndicator", {
278
279
  forwardAsChild: !0,
279
- defaultProps: { children: /* @__PURE__ */ e.jsx(tt, { boxSize: "4" }) }
280
+ defaultProps: { children: /* @__PURE__ */ e.jsx(ot, { boxSize: "4" }) }
280
281
  });
281
- const Mt = p(de, "item", { forwardAsChild: !0 });
282
+ const Pt = p(de, "item", { forwardAsChild: !0 });
282
283
  p(be, "itemGroup", { forwardAsChild: !0 });
283
284
  p(
284
285
  je,
285
286
  "item",
286
287
  { forwardAsChild: !0 }
287
288
  );
288
- const ft = ({
289
+ const It = ({
289
290
  hideCaret: o = !1,
290
291
  size: n = "md",
291
292
  text: t,
@@ -315,7 +316,7 @@ const ft = ({
315
316
  }
316
317
  ),
317
318
  !o && /* @__PURE__ */ e.jsx(
318
- T,
319
+ w,
319
320
  {
320
321
  className: "Menu__ButtonCaret",
321
322
  "data-testid": "kibble-menu-button-caret",
@@ -324,7 +325,7 @@ const ft = ({
324
325
  )
325
326
  ]
326
327
  }
327
- ), Pt = ({
328
+ ), vt = ({
328
329
  label: o,
329
330
  leftElement: n,
330
331
  onSelect: t,
@@ -333,16 +334,16 @@ const ft = ({
333
334
  variant: u,
334
335
  ...c
335
336
  }) => {
336
- const l = j(() => {
337
+ const l = b(() => {
337
338
  t && t(c.value);
338
339
  }, [t, c.value]);
339
340
  if (r === "submenu") {
340
- const { valueText: M, listProps: I } = c;
341
+ const { valueText: M, listProps: P } = c;
341
342
  return /* @__PURE__ */ e.jsx(
342
- It,
343
+ Ct,
343
344
  {
344
345
  submenuTrigger: /* @__PURE__ */ e.jsxs(
345
- gt,
346
+ ft,
346
347
  {
347
348
  className: "Menu__Item--Submenu",
348
349
  "data-testid": "kibble-menu-item-submenu",
@@ -363,25 +364,25 @@ const ft = ({
363
364
  }
364
365
  ),
365
366
  portalled: !0,
366
- listProps: I
367
+ listProps: P
367
368
  }
368
369
  );
369
370
  }
370
371
  if (r === "checkbox") {
371
- const { checked: M, value: I, closeOnSelect: P, ...G } = c;
372
+ const { checked: M, value: P, closeOnSelect: j, ...v } = c;
372
373
  return /* @__PURE__ */ e.jsxs(
373
- Mt,
374
+ Pt,
374
375
  {
375
376
  className: "Menu__Item--Checkbox",
376
377
  "data-testid": "kibble-menu-item-checkbox",
377
- value: I,
378
+ value: P,
378
379
  checked: !!M,
379
380
  onCheckedChange: l,
380
- closeOnSelect: P || !1,
381
+ closeOnSelect: j || !1,
381
382
  gap: 3,
382
- ...G,
383
+ ...v,
383
384
  children: [
384
- /* @__PURE__ */ e.jsx(Ke, { checked: !!M, size: "md" }),
385
+ /* @__PURE__ */ e.jsx(qe, { checked: !!M, size: "md" }),
385
386
  /* @__PURE__ */ e.jsx(
386
387
  $,
387
388
  {
@@ -398,18 +399,18 @@ const ft = ({
398
399
  if (r === "default") {
399
400
  const {
400
401
  selected: M = !1,
401
- value: I,
402
- ...P
402
+ value: P,
403
+ ...j
403
404
  } = c;
404
405
  return /* @__PURE__ */ e.jsx(
405
- xt,
406
+ Mt,
406
407
  {
407
408
  className: "Menu__Item--Default",
408
409
  "data-testid": "kibble-menu-item-default",
409
- value: I,
410
+ value: P,
410
411
  onSelect: l,
411
412
  ...M && { bgColor: "background.secondaryAlpha.hover" },
412
- ...P,
413
+ ...j,
413
414
  children: /* @__PURE__ */ e.jsx(
414
415
  $,
415
416
  {
@@ -428,7 +429,7 @@ const ft = ({
428
429
  leftElement: n,
429
430
  shouldTruncateText: t,
430
431
  variant: s
431
- }) => /* @__PURE__ */ e.jsxs(T, { className: "Menu__ItemLabel", alignItems: "center", gap: 3, children: [
432
+ }) => /* @__PURE__ */ e.jsxs(w, { className: "Menu__ItemLabel", alignItems: "center", gap: 3, children: [
432
433
  n,
433
434
  typeof o == "string" ? /* @__PURE__ */ e.jsx(V, { size: "sm", truncated: t, variant: s, children: o }) : o
434
435
  ] }), Z = ({
@@ -438,7 +439,7 @@ const ft = ({
438
439
  }) => {
439
440
  const s = !!o;
440
441
  return /* @__PURE__ */ e.jsx(
441
- A,
442
+ G,
442
443
  {
443
444
  className: "Menu__ToggleButtons",
444
445
  "data-testid": "kibble-menu-toggle-buttons",
@@ -450,7 +451,7 @@ const ft = ({
450
451
  groupName: o,
451
452
  onToggle: t
452
453
  }
453
- ) : /* @__PURE__ */ e.jsx(ee, { groupName: o, onToggle: t }) }) : /* @__PURE__ */ e.jsxs(T, { justifyContent: "space-between", children: [
454
+ ) : /* @__PURE__ */ e.jsx(ee, { groupName: o, onToggle: t }) }) : /* @__PURE__ */ e.jsxs(w, { justifyContent: "space-between", children: [
454
455
  /* @__PURE__ */ e.jsx(ee, { groupName: o, onToggle: t }),
455
456
  /* @__PURE__ */ e.jsx(
456
457
  te,
@@ -488,121 +489,121 @@ const ft = ({
488
489
  onClick: () => t({ groupName: n, clear: !0 }),
489
490
  children: "Clear All"
490
491
  }
491
- ), It = ({
492
+ ), Ct = ({
492
493
  buttonProps: o,
493
494
  listProps: n,
494
495
  portalled: t = !1,
495
496
  submenuTrigger: s,
496
497
  ...r
497
498
  }) => {
498
- const {
499
- canSelectAll: u,
500
- canSelectGroups: c,
501
- emptyStateText: l = "No results found",
502
- loading: M,
503
- maxH: I = "480px",
504
- menuItems: P = [],
505
- minW: G = "240px",
499
+ const { contentRef: u } = Ue(), {
500
+ canSelectAll: c,
501
+ canSelectGroups: l,
502
+ emptyStateText: M = "No results found",
503
+ loading: P,
504
+ maxH: j = "480px",
505
+ menuItems: v = [],
506
+ minW: Oe = "240px",
506
507
  onSearch: O,
507
508
  onSelect: D,
508
509
  onSelectAll: E,
509
510
  searchable: H,
510
- searchPlaceholder: Oe = "Search...",
511
- shouldTruncateText: _e,
512
- ...Re
513
- } = n || {}, [$e, _] = Y(""), [K, R] = Y(P), U = y(() => {
511
+ searchPlaceholder: _e = "Search...",
512
+ shouldTruncateText: Re,
513
+ ...$e
514
+ } = n || {}, [Be, _] = Y(""), [K, R] = Y(v), U = A(() => {
514
515
  const a = {};
515
516
  return K?.forEach((i) => {
516
517
  const h = i.groupLabel || "default", f = i.type === "checkbox" ? "checkbox" : "default";
517
518
  a[h] || (a[h] = {}), a[h][f] || (a[h][f] = []), a[h][f].push(i);
518
519
  }), a;
519
- }, [K]), q = y(() => Object.entries(U), [U]), b = y(
520
- () => P?.filter((a) => a.type === "checkbox") || [],
521
- [P]
522
- ), Be = y(() => (b?.filter((i) => i.checked) || []).map((i) => i.value), [b]), v = Ue({
523
- defaultValue: Be
524
- }), J = j(
520
+ }, [K]), q = A(() => Object.entries(U), [U]), k = A(
521
+ () => v?.filter((a) => a.type === "checkbox") || [],
522
+ [v]
523
+ ), Fe = A(() => (k?.filter((i) => i.checked) || []).map((i) => i.value), [k]), I = Je({
524
+ defaultValue: Fe
525
+ }), J = b(
525
526
  (a) => {
526
527
  const i = a.target.value;
527
528
  if (_(i), O)
528
529
  O(a);
529
530
  else if (i === "" || !i)
530
- R(P);
531
+ R(v);
531
532
  else {
532
- const h = P.filter((f) => !!(typeof f.label == "string" ? f.label : f.valueText)?.toLowerCase().includes(i.toLowerCase()));
533
+ const h = v.filter((f) => !!(typeof f.label == "string" ? f.label : f.valueText)?.toLowerCase().includes(i.toLowerCase()));
533
534
  R(h);
534
535
  }
535
536
  },
536
- [P, O]
537
- ), Q = j(
537
+ [v, O]
538
+ ), Q = b(
538
539
  ({ groupName: a, clear: i }) => {
539
540
  let h = [];
540
541
  if (a) {
541
- const f = b.filter((C) => C.groupLabel === a).map((C) => C.value);
542
- h = i ? v.value.filter((C) => !f.includes(C)) : [...v.value, ...f];
542
+ const f = k.filter((C) => C.groupLabel === a).map((C) => C.value);
543
+ h = i ? I.value.filter((C) => !f.includes(C)) : [...I.value, ...f];
543
544
  } else
544
- h = i ? [] : b.map((f) => f.value);
545
- E?.(h), v.setValue(h);
545
+ h = i ? [] : k.map((f) => f.value);
546
+ E?.(h), I.setValue(h);
546
547
  },
547
- [b, E, v]
548
- ), Fe = j(
548
+ [k, E, I]
549
+ ), Le = b(
549
550
  (a) => {
550
551
  a.onSelect?.(a.value);
551
- const i = v.value, h = v.isChecked(a.value);
552
+ const i = I.value, h = I.isChecked(a.value);
552
553
  D?.(
553
554
  a.value,
554
555
  h ? i.filter((f) => f !== a.value) : [...i, a.value]
555
- ), a.type === "checkbox" && v.toggleValue(a.value);
556
+ ), a.type === "checkbox" && I.toggleValue(a.value);
556
557
  },
557
- [D, v]
558
- ), Le = j(
558
+ [D, I]
559
+ ), Ve = b(
559
560
  (a) => {
560
- a || (_(""), R(P));
561
+ a || (_(""), R(v));
561
562
  },
562
- [P]
563
+ [v]
563
564
  );
564
565
  return /* @__PURE__ */ e.jsxs(
565
- ut,
566
+ lt,
566
567
  {
567
568
  ...r,
568
569
  onOpenChange: (a) => {
569
- Le(a.open), r.onOpenChange?.(a);
570
+ Ve(a.open), r.onOpenChange?.(a);
570
571
  },
571
572
  children: [
572
573
  s || /* @__PURE__ */ e.jsx(
573
- it,
574
+ dt,
574
575
  {
575
576
  asChild: !0,
576
577
  className: "Menu__Trigger",
577
578
  "data-testid": "kibble-menu-trigger",
578
- children: /* @__PURE__ */ e.jsx(ft, { ...o })
579
+ children: /* @__PURE__ */ e.jsx(It, { ...o })
579
580
  }
580
581
  ),
581
- /* @__PURE__ */ e.jsx(Ze, { disabled: !t, children: /* @__PURE__ */ e.jsx(lt, { className: "Menu", "data-testid": "kibble-menu", children: /* @__PURE__ */ e.jsxs(
582
- dt,
582
+ /* @__PURE__ */ e.jsx(tt, { disabled: !t, container: u || void 0, children: /* @__PURE__ */ e.jsx(mt, { className: "Menu", "data-testid": "kibble-menu", children: /* @__PURE__ */ e.jsxs(
583
+ pt,
583
584
  {
584
585
  className: "Menu__Content",
585
586
  "data-testid": "kibble-menu-content",
586
- maxH: I,
587
- minW: G,
588
- ...Re,
587
+ maxH: j,
588
+ minW: Oe,
589
+ ...$e,
589
590
  children: [
590
- (H || u) && /* @__PURE__ */ e.jsxs(
591
- A,
591
+ (H || c) && /* @__PURE__ */ e.jsxs(
592
+ G,
592
593
  {
593
594
  className: "Menu__Header",
594
595
  "data-testid": "kibble-menu-header",
595
596
  m: "0 12px 8px",
596
597
  children: [
597
598
  H && /* @__PURE__ */ e.jsx(
598
- Ee,
599
+ He,
599
600
  {
600
601
  className: "Menu__SearchBar",
601
602
  "data-testid": "kibble-menu-search-bar",
602
- placeholder: Oe,
603
+ placeholder: _e,
603
604
  onChange: J,
604
605
  size: "sm",
605
- value: $e,
606
+ value: Be,
606
607
  clearable: !0,
607
608
  onClear: () => {
608
609
  _(""), J({
@@ -612,57 +613,57 @@ const ft = ({
612
613
  formControlStyle: { mt: 1 }
613
614
  }
614
615
  ),
615
- u && !!b.length && /* @__PURE__ */ e.jsx(
616
+ c && !!k.length && /* @__PURE__ */ e.jsx(
616
617
  Z,
617
618
  {
618
619
  onToggle: Q,
619
- hasSelectedItems: !!v.value.length
620
+ hasSelectedItems: !!I.value.length
620
621
  }
621
622
  )
622
623
  ]
623
624
  }
624
625
  ),
625
- M ? /* @__PURE__ */ e.jsx(T, { justifyContent: "center", py: 5, children: /* @__PURE__ */ e.jsx(He, {}) }) : /* @__PURE__ */ e.jsx(A, { className: "Menu__List", "data-testid": "kibble-menu-list", children: q.length ? /* @__PURE__ */ e.jsx(e.Fragment, { children: q.map(([a, i]) => {
626
- const h = a === "default", f = Object.keys(i), C = h ? De.Fragment : pt, Ve = i.checkbox?.map(
627
- (N) => N.value
626
+ P ? /* @__PURE__ */ e.jsx(w, { justifyContent: "center", py: 5, children: /* @__PURE__ */ e.jsx(Ke, {}) }) : /* @__PURE__ */ e.jsx(G, { className: "Menu__List", "data-testid": "kibble-menu-list", children: q.length ? /* @__PURE__ */ e.jsx(e.Fragment, { children: q.map(([a, i]) => {
627
+ const h = a === "default", f = Object.keys(i), C = h ? Ee.Fragment : xt, ze = i.checkbox?.map(
628
+ (T) => T.value
628
629
  )?.some(
629
- (N) => v.value.includes(N)
630
+ (T) => I.value.includes(T)
630
631
  );
631
632
  return /* @__PURE__ */ e.jsxs(C, { children: [
632
- !h && /* @__PURE__ */ e.jsx(ht, { children: /* @__PURE__ */ e.jsxs(
633
- T,
633
+ !h && /* @__PURE__ */ e.jsx(gt, { children: /* @__PURE__ */ e.jsxs(
634
+ w,
634
635
  {
635
636
  alignItems: "center",
636
637
  justifyContent: "space-between",
637
638
  children: [
638
639
  a,
639
- c && f.includes("checkbox") && /* @__PURE__ */ e.jsx(
640
+ l && f.includes("checkbox") && /* @__PURE__ */ e.jsx(
640
641
  Z,
641
642
  {
642
643
  groupName: a,
643
644
  onToggle: Q,
644
- hasSelectedItems: Ve
645
+ hasSelectedItems: ze
645
646
  }
646
647
  )
647
648
  ]
648
649
  }
649
650
  ) }),
650
651
  Object.entries(i).map(
651
- ([N, ze]) => ze.map((w, We) => /* @__PURE__ */ e.jsx(
652
- Pt,
652
+ ([T, We]) => We.map((y, De) => /* @__PURE__ */ e.jsx(
653
+ vt,
653
654
  {
654
- ...w,
655
- shouldTruncateText: _e,
656
- ...w.type === "checkbox" && {
657
- checked: v.isChecked(w.value)
655
+ ...y,
656
+ shouldTruncateText: Re,
657
+ ...y.type === "checkbox" && {
658
+ checked: I.isChecked(y.value)
658
659
  },
659
- onSelect: () => Fe(w)
660
+ onSelect: () => Le(y)
660
661
  },
661
- `menu-item-${a}-${N}-${We}`
662
+ `menu-item-${a}-${T}-${De}`
662
663
  ))
663
664
  )
664
665
  ] }, a);
665
- }) }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(A, { textAlign: "center", p: 3, children: /* @__PURE__ */ e.jsx(V, { size: "sm", variant: "subtle", children: l }) }) }) })
666
+ }) }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(G, { textAlign: "center", p: 3, children: /* @__PURE__ */ e.jsx(V, { size: "sm", variant: "subtle", children: M }) }) }) })
666
667
  ]
667
668
  }
668
669
  ) }) })
@@ -671,6 +672,6 @@ const ft = ({
671
672
  );
672
673
  };
673
674
  export {
674
- It as M
675
+ Ct as M
675
676
  };
676
- //# sourceMappingURL=menu.component-toq-fDY8.js.map
677
+ //# sourceMappingURL=menu.component-CTze16Re.js.map