@televet/kibble-ui 4.0.0-beta.129 → 4.0.0-beta.13

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 (1189) hide show
  1. package/README.md +0 -40
  2. package/dist/chunks/alert.types-Bnf8isvq.js +2 -0
  3. package/dist/chunks/alert.types-Bnf8isvq.js.map +1 -0
  4. package/dist/chunks/alert.types-kskv5PHB.js +170 -0
  5. package/dist/chunks/alert.types-kskv5PHB.js.map +1 -0
  6. package/dist/chunks/avatar.component-Coq-0l7p.js +2 -0
  7. package/dist/chunks/avatar.component-Coq-0l7p.js.map +1 -0
  8. package/dist/chunks/avatar.component-DzvE2D-d.js +307 -0
  9. package/dist/chunks/avatar.component-DzvE2D-d.js.map +1 -0
  10. package/dist/chunks/avatar.types-Bmt5Uhfb.js.map +1 -1
  11. package/dist/chunks/avatar.types-LQ1Bn8a3.js +13 -0
  12. package/dist/chunks/avatar.types-LQ1Bn8a3.js.map +1 -0
  13. package/dist/chunks/avatarGroup.component-D-U0aMDv.js +71 -0
  14. package/dist/chunks/avatarGroup.component-D-U0aMDv.js.map +1 -0
  15. package/dist/chunks/avatarGroup.component-DES1ekL9.js +2 -0
  16. package/dist/chunks/avatarGroup.component-DES1ekL9.js.map +1 -0
  17. package/dist/chunks/{button.component-Br9jCpBx.js → button.component-BiW8RE1U.js} +10 -10
  18. package/dist/chunks/button.component-BiW8RE1U.js.map +1 -0
  19. package/dist/chunks/button.component-Dufh_y5v.js +2 -0
  20. package/dist/chunks/button.component-Dufh_y5v.js.map +1 -0
  21. package/dist/chunks/{button.types-BKXZNvN1.js → button.types-CujqF5RD.js} +7 -9
  22. package/dist/chunks/button.types-CujqF5RD.js.map +1 -0
  23. package/dist/chunks/{button.types-Bl1awbi0.js → button.types-DsLMGraz.js} +2 -2
  24. package/dist/chunks/button.types-DsLMGraz.js.map +1 -0
  25. package/dist/chunks/buttonGroup.component-DcCHtB7Q.js +67 -0
  26. package/dist/chunks/buttonGroup.component-DcCHtB7Q.js.map +1 -0
  27. package/dist/chunks/buttonGroup.component-sM0NngWF.js +2 -0
  28. package/dist/chunks/buttonGroup.component-sM0NngWF.js.map +1 -0
  29. package/dist/chunks/card.component-HX-4Y0j7.js +51 -0
  30. package/dist/chunks/card.component-HX-4Y0j7.js.map +1 -0
  31. package/dist/chunks/card.component-ZIoJIWVV.js +2 -0
  32. package/dist/chunks/card.component-ZIoJIWVV.js.map +1 -0
  33. package/dist/chunks/{theme.provider-Din1M63M.js → chakra-BqBkjpvZ.js} +11283 -10816
  34. package/dist/chunks/chakra-BqBkjpvZ.js.map +1 -0
  35. package/dist/chunks/chakra-DmF8Cxqs.js +5 -0
  36. package/dist/chunks/chakra-DmF8Cxqs.js.map +1 -0
  37. package/dist/chunks/characterCounter.component-BXxyn_IB.js +2 -0
  38. package/dist/chunks/characterCounter.component-BXxyn_IB.js.map +1 -0
  39. package/dist/chunks/characterCounter.component-DhiMcztY.js +108 -0
  40. package/dist/chunks/characterCounter.component-DhiMcztY.js.map +1 -0
  41. package/dist/chunks/checkbox.component-DQVpdkqO.js +2 -0
  42. package/dist/chunks/checkbox.component-DQVpdkqO.js.map +1 -0
  43. package/dist/chunks/checkbox.component-DgyH37fL.js +90 -0
  44. package/dist/chunks/checkbox.component-DgyH37fL.js.map +1 -0
  45. package/dist/chunks/checkbox.records-DJfdKuOe.js +2 -0
  46. package/dist/chunks/checkbox.records-DJfdKuOe.js.map +1 -0
  47. package/dist/chunks/checkbox.records-JWbKQ684.js +14 -0
  48. package/dist/chunks/checkbox.records-JWbKQ684.js.map +1 -0
  49. package/dist/chunks/checkboxGroup.component-C8cndZPg.js +51 -0
  50. package/dist/chunks/checkboxGroup.component-C8cndZPg.js.map +1 -0
  51. package/dist/chunks/checkboxGroup.component-CcjCexJ4.js +2 -0
  52. package/dist/chunks/checkboxGroup.component-CcjCexJ4.js.map +1 -0
  53. package/dist/chunks/conversationCard.component-CcWQpwrW.js +2 -0
  54. package/dist/chunks/conversationCard.component-CcWQpwrW.js.map +1 -0
  55. package/dist/chunks/{conversationCard.component-F4TRYMIP.js → conversationCard.component-DKIHpfpL.js} +173 -120
  56. package/dist/chunks/conversationCard.component-DKIHpfpL.js.map +1 -0
  57. package/dist/chunks/date-1NFv48Qu.js +3598 -0
  58. package/dist/chunks/date-1NFv48Qu.js.map +1 -0
  59. package/dist/chunks/date-Du64Exix.js +15 -0
  60. package/dist/chunks/date-Du64Exix.js.map +1 -0
  61. package/dist/chunks/datePicker.component-BthgWsMj.js +2 -0
  62. package/dist/chunks/datePicker.component-BthgWsMj.js.map +1 -0
  63. package/dist/chunks/datePicker.component-Q_KcgvIw.js +749 -0
  64. package/dist/chunks/datePicker.component-Q_KcgvIw.js.map +1 -0
  65. package/dist/chunks/dnd-4IMP_kRN.js +6 -0
  66. package/dist/chunks/dnd-4IMP_kRN.js.map +1 -0
  67. package/dist/chunks/{sortableList.component-CjfPYcdW.js → dnd-DDR6viHX.js} +887 -978
  68. package/dist/chunks/dnd-DDR6viHX.js.map +1 -0
  69. package/dist/chunks/heading.component-B8niLTxz.js +10 -0
  70. package/dist/chunks/heading.component-B8niLTxz.js.map +1 -0
  71. package/dist/chunks/heading.component-CExbjSBi.js +2 -0
  72. package/dist/chunks/heading.component-CExbjSBi.js.map +1 -0
  73. package/dist/chunks/icon.component-B-BWWGO3.js +42 -0
  74. package/dist/chunks/icon.component-B-BWWGO3.js.map +1 -0
  75. package/dist/chunks/icon.component-Bmtf4XKw.js +2 -0
  76. package/dist/chunks/icon.component-Bmtf4XKw.js.map +1 -0
  77. package/dist/chunks/icon.types-2obj_NKG.js.map +1 -1
  78. package/dist/chunks/icon.types-DLbVfMjG.js.map +1 -1
  79. package/dist/chunks/link.component-COhBuuX3.js +58 -0
  80. package/dist/chunks/link.component-COhBuuX3.js.map +1 -0
  81. package/dist/chunks/link.component-DZnXQz1W.js +2 -0
  82. package/dist/chunks/link.component-DZnXQz1W.js.map +1 -0
  83. package/dist/chunks/menu.component-BEj878EN.js +2 -0
  84. package/dist/chunks/menu.component-BEj878EN.js.map +1 -0
  85. package/dist/chunks/menu.component-CR9SH_jk.js +390 -0
  86. package/dist/chunks/menu.component-CR9SH_jk.js.map +1 -0
  87. package/dist/chunks/modal.types-ChWBgALC.js +146 -0
  88. package/dist/chunks/modal.types-ChWBgALC.js.map +1 -0
  89. package/dist/chunks/modal.types-CofEmV4v.js +2 -0
  90. package/dist/chunks/modal.types-CofEmV4v.js.map +1 -0
  91. package/dist/chunks/notificationCounter.component-BH6anjzq.js +2 -0
  92. package/dist/chunks/notificationCounter.component-BH6anjzq.js.map +1 -0
  93. package/dist/chunks/{notificationCounter.component-BzhAKrKR.js → notificationCounter.component-CSuqzMTF.js} +15 -10
  94. package/dist/chunks/notificationCounter.component-CSuqzMTF.js.map +1 -0
  95. package/dist/chunks/popover.component-C1e_jTLD.js +2 -0
  96. package/dist/chunks/popover.component-C1e_jTLD.js.map +1 -0
  97. package/dist/chunks/popover.component-CzYfOF7z.js +221 -0
  98. package/dist/chunks/popover.component-CzYfOF7z.js.map +1 -0
  99. package/dist/chunks/popover.recipe-DnCuZJd3.js +123 -0
  100. package/dist/chunks/popover.recipe-DnCuZJd3.js.map +1 -0
  101. package/dist/chunks/popover.recipe-Pfz3evii.js +2 -0
  102. package/dist/chunks/popover.recipe-Pfz3evii.js.map +1 -0
  103. package/dist/chunks/popover.types-BF2KRf_I.js.map +1 -1
  104. package/dist/chunks/popover.types-C-V7Diw4.js +12 -0
  105. package/dist/chunks/popover.types-C-V7Diw4.js.map +1 -0
  106. package/dist/chunks/radio.records-BxCn4oUd.js +2 -0
  107. package/dist/chunks/radio.records-BxCn4oUd.js.map +1 -0
  108. package/dist/chunks/radio.records-Cc3kP4Vn.js +14 -0
  109. package/dist/chunks/radio.records-Cc3kP4Vn.js.map +1 -0
  110. package/dist/chunks/radioGroup.component-B1ZdhI8z.js +2 -0
  111. package/dist/chunks/radioGroup.component-B1ZdhI8z.js.map +1 -0
  112. package/dist/chunks/radioGroup.component-CsmHziwM.js +151 -0
  113. package/dist/chunks/radioGroup.component-CsmHziwM.js.map +1 -0
  114. package/dist/chunks/ratingDots.component-DFHojz_X.js +155 -0
  115. package/dist/chunks/ratingDots.component-DFHojz_X.js.map +1 -0
  116. package/dist/chunks/ratingDots.component-HugaFu0D.js +2 -0
  117. package/dist/chunks/ratingDots.component-HugaFu0D.js.map +1 -0
  118. package/dist/chunks/select.component-HI7aJx11.js +129 -0
  119. package/dist/chunks/select.component-HI7aJx11.js.map +1 -0
  120. package/dist/chunks/select.component-h5lPMmWB.js +2 -0
  121. package/dist/chunks/select.component-h5lPMmWB.js.map +1 -0
  122. package/dist/chunks/sortableList.component-B2hSRuex.js +2 -0
  123. package/dist/chunks/sortableList.component-B2hSRuex.js.map +1 -0
  124. package/dist/chunks/sortableList.component-DAIHsGEA.js +145 -0
  125. package/dist/chunks/sortableList.component-DAIHsGEA.js.map +1 -0
  126. package/dist/chunks/spinner.component-CUuidnSK.js +2 -0
  127. package/dist/chunks/spinner.component-CUuidnSK.js.map +1 -0
  128. package/dist/chunks/{spinner.component-vkhAVeU1.js → spinner.component-D5tkelNc.js} +19 -21
  129. package/dist/chunks/spinner.component-D5tkelNc.js.map +1 -0
  130. package/dist/chunks/spinner.types-BCLN5-H2.js.map +1 -1
  131. package/dist/chunks/spinner.types-g7cTFJkb.js.map +1 -1
  132. package/dist/chunks/styledAvatar.types-Cj3j5vXC.js +2 -0
  133. package/dist/chunks/styledAvatar.types-Cj3j5vXC.js.map +1 -0
  134. package/dist/chunks/{styledAvatar.types-TEOKzzqn.js → styledAvatar.types-DbSO8s7o.js} +19 -6
  135. package/dist/chunks/styledAvatar.types-DbSO8s7o.js.map +1 -0
  136. package/dist/chunks/switch.component-B1fXLRiO.js +53 -0
  137. package/dist/chunks/switch.component-B1fXLRiO.js.map +1 -0
  138. package/dist/chunks/switch.component-PH9nS7eN.js +2 -0
  139. package/dist/chunks/switch.component-PH9nS7eN.js.map +1 -0
  140. package/dist/chunks/tabs.component-6iPTLCx6.js +2 -0
  141. package/dist/chunks/tabs.component-6iPTLCx6.js.map +1 -0
  142. package/dist/chunks/tabs.component-DaUZITBw.js +87 -0
  143. package/dist/chunks/tabs.component-DaUZITBw.js.map +1 -0
  144. package/dist/chunks/tag.component-A__B03TA.js +66 -0
  145. package/dist/chunks/tag.component-A__B03TA.js.map +1 -0
  146. package/dist/chunks/tag.component-BjOfy3Bw.js +2 -0
  147. package/dist/chunks/tag.component-BjOfy3Bw.js.map +1 -0
  148. package/dist/chunks/tag.types-B-pzEt1I.js.map +1 -1
  149. package/dist/chunks/tag.types-BnDFgTvb.js.map +1 -1
  150. package/dist/chunks/tagBlock.component-Bx_hcjU4.js +2 -0
  151. package/dist/chunks/tagBlock.component-Bx_hcjU4.js.map +1 -0
  152. package/dist/chunks/{tagBlock.component-xwy8mG6_.js → tagBlock.component-Ch60_R7X.js} +36 -20
  153. package/dist/chunks/tagBlock.component-Ch60_R7X.js.map +1 -0
  154. package/dist/chunks/text.component-CBa_saMP.js +2 -0
  155. package/dist/chunks/text.component-CBa_saMP.js.map +1 -0
  156. package/dist/chunks/text.component-XYjOAc2s.js +10 -0
  157. package/dist/chunks/text.component-XYjOAc2s.js.map +1 -0
  158. package/dist/chunks/textInput.component-CdPvTnhj.js +2 -0
  159. package/dist/chunks/textInput.component-CdPvTnhj.js.map +1 -0
  160. package/dist/chunks/textInput.component-LjDvSnBy.js +98 -0
  161. package/dist/chunks/textInput.component-LjDvSnBy.js.map +1 -0
  162. package/dist/chunks/textarea.component-C7l9zJKx.js +51 -0
  163. package/dist/chunks/textarea.component-C7l9zJKx.js.map +1 -0
  164. package/dist/chunks/textarea.component-CKEdjCAq.js +2 -0
  165. package/dist/chunks/textarea.component-CKEdjCAq.js.map +1 -0
  166. package/dist/chunks/timePicker.component-BLYPjS1u.js +2 -0
  167. package/dist/chunks/timePicker.component-BLYPjS1u.js.map +1 -0
  168. package/dist/chunks/timePicker.component-DFT36RN_.js +246 -0
  169. package/dist/chunks/timePicker.component-DFT36RN_.js.map +1 -0
  170. package/dist/chunks/timeRange.component-CzJjkQzN.js +2 -0
  171. package/dist/chunks/timeRange.component-CzJjkQzN.js.map +1 -0
  172. package/dist/chunks/timeRange.component-KETq7cDb.js +17 -0
  173. package/dist/chunks/timeRange.component-KETq7cDb.js.map +1 -0
  174. package/dist/chunks/timestamp.component-CuqY4euh.js +2 -0
  175. package/dist/chunks/timestamp.component-CuqY4euh.js.map +1 -0
  176. package/dist/chunks/timestamp.component-D764INLm.js +37 -0
  177. package/dist/chunks/timestamp.component-D764INLm.js.map +1 -0
  178. package/dist/chunks/tooltip.component-C3v2m2T2.js +70 -0
  179. package/dist/chunks/tooltip.component-C3v2m2T2.js.map +1 -0
  180. package/dist/chunks/tooltip.component-qWFa28S5.js +2 -0
  181. package/dist/chunks/tooltip.component-qWFa28S5.js.map +1 -0
  182. package/dist/chunks/typography-Cqrokog3.js.map +1 -1
  183. package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
  184. package/dist/chunks/typography.records-BPYXVuvi.js +2 -0
  185. package/dist/chunks/typography.records-BPYXVuvi.js.map +1 -0
  186. package/dist/chunks/typography.records-CG4wIBxE.js +24 -0
  187. package/dist/chunks/typography.records-CG4wIBxE.js.map +1 -0
  188. package/dist/chunks/useIconTextSizeMap-BK-pUrQv.js.map +1 -1
  189. package/dist/chunks/useIconTextSizeMap-BXmABb54.js.map +1 -1
  190. package/dist/chunks/vendor-BBfll6i3.js +11757 -0
  191. package/dist/chunks/vendor-BBfll6i3.js.map +1 -0
  192. package/dist/chunks/vendor-D-x6W6ez.js +57 -0
  193. package/dist/chunks/vendor-D-x6W6ez.js.map +1 -0
  194. package/dist/chunks/withFormControl-C7uVEpxe.js +2 -0
  195. package/dist/chunks/withFormControl-C7uVEpxe.js.map +1 -0
  196. package/dist/chunks/withFormControl-DSNvvAPD.js +149 -0
  197. package/dist/chunks/withFormControl-DSNvvAPD.js.map +1 -0
  198. package/dist/chunks/withTruncation-BskZBBVs.js +2 -0
  199. package/dist/chunks/withTruncation-BskZBBVs.js.map +1 -0
  200. package/dist/chunks/{withTruncation-DLR1Illa.js → withTruncation-C2xFKhgB.js} +28 -21
  201. package/dist/chunks/withTruncation-C2xFKhgB.js.map +1 -0
  202. package/dist/cjs/components/Alert/index.cjs +1 -1
  203. package/dist/cjs/components/Avatar/index.cjs +1 -1
  204. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  205. package/dist/cjs/components/Button/index.cjs +1 -1
  206. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  207. package/dist/cjs/components/Card/index.cjs +1 -1
  208. package/dist/cjs/components/Card/index.cjs.map +1 -1
  209. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  210. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  211. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  212. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  213. package/dist/cjs/components/Heading/index.cjs +1 -1
  214. package/dist/cjs/components/Icon/generated/index.cjs +1 -1
  215. package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
  216. package/dist/cjs/components/Icon/index.cjs +1 -1
  217. package/dist/cjs/components/Link/index.cjs +1 -1
  218. package/dist/cjs/components/Menu/index.cjs +1 -1
  219. package/dist/cjs/components/Modal/index.cjs +1 -1
  220. package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
  221. package/dist/cjs/components/NotificationCounter/index.cjs.map +1 -1
  222. package/dist/cjs/components/Picture/index.cjs +1 -1
  223. package/dist/cjs/components/Picture/index.cjs.map +1 -1
  224. package/dist/cjs/components/Popover/index.cjs +1 -1
  225. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  226. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  227. package/dist/cjs/components/Select/index.cjs +1 -1
  228. package/dist/cjs/components/SortableList/index.cjs +1 -1
  229. package/dist/cjs/components/Spinner/index.cjs +1 -1
  230. package/dist/cjs/components/Swatch/index.cjs +1 -1
  231. package/dist/cjs/components/Swatch/index.cjs.map +1 -1
  232. package/dist/cjs/components/Switch/index.cjs +1 -1
  233. package/dist/cjs/components/Tabs/index.cjs +1 -1
  234. package/dist/cjs/components/Tag/index.cjs +1 -1
  235. package/dist/cjs/components/Text/index.cjs +1 -1
  236. package/dist/cjs/components/TextInput/index.cjs +1 -1
  237. package/dist/cjs/components/Textarea/index.cjs +1 -1
  238. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  239. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  240. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  241. package/dist/cjs/components/index.cjs +1 -1
  242. package/dist/cjs/hocs/index.cjs +1 -1
  243. package/dist/cjs/hocs/index.cjs.map +1 -1
  244. package/dist/cjs/hooks/index.cjs +1 -1
  245. package/dist/cjs/hooks/index.cjs.map +1 -1
  246. package/dist/cjs/index.cjs +1 -1
  247. package/dist/cjs/{components → patterns}/ConversationCard/index.cjs +1 -1
  248. package/dist/cjs/{components → patterns}/StyledAvatar/index.cjs +1 -1
  249. package/dist/cjs/{components → patterns}/TagBlock/index.cjs +1 -1
  250. package/dist/cjs/{components → patterns}/Timestamp/index.cjs +1 -1
  251. package/dist/cjs/patterns/index.cjs +2 -0
  252. package/dist/cjs/shared/types/index.cjs +1 -1
  253. package/dist/cjs/shared/types/index.cjs.map +1 -1
  254. package/dist/cjs/theme/index.cjs +23 -1
  255. package/dist/cjs/theme/index.cjs.map +1 -1
  256. package/dist/cjs/theme/semanticTokens/index.cjs +1 -1
  257. package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
  258. package/dist/cjs/theme/tokens/colors/index.cjs.map +1 -1
  259. package/dist/cjs/theme/tokens/generated/index.cjs +2 -0
  260. package/dist/esm/components/Alert/index.js +1 -1
  261. package/dist/esm/components/Avatar/index.js +2 -2
  262. package/dist/esm/components/AvatarGroup/index.js +1 -1
  263. package/dist/esm/components/Button/index.js +2 -2
  264. package/dist/esm/components/ButtonGroup/index.js +1 -1
  265. package/dist/esm/components/Card/index.js +4 -4
  266. package/dist/esm/components/Card/index.js.map +1 -1
  267. package/dist/esm/components/CharacterCounter/index.js +1 -1
  268. package/dist/esm/components/Checkbox/index.js +1 -1
  269. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  270. package/dist/esm/components/DatePicker/index.js +1 -1
  271. package/dist/esm/components/Heading/index.js +1 -1
  272. package/dist/esm/components/Icon/generated/index.js +1632 -401
  273. package/dist/esm/components/Icon/generated/index.js.map +1 -1
  274. package/dist/esm/components/Icon/index.js +1 -1
  275. package/dist/esm/components/Link/index.js +1 -1
  276. package/dist/esm/components/Menu/index.js +1 -1
  277. package/dist/esm/components/Modal/index.js +1 -1
  278. package/dist/esm/components/NotificationCounter/index.js +9 -4
  279. package/dist/esm/components/NotificationCounter/index.js.map +1 -1
  280. package/dist/esm/components/Picture/index.js +16 -1
  281. package/dist/esm/components/Picture/index.js.map +1 -1
  282. package/dist/esm/components/Popover/index.js +2 -2
  283. package/dist/esm/components/RadioGroup/index.js +2 -3
  284. package/dist/esm/components/RatingDots/index.js +1 -1
  285. package/dist/esm/components/Select/index.js +1 -1
  286. package/dist/esm/components/SortableList/index.js +1 -1
  287. package/dist/esm/components/Spinner/index.js +1 -1
  288. package/dist/esm/components/Swatch/index.js +62 -3
  289. package/dist/esm/components/Swatch/index.js.map +1 -1
  290. package/dist/esm/components/Switch/index.js +1 -1
  291. package/dist/esm/components/Tabs/index.js +2 -4
  292. package/dist/esm/components/Tag/index.js +1 -1
  293. package/dist/esm/components/Text/index.js +1 -1
  294. package/dist/esm/components/TextInput/index.js +1 -1
  295. package/dist/esm/components/Textarea/index.js +1 -1
  296. package/dist/esm/components/TimePicker/index.js +1 -1
  297. package/dist/esm/components/TimeRange/index.js +1 -1
  298. package/dist/esm/components/Tooltip/index.js +1 -1
  299. package/dist/esm/components/index.js +95 -121
  300. package/dist/esm/components/index.js.map +1 -1
  301. package/dist/esm/hocs/index.js +35 -4
  302. package/dist/esm/hocs/index.js.map +1 -1
  303. package/dist/esm/hooks/index.js +17 -8
  304. package/dist/esm/hooks/index.js.map +1 -1
  305. package/dist/esm/index.js +100 -144
  306. package/dist/esm/index.js.map +1 -1
  307. package/dist/esm/{components → patterns}/ConversationCard/index.js +1 -1
  308. package/dist/esm/{components → patterns}/StyledAvatar/index.js +1 -1
  309. package/dist/esm/{components → patterns}/TagBlock/index.js +1 -1
  310. package/dist/esm/patterns/Timestamp/index.js +5 -0
  311. package/dist/esm/patterns/index.js +13 -0
  312. package/dist/esm/patterns/index.js.map +1 -0
  313. package/dist/esm/shared/types/index.js +15 -6
  314. package/dist/esm/shared/types/index.js.map +1 -1
  315. package/dist/esm/theme/index.js +2608 -4
  316. package/dist/esm/theme/index.js.map +1 -1
  317. package/dist/esm/theme/semanticTokens/index.js +0 -2
  318. package/dist/esm/theme/semanticTokens/index.js.map +1 -1
  319. package/dist/esm/theme/tokens/colors/index.js.map +1 -1
  320. package/dist/esm/theme/tokens/generated/index.js +2 -0
  321. package/dist/esm/theme/tokens/generated/index.js.map +1 -0
  322. package/dist/types/components/Alert/alert.component.d.ts +13 -5
  323. package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
  324. package/dist/types/components/Alert/alert.records.d.ts +5 -0
  325. package/dist/types/components/Alert/alert.types.d.ts +1 -1
  326. package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +1 -1
  327. package/dist/types/components/Alert.d.ts +2 -0
  328. package/dist/types/components/Avatar/avatar.recipe.d.ts +2 -2
  329. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
  330. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
  331. package/dist/types/components/Avatar.d.ts +2 -0
  332. package/dist/types/components/AvatarGroup.d.ts +2 -0
  333. package/dist/types/components/Button/button.component.d.ts +3 -2
  334. package/dist/types/components/Button/button.recipe.d.ts +1 -1
  335. package/dist/types/components/Button/button.types.d.ts +2 -2
  336. package/dist/types/components/Button.d.ts +2 -0
  337. package/dist/types/components/ButtonGroup/buttonGroup.types.d.ts +1 -1
  338. package/dist/types/components/ButtonGroup.d.ts +2 -0
  339. package/dist/types/components/Card/card.component.d.ts +1 -1
  340. package/dist/types/components/Card.d.ts +2 -0
  341. package/dist/types/components/CharacterCounter.d.ts +2 -0
  342. package/dist/types/components/Checkbox/checkbox.component.d.ts +3 -4
  343. package/dist/types/components/Checkbox/checkbox.recipe.d.ts +1 -9
  344. package/dist/types/components/Checkbox.d.ts +2 -0
  345. package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +1 -1
  346. package/dist/types/components/CheckboxGroup.d.ts +2 -0
  347. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +1 -1
  348. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +1 -1
  349. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
  350. package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +2 -2
  351. package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +1 -1
  352. package/dist/types/components/DatePicker/context/datePicker.context.d.ts +1 -1
  353. package/dist/types/components/DatePicker/datePicker.component.d.ts +1 -1
  354. package/dist/types/components/DatePicker/datePicker.types.d.ts +3 -3
  355. package/dist/types/components/DatePicker.d.ts +2 -0
  356. package/dist/types/components/Heading/heading.component.d.ts +3 -3
  357. package/dist/types/components/Heading/heading.types.d.ts +1 -1
  358. package/dist/types/components/Heading.d.ts +2 -0
  359. package/dist/types/components/Icon/generated/AlertCircle.d.ts +1 -1
  360. package/dist/types/components/Icon/generated/AnimalBird.d.ts +1 -1
  361. package/dist/types/components/Icon/generated/AnimalCat.d.ts +1 -1
  362. package/dist/types/components/Icon/generated/AnimalCow.d.ts +1 -1
  363. package/dist/types/components/Icon/generated/AnimalDog.d.ts +1 -1
  364. package/dist/types/components/Icon/generated/AnimalHorse.d.ts +1 -1
  365. package/dist/types/components/Icon/generated/AnimalMouse.d.ts +1 -1
  366. package/dist/types/components/Icon/generated/AnimalPig.d.ts +1 -1
  367. package/dist/types/components/Icon/generated/AnimalSnake.d.ts +1 -1
  368. package/dist/types/components/Icon/generated/Archive.d.ts +1 -1
  369. package/dist/types/components/Icon/generated/ArrowCircle.d.ts +1 -1
  370. package/dist/types/components/Icon/generated/ArrowDown.d.ts +1 -1
  371. package/dist/types/components/Icon/generated/ArrowDownRight.d.ts +1 -1
  372. package/dist/types/components/Icon/generated/ArrowLeft.d.ts +1 -1
  373. package/dist/types/components/Icon/generated/ArrowRight.d.ts +1 -1
  374. package/dist/types/components/Icon/generated/ArrowUp.d.ts +1 -1
  375. package/dist/types/components/Icon/generated/ArrowsIn.d.ts +1 -1
  376. package/dist/types/components/Icon/generated/ArrowsOut.d.ts +1 -1
  377. package/dist/types/components/Icon/generated/Article.d.ts +1 -1
  378. package/dist/types/components/Icon/generated/Award.d.ts +1 -1
  379. package/dist/types/components/Icon/generated/Bank.d.ts +1 -1
  380. package/dist/types/components/Icon/generated/Bell.d.ts +1 -1
  381. package/dist/types/components/Icon/generated/BellCancel.d.ts +1 -1
  382. package/dist/types/components/Icon/generated/Bone.d.ts +1 -1
  383. package/dist/types/components/Icon/generated/Bookmark.d.ts +1 -1
  384. package/dist/types/components/Icon/generated/BulkSelect.d.ts +1 -1
  385. package/dist/types/components/Icon/generated/Buttons.d.ts +1 -1
  386. package/dist/types/components/Icon/generated/CalendarCheck.d.ts +1 -1
  387. package/dist/types/components/Icon/generated/CalendarDate.d.ts +1 -1
  388. package/dist/types/components/Icon/generated/CalendarInfo.d.ts +1 -1
  389. package/dist/types/components/Icon/generated/CalendarPen.d.ts +1 -1
  390. package/dist/types/components/Icon/generated/CalendarPlus.d.ts +1 -1
  391. package/dist/types/components/Icon/generated/Camera.d.ts +1 -1
  392. package/dist/types/components/Icon/generated/CameraOff.d.ts +1 -1
  393. package/dist/types/components/Icon/generated/Cancel.d.ts +1 -1
  394. package/dist/types/components/Icon/generated/CaretDown.d.ts +1 -1
  395. package/dist/types/components/Icon/generated/CaretUp.d.ts +1 -1
  396. package/dist/types/components/Icon/generated/Cellphone.d.ts +1 -1
  397. package/dist/types/components/Icon/generated/CellphoneCancel.d.ts +1 -1
  398. package/dist/types/components/Icon/generated/ChainLink.d.ts +1 -1
  399. package/dist/types/components/Icon/generated/ChatBubble.d.ts +1 -1
  400. package/dist/types/components/Icon/generated/Checkmark.d.ts +1 -1
  401. package/dist/types/components/Icon/generated/CheckmarkBox.d.ts +1 -1
  402. package/dist/types/components/Icon/generated/CheckmarkCircle.d.ts +1 -1
  403. package/dist/types/components/Icon/generated/ChevronDown.d.ts +1 -1
  404. package/dist/types/components/Icon/generated/ChevronLeft.d.ts +1 -1
  405. package/dist/types/components/Icon/generated/ChevronRight.d.ts +1 -1
  406. package/dist/types/components/Icon/generated/ChevronUp.d.ts +1 -1
  407. package/dist/types/components/Icon/generated/Clinic.d.ts +1 -1
  408. package/dist/types/components/Icon/generated/Clock.d.ts +1 -1
  409. package/dist/types/components/Icon/generated/Close.d.ts +1 -1
  410. package/dist/types/components/Icon/generated/CloseCircle.d.ts +1 -1
  411. package/dist/types/components/Icon/generated/CloseCircleSolid.d.ts +1 -1
  412. package/dist/types/components/Icon/generated/Code.d.ts +1 -1
  413. package/dist/types/components/Icon/generated/CreditCard.d.ts +1 -1
  414. package/dist/types/components/Icon/generated/CreditCardLogoAmex.d.ts +1 -1
  415. package/dist/types/components/Icon/generated/CreditCardLogoDiners.d.ts +1 -1
  416. package/dist/types/components/Icon/generated/CreditCardLogoDiscover.d.ts +1 -1
  417. package/dist/types/components/Icon/generated/CreditCardLogoGeneric.d.ts +1 -1
  418. package/dist/types/components/Icon/generated/CreditCardLogoJcb.d.ts +1 -1
  419. package/dist/types/components/Icon/generated/CreditCardLogoMastercard.d.ts +1 -1
  420. package/dist/types/components/Icon/generated/CreditCardLogoUnionpay.d.ts +1 -1
  421. package/dist/types/components/Icon/generated/CreditCardLogoVisa.d.ts +1 -1
  422. package/dist/types/components/Icon/generated/Cut.d.ts +1 -1
  423. package/dist/types/components/Icon/generated/Dollar.d.ts +1 -1
  424. package/dist/types/components/Icon/generated/DollarCircle.d.ts +1 -1
  425. package/dist/types/components/Icon/generated/DotsHorizontal.d.ts +1 -1
  426. package/dist/types/components/Icon/generated/DotsVertical.d.ts +1 -1
  427. package/dist/types/components/Icon/generated/DoubleArrowCircle.d.ts +1 -1
  428. package/dist/types/components/Icon/generated/Download.d.ts +1 -1
  429. package/dist/types/components/Icon/generated/EmailSend.d.ts +1 -1
  430. package/dist/types/components/Icon/generated/Envelope.d.ts +1 -1
  431. package/dist/types/components/Icon/generated/EnvelopeCancel.d.ts +1 -1
  432. package/dist/types/components/Icon/generated/ExternalLink.d.ts +1 -1
  433. package/dist/types/components/Icon/generated/EyeOpen.d.ts +1 -1
  434. package/dist/types/components/Icon/generated/EyeSlash.d.ts +1 -1
  435. package/dist/types/components/Icon/generated/Eyedropper.d.ts +1 -1
  436. package/dist/types/components/Icon/generated/FileHealth.d.ts +1 -1
  437. package/dist/types/components/Icon/generated/Filter.d.ts +1 -1
  438. package/dist/types/components/Icon/generated/Form.d.ts +1 -1
  439. package/dist/types/components/Icon/generated/Gear.d.ts +1 -1
  440. package/dist/types/components/Icon/generated/Gif.d.ts +1 -1
  441. package/dist/types/components/Icon/generated/Grid.d.ts +1 -1
  442. package/dist/types/components/Icon/generated/Hashtag.d.ts +1 -1
  443. package/dist/types/components/Icon/generated/Health.d.ts +1 -1
  444. package/dist/types/components/Icon/generated/Heart.d.ts +1 -1
  445. package/dist/types/components/Icon/generated/HeartSolid.d.ts +1 -1
  446. package/dist/types/components/Icon/generated/House.d.ts +1 -1
  447. package/dist/types/components/Icon/generated/Image.d.ts +1 -1
  448. package/dist/types/components/Icon/generated/InfoCircle.d.ts +1 -1
  449. package/dist/types/components/Icon/generated/Input.d.ts +1 -1
  450. package/dist/types/components/Icon/generated/Invoice.d.ts +1 -1
  451. package/dist/types/components/Icon/generated/KanbanBoard.d.ts +1 -1
  452. package/dist/types/components/Icon/generated/List.d.ts +1 -1
  453. package/dist/types/components/Icon/generated/Liveagent.d.ts +1 -1
  454. package/dist/types/components/Icon/generated/Loader.d.ts +1 -1
  455. package/dist/types/components/Icon/generated/LocationMarker.d.ts +1 -1
  456. package/dist/types/components/Icon/generated/Lock.d.ts +1 -1
  457. package/dist/types/components/Icon/generated/Logo.d.ts +1 -1
  458. package/dist/types/components/Icon/generated/Loudspeaker.d.ts +1 -1
  459. package/dist/types/components/Icon/generated/Magic.d.ts +1 -1
  460. package/dist/types/components/Icon/generated/MagnifyingGlass.d.ts +1 -1
  461. package/dist/types/components/Icon/generated/Mailbox.d.ts +1 -1
  462. package/dist/types/components/Icon/generated/Menu.d.ts +1 -1
  463. package/dist/types/components/Icon/generated/Message.d.ts +1 -1
  464. package/dist/types/components/Icon/generated/MessageDetail.d.ts +1 -1
  465. package/dist/types/components/Icon/generated/MessageWarning.d.ts +1 -1
  466. package/dist/types/components/Icon/generated/Messages.d.ts +1 -1
  467. package/dist/types/components/Icon/generated/Microphone.d.ts +1 -1
  468. package/dist/types/components/Icon/generated/MicrophoneMute.d.ts +1 -1
  469. package/dist/types/components/Icon/generated/Minus.d.ts +1 -1
  470. package/dist/types/components/Icon/generated/MoveDown.d.ts +1 -1
  471. package/dist/types/components/Icon/generated/MoveLeft.d.ts +1 -1
  472. package/dist/types/components/Icon/generated/MoveRight.d.ts +1 -1
  473. package/dist/types/components/Icon/generated/MoveUp.d.ts +1 -1
  474. package/dist/types/components/Icon/generated/Notification.d.ts +1 -1
  475. package/dist/types/components/Icon/generated/Package.d.ts +1 -1
  476. package/dist/types/components/Icon/generated/Paperclip.d.ts +1 -1
  477. package/dist/types/components/Icon/generated/Pause.d.ts +1 -1
  478. package/dist/types/components/Icon/generated/Paw.d.ts +1 -1
  479. package/dist/types/components/Icon/generated/Pen.d.ts +1 -1
  480. package/dist/types/components/Icon/generated/PenSquare.d.ts +1 -1
  481. package/dist/types/components/Icon/generated/Person.d.ts +1 -1
  482. package/dist/types/components/Icon/generated/PersonAdd.d.ts +1 -1
  483. package/dist/types/components/Icon/generated/PersonCircle.d.ts +1 -1
  484. package/dist/types/components/Icon/generated/Phone.d.ts +1 -1
  485. package/dist/types/components/Icon/generated/PhoneButtons.d.ts +1 -1
  486. package/dist/types/components/Icon/generated/PhoneCancel.d.ts +1 -1
  487. package/dist/types/components/Icon/generated/Pill.d.ts +1 -1
  488. package/dist/types/components/Icon/generated/Pin.d.ts +1 -1
  489. package/dist/types/components/Icon/generated/PinCancel.d.ts +1 -1
  490. package/dist/types/components/Icon/generated/Play.d.ts +1 -1
  491. package/dist/types/components/Icon/generated/Plus.d.ts +1 -1
  492. package/dist/types/components/Icon/generated/Popup.d.ts +1 -1
  493. package/dist/types/components/Icon/generated/Printer.d.ts +1 -1
  494. package/dist/types/components/Icon/generated/QuestionMark.d.ts +1 -1
  495. package/dist/types/components/Icon/generated/QuestionMarkCircle.d.ts +1 -1
  496. package/dist/types/components/Icon/generated/QuestionMarkCircleSolid.d.ts +1 -1
  497. package/dist/types/components/Icon/generated/Record.d.ts +1 -1
  498. package/dist/types/components/Icon/generated/Report.d.ts +1 -1
  499. package/dist/types/components/Icon/generated/Ribbon.d.ts +1 -1
  500. package/dist/types/components/Icon/generated/Robot.d.ts +1 -1
  501. package/dist/types/components/Icon/generated/Send.d.ts +1 -1
  502. package/dist/types/components/Icon/generated/Sliders.d.ts +1 -1
  503. package/dist/types/components/Icon/generated/SmileyFace.d.ts +1 -1
  504. package/dist/types/components/Icon/generated/Sort.d.ts +1 -1
  505. package/dist/types/components/Icon/generated/Star.d.ts +1 -1
  506. package/dist/types/components/Icon/generated/StarCircle.d.ts +1 -1
  507. package/dist/types/components/Icon/generated/StarSolid.d.ts +1 -1
  508. package/dist/types/components/Icon/generated/Stop.d.ts +1 -1
  509. package/dist/types/components/Icon/generated/StopRecording.d.ts +1 -1
  510. package/dist/types/components/Icon/generated/Support.d.ts +1 -1
  511. package/dist/types/components/Icon/generated/Table.d.ts +1 -1
  512. package/dist/types/components/Icon/generated/Tag.d.ts +1 -1
  513. package/dist/types/components/Icon/generated/Target.d.ts +1 -1
  514. package/dist/types/components/Icon/generated/TargetSolid.d.ts +1 -1
  515. package/dist/types/components/Icon/generated/TaskList.d.ts +1 -1
  516. package/dist/types/components/Icon/generated/Team.d.ts +1 -1
  517. package/dist/types/components/Icon/generated/ThumbsDown.d.ts +1 -1
  518. package/dist/types/components/Icon/generated/ThumbsUp.d.ts +1 -1
  519. package/dist/types/components/Icon/generated/Transfer.d.ts +1 -1
  520. package/dist/types/components/Icon/generated/Trashcan.d.ts +1 -1
  521. package/dist/types/components/Icon/generated/TwoSquares.d.ts +1 -1
  522. package/dist/types/components/Icon/generated/Upload.d.ts +1 -1
  523. package/dist/types/components/Icon/generated/VideoCamera.d.ts +1 -1
  524. package/dist/types/components/Icon/generated/WarningSign.d.ts +1 -1
  525. package/dist/types/components/Icon/generated/Website.d.ts +1 -1
  526. package/dist/types/components/Icon/generated/Wrench.d.ts +1 -1
  527. package/dist/types/components/Icon/generated/index.d.ts +1 -1
  528. package/dist/types/components/Icon/generated.d.ts +2 -0
  529. package/dist/types/components/Icon/icon.component.d.ts +3 -2
  530. package/dist/types/components/Icon.d.ts +2 -0
  531. package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +3 -3
  532. package/dist/types/components/Link.d.ts +2 -0
  533. package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +1 -1
  534. package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +7 -8
  535. package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +1 -1
  536. package/dist/types/components/Menu/menu.component.d.ts +2 -2
  537. package/dist/types/components/Menu.d.ts +2 -0
  538. package/dist/types/components/Modal/modal.component.d.ts +1 -2
  539. package/dist/types/components/Modal/modal.recipe.d.ts +10 -2
  540. package/dist/types/components/Modal.d.ts +2 -0
  541. package/dist/types/components/NotificationCounter.d.ts +2 -0
  542. package/dist/types/components/Picture.d.ts +2 -0
  543. package/dist/types/components/Popover/popover.component.d.ts +5 -6
  544. package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
  545. package/dist/types/components/Popover.d.ts +2 -0
  546. package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +5 -9
  547. package/dist/types/components/RadioGroup/index.d.ts +0 -2
  548. package/dist/types/components/RadioGroup/radioGroup.component.d.ts +9 -3
  549. package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +1 -9
  550. package/dist/types/components/RadioGroup.d.ts +2 -0
  551. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +1 -1
  552. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.recipe.d.ts +1 -1
  553. package/dist/types/components/RatingDots/ratingDots.component.d.ts +1 -2
  554. package/dist/types/components/RatingDots.d.ts +2 -0
  555. package/dist/types/components/Select/select.component.d.ts +4 -9
  556. package/dist/types/components/Select/select.types.d.ts +1 -2
  557. package/dist/types/components/Select.d.ts +2 -0
  558. package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +1 -1
  559. package/dist/types/components/SortableList/index.d.ts +0 -1
  560. package/dist/types/components/SortableList/sortableList.component.d.ts +2 -2
  561. package/dist/types/components/SortableList.d.ts +2 -0
  562. package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
  563. package/dist/types/components/Spinner/spinner.recipe.d.ts +1 -1
  564. package/dist/types/components/Spinner.d.ts +2 -0
  565. package/dist/types/components/Swatch/swatch.component.d.ts +1 -1
  566. package/dist/types/components/Swatch.d.ts +2 -0
  567. package/dist/types/components/Switch/switch.component.d.ts +4 -5
  568. package/dist/types/components/Switch/switch.recipe.d.ts +2 -2
  569. package/dist/types/components/Switch.d.ts +2 -0
  570. package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +1 -1
  571. package/dist/types/components/Tabs/index.d.ts +0 -2
  572. package/dist/types/components/Tabs/tabs.component.d.ts +1 -1
  573. package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
  574. package/dist/types/components/Tabs.d.ts +2 -0
  575. package/dist/types/components/Tag/tag.component.d.ts +3 -3
  576. package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
  577. package/dist/types/components/Tag.d.ts +2 -0
  578. package/dist/types/components/Text/text.component.d.ts +3 -3
  579. package/dist/types/components/Text/text.recipe.d.ts +1 -0
  580. package/dist/types/components/Text/text.types.d.ts +1 -1
  581. package/dist/types/components/Text.d.ts +2 -0
  582. package/dist/types/components/TextInput/textInput.component.d.ts +4 -4
  583. package/dist/types/components/TextInput.d.ts +2 -0
  584. package/dist/types/components/Textarea/textarea.component.d.ts +4 -4
  585. package/dist/types/components/Textarea.d.ts +2 -0
  586. package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +1 -1
  587. package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +2 -2
  588. package/dist/types/components/TimePicker/timePicker.component.d.ts +1 -1
  589. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
  590. package/dist/types/components/TimePicker.d.ts +2 -0
  591. package/dist/types/components/TimeRange.d.ts +2 -0
  592. package/dist/types/components/Tooltip/tooltip.component.d.ts +2 -4
  593. package/dist/types/components/Tooltip.d.ts +2 -0
  594. package/dist/types/components/index.d.ts +1 -9
  595. package/dist/types/components.d.ts +2 -0
  596. package/dist/types/hocs/withDarkMode/index.d.ts +2 -1
  597. package/dist/types/hocs/withFormControl/withFormControl.d.ts +1 -2
  598. package/dist/types/hocs/withFormControl/withFormControl.types.d.ts +1 -1
  599. package/dist/types/hocs/withLightMode/index.d.ts +2 -1
  600. package/dist/types/hocs/withTruncation.d.ts +1 -1
  601. package/dist/types/hocs.d.ts +2 -0
  602. package/dist/types/hooks/index.d.ts +0 -2
  603. package/dist/types/hooks/useColorMode/index.d.ts +2 -4
  604. package/dist/types/hooks.d.ts +2 -0
  605. package/dist/types/index.d.ts +0 -2
  606. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
  607. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +2 -2
  608. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +3 -3
  609. package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +2 -2
  610. package/dist/types/{components → patterns}/ConversationCard/conversationCard.component.d.ts +1 -1
  611. package/dist/types/patterns/ConversationCard.d.ts +2 -0
  612. package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.component.d.ts +1 -1
  613. package/dist/types/patterns/StyledAvatar.d.ts +2 -0
  614. package/dist/types/{components → patterns}/TagBlock/tagBlock.component.d.ts +1 -1
  615. package/dist/types/patterns/TagBlock.d.ts +2 -0
  616. package/dist/types/{components → patterns}/Timestamp/timestamp.component.d.ts +2 -2
  617. package/dist/types/patterns/Timestamp.d.ts +2 -0
  618. package/dist/types/patterns/index.d.ts +4 -0
  619. package/dist/types/patterns.d.ts +2 -0
  620. package/dist/types/shared/types/theme.d.ts +1 -2
  621. package/dist/types/shared/types.d.ts +2 -0
  622. package/dist/types/shared/utils/sizes.d.ts +1 -1
  623. package/dist/types/theme/index.d.ts +5 -2
  624. package/dist/types/theme/providers/theme.provider.d.ts +3 -4
  625. package/dist/types/theme/semanticTokens/index.d.ts +0 -1
  626. package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +1 -5
  627. package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +2 -10
  628. package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +2 -2
  629. package/dist/types/theme/semanticTokens/utils/getSemanticColorToken.d.ts +2 -2
  630. package/dist/types/theme/semanticTokens.d.ts +2 -0
  631. package/dist/types/theme/theme.config.d.ts +0 -1
  632. package/dist/types/theme/theme.types.d.ts +22 -0
  633. package/dist/types/theme/tokens/blurs/blurs.types.d.ts +1 -1
  634. package/dist/types/theme/tokens/blurs.d.ts +2 -0
  635. package/dist/types/theme/tokens/borders/borders.types.d.ts +2 -2
  636. package/dist/types/theme/tokens/borders.d.ts +2 -0
  637. package/dist/types/theme/tokens/colors/colors.types.d.ts +2 -2
  638. package/dist/types/theme/tokens/colors.d.ts +2 -0
  639. package/dist/types/theme/tokens/generated/conditions.gen.d.ts +262 -0
  640. package/dist/types/theme/tokens/generated/index.d.ts +5 -0
  641. package/dist/types/theme/tokens/generated/prop-types.gen.d.ts +329 -0
  642. package/dist/types/theme/tokens/generated/recipes.gen.d.ts +1525 -0
  643. package/dist/types/theme/tokens/generated/system.gen.d.ts +693 -0
  644. package/dist/types/theme/tokens/generated/token.gen.d.ts +1896 -0
  645. package/dist/types/theme/tokens/generated.d.ts +2 -0
  646. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
  647. package/dist/types/theme/tokens/shadows/shadows.types.d.ts +2 -2
  648. package/dist/types/theme/tokens/shadows.d.ts +2 -0
  649. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -16
  650. package/dist/types/theme/tokens/sizes/sizes.types.d.ts +2 -2
  651. package/dist/types/theme/tokens/sizes.d.ts +2 -0
  652. package/dist/types/theme/tokens/spacing/spacing.config.d.ts +3 -3
  653. package/dist/types/theme/tokens/spacing/spacing.types.d.ts +1 -1
  654. package/dist/types/theme/tokens/spacing.d.ts +2 -0
  655. package/dist/types/theme/tokens/transitions/transitions.config.d.ts +2 -2
  656. package/dist/types/theme/tokens/transitions/transitions.types.d.ts +2 -2
  657. package/dist/types/theme/tokens/transitions.d.ts +2 -0
  658. package/dist/types/theme/tokens/typography/typography.config.d.ts +71 -26
  659. package/dist/types/theme/tokens/typography/typography.types.d.ts +5 -5
  660. package/dist/types/theme/tokens/typography.d.ts +2 -0
  661. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
  662. package/dist/types/theme/tokens/zIndices/zIndices.types.d.ts +1 -1
  663. package/dist/types/theme/tokens/zIndices.d.ts +2 -0
  664. package/dist/types/theme/tokens.d.ts +2 -0
  665. package/dist/types/theme.d.ts +2 -0
  666. package/package.json +56 -65
  667. package/dist/chunks/IconLogo-C4aZqkn1.js +0 -2
  668. package/dist/chunks/IconLogo-C4aZqkn1.js.map +0 -1
  669. package/dist/chunks/IconLogo-UpYiHEKq.js +0 -50
  670. package/dist/chunks/IconLogo-UpYiHEKq.js.map +0 -1
  671. package/dist/chunks/alert.types-CEvBY7aM.js +0 -2
  672. package/dist/chunks/alert.types-CEvBY7aM.js.map +0 -1
  673. package/dist/chunks/alert.types-kAvlVPfo.js +0 -139
  674. package/dist/chunks/alert.types-kAvlVPfo.js.map +0 -1
  675. package/dist/chunks/attr-BMs6szZx.js +0 -2
  676. package/dist/chunks/attr-BMs6szZx.js.map +0 -1
  677. package/dist/chunks/attr-sm10PXOd.js +0 -5
  678. package/dist/chunks/attr-sm10PXOd.js.map +0 -1
  679. package/dist/chunks/avatar.component-DGfWk-0y.js +0 -394
  680. package/dist/chunks/avatar.component-DGfWk-0y.js.map +0 -1
  681. package/dist/chunks/avatar.component-Dv96XFOF.js +0 -2
  682. package/dist/chunks/avatar.component-Dv96XFOF.js.map +0 -1
  683. package/dist/chunks/avatar.types-C6dZZjdi.js +0 -6
  684. package/dist/chunks/avatar.types-C6dZZjdi.js.map +0 -1
  685. package/dist/chunks/avatarGroup.component-BZNCUbR4.js +0 -67
  686. package/dist/chunks/avatarGroup.component-BZNCUbR4.js.map +0 -1
  687. package/dist/chunks/avatarGroup.component-CfSBCJKG.js +0 -2
  688. package/dist/chunks/avatarGroup.component-CfSBCJKG.js.map +0 -1
  689. package/dist/chunks/box-Baq7UBls.js +0 -2
  690. package/dist/chunks/box-Baq7UBls.js.map +0 -1
  691. package/dist/chunks/box-Ck9I7FYv.js +0 -7
  692. package/dist/chunks/box-Ck9I7FYv.js.map +0 -1
  693. package/dist/chunks/button.component-Br9jCpBx.js.map +0 -1
  694. package/dist/chunks/button.component-CsJxgblU.js +0 -2
  695. package/dist/chunks/button.component-CsJxgblU.js.map +0 -1
  696. package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
  697. package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
  698. package/dist/chunks/buttonGroup.component-B6Ebjoh6.js +0 -2
  699. package/dist/chunks/buttonGroup.component-B6Ebjoh6.js.map +0 -1
  700. package/dist/chunks/buttonGroup.component-Hf7tGheU.js +0 -68
  701. package/dist/chunks/buttonGroup.component-Hf7tGheU.js.map +0 -1
  702. package/dist/chunks/card.component-BTiT4hHy.js +0 -2
  703. package/dist/chunks/card.component-BTiT4hHy.js.map +0 -1
  704. package/dist/chunks/card.component-D41Jhrj7.js +0 -58
  705. package/dist/chunks/card.component-D41Jhrj7.js.map +0 -1
  706. package/dist/chunks/card.types-Cixp7ouC.js +0 -5
  707. package/dist/chunks/card.types-Cixp7ouC.js.map +0 -1
  708. package/dist/chunks/card.types-MvkQTTZF.js +0 -2
  709. package/dist/chunks/card.types-MvkQTTZF.js.map +0 -1
  710. package/dist/chunks/characterCounter.component-DXmly18j.js +0 -2
  711. package/dist/chunks/characterCounter.component-DXmly18j.js.map +0 -1
  712. package/dist/chunks/characterCounter.component-ox9jRwSj.js +0 -84
  713. package/dist/chunks/characterCounter.component-ox9jRwSj.js.map +0 -1
  714. package/dist/chunks/checkbox.anatomy-BJmDPPss.js +0 -2
  715. package/dist/chunks/checkbox.anatomy-BJmDPPss.js.map +0 -1
  716. package/dist/chunks/checkbox.anatomy-Cay-Mr3g.js +0 -256
  717. package/dist/chunks/checkbox.anatomy-Cay-Mr3g.js.map +0 -1
  718. package/dist/chunks/checkbox.component-Wke7fO3F.js +0 -260
  719. package/dist/chunks/checkbox.component-Wke7fO3F.js.map +0 -1
  720. package/dist/chunks/checkbox.component-u7MR3n4o.js +0 -2
  721. package/dist/chunks/checkbox.component-u7MR3n4o.js.map +0 -1
  722. package/dist/chunks/checkboxGroup.component-BTWYKZIw.js +0 -52
  723. package/dist/chunks/checkboxGroup.component-BTWYKZIw.js.map +0 -1
  724. package/dist/chunks/checkboxGroup.component-CNnlDoOR.js +0 -2
  725. package/dist/chunks/checkboxGroup.component-CNnlDoOR.js.map +0 -1
  726. package/dist/chunks/config-BFcXpdZo.js +0 -2
  727. package/dist/chunks/config-BFcXpdZo.js.map +0 -1
  728. package/dist/chunks/config-DlTdf-Yt.js +0 -57
  729. package/dist/chunks/config-DlTdf-Yt.js.map +0 -1
  730. package/dist/chunks/conversationCard.component-D5UsucDp.js +0 -2
  731. package/dist/chunks/conversationCard.component-D5UsucDp.js.map +0 -1
  732. package/dist/chunks/conversationCard.component-F4TRYMIP.js.map +0 -1
  733. package/dist/chunks/create-recipe-context-D7FewUR4.js +0 -62
  734. package/dist/chunks/create-recipe-context-D7FewUR4.js.map +0 -1
  735. package/dist/chunks/create-recipe-context-sESms8Eo.js +0 -2
  736. package/dist/chunks/create-recipe-context-sESms8Eo.js.map +0 -1
  737. package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +0 -97
  738. package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +0 -1
  739. package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +0 -2
  740. package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +0 -1
  741. package/dist/chunks/datePicker.component-7v8Bqmkg.js +0 -3019
  742. package/dist/chunks/datePicker.component-7v8Bqmkg.js.map +0 -1
  743. package/dist/chunks/datePicker.component-CBYLerCE.js +0 -15
  744. package/dist/chunks/datePicker.component-CBYLerCE.js.map +0 -1
  745. package/dist/chunks/dialog-BeivYfW7.js +0 -2
  746. package/dist/chunks/dialog-BeivYfW7.js.map +0 -1
  747. package/dist/chunks/dialog-HKVwK8-N.js +0 -136
  748. package/dist/chunks/dialog-HKVwK8-N.js.map +0 -1
  749. package/dist/chunks/divider.types-0j5qRXed.js +0 -47
  750. package/dist/chunks/divider.types-0j5qRXed.js.map +0 -1
  751. package/dist/chunks/divider.types-CK5oFy-i.js +0 -2
  752. package/dist/chunks/divider.types-CK5oFy-i.js.map +0 -1
  753. package/dist/chunks/empty-B5_AO6Pg.js +0 -2
  754. package/dist/chunks/empty-B5_AO6Pg.js.map +0 -1
  755. package/dist/chunks/empty-BU2EAux9.js +0 -8
  756. package/dist/chunks/empty-BU2EAux9.js.map +0 -1
  757. package/dist/chunks/factory-Ctbv0Ozn.js +0 -500
  758. package/dist/chunks/factory-Ctbv0Ozn.js.map +0 -1
  759. package/dist/chunks/factory-D6tdBUPG.js +0 -3
  760. package/dist/chunks/factory-D6tdBUPG.js.map +0 -1
  761. package/dist/chunks/flex-D14H6HbP.js +0 -2
  762. package/dist/chunks/flex-D14H6HbP.js.map +0 -1
  763. package/dist/chunks/flex-smlF8uQG.js +0 -40
  764. package/dist/chunks/flex-smlF8uQG.js.map +0 -1
  765. package/dist/chunks/float-DYLtz2A6.js +0 -64
  766. package/dist/chunks/float-DYLtz2A6.js.map +0 -1
  767. package/dist/chunks/float-OQXnYWBw.js +0 -2
  768. package/dist/chunks/float-OQXnYWBw.js.map +0 -1
  769. package/dist/chunks/format-BRt-TIiQ.js +0 -2
  770. package/dist/chunks/format-BRt-TIiQ.js.map +0 -1
  771. package/dist/chunks/format-DgHM6wFr.js +0 -1275
  772. package/dist/chunks/format-DgHM6wFr.js.map +0 -1
  773. package/dist/chunks/grid-item-BBt_-NiB.js +0 -91
  774. package/dist/chunks/grid-item-BBt_-NiB.js.map +0 -1
  775. package/dist/chunks/grid-item-BfAkrDSq.js +0 -2
  776. package/dist/chunks/grid-item-BfAkrDSq.js.map +0 -1
  777. package/dist/chunks/group-Cv7AQw1b.js +0 -2
  778. package/dist/chunks/group-Cv7AQw1b.js.map +0 -1
  779. package/dist/chunks/group-DPCVolOl.js +0 -139
  780. package/dist/chunks/group-DPCVolOl.js.map +0 -1
  781. package/dist/chunks/h-stack-Bjx9hlJo.js +0 -2
  782. package/dist/chunks/h-stack-Bjx9hlJo.js.map +0 -1
  783. package/dist/chunks/h-stack-Ce6JSBK2.js +0 -12
  784. package/dist/chunks/h-stack-Ce6JSBK2.js.map +0 -1
  785. package/dist/chunks/heading.component-BMvc5kM8.js +0 -2
  786. package/dist/chunks/heading.component-BMvc5kM8.js.map +0 -1
  787. package/dist/chunks/heading.component-Cgi_rt8Q.js +0 -12
  788. package/dist/chunks/heading.component-Cgi_rt8Q.js.map +0 -1
  789. package/dist/chunks/icon-button-DTZOklQ9.js +0 -119
  790. package/dist/chunks/icon-button-DTZOklQ9.js.map +0 -1
  791. package/dist/chunks/icon-button-DtjZ-SdQ.js +0 -2
  792. package/dist/chunks/icon-button-DtjZ-SdQ.js.map +0 -1
  793. package/dist/chunks/icon.component-B6R8-DRk.js +0 -2
  794. package/dist/chunks/icon.component-B6R8-DRk.js.map +0 -1
  795. package/dist/chunks/icon.component-S_qFWBRf.js +0 -32
  796. package/dist/chunks/icon.component-S_qFWBRf.js.map +0 -1
  797. package/dist/chunks/icons-BXxdrBrf.js +0 -216
  798. package/dist/chunks/icons-BXxdrBrf.js.map +0 -1
  799. package/dist/chunks/icons-CTpAjbC-.js +0 -2
  800. package/dist/chunks/icons-CTpAjbC-.js.map +0 -1
  801. package/dist/chunks/index-1syExFDc.js +0 -1328
  802. package/dist/chunks/index-1syExFDc.js.map +0 -1
  803. package/dist/chunks/index-4eV_IBpJ.js +0 -70
  804. package/dist/chunks/index-4eV_IBpJ.js.map +0 -1
  805. package/dist/chunks/index-50yAcekU.js +0 -371
  806. package/dist/chunks/index-50yAcekU.js.map +0 -1
  807. package/dist/chunks/index-AafzY9XD.js +0 -389
  808. package/dist/chunks/index-AafzY9XD.js.map +0 -1
  809. package/dist/chunks/index-BR7peqZO.js +0 -2
  810. package/dist/chunks/index-BR7peqZO.js.map +0 -1
  811. package/dist/chunks/index-BZO9oWt_.js +0 -444
  812. package/dist/chunks/index-BZO9oWt_.js.map +0 -1
  813. package/dist/chunks/index-C9d2jvcj.js +0 -7859
  814. package/dist/chunks/index-C9d2jvcj.js.map +0 -1
  815. package/dist/chunks/index-CHIISuTq.js +0 -3
  816. package/dist/chunks/index-CHIISuTq.js.map +0 -1
  817. package/dist/chunks/index-CIWHjZGL.js +0 -1189
  818. package/dist/chunks/index-CIWHjZGL.js.map +0 -1
  819. package/dist/chunks/index-CS8X6LiC.js +0 -2
  820. package/dist/chunks/index-CS8X6LiC.js.map +0 -1
  821. package/dist/chunks/index-ChpoK9RR.js +0 -290
  822. package/dist/chunks/index-ChpoK9RR.js.map +0 -1
  823. package/dist/chunks/index-CtXUprYH.js +0 -2
  824. package/dist/chunks/index-CtXUprYH.js.map +0 -1
  825. package/dist/chunks/index-CxYbW27D.js +0 -375
  826. package/dist/chunks/index-CxYbW27D.js.map +0 -1
  827. package/dist/chunks/index-D6LpzELR.js +0 -257
  828. package/dist/chunks/index-D6LpzELR.js.map +0 -1
  829. package/dist/chunks/index-DAWHN3cH.js +0 -86
  830. package/dist/chunks/index-DAWHN3cH.js.map +0 -1
  831. package/dist/chunks/index-DBk0LkcO.js +0 -2
  832. package/dist/chunks/index-DBk0LkcO.js.map +0 -1
  833. package/dist/chunks/index-DD49WSSW.js +0 -2
  834. package/dist/chunks/index-DD49WSSW.js.map +0 -1
  835. package/dist/chunks/index-DLX5_Po7.js +0 -10
  836. package/dist/chunks/index-DLX5_Po7.js.map +0 -1
  837. package/dist/chunks/index-DOXzraja.js +0 -2
  838. package/dist/chunks/index-DOXzraja.js.map +0 -1
  839. package/dist/chunks/index-DSedXH1s.js +0 -2
  840. package/dist/chunks/index-DSedXH1s.js.map +0 -1
  841. package/dist/chunks/index-DbTEJc-K.js +0 -2
  842. package/dist/chunks/index-DbTEJc-K.js.map +0 -1
  843. package/dist/chunks/index-DlJs9pM6.js +0 -1195
  844. package/dist/chunks/index-DlJs9pM6.js.map +0 -1
  845. package/dist/chunks/index-DowO8Ued.js +0 -2
  846. package/dist/chunks/index-DowO8Ued.js.map +0 -1
  847. package/dist/chunks/index-LDZVYRQt.js +0 -141
  848. package/dist/chunks/index-LDZVYRQt.js.map +0 -1
  849. package/dist/chunks/index-P9qG5HsO.js +0 -2
  850. package/dist/chunks/index-P9qG5HsO.js.map +0 -1
  851. package/dist/chunks/index-QTIBH1Or.js +0 -2
  852. package/dist/chunks/index-QTIBH1Or.js.map +0 -1
  853. package/dist/chunks/invertToken-DkyAF_BY.js +0 -10
  854. package/dist/chunks/invertToken-DkyAF_BY.js.map +0 -1
  855. package/dist/chunks/invertToken-Em3s32gh.js +0 -2
  856. package/dist/chunks/invertToken-Em3s32gh.js.map +0 -1
  857. package/dist/chunks/isSymbol-BQN49XhJ.js +0 -67
  858. package/dist/chunks/isSymbol-BQN49XhJ.js.map +0 -1
  859. package/dist/chunks/isSymbol-BdGeV_e0.js +0 -2
  860. package/dist/chunks/isSymbol-BdGeV_e0.js.map +0 -1
  861. package/dist/chunks/jsx-runtime-BjDatQAs.js +0 -23
  862. package/dist/chunks/jsx-runtime-BjDatQAs.js.map +0 -1
  863. package/dist/chunks/jsx-runtime-C5mzlN2N.js +0 -285
  864. package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +0 -1
  865. package/dist/chunks/link.component--UJiv0xU.js +0 -36
  866. package/dist/chunks/link.component--UJiv0xU.js.map +0 -1
  867. package/dist/chunks/link.component-BCY_f6zw.js +0 -2
  868. package/dist/chunks/link.component-BCY_f6zw.js.map +0 -1
  869. package/dist/chunks/list-C_LmDoyW.js +0 -2
  870. package/dist/chunks/list-C_LmDoyW.js.map +0 -1
  871. package/dist/chunks/list-DqH5ttQG.js +0 -20
  872. package/dist/chunks/list-DqH5ttQG.js.map +0 -1
  873. package/dist/chunks/logo.types-R7sXqcB4.js +0 -2
  874. package/dist/chunks/logo.types-R7sXqcB4.js.map +0 -1
  875. package/dist/chunks/logo.types-jb-f-Z1C.js +0 -45
  876. package/dist/chunks/logo.types-jb-f-Z1C.js.map +0 -1
  877. package/dist/chunks/menu.component-BPggXzkH.js +0 -599
  878. package/dist/chunks/menu.component-BPggXzkH.js.map +0 -1
  879. package/dist/chunks/menu.component-OwlCMqw2.js +0 -2
  880. package/dist/chunks/menu.component-OwlCMqw2.js.map +0 -1
  881. package/dist/chunks/modal.types-4zzWdH2-.js +0 -95
  882. package/dist/chunks/modal.types-4zzWdH2-.js.map +0 -1
  883. package/dist/chunks/modal.types-BiEPKa2t.js +0 -2
  884. package/dist/chunks/modal.types-BiEPKa2t.js.map +0 -1
  885. package/dist/chunks/notificationCounter.component-BhZcuBmr.js +0 -2
  886. package/dist/chunks/notificationCounter.component-BhZcuBmr.js.map +0 -1
  887. package/dist/chunks/notificationCounter.component-BzhAKrKR.js.map +0 -1
  888. package/dist/chunks/notificationCounter.types-B_-siNfi.js +0 -2
  889. package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +0 -1
  890. package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js +0 -6
  891. package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js.map +0 -1
  892. package/dist/chunks/omit-C-j4TrF5.js +0 -10
  893. package/dist/chunks/omit-C-j4TrF5.js.map +0 -1
  894. package/dist/chunks/omit-DqNeoZ8h.js +0 -2
  895. package/dist/chunks/omit-DqNeoZ8h.js.map +0 -1
  896. package/dist/chunks/picture.component-C2C2r_BU.js +0 -2
  897. package/dist/chunks/picture.component-C2C2r_BU.js.map +0 -1
  898. package/dist/chunks/picture.component-DECGd77u.js +0 -22
  899. package/dist/chunks/picture.component-DECGd77u.js.map +0 -1
  900. package/dist/chunks/pinInput.types-Bz0HF7PQ.js +0 -145
  901. package/dist/chunks/pinInput.types-Bz0HF7PQ.js.map +0 -1
  902. package/dist/chunks/pinInput.types-DoQJLvWY.js +0 -2
  903. package/dist/chunks/pinInput.types-DoQJLvWY.js.map +0 -1
  904. package/dist/chunks/popover-root-provider-C-Z3nqiD.js +0 -43
  905. package/dist/chunks/popover-root-provider-C-Z3nqiD.js.map +0 -1
  906. package/dist/chunks/popover-root-provider-C2iwUZJn.js +0 -2
  907. package/dist/chunks/popover-root-provider-C2iwUZJn.js.map +0 -1
  908. package/dist/chunks/popover.component-B1NHpxuL.js +0 -2
  909. package/dist/chunks/popover.component-B1NHpxuL.js.map +0 -1
  910. package/dist/chunks/popover.component-BOUBKQSa.js +0 -196
  911. package/dist/chunks/popover.component-BOUBKQSa.js.map +0 -1
  912. package/dist/chunks/popover.recipe-CQYAiRTB.js +0 -2
  913. package/dist/chunks/popover.recipe-CQYAiRTB.js.map +0 -1
  914. package/dist/chunks/popover.recipe-qpxHK0Qz.js +0 -241
  915. package/dist/chunks/popover.recipe-qpxHK0Qz.js.map +0 -1
  916. package/dist/chunks/popover.types-D1O-Ehsz.js +0 -7
  917. package/dist/chunks/popover.types-D1O-Ehsz.js.map +0 -1
  918. package/dist/chunks/provider-ClCAdPxy.js +0 -47
  919. package/dist/chunks/provider-ClCAdPxy.js.map +0 -1
  920. package/dist/chunks/provider-NDo8kOkE.js +0 -2
  921. package/dist/chunks/provider-NDo8kOkE.js.map +0 -1
  922. package/dist/chunks/radioGroup.types-BEIDLWVD.js +0 -2
  923. package/dist/chunks/radioGroup.types-BEIDLWVD.js.map +0 -1
  924. package/dist/chunks/radioGroup.types-CaOuRCIT.js +0 -219
  925. package/dist/chunks/radioGroup.types-CaOuRCIT.js.map +0 -1
  926. package/dist/chunks/ratingDots.component-BSxsE3Ri.js +0 -138
  927. package/dist/chunks/ratingDots.component-BSxsE3Ri.js.map +0 -1
  928. package/dist/chunks/ratingDots.component-TPth4wKQ.js +0 -2
  929. package/dist/chunks/ratingDots.component-TPth4wKQ.js.map +0 -1
  930. package/dist/chunks/render-strategy-C_zp9LNQ.js +0 -2
  931. package/dist/chunks/render-strategy-C_zp9LNQ.js.map +0 -1
  932. package/dist/chunks/render-strategy-dTkof8Jm.js +0 -12
  933. package/dist/chunks/render-strategy-dTkof8Jm.js.map +0 -1
  934. package/dist/chunks/select.component-91EorPLw.js +0 -2
  935. package/dist/chunks/select.component-91EorPLw.js.map +0 -1
  936. package/dist/chunks/select.component-CiPijmQE.js +0 -1054
  937. package/dist/chunks/select.component-CiPijmQE.js.map +0 -1
  938. package/dist/chunks/sortableList.component-CPYA3KKy.js +0 -6
  939. package/dist/chunks/sortableList.component-CPYA3KKy.js.map +0 -1
  940. package/dist/chunks/sortableList.component-CjfPYcdW.js.map +0 -1
  941. package/dist/chunks/spinner-BWqSIW6m.js +0 -8
  942. package/dist/chunks/spinner-BWqSIW6m.js.map +0 -1
  943. package/dist/chunks/spinner-BnpL14kK.js +0 -2
  944. package/dist/chunks/spinner-BnpL14kK.js.map +0 -1
  945. package/dist/chunks/spinner.component-CzOv8dIY.js +0 -2
  946. package/dist/chunks/spinner.component-CzOv8dIY.js.map +0 -1
  947. package/dist/chunks/spinner.component-vkhAVeU1.js.map +0 -1
  948. package/dist/chunks/stack-BKu3hWEQ.js +0 -2
  949. package/dist/chunks/stack-BKu3hWEQ.js.map +0 -1
  950. package/dist/chunks/stack-Dnuh5Zgf.js +0 -85
  951. package/dist/chunks/stack-Dnuh5Zgf.js.map +0 -1
  952. package/dist/chunks/styledAvatar.types-9huVpPvU.js +0 -2
  953. package/dist/chunks/styledAvatar.types-9huVpPvU.js.map +0 -1
  954. package/dist/chunks/styledAvatar.types-TEOKzzqn.js.map +0 -1
  955. package/dist/chunks/swatch.types-CtRInwzo.js +0 -67
  956. package/dist/chunks/swatch.types-CtRInwzo.js.map +0 -1
  957. package/dist/chunks/swatch.types-qncm_zG6.js +0 -2
  958. package/dist/chunks/swatch.types-qncm_zG6.js.map +0 -1
  959. package/dist/chunks/switch.component-B8gX8Te0.js +0 -154
  960. package/dist/chunks/switch.component-B8gX8Te0.js.map +0 -1
  961. package/dist/chunks/switch.component-CJ3nDOQj.js +0 -2
  962. package/dist/chunks/switch.component-CJ3nDOQj.js.map +0 -1
  963. package/dist/chunks/tab.types-D2Y_KCOG.js +0 -2
  964. package/dist/chunks/tab.types-D2Y_KCOG.js.map +0 -1
  965. package/dist/chunks/tab.types-eHuXLv2i.js +0 -616
  966. package/dist/chunks/tab.types-eHuXLv2i.js.map +0 -1
  967. package/dist/chunks/tag.component-BAH11mPX.js +0 -82
  968. package/dist/chunks/tag.component-BAH11mPX.js.map +0 -1
  969. package/dist/chunks/tag.component-DcEASytC.js +0 -2
  970. package/dist/chunks/tag.component-DcEASytC.js.map +0 -1
  971. package/dist/chunks/tagBlock.component-lQeyNLgK.js +0 -2
  972. package/dist/chunks/tagBlock.component-lQeyNLgK.js.map +0 -1
  973. package/dist/chunks/tagBlock.component-xwy8mG6_.js.map +0 -1
  974. package/dist/chunks/text.component-nhTe7fy0.js +0 -12
  975. package/dist/chunks/text.component-nhTe7fy0.js.map +0 -1
  976. package/dist/chunks/text.component-waIIFgwB.js +0 -2
  977. package/dist/chunks/text.component-waIIFgwB.js.map +0 -1
  978. package/dist/chunks/textInput.component-Bw1lEr8q.js +0 -2
  979. package/dist/chunks/textInput.component-Bw1lEr8q.js.map +0 -1
  980. package/dist/chunks/textInput.component-GBvY3agL.js +0 -169
  981. package/dist/chunks/textInput.component-GBvY3agL.js.map +0 -1
  982. package/dist/chunks/textarea.component-DDYGwqlz.js +0 -2
  983. package/dist/chunks/textarea.component-DDYGwqlz.js.map +0 -1
  984. package/dist/chunks/textarea.component-DPI4Y1tG.js +0 -79
  985. package/dist/chunks/textarea.component-DPI4Y1tG.js.map +0 -1
  986. package/dist/chunks/theme-BFbOz0Jj.js +0 -2
  987. package/dist/chunks/theme-BFbOz0Jj.js.map +0 -1
  988. package/dist/chunks/theme-BOK659O0.js +0 -5
  989. package/dist/chunks/theme-BOK659O0.js.map +0 -1
  990. package/dist/chunks/theme.provider-Din1M63M.js.map +0 -1
  991. package/dist/chunks/theme.provider-fEXubEDT.js +0 -28
  992. package/dist/chunks/theme.provider-fEXubEDT.js.map +0 -1
  993. package/dist/chunks/timePicker.component-3lHlD-Sl.js +0 -2
  994. package/dist/chunks/timePicker.component-3lHlD-Sl.js.map +0 -1
  995. package/dist/chunks/timePicker.component-B-zof_x8.js +0 -209
  996. package/dist/chunks/timePicker.component-B-zof_x8.js.map +0 -1
  997. package/dist/chunks/timeRange.component-CrHyiWyg.js +0 -18
  998. package/dist/chunks/timeRange.component-CrHyiWyg.js.map +0 -1
  999. package/dist/chunks/timeRange.component-l8jhl4Vv.js +0 -2
  1000. package/dist/chunks/timeRange.component-l8jhl4Vv.js.map +0 -1
  1001. package/dist/chunks/timestamp.component-B1UUyLk6.js +0 -2
  1002. package/dist/chunks/timestamp.component-B1UUyLk6.js.map +0 -1
  1003. package/dist/chunks/timestamp.component-Cm2EcVTa.js +0 -51
  1004. package/dist/chunks/timestamp.component-Cm2EcVTa.js.map +0 -1
  1005. package/dist/chunks/toaster.records-CDCJPDWP.js +0 -2
  1006. package/dist/chunks/toaster.records-CDCJPDWP.js.map +0 -1
  1007. package/dist/chunks/toaster.records-DjNU8CFN.js +0 -822
  1008. package/dist/chunks/toaster.records-DjNU8CFN.js.map +0 -1
  1009. package/dist/chunks/tooltip.component-BlX3B2Di.js +0 -2
  1010. package/dist/chunks/tooltip.component-BlX3B2Di.js.map +0 -1
  1011. package/dist/chunks/tooltip.component-CZjm8G_B.js +0 -492
  1012. package/dist/chunks/tooltip.component-CZjm8G_B.js.map +0 -1
  1013. package/dist/chunks/typography.records-CSy2LmDd.js +0 -2
  1014. package/dist/chunks/typography.records-CSy2LmDd.js.map +0 -1
  1015. package/dist/chunks/typography.records-Cq-V6T7j.js +0 -66
  1016. package/dist/chunks/typography.records-Cq-V6T7j.js.map +0 -1
  1017. package/dist/chunks/use-breakpoint-MQ7agQJe.js +0 -72
  1018. package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +0 -1
  1019. package/dist/chunks/use-breakpoint-uBg4-8yY.js +0 -2
  1020. package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +0 -1
  1021. package/dist/chunks/use-field-context-CArmgHPP.js +0 -2
  1022. package/dist/chunks/use-field-context-CArmgHPP.js.map +0 -1
  1023. package/dist/chunks/use-field-context-DF-c50-r.js +0 -12
  1024. package/dist/chunks/use-field-context-DF-c50-r.js.map +0 -1
  1025. package/dist/chunks/use-locale-context-D0LByRu9.js +0 -22
  1026. package/dist/chunks/use-locale-context-D0LByRu9.js.map +0 -1
  1027. package/dist/chunks/use-locale-context-DMynFc1_.js +0 -2301
  1028. package/dist/chunks/use-locale-context-DMynFc1_.js.map +0 -1
  1029. package/dist/chunks/use-radio-group-9-qfzljd.js +0 -2
  1030. package/dist/chunks/use-radio-group-9-qfzljd.js.map +0 -1
  1031. package/dist/chunks/use-radio-group-DdVEhdry.js +0 -16
  1032. package/dist/chunks/use-radio-group-DdVEhdry.js.map +0 -1
  1033. package/dist/chunks/use-recipe-DaPWl_pL.js +0 -2
  1034. package/dist/chunks/use-recipe-DaPWl_pL.js.map +0 -1
  1035. package/dist/chunks/use-recipe-d63ABaZ3.js +0 -13
  1036. package/dist/chunks/use-recipe-d63ABaZ3.js.map +0 -1
  1037. package/dist/chunks/use-slot-recipe-8liupslO.js +0 -2
  1038. package/dist/chunks/use-slot-recipe-8liupslO.js.map +0 -1
  1039. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +0 -13
  1040. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +0 -1
  1041. package/dist/chunks/usePortalContentRef-CTrvBQ7I.js +0 -2
  1042. package/dist/chunks/usePortalContentRef-CTrvBQ7I.js.map +0 -1
  1043. package/dist/chunks/usePortalContentRef-DO_jc4W9.js +0 -10
  1044. package/dist/chunks/usePortalContentRef-DO_jc4W9.js.map +0 -1
  1045. package/dist/chunks/v-stack-BZT7R_9f.js +0 -12
  1046. package/dist/chunks/v-stack-BZT7R_9f.js.map +0 -1
  1047. package/dist/chunks/v-stack-DxjgpeJ0.js +0 -2
  1048. package/dist/chunks/v-stack-DxjgpeJ0.js.map +0 -1
  1049. package/dist/chunks/walk-object-BrTExCqQ.js +0 -2
  1050. package/dist/chunks/walk-object-BrTExCqQ.js.map +0 -1
  1051. package/dist/chunks/walk-object-_CL3Bkm9.js +0 -28
  1052. package/dist/chunks/walk-object-_CL3Bkm9.js.map +0 -1
  1053. package/dist/chunks/withDarkMode-B9LErG-p.js +0 -2
  1054. package/dist/chunks/withDarkMode-B9LErG-p.js.map +0 -1
  1055. package/dist/chunks/withDarkMode-BE00aGRV.js +0 -21
  1056. package/dist/chunks/withDarkMode-BE00aGRV.js.map +0 -1
  1057. package/dist/chunks/withFormControl-6X6RWCqX.js +0 -360
  1058. package/dist/chunks/withFormControl-6X6RWCqX.js.map +0 -1
  1059. package/dist/chunks/withFormControl-COwU1OTv.js +0 -2
  1060. package/dist/chunks/withFormControl-COwU1OTv.js.map +0 -1
  1061. package/dist/chunks/withLightMode-UfFl5ry6.js +0 -20
  1062. package/dist/chunks/withLightMode-UfFl5ry6.js.map +0 -1
  1063. package/dist/chunks/withLightMode-fys9Cbqw.js +0 -2
  1064. package/dist/chunks/withLightMode-fys9Cbqw.js.map +0 -1
  1065. package/dist/chunks/withTruncation-BY4-q1lB.js +0 -2
  1066. package/dist/chunks/withTruncation-BY4-q1lB.js.map +0 -1
  1067. package/dist/chunks/withTruncation-DLR1Illa.js.map +0 -1
  1068. package/dist/chunks/wrap-B8tBNeBY.js +0 -45
  1069. package/dist/chunks/wrap-B8tBNeBY.js.map +0 -1
  1070. package/dist/chunks/wrap-CNn1kyJX.js +0 -2
  1071. package/dist/chunks/wrap-CNn1kyJX.js.map +0 -1
  1072. package/dist/cjs/chakra/index.cjs +0 -2
  1073. package/dist/cjs/chakra/index.cjs.map +0 -1
  1074. package/dist/cjs/cli/generate-theme-types.cjs +0 -6
  1075. package/dist/cjs/cli/generate-theme-types.cjs.map +0 -1
  1076. package/dist/cjs/cli/postinstall.cjs +0 -3
  1077. package/dist/cjs/cli/postinstall.cjs.map +0 -1
  1078. package/dist/cjs/components/Divider/index.cjs +0 -2
  1079. package/dist/cjs/components/Logo/generated/index.cjs +0 -2
  1080. package/dist/cjs/components/Logo/index.cjs +0 -2
  1081. package/dist/cjs/components/PinInput/index.cjs +0 -2
  1082. package/dist/cjs/components/TagBlock/index.cjs.map +0 -1
  1083. package/dist/cjs/components/Timestamp/index.cjs.map +0 -1
  1084. package/dist/cjs/components/Toast/index.cjs +0 -2
  1085. package/dist/cjs/components/Toast/index.cjs.map +0 -1
  1086. package/dist/cjs/hocs/withDarkMode/index.cjs +0 -2
  1087. package/dist/cjs/hocs/withDarkMode/index.cjs.map +0 -1
  1088. package/dist/cjs/hocs/withLightMode/index.cjs +0 -2
  1089. package/dist/cjs/hocs/withLightMode/index.cjs.map +0 -1
  1090. package/dist/cjs/hooks/useBreakpoint/index.cjs +0 -2
  1091. package/dist/cjs/hooks/useBreakpoint/index.cjs.map +0 -1
  1092. package/dist/cjs/hooks/useColorMode/index.cjs +0 -2
  1093. package/dist/cjs/hooks/useColorMode/index.cjs.map +0 -1
  1094. package/dist/cjs/hooks/useColorModeValue/index.cjs +0 -2
  1095. package/dist/cjs/hooks/useColorModeValue/index.cjs.map +0 -1
  1096. package/dist/cjs/hooks/useDeviceType/index.cjs +0 -2
  1097. package/dist/cjs/hooks/useDeviceType/index.cjs.map +0 -1
  1098. package/dist/cjs/shared/index.cjs +0 -2
  1099. package/dist/cjs/shared/index.cjs.map +0 -1
  1100. package/dist/cjs/shared/records/index.cjs +0 -2
  1101. package/dist/cjs/shared/records/index.cjs.map +0 -1
  1102. package/dist/esm/chakra/index.js +0 -3252
  1103. package/dist/esm/chakra/index.js.map +0 -1
  1104. package/dist/esm/cli/generate-theme-types.js +0 -22
  1105. package/dist/esm/cli/generate-theme-types.js.map +0 -1
  1106. package/dist/esm/cli/postinstall.js +0 -19
  1107. package/dist/esm/cli/postinstall.js.map +0 -1
  1108. package/dist/esm/components/Divider/index.js +0 -8
  1109. package/dist/esm/components/Logo/generated/index.js +0 -6
  1110. package/dist/esm/components/Logo/index.js +0 -6
  1111. package/dist/esm/components/PinInput/index.js +0 -6
  1112. package/dist/esm/components/PinInput/index.js.map +0 -1
  1113. package/dist/esm/components/StyledAvatar/index.js.map +0 -1
  1114. package/dist/esm/components/TagBlock/index.js.map +0 -1
  1115. package/dist/esm/components/Timestamp/index.js +0 -5
  1116. package/dist/esm/components/Timestamp/index.js.map +0 -1
  1117. package/dist/esm/components/Toast/index.js +0 -59
  1118. package/dist/esm/components/Toast/index.js.map +0 -1
  1119. package/dist/esm/hocs/withDarkMode/index.js +0 -5
  1120. package/dist/esm/hocs/withDarkMode/index.js.map +0 -1
  1121. package/dist/esm/hocs/withLightMode/index.js +0 -5
  1122. package/dist/esm/hocs/withLightMode/index.js.map +0 -1
  1123. package/dist/esm/hooks/useBreakpoint/index.js +0 -12
  1124. package/dist/esm/hooks/useBreakpoint/index.js.map +0 -1
  1125. package/dist/esm/hooks/useColorMode/index.js +0 -19
  1126. package/dist/esm/hooks/useColorMode/index.js.map +0 -1
  1127. package/dist/esm/hooks/useColorModeValue/index.js +0 -9
  1128. package/dist/esm/hooks/useColorModeValue/index.js.map +0 -1
  1129. package/dist/esm/hooks/useDeviceType/index.js +0 -12
  1130. package/dist/esm/hooks/useDeviceType/index.js.map +0 -1
  1131. package/dist/esm/shared/index.js +0 -11
  1132. package/dist/esm/shared/index.js.map +0 -1
  1133. package/dist/esm/shared/records/index.js +0 -18
  1134. package/dist/esm/shared/records/index.js.map +0 -1
  1135. package/dist/types/chakra/index.d.ts +0 -53
  1136. package/dist/types/cli/generate-theme-types.d.ts +0 -2
  1137. package/dist/types/cli/postinstall.d.ts +0 -2
  1138. package/dist/types/components/Divider/divider.component.d.ts +0 -4
  1139. package/dist/types/components/Divider/divider.types.d.ts +0 -6
  1140. package/dist/types/components/Divider/index.d.ts +0 -2
  1141. package/dist/types/components/Icon/generated/AiMicrophone.d.ts +0 -10
  1142. package/dist/types/components/Logo/generated/FullLogo.d.ts +0 -10
  1143. package/dist/types/components/Logo/generated/IconLogo.d.ts +0 -10
  1144. package/dist/types/components/Logo/generated/index.d.ts +0 -4
  1145. package/dist/types/components/Logo/index.d.ts +0 -2
  1146. package/dist/types/components/Logo/logo.component.d.ts +0 -9
  1147. package/dist/types/components/Logo/logo.recipe.d.ts +0 -24
  1148. package/dist/types/components/Logo/logo.types.d.ts +0 -4
  1149. package/dist/types/components/PinInput/index.d.ts +0 -2
  1150. package/dist/types/components/PinInput/pinInput.component.d.ts +0 -12
  1151. package/dist/types/components/PinInput/pinInput.recipe.d.ts +0 -21
  1152. package/dist/types/components/PinInput/pinInput.types.d.ts +0 -2
  1153. package/dist/types/components/RadioGroup/radioGroup.types.d.ts +0 -2
  1154. package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +0 -12
  1155. package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +0 -7
  1156. package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +0 -11
  1157. package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +0 -12
  1158. package/dist/types/components/Toast/index.d.ts +0 -2
  1159. package/dist/types/components/Toast/toast.component.d.ts +0 -14
  1160. package/dist/types/components/Toast/toast.recipe.d.ts +0 -21
  1161. package/dist/types/components/Toast/toast.types.d.ts +0 -19
  1162. package/dist/types/components/Toast/useToast.d.ts +0 -3
  1163. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +0 -1
  1164. package/dist/types/hocs/withDarkMode/withDarkMode.d.ts +0 -2
  1165. package/dist/types/hocs/withLightMode/withLightMode.d.ts +0 -2
  1166. package/dist/types/hooks/useBreakpoint/index.d.ts +0 -1
  1167. package/dist/types/hooks/useDeviceType/index.d.ts +0 -3
  1168. package/dist/types/hooks/usePortalContentRef.d.ts +0 -6
  1169. package/dist/types/shared/index.d.ts +0 -1
  1170. package/dist/types/shared/records/index.d.ts +0 -1
  1171. package/dist/types/shared/records/status.d.ts +0 -5
  1172. /package/dist/cjs/{components → patterns}/ConversationCard/index.cjs.map +0 -0
  1173. /package/dist/cjs/{components/Divider → patterns/StyledAvatar}/index.cjs.map +0 -0
  1174. /package/dist/cjs/{components/Logo/generated → patterns/TagBlock}/index.cjs.map +0 -0
  1175. /package/dist/cjs/{components/Logo → patterns/Timestamp}/index.cjs.map +0 -0
  1176. /package/dist/cjs/{components/PinInput → patterns}/index.cjs.map +0 -0
  1177. /package/dist/cjs/{components/StyledAvatar → theme/tokens/generated}/index.cjs.map +0 -0
  1178. /package/dist/esm/{components → patterns}/ConversationCard/index.js.map +0 -0
  1179. /package/dist/esm/{components/Divider → patterns/StyledAvatar}/index.js.map +0 -0
  1180. /package/dist/esm/{components/Logo/generated → patterns/TagBlock}/index.js.map +0 -0
  1181. /package/dist/esm/{components/Logo → patterns/Timestamp}/index.js.map +0 -0
  1182. /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
  1183. /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
  1184. /package/dist/types/{components → patterns}/ConversationCard/index.d.ts +0 -0
  1185. /package/dist/types/{components → patterns}/StyledAvatar/index.d.ts +0 -0
  1186. /package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.types.d.ts +0 -0
  1187. /package/dist/types/{components → patterns}/TagBlock/index.d.ts +0 -0
  1188. /package/dist/types/{components → patterns}/TagBlock/tagBlock.types.d.ts +0 -0
  1189. /package/dist/types/{components → patterns}/Timestamp/index.d.ts +0 -0
