@televet/kibble-ui 4.0.0-beta.84 → 4.0.0-beta.86

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 (288) hide show
  1. package/dist/chunks/{alert.types-ChLcWuel.js → alert.types-DTNR8_C-.js} +2 -2
  2. package/dist/chunks/{alert.types-ChLcWuel.js.map → alert.types-DTNR8_C-.js.map} +1 -1
  3. package/dist/chunks/{alert.types-BuRcGwVs.js → alert.types-QEeDYCAD.js} +3 -3
  4. package/dist/chunks/{alert.types-BuRcGwVs.js.map → alert.types-QEeDYCAD.js.map} +1 -1
  5. package/dist/chunks/{avatar.component-xigxcdOe.js → avatar.component-qXhLVNzG.js} +2 -2
  6. package/dist/chunks/{avatar.component-xigxcdOe.js.map → avatar.component-qXhLVNzG.js.map} +1 -1
  7. package/dist/chunks/{avatar.component-CStlz24o.js → avatar.component-yAhlBo_d.js} +2 -2
  8. package/dist/chunks/{avatar.component-CStlz24o.js.map → avatar.component-yAhlBo_d.js.map} +1 -1
  9. package/dist/chunks/{avatarGroup.component-NNkXQT3H.js → avatarGroup.component-T3cUc5XX.js} +2 -2
  10. package/dist/chunks/{avatarGroup.component-NNkXQT3H.js.map → avatarGroup.component-T3cUc5XX.js.map} +1 -1
  11. package/dist/chunks/{avatarGroup.component-B0lzqxW5.js → avatarGroup.component-bImv23vg.js} +2 -2
  12. package/dist/chunks/{avatarGroup.component-B0lzqxW5.js.map → avatarGroup.component-bImv23vg.js.map} +1 -1
  13. package/dist/chunks/button.component-BpF3MzbZ.js.map +1 -1
  14. package/dist/chunks/button.component-Dd9AfGox.js.map +1 -1
  15. package/dist/chunks/{buttonGroup.component-B_QtRowk.js → buttonGroup.component-0iZj3N28.js} +2 -2
  16. package/dist/chunks/{buttonGroup.component-B_QtRowk.js.map → buttonGroup.component-0iZj3N28.js.map} +1 -1
  17. package/dist/chunks/{buttonGroup.component-VJL0Cunk.js → buttonGroup.component-BuF41rNB.js} +2 -2
  18. package/dist/chunks/{buttonGroup.component-VJL0Cunk.js.map → buttonGroup.component-BuF41rNB.js.map} +1 -1
  19. package/dist/chunks/{characterCounter.component-DbKKr4Cl.js → characterCounter.component-Cvw7D33c.js} +2 -2
  20. package/dist/chunks/{characterCounter.component-DbKKr4Cl.js.map → characterCounter.component-Cvw7D33c.js.map} +1 -1
  21. package/dist/chunks/{characterCounter.component-D4gbtPgf.js → characterCounter.component-DCSJKVZn.js} +2 -2
  22. package/dist/chunks/{characterCounter.component-D4gbtPgf.js.map → characterCounter.component-DCSJKVZn.js.map} +1 -1
  23. package/dist/chunks/checkbox.component-BoaV-gQi.js +2 -0
  24. package/dist/chunks/{checkbox.component-CKLGUOSX.js.map → checkbox.component-BoaV-gQi.js.map} +1 -1
  25. package/dist/chunks/checkbox.component-CT344a1o.js +311 -0
  26. package/dist/chunks/{checkbox.component-DhXTRoeP.js.map → checkbox.component-CT344a1o.js.map} +1 -1
  27. package/dist/chunks/{checkbox.records-4j704fMI.js → checkbox.records-CTlAD-2Q.js} +9 -9
  28. package/dist/chunks/{checkbox.records-4j704fMI.js.map → checkbox.records-CTlAD-2Q.js.map} +1 -1
  29. package/dist/chunks/{checkboxGroup.component-BE3s9USP.js → checkboxGroup.component-CVRj2S5m.js} +3 -3
  30. package/dist/chunks/{checkboxGroup.component-BE3s9USP.js.map → checkboxGroup.component-CVRj2S5m.js.map} +1 -1
  31. package/dist/chunks/{checkboxGroup.component-C7Nn0xjJ.js → checkboxGroup.component-X2cU2KU-.js} +2 -2
  32. package/dist/chunks/{checkboxGroup.component-C7Nn0xjJ.js.map → checkboxGroup.component-X2cU2KU-.js.map} +1 -1
  33. package/dist/chunks/{conversationCard.component-CnMm11fG.js → conversationCard.component-CkmCkM8o.js} +2 -2
  34. package/dist/chunks/{conversationCard.component-CnMm11fG.js.map → conversationCard.component-CkmCkM8o.js.map} +1 -1
  35. package/dist/chunks/{conversationCard.component-CAFi2W7w.js → conversationCard.component-u6I8Phyu.js} +8 -8
  36. package/dist/chunks/{conversationCard.component-CAFi2W7w.js.map → conversationCard.component-u6I8Phyu.js.map} +1 -1
  37. package/dist/chunks/datePicker.component-B_wuoiPP.js +15 -0
  38. package/dist/chunks/datePicker.component-B_wuoiPP.js.map +1 -0
  39. package/dist/chunks/{datePicker.component-CW882xTE.js → datePicker.component-Cger9TA5.js} +536 -586
  40. package/dist/chunks/datePicker.component-Cger9TA5.js.map +1 -0
  41. package/dist/chunks/{heading.component-CoM9gWlU.js → heading.component-Cf58bZa1.js} +2 -2
  42. package/dist/chunks/{heading.component-CoM9gWlU.js.map → heading.component-Cf58bZa1.js.map} +1 -1
  43. package/dist/chunks/{heading.component-B-FrSa28.js → heading.component-DNsKd4Gh.js} +2 -2
  44. package/dist/chunks/{heading.component-B-FrSa28.js.map → heading.component-DNsKd4Gh.js.map} +1 -1
  45. package/dist/chunks/isSymbol-BQN49XhJ.js +67 -0
  46. package/dist/chunks/isSymbol-BQN49XhJ.js.map +1 -0
  47. package/dist/chunks/isSymbol-BdGeV_e0.js +2 -0
  48. package/dist/chunks/isSymbol-BdGeV_e0.js.map +1 -0
  49. package/dist/chunks/link.component-BlCMfkSE.js +2 -0
  50. package/dist/chunks/link.component-BlCMfkSE.js.map +1 -0
  51. package/dist/chunks/link.component-Dk9j8As1.js +60 -0
  52. package/dist/chunks/link.component-Dk9j8As1.js.map +1 -0
  53. package/dist/chunks/{menu.component-DEnxu0vh.js → menu.component-4gKH4f5l.js} +6 -6
  54. package/dist/chunks/{menu.component-DEnxu0vh.js.map → menu.component-4gKH4f5l.js.map} +1 -1
  55. package/dist/chunks/menu.component-C5NwkXGO.js +2 -0
  56. package/dist/chunks/{menu.component-BPtwVqUh.js.map → menu.component-C5NwkXGO.js.map} +1 -1
  57. package/dist/chunks/modal.types-DDwG7coD.js +2 -0
  58. package/dist/chunks/modal.types-DDwG7coD.js.map +1 -0
  59. package/dist/chunks/{modal.types-XDLmSWyz.js → modal.types-DIDn6Pz1.js} +68 -71
  60. package/dist/chunks/modal.types-DIDn6Pz1.js.map +1 -0
  61. package/dist/chunks/pinInput.types-Bv67lyfg.js +161 -0
  62. package/dist/chunks/{pinInput.types-D8CEzrAw.js.map → pinInput.types-Bv67lyfg.js.map} +1 -1
  63. package/dist/chunks/pinInput.types-DbKKHEtF.js +2 -0
  64. package/dist/chunks/{pinInput.types-DSMdiVB_.js.map → pinInput.types-DbKKHEtF.js.map} +1 -1
  65. package/dist/chunks/popover.component-CS8UY9_W.js +2 -0
  66. package/dist/chunks/popover.component-CS8UY9_W.js.map +1 -0
  67. package/dist/chunks/popover.component-D2-w2fSE.js +260 -0
  68. package/dist/chunks/popover.component-D2-w2fSE.js.map +1 -0
  69. package/dist/chunks/radioGroup.component-DlLvSRNH.js +275 -0
  70. package/dist/chunks/radioGroup.component-DlLvSRNH.js.map +1 -0
  71. package/dist/chunks/radioGroup.component-e6LsfYzG.js +2 -0
  72. package/dist/chunks/radioGroup.component-e6LsfYzG.js.map +1 -0
  73. package/dist/chunks/ratingDots.component-B_a_qO9L.js +2 -0
  74. package/dist/chunks/ratingDots.component-B_a_qO9L.js.map +1 -0
  75. package/dist/chunks/ratingDots.component-BzxT-9pH.js +158 -0
  76. package/dist/chunks/ratingDots.component-BzxT-9pH.js.map +1 -0
  77. package/dist/chunks/select.component-CPMIVkRk.js +2 -0
  78. package/dist/chunks/select.component-CPMIVkRk.js.map +1 -0
  79. package/dist/chunks/select.component-DrZOaMq1.js +1087 -0
  80. package/dist/chunks/select.component-DrZOaMq1.js.map +1 -0
  81. package/dist/chunks/{sortableList.component-Bfb0hpZP.js → sortableList.component-DEMqxtiq.js} +2 -2
  82. package/dist/chunks/{sortableList.component-Bfb0hpZP.js.map → sortableList.component-DEMqxtiq.js.map} +1 -1
  83. package/dist/chunks/{sortableList.component-BDk7gDEa.js → sortableList.component-iVWhEIAT.js} +2 -2
  84. package/dist/chunks/{sortableList.component-BDk7gDEa.js.map → sortableList.component-iVWhEIAT.js.map} +1 -1
  85. package/dist/chunks/{spinner.component-kakTjXFe.js → spinner.component-BM2OwxA7.js} +2 -2
  86. package/dist/chunks/{spinner.component-kakTjXFe.js.map → spinner.component-BM2OwxA7.js.map} +1 -1
  87. package/dist/chunks/{spinner.component-BGFAakzz.js → spinner.component-lZds47YM.js} +2 -2
  88. package/dist/chunks/{spinner.component-BGFAakzz.js.map → spinner.component-lZds47YM.js.map} +1 -1
  89. package/dist/chunks/{styledAvatar.types-Bl_YAWyY.js → styledAvatar.types-DaESk8Cq.js} +2 -2
  90. package/dist/chunks/{styledAvatar.types-Bl_YAWyY.js.map → styledAvatar.types-DaESk8Cq.js.map} +1 -1
  91. package/dist/chunks/{styledAvatar.types-DpZkDaUD.js → styledAvatar.types-zeF6AQ1t.js} +2 -2
  92. package/dist/chunks/{styledAvatar.types-DpZkDaUD.js.map → styledAvatar.types-zeF6AQ1t.js.map} +1 -1
  93. package/dist/chunks/switch.component-C4tJUYg9.js +2 -0
  94. package/dist/chunks/{switch.component-BIe8tduL.js.map → switch.component-C4tJUYg9.js.map} +1 -1
  95. package/dist/chunks/switch.component-D93JI_c1.js +167 -0
  96. package/dist/chunks/{switch.component-DmwKAQWj.js.map → switch.component-D93JI_c1.js.map} +1 -1
  97. package/dist/chunks/{tabs.component-B6PT0IQT.js → tabs.component-DUUXdx2e.js} +2 -2
  98. package/dist/chunks/{tabs.component-B6PT0IQT.js.map → tabs.component-DUUXdx2e.js.map} +1 -1
  99. package/dist/chunks/{tabs.component-BSK85MmR.js → tabs.component-caMRtfBi.js} +2 -2
  100. package/dist/chunks/{tabs.component-BSK85MmR.js.map → tabs.component-caMRtfBi.js.map} +1 -1
  101. package/dist/chunks/tag.component-BAH11mPX.js +82 -0
  102. package/dist/chunks/tag.component-BAH11mPX.js.map +1 -0
  103. package/dist/chunks/tag.component-DcEASytC.js +2 -0
  104. package/dist/chunks/tag.component-DcEASytC.js.map +1 -0
  105. package/dist/chunks/{tagBlock.component-plcpLvwr.js → tagBlock.component-CC4azYDm.js} +2 -2
  106. package/dist/chunks/{tagBlock.component-plcpLvwr.js.map → tagBlock.component-CC4azYDm.js.map} +1 -1
  107. package/dist/chunks/{tagBlock.component-EeXuPoQR.js → tagBlock.component-DmNtxTyX.js} +6 -6
  108. package/dist/chunks/{tagBlock.component-EeXuPoQR.js.map → tagBlock.component-DmNtxTyX.js.map} +1 -1
  109. package/dist/chunks/{text.component-DwVoyMgc.js → text.component-C501PJrN.js} +2 -2
  110. package/dist/chunks/{text.component-DwVoyMgc.js.map → text.component-C501PJrN.js.map} +1 -1
  111. package/dist/chunks/{text.component-2XEOQ18v.js → text.component-z4cNuAAI.js} +2 -2
  112. package/dist/chunks/{text.component-2XEOQ18v.js.map → text.component-z4cNuAAI.js.map} +1 -1
  113. package/dist/chunks/textInput.component-BK5TEpr3.js +179 -0
  114. package/dist/chunks/textInput.component-BK5TEpr3.js.map +1 -0
  115. package/dist/chunks/textInput.component-o3OfBL3Y.js +2 -0
  116. package/dist/chunks/textInput.component-o3OfBL3Y.js.map +1 -0
  117. package/dist/chunks/textarea.component-A8ebDcnw.js +97 -0
  118. package/dist/chunks/{textarea.component-CvMV-9vc.js.map → textarea.component-A8ebDcnw.js.map} +1 -1
  119. package/dist/chunks/textarea.component-DDz3lXs_.js +2 -0
  120. package/dist/chunks/{textarea.component-DKeXxrXq.js.map → textarea.component-DDz3lXs_.js.map} +1 -1
  121. package/dist/chunks/{theme.provider-LHTsoFmf.js → theme.provider-CbB3DTaK.js} +746 -736
  122. package/dist/chunks/{theme.provider-LHTsoFmf.js.map → theme.provider-CbB3DTaK.js.map} +1 -1
  123. package/dist/chunks/{theme.provider-B_XmrDx8.js → theme.provider-DHy8ThEw.js} +4 -4
  124. package/dist/chunks/{theme.provider-B_XmrDx8.js.map → theme.provider-DHy8ThEw.js.map} +1 -1
  125. package/dist/chunks/{timePicker.component-Ca6GPa4F.js → timePicker.component-BVCoTSf0.js} +2 -2
  126. package/dist/chunks/{timePicker.component-Ca6GPa4F.js.map → timePicker.component-BVCoTSf0.js.map} +1 -1
  127. package/dist/chunks/{timePicker.component-DvxbKF6R.js → timePicker.component-ZFIT5aB6.js} +3 -3
  128. package/dist/chunks/{timePicker.component-DvxbKF6R.js.map → timePicker.component-ZFIT5aB6.js.map} +1 -1
  129. package/dist/chunks/{timeRange.component-C_rVYeXZ.js → timeRange.component-BSPEZDvW.js} +2 -2
  130. package/dist/chunks/{timeRange.component-C_rVYeXZ.js.map → timeRange.component-BSPEZDvW.js.map} +1 -1
  131. package/dist/chunks/{timeRange.component-nvBL8Y-c.js → timeRange.component-JhMCHzyM.js} +2 -2
  132. package/dist/chunks/{timeRange.component-nvBL8Y-c.js.map → timeRange.component-JhMCHzyM.js.map} +1 -1
  133. package/dist/chunks/{timestamp.component-YL3kdwx3.js → timestamp.component-DAakI_Tt.js} +3 -3
  134. package/dist/chunks/{timestamp.component-YL3kdwx3.js.map → timestamp.component-DAakI_Tt.js.map} +1 -1
  135. package/dist/chunks/{timestamp.component-WaxLNLaH.js → timestamp.component-DNYI2gVi.js} +2 -2
  136. package/dist/chunks/{timestamp.component-WaxLNLaH.js.map → timestamp.component-DNYI2gVi.js.map} +1 -1
  137. package/dist/chunks/{toaster.records-CcwOeMM7.js → toaster.records-BIYC2Ue0.js} +2 -1
  138. package/dist/chunks/{toaster.records-CcwOeMM7.js.map → toaster.records-BIYC2Ue0.js.map} +1 -1
  139. package/dist/chunks/{toaster.records-zJfplz5w.js → toaster.records-CDCJPDWP.js} +2 -2
  140. package/dist/chunks/{toaster.records-zJfplz5w.js.map → toaster.records-CDCJPDWP.js.map} +1 -1
  141. package/dist/chunks/{tooltip.component-C8Z7lI4c.js → tooltip.component-BSomeipc.js} +92 -95
  142. package/dist/chunks/{tooltip.component-C8Z7lI4c.js.map → tooltip.component-BSomeipc.js.map} +1 -1
  143. package/dist/chunks/{tooltip.component-tPcICCNY.js → tooltip.component-CIUcGhxw.js} +2 -2
  144. package/dist/chunks/{tooltip.component-tPcICCNY.js.map → tooltip.component-CIUcGhxw.js.map} +1 -1
  145. package/dist/chunks/{modal.context-EJ67QNzq.js → usePortalContentRef-CTrvBQ7I.js} +2 -2
  146. package/dist/chunks/usePortalContentRef-CTrvBQ7I.js.map +1 -0
  147. package/dist/chunks/{modal.context-DSKLfsJK.js → usePortalContentRef-KaU-iIV0.js} +2 -2
  148. package/dist/chunks/usePortalContentRef-KaU-iIV0.js.map +1 -0
  149. package/dist/chunks/{withFormControl-BcHQTSnc.js → withFormControl-DBaRp5Zy.js} +2 -2
  150. package/dist/chunks/{withFormControl-BcHQTSnc.js.map → withFormControl-DBaRp5Zy.js.map} +1 -1
  151. package/dist/chunks/{withFormControl-mCCJK8wX.js → withFormControl-syyL9lWW.js} +2 -2
  152. package/dist/chunks/{withFormControl-mCCJK8wX.js.map → withFormControl-syyL9lWW.js.map} +1 -1
  153. package/dist/chunks/{withTruncation-DpfcIWal.js → withTruncation-B6vA2g0w.js} +2 -2
  154. package/dist/chunks/{withTruncation-DpfcIWal.js.map → withTruncation-B6vA2g0w.js.map} +1 -1
  155. package/dist/chunks/{withTruncation-elowYDE4.js → withTruncation-C7AAl87b.js} +2 -2
  156. package/dist/chunks/{withTruncation-elowYDE4.js.map → withTruncation-C7AAl87b.js.map} +1 -1
  157. package/dist/cjs/components/Alert/index.cjs +1 -1
  158. package/dist/cjs/components/Avatar/index.cjs +1 -1
  159. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  160. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  161. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  162. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  163. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  164. package/dist/cjs/components/ConversationCard/index.cjs +1 -1
  165. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  166. package/dist/cjs/components/Heading/index.cjs +1 -1
  167. package/dist/cjs/components/Link/index.cjs +1 -1
  168. package/dist/cjs/components/Menu/index.cjs +1 -1
  169. package/dist/cjs/components/Modal/index.cjs +1 -1
  170. package/dist/cjs/components/PinInput/index.cjs +1 -1
  171. package/dist/cjs/components/Popover/index.cjs +1 -1
  172. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  173. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  174. package/dist/cjs/components/Select/index.cjs +1 -1
  175. package/dist/cjs/components/SortableList/index.cjs +1 -1
  176. package/dist/cjs/components/Spinner/index.cjs +1 -1
  177. package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
  178. package/dist/cjs/components/Switch/index.cjs +1 -1
  179. package/dist/cjs/components/Tabs/index.cjs +1 -1
  180. package/dist/cjs/components/Tag/index.cjs +1 -1
  181. package/dist/cjs/components/TagBlock/index.cjs +1 -1
  182. package/dist/cjs/components/Text/index.cjs +1 -1
  183. package/dist/cjs/components/TextInput/index.cjs +1 -1
  184. package/dist/cjs/components/Textarea/index.cjs +1 -1
  185. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  186. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  187. package/dist/cjs/components/Timestamp/index.cjs +1 -1
  188. package/dist/cjs/components/Toast/index.cjs +1 -1
  189. package/dist/cjs/components/Toast/index.cjs.map +1 -1
  190. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  191. package/dist/cjs/components/index.cjs +1 -1
  192. package/dist/cjs/index.cjs +1 -1
  193. package/dist/cjs/theme/index.cjs +1 -1
  194. package/dist/esm/components/Alert/index.js +1 -1
  195. package/dist/esm/components/Avatar/index.js +1 -1
  196. package/dist/esm/components/AvatarGroup/index.js +1 -1
  197. package/dist/esm/components/ButtonGroup/index.js +1 -1
  198. package/dist/esm/components/CharacterCounter/index.js +1 -1
  199. package/dist/esm/components/Checkbox/index.js +1 -1
  200. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  201. package/dist/esm/components/ConversationCard/index.js +1 -1
  202. package/dist/esm/components/DatePicker/index.js +1 -1
  203. package/dist/esm/components/Heading/index.js +1 -1
  204. package/dist/esm/components/Link/index.js +1 -1
  205. package/dist/esm/components/Menu/index.js +1 -1
  206. package/dist/esm/components/Modal/index.js +1 -1
  207. package/dist/esm/components/PinInput/index.js +1 -1
  208. package/dist/esm/components/Popover/index.js +1 -1
  209. package/dist/esm/components/RadioGroup/index.js +1 -1
  210. package/dist/esm/components/RatingDots/index.js +1 -1
  211. package/dist/esm/components/Select/index.js +1 -1
  212. package/dist/esm/components/SortableList/index.js +1 -1
  213. package/dist/esm/components/Spinner/index.js +1 -1
  214. package/dist/esm/components/StyledAvatar/index.js +1 -1
  215. package/dist/esm/components/Switch/index.js +1 -1
  216. package/dist/esm/components/Tabs/index.js +1 -1
  217. package/dist/esm/components/Tag/index.js +1 -1
  218. package/dist/esm/components/TagBlock/index.js +1 -1
  219. package/dist/esm/components/Text/index.js +1 -1
  220. package/dist/esm/components/TextInput/index.js +1 -1
  221. package/dist/esm/components/Textarea/index.js +1 -1
  222. package/dist/esm/components/TimePicker/index.js +1 -1
  223. package/dist/esm/components/TimeRange/index.js +1 -1
  224. package/dist/esm/components/Timestamp/index.js +1 -1
  225. package/dist/esm/components/Toast/index.js +2 -2
  226. package/dist/esm/components/Toast/index.js.map +1 -1
  227. package/dist/esm/components/Tooltip/index.js +1 -1
  228. package/dist/esm/components/index.js +35 -35
  229. package/dist/esm/index.js +33 -33
  230. package/dist/esm/theme/index.js +1 -1
  231. package/dist/types/components/Checkbox/checkbox.component.d.ts +4 -3
  232. package/dist/types/components/PinInput/pinInput.component.d.ts +5 -3
  233. package/dist/types/components/Popover/popover.component.d.ts +1 -1
  234. package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +5 -3
  235. package/dist/types/components/RatingDots/ratingDots.component.d.ts +2 -1
  236. package/dist/types/components/Select/select.component.d.ts +6 -4
  237. package/dist/types/components/Select/select.types.d.ts +2 -1
  238. package/dist/types/components/Switch/switch.component.d.ts +3 -2
  239. package/dist/types/components/TextInput/textInput.component.d.ts +4 -4
  240. package/dist/types/components/Textarea/textarea.component.d.ts +3 -3
  241. package/dist/types/hooks/usePortalContentRef.d.ts +6 -0
  242. package/package.json +1 -1
  243. package/dist/chunks/checkbox.component-CKLGUOSX.js +0 -2
  244. package/dist/chunks/checkbox.component-DhXTRoeP.js +0 -310
  245. package/dist/chunks/datePicker.component-CW882xTE.js.map +0 -1
  246. package/dist/chunks/datePicker.component-F6qFk1fF.js +0 -15
  247. package/dist/chunks/datePicker.component-F6qFk1fF.js.map +0 -1
  248. package/dist/chunks/link.component-CCFg-LIe.js +0 -2
  249. package/dist/chunks/link.component-CCFg-LIe.js.map +0 -1
  250. package/dist/chunks/link.component-DprieyUG.js +0 -60
  251. package/dist/chunks/link.component-DprieyUG.js.map +0 -1
  252. package/dist/chunks/menu.component-BPtwVqUh.js +0 -2
  253. package/dist/chunks/modal.context-DSKLfsJK.js.map +0 -1
  254. package/dist/chunks/modal.context-EJ67QNzq.js.map +0 -1
  255. package/dist/chunks/modal.types-Uq7F3jX9.js +0 -2
  256. package/dist/chunks/modal.types-Uq7F3jX9.js.map +0 -1
  257. package/dist/chunks/modal.types-XDLmSWyz.js.map +0 -1
  258. package/dist/chunks/pinInput.types-D8CEzrAw.js +0 -161
  259. package/dist/chunks/pinInput.types-DSMdiVB_.js +0 -2
  260. package/dist/chunks/popover.component-B7FvIYpm.js +0 -262
  261. package/dist/chunks/popover.component-B7FvIYpm.js.map +0 -1
  262. package/dist/chunks/popover.component-xKnAqZx4.js +0 -2
  263. package/dist/chunks/popover.component-xKnAqZx4.js.map +0 -1
  264. package/dist/chunks/radioGroup.component-3KGZ0rr_.js +0 -275
  265. package/dist/chunks/radioGroup.component-3KGZ0rr_.js.map +0 -1
  266. package/dist/chunks/radioGroup.component-DWMMKXA1.js +0 -2
  267. package/dist/chunks/radioGroup.component-DWMMKXA1.js.map +0 -1
  268. package/dist/chunks/ratingDots.component-BAwBMoag.js +0 -2
  269. package/dist/chunks/ratingDots.component-BAwBMoag.js.map +0 -1
  270. package/dist/chunks/ratingDots.component-BTtsR95a.js +0 -158
  271. package/dist/chunks/ratingDots.component-BTtsR95a.js.map +0 -1
  272. package/dist/chunks/select.component-LTpdnqVb.js +0 -391
  273. package/dist/chunks/select.component-LTpdnqVb.js.map +0 -1
  274. package/dist/chunks/select.component-Vl8xEr6A.js +0 -2
  275. package/dist/chunks/select.component-Vl8xEr6A.js.map +0 -1
  276. package/dist/chunks/switch.component-BIe8tduL.js +0 -2
  277. package/dist/chunks/switch.component-DmwKAQWj.js +0 -166
  278. package/dist/chunks/tag.component-C6a6EzZB.js +0 -2
  279. package/dist/chunks/tag.component-C6a6EzZB.js.map +0 -1
  280. package/dist/chunks/tag.component-pexJ0TAT.js +0 -82
  281. package/dist/chunks/tag.component-pexJ0TAT.js.map +0 -1
  282. package/dist/chunks/textInput.component-C9OmzJd9.js +0 -180
  283. package/dist/chunks/textInput.component-C9OmzJd9.js.map +0 -1
  284. package/dist/chunks/textInput.component-rWxcxFXP.js +0 -2
  285. package/dist/chunks/textInput.component-rWxcxFXP.js.map +0 -1
  286. package/dist/chunks/textarea.component-CvMV-9vc.js +0 -98
  287. package/dist/chunks/textarea.component-DKeXxrXq.js +0 -2
  288. package/dist/types/components/Modal/context/modal.context.d.ts +0 -6