@@ -1,2301 +0,0 @@
1
- import { j as ue } from "./jsx-runtime-C5mzlN2N.js";
2
- import { ar as mt, I as pt, as as yt, a6 as Je, T as ht, at as re, au as be, av as vt, aw as ie, ax as He, ay as xt, C as wt, a1 as Ot, c as bt, al as St, an as Et, r as Re, e as Qe, G as Rt, az as At, l as Tt, aA as _t, a7 as Pt, H as Nt } from "./index-1syExFDc.js";
3
- import Ze, { createContext as Ct, useContext as Dt, useState as Ae, useSyncExternalStore as Mt, useEffect as se, Children as et, useMemo as Lt, useRef as L, useLayoutEffect as kt, memo as $t, forwardRef as Vt, createElement as Ht, isValidElement as zt, cloneElement as Ut, useCallback as Ft } from "react";
4
- var fe = { exports: {} }, N = {};
5
- /**
6
- * @license React
7
- * react-dom.production.js
8
- *
9
- * Copyright (c) Meta Platforms, Inc. and affiliates.
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- */
14
- var ze;
15
- function It() {
16
- if (ze) return N;
17
- ze = 1;
18
- var e = Ze;
19
- function t(u) {
20
- var s = "https://react.dev/errors/" + u;
21
- if (1 < arguments.length) {
22
- s += "?args[]=" + encodeURIComponent(arguments[1]);
23
- for (var g = 2; g < arguments.length; g++)
24
- s += "&args[]=" + encodeURIComponent(arguments[g]);
25
- }
26
- return "Minified React error #" + u + "; visit " + s + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
27
- }
28
- function r() {
29
- }
30
- var n = {
31
- d: {
32
- f: r,
33
- r: function() {
34
- throw Error(t(522));
35
- },
36
- D: r,
37
- C: r,
38
- L: r,
39
- m: r,
40
- X: r,
41
- S: r,
42
- M: r
43
- },
44
- p: 0,
45
- findDOMNode: null
46
- }, o = Symbol.for("react.portal");
47
- function c(u, s, g) {
48
- var a = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
49
- return {
50
- $$typeof: o,
51
- key: a == null ? null : "" + a,
52
- children: u,
53
- containerInfo: s,
54
- implementation: g
55
- };
56
- }
57
- var l = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
58
- function f(u, s) {
59
- if (u === "font") return "";
60
- if (typeof s == "string")
61
- return s === "use-credentials" ? s : "";
62
- }
63
- return N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, N.createPortal = function(u, s) {
64
- var g = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
65
- if (!s || s.nodeType !== 1 && s.nodeType !== 9 && s.nodeType !== 11)
66
- throw Error(t(299));
67
- return c(u, s, null, g);
68
- }, N.flushSync = function(u) {
69
- var s = l.T, g = n.p;
70
- try {
71
- if (l.T = null, n.p = 2, u) return u();
72
- } finally {
73
- l.T = s, n.p = g, n.d.f();
74
- }
75
- }, N.preconnect = function(u, s) {
76
- typeof u == "string" && (s ? (s = s.crossOrigin, s = typeof s == "string" ? s === "use-credentials" ? s : "" : void 0) : s = null, n.d.C(u, s));
77
- }, N.prefetchDNS = function(u) {
78
- typeof u == "string" && n.d.D(u);
79
- }, N.preinit = function(u, s) {
80
- if (typeof u == "string" && s && typeof s.as == "string") {
81
- var g = s.as, a = f(g, s.crossOrigin), i = typeof s.integrity == "string" ? s.integrity : void 0, d = typeof s.fetchPriority == "string" ? s.fetchPriority : void 0;
82
- g === "style" ? n.d.S(
83
- u,
84
- typeof s.precedence == "string" ? s.precedence : void 0,
85
- {
86
- crossOrigin: a,
87
- integrity: i,
88
- fetchPriority: d
89
- }
90
- ) : g === "script" && n.d.X(u, {
91
- crossOrigin: a,
92
- integrity: i,
93
- fetchPriority: d,
94
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
95
- });
96
- }
97
- }, N.preinitModule = function(u, s) {
98
- if (typeof u == "string")
99
- if (typeof s == "object" && s !== null) {
100
- if (s.as == null || s.as === "script") {
101
- var g = f(
102
- s.as,
103
- s.crossOrigin
104
- );
105
- n.d.M(u, {
106
- crossOrigin: g,
107
- integrity: typeof s.integrity == "string" ? s.integrity : void 0,
108
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
109
- });
110
- }
111
- } else s == null && n.d.M(u);
112
- }, N.preload = function(u, s) {
113
- if (typeof u == "string" && typeof s == "object" && s !== null && typeof s.as == "string") {
114
- var g = s.as, a = f(g, s.crossOrigin);
115
- n.d.L(u, g, {
116
- crossOrigin: a,
117
- integrity: typeof s.integrity == "string" ? s.integrity : void 0,
118
- nonce: typeof s.nonce == "string" ? s.nonce : void 0,
119
- type: typeof s.type == "string" ? s.type : void 0,
120
- fetchPriority: typeof s.fetchPriority == "string" ? s.fetchPriority : void 0,
121
- referrerPolicy: typeof s.referrerPolicy == "string" ? s.referrerPolicy : void 0,
122
- imageSrcSet: typeof s.imageSrcSet == "string" ? s.imageSrcSet : void 0,
123
- imageSizes: typeof s.imageSizes == "string" ? s.imageSizes : void 0,
124
- media: typeof s.media == "string" ? s.media : void 0
125
- });
126
- }
127
- }, N.preloadModule = function(u, s) {
128
- if (typeof u == "string")
129
- if (s) {
130
- var g = f(s.as, s.crossOrigin);
131
- n.d.m(u, {
132
- as: typeof s.as == "string" && s.as !== "script" ? s.as : void 0,
133
- crossOrigin: g,
134
- integrity: typeof s.integrity == "string" ? s.integrity : void 0
135
- });
136
- } else n.d.m(u);
137
- }, N.requestFormReset = function(u) {
138
- n.d.r(u);
139
- }, N.unstable_batchedUpdates = function(u, s) {
140
- return u(s);
141
- }, N.useFormState = function(u, s, g) {
142
- return l.H.useFormState(u, s, g);
143
- }, N.useFormStatus = function() {
144
- return l.H.useHostTransitionStatus();
145
- }, N.version = "19.1.0", N;
146
- }
147
- var C = {};
148
- /**
149
- * @license React
150
- * react-dom.development.js
151
- *
152
- * Copyright (c) Meta Platforms, Inc. and affiliates.
153
- *
154
- * This source code is licensed under the MIT license found in the
155
- * LICENSE file in the root directory of this source tree.
156
- */
157
- var Ue;
158
- function Wt() {
159
- return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
160
- function e() {
161
- }
162
- function t(a) {
163
- return "" + a;
164
- }
165
- function r(a, i, d) {
166
- var m = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
167
- try {
168
- t(m);
169
- var p = !1;
170
- } catch {
171
- p = !0;
172
- }
173
- return p && (console.error(
174
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
175
- typeof Symbol == "function" && Symbol.toStringTag && m[Symbol.toStringTag] || m.constructor.name || "Object"
176
- ), t(m)), {
177
- $$typeof: s,
178
- key: m == null ? null : "" + m,
179
- children: a,
180
- containerInfo: i,
181
- implementation: d
182
- };
183
- }
184
- function n(a, i) {
185
- if (a === "font") return "";
186
- if (typeof i == "string")
187
- return i === "use-credentials" ? i : "";
188
- }
189
- function o(a) {
190
- return a === null ? "`null`" : a === void 0 ? "`undefined`" : a === "" ? "an empty string" : 'something with type "' + typeof a + '"';
191
- }
192
- function c(a) {
193
- return a === null ? "`null`" : a === void 0 ? "`undefined`" : a === "" ? "an empty string" : typeof a == "string" ? JSON.stringify(a) : typeof a == "number" ? "`" + a + "`" : 'something with type "' + typeof a + '"';
194
- }
195
- function l() {
196
- var a = g.H;
197
- return a === null && console.error(
198
- `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
199
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
200
- 2. You might be breaking the Rules of Hooks
201
- 3. You might have more than one copy of React in the same app
202
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
203
- ), a;
204
- }
205
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
206
- var f = Ze, u = {
207
- d: {
208
- f: e,
209
- r: function() {
210
- throw Error(
211
- "Invalid form element. requestFormReset must be passed a form that was rendered by React."
212
- );
213
- },
214
- D: e,
215
- C: e,
216
- L: e,
217
- m: e,
218
- X: e,
219
- S: e,
220
- M: e
221
- },
222
- p: 0,
223
- findDOMNode: null
224
- }, s = Symbol.for("react.portal"), g = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
225
- typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
226
- "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
227
- ), C.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, C.createPortal = function(a, i) {
228
- var d = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
229
- if (!i || i.nodeType !== 1 && i.nodeType !== 9 && i.nodeType !== 11)
230
- throw Error("Target container is not a DOM element.");
231
- return r(a, i, null, d);
232
- }, C.flushSync = function(a) {
233
- var i = g.T, d = u.p;
234
- try {
235
- if (g.T = null, u.p = 2, a)
236
- return a();
237
- } finally {
238
- g.T = i, u.p = d, u.d.f() && console.error(
239
- "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
240
- );
241
- }
242
- }, C.preconnect = function(a, i) {
243
- typeof a == "string" && a ? i != null && typeof i != "object" ? console.error(
244
- "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
245
- c(i)
246
- ) : i != null && typeof i.crossOrigin != "string" && console.error(
247
- "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
248
- o(i.crossOrigin)
249
- ) : console.error(
250
- "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
251
- o(a)
252
- ), typeof a == "string" && (i ? (i = i.crossOrigin, i = typeof i == "string" ? i === "use-credentials" ? i : "" : void 0) : i = null, u.d.C(a, i));
253
- }, C.prefetchDNS = function(a) {
254
- if (typeof a != "string" || !a)
255
- console.error(
256
- "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
257
- o(a)
258
- );
259
- else if (1 < arguments.length) {
260
- var i = arguments[1];
261
- typeof i == "object" && i.hasOwnProperty("crossOrigin") ? console.error(
262
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
263
- c(i)
264
- ) : console.error(
265
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
266
- c(i)
267
- );
268
- }
269
- typeof a == "string" && u.d.D(a);
270
- }, C.preinit = function(a, i) {
271
- if (typeof a == "string" && a ? i == null || typeof i != "object" ? console.error(
272
- "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
273
- c(i)
274
- ) : i.as !== "style" && i.as !== "script" && console.error(
275
- 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
276
- c(i.as)
277
- ) : console.error(
278
- "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
279
- o(a)
280
- ), typeof a == "string" && i && typeof i.as == "string") {
281
- var d = i.as, m = n(d, i.crossOrigin), p = typeof i.integrity == "string" ? i.integrity : void 0, y = typeof i.fetchPriority == "string" ? i.fetchPriority : void 0;
282
- d === "style" ? u.d.S(
283
- a,
284
- typeof i.precedence == "string" ? i.precedence : void 0,
285
- {
286
- crossOrigin: m,
287
- integrity: p,
288
- fetchPriority: y
289
- }
290
- ) : d === "script" && u.d.X(a, {
291
- crossOrigin: m,
292
- integrity: p,
293
- fetchPriority: y,
294
- nonce: typeof i.nonce == "string" ? i.nonce : void 0
295
- });
296
- }
297
- }, C.preinitModule = function(a, i) {
298
- var d = "";
299
- if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i !== void 0 && typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : i && "as" in i && i.as !== "script" && (d += " The `as` option encountered was " + c(i.as) + "."), d)
300
- console.error(
301
- "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
302
- d
303
- );
304
- else
305
- switch (d = i && typeof i.as == "string" ? i.as : "script", d) {
306
- case "script":
307
- break;
308
- default:
309
- d = c(d), console.error(
310
- 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
311
- d,
312
- a
313
- );
314
- }
315
- typeof a == "string" && (typeof i == "object" && i !== null ? (i.as == null || i.as === "script") && (d = n(
316
- i.as,
317
- i.crossOrigin
318
- ), u.d.M(a, {
319
- crossOrigin: d,
320
- integrity: typeof i.integrity == "string" ? i.integrity : void 0,
321
- nonce: typeof i.nonce == "string" ? i.nonce : void 0
322
- })) : i == null && u.d.M(a));
323
- }, C.preload = function(a, i) {
324
- var d = "";
325
- if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i == null || typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : typeof i.as == "string" && i.as || (d += " The `as` option encountered was " + o(i.as) + "."), d && console.error(
326
- 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
327
- d
328
- ), typeof a == "string" && typeof i == "object" && i !== null && typeof i.as == "string") {
329
- d = i.as;
330
- var m = n(
331
- d,
332
- i.crossOrigin
333
- );
334
- u.d.L(a, d, {
335
- crossOrigin: m,
336
- integrity: typeof i.integrity == "string" ? i.integrity : void 0,
337
- nonce: typeof i.nonce == "string" ? i.nonce : void 0,
338
- type: typeof i.type == "string" ? i.type : void 0,
339
- fetchPriority: typeof i.fetchPriority == "string" ? i.fetchPriority : void 0,
340
- referrerPolicy: typeof i.referrerPolicy == "string" ? i.referrerPolicy : void 0,
341
- imageSrcSet: typeof i.imageSrcSet == "string" ? i.imageSrcSet : void 0,
342
- imageSizes: typeof i.imageSizes == "string" ? i.imageSizes : void 0,
343
- media: typeof i.media == "string" ? i.media : void 0
344
- });
345
- }
346
- }, C.preloadModule = function(a, i) {
347
- var d = "";
348
- typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i !== void 0 && typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : i && "as" in i && typeof i.as != "string" && (d += " The `as` option encountered was " + o(i.as) + "."), d && console.error(
349
- 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
350
- d
351
- ), typeof a == "string" && (i ? (d = n(
352
- i.as,
353
- i.crossOrigin
354
- ), u.d.m(a, {
355
- as: typeof i.as == "string" && i.as !== "script" ? i.as : void 0,
356
- crossOrigin: d,
357
- integrity: typeof i.integrity == "string" ? i.integrity : void 0
358
- })) : u.d.m(a));
359
- }, C.requestFormReset = function(a) {
360
- u.d.r(a);
361
- }, C.unstable_batchedUpdates = function(a, i) {
362
- return a(i);
363
- }, C.useFormState = function(a, i, d) {
364
- return l().useFormState(a, i, d);
365
- }, C.useFormStatus = function() {
366
- return l().useHostTransitionStatus();
367
- }, C.version = "19.1.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
368
- }()), C;
369
- }
370
- var Fe;
371
- function jt() {
372
- if (Fe) return fe.exports;
373
- Fe = 1;
374
- function e() {
375
- if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
376
- if (process.env.NODE_ENV !== "production")
377
- throw new Error("^_^");
378
- try {
379
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
380
- } catch (t) {
381
- console.error(t);
382
- }
383
- }
384
- }
385
- return process.env.NODE_ENV === "production" ? (e(), fe.exports = It()) : fe.exports = Wt(), fe.exports;
386
- }
387
- var ve = jt();
388
- function Bt(e, t) {
389
- return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`;
390
- }
391
- function Ne(e = {}) {
392
- const {
393
- name: t,
394
- strict: r = !0,
395
- hookName: n = "useContext",
396
- providerName: o = "Provider",
397
- errorMessage: c,
398
- defaultValue: l
399
- } = e, f = Ct(l);
400
- f.displayName = t;
401
- function u() {
402
- const s = Dt(f);
403
- if (!s && r) {
404
- const g = new Error(c ?? Bt(n, o));
405
- throw g.name = "ContextError", Error.captureStackTrace?.(g, u), g;
406
- }
407
- return s;
408
- }
409
- return [f.Provider, u, f];
410
- }
411
- const [xr, qt] = Ne({
412
- name: "EnvironmentContext",
413
- hookName: "useEnvironmentContext",
414
- providerName: "<EnvironmentProvider />",
415
- strict: !1,
416
- defaultValue: {
417
- getRootNode: () => document,
418
- getDocument: () => document,
419
- getWindow: () => window
420
- }
421
- }), wr = (e) => {
422
- const { children: t, disabled: r } = e, [n, o] = Ae(e.container?.current), c = Mt(
423
- Gt,
424
- () => !1,
425
- () => !0
426
- ), { getRootNode: l } = qt();
427
- if (se(() => {
428
- o(() => e.container?.current);
429
- }, [e.container]), c || r) return /* @__PURE__ */ ue.jsx(ue.Fragment, { children: t });
430
- const f = n ?? Yt(l);
431
- return /* @__PURE__ */ ue.jsx(ue.Fragment, { children: et.map(t, (u) => ve.createPortal(u, f)) });
432
- }, Yt = (e) => {
433
- const t = e?.(), r = t.getRootNode();
434
- return mt(r) ? r : pt(t).body;
435
- }, Gt = () => () => {
436
- };
437
- function Kt(e) {
438
- return new Proxy({}, {
439
- get(t, r) {
440
- return r === "style" ? (n) => e({ style: n }).style : e;
441
- }
442
- });
443
- }
444
- var Xt = () => (e) => Array.from(new Set(e)), tt = typeof globalThis.document < "u" ? kt : se;
445
- function me(e) {
446
- const t = e().value ?? e().defaultValue, r = e().isEqual ?? Object.is, [n] = Ae(t), [o, c] = Ae(n), l = e().value !== void 0, f = L(o);
447
- f.current = l ? e().value : o;
448
- const u = L(f.current);
449
- tt(() => {
450
- u.current = f.current;
451
- }, [o, e().value]);
452
- const s = (a) => {
453
- const i = u.current, d = ie(a) ? a(i) : a;
454
- e().debug && console.log(`[bindable > ${e().debug}] setValue`, { next: d, prev: i }), l || c(d), r(d, i) || e().onChange?.(d, i);
455
- };
456
- function g() {
457
- return l ? e().value : o;
458
- }
459
- return {
460
- initial: n,
461
- ref: f,
462
- get: g,
463
- set(a) {
464
- (e().sync ? ve.flushSync : vt)(() => s(a));
465
- },
466
- invoke(a, i) {
467
- e().onChange?.(a, i);
468
- },
469
- hash(a) {
470
- return e().hash?.(a) ?? String(a);
471
- }
472
- };
473
- }
474
- me.cleanup = (e) => {
475
- se(() => e, []);
476
- };
477
- me.ref = (e) => {
478
- const t = L(e);
479
- return {
480
- get: () => t.current,
481
- set: (r) => {
482
- t.current = r;
483
- }
484
- };
485
- };
486
- function Jt(e) {
487
- const t = L(e);
488
- return {
489
- get(r) {
490
- return t.current[r];
491
- },
492
- set(r, n) {
493
- t.current[r] = n;
494
- }
495
- };
496
- }
497
- var Qt = (e, t) => {
498
- const r = L(!1), n = L(!1);
499
- se(() => {
500
- if (r.current && n.current) return t();
501
- n.current = !0;
502
- }, [...(e ?? []).map((o) => typeof o == "function" ? o() : o)]), se(() => (r.current = !0, () => {
503
- r.current = !1;
504
- }), []);
505
- };
506
- function Zt(e, t = {}) {
507
- const r = Lt(() => {
508
- const { id: h, ids: x, getRootNode: R } = t;
509
- return yt({ id: h, ids: x, getRootNode: R });
510
- }, [t]), n = (...h) => {
511
- e.debug && console.log(...h);
512
- }, o = e.props?.({ props: Je(t), scope: r }) ?? t, c = en(o), l = e.context?.({
513
- prop: c,
514
- bindable: me,
515
- scope: r,
516
- flush: Ie,
517
- getContext() {
518
- return u;
519
- },
520
- getComputed() {
521
- return S;
522
- },
523
- getRefs() {
524
- return p;
525
- }
526
- }), f = nt(l), u = {
527
- get(h) {
528
- return f.current?.[h].ref.current;
529
- },
530
- set(h, x) {
531
- f.current?.[h].set(x);
532
- },
533
- initial(h) {
534
- return f.current?.[h].initial;
535
- },
536
- hash(h) {
537
- const x = f.current?.[h].get();
538
- return f.current?.[h].hash(x);
539
- }
540
- }, s = L(/* @__PURE__ */ new Map()), g = L(null), a = L(null), i = L({ type: "" }), d = () => ({
541
- ...i.current,
542
- current() {
543
- return i.current;
544
- },
545
- previous() {
546
- return a.current;
547
- }
548
- }), m = () => ({
549
- ...A,
550
- matches(...h) {
551
- return h.includes(A.ref.current);
552
- },
553
- hasTag(h) {
554
- return !!e.states[A.ref.current]?.tags?.includes(h);
555
- }
556
- }), p = Jt(e.refs?.({ prop: c, context: u }) ?? {}), y = () => ({
557
- state: m(),
558
- context: u,
559
- event: d(),
560
- prop: c,
561
- send: M,
562
- action: v,
563
- guard: w,
564
- track: Qt,
565
- refs: p,
566
- computed: S,
567
- flush: Ie,
568
- scope: r,
569
- choose: E
570
- }), v = (h) => {
571
- const x = ie(h) ? h(y()) : h;
572
- if (!x) return;
573
- const R = x.map((b) => {
574
- const T = e.implementations?.actions?.[b];
575
- return T || He(`[zag-js] No implementation found for action "${JSON.stringify(b)}"`), T;
576
- });
577
- for (const b of R)
578
- b?.(y());
579
- }, w = (h) => ie(h) ? h(y()) : e.implementations?.guards?.[h](y()), O = (h) => {
580
- const x = ie(h) ? h(y()) : h;
581
- if (!x) return;
582
- const R = x.map((T) => {
583
- const P = e.implementations?.effects?.[T];
584
- return P || He(`[zag-js] No implementation found for effect "${JSON.stringify(T)}"`), P;
585
- }), b = [];
586
- for (const T of R) {
587
- const P = T?.(y());
588
- P && b.push(P);
589
- }
590
- return () => b.forEach((T) => T?.());
591
- }, E = (h) => xt(h).find((x) => {
592
- let R = !x.guard;
593
- return wt(x.guard) ? R = !!w(x.guard) : ie(x.guard) && (R = x.guard(y())), R;
594
- }), S = (h) => {
595
- ht(e.computed, () => "[zag-js] No computed object found on machine");
596
- const x = e.computed[h];
597
- return x({
598
- context: u,
599
- event: d(),
600
- prop: c,
601
- refs: p,
602
- scope: r,
603
- computed: S
604
- });
605
- }, A = me(() => ({
606
- defaultValue: e.initialState({ prop: c }),
607
- onChange(h, x) {
608
- x && (s.current.get(x)?.(), s.current.delete(x)), x && v(e.states[x]?.exit), v(g.current?.actions);
609
- const R = O(e.states[h]?.effects);
610
- if (R && s.current.set(h, R), x === be) {
611
- v(e.entry);
612
- const b = O(e.effects);
613
- b && s.current.set(be, b);
614
- }
615
- v(e.states[h]?.entry);
616
- }
617
- })), _ = L(void 0), D = L(re.NotStarted);
618
- tt(() => {
619
- queueMicrotask(() => {
620
- const R = D.current === re.Started;
621
- D.current = re.Started, n(R ? "rehydrating..." : "initializing...");
622
- const b = _.current ?? A.initial;
623
- A.invoke(b, R ? A.get() : be);
624
- });
625
- const h = s.current, x = A.ref.current;
626
- return () => {
627
- n("unmounting..."), _.current = x, D.current = re.Stopped, h.forEach((R) => R?.()), s.current = /* @__PURE__ */ new Map(), g.current = null, queueMicrotask(() => {
628
- v(e.exit);
629
- });
630
- };
631
- }, []);
632
- const V = () => "ref" in A ? A.ref.current : A.get(), M = (h) => {
633
- queueMicrotask(() => {
634
- if (D.current !== re.Started) return;
635
- a.current = i.current, i.current = h, n("send", h);
636
- let x = V();
637
- const R = (
638
- // @ts-ignore
639
- e.states[x].on?.[h.type] ?? // @ts-ignore
640
- e.on?.[h.type]
641
- ), b = E(R);
642
- if (!b) return;
643
- g.current = b;
644
- const T = b.target ?? x;
645
- n("transition", b);
646
- const P = T !== x;
647
- P ? ve.flushSync(() => A.set(T)) : b.reenter && !P ? A.invoke(x, x) : v(b.actions ?? []);
648
- });
649
- };
650
- return e.watch?.(y()), {
651
- state: m(),
652
- send: M,
653
- context: u,
654
- prop: c,
655
- scope: r,
656
- refs: p,
657
- computed: S,
658
- event: d(),
659
- getStatus: () => D.current
660
- };
661
- }
662
- function nt(e) {
663
- const t = L(e);
664
- return t.current = e, t;
665
- }
666
- function en(e) {
667
- const t = nt(e);
668
- return function(n) {
669
- return t.current[n];
670
- };
671
- }
672
- function Ie(e) {
673
- queueMicrotask(() => {
674
- ve.flushSync(() => e());
675
- });
676
- }
677
- var Or = Kt((e) => e);
678
- function tn(...e) {
679
- return (t) => {
680
- const r = [];
681
- for (const n of e)
682
- if (typeof n == "function") {
683
- const o = n(t);
684
- typeof o == "function" && r.push(o);
685
- } else n && (n.current = t);
686
- if (r.length)
687
- return () => {
688
- for (const n of r)
689
- n();
690
- };
691
- };
692
- }
693
- function nn(e) {
694
- let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
695
- return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
696
- }
697
- const Se = (e) => {
698
- const t = $t(
699
- Vt((r, n) => {
700
- const { asChild: o, children: c, ...l } = r;
701
- if (!o)
702
- return Ht(e, { ...l, ref: n }, c);
703
- const f = et.only(c);
704
- if (!zt(f))
705
- return null;
706
- const u = nn(f);
707
- return Ut(f, {
708
- ...Ot(l, f.props),
709
- ref: n ? tn(n, u) : u
710
- });
711
- })
712
- );
713
- return t.displayName = e.displayName || e.name, t;
714
- }, rn = () => {
715
- const e = /* @__PURE__ */ new Map();
716
- return new Proxy(Se, {
717
- apply(t, r, n) {
718
- return Se(n[0]);
719
- },
720
- get(t, r) {
721
- const n = r;
722
- return e.has(n) || e.set(n, Se(n)), e.get(n);
723
- }
724
- });
725
- }, br = rn(), [Sr, Er] = Ne({
726
- name: "PresenceContext",
727
- hookName: "usePresenceContext",
728
- providerName: "<PresenceProvider />"
729
- }), on = () => (e, t) => t.reduce(
730
- (r, n) => {
731
- const [o, c] = r, l = n;
732
- return c[l] !== void 0 && (o[l] = c[l]), delete c[l], [o, c];
733
- },
734
- [{}, { ...e }]
735
- ), Rr = (e) => on()(e, [
736
- "immediate",
737
- "lazyMount",
738
- "onExitComplete",
739
- "present",
740
- "skipAnimationOnMount",
741
- "unmountOnExit"
742
- ]);
743
- function sn(e, t) {
744
- const { state: r, send: n, context: o } = e, c = r.matches("mounted", "unmountSuspended");
745
- return {
746
- skip: !o.get("initial"),
747
- present: c,
748
- setNode(l) {
749
- l && n({ type: "NODE.SET", node: l });
750
- },
751
- unmount() {
752
- n({ type: "UNMOUNT" });
753
- }
754
- };
755
- }
756
- var cn = bt({
757
- props({ props: e }) {
758
- return { ...e, present: !!e.present };
759
- },
760
- initialState({ prop: e }) {
761
- return e("present") ? "mounted" : "unmounted";
762
- },
763
- refs() {
764
- return {
765
- node: null,
766
- styles: null
767
- };
768
- },
769
- context({ bindable: e }) {
770
- return {
771
- unmountAnimationName: e(() => ({ defaultValue: null })),
772
- prevAnimationName: e(() => ({ defaultValue: null })),
773
- present: e(() => ({ defaultValue: !1 })),
774
- initial: e(() => ({
775
- sync: !0,
776
- defaultValue: !1
777
- }))
778
- };
779
- },
780
- exit: ["clearInitial", "cleanupNode"],
781
- watch({ track: e, action: t, prop: r }) {
782
- e([() => r("present")], () => {
783
- t(["setInitial", "syncPresence"]);
784
- });
785
- },
786
- on: {
787
- "NODE.SET": {
788
- actions: ["setNode", "setStyles"]
789
- }
790
- },
791
- states: {
792
- mounted: {
793
- on: {
794
- UNMOUNT: {
795
- target: "unmounted",
796
- actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
797
- },
798
- "UNMOUNT.SUSPEND": {
799
- target: "unmountSuspended"
800
- }
801
- }
802
- },
803
- unmountSuspended: {
804
- effects: ["trackAnimationEvents"],
805
- on: {
806
- MOUNT: {
807
- target: "mounted",
808
- actions: ["setPrevAnimationName"]
809
- },
810
- UNMOUNT: {
811
- target: "unmounted",
812
- actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
813
- }
814
- }
815
- },
816
- unmounted: {
817
- on: {
818
- MOUNT: {
819
- target: "mounted",
820
- actions: ["setPrevAnimationName"]
821
- }
822
- }
823
- }
824
- },
825
- implementations: {
826
- actions: {
827
- setInitial: ({ context: e }) => {
828
- e.get("initial") || queueMicrotask(() => {
829
- e.set("initial", !0);
830
- });
831
- },
832
- clearInitial: ({ context: e }) => {
833
- e.set("initial", !1);
834
- },
835
- cleanupNode: ({ refs: e }) => {
836
- e.set("node", null), e.set("styles", null);
837
- },
838
- invokeOnExitComplete: ({ prop: e }) => {
839
- e("onExitComplete")?.();
840
- },
841
- setNode: ({ refs: e, event: t }) => {
842
- e.set("node", t.node);
843
- },
844
- setStyles: ({ refs: e, event: t }) => {
845
- e.set("styles", Qe(t.node));
846
- },
847
- syncPresence: ({ context: e, refs: t, send: r, prop: n }) => {
848
- const o = n("present");
849
- if (o)
850
- return r({ type: "MOUNT", src: "presence.changed" });
851
- const c = t.get("node");
852
- if (!o && c?.ownerDocument.visibilityState === "hidden")
853
- return r({ type: "UNMOUNT", src: "visibilitychange" });
854
- Re(() => {
855
- const l = de(t.get("styles"));
856
- e.set("unmountAnimationName", l), l === "none" || l === e.get("prevAnimationName") || t.get("styles")?.display === "none" || t.get("styles")?.animationDuration === "0s" ? r({ type: "UNMOUNT", src: "presence.changed" }) : r({ type: "UNMOUNT.SUSPEND" });
857
- });
858
- },
859
- setPrevAnimationName: ({ context: e, refs: t }) => {
860
- Re(() => {
861
- e.set("prevAnimationName", de(t.get("styles")));
862
- });
863
- },
864
- clearPrevAnimationName: ({ context: e }) => {
865
- e.set("prevAnimationName", null);
866
- }
867
- },
868
- effects: {
869
- trackAnimationEvents: ({ context: e, refs: t, send: r }) => {
870
- const n = t.get("node");
871
- if (!n) return;
872
- const o = (f) => {
873
- (f.composedPath?.()?.[0] ?? f.target) === n && e.set("prevAnimationName", de(t.get("styles")));
874
- }, c = (f) => {
875
- const u = de(t.get("styles"));
876
- Rt(f) === n && u === e.get("unmountAnimationName") && r({ type: "UNMOUNT", src: "animationend" });
877
- };
878
- n.addEventListener("animationstart", o), n.addEventListener("animationcancel", c), n.addEventListener("animationend", c);
879
- const l = St(n, { animationFillMode: "forwards" });
880
- return () => {
881
- n.removeEventListener("animationstart", o), n.removeEventListener("animationcancel", c), n.removeEventListener("animationend", c), Et(() => l());
882
- };
883
- }
884
- }
885
- }
886
- });
887
- function de(e) {
888
- return e?.animationName || "none";
889
- }
890
- Xt()(["onExitComplete", "present", "immediate"]);
891
- function an(e, t = {}) {
892
- const { sync: r = !1 } = t, n = ln(e);
893
- return Ft(
894
- // biome-ignore lint/suspicious/noExplicitAny: <explanation>
895
- (...o) => r ? queueMicrotask(() => n.current?.(...o)) : n.current?.(...o),
896
- [r, n]
897
- );
898
- }
899
- function ln(e) {
900
- const t = L(e);
901
- return t.current = e, t;
902
- }
903
- const Ar = (e = {}) => {
904
- const { lazyMount: t, unmountOnExit: r, present: n, skipAnimationOnMount: o = !1, ...c } = e, l = L(!1), f = {
905
- ...c,
906
- present: n,
907
- onExitComplete: an(e.onExitComplete)
908
- }, u = Zt(cn, f), s = sn(u);
909
- s.present && (l.current = !0);
910
- const g = !s.present && !l.current && t || r && !s.present && l.current, a = () => ({
911
- "data-state": s.skip && o ? void 0 : n ? "open" : "closed",
912
- hidden: !s.present
913
- });
914
- return {
915
- ref: s.setNode,
916
- getPresenceProps: a,
917
- present: s.present,
918
- unmounted: g
919
- };
920
- }, un = ["top", "right", "bottom", "left"], X = Math.min, k = Math.max, pe = Math.round, ge = Math.floor, W = (e) => ({
921
- x: e,
922
- y: e
923
- }), fn = {
924
- left: "right",
925
- right: "left",
926
- bottom: "top",
927
- top: "bottom"
928
- }, dn = {
929
- start: "end",
930
- end: "start"
931
- };
932
- function Te(e, t, r) {
933
- return k(e, X(t, r));
934
- }
935
- function Y(e, t) {
936
- return typeof e == "function" ? e(t) : e;
937
- }
938
- function G(e) {
939
- return e.split("-")[0];
940
- }
941
- function te(e) {
942
- return e.split("-")[1];
943
- }
944
- function Ce(e) {
945
- return e === "x" ? "y" : "x";
946
- }
947
- function De(e) {
948
- return e === "y" ? "height" : "width";
949
- }
950
- function I(e) {
951
- return ["top", "bottom"].includes(G(e)) ? "y" : "x";
952
- }
953
- function Me(e) {
954
- return Ce(I(e));
955
- }
956
- function gn(e, t, r) {
957
- r === void 0 && (r = !1);
958
- const n = te(e), o = Me(e), c = De(o);
959
- let l = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
960
- return t.reference[c] > t.floating[c] && (l = ye(l)), [l, ye(l)];
961
- }
962
- function mn(e) {
963
- const t = ye(e);
964
- return [_e(e), t, _e(t)];
965
- }
966
- function _e(e) {
967
- return e.replace(/start|end/g, (t) => dn[t]);
968
- }
969
- function pn(e, t, r) {
970
- const n = ["left", "right"], o = ["right", "left"], c = ["top", "bottom"], l = ["bottom", "top"];
971
- switch (e) {
972
- case "top":
973
- case "bottom":
974
- return r ? t ? o : n : t ? n : o;
975
- case "left":
976
- case "right":
977
- return t ? c : l;
978
- default:
979
- return [];
980
- }
981
- }
982
- function yn(e, t, r, n) {
983
- const o = te(e);
984
- let c = pn(G(e), r === "start", n);
985
- return o && (c = c.map((l) => l + "-" + o), t && (c = c.concat(c.map(_e)))), c;
986
- }
987
- function ye(e) {
988
- return e.replace(/left|right|bottom|top/g, (t) => fn[t]);
989
- }
990
- function hn(e) {
991
- return {
992
- top: 0,
993
- right: 0,
994
- bottom: 0,
995
- left: 0,
996
- ...e
997
- };
998
- }
999
- function rt(e) {
1000
- return typeof e != "number" ? hn(e) : {
1001
- top: e,
1002
- right: e,
1003
- bottom: e,
1004
- left: e
1005
- };
1006
- }
1007
- function he(e) {
1008
- const {
1009
- x: t,
1010
- y: r,
1011
- width: n,
1012
- height: o
1013
- } = e;
1014
- return {
1015
- width: n,
1016
- height: o,
1017
- top: r,
1018
- left: t,
1019
- right: t + n,
1020
- bottom: r + o,
1021
- x: t,
1022
- y: r
1023
- };
1024
- }
1025
- function We(e, t, r) {
1026
- let {
1027
- reference: n,
1028
- floating: o
1029
- } = e;
1030
- const c = I(t), l = Me(t), f = De(l), u = G(t), s = c === "y", g = n.x + n.width / 2 - o.width / 2, a = n.y + n.height / 2 - o.height / 2, i = n[f] / 2 - o[f] / 2;
1031
- let d;
1032
- switch (u) {
1033
- case "top":
1034
- d = {
1035
- x: g,
1036
- y: n.y - o.height
1037
- };
1038
- break;
1039
- case "bottom":
1040
- d = {
1041
- x: g,
1042
- y: n.y + n.height
1043
- };
1044
- break;
1045
- case "right":
1046
- d = {
1047
- x: n.x + n.width,
1048
- y: a
1049
- };
1050
- break;
1051
- case "left":
1052
- d = {
1053
- x: n.x - o.width,
1054
- y: a
1055
- };
1056
- break;
1057
- default:
1058
- d = {
1059
- x: n.x,
1060
- y: n.y
1061
- };
1062
- }
1063
- switch (te(t)) {
1064
- case "start":
1065
- d[l] -= i * (r && s ? -1 : 1);
1066
- break;
1067
- case "end":
1068
- d[l] += i * (r && s ? -1 : 1);
1069
- break;
1070
- }
1071
- return d;
1072
- }
1073
- const vn = async (e, t, r) => {
1074
- const {
1075
- placement: n = "bottom",
1076
- strategy: o = "absolute",
1077
- middleware: c = [],
1078
- platform: l
1079
- } = r, f = c.filter(Boolean), u = await (l.isRTL == null ? void 0 : l.isRTL(t));
1080
- let s = await l.getElementRects({
1081
- reference: e,
1082
- floating: t,
1083
- strategy: o
1084
- }), {
1085
- x: g,
1086
- y: a
1087
- } = We(s, n, u), i = n, d = {}, m = 0;
1088
- for (let p = 0; p < f.length; p++) {
1089
- const {
1090
- name: y,
1091
- fn: v
1092
- } = f[p], {
1093
- x: w,
1094
- y: O,
1095
- data: E,
1096
- reset: S
1097
- } = await v({
1098
- x: g,
1099
- y: a,
1100
- initialPlacement: n,
1101
- placement: i,
1102
- strategy: o,
1103
- middlewareData: d,
1104
- rects: s,
1105
- platform: l,
1106
- elements: {
1107
- reference: e,
1108
- floating: t
1109
- }
1110
- });
1111
- g = w ?? g, a = O ?? a, d = {
1112
- ...d,
1113
- [y]: {
1114
- ...d[y],
1115
- ...E
1116
- }
1117
- }, S && m <= 50 && (m++, typeof S == "object" && (S.placement && (i = S.placement), S.rects && (s = S.rects === !0 ? await l.getElementRects({
1118
- reference: e,
1119
- floating: t,
1120
- strategy: o
1121
- }) : S.rects), {
1122
- x: g,
1123
- y: a
1124
- } = We(s, i, u)), p = -1);
1125
- }
1126
- return {
1127
- x: g,
1128
- y: a,
1129
- placement: i,
1130
- strategy: o,
1131
- middlewareData: d
1132
- };
1133
- };
1134
- async function ce(e, t) {
1135
- var r;
1136
- t === void 0 && (t = {});
1137
- const {
1138
- x: n,
1139
- y: o,
1140
- platform: c,
1141
- rects: l,
1142
- elements: f,
1143
- strategy: u
1144
- } = e, {
1145
- boundary: s = "clippingAncestors",
1146
- rootBoundary: g = "viewport",
1147
- elementContext: a = "floating",
1148
- altBoundary: i = !1,
1149
- padding: d = 0
1150
- } = Y(t, e), m = rt(d), y = f[i ? a === "floating" ? "reference" : "floating" : a], v = he(await c.getClippingRect({
1151
- element: (r = await (c.isElement == null ? void 0 : c.isElement(y))) == null || r ? y : y.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(f.floating)),
1152
- boundary: s,
1153
- rootBoundary: g,
1154
- strategy: u
1155
- })), w = a === "floating" ? {
1156
- x: n,
1157
- y: o,
1158
- width: l.floating.width,
1159
- height: l.floating.height
1160
- } : l.reference, O = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(f.floating)), E = await (c.isElement == null ? void 0 : c.isElement(O)) ? await (c.getScale == null ? void 0 : c.getScale(O)) || {
1161
- x: 1,
1162
- y: 1
1163
- } : {
1164
- x: 1,
1165
- y: 1
1166
- }, S = he(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
1167
- elements: f,
1168
- rect: w,
1169
- offsetParent: O,
1170
- strategy: u
1171
- }) : w);
1172
- return {
1173
- top: (v.top - S.top + m.top) / E.y,
1174
- bottom: (S.bottom - v.bottom + m.bottom) / E.y,
1175
- left: (v.left - S.left + m.left) / E.x,
1176
- right: (S.right - v.right + m.right) / E.x
1177
- };
1178
- }
1179
- const xn = (e) => ({
1180
- name: "arrow",
1181
- options: e,
1182
- async fn(t) {
1183
- const {
1184
- x: r,
1185
- y: n,
1186
- placement: o,
1187
- rects: c,
1188
- platform: l,
1189
- elements: f,
1190
- middlewareData: u
1191
- } = t, {
1192
- element: s,
1193
- padding: g = 0
1194
- } = Y(e, t) || {};
1195
- if (s == null)
1196
- return {};
1197
- const a = rt(g), i = {
1198
- x: r,
1199
- y: n
1200
- }, d = Me(o), m = De(d), p = await l.getDimensions(s), y = d === "y", v = y ? "top" : "left", w = y ? "bottom" : "right", O = y ? "clientHeight" : "clientWidth", E = c.reference[m] + c.reference[d] - i[d] - c.floating[m], S = i[d] - c.reference[d], A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(s));
1201
- let _ = A ? A[O] : 0;
1202
- (!_ || !await (l.isElement == null ? void 0 : l.isElement(A))) && (_ = f.floating[O] || c.floating[m]);
1203
- const D = E / 2 - S / 2, V = _ / 2 - p[m] / 2 - 1, M = X(a[v], V), h = X(a[w], V), x = M, R = _ - p[m] - h, b = _ / 2 - p[m] / 2 + D, T = Te(x, b, R), P = !u.arrow && te(o) != null && b !== T && c.reference[m] / 2 - (b < x ? M : h) - p[m] / 2 < 0, H = P ? b < x ? b - x : b - R : 0;
1204
- return {
1205
- [d]: i[d] + H,
1206
- data: {
1207
- [d]: T,
1208
- centerOffset: b - T - H,
1209
- ...P && {
1210
- alignmentOffset: H
1211
- }
1212
- },
1213
- reset: P
1214
- };
1215
- }
1216
- }), wn = function(e) {
1217
- return e === void 0 && (e = {}), {
1218
- name: "flip",
1219
- options: e,
1220
- async fn(t) {
1221
- var r, n;
1222
- const {
1223
- placement: o,
1224
- middlewareData: c,
1225
- rects: l,
1226
- initialPlacement: f,
1227
- platform: u,
1228
- elements: s
1229
- } = t, {
1230
- mainAxis: g = !0,
1231
- crossAxis: a = !0,
1232
- fallbackPlacements: i,
1233
- fallbackStrategy: d = "bestFit",
1234
- fallbackAxisSideDirection: m = "none",
1235
- flipAlignment: p = !0,
1236
- ...y
1237
- } = Y(e, t);
1238
- if ((r = c.arrow) != null && r.alignmentOffset)
1239
- return {};
1240
- const v = G(o), w = I(f), O = G(f) === f, E = await (u.isRTL == null ? void 0 : u.isRTL(s.floating)), S = i || (O || !p ? [ye(f)] : mn(f)), A = m !== "none";
1241
- !i && A && S.push(...yn(f, p, m, E));
1242
- const _ = [f, ...S], D = await ce(t, y), V = [];
1243
- let M = ((n = c.flip) == null ? void 0 : n.overflows) || [];
1244
- if (g && V.push(D[v]), a) {
1245
- const b = gn(o, l, E);
1246
- V.push(D[b[0]], D[b[1]]);
1247
- }
1248
- if (M = [...M, {
1249
- placement: o,
1250
- overflows: V
1251
- }], !V.every((b) => b <= 0)) {
1252
- var h, x;
1253
- const b = (((h = c.flip) == null ? void 0 : h.index) || 0) + 1, T = _[b];
1254
- if (T && (!(a === "alignment" ? w !== I(T) : !1) || // We leave the current main axis only if every placement on that axis
1255
- // overflows the main axis.
1256
- M.every((z) => z.overflows[0] > 0 && I(z.placement) === w)))
1257
- return {
1258
- data: {
1259
- index: b,
1260
- overflows: M
1261
- },
1262
- reset: {
1263
- placement: T
1264
- }
1265
- };
1266
- let P = (x = M.filter((H) => H.overflows[0] <= 0).sort((H, z) => H.overflows[1] - z.overflows[1])[0]) == null ? void 0 : x.placement;
1267
- if (!P)
1268
- switch (d) {
1269
- case "bestFit": {
1270
- var R;
1271
- const H = (R = M.filter((z) => {
1272
- if (A) {
1273
- const K = I(z.placement);
1274
- return K === w || // Create a bias to the `y` side axis due to horizontal
1275
- // reading directions favoring greater width.
1276
- K === "y";
1277
- }
1278
- return !0;
1279
- }).map((z) => [z.placement, z.overflows.filter((K) => K > 0).reduce((K, gt) => K + gt, 0)]).sort((z, K) => z[1] - K[1])[0]) == null ? void 0 : R[0];
1280
- H && (P = H);
1281
- break;
1282
- }
1283
- case "initialPlacement":
1284
- P = f;
1285
- break;
1286
- }
1287
- if (o !== P)
1288
- return {
1289
- reset: {
1290
- placement: P
1291
- }
1292
- };
1293
- }
1294
- return {};
1295
- }
1296
- };
1297
- };
1298
- function je(e, t) {
1299
- return {
1300
- top: e.top - t.height,
1301
- right: e.right - t.width,
1302
- bottom: e.bottom - t.height,
1303
- left: e.left - t.width
1304
- };
1305
- }
1306
- function Be(e) {
1307
- return un.some((t) => e[t] >= 0);
1308
- }
1309
- const On = function(e) {
1310
- return e === void 0 && (e = {}), {
1311
- name: "hide",
1312
- options: e,
1313
- async fn(t) {
1314
- const {
1315
- rects: r
1316
- } = t, {
1317
- strategy: n = "referenceHidden",
1318
- ...o
1319
- } = Y(e, t);
1320
- switch (n) {
1321
- case "referenceHidden": {
1322
- const c = await ce(t, {
1323
- ...o,
1324
- elementContext: "reference"
1325
- }), l = je(c, r.reference);
1326
- return {
1327
- data: {
1328
- referenceHiddenOffsets: l,
1329
- referenceHidden: Be(l)
1330
- }
1331
- };
1332
- }
1333
- case "escaped": {
1334
- const c = await ce(t, {
1335
- ...o,
1336
- altBoundary: !0
1337
- }), l = je(c, r.floating);
1338
- return {
1339
- data: {
1340
- escapedOffsets: l,
1341
- escaped: Be(l)
1342
- }
1343
- };
1344
- }
1345
- default:
1346
- return {};
1347
- }
1348
- }
1349
- };
1350
- };
1351
- async function bn(e, t) {
1352
- const {
1353
- placement: r,
1354
- platform: n,
1355
- elements: o
1356
- } = e, c = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), l = G(r), f = te(r), u = I(r) === "y", s = ["left", "top"].includes(l) ? -1 : 1, g = c && u ? -1 : 1, a = Y(t, e);
1357
- let {
1358
- mainAxis: i,
1359
- crossAxis: d,
1360
- alignmentAxis: m
1361
- } = typeof a == "number" ? {
1362
- mainAxis: a,
1363
- crossAxis: 0,
1364
- alignmentAxis: null
1365
- } : {
1366
- mainAxis: a.mainAxis || 0,
1367
- crossAxis: a.crossAxis || 0,
1368
- alignmentAxis: a.alignmentAxis
1369
- };
1370
- return f && typeof m == "number" && (d = f === "end" ? m * -1 : m), u ? {
1371
- x: d * g,
1372
- y: i * s
1373
- } : {
1374
- x: i * s,
1375
- y: d * g
1376
- };
1377
- }
1378
- const Sn = function(e) {
1379
- return e === void 0 && (e = 0), {
1380
- name: "offset",
1381
- options: e,
1382
- async fn(t) {
1383
- var r, n;
1384
- const {
1385
- x: o,
1386
- y: c,
1387
- placement: l,
1388
- middlewareData: f
1389
- } = t, u = await bn(t, e);
1390
- return l === ((r = f.offset) == null ? void 0 : r.placement) && (n = f.arrow) != null && n.alignmentOffset ? {} : {
1391
- x: o + u.x,
1392
- y: c + u.y,
1393
- data: {
1394
- ...u,
1395
- placement: l
1396
- }
1397
- };
1398
- }
1399
- };
1400
- }, En = function(e) {
1401
- return e === void 0 && (e = {}), {
1402
- name: "shift",
1403
- options: e,
1404
- async fn(t) {
1405
- const {
1406
- x: r,
1407
- y: n,
1408
- placement: o
1409
- } = t, {
1410
- mainAxis: c = !0,
1411
- crossAxis: l = !1,
1412
- limiter: f = {
1413
- fn: (y) => {
1414
- let {
1415
- x: v,
1416
- y: w
1417
- } = y;
1418
- return {
1419
- x: v,
1420
- y: w
1421
- };
1422
- }
1423
- },
1424
- ...u
1425
- } = Y(e, t), s = {
1426
- x: r,
1427
- y: n
1428
- }, g = await ce(t, u), a = I(G(o)), i = Ce(a);
1429
- let d = s[i], m = s[a];
1430
- if (c) {
1431
- const y = i === "y" ? "top" : "left", v = i === "y" ? "bottom" : "right", w = d + g[y], O = d - g[v];
1432
- d = Te(w, d, O);
1433
- }
1434
- if (l) {
1435
- const y = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", w = m + g[y], O = m - g[v];
1436
- m = Te(w, m, O);
1437
- }
1438
- const p = f.fn({
1439
- ...t,
1440
- [i]: d,
1441
- [a]: m
1442
- });
1443
- return {
1444
- ...p,
1445
- data: {
1446
- x: p.x - r,
1447
- y: p.y - n,
1448
- enabled: {
1449
- [i]: c,
1450
- [a]: l
1451
- }
1452
- }
1453
- };
1454
- }
1455
- };
1456
- }, Rn = function(e) {
1457
- return e === void 0 && (e = {}), {
1458
- options: e,
1459
- fn(t) {
1460
- const {
1461
- x: r,
1462
- y: n,
1463
- placement: o,
1464
- rects: c,
1465
- middlewareData: l
1466
- } = t, {
1467
- offset: f = 0,
1468
- mainAxis: u = !0,
1469
- crossAxis: s = !0
1470
- } = Y(e, t), g = {
1471
- x: r,
1472
- y: n
1473
- }, a = I(o), i = Ce(a);
1474
- let d = g[i], m = g[a];
1475
- const p = Y(f, t), y = typeof p == "number" ? {
1476
- mainAxis: p,
1477
- crossAxis: 0
1478
- } : {
1479
- mainAxis: 0,
1480
- crossAxis: 0,
1481
- ...p
1482
- };
1483
- if (u) {
1484
- const O = i === "y" ? "height" : "width", E = c.reference[i] - c.floating[O] + y.mainAxis, S = c.reference[i] + c.reference[O] - y.mainAxis;
1485
- d < E ? d = E : d > S && (d = S);
1486
- }
1487
- if (s) {
1488
- var v, w;
1489
- const O = i === "y" ? "width" : "height", E = ["top", "left"].includes(G(o)), S = c.reference[a] - c.floating[O] + (E && ((v = l.offset) == null ? void 0 : v[a]) || 0) + (E ? 0 : y.crossAxis), A = c.reference[a] + c.reference[O] + (E ? 0 : ((w = l.offset) == null ? void 0 : w[a]) || 0) - (E ? y.crossAxis : 0);
1490
- m < S ? m = S : m > A && (m = A);
1491
- }
1492
- return {
1493
- [i]: d,
1494
- [a]: m
1495
- };
1496
- }
1497
- };
1498
- }, An = function(e) {
1499
- return e === void 0 && (e = {}), {
1500
- name: "size",
1501
- options: e,
1502
- async fn(t) {
1503
- var r, n;
1504
- const {
1505
- placement: o,
1506
- rects: c,
1507
- platform: l,
1508
- elements: f
1509
- } = t, {
1510
- apply: u = () => {
1511
- },
1512
- ...s
1513
- } = Y(e, t), g = await ce(t, s), a = G(o), i = te(o), d = I(o) === "y", {
1514
- width: m,
1515
- height: p
1516
- } = c.floating;
1517
- let y, v;
1518
- a === "top" || a === "bottom" ? (y = a, v = i === (await (l.isRTL == null ? void 0 : l.isRTL(f.floating)) ? "start" : "end") ? "left" : "right") : (v = a, y = i === "end" ? "top" : "bottom");
1519
- const w = p - g.top - g.bottom, O = m - g.left - g.right, E = X(p - g[y], w), S = X(m - g[v], O), A = !t.middlewareData.shift;
1520
- let _ = E, D = S;
1521
- if ((r = t.middlewareData.shift) != null && r.enabled.x && (D = O), (n = t.middlewareData.shift) != null && n.enabled.y && (_ = w), A && !i) {
1522
- const M = k(g.left, 0), h = k(g.right, 0), x = k(g.top, 0), R = k(g.bottom, 0);
1523
- d ? D = m - 2 * (M !== 0 || h !== 0 ? M + h : k(g.left, g.right)) : _ = p - 2 * (x !== 0 || R !== 0 ? x + R : k(g.top, g.bottom));
1524
- }
1525
- await u({
1526
- ...t,
1527
- availableWidth: D,
1528
- availableHeight: _
1529
- });
1530
- const V = await l.getDimensions(f.floating);
1531
- return m !== V.width || p !== V.height ? {
1532
- reset: {
1533
- rects: !0
1534
- }
1535
- } : {};
1536
- }
1537
- };
1538
- };
1539
- function xe() {
1540
- return typeof window < "u";
1541
- }
1542
- function ne(e) {
1543
- return ot(e) ? (e.nodeName || "").toLowerCase() : "#document";
1544
- }
1545
- function $(e) {
1546
- var t;
1547
- return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
1548
- }
1549
- function B(e) {
1550
- var t;
1551
- return (t = (ot(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1552
- }
1553
- function ot(e) {
1554
- return xe() ? e instanceof Node || e instanceof $(e).Node : !1;
1555
- }
1556
- function U(e) {
1557
- return xe() ? e instanceof Element || e instanceof $(e).Element : !1;
1558
- }
1559
- function j(e) {
1560
- return xe() ? e instanceof HTMLElement || e instanceof $(e).HTMLElement : !1;
1561
- }
1562
- function qe(e) {
1563
- return !xe() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof $(e).ShadowRoot;
1564
- }
1565
- function le(e) {
1566
- const {
1567
- overflow: t,
1568
- overflowX: r,
1569
- overflowY: n,
1570
- display: o
1571
- } = F(e);
1572
- return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !["inline", "contents"].includes(o);
1573
- }
1574
- function Tn(e) {
1575
- return ["table", "td", "th"].includes(ne(e));
1576
- }
1577
- function we(e) {
1578
- return [":popover-open", ":modal"].some((t) => {
1579
- try {
1580
- return e.matches(t);
1581
- } catch {
1582
- return !1;
1583
- }
1584
- });
1585
- }
1586
- function Le(e) {
1587
- const t = ke(), r = U(e) ? F(e) : e;
1588
- return ["transform", "translate", "scale", "rotate", "perspective"].some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
1589
- }
1590
- function _n(e) {
1591
- let t = J(e);
1592
- for (; j(t) && !ee(t); ) {
1593
- if (Le(t))
1594
- return t;
1595
- if (we(t))
1596
- return null;
1597
- t = J(t);
1598
- }
1599
- return null;
1600
- }
1601
- function ke() {
1602
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1603
- }
1604
- function ee(e) {
1605
- return ["html", "body", "#document"].includes(ne(e));
1606
- }
1607
- function F(e) {
1608
- return $(e).getComputedStyle(e);
1609
- }
1610
- function Oe(e) {
1611
- return U(e) ? {
1612
- scrollLeft: e.scrollLeft,
1613
- scrollTop: e.scrollTop
1614
- } : {
1615
- scrollLeft: e.scrollX,
1616
- scrollTop: e.scrollY
1617
- };
1618
- }
1619
- function J(e) {
1620
- if (ne(e) === "html")
1621
- return e;
1622
- const t = (
1623
- // Step into the shadow DOM of the parent of a slotted node.
1624
- e.assignedSlot || // DOM Element detected.
1625
- e.parentNode || // ShadowRoot detected.
1626
- qe(e) && e.host || // Fallback.
1627
- B(e)
1628
- );
1629
- return qe(t) ? t.host : t;
1630
- }
1631
- function it(e) {
1632
- const t = J(e);
1633
- return ee(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : j(t) && le(t) ? t : it(t);
1634
- }
1635
- function ae(e, t, r) {
1636
- var n;
1637
- t === void 0 && (t = []), r === void 0 && (r = !0);
1638
- const o = it(e), c = o === ((n = e.ownerDocument) == null ? void 0 : n.body), l = $(o);
1639
- if (c) {
1640
- const f = Pe(l);
1641
- return t.concat(l, l.visualViewport || [], le(o) ? o : [], f && r ? ae(f) : []);
1642
- }
1643
- return t.concat(o, ae(o, [], r));
1644
- }
1645
- function Pe(e) {
1646
- return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
1647
- }
1648
- function st(e) {
1649
- const t = F(e);
1650
- let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
1651
- const o = j(e), c = o ? e.offsetWidth : r, l = o ? e.offsetHeight : n, f = pe(r) !== c || pe(n) !== l;
1652
- return f && (r = c, n = l), {
1653
- width: r,
1654
- height: n,
1655
- $: f
1656
- };
1657
- }
1658
- function $e(e) {
1659
- return U(e) ? e : e.contextElement;
1660
- }
1661
- function Z(e) {
1662
- const t = $e(e);
1663
- if (!j(t))
1664
- return W(1);
1665
- const r = t.getBoundingClientRect(), {
1666
- width: n,
1667
- height: o,
1668
- $: c
1669
- } = st(t);
1670
- let l = (c ? pe(r.width) : r.width) / n, f = (c ? pe(r.height) : r.height) / o;
1671
- return (!l || !Number.isFinite(l)) && (l = 1), (!f || !Number.isFinite(f)) && (f = 1), {
1672
- x: l,
1673
- y: f
1674
- };
1675
- }
1676
- const Pn = /* @__PURE__ */ W(0);
1677
- function ct(e) {
1678
- const t = $(e);
1679
- return !ke() || !t.visualViewport ? Pn : {
1680
- x: t.visualViewport.offsetLeft,
1681
- y: t.visualViewport.offsetTop
1682
- };
1683
- }
1684
- function Nn(e, t, r) {
1685
- return t === void 0 && (t = !1), !r || t && r !== $(e) ? !1 : t;
1686
- }
1687
- function Q(e, t, r, n) {
1688
- t === void 0 && (t = !1), r === void 0 && (r = !1);
1689
- const o = e.getBoundingClientRect(), c = $e(e);
1690
- let l = W(1);
1691
- t && (n ? U(n) && (l = Z(n)) : l = Z(e));
1692
- const f = Nn(c, r, n) ? ct(c) : W(0);
1693
- let u = (o.left + f.x) / l.x, s = (o.top + f.y) / l.y, g = o.width / l.x, a = o.height / l.y;
1694
- if (c) {
1695
- const i = $(c), d = n && U(n) ? $(n) : n;
1696
- let m = i, p = Pe(m);
1697
- for (; p && n && d !== m; ) {
1698
- const y = Z(p), v = p.getBoundingClientRect(), w = F(p), O = v.left + (p.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = v.top + (p.clientTop + parseFloat(w.paddingTop)) * y.y;
1699
- u *= y.x, s *= y.y, g *= y.x, a *= y.y, u += O, s += E, m = $(p), p = Pe(m);
1700
- }
1701
- }
1702
- return he({
1703
- width: g,
1704
- height: a,
1705
- x: u,
1706
- y: s
1707
- });
1708
- }
1709
- function Ve(e, t) {
1710
- const r = Oe(e).scrollLeft;
1711
- return t ? t.left + r : Q(B(e)).left + r;
1712
- }
1713
- function at(e, t, r) {
1714
- r === void 0 && (r = !1);
1715
- const n = e.getBoundingClientRect(), o = n.left + t.scrollLeft - (r ? 0 : (
1716
- // RTL <body> scrollbar.
1717
- Ve(e, n)
1718
- )), c = n.top + t.scrollTop;
1719
- return {
1720
- x: o,
1721
- y: c
1722
- };
1723
- }
1724
- function Cn(e) {
1725
- let {
1726
- elements: t,
1727
- rect: r,
1728
- offsetParent: n,
1729
- strategy: o
1730
- } = e;
1731
- const c = o === "fixed", l = B(n), f = t ? we(t.floating) : !1;
1732
- if (n === l || f && c)
1733
- return r;
1734
- let u = {
1735
- scrollLeft: 0,
1736
- scrollTop: 0
1737
- }, s = W(1);
1738
- const g = W(0), a = j(n);
1739
- if ((a || !a && !c) && ((ne(n) !== "body" || le(l)) && (u = Oe(n)), j(n))) {
1740
- const d = Q(n);
1741
- s = Z(n), g.x = d.x + n.clientLeft, g.y = d.y + n.clientTop;
1742
- }
1743
- const i = l && !a && !c ? at(l, u, !0) : W(0);
1744
- return {
1745
- width: r.width * s.x,
1746
- height: r.height * s.y,
1747
- x: r.x * s.x - u.scrollLeft * s.x + g.x + i.x,
1748
- y: r.y * s.y - u.scrollTop * s.y + g.y + i.y
1749
- };
1750
- }
1751
- function Dn(e) {
1752
- return Array.from(e.getClientRects());
1753
- }
1754
- function Mn(e) {
1755
- const t = B(e), r = Oe(e), n = e.ownerDocument.body, o = k(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = k(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
1756
- let l = -r.scrollLeft + Ve(e);
1757
- const f = -r.scrollTop;
1758
- return F(n).direction === "rtl" && (l += k(t.clientWidth, n.clientWidth) - o), {
1759
- width: o,
1760
- height: c,
1761
- x: l,
1762
- y: f
1763
- };
1764
- }
1765
- function Ln(e, t) {
1766
- const r = $(e), n = B(e), o = r.visualViewport;
1767
- let c = n.clientWidth, l = n.clientHeight, f = 0, u = 0;
1768
- if (o) {
1769
- c = o.width, l = o.height;
1770
- const s = ke();
1771
- (!s || s && t === "fixed") && (f = o.offsetLeft, u = o.offsetTop);
1772
- }
1773
- return {
1774
- width: c,
1775
- height: l,
1776
- x: f,
1777
- y: u
1778
- };
1779
- }
1780
- function kn(e, t) {
1781
- const r = Q(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, c = j(e) ? Z(e) : W(1), l = e.clientWidth * c.x, f = e.clientHeight * c.y, u = o * c.x, s = n * c.y;
1782
- return {
1783
- width: l,
1784
- height: f,
1785
- x: u,
1786
- y: s
1787
- };
1788
- }
1789
- function Ye(e, t, r) {
1790
- let n;
1791
- if (t === "viewport")
1792
- n = Ln(e, r);
1793
- else if (t === "document")
1794
- n = Mn(B(e));
1795
- else if (U(t))
1796
- n = kn(t, r);
1797
- else {
1798
- const o = ct(e);
1799
- n = {
1800
- x: t.x - o.x,
1801
- y: t.y - o.y,
1802
- width: t.width,
1803
- height: t.height
1804
- };
1805
- }
1806
- return he(n);
1807
- }
1808
- function lt(e, t) {
1809
- const r = J(e);
1810
- return r === t || !U(r) || ee(r) ? !1 : F(r).position === "fixed" || lt(r, t);
1811
- }
1812
- function $n(e, t) {
1813
- const r = t.get(e);
1814
- if (r)
1815
- return r;
1816
- let n = ae(e, [], !1).filter((f) => U(f) && ne(f) !== "body"), o = null;
1817
- const c = F(e).position === "fixed";
1818
- let l = c ? J(e) : e;
1819
- for (; U(l) && !ee(l); ) {
1820
- const f = F(l), u = Le(l);
1821
- !u && f.position === "fixed" && (o = null), (c ? !u && !o : !u && f.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || le(l) && !u && lt(e, l)) ? n = n.filter((g) => g !== l) : o = f, l = J(l);
1822
- }
1823
- return t.set(e, n), n;
1824
- }
1825
- function Vn(e) {
1826
- let {
1827
- element: t,
1828
- boundary: r,
1829
- rootBoundary: n,
1830
- strategy: o
1831
- } = e;
1832
- const l = [...r === "clippingAncestors" ? we(t) ? [] : $n(t, this._c) : [].concat(r), n], f = l[0], u = l.reduce((s, g) => {
1833
- const a = Ye(t, g, o);
1834
- return s.top = k(a.top, s.top), s.right = X(a.right, s.right), s.bottom = X(a.bottom, s.bottom), s.left = k(a.left, s.left), s;
1835
- }, Ye(t, f, o));
1836
- return {
1837
- width: u.right - u.left,
1838
- height: u.bottom - u.top,
1839
- x: u.left,
1840
- y: u.top
1841
- };
1842
- }
1843
- function Hn(e) {
1844
- const {
1845
- width: t,
1846
- height: r
1847
- } = st(e);
1848
- return {
1849
- width: t,
1850
- height: r
1851
- };
1852
- }
1853
- function zn(e, t, r) {
1854
- const n = j(t), o = B(t), c = r === "fixed", l = Q(e, !0, c, t);
1855
- let f = {
1856
- scrollLeft: 0,
1857
- scrollTop: 0
1858
- };
1859
- const u = W(0);
1860
- if (n || !n && !c)
1861
- if ((ne(t) !== "body" || le(o)) && (f = Oe(t)), n) {
1862
- const i = Q(t, !0, c, t);
1863
- u.x = i.x + t.clientLeft, u.y = i.y + t.clientTop;
1864
- } else o && (u.x = Ve(o));
1865
- const s = o && !n && !c ? at(o, f) : W(0), g = l.left + f.scrollLeft - u.x - s.x, a = l.top + f.scrollTop - u.y - s.y;
1866
- return {
1867
- x: g,
1868
- y: a,
1869
- width: l.width,
1870
- height: l.height
1871
- };
1872
- }
1873
- function Ee(e) {
1874
- return F(e).position === "static";
1875
- }
1876
- function Ge(e, t) {
1877
- if (!j(e) || F(e).position === "fixed")
1878
- return null;
1879
- if (t)
1880
- return t(e);
1881
- let r = e.offsetParent;
1882
- return B(e) === r && (r = r.ownerDocument.body), r;
1883
- }
1884
- function ut(e, t) {
1885
- const r = $(e);
1886
- if (we(e))
1887
- return r;
1888
- if (!j(e)) {
1889
- let o = J(e);
1890
- for (; o && !ee(o); ) {
1891
- if (U(o) && !Ee(o))
1892
- return o;
1893
- o = J(o);
1894
- }
1895
- return r;
1896
- }
1897
- let n = Ge(e, t);
1898
- for (; n && Tn(n) && Ee(n); )
1899
- n = Ge(n, t);
1900
- return n && ee(n) && Ee(n) && !Le(n) ? r : n || _n(e) || r;
1901
- }
1902
- const Un = async function(e) {
1903
- const t = this.getOffsetParent || ut, r = this.getDimensions, n = await r(e.floating);
1904
- return {
1905
- reference: zn(e.reference, await t(e.floating), e.strategy),
1906
- floating: {
1907
- x: 0,
1908
- y: 0,
1909
- width: n.width,
1910
- height: n.height
1911
- }
1912
- };
1913
- };
1914
- function Fn(e) {
1915
- return F(e).direction === "rtl";
1916
- }
1917
- const In = {
1918
- convertOffsetParentRelativeRectToViewportRelativeRect: Cn,
1919
- getDocumentElement: B,
1920
- getClippingRect: Vn,
1921
- getOffsetParent: ut,
1922
- getElementRects: Un,
1923
- getClientRects: Dn,
1924
- getDimensions: Hn,
1925
- getScale: Z,
1926
- isElement: U,
1927
- isRTL: Fn
1928
- };
1929
- function ft(e, t) {
1930
- return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
1931
- }
1932
- function Wn(e, t) {
1933
- let r = null, n;
1934
- const o = B(e);
1935
- function c() {
1936
- var f;
1937
- clearTimeout(n), (f = r) == null || f.disconnect(), r = null;
1938
- }
1939
- function l(f, u) {
1940
- f === void 0 && (f = !1), u === void 0 && (u = 1), c();
1941
- const s = e.getBoundingClientRect(), {
1942
- left: g,
1943
- top: a,
1944
- width: i,
1945
- height: d
1946
- } = s;
1947
- if (f || t(), !i || !d)
1948
- return;
1949
- const m = ge(a), p = ge(o.clientWidth - (g + i)), y = ge(o.clientHeight - (a + d)), v = ge(g), O = {
1950
- rootMargin: -m + "px " + -p + "px " + -y + "px " + -v + "px",
1951
- threshold: k(0, X(1, u)) || 1
1952
- };
1953
- let E = !0;
1954
- function S(A) {
1955
- const _ = A[0].intersectionRatio;
1956
- if (_ !== u) {
1957
- if (!E)
1958
- return l();
1959
- _ ? l(!1, _) : n = setTimeout(() => {
1960
- l(!1, 1e-7);
1961
- }, 1e3);
1962
- }
1963
- _ === 1 && !ft(s, e.getBoundingClientRect()) && l(), E = !1;
1964
- }
1965
- try {
1966
- r = new IntersectionObserver(S, {
1967
- ...O,
1968
- // Handle <iframe>s
1969
- root: o.ownerDocument
1970
- });
1971
- } catch {
1972
- r = new IntersectionObserver(S, O);
1973
- }
1974
- r.observe(e);
1975
- }
1976
- return l(!0), c;
1977
- }
1978
- function jn(e, t, r, n) {
1979
- n === void 0 && (n = {});
1980
- const {
1981
- ancestorScroll: o = !0,
1982
- ancestorResize: c = !0,
1983
- elementResize: l = typeof ResizeObserver == "function",
1984
- layoutShift: f = typeof IntersectionObserver == "function",
1985
- animationFrame: u = !1
1986
- } = n, s = $e(e), g = o || c ? [...s ? ae(s) : [], ...ae(t)] : [];
1987
- g.forEach((v) => {
1988
- o && v.addEventListener("scroll", r, {
1989
- passive: !0
1990
- }), c && v.addEventListener("resize", r);
1991
- });
1992
- const a = s && f ? Wn(s, r) : null;
1993
- let i = -1, d = null;
1994
- l && (d = new ResizeObserver((v) => {
1995
- let [w] = v;
1996
- w && w.target === s && d && (d.unobserve(t), cancelAnimationFrame(i), i = requestAnimationFrame(() => {
1997
- var O;
1998
- (O = d) == null || O.observe(t);
1999
- })), r();
2000
- }), s && !u && d.observe(s), d.observe(t));
2001
- let m, p = u ? Q(e) : null;
2002
- u && y();
2003
- function y() {
2004
- const v = Q(e);
2005
- p && !ft(p, v) && r(), p = v, m = requestAnimationFrame(y);
2006
- }
2007
- return r(), () => {
2008
- var v;
2009
- g.forEach((w) => {
2010
- o && w.removeEventListener("scroll", r), c && w.removeEventListener("resize", r);
2011
- }), a?.(), (v = d) == null || v.disconnect(), d = null, u && cancelAnimationFrame(m);
2012
- };
2013
- }
2014
- const Bn = Sn, qn = En, Yn = wn, Gn = An, Kn = On, Xn = xn, Jn = Rn, Qn = (e, t, r) => {
2015
- const n = /* @__PURE__ */ new Map(), o = {
2016
- platform: In,
2017
- ...r
2018
- }, c = {
2019
- ...o.platform,
2020
- _c: n
2021
- };
2022
- return vn(e, t, {
2023
- ...o,
2024
- platform: c
2025
- });
2026
- };
2027
- function Ke(e = 0, t = 0, r = 0, n = 0) {
2028
- if (typeof DOMRect == "function")
2029
- return new DOMRect(e, t, r, n);
2030
- const o = {
2031
- x: e,
2032
- y: t,
2033
- width: r,
2034
- height: n,
2035
- top: t,
2036
- right: e + r,
2037
- bottom: t + n,
2038
- left: e
2039
- };
2040
- return { ...o, toJSON: () => o };
2041
- }
2042
- function Zn(e) {
2043
- if (!e) return Ke();
2044
- const { x: t, y: r, width: n, height: o } = e;
2045
- return Ke(t, r, n, o);
2046
- }
2047
- function er(e, t) {
2048
- return {
2049
- contextElement: Tt(e) ? e : void 0,
2050
- getBoundingClientRect: () => {
2051
- const r = e, n = t?.(r);
2052
- return n || !r ? Zn(n) : r.getBoundingClientRect();
2053
- }
2054
- };
2055
- }
2056
- var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
2057
- arrowSize: oe("--arrow-size"),
2058
- arrowSizeHalf: oe("--arrow-size-half"),
2059
- arrowBg: oe("--arrow-background"),
2060
- transformOrigin: oe("--transform-origin"),
2061
- arrowOffset: oe("--arrow-offset")
2062
- }, tr = (e) => ({
2063
- top: "bottom center",
2064
- "top-start": e ? `${e.x}px bottom` : "left bottom",
2065
- "top-end": e ? `${e.x}px bottom` : "right bottom",
2066
- bottom: "top center",
2067
- "bottom-start": e ? `${e.x}px top` : "top left",
2068
- "bottom-end": e ? `${e.x}px top` : "top right",
2069
- left: "right center",
2070
- "left-start": e ? `right ${e.y}px` : "right top",
2071
- "left-end": e ? `right ${e.y}px` : "right bottom",
2072
- right: "left center",
2073
- "right-start": e ? `left ${e.y}px` : "left top",
2074
- "right-end": e ? `left ${e.y}px` : "left bottom"
2075
- }), nr = {
2076
- name: "transformOrigin",
2077
- fn({ placement: e, elements: t, middlewareData: r }) {
2078
- const { arrow: n } = r, o = tr(n)[e], { floating: c } = t;
2079
- return c.style.setProperty(q.transformOrigin.variable, o), {
2080
- data: { transformOrigin: o }
2081
- };
2082
- }
2083
- }, rr = {
2084
- name: "rects",
2085
- fn({ rects: e }) {
2086
- return {
2087
- data: e
2088
- };
2089
- }
2090
- }, or = (e) => {
2091
- if (e)
2092
- return {
2093
- name: "shiftArrow",
2094
- fn({ placement: t, middlewareData: r }) {
2095
- if (!r.arrow) return {};
2096
- const { x: n, y: o } = r.arrow, c = t.split("-")[0];
2097
- return Object.assign(e.style, {
2098
- left: n != null ? `${n}px` : "",
2099
- top: o != null ? `${o}px` : "",
2100
- [c]: `calc(100% + ${q.arrowOffset.reference})`
2101
- }), {};
2102
- }
2103
- };
2104
- };
2105
- function ir(e) {
2106
- const [t, r] = e.split("-");
2107
- return { side: t, align: r, hasAlign: r != null };
2108
- }
2109
- function Tr(e) {
2110
- return e.split("-")[0];
2111
- }
2112
- var sr = {
2113
- strategy: "absolute",
2114
- placement: "bottom",
2115
- listeners: !0,
2116
- gutter: 8,
2117
- flip: !0,
2118
- slide: !0,
2119
- overlap: !1,
2120
- sameWidth: !1,
2121
- fitViewport: !1,
2122
- overflowPadding: 8,
2123
- arrowPadding: 4
2124
- };
2125
- function Xe(e, t) {
2126
- const r = e.devicePixelRatio || 1;
2127
- return Math.round(t * r) / r;
2128
- }
2129
- function dt(e) {
2130
- return Pt(e.boundary);
2131
- }
2132
- function cr(e, t) {
2133
- if (e)
2134
- return Xn({
2135
- element: e,
2136
- padding: t.arrowPadding
2137
- });
2138
- }
2139
- function ar(e, t) {
2140
- if (!_t(t.offset ?? t.gutter))
2141
- return Bn(({ placement: r }) => {
2142
- const n = (e?.clientHeight || 0) / 2, o = t.offset?.mainAxis ?? t.gutter, c = typeof o == "number" ? o + n : o ?? n, { hasAlign: l } = ir(r), f = l ? void 0 : t.shift, u = t.offset?.crossAxis ?? f;
2143
- return Je({
2144
- crossAxis: u,
2145
- mainAxis: c,
2146
- alignmentAxis: t.shift
2147
- });
2148
- });
2149
- }
2150
- function lr(e) {
2151
- if (e.flip)
2152
- return Yn({
2153
- boundary: dt(e),
2154
- padding: e.overflowPadding,
2155
- fallbackPlacements: e.flip === !0 ? void 0 : e.flip
2156
- });
2157
- }
2158
- function ur(e) {
2159
- if (!(!e.slide && !e.overlap))
2160
- return qn({
2161
- boundary: dt(e),
2162
- mainAxis: e.slide,
2163
- crossAxis: e.overlap,
2164
- padding: e.overflowPadding,
2165
- limiter: Jn()
2166
- });
2167
- }
2168
- function fr(e) {
2169
- return Gn({
2170
- padding: e.overflowPadding,
2171
- apply({ elements: t, rects: r, availableHeight: n, availableWidth: o }) {
2172
- const c = t.floating, l = Math.round(r.reference.width);
2173
- o = Math.floor(o), n = Math.floor(n), c.style.setProperty("--reference-width", `${l}px`), c.style.setProperty("--available-width", `${o}px`), c.style.setProperty("--available-height", `${n}px`);
2174
- }
2175
- });
2176
- }
2177
- function dr(e) {
2178
- if (e.hideWhenDetached)
2179
- return Kn({ strategy: "referenceHidden", boundary: e.boundary?.() ?? "clippingAncestors" });
2180
- }
2181
- function gr(e) {
2182
- return e ? e === !0 ? { ancestorResize: !0, ancestorScroll: !0, elementResize: !0, layoutShift: !0 } : e : {};
2183
- }
2184
- function mr(e, t, r = {}) {
2185
- const n = er(e, r.getAnchorRect);
2186
- if (!t || !n) return;
2187
- const o = Object.assign({}, sr, r), c = t.querySelector("[data-part=arrow]"), l = [
2188
- ar(c, o),
2189
- lr(o),
2190
- ur(o),
2191
- cr(c, o),
2192
- or(c),
2193
- nr,
2194
- fr(o),
2195
- dr(o),
2196
- rr
2197
- ], { placement: f, strategy: u, onComplete: s, onPositioned: g } = o, a = async () => {
2198
- if (!n || !t) return;
2199
- const p = await Qn(n, t, {
2200
- placement: f,
2201
- middleware: l,
2202
- strategy: u
2203
- });
2204
- s?.(p), g?.({ placed: !0 });
2205
- const y = Nt(t), v = Xe(y, p.x), w = Xe(y, p.y);
2206
- t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${w}px`), o.hideWhenDetached && (p.middlewareData.hide?.referenceHidden ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
2207
- const O = t.firstElementChild;
2208
- if (O) {
2209
- const E = Qe(O);
2210
- t.style.setProperty("--z-index", E.zIndex);
2211
- }
2212
- }, i = async () => {
2213
- r.updatePosition ? (await r.updatePosition({ updatePosition: a }), g?.({ placed: !0 })) : await a();
2214
- }, d = gr(o.listeners), m = o.listeners ? jn(n, t, i, d) : At;
2215
- return i(), () => {
2216
- m?.(), g?.({ placed: !1 });
2217
- };
2218
- }
2219
- function _r(e, t, r = {}) {
2220
- const { defer: n, ...o } = r, c = n ? Re : (f) => f(), l = [];
2221
- return l.push(
2222
- c(() => {
2223
- const f = typeof e == "function" ? e() : e, u = typeof t == "function" ? t() : t;
2224
- l.push(mr(f, u, o));
2225
- })
2226
- ), () => {
2227
- l.forEach((f) => f?.());
2228
- };
2229
- }
2230
- var pr = {
2231
- bottom: "rotate(45deg)",
2232
- left: "rotate(135deg)",
2233
- top: "rotate(225deg)",
2234
- right: "rotate(315deg)"
2235
- };
2236
- function Pr(e = {}) {
2237
- const { placement: t, sameWidth: r, fitViewport: n, strategy: o = "absolute" } = e;
2238
- return {
2239
- arrow: {
2240
- position: "absolute",
2241
- width: q.arrowSize.reference,
2242
- height: q.arrowSize.reference,
2243
- [q.arrowSizeHalf.variable]: `calc(${q.arrowSize.reference} / 2)`,
2244
- [q.arrowOffset.variable]: `calc(${q.arrowSizeHalf.reference} * -1)`
2245
- },
2246
- arrowTip: {
2247
- // @ts-expect-error - Fix this
2248
- transform: t ? pr[t.split("-")[0]] : void 0,
2249
- background: q.arrowBg.reference,
2250
- top: "0",
2251
- left: "0",
2252
- width: "100%",
2253
- height: "100%",
2254
- position: "absolute",
2255
- zIndex: "inherit"
2256
- },
2257
- floating: {
2258
- position: o,
2259
- isolation: "isolate",
2260
- minWidth: r ? void 0 : "max-content",
2261
- width: r ? "var(--reference-width)" : void 0,
2262
- maxWidth: n ? "var(--available-width)" : void 0,
2263
- maxHeight: n ? "var(--available-height)" : void 0,
2264
- pointerEvents: t ? void 0 : "none",
2265
- top: "0px",
2266
- left: "0px",
2267
- // move off-screen if placement is not defined
2268
- transform: t ? "translate3d(var(--x), var(--y), 0)" : "translate3d(0, -100vh, 0)",
2269
- zIndex: "var(--z-index)"
2270
- }
2271
- };
2272
- }
2273
- const [Nr, Cr] = Ne({
2274
- name: "LocaleContext",
2275
- hookName: "useLocaleContext",
2276
- providerName: "<LocaleProvider />",
2277
- strict: !1,
2278
- defaultValue: { dir: "ltr", locale: "en-US" }
2279
- });
2280
- export {
2281
- wr as P,
2282
- on as a,
2283
- Cr as b,
2284
- Ne as c,
2285
- Zt as d,
2286
- Xt as e,
2287
- Pr as f,
2288
- _r as g,
2289
- Tr as h,
2290
- br as i,
2291
- tn as j,
2292
- Er as k,
2293
- Ar as l,
2294
- Sr as m,
2295
- Or as n,
2296
- an as o,
2297
- ve as r,
2298
- Rr as s,
2299
- qt as u
2300
- };
2301
- //# sourceMappingURL=use-locale-context-DMynFc1_.js.map