@@ -0,0 +1,1087 @@
1
+ import { j as i } from "./jsx-runtime-C5mzlN2N.js";
2
+ import Et, { forwardRef as v, useId as ze, useMemo as oe, useState as Pe, useCallback as re, useEffect as Rt } from "react";
3
+ import { w as Nt } from "./withFormControl-syyL9lWW.js";
4
+ import { I as Lt } from "./icon.component-DGNCL1Yc.js";
5
+ import { B as Gt } from "./button.component-BpF3MzbZ.js";
6
+ import { W as Ue } from "./text.component-z4cNuAAI.js";
7
+ import { S as Mt } from "./spinner.component-BM2OwxA7.js";
8
+ import { c as X, f as _, u as Ke, h as Dt, a as J, j as Ft, i as Bt, k as Ht, n as zt, s as We, l as qe, m as Ve, P as Ut } from "./use-locale-context-BiiNTYMT.js";
9
+ import { c as Kt } from "./create-slot-recipe-context-BJmsuxih.js";
10
+ import { C as Wt, b as qt, c as Vt } from "./icons-BXxdrBrf.js";
11
+ import { u as Ze } from "./use-field-context-Cm3grEyV.js";
12
+ import { a1 as g } from "./index-YtNA0Ueo.js";
13
+ import { L as Zt, m as Xt, c as Jt } from "./index-cSjUS7Xj.js";
14
+ import { u as Yt } from "./usePortalContentRef-KaU-iIV0.js";
15
+ import { W as Qt } from "./textInput.component-BK5TEpr3.js";
16
+ import { r as E, i as Xe, d as kt, f as z, g as Y, h as Je, j as er, b as Ye, a as Qe, e as ke, S as V, c as de } from "./isSymbol-BQN49XhJ.js";
17
+ import { B as tr } from "./box-Ck9I7FYv.js";
18
+ import { F as ye } from "./flex-smlF8uQG.js";
19
+ const rr = (e) => new Zt(e), [et, P] = X({
20
+ name: "SelectContext",
21
+ hookName: "useSelectContext",
22
+ providerName: "<SelectProvider />"
23
+ }), tt = v((e, t) => {
24
+ const r = P(), n = g(r.getClearTriggerProps(), e);
25
+ return /* @__PURE__ */ i.jsx(_.button, { ...n, ref: t });
26
+ });
27
+ tt.displayName = "SelectClearTrigger";
28
+ const rt = v((e, t) => {
29
+ const r = P(), n = Ke(), s = g(r.getContentProps(), n.getPresenceProps(), e);
30
+ return n.unmounted ? null : /* @__PURE__ */ i.jsx(_.div, { ...s, ref: Dt(n.ref, t) });
31
+ });
32
+ rt.displayName = "SelectContent";
33
+ const nt = v((e, t) => {
34
+ const r = P(), n = g(r.getControlProps(), e);
35
+ return /* @__PURE__ */ i.jsx(_.div, { ...n, ref: t });
36
+ });
37
+ nt.displayName = "SelectControl";
38
+ const st = v((e, t) => {
39
+ const r = P(), n = g(r.getHiddenSelectProps(), e), s = r.value.length === 0, a = Ze();
40
+ return /* @__PURE__ */ i.jsxs(_.select, { "aria-describedby": a?.ariaDescribedby, ...n, ref: t, children: [
41
+ s && /* @__PURE__ */ i.jsx("option", { value: "" }),
42
+ r.collection.items.map((o, l) => /* @__PURE__ */ i.jsx(
43
+ "option",
44
+ {
45
+ value: r.collection.getItemValue(o) ?? "",
46
+ disabled: r.collection.getItemDisabled(o),
47
+ children: r.collection.stringifyItem(o)
48
+ },
49
+ l
50
+ ))
51
+ ] });
52
+ });
53
+ st.displayName = "SelectHiddenSelect";
54
+ const at = v((e, t) => {
55
+ const r = P(), n = g(r.getIndicatorProps(), e);
56
+ return /* @__PURE__ */ i.jsx(_.div, { ...n, ref: t });
57
+ });
58
+ at.displayName = "SelectIndicator";
59
+ const [nr, Ja] = X({
60
+ name: "SelectItemContext",
61
+ hookName: "useSelectItemContext",
62
+ providerName: "<SelectItemProvider />"
63
+ }), [sr, ot] = X({
64
+ name: "SelectItemPropsContext",
65
+ hookName: "useSelectItemPropsContext",
66
+ providerName: "<SelectItemPropsProvider />"
67
+ }), it = v((e, t) => {
68
+ const [r, n] = J()(e, ["item", "persistFocus"]), s = P(), a = g(s.getItemProps(r), n), o = s.getItemState(r);
69
+ return /* @__PURE__ */ i.jsx(sr, { value: r, children: /* @__PURE__ */ i.jsx(nr, { value: o, children: /* @__PURE__ */ i.jsx(_.div, { ...a, ref: t }) }) });
70
+ });
71
+ it.displayName = "SelectItem";
72
+ const [ar, or] = X({
73
+ name: "SelectItemGroupPropsContext",
74
+ hookName: "useSelectItemGroupPropsContext",
75
+ providerName: "<SelectItemGroupPropsProvider />"
76
+ }), lt = v((e, t) => {
77
+ const r = ze(), [n, s] = J()(e, ["id"]), a = { id: r, ...n }, o = P(), l = g(o.getItemGroupProps(a), s);
78
+ return /* @__PURE__ */ i.jsx(ar, { value: a, children: /* @__PURE__ */ i.jsx(_.div, { ...l, ref: t }) });
79
+ });
80
+ lt.displayName = "SelectItemGroup";
81
+ const ct = v((e, t) => {
82
+ const r = P(), n = or(), s = g(r.getItemGroupLabelProps({ htmlFor: n.id }), e);
83
+ return /* @__PURE__ */ i.jsx(_.div, { ...s, ref: t });
84
+ });
85
+ ct.displayName = "SelectItemGroupLabel";
86
+ const ut = v((e, t) => {
87
+ const r = P(), n = ot(), s = g(r.getItemIndicatorProps(n), e);
88
+ return /* @__PURE__ */ i.jsx(_.div, { ...s, ref: t });
89
+ });
90
+ ut.displayName = "SelectItemIndicator";
91
+ const ft = v((e, t) => {
92
+ const r = P(), n = ot(), s = g(r.getItemTextProps(n), e);
93
+ return /* @__PURE__ */ i.jsx(_.span, { ...s, ref: t });
94
+ });
95
+ ft.displayName = "SelectItemText";
96
+ const dt = v((e, t) => {
97
+ const r = P(), n = g(r.getLabelProps(), e);
98
+ return /* @__PURE__ */ i.jsx(_.label, { ...n, ref: t });
99
+ });
100
+ dt.displayName = "SelectLabel";
101
+ const pt = v((e, t) => {
102
+ const r = P(), n = g(r.getPositionerProps(), e);
103
+ return Ke().unmounted ? null : /* @__PURE__ */ i.jsx(_.div, { ...n, ref: t });
104
+ });
105
+ pt.displayName = "SelectPositioner";
106
+ const ir = (e) => {
107
+ const t = ze(), { dir: r } = Ft(), { getRootNode: n } = Bt(), s = Ze(), a = {
108
+ id: t,
109
+ ids: {
110
+ label: s?.ids.label,
111
+ hiddenSelect: s?.ids.control
112
+ },
113
+ disabled: s?.disabled,
114
+ readOnly: s?.readOnly,
115
+ invalid: s?.invalid,
116
+ required: s?.required,
117
+ dir: r,
118
+ getRootNode: n,
119
+ ...e
120
+ }, o = Ht(Xt, a);
121
+ return Jt(o, zt);
122
+ }, lr = (e, t) => {
123
+ const [r, n] = We(e), [s, a] = J()(n, [
124
+ "closeOnSelect",
125
+ "collection",
126
+ "composite",
127
+ "defaultHighlightedValue",
128
+ "defaultOpen",
129
+ "defaultValue",
130
+ "deselectable",
131
+ "disabled",
132
+ "form",
133
+ "highlightedValue",
134
+ "id",
135
+ "ids",
136
+ "invalid",
137
+ "loopFocus",
138
+ "multiple",
139
+ "name",
140
+ "onFocusOutside",
141
+ "onHighlightChange",
142
+ "onInteractOutside",
143
+ "onOpenChange",
144
+ "onPointerDownOutside",
145
+ "onValueChange",
146
+ "open",
147
+ "positioning",
148
+ "readOnly",
149
+ "required",
150
+ "scrollToIndexFn",
151
+ "value"
152
+ ]), o = ir(s), l = qe(g({ present: o.open }, r)), c = g(o.getRootProps(), a);
153
+ return /* @__PURE__ */ i.jsx(et, { value: o, children: /* @__PURE__ */ i.jsx(Ve, { value: l, children: /* @__PURE__ */ i.jsx(_.div, { ...c, ref: t }) }) });
154
+ }, cr = v(lr), ur = (e, t) => {
155
+ const [r, n] = We(e), [{ value: s }, a] = J()(n, ["value"]), o = qe(g({ present: s.open }, r)), l = g(s.getRootProps(), a);
156
+ return /* @__PURE__ */ i.jsx(et, { value: s, children: /* @__PURE__ */ i.jsx(Ve, { value: o, children: /* @__PURE__ */ i.jsx(_.div, { ...l, ref: t }) }) });
157
+ }, fr = v(ur), gt = v((e, t) => {
158
+ const r = P(), n = g(r.getTriggerProps(), e);
159
+ return /* @__PURE__ */ i.jsx(_.button, { ...n, ref: t });
160
+ });
161
+ gt.displayName = "SelectTrigger";
162
+ const ht = v((e, t) => {
163
+ const { children: r, placeholder: n, ...s } = e, a = P(), o = g(a.getValueTextProps(), s);
164
+ return /* @__PURE__ */ i.jsx(_.span, { ...o, ref: t, children: r || a.valueAsString || n });
165
+ });
166
+ ht.displayName = "SelectValueText";
167
+ const {
168
+ withProvider: mt,
169
+ withContext: b
170
+ } = Kt({ key: "select" });
171
+ mt(fr, "root", {
172
+ forwardAsChild: !0
173
+ });
174
+ const dr = mt(
175
+ cr,
176
+ "root",
177
+ {
178
+ forwardAsChild: !0,
179
+ defaultProps: { positioning: { sameWidth: !0 } }
180
+ }
181
+ ), pr = b(
182
+ gt,
183
+ "trigger",
184
+ { forwardAsChild: !0 }
185
+ ), gr = b(pt, "positioner", { forwardAsChild: !0 }), hr = b(
186
+ rt,
187
+ "content",
188
+ { forwardAsChild: !0 }
189
+ ), mr = b(ht, "valueText", { forwardAsChild: !0 }), vr = b(tt, "clearTrigger", {
190
+ forwardAsChild: !0,
191
+ defaultProps: { children: /* @__PURE__ */ i.jsx(Wt, { boxSize: "1em" }) }
192
+ }), _r = b(lt, "itemGroup", { forwardAsChild: !0 }), Pr = b(ct, "itemGroupLabel", { forwardAsChild: !0 }), yr = b(
193
+ it,
194
+ "item",
195
+ { forwardAsChild: !0 }
196
+ );
197
+ b(
198
+ ft,
199
+ "itemText",
200
+ { forwardAsChild: !0 }
201
+ );
202
+ b(ut, "itemIndicator", {
203
+ forwardAsChild: !0,
204
+ defaultProps: {
205
+ children: /* @__PURE__ */ i.jsx(qt, {})
206
+ }
207
+ });
208
+ const xr = b("div", "indicatorGroup");
209
+ b(at, "indicator", {
210
+ forwardAsChild: !0,
211
+ defaultProps: {
212
+ children: /* @__PURE__ */ i.jsx(Vt, {})
213
+ }
214
+ });
215
+ const br = b(
216
+ nt,
217
+ "control",
218
+ { forwardAsChild: !0 }
219
+ );
220
+ b(
221
+ dt,
222
+ "label",
223
+ { forwardAsChild: !0 }
224
+ );
225
+ const Sr = st, vt = ({
226
+ item: e,
227
+ onContrast: t,
228
+ shouldTruncateText: r,
229
+ size: n
230
+ }) => /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
231
+ e.leftElement,
232
+ typeof e.label == "string" ? /* @__PURE__ */ i.jsx(
233
+ Ue,
234
+ {
235
+ size: n,
236
+ truncated: r,
237
+ variant: e.variant || (t ? "onContrast" : "default"),
238
+ children: e.label
239
+ }
240
+ ) : e.label
241
+ ] }), Cr = ({
242
+ placeholder: e = "",
243
+ placeholderElement: t,
244
+ ...r
245
+ }) => {
246
+ const n = P(), s = oe(() => n.selectedItems[0], [n]);
247
+ return /* @__PURE__ */ i.jsxs(pr, { children: [
248
+ !s && t,
249
+ /* @__PURE__ */ i.jsx(mr, { placeholder: e, children: s && /* @__PURE__ */ i.jsx(vt, { item: s, ...r }) })
250
+ ] });
251
+ };
252
+ var ne = E["__core-js_shared__"], xe = function() {
253
+ var e = /[^.]+$/.exec(ne && ne.keys && ne.keys.IE_PROTO || "");
254
+ return e ? "Symbol(src)_1." + e : "";
255
+ }();
256
+ function wr(e) {
257
+ return !!xe && xe in e;
258
+ }
259
+ var Tr = Function.prototype, Ar = Tr.toString;
260
+ function G(e) {
261
+ if (e != null) {
262
+ try {
263
+ return Ar.call(e);
264
+ } catch {
265
+ }
266
+ try {
267
+ return e + "";
268
+ } catch {
269
+ }
270
+ }
271
+ return "";
272
+ }
273
+ var Ir = /[\\^$.*+?()[\]{}|]/g, Or = /^\[object .+?Constructor\]$/, jr = Function.prototype, $r = Object.prototype, Er = jr.toString, Rr = $r.hasOwnProperty, Nr = RegExp(
274
+ "^" + Er.call(Rr).replace(Ir, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
275
+ );
276
+ function Lr(e) {
277
+ if (!Xe(e) || wr(e))
278
+ return !1;
279
+ var t = kt(e) ? Nr : Or;
280
+ return t.test(G(e));
281
+ }
282
+ function Gr(e, t) {
283
+ return e?.[t];
284
+ }
285
+ function M(e, t) {
286
+ var r = Gr(e, t);
287
+ return Lr(r) ? r : void 0;
288
+ }
289
+ var be = function() {
290
+ try {
291
+ var e = M(Object, "defineProperty");
292
+ return e({}, "", {}), e;
293
+ } catch {
294
+ }
295
+ }();
296
+ function Mr(e, t, r) {
297
+ t == "__proto__" && be ? be(e, t, {
298
+ configurable: !0,
299
+ enumerable: !0,
300
+ value: r,
301
+ writable: !0
302
+ }) : e[t] = r;
303
+ }
304
+ function Dr(e, t, r, n) {
305
+ for (var s = -1, a = e == null ? 0 : e.length; ++s < a; ) {
306
+ var o = e[s];
307
+ t(n, o, r(o), e);
308
+ }
309
+ return n;
310
+ }
311
+ function Fr(e) {
312
+ return function(t, r, n) {
313
+ for (var s = -1, a = Object(t), o = n(t), l = o.length; l--; ) {
314
+ var c = o[++s];
315
+ if (r(a[c], c, a) === !1)
316
+ break;
317
+ }
318
+ return t;
319
+ };
320
+ }
321
+ var Br = Fr();
322
+ function Hr(e, t) {
323
+ for (var r = -1, n = Array(e); ++r < e; )
324
+ n[r] = t(r);
325
+ return n;
326
+ }
327
+ var zr = "[object Arguments]";
328
+ function Se(e) {
329
+ return z(e) && Y(e) == zr;
330
+ }
331
+ var _t = Object.prototype, Ur = _t.hasOwnProperty, Kr = _t.propertyIsEnumerable, Pt = Se(/* @__PURE__ */ function() {
332
+ return arguments;
333
+ }()) ? Se : function(e) {
334
+ return z(e) && Ur.call(e, "callee") && !Kr.call(e, "callee");
335
+ }, T = Array.isArray;
336
+ function Wr() {
337
+ return !1;
338
+ }
339
+ var yt = typeof exports == "object" && exports && !exports.nodeType && exports, Ce = yt && typeof module == "object" && module && !module.nodeType && module, qr = Ce && Ce.exports === yt, we = qr ? E.Buffer : void 0, Vr = we ? we.isBuffer : void 0, ie = Vr || Wr, Zr = "[object Arguments]", Xr = "[object Array]", Jr = "[object Boolean]", Yr = "[object Date]", Qr = "[object Error]", kr = "[object Function]", en = "[object Map]", tn = "[object Number]", rn = "[object Object]", nn = "[object RegExp]", sn = "[object Set]", an = "[object String]", on = "[object WeakMap]", ln = "[object ArrayBuffer]", cn = "[object DataView]", un = "[object Float32Array]", fn = "[object Float64Array]", dn = "[object Int8Array]", pn = "[object Int16Array]", gn = "[object Int32Array]", hn = "[object Uint8Array]", mn = "[object Uint8ClampedArray]", vn = "[object Uint16Array]", _n = "[object Uint32Array]", f = {};
340
+ f[un] = f[fn] = f[dn] = f[pn] = f[gn] = f[hn] = f[mn] = f[vn] = f[_n] = !0;
341
+ f[Zr] = f[Xr] = f[ln] = f[Jr] = f[cn] = f[Yr] = f[Qr] = f[kr] = f[en] = f[tn] = f[rn] = f[nn] = f[sn] = f[an] = f[on] = !1;
342
+ function Pn(e) {
343
+ return z(e) && Je(e.length) && !!f[Y(e)];
344
+ }
345
+ function yn(e) {
346
+ return function(t) {
347
+ return e(t);
348
+ };
349
+ }
350
+ var xt = typeof exports == "object" && exports && !exports.nodeType && exports, H = xt && typeof module == "object" && module && !module.nodeType && module, xn = H && H.exports === xt, se = xn && er.process, Te = function() {
351
+ try {
352
+ var e = H && H.require && H.require("util").types;
353
+ return e || se && se.binding && se.binding("util");
354
+ } catch {
355
+ }
356
+ }(), Ae = Te && Te.isTypedArray, bt = Ae ? yn(Ae) : Pn, bn = Object.prototype, Sn = bn.hasOwnProperty;
357
+ function Cn(e, t) {
358
+ var r = T(e), n = !r && Pt(e), s = !r && !n && ie(e), a = !r && !n && !s && bt(e), o = r || n || s || a, l = o ? Hr(e.length, String) : [], c = l.length;
359
+ for (var u in e)
360
+ Sn.call(e, u) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
361
+ (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
362
+ s && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
363
+ a && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
364
+ Ye(u, c))) && l.push(u);
365
+ return l;
366
+ }
367
+ var wn = Object.prototype;
368
+ function Tn(e) {
369
+ var t = e && e.constructor, r = typeof t == "function" && t.prototype || wn;
370
+ return e === r;
371
+ }
372
+ function An(e, t) {
373
+ return function(r) {
374
+ return e(t(r));
375
+ };
376
+ }
377
+ var In = An(Object.keys, Object), On = Object.prototype, jn = On.hasOwnProperty;
378
+ function $n(e) {
379
+ if (!Tn(e))
380
+ return In(e);
381
+ var t = [];
382
+ for (var r in Object(e))
383
+ jn.call(e, r) && r != "constructor" && t.push(r);
384
+ return t;
385
+ }
386
+ function pe(e) {
387
+ return Qe(e) ? Cn(e) : $n(e);
388
+ }
389
+ function En(e, t) {
390
+ return e && Br(e, t, pe);
391
+ }
392
+ function Rn(e, t) {
393
+ return function(r, n) {
394
+ if (r == null)
395
+ return r;
396
+ if (!Qe(r))
397
+ return e(r, n);
398
+ for (var s = r.length, a = -1, o = Object(r); ++a < s && n(o[a], a, o) !== !1; )
399
+ ;
400
+ return r;
401
+ };
402
+ }
403
+ var Nn = Rn(En);
404
+ function Ln(e, t, r, n) {
405
+ return Nn(e, function(s, a, o) {
406
+ t(n, s, r(s), o);
407
+ }), n;
408
+ }
409
+ function Gn() {
410
+ this.__data__ = [], this.size = 0;
411
+ }
412
+ function Q(e, t) {
413
+ for (var r = e.length; r--; )
414
+ if (ke(e[r][0], t))
415
+ return r;
416
+ return -1;
417
+ }
418
+ var Mn = Array.prototype, Dn = Mn.splice;
419
+ function Fn(e) {
420
+ var t = this.__data__, r = Q(t, e);
421
+ if (r < 0)
422
+ return !1;
423
+ var n = t.length - 1;
424
+ return r == n ? t.pop() : Dn.call(t, r, 1), --this.size, !0;
425
+ }
426
+ function Bn(e) {
427
+ var t = this.__data__, r = Q(t, e);
428
+ return r < 0 ? void 0 : t[r][1];
429
+ }
430
+ function Hn(e) {
431
+ return Q(this.__data__, e) > -1;
432
+ }
433
+ function zn(e, t) {
434
+ var r = this.__data__, n = Q(r, e);
435
+ return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
436
+ }
437
+ function O(e) {
438
+ var t = -1, r = e == null ? 0 : e.length;
439
+ for (this.clear(); ++t < r; ) {
440
+ var n = e[t];
441
+ this.set(n[0], n[1]);
442
+ }
443
+ }
444
+ O.prototype.clear = Gn;
445
+ O.prototype.delete = Fn;
446
+ O.prototype.get = Bn;
447
+ O.prototype.has = Hn;
448
+ O.prototype.set = zn;
449
+ function Un() {
450
+ this.__data__ = new O(), this.size = 0;
451
+ }
452
+ function Kn(e) {
453
+ var t = this.__data__, r = t.delete(e);
454
+ return this.size = t.size, r;
455
+ }
456
+ function Wn(e) {
457
+ return this.__data__.get(e);
458
+ }
459
+ function qn(e) {
460
+ return this.__data__.has(e);
461
+ }
462
+ var U = M(E, "Map"), K = M(Object, "create");
463
+ function Vn() {
464
+ this.__data__ = K ? K(null) : {}, this.size = 0;
465
+ }
466
+ function Zn(e) {
467
+ var t = this.has(e) && delete this.__data__[e];
468
+ return this.size -= t ? 1 : 0, t;
469
+ }
470
+ var Xn = "__lodash_hash_undefined__", Jn = Object.prototype, Yn = Jn.hasOwnProperty;
471
+ function Qn(e) {
472
+ var t = this.__data__;
473
+ if (K) {
474
+ var r = t[e];
475
+ return r === Xn ? void 0 : r;
476
+ }
477
+ return Yn.call(t, e) ? t[e] : void 0;
478
+ }
479
+ var kn = Object.prototype, es = kn.hasOwnProperty;
480
+ function ts(e) {
481
+ var t = this.__data__;
482
+ return K ? t[e] !== void 0 : es.call(t, e);
483
+ }
484
+ var rs = "__lodash_hash_undefined__";
485
+ function ns(e, t) {
486
+ var r = this.__data__;
487
+ return this.size += this.has(e) ? 0 : 1, r[e] = K && t === void 0 ? rs : t, this;
488
+ }
489
+ function L(e) {
490
+ var t = -1, r = e == null ? 0 : e.length;
491
+ for (this.clear(); ++t < r; ) {
492
+ var n = e[t];
493
+ this.set(n[0], n[1]);
494
+ }
495
+ }
496
+ L.prototype.clear = Vn;
497
+ L.prototype.delete = Zn;
498
+ L.prototype.get = Qn;
499
+ L.prototype.has = ts;
500
+ L.prototype.set = ns;
501
+ function ss() {
502
+ this.size = 0, this.__data__ = {
503
+ hash: new L(),
504
+ map: new (U || O)(),
505
+ string: new L()
506
+ };
507
+ }
508
+ function as(e) {
509
+ var t = typeof e;
510
+ return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
511
+ }
512
+ function k(e, t) {
513
+ var r = e.__data__;
514
+ return as(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
515
+ }
516
+ function os(e) {
517
+ var t = k(this, e).delete(e);
518
+ return this.size -= t ? 1 : 0, t;
519
+ }
520
+ function is(e) {
521
+ return k(this, e).get(e);
522
+ }
523
+ function ls(e) {
524
+ return k(this, e).has(e);
525
+ }
526
+ function cs(e, t) {
527
+ var r = k(this, e), n = r.size;
528
+ return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
529
+ }
530
+ function j(e) {
531
+ var t = -1, r = e == null ? 0 : e.length;
532
+ for (this.clear(); ++t < r; ) {
533
+ var n = e[t];
534
+ this.set(n[0], n[1]);
535
+ }
536
+ }
537
+ j.prototype.clear = ss;
538
+ j.prototype.delete = os;
539
+ j.prototype.get = is;
540
+ j.prototype.has = ls;
541
+ j.prototype.set = cs;
542
+ var us = 200;
543
+ function fs(e, t) {
544
+ var r = this.__data__;
545
+ if (r instanceof O) {
546
+ var n = r.__data__;
547
+ if (!U || n.length < us - 1)
548
+ return n.push([e, t]), this.size = ++r.size, this;
549
+ r = this.__data__ = new j(n);
550
+ }
551
+ return r.set(e, t), this.size = r.size, this;
552
+ }
553
+ function I(e) {
554
+ var t = this.__data__ = new O(e);
555
+ this.size = t.size;
556
+ }
557
+ I.prototype.clear = Un;
558
+ I.prototype.delete = Kn;
559
+ I.prototype.get = Wn;
560
+ I.prototype.has = qn;
561
+ I.prototype.set = fs;
562
+ var ds = "__lodash_hash_undefined__";
563
+ function ps(e) {
564
+ return this.__data__.set(e, ds), this;
565
+ }
566
+ function gs(e) {
567
+ return this.__data__.has(e);
568
+ }
569
+ function Z(e) {
570
+ var t = -1, r = e == null ? 0 : e.length;
571
+ for (this.__data__ = new j(); ++t < r; )
572
+ this.add(e[t]);
573
+ }
574
+ Z.prototype.add = Z.prototype.push = ps;
575
+ Z.prototype.has = gs;
576
+ function hs(e, t) {
577
+ for (var r = -1, n = e == null ? 0 : e.length; ++r < n; )
578
+ if (t(e[r], r, e))
579
+ return !0;
580
+ return !1;
581
+ }
582
+ function ms(e, t) {
583
+ return e.has(t);
584
+ }
585
+ var vs = 1, _s = 2;
586
+ function St(e, t, r, n, s, a) {
587
+ var o = r & vs, l = e.length, c = t.length;
588
+ if (l != c && !(o && c > l))
589
+ return !1;
590
+ var u = a.get(e), y = a.get(t);
591
+ if (u && y)
592
+ return u == t && y == e;
593
+ var h = -1, d = !0, m = r & _s ? new Z() : void 0;
594
+ for (a.set(e, t), a.set(t, e); ++h < l; ) {
595
+ var x = e[h], S = t[h];
596
+ if (n)
597
+ var w = o ? n(S, x, h, t, e, a) : n(x, S, h, e, t, a);
598
+ if (w !== void 0) {
599
+ if (w)
600
+ continue;
601
+ d = !1;
602
+ break;
603
+ }
604
+ if (m) {
605
+ if (!hs(t, function(A, C) {
606
+ if (!ms(m, C) && (x === A || s(x, A, r, n, a)))
607
+ return m.push(C);
608
+ })) {
609
+ d = !1;
610
+ break;
611
+ }
612
+ } else if (!(x === S || s(x, S, r, n, a))) {
613
+ d = !1;
614
+ break;
615
+ }
616
+ }
617
+ return a.delete(e), a.delete(t), d;
618
+ }
619
+ var Ie = E.Uint8Array;
620
+ function Ps(e) {
621
+ var t = -1, r = Array(e.size);
622
+ return e.forEach(function(n, s) {
623
+ r[++t] = [s, n];
624
+ }), r;
625
+ }
626
+ function ys(e) {
627
+ var t = -1, r = Array(e.size);
628
+ return e.forEach(function(n) {
629
+ r[++t] = n;
630
+ }), r;
631
+ }
632
+ var xs = 1, bs = 2, Ss = "[object Boolean]", Cs = "[object Date]", ws = "[object Error]", Ts = "[object Map]", As = "[object Number]", Is = "[object RegExp]", Os = "[object Set]", js = "[object String]", $s = "[object Symbol]", Es = "[object ArrayBuffer]", Rs = "[object DataView]", Oe = V ? V.prototype : void 0, ae = Oe ? Oe.valueOf : void 0;
633
+ function Ns(e, t, r, n, s, a, o) {
634
+ switch (r) {
635
+ case Rs:
636
+ if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
637
+ return !1;
638
+ e = e.buffer, t = t.buffer;
639
+ case Es:
640
+ return !(e.byteLength != t.byteLength || !a(new Ie(e), new Ie(t)));
641
+ case Ss:
642
+ case Cs:
643
+ case As:
644
+ return ke(+e, +t);
645
+ case ws:
646
+ return e.name == t.name && e.message == t.message;
647
+ case Is:
648
+ case js:
649
+ return e == t + "";
650
+ case Ts:
651
+ var l = Ps;
652
+ case Os:
653
+ var c = n & xs;
654
+ if (l || (l = ys), e.size != t.size && !c)
655
+ return !1;
656
+ var u = o.get(e);
657
+ if (u)
658
+ return u == t;
659
+ n |= bs, o.set(e, t);
660
+ var y = St(l(e), l(t), n, s, a, o);
661
+ return o.delete(e), y;
662
+ case $s:
663
+ if (ae)
664
+ return ae.call(e) == ae.call(t);
665
+ }
666
+ return !1;
667
+ }
668
+ function Ls(e, t) {
669
+ for (var r = -1, n = t.length, s = e.length; ++r < n; )
670
+ e[s + r] = t[r];
671
+ return e;
672
+ }
673
+ function Gs(e, t, r) {
674
+ var n = t(e);
675
+ return T(e) ? n : Ls(n, r(e));
676
+ }
677
+ function Ms(e, t) {
678
+ for (var r = -1, n = e == null ? 0 : e.length, s = 0, a = []; ++r < n; ) {
679
+ var o = e[r];
680
+ t(o, r, e) && (a[s++] = o);
681
+ }
682
+ return a;
683
+ }
684
+ function Ds() {
685
+ return [];
686
+ }
687
+ var Fs = Object.prototype, Bs = Fs.propertyIsEnumerable, je = Object.getOwnPropertySymbols, Hs = je ? function(e) {
688
+ return e == null ? [] : (e = Object(e), Ms(je(e), function(t) {
689
+ return Bs.call(e, t);
690
+ }));
691
+ } : Ds;
692
+ function $e(e) {
693
+ return Gs(e, pe, Hs);
694
+ }
695
+ var zs = 1, Us = Object.prototype, Ks = Us.hasOwnProperty;
696
+ function Ws(e, t, r, n, s, a) {
697
+ var o = r & zs, l = $e(e), c = l.length, u = $e(t), y = u.length;
698
+ if (c != y && !o)
699
+ return !1;
700
+ for (var h = c; h--; ) {
701
+ var d = l[h];
702
+ if (!(o ? d in t : Ks.call(t, d)))
703
+ return !1;
704
+ }
705
+ var m = a.get(e), x = a.get(t);
706
+ if (m && x)
707
+ return m == t && x == e;
708
+ var S = !0;
709
+ a.set(e, t), a.set(t, e);
710
+ for (var w = o; ++h < c; ) {
711
+ d = l[h];
712
+ var A = e[d], C = t[d];
713
+ if (n)
714
+ var F = o ? n(C, A, d, t, e, a) : n(A, C, d, e, t, a);
715
+ if (!(F === void 0 ? A === C || s(A, C, r, n, a) : F)) {
716
+ S = !1;
717
+ break;
718
+ }
719
+ w || (w = d == "constructor");
720
+ }
721
+ if (S && !w) {
722
+ var R = e.constructor, N = t.constructor;
723
+ R != N && "constructor" in e && "constructor" in t && !(typeof R == "function" && R instanceof R && typeof N == "function" && N instanceof N) && (S = !1);
724
+ }
725
+ return a.delete(e), a.delete(t), S;
726
+ }
727
+ var le = M(E, "DataView"), ce = M(E, "Promise"), ue = M(E, "Set"), fe = M(E, "WeakMap"), Ee = "[object Map]", qs = "[object Object]", Re = "[object Promise]", Ne = "[object Set]", Le = "[object WeakMap]", Ge = "[object DataView]", Vs = G(le), Zs = G(U), Xs = G(ce), Js = G(ue), Ys = G(fe), $ = Y;
728
+ (le && $(new le(new ArrayBuffer(1))) != Ge || U && $(new U()) != Ee || ce && $(ce.resolve()) != Re || ue && $(new ue()) != Ne || fe && $(new fe()) != Le) && ($ = function(e) {
729
+ var t = Y(e), r = t == qs ? e.constructor : void 0, n = r ? G(r) : "";
730
+ if (n)
731
+ switch (n) {
732
+ case Vs:
733
+ return Ge;
734
+ case Zs:
735
+ return Ee;
736
+ case Xs:
737
+ return Re;
738
+ case Js:
739
+ return Ne;
740
+ case Ys:
741
+ return Le;
742
+ }
743
+ return t;
744
+ });
745
+ var Qs = 1, Me = "[object Arguments]", De = "[object Array]", q = "[object Object]", ks = Object.prototype, Fe = ks.hasOwnProperty;
746
+ function ea(e, t, r, n, s, a) {
747
+ var o = T(e), l = T(t), c = o ? De : $(e), u = l ? De : $(t);
748
+ c = c == Me ? q : c, u = u == Me ? q : u;
749
+ var y = c == q, h = u == q, d = c == u;
750
+ if (d && ie(e)) {
751
+ if (!ie(t))
752
+ return !1;
753
+ o = !0, y = !1;
754
+ }
755
+ if (d && !y)
756
+ return a || (a = new I()), o || bt(e) ? St(e, t, r, n, s, a) : Ns(e, t, c, r, n, s, a);
757
+ if (!(r & Qs)) {
758
+ var m = y && Fe.call(e, "__wrapped__"), x = h && Fe.call(t, "__wrapped__");
759
+ if (m || x) {
760
+ var S = m ? e.value() : e, w = x ? t.value() : t;
761
+ return a || (a = new I()), s(S, w, r, n, a);
762
+ }
763
+ }
764
+ return d ? (a || (a = new I()), Ws(e, t, r, n, s, a)) : !1;
765
+ }
766
+ function ge(e, t, r, n, s) {
767
+ return e === t ? !0 : e == null || t == null || !z(e) && !z(t) ? e !== e && t !== t : ea(e, t, r, n, ge, s);
768
+ }
769
+ var ta = 1, ra = 2;
770
+ function na(e, t, r, n) {
771
+ var s = r.length, a = s;
772
+ if (e == null)
773
+ return !a;
774
+ for (e = Object(e); s--; ) {
775
+ var o = r[s];
776
+ if (o[2] ? o[1] !== e[o[0]] : !(o[0] in e))
777
+ return !1;
778
+ }
779
+ for (; ++s < a; ) {
780
+ o = r[s];
781
+ var l = o[0], c = e[l], u = o[1];
782
+ if (o[2]) {
783
+ if (c === void 0 && !(l in e))
784
+ return !1;
785
+ } else {
786
+ var y = new I(), h;
787
+ if (!(h === void 0 ? ge(u, c, ta | ra, n, y) : h))
788
+ return !1;
789
+ }
790
+ }
791
+ return !0;
792
+ }
793
+ function Ct(e) {
794
+ return e === e && !Xe(e);
795
+ }
796
+ function sa(e) {
797
+ for (var t = pe(e), r = t.length; r--; ) {
798
+ var n = t[r], s = e[n];
799
+ t[r] = [n, s, Ct(s)];
800
+ }
801
+ return t;
802
+ }
803
+ function wt(e, t) {
804
+ return function(r) {
805
+ return r == null ? !1 : r[e] === t && (t !== void 0 || e in Object(r));
806
+ };
807
+ }
808
+ function aa(e) {
809
+ var t = sa(e);
810
+ return t.length == 1 && t[0][2] ? wt(t[0][0], t[0][1]) : function(r) {
811
+ return r === e || na(r, e, t);
812
+ };
813
+ }
814
+ var oa = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ia = /^\w*$/;
815
+ function he(e, t) {
816
+ if (T(e))
817
+ return !1;
818
+ var r = typeof e;
819
+ return r == "number" || r == "symbol" || r == "boolean" || e == null || de(e) ? !0 : ia.test(e) || !oa.test(e) || t != null && e in Object(t);
820
+ }
821
+ var la = "Expected a function";
822
+ function me(e, t) {
823
+ if (typeof e != "function" || t != null && typeof t != "function")
824
+ throw new TypeError(la);
825
+ var r = function() {
826
+ var n = arguments, s = t ? t.apply(this, n) : n[0], a = r.cache;
827
+ if (a.has(s))
828
+ return a.get(s);
829
+ var o = e.apply(this, n);
830
+ return r.cache = a.set(s, o) || a, o;
831
+ };
832
+ return r.cache = new (me.Cache || j)(), r;
833
+ }
834
+ me.Cache = j;
835
+ var ca = 500;
836
+ function ua(e) {
837
+ var t = me(e, function(n) {
838
+ return r.size === ca && r.clear(), n;
839
+ }), r = t.cache;
840
+ return t;
841
+ }
842
+ var fa = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, da = /\\(\\)?/g, pa = ua(function(e) {
843
+ var t = [];
844
+ return e.charCodeAt(0) === 46 && t.push(""), e.replace(fa, function(r, n, s, a) {
845
+ t.push(s ? a.replace(da, "$1") : n || r);
846
+ }), t;
847
+ });
848
+ function ga(e, t) {
849
+ for (var r = -1, n = e == null ? 0 : e.length, s = Array(n); ++r < n; )
850
+ s[r] = t(e[r], r, e);
851
+ return s;
852
+ }
853
+ var Be = V ? V.prototype : void 0, He = Be ? Be.toString : void 0;
854
+ function Tt(e) {
855
+ if (typeof e == "string")
856
+ return e;
857
+ if (T(e))
858
+ return ga(e, Tt) + "";
859
+ if (de(e))
860
+ return He ? He.call(e) : "";
861
+ var t = e + "";
862
+ return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
863
+ }
864
+ function ha(e) {
865
+ return e == null ? "" : Tt(e);
866
+ }
867
+ function At(e, t) {
868
+ return T(e) ? e : he(e, t) ? [e] : pa(ha(e));
869
+ }
870
+ function ee(e) {
871
+ if (typeof e == "string" || de(e))
872
+ return e;
873
+ var t = e + "";
874
+ return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
875
+ }
876
+ function It(e, t) {
877
+ t = At(t, e);
878
+ for (var r = 0, n = t.length; e != null && r < n; )
879
+ e = e[ee(t[r++])];
880
+ return r && r == n ? e : void 0;
881
+ }
882
+ function ma(e, t, r) {
883
+ var n = e == null ? void 0 : It(e, t);
884
+ return n === void 0 ? r : n;
885
+ }
886
+ function va(e, t) {
887
+ return e != null && t in Object(e);
888
+ }
889
+ function _a(e, t, r) {
890
+ t = At(t, e);
891
+ for (var n = -1, s = t.length, a = !1; ++n < s; ) {
892
+ var o = ee(t[n]);
893
+ if (!(a = e != null && r(e, o)))
894
+ break;
895
+ e = e[o];
896
+ }
897
+ return a || ++n != s ? a : (s = e == null ? 0 : e.length, !!s && Je(s) && Ye(o, s) && (T(e) || Pt(e)));
898
+ }
899
+ function Pa(e, t) {
900
+ return e != null && _a(e, t, va);
901
+ }
902
+ var ya = 1, xa = 2;
903
+ function ba(e, t) {
904
+ return he(e) && Ct(t) ? wt(ee(e), t) : function(r) {
905
+ var n = ma(r, e);
906
+ return n === void 0 && n === t ? Pa(r, e) : ge(t, n, ya | xa);
907
+ };
908
+ }
909
+ function Sa(e) {
910
+ return e;
911
+ }
912
+ function Ca(e) {
913
+ return function(t) {
914
+ return t?.[e];
915
+ };
916
+ }
917
+ function wa(e) {
918
+ return function(t) {
919
+ return It(t, e);
920
+ };
921
+ }
922
+ function Ta(e) {
923
+ return he(e) ? Ca(ee(e)) : wa(e);
924
+ }
925
+ function Aa(e) {
926
+ return typeof e == "function" ? e : e == null ? Sa : typeof e == "object" ? T(e) ? ba(e[0], e[1]) : aa(e) : Ta(e);
927
+ }
928
+ function Ia(e, t) {
929
+ return function(r, n) {
930
+ var s = T(r) ? Dr : Ln, a = {};
931
+ return s(r, e, Aa(n), a);
932
+ };
933
+ }
934
+ var Oa = Object.prototype, ja = Oa.hasOwnProperty, $a = Ia(function(e, t, r) {
935
+ ja.call(e, r) ? e[r].push(t) : Mr(e, r, [t]);
936
+ });
937
+ const Ot = Et.forwardRef(
938
+ ({
939
+ clearable: e,
940
+ emptyPlaceholder: t = "No options available",
941
+ loading: r,
942
+ onContrast: n,
943
+ onSearch: s,
944
+ options: a,
945
+ placeholder: o = "",
946
+ placeholderElement: l,
947
+ rootRef: c,
948
+ searchable: u = !1,
949
+ searchPlaceholder: y = "Search...",
950
+ selectRef: h,
951
+ shouldTruncateText: d = !0,
952
+ size: m = "md",
953
+ ...x
954
+ }, S) => {
955
+ const { contentRef: w } = Yt(), A = n ? "onContrast" : "default", [C, F] = Pe(""), [R, N] = Pe(a), te = oe(() => rr({
956
+ items: R ?? [],
957
+ itemToString: (p) => typeof p.label == "string" ? p.label : p.valueText || "",
958
+ itemToValue: (p) => p.value
959
+ }), [R]), ve = oe(
960
+ () => Object.entries(
961
+ $a(te.items, (p) => p.groupLabel || "default")
962
+ ) || [],
963
+ [te.items]
964
+ ), _e = re(
965
+ (p, D) => p === "" || !p ? D : D.filter((B) => !!(typeof B.label == "string" ? B.label : B.valueText)?.toLowerCase().includes(p.toLowerCase())),
966
+ []
967
+ );
968
+ Rt(() => {
969
+ N(s ? a : _e(C, a));
970
+ }, [a, C, s, _e]);
971
+ const jt = re(
972
+ (p) => {
973
+ const D = p.target.value;
974
+ F(D), s && s(p);
975
+ },
976
+ [s]
977
+ ), $t = re(() => {
978
+ F(""), s && s({
979
+ target: { value: "" }
980
+ });
981
+ }, [s]);
982
+ return /* @__PURE__ */ i.jsxs(
983
+ dr,
984
+ {
985
+ className: "Select",
986
+ "data-testid": "kibble-select",
987
+ collection: te,
988
+ ref: c,
989
+ size: m,
990
+ variant: A,
991
+ ...x,
992
+ children: [
993
+ /* @__PURE__ */ i.jsx(Sr, { ref: h || S }),
994
+ /* @__PURE__ */ i.jsxs(br, { children: [
995
+ /* @__PURE__ */ i.jsx(
996
+ Cr,
997
+ {
998
+ placeholder: o,
999
+ placeholderElement: l,
1000
+ onContrast: !!n,
1001
+ shouldTruncateText: !!d,
1002
+ size: m
1003
+ }
1004
+ ),
1005
+ /* @__PURE__ */ i.jsxs(xr, { children: [
1006
+ e && /* @__PURE__ */ i.jsx(vr, { asChild: !0, children: /* @__PURE__ */ i.jsx(
1007
+ Gt,
1008
+ {
1009
+ iconName: "close",
1010
+ onContrast: n,
1011
+ size: m === "lg" ? "sm" : "xs",
1012
+ variant: "ghostNeutral"
1013
+ }
1014
+ ) }),
1015
+ /* @__PURE__ */ i.jsx(
1016
+ Lt,
1017
+ {
1018
+ name: "chevronDown",
1019
+ size: m,
1020
+ variant: n ? "onContrast" : "default"
1021
+ }
1022
+ )
1023
+ ] })
1024
+ ] }),
1025
+ /* @__PURE__ */ i.jsx(Ut, { container: w || void 0, children: /* @__PURE__ */ i.jsx(gr, { children: /* @__PURE__ */ i.jsxs(hr, { children: [
1026
+ u && /* @__PURE__ */ i.jsx(
1027
+ tr,
1028
+ {
1029
+ className: "Select__Header",
1030
+ "data-testid": "kibble-select-header",
1031
+ m: "0 12px 8px",
1032
+ children: /* @__PURE__ */ i.jsx(
1033
+ Qt,
1034
+ {
1035
+ className: "Select__SearchBar",
1036
+ "data-testid": "kibble-select-search-bar",
1037
+ placeholder: y,
1038
+ onChange: jt,
1039
+ size: "sm",
1040
+ value: C,
1041
+ clearable: !0,
1042
+ onClear: $t,
1043
+ formControlStyle: { mt: 1 }
1044
+ }
1045
+ )
1046
+ }
1047
+ ),
1048
+ r ? /* @__PURE__ */ i.jsx(ye, { w: "100%", justifyContent: "center", py: 3, children: /* @__PURE__ */ i.jsx(
1049
+ Mt,
1050
+ {
1051
+ variant: n ? "brandOnContrast" : "brand",
1052
+ size: m
1053
+ }
1054
+ ) }) : /* @__PURE__ */ i.jsx(i.Fragment, { children: ve.length ? ve.map(([p, D]) => {
1055
+ const B = p === "default";
1056
+ return /* @__PURE__ */ i.jsxs(_r, { children: [
1057
+ !B && /* @__PURE__ */ i.jsx(Pr, { children: p }),
1058
+ D.map((W) => /* @__PURE__ */ i.jsx(yr, { item: W, children: /* @__PURE__ */ i.jsx(
1059
+ vt,
1060
+ {
1061
+ item: W,
1062
+ onContrast: !!n,
1063
+ shouldTruncateText: !!d,
1064
+ size: m
1065
+ }
1066
+ ) }, W.value))
1067
+ ] }, p);
1068
+ }) : /* @__PURE__ */ i.jsx(ye, { w: "100%", justifyContent: "center", py: 3, children: /* @__PURE__ */ i.jsx(
1069
+ Ue,
1070
+ {
1071
+ size: "sm",
1072
+ variant: n ? "subtleOnContrast" : "subtle",
1073
+ children: t
1074
+ }
1075
+ ) }) })
1076
+ ] }) }) })
1077
+ ]
1078
+ }
1079
+ );
1080
+ }
1081
+ );
1082
+ Ot.displayName = "Select";
1083
+ const Ya = Nt(Ot);
1084
+ export {
1085
+ Ya as W
1086
+ };
1087
+ //# sourceMappingURL=select.component-DrZOaMq1.js.map