@televet/kibble-ui 4.0.0-beta.9 → 4.0.0-beta.91

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 (1317) hide show
  1. package/README.md +40 -0
  2. package/dist/chunks/IconLogo-C4aZqkn1.js +2 -0
  3. package/dist/chunks/IconLogo-C4aZqkn1.js.map +1 -0
  4. package/dist/chunks/IconLogo-UpYiHEKq.js +50 -0
  5. package/dist/chunks/IconLogo-UpYiHEKq.js.map +1 -0
  6. package/dist/chunks/alert.types-DNeGpiVS.js +2 -0
  7. package/dist/chunks/alert.types-DNeGpiVS.js.map +1 -0
  8. package/dist/chunks/alert.types-DeHWvQla.js +139 -0
  9. package/dist/chunks/alert.types-DeHWvQla.js.map +1 -0
  10. package/dist/chunks/attr-BMs6szZx.js +2 -0
  11. package/dist/chunks/attr-BMs6szZx.js.map +1 -0
  12. package/dist/chunks/attr-sm10PXOd.js +5 -0
  13. package/dist/chunks/attr-sm10PXOd.js.map +1 -0
  14. package/dist/chunks/avatar.component-CV_95YCj.js +394 -0
  15. package/dist/chunks/avatar.component-CV_95YCj.js.map +1 -0
  16. package/dist/chunks/avatar.component-SZi87lRl.js +2 -0
  17. package/dist/chunks/avatar.component-SZi87lRl.js.map +1 -0
  18. package/dist/chunks/avatar.types-Bmt5Uhfb.js.map +1 -1
  19. package/dist/chunks/avatar.types-C6dZZjdi.js +6 -0
  20. package/dist/chunks/avatar.types-C6dZZjdi.js.map +1 -0
  21. package/dist/chunks/avatarGroup.component-Bp-_csZz.js +2 -0
  22. package/dist/chunks/avatarGroup.component-Bp-_csZz.js.map +1 -0
  23. package/dist/chunks/avatarGroup.component-CPTXS5Mp.js +67 -0
  24. package/dist/chunks/avatarGroup.component-CPTXS5Mp.js.map +1 -0
  25. package/dist/chunks/box-Baq7UBls.js +2 -0
  26. package/dist/chunks/box-Baq7UBls.js.map +1 -0
  27. package/dist/chunks/box-Ck9I7FYv.js +7 -0
  28. package/dist/chunks/box-Ck9I7FYv.js.map +1 -0
  29. package/dist/chunks/button.component-CY55RWpS.js +2 -0
  30. package/dist/chunks/button.component-CY55RWpS.js.map +1 -0
  31. package/dist/chunks/button.component-DOAhnxbj.js +67 -0
  32. package/dist/chunks/button.component-DOAhnxbj.js.map +1 -0
  33. package/dist/chunks/button.types-CujqF5RD.js.map +1 -1
  34. package/dist/chunks/button.types-DsLMGraz.js.map +1 -1
  35. package/dist/chunks/buttonGroup.component-BJl5t4CV.js +68 -0
  36. package/dist/chunks/buttonGroup.component-BJl5t4CV.js.map +1 -0
  37. package/dist/chunks/buttonGroup.component-CHZoLKsR.js +2 -0
  38. package/dist/chunks/buttonGroup.component-CHZoLKsR.js.map +1 -0
  39. package/dist/chunks/card.component-DNX41NGG.js +59 -0
  40. package/dist/chunks/card.component-DNX41NGG.js.map +1 -0
  41. package/dist/chunks/card.component-KNc4HKSh.js +2 -0
  42. package/dist/chunks/card.component-KNc4HKSh.js.map +1 -0
  43. package/dist/chunks/card.types-Cixp7ouC.js +5 -0
  44. package/dist/chunks/card.types-Cixp7ouC.js.map +1 -0
  45. package/dist/chunks/card.types-MvkQTTZF.js +2 -0
  46. package/dist/chunks/card.types-MvkQTTZF.js.map +1 -0
  47. package/dist/chunks/characterCounter.component-C4sKYWJ2.js +84 -0
  48. package/dist/chunks/characterCounter.component-C4sKYWJ2.js.map +1 -0
  49. package/dist/chunks/characterCounter.component-Cvw7D33c.js +2 -0
  50. package/dist/chunks/characterCounter.component-Cvw7D33c.js.map +1 -0
  51. package/dist/chunks/checkbox.component-BpSGOInE.js +281 -0
  52. package/dist/chunks/checkbox.component-BpSGOInE.js.map +1 -0
  53. package/dist/chunks/checkbox.component-CY7ZklEW.js +2 -0
  54. package/dist/chunks/checkbox.component-CY7ZklEW.js.map +1 -0
  55. package/dist/chunks/checkbox.records-CTlAD-2Q.js +266 -0
  56. package/dist/chunks/checkbox.records-CTlAD-2Q.js.map +1 -0
  57. package/dist/chunks/checkbox.records-DI3mqSNf.js +2 -0
  58. package/dist/chunks/checkbox.records-DI3mqSNf.js.map +1 -0
  59. package/dist/chunks/checkboxGroup.component-B154cVx5.js +52 -0
  60. package/dist/chunks/checkboxGroup.component-B154cVx5.js.map +1 -0
  61. package/dist/chunks/checkboxGroup.component-DsXi7j46.js +2 -0
  62. package/dist/chunks/checkboxGroup.component-DsXi7j46.js.map +1 -0
  63. package/dist/chunks/config-BFcXpdZo.js +2 -0
  64. package/dist/chunks/config-BFcXpdZo.js.map +1 -0
  65. package/dist/chunks/config-DlTdf-Yt.js +57 -0
  66. package/dist/chunks/config-DlTdf-Yt.js.map +1 -0
  67. package/dist/chunks/conversationCard.component-CSJXjO4D.js +2 -0
  68. package/dist/chunks/conversationCard.component-CSJXjO4D.js.map +1 -0
  69. package/dist/chunks/conversationCard.component-DCpGDLwc.js +330 -0
  70. package/dist/chunks/conversationCard.component-DCpGDLwc.js.map +1 -0
  71. package/dist/chunks/create-recipe-context-D7FewUR4.js +62 -0
  72. package/dist/chunks/create-recipe-context-D7FewUR4.js.map +1 -0
  73. package/dist/chunks/create-recipe-context-sESms8Eo.js +2 -0
  74. package/dist/chunks/create-recipe-context-sESms8Eo.js.map +1 -0
  75. package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +97 -0
  76. package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +1 -0
  77. package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +2 -0
  78. package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +1 -0
  79. package/dist/chunks/datePicker.component-DSEMVYWG.js +3015 -0
  80. package/dist/chunks/datePicker.component-DSEMVYWG.js.map +1 -0
  81. package/dist/chunks/datePicker.component-DmxLdt_M.js +15 -0
  82. package/dist/chunks/datePicker.component-DmxLdt_M.js.map +1 -0
  83. package/dist/chunks/dialog-trigger-MkOQUjzu.js +2 -0
  84. package/dist/chunks/dialog-trigger-MkOQUjzu.js.map +1 -0
  85. package/dist/chunks/dialog-trigger-eqGXDXGQ.js +78 -0
  86. package/dist/chunks/dialog-trigger-eqGXDXGQ.js.map +1 -0
  87. package/dist/chunks/divider.types-0j5qRXed.js +47 -0
  88. package/dist/chunks/divider.types-0j5qRXed.js.map +1 -0
  89. package/dist/chunks/divider.types-CK5oFy-i.js +2 -0
  90. package/dist/chunks/divider.types-CK5oFy-i.js.map +1 -0
  91. package/dist/chunks/empty-B5_AO6Pg.js +2 -0
  92. package/dist/chunks/empty-B5_AO6Pg.js.map +1 -0
  93. package/dist/chunks/empty-BU2EAux9.js +8 -0
  94. package/dist/chunks/empty-BU2EAux9.js.map +1 -0
  95. package/dist/chunks/factory-Ctbv0Ozn.js +500 -0
  96. package/dist/chunks/factory-Ctbv0Ozn.js.map +1 -0
  97. package/dist/chunks/factory-D6tdBUPG.js +3 -0
  98. package/dist/chunks/factory-D6tdBUPG.js.map +1 -0
  99. package/dist/chunks/flex-D14H6HbP.js +2 -0
  100. package/dist/chunks/flex-D14H6HbP.js.map +1 -0
  101. package/dist/chunks/flex-smlF8uQG.js +40 -0
  102. package/dist/chunks/flex-smlF8uQG.js.map +1 -0
  103. package/dist/chunks/float-DYLtz2A6.js +64 -0
  104. package/dist/chunks/float-DYLtz2A6.js.map +1 -0
  105. package/dist/chunks/float-OQXnYWBw.js +2 -0
  106. package/dist/chunks/float-OQXnYWBw.js.map +1 -0
  107. package/dist/chunks/format-BRt-TIiQ.js +2 -0
  108. package/dist/chunks/format-BRt-TIiQ.js.map +1 -0
  109. package/dist/chunks/format-DgHM6wFr.js +1275 -0
  110. package/dist/chunks/format-DgHM6wFr.js.map +1 -0
  111. package/dist/chunks/grid-item-BV4dwEBP.js +90 -0
  112. package/dist/chunks/grid-item-BV4dwEBP.js.map +1 -0
  113. package/dist/chunks/grid-item-CR-sXrjU.js +2 -0
  114. package/dist/chunks/grid-item-CR-sXrjU.js.map +1 -0
  115. package/dist/chunks/group-Cv7AQw1b.js +2 -0
  116. package/dist/chunks/group-Cv7AQw1b.js.map +1 -0
  117. package/dist/chunks/group-DPCVolOl.js +139 -0
  118. package/dist/chunks/group-DPCVolOl.js.map +1 -0
  119. package/dist/chunks/h-stack-Bjx9hlJo.js +2 -0
  120. package/dist/chunks/h-stack-Bjx9hlJo.js.map +1 -0
  121. package/dist/chunks/h-stack-Ce6JSBK2.js +12 -0
  122. package/dist/chunks/h-stack-Ce6JSBK2.js.map +1 -0
  123. package/dist/chunks/heading.component-BHha3j1I.js +12 -0
  124. package/dist/chunks/heading.component-BHha3j1I.js.map +1 -0
  125. package/dist/chunks/heading.component-DNsKd4Gh.js +2 -0
  126. package/dist/chunks/heading.component-DNsKd4Gh.js.map +1 -0
  127. package/dist/chunks/icon-button-DTZOklQ9.js +119 -0
  128. package/dist/chunks/icon-button-DTZOklQ9.js.map +1 -0
  129. package/dist/chunks/icon-button-DtjZ-SdQ.js +2 -0
  130. package/dist/chunks/icon-button-DtjZ-SdQ.js.map +1 -0
  131. package/dist/chunks/icon.component-DszmCnE4.js +32 -0
  132. package/dist/chunks/icon.component-DszmCnE4.js.map +1 -0
  133. package/dist/chunks/icon.component-aJ690VpJ.js +2 -0
  134. package/dist/chunks/icon.component-aJ690VpJ.js.map +1 -0
  135. package/dist/chunks/icon.types-2obj_NKG.js.map +1 -1
  136. package/dist/chunks/icon.types-DLbVfMjG.js.map +1 -1
  137. package/dist/chunks/icons-BXxdrBrf.js +216 -0
  138. package/dist/chunks/icons-BXxdrBrf.js.map +1 -0
  139. package/dist/chunks/icons-CTpAjbC-.js +2 -0
  140. package/dist/chunks/icons-CTpAjbC-.js.map +1 -0
  141. package/dist/chunks/index-BR7peqZO.js +2 -0
  142. package/dist/chunks/index-BR7peqZO.js.map +1 -0
  143. package/dist/chunks/index-Bff1r_rH.js +389 -0
  144. package/dist/chunks/index-Bff1r_rH.js.map +1 -0
  145. package/dist/chunks/index-Bz8HDeWA.js +70 -0
  146. package/dist/chunks/index-Bz8HDeWA.js.map +1 -0
  147. package/dist/chunks/index-CHIISuTq.js +3 -0
  148. package/dist/chunks/index-CHIISuTq.js.map +1 -0
  149. package/dist/chunks/index-CJLttzPM.js +141 -0
  150. package/dist/chunks/index-CJLttzPM.js.map +1 -0
  151. package/dist/chunks/index-CS8X6LiC.js +2 -0
  152. package/dist/chunks/index-CS8X6LiC.js.map +1 -0
  153. package/dist/chunks/index-C_AXAeNS.js +290 -0
  154. package/dist/chunks/index-C_AXAeNS.js.map +1 -0
  155. package/dist/chunks/index-Cbkb_94C.js +1195 -0
  156. package/dist/chunks/index-Cbkb_94C.js.map +1 -0
  157. package/dist/chunks/index-CtXUprYH.js +2 -0
  158. package/dist/chunks/index-CtXUprYH.js.map +1 -0
  159. package/dist/chunks/index-DAWHN3cH.js +86 -0
  160. package/dist/chunks/index-DAWHN3cH.js.map +1 -0
  161. package/dist/chunks/index-DBk0LkcO.js +2 -0
  162. package/dist/chunks/index-DBk0LkcO.js.map +1 -0
  163. package/dist/chunks/index-DD49WSSW.js +2 -0
  164. package/dist/chunks/index-DD49WSSW.js.map +1 -0
  165. package/dist/chunks/index-DOXzraja.js +2 -0
  166. package/dist/chunks/index-DOXzraja.js.map +1 -0
  167. package/dist/chunks/index-DSedXH1s.js +2 -0
  168. package/dist/chunks/index-DSedXH1s.js.map +1 -0
  169. package/dist/chunks/index-DUY19L6M.js +6312 -0
  170. package/dist/chunks/index-DUY19L6M.js.map +1 -0
  171. package/dist/chunks/index-DVNjUEDJ.js +257 -0
  172. package/dist/chunks/index-DVNjUEDJ.js.map +1 -0
  173. package/dist/chunks/index-DbTEJc-K.js +2 -0
  174. package/dist/chunks/index-DbTEJc-K.js.map +1 -0
  175. package/dist/chunks/index-DowO8Ued.js +2 -0
  176. package/dist/chunks/index-DowO8Ued.js.map +1 -0
  177. package/dist/chunks/index-L197Dry5.js +375 -0
  178. package/dist/chunks/index-L197Dry5.js.map +1 -0
  179. package/dist/chunks/index-OpolRlgD.js +444 -0
  180. package/dist/chunks/index-OpolRlgD.js.map +1 -0
  181. package/dist/chunks/index-QTIBH1Or.js +2 -0
  182. package/dist/chunks/index-QTIBH1Or.js.map +1 -0
  183. package/dist/chunks/index-YtNA0Ueo.js +1328 -0
  184. package/dist/chunks/index-YtNA0Ueo.js.map +1 -0
  185. package/dist/chunks/index-cSjUS7Xj.js +1189 -0
  186. package/dist/chunks/index-cSjUS7Xj.js.map +1 -0
  187. package/dist/chunks/index-iaug4k6v.js +8 -0
  188. package/dist/chunks/index-iaug4k6v.js.map +1 -0
  189. package/dist/chunks/isSymbol-BQN49XhJ.js +67 -0
  190. package/dist/chunks/isSymbol-BQN49XhJ.js.map +1 -0
  191. package/dist/chunks/isSymbol-BdGeV_e0.js +2 -0
  192. package/dist/chunks/isSymbol-BdGeV_e0.js.map +1 -0
  193. package/dist/chunks/jsx-runtime-BjDatQAs.js +23 -0
  194. package/dist/chunks/jsx-runtime-BjDatQAs.js.map +1 -0
  195. package/dist/chunks/jsx-runtime-C5mzlN2N.js +285 -0
  196. package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +1 -0
  197. package/dist/chunks/link.component-BeuHEk8s.js +2 -0
  198. package/dist/chunks/link.component-BeuHEk8s.js.map +1 -0
  199. package/dist/chunks/link.component-COw7fL8Z.js +36 -0
  200. package/dist/chunks/link.component-COw7fL8Z.js.map +1 -0
  201. package/dist/chunks/list-C_LmDoyW.js +2 -0
  202. package/dist/chunks/list-C_LmDoyW.js.map +1 -0
  203. package/dist/chunks/list-DqH5ttQG.js +20 -0
  204. package/dist/chunks/list-DqH5ttQG.js.map +1 -0
  205. package/dist/chunks/logo.types-BbSodfBq.js +76 -0
  206. package/dist/chunks/logo.types-BbSodfBq.js.map +1 -0
  207. package/dist/chunks/logo.types-CA_5hGAi.js +2 -0
  208. package/dist/chunks/logo.types-CA_5hGAi.js.map +1 -0
  209. package/dist/chunks/menu.component-D38vU6MX.js +599 -0
  210. package/dist/chunks/menu.component-D38vU6MX.js.map +1 -0
  211. package/dist/chunks/menu.component-DVKNEINC.js +2 -0
  212. package/dist/chunks/menu.component-DVKNEINC.js.map +1 -0
  213. package/dist/chunks/modal.types-Bbh7jkHL.js +2 -0
  214. package/dist/chunks/modal.types-Bbh7jkHL.js.map +1 -0
  215. package/dist/chunks/modal.types-mGxpGfVt.js +139 -0
  216. package/dist/chunks/modal.types-mGxpGfVt.js.map +1 -0
  217. package/dist/chunks/notificationCounter.component-BhZcuBmr.js +2 -0
  218. package/dist/chunks/notificationCounter.component-BhZcuBmr.js.map +1 -0
  219. package/dist/chunks/notificationCounter.component-BzhAKrKR.js +119 -0
  220. package/dist/chunks/notificationCounter.component-BzhAKrKR.js.map +1 -0
  221. package/dist/chunks/notificationCounter.types-B_-siNfi.js +2 -0
  222. package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +1 -0
  223. package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js +6 -0
  224. package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js.map +1 -0
  225. package/dist/chunks/omit-C-j4TrF5.js +10 -0
  226. package/dist/chunks/omit-C-j4TrF5.js.map +1 -0
  227. package/dist/chunks/omit-DqNeoZ8h.js +2 -0
  228. package/dist/chunks/omit-DqNeoZ8h.js.map +1 -0
  229. package/dist/chunks/picture.component-C2C2r_BU.js +2 -0
  230. package/dist/chunks/picture.component-C2C2r_BU.js.map +1 -0
  231. package/dist/chunks/picture.component-DECGd77u.js +22 -0
  232. package/dist/chunks/picture.component-DECGd77u.js.map +1 -0
  233. package/dist/chunks/pinInput.types-BlHIF-kD.js +2 -0
  234. package/dist/chunks/pinInput.types-BlHIF-kD.js.map +1 -0
  235. package/dist/chunks/pinInput.types-CD_tKvQm.js +145 -0
  236. package/dist/chunks/pinInput.types-CD_tKvQm.js.map +1 -0
  237. package/dist/chunks/popover-root-provider-BErev2-N.js +43 -0
  238. package/dist/chunks/popover-root-provider-BErev2-N.js.map +1 -0
  239. package/dist/chunks/popover-root-provider-C2iwUZJn.js +2 -0
  240. package/dist/chunks/popover-root-provider-C2iwUZJn.js.map +1 -0
  241. package/dist/chunks/popover.component-CDvn34mM.js +2 -0
  242. package/dist/chunks/popover.component-CDvn34mM.js.map +1 -0
  243. package/dist/chunks/popover.component-DBDBFljk.js +197 -0
  244. package/dist/chunks/popover.component-DBDBFljk.js.map +1 -0
  245. package/dist/chunks/popover.recipe-CQYAiRTB.js +2 -0
  246. package/dist/chunks/popover.recipe-CQYAiRTB.js.map +1 -0
  247. package/dist/chunks/popover.recipe-DlJtOeLy.js +241 -0
  248. package/dist/chunks/popover.recipe-DlJtOeLy.js.map +1 -0
  249. package/dist/chunks/popover.types-BF2KRf_I.js.map +1 -1
  250. package/dist/chunks/popover.types-D1O-Ehsz.js +7 -0
  251. package/dist/chunks/popover.types-D1O-Ehsz.js.map +1 -0
  252. package/dist/chunks/provider-ClCAdPxy.js +47 -0
  253. package/dist/chunks/provider-ClCAdPxy.js.map +1 -0
  254. package/dist/chunks/provider-NDo8kOkE.js +2 -0
  255. package/dist/chunks/provider-NDo8kOkE.js.map +1 -0
  256. package/dist/chunks/radio.records-4ih1q8nO.js +382 -0
  257. package/dist/chunks/radio.records-4ih1q8nO.js.map +1 -0
  258. package/dist/chunks/radio.records-j0JOqaJ4.js +2 -0
  259. package/dist/chunks/radio.records-j0JOqaJ4.js.map +1 -0
  260. package/dist/chunks/radioGroup.component-DJsYK4YT.js +254 -0
  261. package/dist/chunks/radioGroup.component-DJsYK4YT.js.map +1 -0
  262. package/dist/chunks/radioGroup.component-SvJktaFu.js +2 -0
  263. package/dist/chunks/radioGroup.component-SvJktaFu.js.map +1 -0
  264. package/dist/chunks/ratingDots.component-BdUvoShh.js +138 -0
  265. package/dist/chunks/ratingDots.component-BdUvoShh.js.map +1 -0
  266. package/dist/chunks/ratingDots.component-CRiV8Gx3.js +2 -0
  267. package/dist/chunks/ratingDots.component-CRiV8Gx3.js.map +1 -0
  268. package/dist/chunks/render-strategy-CHp7lb6C.js +12 -0
  269. package/dist/chunks/render-strategy-CHp7lb6C.js.map +1 -0
  270. package/dist/chunks/render-strategy-C_zp9LNQ.js +2 -0
  271. package/dist/chunks/render-strategy-C_zp9LNQ.js.map +1 -0
  272. package/dist/chunks/select.component-BNMyz5Nm.js +1054 -0
  273. package/dist/chunks/select.component-BNMyz5Nm.js.map +1 -0
  274. package/dist/chunks/select.component-a6mH3buQ.js +2 -0
  275. package/dist/chunks/select.component-a6mH3buQ.js.map +1 -0
  276. package/dist/chunks/sortableList.component-BKthQS8R.js +3327 -0
  277. package/dist/chunks/sortableList.component-BKthQS8R.js.map +1 -0
  278. package/dist/chunks/sortableList.component-DceIFi13.js +6 -0
  279. package/dist/chunks/sortableList.component-DceIFi13.js.map +1 -0
  280. package/dist/chunks/spinner-BWqSIW6m.js +8 -0
  281. package/dist/chunks/spinner-BWqSIW6m.js.map +1 -0
  282. package/dist/chunks/spinner-BnpL14kK.js +2 -0
  283. package/dist/chunks/spinner-BnpL14kK.js.map +1 -0
  284. package/dist/chunks/spinner.component-CzTRzWbL.js +179 -0
  285. package/dist/chunks/spinner.component-CzTRzWbL.js.map +1 -0
  286. package/dist/chunks/spinner.component-lZds47YM.js +2 -0
  287. package/dist/chunks/spinner.component-lZds47YM.js.map +1 -0
  288. package/dist/chunks/spinner.types-BCLN5-H2.js.map +1 -1
  289. package/dist/chunks/spinner.types-g7cTFJkb.js.map +1 -1
  290. package/dist/chunks/stack-BKu3hWEQ.js +2 -0
  291. package/dist/chunks/stack-BKu3hWEQ.js.map +1 -0
  292. package/dist/chunks/stack-Dnuh5Zgf.js +85 -0
  293. package/dist/chunks/stack-Dnuh5Zgf.js.map +1 -0
  294. package/dist/chunks/styledAvatar.types-BNejv6F7.js +2 -0
  295. package/dist/chunks/styledAvatar.types-BNejv6F7.js.map +1 -0
  296. package/dist/chunks/styledAvatar.types-DXwe2DPH.js +51 -0
  297. package/dist/chunks/styledAvatar.types-DXwe2DPH.js.map +1 -0
  298. package/dist/chunks/swatch.types-DbgA3RWc.js +67 -0
  299. package/dist/chunks/swatch.types-DbgA3RWc.js.map +1 -0
  300. package/dist/chunks/swatch.types-DiX-4lpJ.js +2 -0
  301. package/dist/chunks/swatch.types-DiX-4lpJ.js.map +1 -0
  302. package/dist/chunks/switch.component-DC6-XTlo.js +2 -0
  303. package/dist/chunks/switch.component-DC6-XTlo.js.map +1 -0
  304. package/dist/chunks/switch.component-DVHjLc9H.js +154 -0
  305. package/dist/chunks/switch.component-DVHjLc9H.js.map +1 -0
  306. package/dist/chunks/tabs.component-DKW-zlGD.js +2 -0
  307. package/dist/chunks/tabs.component-DKW-zlGD.js.map +1 -0
  308. package/dist/chunks/tabs.component-b8VxTs-T.js +614 -0
  309. package/dist/chunks/tabs.component-b8VxTs-T.js.map +1 -0
  310. package/dist/chunks/tag.component-BAH11mPX.js +82 -0
  311. package/dist/chunks/tag.component-BAH11mPX.js.map +1 -0
  312. package/dist/chunks/tag.component-DcEASytC.js +2 -0
  313. package/dist/chunks/tag.component-DcEASytC.js.map +1 -0
  314. package/dist/chunks/tag.types-B-pzEt1I.js.map +1 -1
  315. package/dist/chunks/tag.types-BnDFgTvb.js.map +1 -1
  316. package/dist/chunks/tagBlock.component-CfxiQgjI.js +169 -0
  317. package/dist/chunks/tagBlock.component-CfxiQgjI.js.map +1 -0
  318. package/dist/chunks/tagBlock.component-XQpgKtzp.js +2 -0
  319. package/dist/chunks/tagBlock.component-XQpgKtzp.js.map +1 -0
  320. package/dist/chunks/text.component-C501PJrN.js +2 -0
  321. package/dist/chunks/text.component-C501PJrN.js.map +1 -0
  322. package/dist/chunks/text.component-DJW--Vty.js +12 -0
  323. package/dist/chunks/text.component-DJW--Vty.js.map +1 -0
  324. package/dist/chunks/textInput.component-BPuhDvEr.js +2 -0
  325. package/dist/chunks/textInput.component-BPuhDvEr.js.map +1 -0
  326. package/dist/chunks/textInput.component-evu71Hys.js +169 -0
  327. package/dist/chunks/textInput.component-evu71Hys.js.map +1 -0
  328. package/dist/chunks/textarea.component-CZQMAMYT.js +79 -0
  329. package/dist/chunks/textarea.component-CZQMAMYT.js.map +1 -0
  330. package/dist/chunks/textarea.component-DE-RO7Sv.js +2 -0
  331. package/dist/chunks/textarea.component-DE-RO7Sv.js.map +1 -0
  332. package/dist/chunks/theme.provider-DJi1V2F-.js +13589 -0
  333. package/dist/chunks/theme.provider-DJi1V2F-.js.map +1 -0
  334. package/dist/chunks/theme.provider-Dr8GOGfI.js +26 -0
  335. package/dist/chunks/theme.provider-Dr8GOGfI.js.map +1 -0
  336. package/dist/chunks/timePicker.component-Bk6YAjmJ.js +209 -0
  337. package/dist/chunks/timePicker.component-Bk6YAjmJ.js.map +1 -0
  338. package/dist/chunks/timePicker.component-CoQ_s8Vc.js +2 -0
  339. package/dist/chunks/timePicker.component-CoQ_s8Vc.js.map +1 -0
  340. package/dist/chunks/timeRange.component-BJRcb-HV.js +18 -0
  341. package/dist/chunks/timeRange.component-BJRcb-HV.js.map +1 -0
  342. package/dist/chunks/timeRange.component-BwJfza8q.js +2 -0
  343. package/dist/chunks/timeRange.component-BwJfza8q.js.map +1 -0
  344. package/dist/chunks/timestamp.component-DLqT7x-O.js +51 -0
  345. package/dist/chunks/timestamp.component-DLqT7x-O.js.map +1 -0
  346. package/dist/chunks/timestamp.component-DNYI2gVi.js +2 -0
  347. package/dist/chunks/timestamp.component-DNYI2gVi.js.map +1 -0
  348. package/dist/chunks/toaster.records-Bb46MMbZ.js +822 -0
  349. package/dist/chunks/toaster.records-Bb46MMbZ.js.map +1 -0
  350. package/dist/chunks/toaster.records-CDCJPDWP.js +2 -0
  351. package/dist/chunks/toaster.records-CDCJPDWP.js.map +1 -0
  352. package/dist/chunks/tooltip.component-CIUcGhxw.js +2 -0
  353. package/dist/chunks/tooltip.component-CIUcGhxw.js.map +1 -0
  354. package/dist/chunks/tooltip.component-Cr_en1NQ.js +489 -0
  355. package/dist/chunks/tooltip.component-Cr_en1NQ.js.map +1 -0
  356. package/dist/chunks/typography-Cqrokog3.js.map +1 -1
  357. package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
  358. package/dist/chunks/typography.records-CSy2LmDd.js +2 -0
  359. package/dist/chunks/typography.records-CSy2LmDd.js.map +1 -0
  360. package/dist/chunks/typography.records-H4aA5AOA.js +66 -0
  361. package/dist/chunks/typography.records-H4aA5AOA.js.map +1 -0
  362. package/dist/chunks/use-breakpoint-MQ7agQJe.js +72 -0
  363. package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +1 -0
  364. package/dist/chunks/use-breakpoint-uBg4-8yY.js +2 -0
  365. package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +1 -0
  366. package/dist/chunks/use-field-context-CArmgHPP.js +2 -0
  367. package/dist/chunks/use-field-context-CArmgHPP.js.map +1 -0
  368. package/dist/chunks/use-field-context-Cm3grEyV.js +12 -0
  369. package/dist/chunks/use-field-context-Cm3grEyV.js.map +1 -0
  370. package/dist/chunks/use-locale-context-BiiNTYMT.js +2301 -0
  371. package/dist/chunks/use-locale-context-BiiNTYMT.js.map +1 -0
  372. package/dist/chunks/use-locale-context-D0LByRu9.js +22 -0
  373. package/dist/chunks/use-locale-context-D0LByRu9.js.map +1 -0
  374. package/dist/chunks/use-recipe-DaPWl_pL.js +2 -0
  375. package/dist/chunks/use-recipe-DaPWl_pL.js.map +1 -0
  376. package/dist/chunks/use-recipe-d63ABaZ3.js +13 -0
  377. package/dist/chunks/use-recipe-d63ABaZ3.js.map +1 -0
  378. package/dist/chunks/use-slot-recipe-8liupslO.js +2 -0
  379. package/dist/chunks/use-slot-recipe-8liupslO.js.map +1 -0
  380. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +13 -0
  381. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +1 -0
  382. package/dist/chunks/useIconTextSizeMap-BK-pUrQv.js.map +1 -1
  383. package/dist/chunks/useIconTextSizeMap-BXmABb54.js.map +1 -1
  384. package/dist/chunks/usePortalContentRef-CTrvBQ7I.js +2 -0
  385. package/dist/chunks/usePortalContentRef-CTrvBQ7I.js.map +1 -0
  386. package/dist/chunks/usePortalContentRef-DO_jc4W9.js +10 -0
  387. package/dist/chunks/usePortalContentRef-DO_jc4W9.js.map +1 -0
  388. package/dist/chunks/v-stack-BZT7R_9f.js +12 -0
  389. package/dist/chunks/v-stack-BZT7R_9f.js.map +1 -0
  390. package/dist/chunks/v-stack-DxjgpeJ0.js +2 -0
  391. package/dist/chunks/v-stack-DxjgpeJ0.js.map +1 -0
  392. package/dist/chunks/walk-object-BrTExCqQ.js +2 -0
  393. package/dist/chunks/walk-object-BrTExCqQ.js.map +1 -0
  394. package/dist/chunks/walk-object-_CL3Bkm9.js +28 -0
  395. package/dist/chunks/walk-object-_CL3Bkm9.js.map +1 -0
  396. package/dist/chunks/withDarkMode-B9LErG-p.js +2 -0
  397. package/dist/chunks/withDarkMode-B9LErG-p.js.map +1 -0
  398. package/dist/chunks/withDarkMode-BE00aGRV.js +21 -0
  399. package/dist/chunks/withDarkMode-BE00aGRV.js.map +1 -0
  400. package/dist/chunks/withFormControl-BUrlnWW8.js +2 -0
  401. package/dist/chunks/withFormControl-BUrlnWW8.js.map +1 -0
  402. package/dist/chunks/withFormControl-l2C92-pT.js +352 -0
  403. package/dist/chunks/withFormControl-l2C92-pT.js.map +1 -0
  404. package/dist/chunks/withLightMode-UfFl5ry6.js +20 -0
  405. package/dist/chunks/withLightMode-UfFl5ry6.js.map +1 -0
  406. package/dist/chunks/withLightMode-fys9Cbqw.js +2 -0
  407. package/dist/chunks/withLightMode-fys9Cbqw.js.map +1 -0
  408. package/dist/chunks/withTruncation-B6vA2g0w.js +2 -0
  409. package/dist/chunks/withTruncation-B6vA2g0w.js.map +1 -0
  410. package/dist/chunks/withTruncation-CQ7mmyn9.js +67 -0
  411. package/dist/chunks/withTruncation-CQ7mmyn9.js.map +1 -0
  412. package/dist/chunks/wrap-B8tBNeBY.js +45 -0
  413. package/dist/chunks/wrap-B8tBNeBY.js.map +1 -0
  414. package/dist/chunks/wrap-CNn1kyJX.js +2 -0
  415. package/dist/chunks/wrap-CNn1kyJX.js.map +1 -0
  416. package/dist/cjs/chakra/index.cjs +2 -0
  417. package/dist/cjs/chakra/index.cjs.map +1 -0
  418. package/dist/cjs/cli/generate-theme-types.cjs +6 -0
  419. package/dist/cjs/cli/generate-theme-types.cjs.map +1 -0
  420. package/dist/cjs/cli/postinstall.cjs +3 -0
  421. package/dist/cjs/cli/postinstall.cjs.map +1 -0
  422. package/dist/cjs/components/Alert/index.cjs +1 -1
  423. package/dist/cjs/components/Avatar/index.cjs +1 -1
  424. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  425. package/dist/cjs/components/Button/index.cjs +1 -1
  426. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  427. package/dist/cjs/components/Card/index.cjs +1 -1
  428. package/dist/cjs/components/Card/index.cjs.map +1 -1
  429. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  430. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  431. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  432. package/dist/cjs/components/ConversationCard/index.cjs +2 -0
  433. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  434. package/dist/cjs/components/Divider/index.cjs +2 -0
  435. package/dist/cjs/components/Heading/index.cjs +1 -1
  436. package/dist/cjs/components/Icon/generated/index.cjs +1 -1
  437. package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
  438. package/dist/cjs/components/Icon/index.cjs +1 -1
  439. package/dist/cjs/components/Link/index.cjs +1 -1
  440. package/dist/cjs/components/Logo/generated/index.cjs +2 -0
  441. package/dist/cjs/components/Logo/index.cjs +2 -0
  442. package/dist/cjs/components/Menu/index.cjs +1 -1
  443. package/dist/cjs/components/Modal/index.cjs +1 -1
  444. package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
  445. package/dist/cjs/components/NotificationCounter/index.cjs.map +1 -1
  446. package/dist/cjs/components/Picture/index.cjs +1 -1
  447. package/dist/cjs/components/Picture/index.cjs.map +1 -1
  448. package/dist/cjs/components/PinInput/index.cjs +2 -0
  449. package/dist/cjs/components/Popover/index.cjs +1 -1
  450. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  451. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  452. package/dist/cjs/components/Select/index.cjs +1 -1
  453. package/dist/cjs/components/SortableList/index.cjs +1 -1
  454. package/dist/cjs/components/Spinner/index.cjs +1 -1
  455. package/dist/cjs/components/StyledAvatar/index.cjs +2 -0
  456. package/dist/cjs/components/StyledAvatar/index.cjs.map +1 -0
  457. package/dist/cjs/components/Swatch/index.cjs +1 -1
  458. package/dist/cjs/components/Swatch/index.cjs.map +1 -1
  459. package/dist/cjs/components/Switch/index.cjs +1 -1
  460. package/dist/cjs/components/Tabs/index.cjs +1 -1
  461. package/dist/cjs/components/Tag/index.cjs +1 -1
  462. package/dist/cjs/components/TagBlock/index.cjs +2 -0
  463. package/dist/cjs/components/TagBlock/index.cjs.map +1 -0
  464. package/dist/cjs/components/Text/index.cjs +1 -1
  465. package/dist/cjs/components/TextInput/index.cjs +1 -1
  466. package/dist/cjs/components/Textarea/index.cjs +1 -1
  467. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  468. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  469. package/dist/cjs/components/Timestamp/index.cjs +2 -0
  470. package/dist/cjs/components/Timestamp/index.cjs.map +1 -0
  471. package/dist/cjs/components/Toast/index.cjs +2 -0
  472. package/dist/cjs/components/Toast/index.cjs.map +1 -0
  473. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  474. package/dist/cjs/components/index.cjs +1 -1
  475. package/dist/cjs/hocs/index.cjs +1 -1
  476. package/dist/cjs/hocs/index.cjs.map +1 -1
  477. package/dist/cjs/hocs/withDarkMode/index.cjs +2 -0
  478. package/dist/cjs/hocs/withDarkMode/index.cjs.map +1 -0
  479. package/dist/cjs/hocs/withLightMode/index.cjs +2 -0
  480. package/dist/cjs/hocs/withLightMode/index.cjs.map +1 -0
  481. package/dist/cjs/hooks/index.cjs +1 -1
  482. package/dist/cjs/hooks/index.cjs.map +1 -1
  483. package/dist/cjs/hooks/useBreakpoint/index.cjs +2 -0
  484. package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -0
  485. package/dist/cjs/hooks/useColorMode/index.cjs +2 -0
  486. package/dist/cjs/hooks/useColorMode/index.cjs.map +1 -0
  487. package/dist/cjs/hooks/useColorModeValue/index.cjs +2 -0
  488. package/dist/cjs/hooks/useColorModeValue/index.cjs.map +1 -0
  489. package/dist/cjs/hooks/useDeviceType/index.cjs +2 -0
  490. package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -0
  491. package/dist/cjs/index.cjs +1 -1
  492. package/dist/cjs/shared/index.cjs +2 -0
  493. package/dist/cjs/shared/index.cjs.map +1 -0
  494. package/dist/cjs/shared/records/index.cjs +2 -0
  495. package/dist/cjs/shared/records/index.cjs.map +1 -0
  496. package/dist/cjs/shared/types/index.cjs.map +1 -1
  497. package/dist/cjs/theme/index.cjs +1 -23
  498. package/dist/cjs/theme/index.cjs.map +1 -1
  499. package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
  500. package/dist/cjs/theme/tokens/colors/index.cjs.map +1 -1
  501. package/dist/esm/chakra/index.js +3227 -0
  502. package/dist/esm/chakra/index.js.map +1 -0
  503. package/dist/esm/cli/generate-theme-types.js +22 -0
  504. package/dist/esm/cli/generate-theme-types.js.map +1 -0
  505. package/dist/esm/cli/postinstall.js +19 -0
  506. package/dist/esm/cli/postinstall.js.map +1 -0
  507. package/dist/esm/components/Alert/index.js +1 -1
  508. package/dist/esm/components/Avatar/index.js +2 -2
  509. package/dist/esm/components/AvatarGroup/index.js +1 -1
  510. package/dist/esm/components/Button/index.js +1 -1
  511. package/dist/esm/components/ButtonGroup/index.js +1 -1
  512. package/dist/esm/components/Card/index.js +4 -4
  513. package/dist/esm/components/Card/index.js.map +1 -1
  514. package/dist/esm/components/CharacterCounter/index.js +1 -1
  515. package/dist/esm/components/Checkbox/index.js +1 -1
  516. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  517. package/dist/esm/components/ConversationCard/index.js +5 -0
  518. package/dist/esm/components/DatePicker/index.js +1 -1
  519. package/dist/esm/components/Divider/index.js +8 -0
  520. package/dist/esm/components/Heading/index.js +1 -1
  521. package/dist/esm/components/Icon/generated/index.js +401 -1632
  522. package/dist/esm/components/Icon/generated/index.js.map +1 -1
  523. package/dist/esm/components/Icon/index.js +1 -1
  524. package/dist/esm/components/Link/index.js +1 -1
  525. package/dist/esm/components/Logo/generated/index.js +6 -0
  526. package/dist/esm/components/Logo/index.js +7 -0
  527. package/dist/esm/components/Menu/index.js +1 -1
  528. package/dist/esm/components/Modal/index.js +1 -1
  529. package/dist/esm/components/NotificationCounter/index.js +4 -9
  530. package/dist/esm/components/NotificationCounter/index.js.map +1 -1
  531. package/dist/esm/components/Picture/index.js +1 -16
  532. package/dist/esm/components/Picture/index.js.map +1 -1
  533. package/dist/esm/components/PinInput/index.js +6 -0
  534. package/dist/esm/components/PinInput/index.js.map +1 -0
  535. package/dist/esm/components/Popover/index.js +2 -2
  536. package/dist/esm/components/RadioGroup/index.js +1 -1
  537. package/dist/esm/components/RatingDots/index.js +1 -1
  538. package/dist/esm/components/Select/index.js +1 -1
  539. package/dist/esm/components/SortableList/index.js +1 -1
  540. package/dist/esm/components/Spinner/index.js +1 -1
  541. package/dist/esm/components/StyledAvatar/index.js +6 -0
  542. package/dist/esm/components/StyledAvatar/index.js.map +1 -0
  543. package/dist/esm/components/Swatch/index.js +3 -62
  544. package/dist/esm/components/Swatch/index.js.map +1 -1
  545. package/dist/esm/components/Switch/index.js +1 -1
  546. package/dist/esm/components/Tabs/index.js +1 -1
  547. package/dist/esm/components/Tag/index.js +1 -1
  548. package/dist/esm/components/TagBlock/index.js +6 -0
  549. package/dist/esm/components/TagBlock/index.js.map +1 -0
  550. package/dist/esm/components/Text/index.js +1 -1
  551. package/dist/esm/components/TextInput/index.js +1 -1
  552. package/dist/esm/components/Textarea/index.js +1 -1
  553. package/dist/esm/components/TimePicker/index.js +1 -1
  554. package/dist/esm/components/TimeRange/index.js +1 -1
  555. package/dist/esm/components/Timestamp/index.js +5 -0
  556. package/dist/esm/components/Timestamp/index.js.map +1 -0
  557. package/dist/esm/components/Toast/index.js +59 -0
  558. package/dist/esm/components/Toast/index.js.map +1 -0
  559. package/dist/esm/components/Tooltip/index.js +1 -1
  560. package/dist/esm/components/index.js +118 -94
  561. package/dist/esm/components/index.js.map +1 -1
  562. package/dist/esm/hocs/index.js +4 -35
  563. package/dist/esm/hocs/index.js.map +1 -1
  564. package/dist/esm/hocs/withDarkMode/index.js +5 -0
  565. package/dist/esm/hocs/withDarkMode/index.js.map +1 -0
  566. package/dist/esm/hocs/withLightMode/index.js +5 -0
  567. package/dist/esm/hocs/withLightMode/index.js.map +1 -0
  568. package/dist/esm/hooks/index.js +8 -17
  569. package/dist/esm/hooks/index.js.map +1 -1
  570. package/dist/esm/hooks/useBreakpoint/index.js +12 -0
  571. package/dist/esm/hooks/useBreakpoint/index.js.map +1 -0
  572. package/dist/esm/hooks/useColorMode/index.js +16 -0
  573. package/dist/esm/hooks/useColorMode/index.js.map +1 -0
  574. package/dist/esm/hooks/useColorModeValue/index.js +9 -0
  575. package/dist/esm/hooks/useColorModeValue/index.js.map +1 -0
  576. package/dist/esm/hooks/useDeviceType/index.js +12 -0
  577. package/dist/esm/hooks/useDeviceType/index.js.map +1 -0
  578. package/dist/esm/index.js +139 -99
  579. package/dist/esm/index.js.map +1 -1
  580. package/dist/esm/shared/index.js +9 -0
  581. package/dist/esm/shared/index.js.map +1 -0
  582. package/dist/esm/shared/records/index.js +18 -0
  583. package/dist/esm/shared/records/index.js.map +1 -0
  584. package/dist/esm/shared/types/index.js +2 -13
  585. package/dist/esm/shared/types/index.js.map +1 -1
  586. package/dist/esm/theme/index.js +3 -2607
  587. package/dist/esm/theme/index.js.map +1 -1
  588. package/dist/esm/theme/semanticTokens/index.js.map +1 -1
  589. package/dist/esm/theme/tokens/colors/index.js.map +1 -1
  590. package/dist/types/chakra/index.d.ts +52 -0
  591. package/dist/types/cli/generate-theme-types.d.ts +2 -0
  592. package/dist/types/cli/postinstall.d.ts +2 -0
  593. package/dist/types/components/Alert/alert.component.d.ts +5 -14
  594. package/dist/types/components/Alert/alert.recipe.d.ts +1 -2
  595. package/dist/types/components/Alert/alert.types.d.ts +0 -1
  596. package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +1 -2
  597. package/dist/types/components/Avatar/avatar.component.d.ts +0 -1
  598. package/dist/types/components/Avatar/avatar.recipe.d.ts +2 -3
  599. package/dist/types/components/Avatar/avatar.types.d.ts +0 -1
  600. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -2
  601. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.recipe.d.ts +0 -1
  602. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.records.d.ts +0 -1
  603. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -2
  604. package/dist/types/components/Avatar/components/AvatarRemoveButton/avatarRemoveButton.component.d.ts +0 -1
  605. package/dist/types/components/AvatarGroup/avatarGroup.component.d.ts +0 -1
  606. package/dist/types/components/Button/button.component.d.ts +2 -4
  607. package/dist/types/components/Button/button.recipe.d.ts +1 -2
  608. package/dist/types/components/Button/button.types.d.ts +0 -1
  609. package/dist/types/components/ButtonGroup/buttonGroup.component.d.ts +0 -1
  610. package/dist/types/components/ButtonGroup/buttonGroup.types.d.ts +1 -2
  611. package/dist/types/components/Card/card.component.d.ts +1 -2
  612. package/dist/types/components/Card/card.records.d.ts +0 -1
  613. package/dist/types/components/Card/card.types.d.ts +0 -1
  614. package/dist/types/components/CharacterCounter/characterCounter.component.d.ts +0 -1
  615. package/dist/types/components/CharacterCounter/characterCounter.recipe.d.ts +0 -1
  616. package/dist/types/components/Checkbox/checkbox.component.d.ts +4 -4
  617. package/dist/types/components/Checkbox/checkbox.recipe.d.ts +1 -2
  618. package/dist/types/components/Checkbox/checkbox.records.d.ts +0 -1
  619. package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +1 -2
  620. package/dist/types/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +8 -0
  621. package/dist/types/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +21 -0
  622. package/dist/types/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +8 -0
  623. package/dist/types/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +9 -0
  624. package/dist/types/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +13 -0
  625. package/dist/types/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +9 -0
  626. package/dist/types/components/ConversationCard/conversationCard.component.d.ts +23 -0
  627. package/dist/types/components/DatePicker/components/DatePickerCalendar/datePickerCalendar.component.d.ts +0 -1
  628. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +1 -2
  629. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +1 -2
  630. package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -2
  631. package/dist/types/components/DatePicker/components/DatePickerFooter/datePickerFooter.component.d.ts +0 -1
  632. package/dist/types/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.d.ts +0 -1
  633. package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +2 -3
  634. package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.utils.d.ts +0 -1
  635. package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +1 -2
  636. package/dist/types/components/DatePicker/context/datePicker.context.d.ts +1 -2
  637. package/dist/types/components/DatePicker/context/datePicker.provider.d.ts +0 -1
  638. package/dist/types/components/DatePicker/datePicker.component.d.ts +1 -2
  639. package/dist/types/components/DatePicker/datePicker.records.d.ts +0 -1
  640. package/dist/types/components/DatePicker/datePicker.types.d.ts +3 -4
  641. package/dist/types/components/Divider/divider.component.d.ts +4 -0
  642. package/dist/types/components/Divider/divider.types.d.ts +6 -0
  643. package/dist/types/components/Divider/index.d.ts +2 -0
  644. package/dist/types/components/Heading/heading.component.d.ts +1 -3
  645. package/dist/types/components/Heading/heading.recipe.d.ts +0 -1
  646. package/dist/types/components/Heading/heading.records.d.ts +0 -1
  647. package/dist/types/components/Heading/heading.types.d.ts +1 -2
  648. package/dist/types/components/Icon/generated/AiMicrophone.d.ts +10 -0
  649. package/dist/types/components/Icon/generated/AlertCircle.d.ts +1 -2
  650. package/dist/types/components/Icon/generated/AnimalBird.d.ts +1 -2
  651. package/dist/types/components/Icon/generated/AnimalCat.d.ts +1 -2
  652. package/dist/types/components/Icon/generated/AnimalCow.d.ts +1 -2
  653. package/dist/types/components/Icon/generated/AnimalDog.d.ts +1 -2
  654. package/dist/types/components/Icon/generated/AnimalHorse.d.ts +1 -2
  655. package/dist/types/components/Icon/generated/AnimalMouse.d.ts +1 -2
  656. package/dist/types/components/Icon/generated/AnimalPig.d.ts +1 -2
  657. package/dist/types/components/Icon/generated/AnimalSnake.d.ts +1 -2
  658. package/dist/types/components/Icon/generated/Archive.d.ts +1 -2
  659. package/dist/types/components/Icon/generated/ArrowCircle.d.ts +1 -2
  660. package/dist/types/components/Icon/generated/ArrowDown.d.ts +1 -2
  661. package/dist/types/components/Icon/generated/ArrowDownRight.d.ts +1 -2
  662. package/dist/types/components/Icon/generated/ArrowLeft.d.ts +1 -2
  663. package/dist/types/components/Icon/generated/ArrowRight.d.ts +1 -2
  664. package/dist/types/components/Icon/generated/ArrowUp.d.ts +1 -2
  665. package/dist/types/components/Icon/generated/ArrowsIn.d.ts +1 -2
  666. package/dist/types/components/Icon/generated/ArrowsOut.d.ts +1 -2
  667. package/dist/types/components/Icon/generated/Article.d.ts +1 -2
  668. package/dist/types/components/Icon/generated/Award.d.ts +1 -2
  669. package/dist/types/components/Icon/generated/Bank.d.ts +1 -2
  670. package/dist/types/components/Icon/generated/Bell.d.ts +1 -2
  671. package/dist/types/components/Icon/generated/BellCancel.d.ts +1 -2
  672. package/dist/types/components/Icon/generated/Bone.d.ts +1 -2
  673. package/dist/types/components/Icon/generated/Bookmark.d.ts +1 -2
  674. package/dist/types/components/Icon/generated/BulkSelect.d.ts +1 -2
  675. package/dist/types/components/Icon/generated/Buttons.d.ts +1 -2
  676. package/dist/types/components/Icon/generated/CalendarCheck.d.ts +1 -2
  677. package/dist/types/components/Icon/generated/CalendarDate.d.ts +1 -2
  678. package/dist/types/components/Icon/generated/CalendarInfo.d.ts +1 -2
  679. package/dist/types/components/Icon/generated/CalendarPen.d.ts +1 -2
  680. package/dist/types/components/Icon/generated/CalendarPlus.d.ts +1 -2
  681. package/dist/types/components/Icon/generated/Camera.d.ts +1 -2
  682. package/dist/types/components/Icon/generated/CameraOff.d.ts +1 -2
  683. package/dist/types/components/Icon/generated/Cancel.d.ts +1 -2
  684. package/dist/types/components/Icon/generated/CaretDown.d.ts +1 -2
  685. package/dist/types/components/Icon/generated/CaretUp.d.ts +1 -2
  686. package/dist/types/components/Icon/generated/Cellphone.d.ts +1 -2
  687. package/dist/types/components/Icon/generated/CellphoneCancel.d.ts +1 -2
  688. package/dist/types/components/Icon/generated/ChainLink.d.ts +1 -2
  689. package/dist/types/components/Icon/generated/ChatBubble.d.ts +1 -2
  690. package/dist/types/components/Icon/generated/Checkmark.d.ts +1 -2
  691. package/dist/types/components/Icon/generated/CheckmarkBox.d.ts +1 -2
  692. package/dist/types/components/Icon/generated/CheckmarkCircle.d.ts +1 -2
  693. package/dist/types/components/Icon/generated/ChevronDown.d.ts +1 -2
  694. package/dist/types/components/Icon/generated/ChevronLeft.d.ts +1 -2
  695. package/dist/types/components/Icon/generated/ChevronRight.d.ts +1 -2
  696. package/dist/types/components/Icon/generated/ChevronUp.d.ts +1 -2
  697. package/dist/types/components/Icon/generated/Clinic.d.ts +1 -2
  698. package/dist/types/components/Icon/generated/Clock.d.ts +1 -2
  699. package/dist/types/components/Icon/generated/Close.d.ts +1 -2
  700. package/dist/types/components/Icon/generated/CloseCircle.d.ts +1 -2
  701. package/dist/types/components/Icon/generated/CloseCircleSolid.d.ts +1 -2
  702. package/dist/types/components/Icon/generated/Code.d.ts +1 -2
  703. package/dist/types/components/Icon/generated/CreditCard.d.ts +1 -2
  704. package/dist/types/components/Icon/generated/CreditCardLogoAmex.d.ts +1 -2
  705. package/dist/types/components/Icon/generated/CreditCardLogoDiners.d.ts +1 -2
  706. package/dist/types/components/Icon/generated/CreditCardLogoDiscover.d.ts +1 -2
  707. package/dist/types/components/Icon/generated/CreditCardLogoGeneric.d.ts +1 -2
  708. package/dist/types/components/Icon/generated/CreditCardLogoJcb.d.ts +1 -2
  709. package/dist/types/components/Icon/generated/CreditCardLogoMastercard.d.ts +1 -2
  710. package/dist/types/components/Icon/generated/CreditCardLogoUnionpay.d.ts +1 -2
  711. package/dist/types/components/Icon/generated/CreditCardLogoVisa.d.ts +1 -2
  712. package/dist/types/components/Icon/generated/Cut.d.ts +1 -2
  713. package/dist/types/components/Icon/generated/Dollar.d.ts +1 -2
  714. package/dist/types/components/Icon/generated/DollarCircle.d.ts +1 -2
  715. package/dist/types/components/Icon/generated/DotsHorizontal.d.ts +1 -2
  716. package/dist/types/components/Icon/generated/DotsVertical.d.ts +1 -2
  717. package/dist/types/components/Icon/generated/DoubleArrowCircle.d.ts +1 -2
  718. package/dist/types/components/Icon/generated/Download.d.ts +1 -2
  719. package/dist/types/components/Icon/generated/EmailSend.d.ts +1 -2
  720. package/dist/types/components/Icon/generated/Envelope.d.ts +1 -2
  721. package/dist/types/components/Icon/generated/EnvelopeCancel.d.ts +1 -2
  722. package/dist/types/components/Icon/generated/ExternalLink.d.ts +1 -2
  723. package/dist/types/components/Icon/generated/EyeOpen.d.ts +1 -2
  724. package/dist/types/components/Icon/generated/EyeSlash.d.ts +1 -2
  725. package/dist/types/components/Icon/generated/Eyedropper.d.ts +1 -2
  726. package/dist/types/components/Icon/generated/FileHealth.d.ts +1 -2
  727. package/dist/types/components/Icon/generated/Filter.d.ts +1 -2
  728. package/dist/types/components/Icon/generated/Form.d.ts +1 -2
  729. package/dist/types/components/Icon/generated/Gear.d.ts +1 -2
  730. package/dist/types/components/Icon/generated/Gif.d.ts +1 -2
  731. package/dist/types/components/Icon/generated/Grid.d.ts +1 -2
  732. package/dist/types/components/Icon/generated/Hashtag.d.ts +1 -2
  733. package/dist/types/components/Icon/generated/Health.d.ts +1 -2
  734. package/dist/types/components/Icon/generated/Heart.d.ts +1 -2
  735. package/dist/types/components/Icon/generated/HeartSolid.d.ts +1 -2
  736. package/dist/types/components/Icon/generated/House.d.ts +1 -2
  737. package/dist/types/components/Icon/generated/Image.d.ts +1 -2
  738. package/dist/types/components/Icon/generated/InfoCircle.d.ts +1 -2
  739. package/dist/types/components/Icon/generated/Input.d.ts +1 -2
  740. package/dist/types/components/Icon/generated/Invoice.d.ts +1 -2
  741. package/dist/types/components/Icon/generated/KanbanBoard.d.ts +1 -2
  742. package/dist/types/components/Icon/generated/List.d.ts +1 -2
  743. package/dist/types/components/Icon/generated/Liveagent.d.ts +1 -2
  744. package/dist/types/components/Icon/generated/Loader.d.ts +1 -2
  745. package/dist/types/components/Icon/generated/LocationMarker.d.ts +1 -2
  746. package/dist/types/components/Icon/generated/Lock.d.ts +1 -2
  747. package/dist/types/components/Icon/generated/Logo.d.ts +1 -2
  748. package/dist/types/components/Icon/generated/Loudspeaker.d.ts +1 -2
  749. package/dist/types/components/Icon/generated/Magic.d.ts +1 -2
  750. package/dist/types/components/Icon/generated/MagnifyingGlass.d.ts +1 -2
  751. package/dist/types/components/Icon/generated/Mailbox.d.ts +1 -2
  752. package/dist/types/components/Icon/generated/Menu.d.ts +1 -2
  753. package/dist/types/components/Icon/generated/Message.d.ts +1 -2
  754. package/dist/types/components/Icon/generated/MessageDetail.d.ts +1 -2
  755. package/dist/types/components/Icon/generated/MessageWarning.d.ts +1 -2
  756. package/dist/types/components/Icon/generated/Messages.d.ts +1 -2
  757. package/dist/types/components/Icon/generated/Microphone.d.ts +1 -2
  758. package/dist/types/components/Icon/generated/MicrophoneMute.d.ts +1 -2
  759. package/dist/types/components/Icon/generated/Minus.d.ts +1 -2
  760. package/dist/types/components/Icon/generated/MoveDown.d.ts +1 -2
  761. package/dist/types/components/Icon/generated/MoveLeft.d.ts +1 -2
  762. package/dist/types/components/Icon/generated/MoveRight.d.ts +1 -2
  763. package/dist/types/components/Icon/generated/MoveUp.d.ts +1 -2
  764. package/dist/types/components/Icon/generated/Notification.d.ts +1 -2
  765. package/dist/types/components/Icon/generated/Package.d.ts +1 -2
  766. package/dist/types/components/Icon/generated/Paperclip.d.ts +1 -2
  767. package/dist/types/components/Icon/generated/Pause.d.ts +1 -2
  768. package/dist/types/components/Icon/generated/Paw.d.ts +1 -2
  769. package/dist/types/components/Icon/generated/Pen.d.ts +1 -2
  770. package/dist/types/components/Icon/generated/PenSquare.d.ts +1 -2
  771. package/dist/types/components/Icon/generated/Person.d.ts +1 -2
  772. package/dist/types/components/Icon/generated/PersonAdd.d.ts +1 -2
  773. package/dist/types/components/Icon/generated/PersonCircle.d.ts +1 -2
  774. package/dist/types/components/Icon/generated/Phone.d.ts +1 -2
  775. package/dist/types/components/Icon/generated/PhoneButtons.d.ts +1 -2
  776. package/dist/types/components/Icon/generated/PhoneCancel.d.ts +1 -2
  777. package/dist/types/components/Icon/generated/Pill.d.ts +1 -2
  778. package/dist/types/components/Icon/generated/Pin.d.ts +1 -2
  779. package/dist/types/components/Icon/generated/PinCancel.d.ts +1 -2
  780. package/dist/types/components/Icon/generated/Play.d.ts +1 -2
  781. package/dist/types/components/Icon/generated/Plus.d.ts +1 -2
  782. package/dist/types/components/Icon/generated/Popup.d.ts +1 -2
  783. package/dist/types/components/Icon/generated/Printer.d.ts +1 -2
  784. package/dist/types/components/Icon/generated/QuestionMark.d.ts +1 -2
  785. package/dist/types/components/Icon/generated/QuestionMarkCircle.d.ts +1 -2
  786. package/dist/types/components/Icon/generated/QuestionMarkCircleSolid.d.ts +1 -2
  787. package/dist/types/components/Icon/generated/Record.d.ts +1 -2
  788. package/dist/types/components/Icon/generated/Report.d.ts +1 -2
  789. package/dist/types/components/Icon/generated/Ribbon.d.ts +1 -2
  790. package/dist/types/components/Icon/generated/Robot.d.ts +1 -2
  791. package/dist/types/components/Icon/generated/Send.d.ts +1 -2
  792. package/dist/types/components/Icon/generated/Sliders.d.ts +1 -2
  793. package/dist/types/components/Icon/generated/SmileyFace.d.ts +1 -2
  794. package/dist/types/components/Icon/generated/Sort.d.ts +1 -2
  795. package/dist/types/components/Icon/generated/Star.d.ts +1 -2
  796. package/dist/types/components/Icon/generated/StarCircle.d.ts +1 -2
  797. package/dist/types/components/Icon/generated/StarSolid.d.ts +1 -2
  798. package/dist/types/components/Icon/generated/Stop.d.ts +1 -2
  799. package/dist/types/components/Icon/generated/StopRecording.d.ts +1 -2
  800. package/dist/types/components/Icon/generated/Support.d.ts +1 -2
  801. package/dist/types/components/Icon/generated/Table.d.ts +1 -2
  802. package/dist/types/components/Icon/generated/Tag.d.ts +1 -2
  803. package/dist/types/components/Icon/generated/Target.d.ts +1 -2
  804. package/dist/types/components/Icon/generated/TargetSolid.d.ts +1 -2
  805. package/dist/types/components/Icon/generated/TaskList.d.ts +1 -2
  806. package/dist/types/components/Icon/generated/Team.d.ts +1 -2
  807. package/dist/types/components/Icon/generated/ThumbsDown.d.ts +1 -2
  808. package/dist/types/components/Icon/generated/ThumbsUp.d.ts +1 -2
  809. package/dist/types/components/Icon/generated/Transfer.d.ts +1 -2
  810. package/dist/types/components/Icon/generated/Trashcan.d.ts +1 -2
  811. package/dist/types/components/Icon/generated/TwoSquares.d.ts +1 -2
  812. package/dist/types/components/Icon/generated/Upload.d.ts +1 -2
  813. package/dist/types/components/Icon/generated/VideoCamera.d.ts +1 -2
  814. package/dist/types/components/Icon/generated/WarningSign.d.ts +1 -2
  815. package/dist/types/components/Icon/generated/Website.d.ts +1 -2
  816. package/dist/types/components/Icon/generated/Wrench.d.ts +1 -2
  817. package/dist/types/components/Icon/generated/index.d.ts +1 -1
  818. package/dist/types/components/Icon/icon.component.d.ts +2 -4
  819. package/dist/types/components/Icon/icon.records.d.ts +0 -1
  820. package/dist/types/components/Icon/icon.types.d.ts +0 -1
  821. package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +3 -4
  822. package/dist/types/components/Link/link.component.d.ts +0 -1
  823. package/dist/types/components/Link/link.recipe.d.ts +0 -1
  824. package/dist/types/components/Logo/generated/FullLogo.d.ts +10 -0
  825. package/dist/types/components/Logo/generated/IconLogo.d.ts +10 -0
  826. package/dist/types/components/Logo/generated/index.d.ts +4 -0
  827. package/dist/types/components/Logo/index.d.ts +2 -0
  828. package/dist/types/components/Logo/logo.component.d.ts +10 -0
  829. package/dist/types/components/Logo/logo.recipe.d.ts +9 -0
  830. package/dist/types/components/Logo/logo.types.d.ts +4 -0
  831. package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +1 -2
  832. package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +8 -8
  833. package/dist/types/components/Menu/components/MenuItem/menuItem.types.d.ts +0 -1
  834. package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +1 -2
  835. package/dist/types/components/Menu/menu.component.d.ts +2 -3
  836. package/dist/types/components/Menu/menu.recipe.d.ts +0 -1
  837. package/dist/types/components/Modal/components/ModalFooter/modalFooter.component.d.ts +0 -1
  838. package/dist/types/components/Modal/modal.component.d.ts +0 -1
  839. package/dist/types/components/Modal/modal.recipe.d.ts +1 -2
  840. package/dist/types/components/Modal/modal.types.d.ts +0 -1
  841. package/dist/types/components/NotificationCounter/notificationCounter.component.d.ts +0 -1
  842. package/dist/types/components/NotificationCounter/notificationCounter.recipe.d.ts +0 -1
  843. package/dist/types/components/NotificationCounter/notificationCounter.records.d.ts +0 -1
  844. package/dist/types/components/NotificationCounter/notificationCounter.types.d.ts +0 -1
  845. package/dist/types/components/Picture/picture.component.d.ts +0 -1
  846. package/dist/types/components/PinInput/index.d.ts +2 -0
  847. package/dist/types/components/PinInput/pinInput.component.d.ts +12 -0
  848. package/dist/types/components/PinInput/pinInput.recipe.d.ts +21 -0
  849. package/dist/types/components/PinInput/pinInput.records.d.ts +1 -0
  850. package/dist/types/components/PinInput/pinInput.types.d.ts +2 -0
  851. package/dist/types/components/Popover/components/PopoverFooter/popoverFooter.component.d.ts +0 -1
  852. package/dist/types/components/Popover/components/PopoverHeader/popoverHeader.component.d.ts +0 -1
  853. package/dist/types/components/Popover/popover.component.d.ts +4 -5
  854. package/dist/types/components/Popover/popover.recipe.d.ts +1 -2
  855. package/dist/types/components/Popover/popover.types.d.ts +0 -1
  856. package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +5 -4
  857. package/dist/types/components/RadioGroup/components/Radio/radio.records.d.ts +0 -1
  858. package/dist/types/components/RadioGroup/index.d.ts +1 -0
  859. package/dist/types/components/RadioGroup/radioGroup.component.d.ts +4 -5
  860. package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +1 -2
  861. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +1 -2
  862. package/dist/types/components/RatingDots/components/RatingDot/ratingDot.recipe.d.ts +1 -2
  863. package/dist/types/components/RatingDots/ratingDots.component.d.ts +2 -2
  864. package/dist/types/components/Select/components/SelectItemContent/selectItemContent.component.d.ts +0 -1
  865. package/dist/types/components/Select/components/SelectTrigger/selectTrigger.component.d.ts +0 -1
  866. package/dist/types/components/Select/select.component.d.ts +9 -5
  867. package/dist/types/components/Select/select.recipe.d.ts +0 -1
  868. package/dist/types/components/Select/select.types.d.ts +2 -2
  869. package/dist/types/components/SortableList/components/SortableListDragHandle/sortableListDragHandle.component.d.ts +0 -1
  870. package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +1 -2
  871. package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.context.d.ts +0 -1
  872. package/dist/types/components/SortableList/index.d.ts +1 -0
  873. package/dist/types/components/SortableList/sortableList.component.d.ts +2 -3
  874. package/dist/types/components/Spinner/spinner.component.d.ts +1 -2
  875. package/dist/types/components/Spinner/spinner.recipe.d.ts +1 -2
  876. package/dist/types/components/Spinner/spinner.types.d.ts +0 -1
  877. package/dist/types/components/StyledAvatar/styledAvatar.component.d.ts +7 -0
  878. package/dist/types/components/StyledAvatar/styledAvatar.types.d.ts +2 -0
  879. package/dist/types/components/Swatch/swatch.component.d.ts +1 -2
  880. package/dist/types/components/Swatch/swatch.recipe.d.ts +0 -1
  881. package/dist/types/components/Swatch/swatch.types.d.ts +0 -1
  882. package/dist/types/components/Switch/switch.component.d.ts +4 -4
  883. package/dist/types/components/Switch/switch.recipe.d.ts +2 -3
  884. package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +1 -2
  885. package/dist/types/components/Tabs/components/Tab/tab.records.d.ts +0 -1
  886. package/dist/types/components/Tabs/components/Tab/tab.types.d.ts +0 -1
  887. package/dist/types/components/Tabs/tabs.component.d.ts +1 -2
  888. package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -2
  889. package/dist/types/components/Tag/tag.component.d.ts +3 -4
  890. package/dist/types/components/Tag/tag.recipe.d.ts +1 -2
  891. package/dist/types/components/Tag/tag.records.d.ts +0 -1
  892. package/dist/types/components/Tag/tag.types.d.ts +0 -1
  893. package/dist/types/components/TagBlock/tagBlock.component.d.ts +25 -0
  894. package/dist/types/components/TagBlock/tagBlock.types.d.ts +9 -0
  895. package/dist/types/components/Text/text.component.d.ts +1 -3
  896. package/dist/types/components/Text/text.recipe.d.ts +0 -2
  897. package/dist/types/components/Text/text.records.d.ts +0 -1
  898. package/dist/types/components/Text/text.types.d.ts +1 -2
  899. package/dist/types/components/TextInput/textInput.component.d.ts +4 -5
  900. package/dist/types/components/TextInput/textInput.records.d.ts +0 -1
  901. package/dist/types/components/Textarea/textarea.component.d.ts +3 -4
  902. package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +1 -2
  903. package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +1 -2
  904. package/dist/types/components/TimePicker/components/TimeOption/timeOption.recipe.d.ts +0 -1
  905. package/dist/types/components/TimePicker/timePicker.component.d.ts +1 -2
  906. package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -2
  907. package/dist/types/components/TimePicker/timePicker.types.d.ts +0 -1
  908. package/dist/types/components/TimeRange/timeRange.component.d.ts +0 -1
  909. package/dist/types/components/Timestamp/timestamp.component.d.ts +11 -0
  910. package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -0
  911. package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +7 -0
  912. package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +11 -0
  913. package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +12 -0
  914. package/dist/types/components/Toast/index.d.ts +2 -0
  915. package/dist/types/components/Toast/toast.component.d.ts +14 -0
  916. package/dist/types/components/Toast/toast.recipe.d.ts +21 -0
  917. package/dist/types/components/Toast/toast.types.d.ts +19 -0
  918. package/dist/types/components/Toast/useToast.d.ts +3 -0
  919. package/dist/types/components/Tooltip/tooltip.component.d.ts +4 -3
  920. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -0
  921. package/dist/types/components/index.d.ts +9 -1
  922. package/dist/types/hocs/withDarkMode/index.d.ts +1 -2
  923. package/dist/types/hocs/withDarkMode/withDarkMode.d.ts +2 -0
  924. package/dist/types/hocs/withFormControl/withFormControl.argTypes.d.ts +0 -1
  925. package/dist/types/hocs/withFormControl/withFormControl.d.ts +2 -2
  926. package/dist/types/hocs/withFormControl/withFormControl.recipe.d.ts +0 -1
  927. package/dist/types/hocs/withFormControl/withFormControl.records.d.ts +0 -1
  928. package/dist/types/hocs/withFormControl/withFormControl.types.d.ts +1 -2
  929. package/dist/types/hocs/withLightMode/index.d.ts +1 -2
  930. package/dist/types/hocs/withLightMode/withLightMode.d.ts +2 -0
  931. package/dist/types/hocs/withTruncation.d.ts +1 -2
  932. package/dist/types/hooks/index.d.ts +2 -0
  933. package/dist/types/hooks/useBreakpoint/index.d.ts +1 -0
  934. package/dist/types/hooks/useDebounce.d.ts +0 -1
  935. package/dist/types/hooks/useDeviceType/index.d.ts +3 -0
  936. package/dist/types/hooks/useIconTextSizeMap.d.ts +0 -1
  937. package/dist/types/hooks/usePortalContentRef.d.ts +6 -0
  938. package/dist/types/index.d.ts +2 -0
  939. package/dist/types/shared/components/withVariantStory.d.ts +0 -1
  940. package/dist/types/shared/index.d.ts +1 -0
  941. package/dist/types/shared/records/index.d.ts +1 -0
  942. package/dist/types/shared/records/status.d.ts +5 -0
  943. package/dist/types/shared/records/typography.d.ts +0 -1
  944. package/dist/types/shared/types/alignment.d.ts +0 -1
  945. package/dist/types/shared/types/placement.d.ts +0 -1
  946. package/dist/types/shared/types/status.d.ts +0 -1
  947. package/dist/types/shared/types/storybook.d.ts +0 -1
  948. package/dist/types/shared/types/theme.d.ts +1 -2
  949. package/dist/types/shared/types/typography.d.ts +0 -1
  950. package/dist/types/shared/utils/argTypes.d.ts +0 -1
  951. package/dist/types/shared/utils/colors.d.ts +0 -1
  952. package/dist/types/shared/utils/sizes.d.ts +1 -2
  953. package/dist/types/shared/utils/strings.d.ts +0 -1
  954. package/dist/types/shared/utils/tokens.d.ts +0 -1
  955. package/dist/types/shared/utils/units.d.ts +0 -1
  956. package/dist/types/theme/index.d.ts +2 -1
  957. package/dist/types/theme/providers/colorMode.provider.d.ts +0 -1
  958. package/dist/types/theme/providers/theme.provider.d.ts +3 -3
  959. package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +5 -2
  960. package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +10 -3
  961. package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +2 -3
  962. package/dist/types/theme/semanticTokens/utils/flattenSemanticTokenRecord.d.ts +0 -1
  963. package/dist/types/theme/semanticTokens/utils/getSemanticColorToken.d.ts +2 -3
  964. package/dist/types/theme/semanticTokens/utils/invertToken.d.ts +0 -1
  965. package/dist/types/theme/theme.config.d.ts +1 -1
  966. package/dist/types/theme/tokens/blurs/blurs.config.d.ts +0 -1
  967. package/dist/types/theme/tokens/blurs/blurs.records.d.ts +0 -1
  968. package/dist/types/theme/tokens/blurs/blurs.types.d.ts +1 -2
  969. package/dist/types/theme/tokens/borders/borders.config.d.ts +0 -1
  970. package/dist/types/theme/tokens/borders/borders.records.d.ts +0 -1
  971. package/dist/types/theme/tokens/borders/borders.types.d.ts +2 -3
  972. package/dist/types/theme/tokens/colors/colors.config.d.ts +0 -1
  973. package/dist/types/theme/tokens/colors/colors.records.d.ts +0 -1
  974. package/dist/types/theme/tokens/colors/colors.types.d.ts +2 -3
  975. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -4
  976. package/dist/types/theme/tokens/shadows/shadows.records.d.ts +0 -1
  977. package/dist/types/theme/tokens/shadows/shadows.types.d.ts +2 -3
  978. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +16 -3
  979. package/dist/types/theme/tokens/sizes/sizes.records.d.ts +0 -1
  980. package/dist/types/theme/tokens/sizes/sizes.types.d.ts +2 -3
  981. package/dist/types/theme/tokens/spacing/spacing.config.d.ts +3 -4
  982. package/dist/types/theme/tokens/spacing/spacing.records.d.ts +0 -1
  983. package/dist/types/theme/tokens/spacing/spacing.types.d.ts +1 -2
  984. package/dist/types/theme/tokens/transitions/transitions.config.d.ts +2 -3
  985. package/dist/types/theme/tokens/transitions/transitions.records.d.ts +0 -1
  986. package/dist/types/theme/tokens/transitions/transitions.types.d.ts +2 -3
  987. package/dist/types/theme/tokens/typography/typography.config.d.ts +26 -72
  988. package/dist/types/theme/tokens/typography/typography.records.d.ts +0 -1
  989. package/dist/types/theme/tokens/typography/typography.types.d.ts +5 -6
  990. package/dist/types/theme/tokens/utils/transformToTokens.d.ts +0 -1
  991. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -11
  992. package/dist/types/theme/tokens/zIndices/zIndices.records.d.ts +0 -1
  993. package/dist/types/theme/tokens/zIndices/zIndices.types.d.ts +1 -2
  994. package/dist/types/vite-env.d.ts +0 -1
  995. package/package.json +69 -40
  996. package/dist/chunks/alert.types-Bnf8isvq.js +0 -2
  997. package/dist/chunks/alert.types-Bnf8isvq.js.map +0 -1
  998. package/dist/chunks/alert.types-kskv5PHB.js +0 -170
  999. package/dist/chunks/alert.types-kskv5PHB.js.map +0 -1
  1000. package/dist/chunks/avatar.component-Coq-0l7p.js +0 -2
  1001. package/dist/chunks/avatar.component-Coq-0l7p.js.map +0 -1
  1002. package/dist/chunks/avatar.component-DzvE2D-d.js +0 -307
  1003. package/dist/chunks/avatar.component-DzvE2D-d.js.map +0 -1
  1004. package/dist/chunks/avatar.types-LQ1Bn8a3.js +0 -13
  1005. package/dist/chunks/avatar.types-LQ1Bn8a3.js.map +0 -1
  1006. package/dist/chunks/avatarGroup.component-D-U0aMDv.js +0 -71
  1007. package/dist/chunks/avatarGroup.component-D-U0aMDv.js.map +0 -1
  1008. package/dist/chunks/avatarGroup.component-DES1ekL9.js +0 -2
  1009. package/dist/chunks/avatarGroup.component-DES1ekL9.js.map +0 -1
  1010. package/dist/chunks/button.component-BiW8RE1U.js +0 -67
  1011. package/dist/chunks/button.component-BiW8RE1U.js.map +0 -1
  1012. package/dist/chunks/button.component-Dufh_y5v.js +0 -2
  1013. package/dist/chunks/button.component-Dufh_y5v.js.map +0 -1
  1014. package/dist/chunks/buttonGroup.component-DcCHtB7Q.js +0 -67
  1015. package/dist/chunks/buttonGroup.component-DcCHtB7Q.js.map +0 -1
  1016. package/dist/chunks/buttonGroup.component-sM0NngWF.js +0 -2
  1017. package/dist/chunks/buttonGroup.component-sM0NngWF.js.map +0 -1
  1018. package/dist/chunks/card.component-HX-4Y0j7.js +0 -51
  1019. package/dist/chunks/card.component-HX-4Y0j7.js.map +0 -1
  1020. package/dist/chunks/card.component-ZIoJIWVV.js +0 -2
  1021. package/dist/chunks/card.component-ZIoJIWVV.js.map +0 -1
  1022. package/dist/chunks/chakra-BqBkjpvZ.js +0 -12734
  1023. package/dist/chunks/chakra-BqBkjpvZ.js.map +0 -1
  1024. package/dist/chunks/chakra-DmF8Cxqs.js +0 -5
  1025. package/dist/chunks/chakra-DmF8Cxqs.js.map +0 -1
  1026. package/dist/chunks/characterCounter.component-BXxyn_IB.js +0 -2
  1027. package/dist/chunks/characterCounter.component-BXxyn_IB.js.map +0 -1
  1028. package/dist/chunks/characterCounter.component-DhiMcztY.js +0 -108
  1029. package/dist/chunks/characterCounter.component-DhiMcztY.js.map +0 -1
  1030. package/dist/chunks/checkbox.component-DQVpdkqO.js +0 -2
  1031. package/dist/chunks/checkbox.component-DQVpdkqO.js.map +0 -1
  1032. package/dist/chunks/checkbox.component-DgyH37fL.js +0 -90
  1033. package/dist/chunks/checkbox.component-DgyH37fL.js.map +0 -1
  1034. package/dist/chunks/checkbox.records-DJfdKuOe.js +0 -2
  1035. package/dist/chunks/checkbox.records-DJfdKuOe.js.map +0 -1
  1036. package/dist/chunks/checkbox.records-JWbKQ684.js +0 -14
  1037. package/dist/chunks/checkbox.records-JWbKQ684.js.map +0 -1
  1038. package/dist/chunks/checkboxGroup.component-C8cndZPg.js +0 -51
  1039. package/dist/chunks/checkboxGroup.component-C8cndZPg.js.map +0 -1
  1040. package/dist/chunks/checkboxGroup.component-CcjCexJ4.js +0 -2
  1041. package/dist/chunks/checkboxGroup.component-CcjCexJ4.js.map +0 -1
  1042. package/dist/chunks/conversationCard.component-CcWQpwrW.js +0 -2
  1043. package/dist/chunks/conversationCard.component-CcWQpwrW.js.map +0 -1
  1044. package/dist/chunks/conversationCard.component-DKIHpfpL.js +0 -383
  1045. package/dist/chunks/conversationCard.component-DKIHpfpL.js.map +0 -1
  1046. package/dist/chunks/date-1NFv48Qu.js +0 -3598
  1047. package/dist/chunks/date-1NFv48Qu.js.map +0 -1
  1048. package/dist/chunks/date-Du64Exix.js +0 -15
  1049. package/dist/chunks/date-Du64Exix.js.map +0 -1
  1050. package/dist/chunks/datePicker.component-BthgWsMj.js +0 -2
  1051. package/dist/chunks/datePicker.component-BthgWsMj.js.map +0 -1
  1052. package/dist/chunks/datePicker.component-Q_KcgvIw.js +0 -749
  1053. package/dist/chunks/datePicker.component-Q_KcgvIw.js.map +0 -1
  1054. package/dist/chunks/dnd-4IMP_kRN.js +0 -6
  1055. package/dist/chunks/dnd-4IMP_kRN.js.map +0 -1
  1056. package/dist/chunks/dnd-DDR6viHX.js +0 -3236
  1057. package/dist/chunks/dnd-DDR6viHX.js.map +0 -1
  1058. package/dist/chunks/heading.component-B8niLTxz.js +0 -10
  1059. package/dist/chunks/heading.component-B8niLTxz.js.map +0 -1
  1060. package/dist/chunks/heading.component-CExbjSBi.js +0 -2
  1061. package/dist/chunks/heading.component-CExbjSBi.js.map +0 -1
  1062. package/dist/chunks/icon.component-B-BWWGO3.js +0 -42
  1063. package/dist/chunks/icon.component-B-BWWGO3.js.map +0 -1
  1064. package/dist/chunks/icon.component-Bmtf4XKw.js +0 -2
  1065. package/dist/chunks/icon.component-Bmtf4XKw.js.map +0 -1
  1066. package/dist/chunks/link.component-COhBuuX3.js +0 -58
  1067. package/dist/chunks/link.component-COhBuuX3.js.map +0 -1
  1068. package/dist/chunks/link.component-DZnXQz1W.js +0 -2
  1069. package/dist/chunks/link.component-DZnXQz1W.js.map +0 -1
  1070. package/dist/chunks/menu.component-BEj878EN.js +0 -2
  1071. package/dist/chunks/menu.component-BEj878EN.js.map +0 -1
  1072. package/dist/chunks/menu.component-CR9SH_jk.js +0 -390
  1073. package/dist/chunks/menu.component-CR9SH_jk.js.map +0 -1
  1074. package/dist/chunks/modal.types-ChWBgALC.js +0 -146
  1075. package/dist/chunks/modal.types-ChWBgALC.js.map +0 -1
  1076. package/dist/chunks/modal.types-CofEmV4v.js +0 -2
  1077. package/dist/chunks/modal.types-CofEmV4v.js.map +0 -1
  1078. package/dist/chunks/notificationCounter.component-BH6anjzq.js +0 -2
  1079. package/dist/chunks/notificationCounter.component-BH6anjzq.js.map +0 -1
  1080. package/dist/chunks/notificationCounter.component-CSuqzMTF.js +0 -124
  1081. package/dist/chunks/notificationCounter.component-CSuqzMTF.js.map +0 -1
  1082. package/dist/chunks/popover.component-C1e_jTLD.js +0 -2
  1083. package/dist/chunks/popover.component-C1e_jTLD.js.map +0 -1
  1084. package/dist/chunks/popover.component-CzYfOF7z.js +0 -221
  1085. package/dist/chunks/popover.component-CzYfOF7z.js.map +0 -1
  1086. package/dist/chunks/popover.recipe-DnCuZJd3.js +0 -123
  1087. package/dist/chunks/popover.recipe-DnCuZJd3.js.map +0 -1
  1088. package/dist/chunks/popover.recipe-Pfz3evii.js +0 -2
  1089. package/dist/chunks/popover.recipe-Pfz3evii.js.map +0 -1
  1090. package/dist/chunks/popover.types-C-V7Diw4.js +0 -12
  1091. package/dist/chunks/popover.types-C-V7Diw4.js.map +0 -1
  1092. package/dist/chunks/radio.records-BxCn4oUd.js +0 -2
  1093. package/dist/chunks/radio.records-BxCn4oUd.js.map +0 -1
  1094. package/dist/chunks/radio.records-Cc3kP4Vn.js +0 -14
  1095. package/dist/chunks/radio.records-Cc3kP4Vn.js.map +0 -1
  1096. package/dist/chunks/radioGroup.component-B1ZdhI8z.js +0 -2
  1097. package/dist/chunks/radioGroup.component-B1ZdhI8z.js.map +0 -1
  1098. package/dist/chunks/radioGroup.component-CsmHziwM.js +0 -151
  1099. package/dist/chunks/radioGroup.component-CsmHziwM.js.map +0 -1
  1100. package/dist/chunks/ratingDots.component-DFHojz_X.js +0 -155
  1101. package/dist/chunks/ratingDots.component-DFHojz_X.js.map +0 -1
  1102. package/dist/chunks/ratingDots.component-HugaFu0D.js +0 -2
  1103. package/dist/chunks/ratingDots.component-HugaFu0D.js.map +0 -1
  1104. package/dist/chunks/select.component-HI7aJx11.js +0 -129
  1105. package/dist/chunks/select.component-HI7aJx11.js.map +0 -1
  1106. package/dist/chunks/select.component-h5lPMmWB.js +0 -2
  1107. package/dist/chunks/select.component-h5lPMmWB.js.map +0 -1
  1108. package/dist/chunks/sortableList.component-B2hSRuex.js +0 -2
  1109. package/dist/chunks/sortableList.component-B2hSRuex.js.map +0 -1
  1110. package/dist/chunks/sortableList.component-DAIHsGEA.js +0 -145
  1111. package/dist/chunks/sortableList.component-DAIHsGEA.js.map +0 -1
  1112. package/dist/chunks/spinner.component-CUuidnSK.js +0 -2
  1113. package/dist/chunks/spinner.component-CUuidnSK.js.map +0 -1
  1114. package/dist/chunks/spinner.component-D5tkelNc.js +0 -177
  1115. package/dist/chunks/spinner.component-D5tkelNc.js.map +0 -1
  1116. package/dist/chunks/styledAvatar.types-Cj3j5vXC.js +0 -2
  1117. package/dist/chunks/styledAvatar.types-Cj3j5vXC.js.map +0 -1
  1118. package/dist/chunks/styledAvatar.types-DbSO8s7o.js +0 -64
  1119. package/dist/chunks/styledAvatar.types-DbSO8s7o.js.map +0 -1
  1120. package/dist/chunks/switch.component-B1fXLRiO.js +0 -53
  1121. package/dist/chunks/switch.component-B1fXLRiO.js.map +0 -1
  1122. package/dist/chunks/switch.component-PH9nS7eN.js +0 -2
  1123. package/dist/chunks/switch.component-PH9nS7eN.js.map +0 -1
  1124. package/dist/chunks/tabs.component-6iPTLCx6.js +0 -2
  1125. package/dist/chunks/tabs.component-6iPTLCx6.js.map +0 -1
  1126. package/dist/chunks/tabs.component-DaUZITBw.js +0 -87
  1127. package/dist/chunks/tabs.component-DaUZITBw.js.map +0 -1
  1128. package/dist/chunks/tag.component-A__B03TA.js +0 -66
  1129. package/dist/chunks/tag.component-A__B03TA.js.map +0 -1
  1130. package/dist/chunks/tag.component-BjOfy3Bw.js +0 -2
  1131. package/dist/chunks/tag.component-BjOfy3Bw.js.map +0 -1
  1132. package/dist/chunks/tagBlock.component-Bx_hcjU4.js +0 -2
  1133. package/dist/chunks/tagBlock.component-Bx_hcjU4.js.map +0 -1
  1134. package/dist/chunks/tagBlock.component-Ch60_R7X.js +0 -185
  1135. package/dist/chunks/tagBlock.component-Ch60_R7X.js.map +0 -1
  1136. package/dist/chunks/text.component-CBa_saMP.js +0 -2
  1137. package/dist/chunks/text.component-CBa_saMP.js.map +0 -1
  1138. package/dist/chunks/text.component-XYjOAc2s.js +0 -10
  1139. package/dist/chunks/text.component-XYjOAc2s.js.map +0 -1
  1140. package/dist/chunks/textInput.component-CdPvTnhj.js +0 -2
  1141. package/dist/chunks/textInput.component-CdPvTnhj.js.map +0 -1
  1142. package/dist/chunks/textInput.component-LjDvSnBy.js +0 -98
  1143. package/dist/chunks/textInput.component-LjDvSnBy.js.map +0 -1
  1144. package/dist/chunks/textarea.component-C7l9zJKx.js +0 -51
  1145. package/dist/chunks/textarea.component-C7l9zJKx.js.map +0 -1
  1146. package/dist/chunks/textarea.component-CKEdjCAq.js +0 -2
  1147. package/dist/chunks/textarea.component-CKEdjCAq.js.map +0 -1
  1148. package/dist/chunks/timePicker.component-BLYPjS1u.js +0 -2
  1149. package/dist/chunks/timePicker.component-BLYPjS1u.js.map +0 -1
  1150. package/dist/chunks/timePicker.component-DFT36RN_.js +0 -246
  1151. package/dist/chunks/timePicker.component-DFT36RN_.js.map +0 -1
  1152. package/dist/chunks/timeRange.component-CzJjkQzN.js +0 -2
  1153. package/dist/chunks/timeRange.component-CzJjkQzN.js.map +0 -1
  1154. package/dist/chunks/timeRange.component-KETq7cDb.js +0 -17
  1155. package/dist/chunks/timeRange.component-KETq7cDb.js.map +0 -1
  1156. package/dist/chunks/timestamp.component-CuqY4euh.js +0 -2
  1157. package/dist/chunks/timestamp.component-CuqY4euh.js.map +0 -1
  1158. package/dist/chunks/timestamp.component-D764INLm.js +0 -37
  1159. package/dist/chunks/timestamp.component-D764INLm.js.map +0 -1
  1160. package/dist/chunks/tooltip.component-C3v2m2T2.js +0 -70
  1161. package/dist/chunks/tooltip.component-C3v2m2T2.js.map +0 -1
  1162. package/dist/chunks/tooltip.component-qWFa28S5.js +0 -2
  1163. package/dist/chunks/tooltip.component-qWFa28S5.js.map +0 -1
  1164. package/dist/chunks/typography.records-BPYXVuvi.js +0 -2
  1165. package/dist/chunks/typography.records-BPYXVuvi.js.map +0 -1
  1166. package/dist/chunks/typography.records-CG4wIBxE.js +0 -24
  1167. package/dist/chunks/typography.records-CG4wIBxE.js.map +0 -1
  1168. package/dist/chunks/vendor-BBfll6i3.js +0 -11757
  1169. package/dist/chunks/vendor-BBfll6i3.js.map +0 -1
  1170. package/dist/chunks/vendor-D-x6W6ez.js +0 -57
  1171. package/dist/chunks/vendor-D-x6W6ez.js.map +0 -1
  1172. package/dist/chunks/withFormControl-C7uVEpxe.js +0 -2
  1173. package/dist/chunks/withFormControl-C7uVEpxe.js.map +0 -1
  1174. package/dist/chunks/withFormControl-DSNvvAPD.js +0 -149
  1175. package/dist/chunks/withFormControl-DSNvvAPD.js.map +0 -1
  1176. package/dist/chunks/withTruncation-BskZBBVs.js +0 -2
  1177. package/dist/chunks/withTruncation-BskZBBVs.js.map +0 -1
  1178. package/dist/chunks/withTruncation-C2xFKhgB.js +0 -74
  1179. package/dist/chunks/withTruncation-C2xFKhgB.js.map +0 -1
  1180. package/dist/cjs/patterns/ConversationCard/index.cjs +0 -2
  1181. package/dist/cjs/patterns/StyledAvatar/index.cjs +0 -2
  1182. package/dist/cjs/patterns/TagBlock/index.cjs +0 -2
  1183. package/dist/cjs/patterns/Timestamp/index.cjs +0 -2
  1184. package/dist/cjs/patterns/index.cjs +0 -2
  1185. package/dist/esm/patterns/ConversationCard/index.js +0 -5
  1186. package/dist/esm/patterns/StyledAvatar/index.js +0 -6
  1187. package/dist/esm/patterns/TagBlock/index.js +0 -6
  1188. package/dist/esm/patterns/Timestamp/index.js +0 -5
  1189. package/dist/esm/patterns/index.js +0 -13
  1190. package/dist/esm/patterns/index.js.map +0 -1
  1191. package/dist/types/components/Alert/alert.records.d.ts +0 -6
  1192. package/dist/types/components/Alert/docs/alert.argTypes.d.ts +0 -6
  1193. package/dist/types/components/Alert.d.ts +0 -3
  1194. package/dist/types/components/Avatar/components/AvatarBadge/docs/avatarBadge.argTypes.d.ts +0 -4
  1195. package/dist/types/components/Avatar/docs/avatar.argTypes.d.ts +0 -4
  1196. package/dist/types/components/Avatar.d.ts +0 -3
  1197. package/dist/types/components/AvatarGroup/docs/avatarGroup.argTypes.d.ts +0 -4
  1198. package/dist/types/components/AvatarGroup.d.ts +0 -3
  1199. package/dist/types/components/Button/docs/button.argTypes.d.ts +0 -4
  1200. package/dist/types/components/Button.d.ts +0 -3
  1201. package/dist/types/components/ButtonGroup/docs/buttonGroup.argTypes.d.ts +0 -4
  1202. package/dist/types/components/ButtonGroup.d.ts +0 -3
  1203. package/dist/types/components/Card/docs/card.argTypes.d.ts +0 -4
  1204. package/dist/types/components/Card.d.ts +0 -3
  1205. package/dist/types/components/CharacterCounter/docs/characterCounter.argTypes.d.ts +0 -4
  1206. package/dist/types/components/CharacterCounter.d.ts +0 -3
  1207. package/dist/types/components/Checkbox/docs/checkbox.argTypes.d.ts +0 -4
  1208. package/dist/types/components/Checkbox.d.ts +0 -3
  1209. package/dist/types/components/CheckboxGroup/docs/checkboxGroup.argTypes.d.ts +0 -4
  1210. package/dist/types/components/CheckboxGroup.d.ts +0 -3
  1211. package/dist/types/components/DatePicker/docs/datePicker.argTypes.d.ts +0 -4
  1212. package/dist/types/components/DatePicker.d.ts +0 -3
  1213. package/dist/types/components/Heading/docs/heading.argTypes.d.ts +0 -4
  1214. package/dist/types/components/Heading.d.ts +0 -3
  1215. package/dist/types/components/Icon/docs/icon.argTypes.d.ts +0 -4
  1216. package/dist/types/components/Icon/generated.d.ts +0 -3
  1217. package/dist/types/components/Icon.d.ts +0 -3
  1218. package/dist/types/components/Link/docs/link.argTypes.d.ts +0 -6
  1219. package/dist/types/components/Link.d.ts +0 -3
  1220. package/dist/types/components/Menu/docs/menu.argTypes.d.ts +0 -5
  1221. package/dist/types/components/Menu.d.ts +0 -3
  1222. package/dist/types/components/Modal/docs/modal.argTypes.d.ts +0 -4
  1223. package/dist/types/components/Modal.d.ts +0 -3
  1224. package/dist/types/components/NotificationCounter/docs/notificationCounter.argTypes.d.ts +0 -4
  1225. package/dist/types/components/NotificationCounter.d.ts +0 -3
  1226. package/dist/types/components/Picture/docs/picture.argTypes.d.ts +0 -4
  1227. package/dist/types/components/Picture.d.ts +0 -3
  1228. package/dist/types/components/Popover/docs/popover.argTypes.d.ts +0 -4
  1229. package/dist/types/components/Popover.d.ts +0 -3
  1230. package/dist/types/components/RadioGroup/components/Radio/docs/radio.argTypes.d.ts +0 -4
  1231. package/dist/types/components/RadioGroup/docs/radioGroup.argTypes.d.ts +0 -4
  1232. package/dist/types/components/RadioGroup.d.ts +0 -3
  1233. package/dist/types/components/RatingDots/docs/ratingDots.argTypes.d.ts +0 -4
  1234. package/dist/types/components/RatingDots.d.ts +0 -3
  1235. package/dist/types/components/Select/docs/select.argTypes.d.ts +0 -4
  1236. package/dist/types/components/Select.d.ts +0 -3
  1237. package/dist/types/components/SortableList/docs/sortableList.argTypes.d.ts +0 -4
  1238. package/dist/types/components/SortableList.d.ts +0 -3
  1239. package/dist/types/components/Spinner/docs/spinner.argTypes.d.ts +0 -4
  1240. package/dist/types/components/Spinner.d.ts +0 -3
  1241. package/dist/types/components/Swatch/docs/swatch.argTypes.d.ts +0 -4
  1242. package/dist/types/components/Swatch.d.ts +0 -3
  1243. package/dist/types/components/Switch/docs/switch.argTypes.d.ts +0 -4
  1244. package/dist/types/components/Switch.d.ts +0 -3
  1245. package/dist/types/components/Tabs/components/Tab/docs/tab.argTypes.d.ts +0 -4
  1246. package/dist/types/components/Tabs/docs/tabs.argTypes.d.ts +0 -4
  1247. package/dist/types/components/Tabs.d.ts +0 -3
  1248. package/dist/types/components/Tag/docs/tag.argTypes.d.ts +0 -4
  1249. package/dist/types/components/Tag.d.ts +0 -3
  1250. package/dist/types/components/Text/docs/text.argTypes.d.ts +0 -4
  1251. package/dist/types/components/Text.d.ts +0 -3
  1252. package/dist/types/components/TextInput/docs/textInput.argTypes.d.ts +0 -4
  1253. package/dist/types/components/TextInput.d.ts +0 -3
  1254. package/dist/types/components/Textarea/docs/textarea.argTypes.d.ts +0 -4
  1255. package/dist/types/components/Textarea.d.ts +0 -3
  1256. package/dist/types/components/TimePicker/docs/timePicker.argTypes.d.ts +0 -4
  1257. package/dist/types/components/TimePicker.d.ts +0 -3
  1258. package/dist/types/components/TimeRange/docs/timeRange.argTypes.d.ts +0 -4
  1259. package/dist/types/components/TimeRange.d.ts +0 -3
  1260. package/dist/types/components/Tooltip/docs/tooltip.argTypes.d.ts +0 -4
  1261. package/dist/types/components/Tooltip.d.ts +0 -3
  1262. package/dist/types/components.d.ts +0 -3
  1263. package/dist/types/hocs.d.ts +0 -3
  1264. package/dist/types/hooks.d.ts +0 -3
  1265. package/dist/types/patterns/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -9
  1266. package/dist/types/patterns/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +0 -22
  1267. package/dist/types/patterns/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +0 -9
  1268. package/dist/types/patterns/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +0 -10
  1269. package/dist/types/patterns/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -14
  1270. package/dist/types/patterns/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +0 -10
  1271. package/dist/types/patterns/ConversationCard/conversationCard.component.d.ts +0 -24
  1272. package/dist/types/patterns/ConversationCard/docs/conversationCard.argTypes.d.ts +0 -13
  1273. package/dist/types/patterns/ConversationCard/docs/conversationCard.storiesData.d.ts +0 -23
  1274. package/dist/types/patterns/ConversationCard.d.ts +0 -3
  1275. package/dist/types/patterns/StyledAvatar/docs/styledAvatar.argTypes.d.ts +0 -4
  1276. package/dist/types/patterns/StyledAvatar/styledAvatar.component.d.ts +0 -8
  1277. package/dist/types/patterns/StyledAvatar/styledAvatar.types.d.ts +0 -3
  1278. package/dist/types/patterns/StyledAvatar.d.ts +0 -3
  1279. package/dist/types/patterns/TagBlock/docs/tagBlock.argTypes.d.ts +0 -4
  1280. package/dist/types/patterns/TagBlock/tagBlock.component.d.ts +0 -26
  1281. package/dist/types/patterns/TagBlock/tagBlock.types.d.ts +0 -10
  1282. package/dist/types/patterns/TagBlock.d.ts +0 -3
  1283. package/dist/types/patterns/Timestamp/docs/timestamp.argTypes.d.ts +0 -4
  1284. package/dist/types/patterns/Timestamp/timestamp.component.d.ts +0 -12
  1285. package/dist/types/patterns/Timestamp.d.ts +0 -3
  1286. package/dist/types/patterns/index.d.ts +0 -4
  1287. package/dist/types/patterns.d.ts +0 -3
  1288. package/dist/types/shared/types.d.ts +0 -3
  1289. package/dist/types/theme/semanticTokens/docs/semanticTokens.d.ts +0 -8
  1290. package/dist/types/theme/semanticTokens.d.ts +0 -3
  1291. package/dist/types/theme/tokens/blurs.d.ts +0 -3
  1292. package/dist/types/theme/tokens/borders/docs/borders.d.ts +0 -6
  1293. package/dist/types/theme/tokens/borders.d.ts +0 -3
  1294. package/dist/types/theme/tokens/colors.d.ts +0 -3
  1295. package/dist/types/theme/tokens/shadows/docs/shadows.d.ts +0 -7
  1296. package/dist/types/theme/tokens/shadows.d.ts +0 -3
  1297. package/dist/types/theme/tokens/sizes.d.ts +0 -3
  1298. package/dist/types/theme/tokens/spacing.d.ts +0 -3
  1299. package/dist/types/theme/tokens/transitions.d.ts +0 -3
  1300. package/dist/types/theme/tokens/typography/docs/typography.d.ts +0 -3
  1301. package/dist/types/theme/tokens/typography.d.ts +0 -3
  1302. package/dist/types/theme/tokens/zIndices.d.ts +0 -3
  1303. package/dist/types/theme/tokens.d.ts +0 -3
  1304. package/dist/types/theme.d.ts +0 -3
  1305. /package/dist/cjs/{patterns → components}/ConversationCard/index.cjs.map +0 -0
  1306. /package/dist/cjs/{patterns/StyledAvatar → components/Divider}/index.cjs.map +0 -0
  1307. /package/dist/cjs/{patterns/TagBlock → components/Logo/generated}/index.cjs.map +0 -0
  1308. /package/dist/cjs/{patterns/Timestamp → components/Logo}/index.cjs.map +0 -0
  1309. /package/dist/cjs/{patterns → components/PinInput}/index.cjs.map +0 -0
  1310. /package/dist/esm/{patterns → components}/ConversationCard/index.js.map +0 -0
  1311. /package/dist/esm/{patterns/StyledAvatar → components/Divider}/index.js.map +0 -0
  1312. /package/dist/esm/{patterns/TagBlock → components/Logo/generated}/index.js.map +0 -0
  1313. /package/dist/esm/{patterns/Timestamp → components/Logo}/index.js.map +0 -0
  1314. /package/dist/types/{patterns → components}/ConversationCard/index.d.ts +0 -0
  1315. /package/dist/types/{patterns → components}/StyledAvatar/index.d.ts +0 -0
  1316. /package/dist/types/{patterns → components}/TagBlock/index.d.ts +0 -0
  1317. /package/dist/types/{patterns → components}/Timestamp/index.d.ts +0 -0
@@ -0,0 +1,3327 @@
1
+ import { j as _ } from "./jsx-runtime-C5mzlN2N.js";
2
+ import M, { useLayoutEffect as Bn, useEffect as O, useRef as N, useMemo as E, useCallback as F, useState as B, memo as Fn, useReducer as Xn, createContext as Ee, useContext as ce, forwardRef as $n, cloneElement as Yn } from "react";
3
+ import { r as Be } from "./use-locale-context-BiiNTYMT.js";
4
+ import { B as Kn } from "./button.component-DOAhnxbj.js";
5
+ import { W as Un } from "./text.component-DJW--Vty.js";
6
+ import { F as Wn } from "./flex-smlF8uQG.js";
7
+ import { L as Hn, a as Vn } from "./list-DqH5ttQG.js";
8
+ function qn() {
9
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
10
+ t[n] = arguments[n];
11
+ return E(
12
+ () => (r) => {
13
+ t.forEach((o) => o(r));
14
+ },
15
+ // eslint-disable-next-line react-hooks/exhaustive-deps
16
+ t
17
+ );
18
+ }
19
+ const ct = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
20
+ function Ae(e) {
21
+ const t = Object.prototype.toString.call(e);
22
+ return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
23
+ t === "[object global]";
24
+ }
25
+ function Rt(e) {
26
+ return "nodeType" in e;
27
+ }
28
+ function X(e) {
29
+ var t, n;
30
+ return e ? Ae(e) ? e : Rt(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
31
+ }
32
+ function Et(e) {
33
+ const {
34
+ Document: t
35
+ } = X(e);
36
+ return e instanceof t;
37
+ }
38
+ function We(e) {
39
+ return Ae(e) ? !1 : e instanceof X(e).HTMLElement;
40
+ }
41
+ function rn(e) {
42
+ return e instanceof X(e).SVGElement;
43
+ }
44
+ function Ie(e) {
45
+ return e ? Ae(e) ? e.document : Rt(e) ? Et(e) ? e : We(e) || rn(e) ? e.ownerDocument : document : document : document;
46
+ }
47
+ const Q = ct ? Bn : O;
48
+ function ut(e) {
49
+ const t = N(e);
50
+ return Q(() => {
51
+ t.current = e;
52
+ }), F(function() {
53
+ for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++)
54
+ r[o] = arguments[o];
55
+ return t.current == null ? void 0 : t.current(...r);
56
+ }, []);
57
+ }
58
+ function _n() {
59
+ const e = N(null), t = F((r, o) => {
60
+ e.current = setInterval(r, o);
61
+ }, []), n = F(() => {
62
+ e.current !== null && (clearInterval(e.current), e.current = null);
63
+ }, []);
64
+ return [t, n];
65
+ }
66
+ function Ye(e, t) {
67
+ t === void 0 && (t = [e]);
68
+ const n = N(e);
69
+ return Q(() => {
70
+ n.current !== e && (n.current = e);
71
+ }, t), n;
72
+ }
73
+ function He(e, t) {
74
+ const n = N();
75
+ return E(
76
+ () => {
77
+ const r = e(n.current);
78
+ return n.current = r, r;
79
+ },
80
+ // eslint-disable-next-line react-hooks/exhaustive-deps
81
+ [...t]
82
+ );
83
+ }
84
+ function rt(e) {
85
+ const t = ut(e), n = N(null), r = F(
86
+ (o) => {
87
+ o !== n.current && t?.(o, n.current), n.current = o;
88
+ },
89
+ //eslint-disable-next-line
90
+ []
91
+ );
92
+ return [n, r];
93
+ }
94
+ function ot(e) {
95
+ const t = N();
96
+ return O(() => {
97
+ t.current = e;
98
+ }, [e]), t.current;
99
+ }
100
+ let mt = {};
101
+ function Ve(e, t) {
102
+ return E(() => {
103
+ if (t)
104
+ return t;
105
+ const n = mt[e] == null ? 0 : mt[e] + 1;
106
+ return mt[e] = n, e + "-" + n;
107
+ }, [e, t]);
108
+ }
109
+ function on(e) {
110
+ return function(t) {
111
+ for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
112
+ r[o - 1] = arguments[o];
113
+ return r.reduce((i, s) => {
114
+ const a = Object.entries(s);
115
+ for (const [l, c] of a) {
116
+ const d = i[l];
117
+ d != null && (i[l] = d + e * c);
118
+ }
119
+ return i;
120
+ }, {
121
+ ...t
122
+ });
123
+ };
124
+ }
125
+ const Re = /* @__PURE__ */ on(1), Ke = /* @__PURE__ */ on(-1);
126
+ function Jn(e) {
127
+ return "clientX" in e && "clientY" in e;
128
+ }
129
+ function dt(e) {
130
+ if (!e)
131
+ return !1;
132
+ const {
133
+ KeyboardEvent: t
134
+ } = X(e.target);
135
+ return t && e instanceof t;
136
+ }
137
+ function Gn(e) {
138
+ if (!e)
139
+ return !1;
140
+ const {
141
+ TouchEvent: t
142
+ } = X(e.target);
143
+ return t && e instanceof t;
144
+ }
145
+ function it(e) {
146
+ if (Gn(e)) {
147
+ if (e.touches && e.touches.length) {
148
+ const {
149
+ clientX: t,
150
+ clientY: n
151
+ } = e.touches[0];
152
+ return {
153
+ x: t,
154
+ y: n
155
+ };
156
+ } else if (e.changedTouches && e.changedTouches.length) {
157
+ const {
158
+ clientX: t,
159
+ clientY: n
160
+ } = e.changedTouches[0];
161
+ return {
162
+ x: t,
163
+ y: n
164
+ };
165
+ }
166
+ }
167
+ return Jn(e) ? {
168
+ x: e.clientX,
169
+ y: e.clientY
170
+ } : null;
171
+ }
172
+ const be = /* @__PURE__ */ Object.freeze({
173
+ Translate: {
174
+ toString(e) {
175
+ if (!e)
176
+ return;
177
+ const {
178
+ x: t,
179
+ y: n
180
+ } = e;
181
+ return "translate3d(" + (t ? Math.round(t) : 0) + "px, " + (n ? Math.round(n) : 0) + "px, 0)";
182
+ }
183
+ },
184
+ Scale: {
185
+ toString(e) {
186
+ if (!e)
187
+ return;
188
+ const {
189
+ scaleX: t,
190
+ scaleY: n
191
+ } = e;
192
+ return "scaleX(" + t + ") scaleY(" + n + ")";
193
+ }
194
+ },
195
+ Transform: {
196
+ toString(e) {
197
+ if (e)
198
+ return [be.Translate.toString(e), be.Scale.toString(e)].join(" ");
199
+ }
200
+ },
201
+ Transition: {
202
+ toString(e) {
203
+ let {
204
+ property: t,
205
+ duration: n,
206
+ easing: r
207
+ } = e;
208
+ return t + " " + n + "ms " + r;
209
+ }
210
+ }
211
+ }), Yt = "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";
212
+ function Qn(e) {
213
+ return e.matches(Yt) ? e : e.querySelector(Yt);
214
+ }
215
+ const Zn = {
216
+ display: "none"
217
+ };
218
+ function er(e) {
219
+ let {
220
+ id: t,
221
+ value: n
222
+ } = e;
223
+ return M.createElement("div", {
224
+ id: t,
225
+ style: Zn
226
+ }, n);
227
+ }
228
+ function tr(e) {
229
+ let {
230
+ id: t,
231
+ announcement: n,
232
+ ariaLiveType: r = "assertive"
233
+ } = e;
234
+ const o = {
235
+ position: "fixed",
236
+ top: 0,
237
+ left: 0,
238
+ width: 1,
239
+ height: 1,
240
+ margin: -1,
241
+ border: 0,
242
+ padding: 0,
243
+ overflow: "hidden",
244
+ clip: "rect(0 0 0 0)",
245
+ clipPath: "inset(100%)",
246
+ whiteSpace: "nowrap"
247
+ };
248
+ return M.createElement("div", {
249
+ id: t,
250
+ style: o,
251
+ role: "status",
252
+ "aria-live": r,
253
+ "aria-atomic": !0
254
+ }, n);
255
+ }
256
+ function nr() {
257
+ const [e, t] = B("");
258
+ return {
259
+ announce: F((r) => {
260
+ r != null && t(r);
261
+ }, []),
262
+ announcement: e
263
+ };
264
+ }
265
+ const sn = /* @__PURE__ */ Ee(null);
266
+ function rr(e) {
267
+ const t = ce(sn);
268
+ O(() => {
269
+ if (!t)
270
+ throw new Error("useDndMonitor must be used within a children of <DndContext>");
271
+ return t(e);
272
+ }, [e, t]);
273
+ }
274
+ function or() {
275
+ const [e] = B(() => /* @__PURE__ */ new Set()), t = F((r) => (e.add(r), () => e.delete(r)), [e]);
276
+ return [F((r) => {
277
+ let {
278
+ type: o,
279
+ event: i
280
+ } = r;
281
+ e.forEach((s) => {
282
+ var a;
283
+ return (a = s[o]) == null ? void 0 : a.call(s, i);
284
+ });
285
+ }, [e]), t];
286
+ }
287
+ const ir = {
288
+ draggable: `
289
+ To pick up a draggable item, press the space bar.
290
+ While dragging, use the arrow keys to move the item.
291
+ Press space again to drop the item in its new position, or press escape to cancel.
292
+ `
293
+ }, sr = {
294
+ onDragStart(e) {
295
+ let {
296
+ active: t
297
+ } = e;
298
+ return "Picked up draggable item " + t.id + ".";
299
+ },
300
+ onDragOver(e) {
301
+ let {
302
+ active: t,
303
+ over: n
304
+ } = e;
305
+ return n ? "Draggable item " + t.id + " was moved over droppable area " + n.id + "." : "Draggable item " + t.id + " is no longer over a droppable area.";
306
+ },
307
+ onDragEnd(e) {
308
+ let {
309
+ active: t,
310
+ over: n
311
+ } = e;
312
+ return n ? "Draggable item " + t.id + " was dropped over droppable area " + n.id : "Draggable item " + t.id + " was dropped.";
313
+ },
314
+ onDragCancel(e) {
315
+ let {
316
+ active: t
317
+ } = e;
318
+ return "Dragging was cancelled. Draggable item " + t.id + " was dropped.";
319
+ }
320
+ };
321
+ function ar(e) {
322
+ let {
323
+ announcements: t = sr,
324
+ container: n,
325
+ hiddenTextDescribedById: r,
326
+ screenReaderInstructions: o = ir
327
+ } = e;
328
+ const {
329
+ announce: i,
330
+ announcement: s
331
+ } = nr(), a = Ve("DndLiveRegion"), [l, c] = B(!1);
332
+ if (O(() => {
333
+ c(!0);
334
+ }, []), rr(E(() => ({
335
+ onDragStart(u) {
336
+ let {
337
+ active: g
338
+ } = u;
339
+ i(t.onDragStart({
340
+ active: g
341
+ }));
342
+ },
343
+ onDragMove(u) {
344
+ let {
345
+ active: g,
346
+ over: f
347
+ } = u;
348
+ t.onDragMove && i(t.onDragMove({
349
+ active: g,
350
+ over: f
351
+ }));
352
+ },
353
+ onDragOver(u) {
354
+ let {
355
+ active: g,
356
+ over: f
357
+ } = u;
358
+ i(t.onDragOver({
359
+ active: g,
360
+ over: f
361
+ }));
362
+ },
363
+ onDragEnd(u) {
364
+ let {
365
+ active: g,
366
+ over: f
367
+ } = u;
368
+ i(t.onDragEnd({
369
+ active: g,
370
+ over: f
371
+ }));
372
+ },
373
+ onDragCancel(u) {
374
+ let {
375
+ active: g,
376
+ over: f
377
+ } = u;
378
+ i(t.onDragCancel({
379
+ active: g,
380
+ over: f
381
+ }));
382
+ }
383
+ }), [i, t])), !l)
384
+ return null;
385
+ const d = M.createElement(M.Fragment, null, M.createElement(er, {
386
+ id: r,
387
+ value: o.draggable
388
+ }), M.createElement(tr, {
389
+ id: a,
390
+ announcement: s
391
+ }));
392
+ return n ? Be.createPortal(d, n) : d;
393
+ }
394
+ var P;
395
+ (function(e) {
396
+ e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
397
+ })(P || (P = {}));
398
+ function st() {
399
+ }
400
+ function Kt(e, t) {
401
+ return E(
402
+ () => ({
403
+ sensor: e,
404
+ options: t ?? {}
405
+ }),
406
+ // eslint-disable-next-line react-hooks/exhaustive-deps
407
+ [e, t]
408
+ );
409
+ }
410
+ function lr() {
411
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
412
+ t[n] = arguments[n];
413
+ return E(
414
+ () => [...t].filter((r) => r != null),
415
+ // eslint-disable-next-line react-hooks/exhaustive-deps
416
+ [...t]
417
+ );
418
+ }
419
+ const Z = /* @__PURE__ */ Object.freeze({
420
+ x: 0,
421
+ y: 0
422
+ });
423
+ function cr(e, t) {
424
+ return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
425
+ }
426
+ function ur(e, t) {
427
+ const n = it(e);
428
+ if (!n)
429
+ return "0 0";
430
+ const r = {
431
+ x: (n.x - t.left) / t.width * 100,
432
+ y: (n.y - t.top) / t.height * 100
433
+ };
434
+ return r.x + "% " + r.y + "%";
435
+ }
436
+ function dr(e, t) {
437
+ let {
438
+ data: {
439
+ value: n
440
+ }
441
+ } = e, {
442
+ data: {
443
+ value: r
444
+ }
445
+ } = t;
446
+ return n - r;
447
+ }
448
+ function fr(e, t) {
449
+ let {
450
+ data: {
451
+ value: n
452
+ }
453
+ } = e, {
454
+ data: {
455
+ value: r
456
+ }
457
+ } = t;
458
+ return r - n;
459
+ }
460
+ function Ut(e) {
461
+ let {
462
+ left: t,
463
+ top: n,
464
+ height: r,
465
+ width: o
466
+ } = e;
467
+ return [{
468
+ x: t,
469
+ y: n
470
+ }, {
471
+ x: t + o,
472
+ y: n
473
+ }, {
474
+ x: t,
475
+ y: n + r
476
+ }, {
477
+ x: t + o,
478
+ y: n + r
479
+ }];
480
+ }
481
+ function an(e, t) {
482
+ if (!e || e.length === 0)
483
+ return null;
484
+ const [n] = e;
485
+ return n[t];
486
+ }
487
+ const gr = (e) => {
488
+ let {
489
+ collisionRect: t,
490
+ droppableRects: n,
491
+ droppableContainers: r
492
+ } = e;
493
+ const o = Ut(t), i = [];
494
+ for (const s of r) {
495
+ const {
496
+ id: a
497
+ } = s, l = n.get(a);
498
+ if (l) {
499
+ const c = Ut(l), d = o.reduce((g, f, w) => g + cr(c[w], f), 0), u = Number((d / 4).toFixed(4));
500
+ i.push({
501
+ id: a,
502
+ data: {
503
+ droppableContainer: s,
504
+ value: u
505
+ }
506
+ });
507
+ }
508
+ }
509
+ return i.sort(dr);
510
+ };
511
+ function hr(e, t) {
512
+ const n = Math.max(t.top, e.top), r = Math.max(t.left, e.left), o = Math.min(t.left + t.width, e.left + e.width), i = Math.min(t.top + t.height, e.top + e.height), s = o - r, a = i - n;
513
+ if (r < o && n < i) {
514
+ const l = t.width * t.height, c = e.width * e.height, d = s * a, u = d / (l + c - d);
515
+ return Number(u.toFixed(4));
516
+ }
517
+ return 0;
518
+ }
519
+ const vr = (e) => {
520
+ let {
521
+ collisionRect: t,
522
+ droppableRects: n,
523
+ droppableContainers: r
524
+ } = e;
525
+ const o = [];
526
+ for (const i of r) {
527
+ const {
528
+ id: s
529
+ } = i, a = n.get(s);
530
+ if (a) {
531
+ const l = hr(a, t);
532
+ l > 0 && o.push({
533
+ id: s,
534
+ data: {
535
+ droppableContainer: i,
536
+ value: l
537
+ }
538
+ });
539
+ }
540
+ }
541
+ return o.sort(fr);
542
+ };
543
+ function pr(e, t, n) {
544
+ return {
545
+ ...e,
546
+ scaleX: t && n ? t.width / n.width : 1,
547
+ scaleY: t && n ? t.height / n.height : 1
548
+ };
549
+ }
550
+ function ln(e, t) {
551
+ return e && t ? {
552
+ x: e.left - t.left,
553
+ y: e.top - t.top
554
+ } : Z;
555
+ }
556
+ function br(e) {
557
+ return function(n) {
558
+ for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
559
+ o[i - 1] = arguments[i];
560
+ return o.reduce((s, a) => ({
561
+ ...s,
562
+ top: s.top + e * a.y,
563
+ bottom: s.bottom + e * a.y,
564
+ left: s.left + e * a.x,
565
+ right: s.right + e * a.x
566
+ }), {
567
+ ...n
568
+ });
569
+ };
570
+ }
571
+ const mr = /* @__PURE__ */ br(1);
572
+ function cn(e) {
573
+ if (e.startsWith("matrix3d(")) {
574
+ const t = e.slice(9, -1).split(/, /);
575
+ return {
576
+ x: +t[12],
577
+ y: +t[13],
578
+ scaleX: +t[0],
579
+ scaleY: +t[5]
580
+ };
581
+ } else if (e.startsWith("matrix(")) {
582
+ const t = e.slice(7, -1).split(/, /);
583
+ return {
584
+ x: +t[4],
585
+ y: +t[5],
586
+ scaleX: +t[0],
587
+ scaleY: +t[3]
588
+ };
589
+ }
590
+ return null;
591
+ }
592
+ function yr(e, t, n) {
593
+ const r = cn(t);
594
+ if (!r)
595
+ return e;
596
+ const {
597
+ scaleX: o,
598
+ scaleY: i,
599
+ x: s,
600
+ y: a
601
+ } = r, l = e.left - s - (1 - o) * parseFloat(n), c = e.top - a - (1 - i) * parseFloat(n.slice(n.indexOf(" ") + 1)), d = o ? e.width / o : e.width, u = i ? e.height / i : e.height;
602
+ return {
603
+ width: d,
604
+ height: u,
605
+ top: c,
606
+ right: l + d,
607
+ bottom: c + u,
608
+ left: l
609
+ };
610
+ }
611
+ const wr = {
612
+ ignoreTransform: !1
613
+ };
614
+ function Oe(e, t) {
615
+ t === void 0 && (t = wr);
616
+ let n = e.getBoundingClientRect();
617
+ if (t.ignoreTransform) {
618
+ const {
619
+ transform: c,
620
+ transformOrigin: d
621
+ } = X(e).getComputedStyle(e);
622
+ c && (n = yr(n, c, d));
623
+ }
624
+ const {
625
+ top: r,
626
+ left: o,
627
+ width: i,
628
+ height: s,
629
+ bottom: a,
630
+ right: l
631
+ } = n;
632
+ return {
633
+ top: r,
634
+ left: o,
635
+ width: i,
636
+ height: s,
637
+ bottom: a,
638
+ right: l
639
+ };
640
+ }
641
+ function Wt(e) {
642
+ return Oe(e, {
643
+ ignoreTransform: !0
644
+ });
645
+ }
646
+ function xr(e) {
647
+ const t = e.innerWidth, n = e.innerHeight;
648
+ return {
649
+ top: 0,
650
+ left: 0,
651
+ right: t,
652
+ bottom: n,
653
+ width: t,
654
+ height: n
655
+ };
656
+ }
657
+ function Dr(e, t) {
658
+ return t === void 0 && (t = X(e).getComputedStyle(e)), t.position === "fixed";
659
+ }
660
+ function Sr(e, t) {
661
+ t === void 0 && (t = X(e).getComputedStyle(e));
662
+ const n = /(auto|scroll|overlay)/;
663
+ return ["overflow", "overflowX", "overflowY"].some((o) => {
664
+ const i = t[o];
665
+ return typeof i == "string" ? n.test(i) : !1;
666
+ });
667
+ }
668
+ function ft(e, t) {
669
+ const n = [];
670
+ function r(o) {
671
+ if (t != null && n.length >= t || !o)
672
+ return n;
673
+ if (Et(o) && o.scrollingElement != null && !n.includes(o.scrollingElement))
674
+ return n.push(o.scrollingElement), n;
675
+ if (!We(o) || rn(o) || n.includes(o))
676
+ return n;
677
+ const i = X(e).getComputedStyle(o);
678
+ return o !== e && Sr(o, i) && n.push(o), Dr(o, i) ? n : r(o.parentNode);
679
+ }
680
+ return e ? r(e) : n;
681
+ }
682
+ function un(e) {
683
+ const [t] = ft(e, 1);
684
+ return t ?? null;
685
+ }
686
+ function yt(e) {
687
+ return !ct || !e ? null : Ae(e) ? e : Rt(e) ? Et(e) || e === Ie(e).scrollingElement ? window : We(e) ? e : null : null;
688
+ }
689
+ function dn(e) {
690
+ return Ae(e) ? e.scrollX : e.scrollLeft;
691
+ }
692
+ function fn(e) {
693
+ return Ae(e) ? e.scrollY : e.scrollTop;
694
+ }
695
+ function Dt(e) {
696
+ return {
697
+ x: dn(e),
698
+ y: fn(e)
699
+ };
700
+ }
701
+ var k;
702
+ (function(e) {
703
+ e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
704
+ })(k || (k = {}));
705
+ function gn(e) {
706
+ return !ct || !e ? !1 : e === document.scrollingElement;
707
+ }
708
+ function hn(e) {
709
+ const t = {
710
+ x: 0,
711
+ y: 0
712
+ }, n = gn(e) ? {
713
+ height: window.innerHeight,
714
+ width: window.innerWidth
715
+ } : {
716
+ height: e.clientHeight,
717
+ width: e.clientWidth
718
+ }, r = {
719
+ x: e.scrollWidth - n.width,
720
+ y: e.scrollHeight - n.height
721
+ }, o = e.scrollTop <= t.y, i = e.scrollLeft <= t.x, s = e.scrollTop >= r.y, a = e.scrollLeft >= r.x;
722
+ return {
723
+ isTop: o,
724
+ isLeft: i,
725
+ isBottom: s,
726
+ isRight: a,
727
+ maxScroll: r,
728
+ minScroll: t
729
+ };
730
+ }
731
+ const Cr = {
732
+ x: 0.2,
733
+ y: 0.2
734
+ };
735
+ function Rr(e, t, n, r, o) {
736
+ let {
737
+ top: i,
738
+ left: s,
739
+ right: a,
740
+ bottom: l
741
+ } = n;
742
+ r === void 0 && (r = 10), o === void 0 && (o = Cr);
743
+ const {
744
+ isTop: c,
745
+ isBottom: d,
746
+ isLeft: u,
747
+ isRight: g
748
+ } = hn(e), f = {
749
+ x: 0,
750
+ y: 0
751
+ }, w = {
752
+ x: 0,
753
+ y: 0
754
+ }, h = {
755
+ height: t.height * o.y,
756
+ width: t.width * o.x
757
+ };
758
+ return !c && i <= t.top + h.height ? (f.y = k.Backward, w.y = r * Math.abs((t.top + h.height - i) / h.height)) : !d && l >= t.bottom - h.height && (f.y = k.Forward, w.y = r * Math.abs((t.bottom - h.height - l) / h.height)), !g && a >= t.right - h.width ? (f.x = k.Forward, w.x = r * Math.abs((t.right - h.width - a) / h.width)) : !u && s <= t.left + h.width && (f.x = k.Backward, w.x = r * Math.abs((t.left + h.width - s) / h.width)), {
759
+ direction: f,
760
+ speed: w
761
+ };
762
+ }
763
+ function Er(e) {
764
+ if (e === document.scrollingElement) {
765
+ const {
766
+ innerWidth: i,
767
+ innerHeight: s
768
+ } = window;
769
+ return {
770
+ top: 0,
771
+ left: 0,
772
+ right: i,
773
+ bottom: s,
774
+ width: i,
775
+ height: s
776
+ };
777
+ }
778
+ const {
779
+ top: t,
780
+ left: n,
781
+ right: r,
782
+ bottom: o
783
+ } = e.getBoundingClientRect();
784
+ return {
785
+ top: t,
786
+ left: n,
787
+ right: r,
788
+ bottom: o,
789
+ width: e.clientWidth,
790
+ height: e.clientHeight
791
+ };
792
+ }
793
+ function vn(e) {
794
+ return e.reduce((t, n) => Re(t, Dt(n)), Z);
795
+ }
796
+ function Ar(e) {
797
+ return e.reduce((t, n) => t + dn(n), 0);
798
+ }
799
+ function Ir(e) {
800
+ return e.reduce((t, n) => t + fn(n), 0);
801
+ }
802
+ function pn(e, t) {
803
+ if (t === void 0 && (t = Oe), !e)
804
+ return;
805
+ const {
806
+ top: n,
807
+ left: r,
808
+ bottom: o,
809
+ right: i
810
+ } = t(e);
811
+ un(e) && (o <= 0 || i <= 0 || n >= window.innerHeight || r >= window.innerWidth) && e.scrollIntoView({
812
+ block: "center",
813
+ inline: "center"
814
+ });
815
+ }
816
+ const Or = [["x", ["left", "right"], Ar], ["y", ["top", "bottom"], Ir]];
817
+ class At {
818
+ constructor(t, n) {
819
+ this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
820
+ const r = ft(n), o = vn(r);
821
+ this.rect = {
822
+ ...t
823
+ }, this.width = t.width, this.height = t.height;
824
+ for (const [i, s, a] of Or)
825
+ for (const l of s)
826
+ Object.defineProperty(this, l, {
827
+ get: () => {
828
+ const c = a(r), d = o[i] - c;
829
+ return this.rect[l] + d;
830
+ },
831
+ enumerable: !0
832
+ });
833
+ Object.defineProperty(this, "rect", {
834
+ enumerable: !1
835
+ });
836
+ }
837
+ }
838
+ class Fe {
839
+ constructor(t) {
840
+ this.target = void 0, this.listeners = [], this.removeAll = () => {
841
+ this.listeners.forEach((n) => {
842
+ var r;
843
+ return (r = this.target) == null ? void 0 : r.removeEventListener(...n);
844
+ });
845
+ }, this.target = t;
846
+ }
847
+ add(t, n, r) {
848
+ var o;
849
+ (o = this.target) == null || o.addEventListener(t, n, r), this.listeners.push([t, n, r]);
850
+ }
851
+ }
852
+ function Nr(e) {
853
+ const {
854
+ EventTarget: t
855
+ } = X(e);
856
+ return e instanceof t ? e : Ie(e);
857
+ }
858
+ function wt(e, t) {
859
+ const n = Math.abs(e.x), r = Math.abs(e.y);
860
+ return typeof t == "number" ? Math.sqrt(n ** 2 + r ** 2) > t : "x" in t && "y" in t ? n > t.x && r > t.y : "x" in t ? n > t.x : "y" in t ? r > t.y : !1;
861
+ }
862
+ var q;
863
+ (function(e) {
864
+ e.Click = "click", e.DragStart = "dragstart", e.Keydown = "keydown", e.ContextMenu = "contextmenu", e.Resize = "resize", e.SelectionChange = "selectionchange", e.VisibilityChange = "visibilitychange";
865
+ })(q || (q = {}));
866
+ function Ht(e) {
867
+ e.preventDefault();
868
+ }
869
+ function Tr(e) {
870
+ e.stopPropagation();
871
+ }
872
+ var D;
873
+ (function(e) {
874
+ e.Space = "Space", e.Down = "ArrowDown", e.Right = "ArrowRight", e.Left = "ArrowLeft", e.Up = "ArrowUp", e.Esc = "Escape", e.Enter = "Enter", e.Tab = "Tab";
875
+ })(D || (D = {}));
876
+ const bn = {
877
+ start: [D.Space, D.Enter],
878
+ cancel: [D.Esc],
879
+ end: [D.Space, D.Enter, D.Tab]
880
+ }, Mr = (e, t) => {
881
+ let {
882
+ currentCoordinates: n
883
+ } = t;
884
+ switch (e.code) {
885
+ case D.Right:
886
+ return {
887
+ ...n,
888
+ x: n.x + 25
889
+ };
890
+ case D.Left:
891
+ return {
892
+ ...n,
893
+ x: n.x - 25
894
+ };
895
+ case D.Down:
896
+ return {
897
+ ...n,
898
+ y: n.y + 25
899
+ };
900
+ case D.Up:
901
+ return {
902
+ ...n,
903
+ y: n.y - 25
904
+ };
905
+ }
906
+ };
907
+ class It {
908
+ constructor(t) {
909
+ this.props = void 0, this.autoScrollEnabled = !1, this.referenceCoordinates = void 0, this.listeners = void 0, this.windowListeners = void 0, this.props = t;
910
+ const {
911
+ event: {
912
+ target: n
913
+ }
914
+ } = t;
915
+ this.props = t, this.listeners = new Fe(Ie(n)), this.windowListeners = new Fe(X(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
916
+ }
917
+ attach() {
918
+ this.handleStart(), this.windowListeners.add(q.Resize, this.handleCancel), this.windowListeners.add(q.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(q.Keydown, this.handleKeyDown));
919
+ }
920
+ handleStart() {
921
+ const {
922
+ activeNode: t,
923
+ onStart: n
924
+ } = this.props, r = t.node.current;
925
+ r && pn(r), n(Z);
926
+ }
927
+ handleKeyDown(t) {
928
+ if (dt(t)) {
929
+ const {
930
+ active: n,
931
+ context: r,
932
+ options: o
933
+ } = this.props, {
934
+ keyboardCodes: i = bn,
935
+ coordinateGetter: s = Mr,
936
+ scrollBehavior: a = "smooth"
937
+ } = o, {
938
+ code: l
939
+ } = t;
940
+ if (i.end.includes(l)) {
941
+ this.handleEnd(t);
942
+ return;
943
+ }
944
+ if (i.cancel.includes(l)) {
945
+ this.handleCancel(t);
946
+ return;
947
+ }
948
+ const {
949
+ collisionRect: c
950
+ } = r.current, d = c ? {
951
+ x: c.left,
952
+ y: c.top
953
+ } : Z;
954
+ this.referenceCoordinates || (this.referenceCoordinates = d);
955
+ const u = s(t, {
956
+ active: n,
957
+ context: r.current,
958
+ currentCoordinates: d
959
+ });
960
+ if (u) {
961
+ const g = Ke(u, d), f = {
962
+ x: 0,
963
+ y: 0
964
+ }, {
965
+ scrollableAncestors: w
966
+ } = r.current;
967
+ for (const h of w) {
968
+ const v = t.code, {
969
+ isTop: b,
970
+ isRight: m,
971
+ isLeft: p,
972
+ isBottom: S,
973
+ maxScroll: C,
974
+ minScroll: R
975
+ } = hn(h), y = Er(h), x = {
976
+ x: Math.min(v === D.Right ? y.right - y.width / 2 : y.right, Math.max(v === D.Right ? y.left : y.left + y.width / 2, u.x)),
977
+ y: Math.min(v === D.Down ? y.bottom - y.height / 2 : y.bottom, Math.max(v === D.Down ? y.top : y.top + y.height / 2, u.y))
978
+ }, T = v === D.Right && !m || v === D.Left && !p, L = v === D.Down && !S || v === D.Up && !b;
979
+ if (T && x.x !== u.x) {
980
+ const I = h.scrollLeft + g.x, J = v === D.Right && I <= C.x || v === D.Left && I >= R.x;
981
+ if (J && !g.y) {
982
+ h.scrollTo({
983
+ left: I,
984
+ behavior: a
985
+ });
986
+ return;
987
+ }
988
+ J ? f.x = h.scrollLeft - I : f.x = v === D.Right ? h.scrollLeft - C.x : h.scrollLeft - R.x, f.x && h.scrollBy({
989
+ left: -f.x,
990
+ behavior: a
991
+ });
992
+ break;
993
+ } else if (L && x.y !== u.y) {
994
+ const I = h.scrollTop + g.y, J = v === D.Down && I <= C.y || v === D.Up && I >= R.y;
995
+ if (J && !g.x) {
996
+ h.scrollTo({
997
+ top: I,
998
+ behavior: a
999
+ });
1000
+ return;
1001
+ }
1002
+ J ? f.y = h.scrollTop - I : f.y = v === D.Down ? h.scrollTop - C.y : h.scrollTop - R.y, f.y && h.scrollBy({
1003
+ top: -f.y,
1004
+ behavior: a
1005
+ });
1006
+ break;
1007
+ }
1008
+ }
1009
+ this.handleMove(t, Re(Ke(u, this.referenceCoordinates), f));
1010
+ }
1011
+ }
1012
+ }
1013
+ handleMove(t, n) {
1014
+ const {
1015
+ onMove: r
1016
+ } = this.props;
1017
+ t.preventDefault(), r(n);
1018
+ }
1019
+ handleEnd(t) {
1020
+ const {
1021
+ onEnd: n
1022
+ } = this.props;
1023
+ t.preventDefault(), this.detach(), n();
1024
+ }
1025
+ handleCancel(t) {
1026
+ const {
1027
+ onCancel: n
1028
+ } = this.props;
1029
+ t.preventDefault(), this.detach(), n();
1030
+ }
1031
+ detach() {
1032
+ this.listeners.removeAll(), this.windowListeners.removeAll();
1033
+ }
1034
+ }
1035
+ It.activators = [{
1036
+ eventName: "onKeyDown",
1037
+ handler: (e, t, n) => {
1038
+ let {
1039
+ keyboardCodes: r = bn,
1040
+ onActivation: o
1041
+ } = t, {
1042
+ active: i
1043
+ } = n;
1044
+ const {
1045
+ code: s
1046
+ } = e.nativeEvent;
1047
+ if (r.start.includes(s)) {
1048
+ const a = i.activatorNode.current;
1049
+ return a && e.target !== a ? !1 : (e.preventDefault(), o?.({
1050
+ event: e.nativeEvent
1051
+ }), !0);
1052
+ }
1053
+ return !1;
1054
+ }
1055
+ }];
1056
+ function Vt(e) {
1057
+ return !!(e && "distance" in e);
1058
+ }
1059
+ function qt(e) {
1060
+ return !!(e && "delay" in e);
1061
+ }
1062
+ class Ot {
1063
+ constructor(t, n, r) {
1064
+ var o;
1065
+ r === void 0 && (r = Nr(t.event.target)), this.props = void 0, this.events = void 0, this.autoScrollEnabled = !0, this.document = void 0, this.activated = !1, this.initialCoordinates = void 0, this.timeoutId = null, this.listeners = void 0, this.documentListeners = void 0, this.windowListeners = void 0, this.props = t, this.events = n;
1066
+ const {
1067
+ event: i
1068
+ } = t, {
1069
+ target: s
1070
+ } = i;
1071
+ this.props = t, this.events = n, this.document = Ie(s), this.documentListeners = new Fe(this.document), this.listeners = new Fe(r), this.windowListeners = new Fe(X(s)), this.initialCoordinates = (o = it(i)) != null ? o : Z, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
1072
+ }
1073
+ attach() {
1074
+ const {
1075
+ events: t,
1076
+ props: {
1077
+ options: {
1078
+ activationConstraint: n,
1079
+ bypassActivationConstraint: r
1080
+ }
1081
+ }
1082
+ } = this;
1083
+ if (this.listeners.add(t.move.name, this.handleMove, {
1084
+ passive: !1
1085
+ }), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(q.Resize, this.handleCancel), this.windowListeners.add(q.DragStart, Ht), this.windowListeners.add(q.VisibilityChange, this.handleCancel), this.windowListeners.add(q.ContextMenu, Ht), this.documentListeners.add(q.Keydown, this.handleKeydown), n) {
1086
+ if (r != null && r({
1087
+ event: this.props.event,
1088
+ activeNode: this.props.activeNode,
1089
+ options: this.props.options
1090
+ }))
1091
+ return this.handleStart();
1092
+ if (qt(n)) {
1093
+ this.timeoutId = setTimeout(this.handleStart, n.delay), this.handlePending(n);
1094
+ return;
1095
+ }
1096
+ if (Vt(n)) {
1097
+ this.handlePending(n);
1098
+ return;
1099
+ }
1100
+ }
1101
+ this.handleStart();
1102
+ }
1103
+ detach() {
1104
+ this.listeners.removeAll(), this.windowListeners.removeAll(), setTimeout(this.documentListeners.removeAll, 50), this.timeoutId !== null && (clearTimeout(this.timeoutId), this.timeoutId = null);
1105
+ }
1106
+ handlePending(t, n) {
1107
+ const {
1108
+ active: r,
1109
+ onPending: o
1110
+ } = this.props;
1111
+ o(r, t, this.initialCoordinates, n);
1112
+ }
1113
+ handleStart() {
1114
+ const {
1115
+ initialCoordinates: t
1116
+ } = this, {
1117
+ onStart: n
1118
+ } = this.props;
1119
+ t && (this.activated = !0, this.documentListeners.add(q.Click, Tr, {
1120
+ capture: !0
1121
+ }), this.removeTextSelection(), this.documentListeners.add(q.SelectionChange, this.removeTextSelection), n(t));
1122
+ }
1123
+ handleMove(t) {
1124
+ var n;
1125
+ const {
1126
+ activated: r,
1127
+ initialCoordinates: o,
1128
+ props: i
1129
+ } = this, {
1130
+ onMove: s,
1131
+ options: {
1132
+ activationConstraint: a
1133
+ }
1134
+ } = i;
1135
+ if (!o)
1136
+ return;
1137
+ const l = (n = it(t)) != null ? n : Z, c = Ke(o, l);
1138
+ if (!r && a) {
1139
+ if (Vt(a)) {
1140
+ if (a.tolerance != null && wt(c, a.tolerance))
1141
+ return this.handleCancel();
1142
+ if (wt(c, a.distance))
1143
+ return this.handleStart();
1144
+ }
1145
+ if (qt(a) && wt(c, a.tolerance))
1146
+ return this.handleCancel();
1147
+ this.handlePending(a, c);
1148
+ return;
1149
+ }
1150
+ t.cancelable && t.preventDefault(), s(l);
1151
+ }
1152
+ handleEnd() {
1153
+ const {
1154
+ onAbort: t,
1155
+ onEnd: n
1156
+ } = this.props;
1157
+ this.detach(), this.activated || t(this.props.active), n();
1158
+ }
1159
+ handleCancel() {
1160
+ const {
1161
+ onAbort: t,
1162
+ onCancel: n
1163
+ } = this.props;
1164
+ this.detach(), this.activated || t(this.props.active), n();
1165
+ }
1166
+ handleKeydown(t) {
1167
+ t.code === D.Esc && this.handleCancel();
1168
+ }
1169
+ removeTextSelection() {
1170
+ var t;
1171
+ (t = this.document.getSelection()) == null || t.removeAllRanges();
1172
+ }
1173
+ }
1174
+ const Lr = {
1175
+ cancel: {
1176
+ name: "pointercancel"
1177
+ },
1178
+ move: {
1179
+ name: "pointermove"
1180
+ },
1181
+ end: {
1182
+ name: "pointerup"
1183
+ }
1184
+ };
1185
+ class Nt extends Ot {
1186
+ constructor(t) {
1187
+ const {
1188
+ event: n
1189
+ } = t, r = Ie(n.target);
1190
+ super(t, Lr, r);
1191
+ }
1192
+ }
1193
+ Nt.activators = [{
1194
+ eventName: "onPointerDown",
1195
+ handler: (e, t) => {
1196
+ let {
1197
+ nativeEvent: n
1198
+ } = e, {
1199
+ onActivation: r
1200
+ } = t;
1201
+ return !n.isPrimary || n.button !== 0 ? !1 : (r?.({
1202
+ event: n
1203
+ }), !0);
1204
+ }
1205
+ }];
1206
+ const Pr = {
1207
+ move: {
1208
+ name: "mousemove"
1209
+ },
1210
+ end: {
1211
+ name: "mouseup"
1212
+ }
1213
+ };
1214
+ var St;
1215
+ (function(e) {
1216
+ e[e.RightClick = 2] = "RightClick";
1217
+ })(St || (St = {}));
1218
+ class kr extends Ot {
1219
+ constructor(t) {
1220
+ super(t, Pr, Ie(t.event.target));
1221
+ }
1222
+ }
1223
+ kr.activators = [{
1224
+ eventName: "onMouseDown",
1225
+ handler: (e, t) => {
1226
+ let {
1227
+ nativeEvent: n
1228
+ } = e, {
1229
+ onActivation: r
1230
+ } = t;
1231
+ return n.button === St.RightClick ? !1 : (r?.({
1232
+ event: n
1233
+ }), !0);
1234
+ }
1235
+ }];
1236
+ const xt = {
1237
+ cancel: {
1238
+ name: "touchcancel"
1239
+ },
1240
+ move: {
1241
+ name: "touchmove"
1242
+ },
1243
+ end: {
1244
+ name: "touchend"
1245
+ }
1246
+ };
1247
+ class zr extends Ot {
1248
+ constructor(t) {
1249
+ super(t, xt);
1250
+ }
1251
+ static setup() {
1252
+ return window.addEventListener(xt.move.name, t, {
1253
+ capture: !1,
1254
+ passive: !1
1255
+ }), function() {
1256
+ window.removeEventListener(xt.move.name, t);
1257
+ };
1258
+ function t() {
1259
+ }
1260
+ }
1261
+ }
1262
+ zr.activators = [{
1263
+ eventName: "onTouchStart",
1264
+ handler: (e, t) => {
1265
+ let {
1266
+ nativeEvent: n
1267
+ } = e, {
1268
+ onActivation: r
1269
+ } = t;
1270
+ const {
1271
+ touches: o
1272
+ } = n;
1273
+ return o.length > 1 ? !1 : (r?.({
1274
+ event: n
1275
+ }), !0);
1276
+ }
1277
+ }];
1278
+ var Xe;
1279
+ (function(e) {
1280
+ e[e.Pointer = 0] = "Pointer", e[e.DraggableRect = 1] = "DraggableRect";
1281
+ })(Xe || (Xe = {}));
1282
+ var at;
1283
+ (function(e) {
1284
+ e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
1285
+ })(at || (at = {}));
1286
+ function jr(e) {
1287
+ let {
1288
+ acceleration: t,
1289
+ activator: n = Xe.Pointer,
1290
+ canScroll: r,
1291
+ draggingRect: o,
1292
+ enabled: i,
1293
+ interval: s = 5,
1294
+ order: a = at.TreeOrder,
1295
+ pointerCoordinates: l,
1296
+ scrollableAncestors: c,
1297
+ scrollableAncestorRects: d,
1298
+ delta: u,
1299
+ threshold: g
1300
+ } = e;
1301
+ const f = Fr({
1302
+ delta: u,
1303
+ disabled: !i
1304
+ }), [w, h] = _n(), v = N({
1305
+ x: 0,
1306
+ y: 0
1307
+ }), b = N({
1308
+ x: 0,
1309
+ y: 0
1310
+ }), m = E(() => {
1311
+ switch (n) {
1312
+ case Xe.Pointer:
1313
+ return l ? {
1314
+ top: l.y,
1315
+ bottom: l.y,
1316
+ left: l.x,
1317
+ right: l.x
1318
+ } : null;
1319
+ case Xe.DraggableRect:
1320
+ return o;
1321
+ }
1322
+ }, [n, o, l]), p = N(null), S = F(() => {
1323
+ const R = p.current;
1324
+ if (!R)
1325
+ return;
1326
+ const y = v.current.x * b.current.x, x = v.current.y * b.current.y;
1327
+ R.scrollBy(y, x);
1328
+ }, []), C = E(() => a === at.TreeOrder ? [...c].reverse() : c, [a, c]);
1329
+ O(
1330
+ () => {
1331
+ if (!i || !c.length || !m) {
1332
+ h();
1333
+ return;
1334
+ }
1335
+ for (const R of C) {
1336
+ if (r?.(R) === !1)
1337
+ continue;
1338
+ const y = c.indexOf(R), x = d[y];
1339
+ if (!x)
1340
+ continue;
1341
+ const {
1342
+ direction: T,
1343
+ speed: L
1344
+ } = Rr(R, x, m, t, g);
1345
+ for (const I of ["x", "y"])
1346
+ f[I][T[I]] || (L[I] = 0, T[I] = 0);
1347
+ if (L.x > 0 || L.y > 0) {
1348
+ h(), p.current = R, w(S, s), v.current = L, b.current = T;
1349
+ return;
1350
+ }
1351
+ }
1352
+ v.current = {
1353
+ x: 0,
1354
+ y: 0
1355
+ }, b.current = {
1356
+ x: 0,
1357
+ y: 0
1358
+ }, h();
1359
+ },
1360
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1361
+ [
1362
+ t,
1363
+ S,
1364
+ r,
1365
+ h,
1366
+ i,
1367
+ s,
1368
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1369
+ JSON.stringify(m),
1370
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1371
+ JSON.stringify(f),
1372
+ w,
1373
+ c,
1374
+ C,
1375
+ d,
1376
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1377
+ JSON.stringify(g)
1378
+ ]
1379
+ );
1380
+ }
1381
+ const Br = {
1382
+ x: {
1383
+ [k.Backward]: !1,
1384
+ [k.Forward]: !1
1385
+ },
1386
+ y: {
1387
+ [k.Backward]: !1,
1388
+ [k.Forward]: !1
1389
+ }
1390
+ };
1391
+ function Fr(e) {
1392
+ let {
1393
+ delta: t,
1394
+ disabled: n
1395
+ } = e;
1396
+ const r = ot(t);
1397
+ return He((o) => {
1398
+ if (n || !r || !o)
1399
+ return Br;
1400
+ const i = {
1401
+ x: Math.sign(t.x - r.x),
1402
+ y: Math.sign(t.y - r.y)
1403
+ };
1404
+ return {
1405
+ x: {
1406
+ [k.Backward]: o.x[k.Backward] || i.x === -1,
1407
+ [k.Forward]: o.x[k.Forward] || i.x === 1
1408
+ },
1409
+ y: {
1410
+ [k.Backward]: o.y[k.Backward] || i.y === -1,
1411
+ [k.Forward]: o.y[k.Forward] || i.y === 1
1412
+ }
1413
+ };
1414
+ }, [n, t, r]);
1415
+ }
1416
+ function Xr(e, t) {
1417
+ const n = t != null ? e.get(t) : void 0, r = n ? n.node.current : null;
1418
+ return He((o) => {
1419
+ var i;
1420
+ return t == null ? null : (i = r ?? o) != null ? i : null;
1421
+ }, [r, t]);
1422
+ }
1423
+ function $r(e, t) {
1424
+ return E(() => e.reduce((n, r) => {
1425
+ const {
1426
+ sensor: o
1427
+ } = r, i = o.activators.map((s) => ({
1428
+ eventName: s.eventName,
1429
+ handler: t(s.handler, r)
1430
+ }));
1431
+ return [...n, ...i];
1432
+ }, []), [e, t]);
1433
+ }
1434
+ var Ue;
1435
+ (function(e) {
1436
+ e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
1437
+ })(Ue || (Ue = {}));
1438
+ var Ct;
1439
+ (function(e) {
1440
+ e.Optimized = "optimized";
1441
+ })(Ct || (Ct = {}));
1442
+ const _t = /* @__PURE__ */ new Map();
1443
+ function Yr(e, t) {
1444
+ let {
1445
+ dragging: n,
1446
+ dependencies: r,
1447
+ config: o
1448
+ } = t;
1449
+ const [i, s] = B(null), {
1450
+ frequency: a,
1451
+ measure: l,
1452
+ strategy: c
1453
+ } = o, d = N(e), u = v(), g = Ye(u), f = F(function(b) {
1454
+ b === void 0 && (b = []), !g.current && s((m) => m === null ? b : m.concat(b.filter((p) => !m.includes(p))));
1455
+ }, [g]), w = N(null), h = He((b) => {
1456
+ if (u && !n)
1457
+ return _t;
1458
+ if (!b || b === _t || d.current !== e || i != null) {
1459
+ const m = /* @__PURE__ */ new Map();
1460
+ for (let p of e) {
1461
+ if (!p)
1462
+ continue;
1463
+ if (i && i.length > 0 && !i.includes(p.id) && p.rect.current) {
1464
+ m.set(p.id, p.rect.current);
1465
+ continue;
1466
+ }
1467
+ const S = p.node.current, C = S ? new At(l(S), S) : null;
1468
+ p.rect.current = C, C && m.set(p.id, C);
1469
+ }
1470
+ return m;
1471
+ }
1472
+ return b;
1473
+ }, [e, i, n, u, l]);
1474
+ return O(() => {
1475
+ d.current = e;
1476
+ }, [e]), O(
1477
+ () => {
1478
+ u || f();
1479
+ },
1480
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1481
+ [n, u]
1482
+ ), O(
1483
+ () => {
1484
+ i && i.length > 0 && s(null);
1485
+ },
1486
+ //eslint-disable-next-line react-hooks/exhaustive-deps
1487
+ [JSON.stringify(i)]
1488
+ ), O(
1489
+ () => {
1490
+ u || typeof a != "number" || w.current !== null || (w.current = setTimeout(() => {
1491
+ f(), w.current = null;
1492
+ }, a));
1493
+ },
1494
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1495
+ [a, u, f, ...r]
1496
+ ), {
1497
+ droppableRects: h,
1498
+ measureDroppableContainers: f,
1499
+ measuringScheduled: i != null
1500
+ };
1501
+ function v() {
1502
+ switch (c) {
1503
+ case Ue.Always:
1504
+ return !1;
1505
+ case Ue.BeforeDragging:
1506
+ return n;
1507
+ default:
1508
+ return !n;
1509
+ }
1510
+ }
1511
+ }
1512
+ function Tt(e, t) {
1513
+ return He((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
1514
+ }
1515
+ function Kr(e, t) {
1516
+ return Tt(e, t);
1517
+ }
1518
+ function Ur(e) {
1519
+ let {
1520
+ callback: t,
1521
+ disabled: n
1522
+ } = e;
1523
+ const r = ut(t), o = E(() => {
1524
+ if (n || typeof window > "u" || typeof window.MutationObserver > "u")
1525
+ return;
1526
+ const {
1527
+ MutationObserver: i
1528
+ } = window;
1529
+ return new i(r);
1530
+ }, [r, n]);
1531
+ return O(() => () => o?.disconnect(), [o]), o;
1532
+ }
1533
+ function gt(e) {
1534
+ let {
1535
+ callback: t,
1536
+ disabled: n
1537
+ } = e;
1538
+ const r = ut(t), o = E(
1539
+ () => {
1540
+ if (n || typeof window > "u" || typeof window.ResizeObserver > "u")
1541
+ return;
1542
+ const {
1543
+ ResizeObserver: i
1544
+ } = window;
1545
+ return new i(r);
1546
+ },
1547
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1548
+ [n]
1549
+ );
1550
+ return O(() => () => o?.disconnect(), [o]), o;
1551
+ }
1552
+ function Wr(e) {
1553
+ return new At(Oe(e), e);
1554
+ }
1555
+ function Jt(e, t, n) {
1556
+ t === void 0 && (t = Wr);
1557
+ const [r, o] = B(null);
1558
+ function i() {
1559
+ o((l) => {
1560
+ if (!e)
1561
+ return null;
1562
+ if (e.isConnected === !1) {
1563
+ var c;
1564
+ return (c = l ?? n) != null ? c : null;
1565
+ }
1566
+ const d = t(e);
1567
+ return JSON.stringify(l) === JSON.stringify(d) ? l : d;
1568
+ });
1569
+ }
1570
+ const s = Ur({
1571
+ callback(l) {
1572
+ if (e)
1573
+ for (const c of l) {
1574
+ const {
1575
+ type: d,
1576
+ target: u
1577
+ } = c;
1578
+ if (d === "childList" && u instanceof HTMLElement && u.contains(e)) {
1579
+ i();
1580
+ break;
1581
+ }
1582
+ }
1583
+ }
1584
+ }), a = gt({
1585
+ callback: i
1586
+ });
1587
+ return Q(() => {
1588
+ i(), e ? (a?.observe(e), s?.observe(document.body, {
1589
+ childList: !0,
1590
+ subtree: !0
1591
+ })) : (a?.disconnect(), s?.disconnect());
1592
+ }, [e]), r;
1593
+ }
1594
+ function Hr(e) {
1595
+ const t = Tt(e);
1596
+ return ln(e, t);
1597
+ }
1598
+ const Gt = [];
1599
+ function Vr(e) {
1600
+ const t = N(e), n = He((r) => e ? r && r !== Gt && e && t.current && e.parentNode === t.current.parentNode ? r : ft(e) : Gt, [e]);
1601
+ return O(() => {
1602
+ t.current = e;
1603
+ }, [e]), n;
1604
+ }
1605
+ function qr(e) {
1606
+ const [t, n] = B(null), r = N(e), o = F((i) => {
1607
+ const s = yt(i.target);
1608
+ s && n((a) => a ? (a.set(s, Dt(s)), new Map(a)) : null);
1609
+ }, []);
1610
+ return O(() => {
1611
+ const i = r.current;
1612
+ if (e !== i) {
1613
+ s(i);
1614
+ const a = e.map((l) => {
1615
+ const c = yt(l);
1616
+ return c ? (c.addEventListener("scroll", o, {
1617
+ passive: !0
1618
+ }), [c, Dt(c)]) : null;
1619
+ }).filter((l) => l != null);
1620
+ n(a.length ? new Map(a) : null), r.current = e;
1621
+ }
1622
+ return () => {
1623
+ s(e), s(i);
1624
+ };
1625
+ function s(a) {
1626
+ a.forEach((l) => {
1627
+ const c = yt(l);
1628
+ c?.removeEventListener("scroll", o);
1629
+ });
1630
+ }
1631
+ }, [o, e]), E(() => e.length ? t ? Array.from(t.values()).reduce((i, s) => Re(i, s), Z) : vn(e) : Z, [e, t]);
1632
+ }
1633
+ function Qt(e, t) {
1634
+ t === void 0 && (t = []);
1635
+ const n = N(null);
1636
+ return O(
1637
+ () => {
1638
+ n.current = null;
1639
+ },
1640
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1641
+ t
1642
+ ), O(() => {
1643
+ const r = e !== Z;
1644
+ r && !n.current && (n.current = e), !r && n.current && (n.current = null);
1645
+ }, [e]), n.current ? Ke(e, n.current) : Z;
1646
+ }
1647
+ function _r(e) {
1648
+ O(
1649
+ () => {
1650
+ if (!ct)
1651
+ return;
1652
+ const t = e.map((n) => {
1653
+ let {
1654
+ sensor: r
1655
+ } = n;
1656
+ return r.setup == null ? void 0 : r.setup();
1657
+ });
1658
+ return () => {
1659
+ for (const n of t)
1660
+ n?.();
1661
+ };
1662
+ },
1663
+ // TO-DO: Sensors length could theoretically change which would not be a valid dependency
1664
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1665
+ e.map((t) => {
1666
+ let {
1667
+ sensor: n
1668
+ } = t;
1669
+ return n;
1670
+ })
1671
+ );
1672
+ }
1673
+ function Jr(e, t) {
1674
+ return E(() => e.reduce((n, r) => {
1675
+ let {
1676
+ eventName: o,
1677
+ handler: i
1678
+ } = r;
1679
+ return n[o] = (s) => {
1680
+ i(s, t);
1681
+ }, n;
1682
+ }, {}), [e, t]);
1683
+ }
1684
+ function mn(e) {
1685
+ return E(() => e ? xr(e) : null, [e]);
1686
+ }
1687
+ const Zt = [];
1688
+ function Gr(e, t) {
1689
+ t === void 0 && (t = Oe);
1690
+ const [n] = e, r = mn(n ? X(n) : null), [o, i] = B(Zt);
1691
+ function s() {
1692
+ i(() => e.length ? e.map((l) => gn(l) ? r : new At(t(l), l)) : Zt);
1693
+ }
1694
+ const a = gt({
1695
+ callback: s
1696
+ });
1697
+ return Q(() => {
1698
+ a?.disconnect(), s(), e.forEach((l) => a?.observe(l));
1699
+ }, [e]), o;
1700
+ }
1701
+ function yn(e) {
1702
+ if (!e)
1703
+ return null;
1704
+ if (e.children.length > 1)
1705
+ return e;
1706
+ const t = e.children[0];
1707
+ return We(t) ? t : e;
1708
+ }
1709
+ function Qr(e) {
1710
+ let {
1711
+ measure: t
1712
+ } = e;
1713
+ const [n, r] = B(null), o = F((c) => {
1714
+ for (const {
1715
+ target: d
1716
+ } of c)
1717
+ if (We(d)) {
1718
+ r((u) => {
1719
+ const g = t(d);
1720
+ return u ? {
1721
+ ...u,
1722
+ width: g.width,
1723
+ height: g.height
1724
+ } : g;
1725
+ });
1726
+ break;
1727
+ }
1728
+ }, [t]), i = gt({
1729
+ callback: o
1730
+ }), s = F((c) => {
1731
+ const d = yn(c);
1732
+ i?.disconnect(), d && i?.observe(d), r(d ? t(d) : null);
1733
+ }, [t, i]), [a, l] = rt(s);
1734
+ return E(() => ({
1735
+ nodeRef: a,
1736
+ rect: n,
1737
+ setRef: l
1738
+ }), [n, a, l]);
1739
+ }
1740
+ const Zr = [{
1741
+ sensor: Nt,
1742
+ options: {}
1743
+ }, {
1744
+ sensor: It,
1745
+ options: {}
1746
+ }], eo = {
1747
+ current: {}
1748
+ }, nt = {
1749
+ draggable: {
1750
+ measure: Wt
1751
+ },
1752
+ droppable: {
1753
+ measure: Wt,
1754
+ strategy: Ue.WhileDragging,
1755
+ frequency: Ct.Optimized
1756
+ },
1757
+ dragOverlay: {
1758
+ measure: Oe
1759
+ }
1760
+ };
1761
+ class $e extends Map {
1762
+ get(t) {
1763
+ var n;
1764
+ return t != null && (n = super.get(t)) != null ? n : void 0;
1765
+ }
1766
+ toArray() {
1767
+ return Array.from(this.values());
1768
+ }
1769
+ getEnabled() {
1770
+ return this.toArray().filter((t) => {
1771
+ let {
1772
+ disabled: n
1773
+ } = t;
1774
+ return !n;
1775
+ });
1776
+ }
1777
+ getNodeFor(t) {
1778
+ var n, r;
1779
+ return (n = (r = this.get(t)) == null ? void 0 : r.node.current) != null ? n : void 0;
1780
+ }
1781
+ }
1782
+ const to = {
1783
+ activatorEvent: null,
1784
+ active: null,
1785
+ activeNode: null,
1786
+ activeNodeRect: null,
1787
+ collisions: null,
1788
+ containerNodeRect: null,
1789
+ draggableNodes: /* @__PURE__ */ new Map(),
1790
+ droppableRects: /* @__PURE__ */ new Map(),
1791
+ droppableContainers: /* @__PURE__ */ new $e(),
1792
+ over: null,
1793
+ dragOverlay: {
1794
+ nodeRef: {
1795
+ current: null
1796
+ },
1797
+ rect: null,
1798
+ setRef: st
1799
+ },
1800
+ scrollableAncestors: [],
1801
+ scrollableAncestorRects: [],
1802
+ measuringConfiguration: nt,
1803
+ measureDroppableContainers: st,
1804
+ windowRect: null,
1805
+ measuringScheduled: !1
1806
+ }, wn = {
1807
+ activatorEvent: null,
1808
+ activators: [],
1809
+ active: null,
1810
+ activeNodeRect: null,
1811
+ ariaDescribedById: {
1812
+ draggable: ""
1813
+ },
1814
+ dispatch: st,
1815
+ draggableNodes: /* @__PURE__ */ new Map(),
1816
+ over: null,
1817
+ measureDroppableContainers: st
1818
+ }, qe = /* @__PURE__ */ Ee(wn), xn = /* @__PURE__ */ Ee(to);
1819
+ function no() {
1820
+ return {
1821
+ draggable: {
1822
+ active: null,
1823
+ initialCoordinates: {
1824
+ x: 0,
1825
+ y: 0
1826
+ },
1827
+ nodes: /* @__PURE__ */ new Map(),
1828
+ translate: {
1829
+ x: 0,
1830
+ y: 0
1831
+ }
1832
+ },
1833
+ droppable: {
1834
+ containers: new $e()
1835
+ }
1836
+ };
1837
+ }
1838
+ function ro(e, t) {
1839
+ switch (t.type) {
1840
+ case P.DragStart:
1841
+ return {
1842
+ ...e,
1843
+ draggable: {
1844
+ ...e.draggable,
1845
+ initialCoordinates: t.initialCoordinates,
1846
+ active: t.active
1847
+ }
1848
+ };
1849
+ case P.DragMove:
1850
+ return e.draggable.active == null ? e : {
1851
+ ...e,
1852
+ draggable: {
1853
+ ...e.draggable,
1854
+ translate: {
1855
+ x: t.coordinates.x - e.draggable.initialCoordinates.x,
1856
+ y: t.coordinates.y - e.draggable.initialCoordinates.y
1857
+ }
1858
+ }
1859
+ };
1860
+ case P.DragEnd:
1861
+ case P.DragCancel:
1862
+ return {
1863
+ ...e,
1864
+ draggable: {
1865
+ ...e.draggable,
1866
+ active: null,
1867
+ initialCoordinates: {
1868
+ x: 0,
1869
+ y: 0
1870
+ },
1871
+ translate: {
1872
+ x: 0,
1873
+ y: 0
1874
+ }
1875
+ }
1876
+ };
1877
+ case P.RegisterDroppable: {
1878
+ const {
1879
+ element: n
1880
+ } = t, {
1881
+ id: r
1882
+ } = n, o = new $e(e.droppable.containers);
1883
+ return o.set(r, n), {
1884
+ ...e,
1885
+ droppable: {
1886
+ ...e.droppable,
1887
+ containers: o
1888
+ }
1889
+ };
1890
+ }
1891
+ case P.SetDroppableDisabled: {
1892
+ const {
1893
+ id: n,
1894
+ key: r,
1895
+ disabled: o
1896
+ } = t, i = e.droppable.containers.get(n);
1897
+ if (!i || r !== i.key)
1898
+ return e;
1899
+ const s = new $e(e.droppable.containers);
1900
+ return s.set(n, {
1901
+ ...i,
1902
+ disabled: o
1903
+ }), {
1904
+ ...e,
1905
+ droppable: {
1906
+ ...e.droppable,
1907
+ containers: s
1908
+ }
1909
+ };
1910
+ }
1911
+ case P.UnregisterDroppable: {
1912
+ const {
1913
+ id: n,
1914
+ key: r
1915
+ } = t, o = e.droppable.containers.get(n);
1916
+ if (!o || r !== o.key)
1917
+ return e;
1918
+ const i = new $e(e.droppable.containers);
1919
+ return i.delete(n), {
1920
+ ...e,
1921
+ droppable: {
1922
+ ...e.droppable,
1923
+ containers: i
1924
+ }
1925
+ };
1926
+ }
1927
+ default:
1928
+ return e;
1929
+ }
1930
+ }
1931
+ function oo(e) {
1932
+ let {
1933
+ disabled: t
1934
+ } = e;
1935
+ const {
1936
+ active: n,
1937
+ activatorEvent: r,
1938
+ draggableNodes: o
1939
+ } = ce(qe), i = ot(r), s = ot(n?.id);
1940
+ return O(() => {
1941
+ if (!t && !r && i && s != null) {
1942
+ if (!dt(i) || document.activeElement === i.target)
1943
+ return;
1944
+ const a = o.get(s);
1945
+ if (!a)
1946
+ return;
1947
+ const {
1948
+ activatorNode: l,
1949
+ node: c
1950
+ } = a;
1951
+ if (!l.current && !c.current)
1952
+ return;
1953
+ requestAnimationFrame(() => {
1954
+ for (const d of [l.current, c.current]) {
1955
+ if (!d)
1956
+ continue;
1957
+ const u = Qn(d);
1958
+ if (u) {
1959
+ u.focus();
1960
+ break;
1961
+ }
1962
+ }
1963
+ });
1964
+ }
1965
+ }, [r, t, o, s, i]), null;
1966
+ }
1967
+ function Dn(e, t) {
1968
+ let {
1969
+ transform: n,
1970
+ ...r
1971
+ } = t;
1972
+ return e != null && e.length ? e.reduce((o, i) => i({
1973
+ transform: o,
1974
+ ...r
1975
+ }), n) : n;
1976
+ }
1977
+ function io(e) {
1978
+ return E(
1979
+ () => ({
1980
+ draggable: {
1981
+ ...nt.draggable,
1982
+ ...e?.draggable
1983
+ },
1984
+ droppable: {
1985
+ ...nt.droppable,
1986
+ ...e?.droppable
1987
+ },
1988
+ dragOverlay: {
1989
+ ...nt.dragOverlay,
1990
+ ...e?.dragOverlay
1991
+ }
1992
+ }),
1993
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1994
+ [e?.draggable, e?.droppable, e?.dragOverlay]
1995
+ );
1996
+ }
1997
+ function so(e) {
1998
+ let {
1999
+ activeNode: t,
2000
+ measure: n,
2001
+ initialRect: r,
2002
+ config: o = !0
2003
+ } = e;
2004
+ const i = N(!1), {
2005
+ x: s,
2006
+ y: a
2007
+ } = typeof o == "boolean" ? {
2008
+ x: o,
2009
+ y: o
2010
+ } : o;
2011
+ Q(() => {
2012
+ if (!s && !a || !t) {
2013
+ i.current = !1;
2014
+ return;
2015
+ }
2016
+ if (i.current || !r)
2017
+ return;
2018
+ const c = t?.node.current;
2019
+ if (!c || c.isConnected === !1)
2020
+ return;
2021
+ const d = n(c), u = ln(d, r);
2022
+ if (s || (u.x = 0), a || (u.y = 0), i.current = !0, Math.abs(u.x) > 0 || Math.abs(u.y) > 0) {
2023
+ const g = un(c);
2024
+ g && g.scrollBy({
2025
+ top: u.y,
2026
+ left: u.x
2027
+ });
2028
+ }
2029
+ }, [t, s, a, r, n]);
2030
+ }
2031
+ const ht = /* @__PURE__ */ Ee({
2032
+ ...Z,
2033
+ scaleX: 1,
2034
+ scaleY: 1
2035
+ });
2036
+ var pe;
2037
+ (function(e) {
2038
+ e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
2039
+ })(pe || (pe = {}));
2040
+ const ao = /* @__PURE__ */ Fn(function(t) {
2041
+ var n, r, o, i;
2042
+ let {
2043
+ id: s,
2044
+ accessibility: a,
2045
+ autoScroll: l = !0,
2046
+ children: c,
2047
+ sensors: d = Zr,
2048
+ collisionDetection: u = vr,
2049
+ measuring: g,
2050
+ modifiers: f,
2051
+ ...w
2052
+ } = t;
2053
+ const h = Xn(ro, void 0, no), [v, b] = h, [m, p] = or(), [S, C] = B(pe.Uninitialized), R = S === pe.Initialized, {
2054
+ draggable: {
2055
+ active: y,
2056
+ nodes: x,
2057
+ translate: T
2058
+ },
2059
+ droppable: {
2060
+ containers: L
2061
+ }
2062
+ } = v, I = y != null ? x.get(y) : null, J = N({
2063
+ initial: null,
2064
+ translated: null
2065
+ }), G = E(() => {
2066
+ var j;
2067
+ return y != null ? {
2068
+ id: y,
2069
+ // It's possible for the active node to unmount while dragging
2070
+ data: (j = I?.data) != null ? j : eo,
2071
+ rect: J
2072
+ } : null;
2073
+ }, [y, I]), ee = N(null), [Ne, _e] = B(null), [Y, Je] = B(null), oe = Ye(w, Object.values(w)), Te = Ve("DndDescribedBy", s), Ge = E(() => L.getEnabled(), [L]), $ = io(g), {
2074
+ droppableRects: ie,
2075
+ measureDroppableContainers: me,
2076
+ measuringScheduled: Me
2077
+ } = Yr(Ge, {
2078
+ dragging: R,
2079
+ dependencies: [T.x, T.y],
2080
+ config: $.droppable
2081
+ }), H = Xr(x, y), Qe = E(() => Y ? it(Y) : null, [Y]), ue = jn(), se = Kr(H, $.draggable.measure);
2082
+ so({
2083
+ activeNode: y != null ? x.get(y) : null,
2084
+ config: ue.layoutShiftCompensation,
2085
+ initialRect: se,
2086
+ measure: $.draggable.measure
2087
+ });
2088
+ const A = Jt(H, $.draggable.measure, se), Le = Jt(H ? H.parentElement : null), te = N({
2089
+ activatorEvent: null,
2090
+ active: null,
2091
+ activeNode: H,
2092
+ collisionRect: null,
2093
+ collisions: null,
2094
+ droppableRects: ie,
2095
+ draggableNodes: x,
2096
+ draggingNode: null,
2097
+ draggingNodeRect: null,
2098
+ droppableContainers: L,
2099
+ over: null,
2100
+ scrollableAncestors: [],
2101
+ scrollAdjustedTranslate: null
2102
+ }), ye = L.getNodeFor((n = te.current.over) == null ? void 0 : n.id), ae = Qr({
2103
+ measure: $.dragOverlay.measure
2104
+ }), we = (r = ae.nodeRef.current) != null ? r : H, xe = R ? (o = ae.rect) != null ? o : A : null, Pt = !!(ae.nodeRef.current && ae.rect), kt = Hr(Pt ? null : A), vt = mn(we ? X(we) : null), de = Vr(R ? ye ?? H : null), Ze = Gr(de), et = Dn(f, {
2105
+ transform: {
2106
+ x: T.x - kt.x,
2107
+ y: T.y - kt.y,
2108
+ scaleX: 1,
2109
+ scaleY: 1
2110
+ },
2111
+ activatorEvent: Y,
2112
+ active: G,
2113
+ activeNodeRect: A,
2114
+ containerNodeRect: Le,
2115
+ draggingNodeRect: xe,
2116
+ over: te.current.over,
2117
+ overlayNodeRect: ae.rect,
2118
+ scrollableAncestors: de,
2119
+ scrollableAncestorRects: Ze,
2120
+ windowRect: vt
2121
+ }), zt = Qe ? Re(Qe, T) : null, jt = qr(de), Nn = Qt(jt), Tn = Qt(jt, [A]), De = Re(et, Nn), Se = xe ? mr(xe, et) : null, Pe = G && Se ? u({
2122
+ active: G,
2123
+ collisionRect: Se,
2124
+ droppableRects: ie,
2125
+ droppableContainers: Ge,
2126
+ pointerCoordinates: zt
2127
+ }) : null, Bt = an(Pe, "id"), [fe, Ft] = B(null), Mn = Pt ? et : Re(et, Tn), Ln = pr(Mn, (i = fe?.rect) != null ? i : null, A), pt = N(null), Xt = F(
2128
+ (j, K) => {
2129
+ let {
2130
+ sensor: U,
2131
+ options: ge
2132
+ } = K;
2133
+ if (ee.current == null)
2134
+ return;
2135
+ const V = x.get(ee.current);
2136
+ if (!V)
2137
+ return;
2138
+ const W = j.nativeEvent, ne = new U({
2139
+ active: ee.current,
2140
+ activeNode: V,
2141
+ event: W,
2142
+ options: ge,
2143
+ // Sensors need to be instantiated with refs for arguments that change over time
2144
+ // otherwise they are frozen in time with the stale arguments
2145
+ context: te,
2146
+ onAbort(z) {
2147
+ if (!x.get(z))
2148
+ return;
2149
+ const {
2150
+ onDragAbort: re
2151
+ } = oe.current, le = {
2152
+ id: z
2153
+ };
2154
+ re?.(le), m({
2155
+ type: "onDragAbort",
2156
+ event: le
2157
+ });
2158
+ },
2159
+ onPending(z, he, re, le) {
2160
+ if (!x.get(z))
2161
+ return;
2162
+ const {
2163
+ onDragPending: ze
2164
+ } = oe.current, ve = {
2165
+ id: z,
2166
+ constraint: he,
2167
+ initialCoordinates: re,
2168
+ offset: le
2169
+ };
2170
+ ze?.(ve), m({
2171
+ type: "onDragPending",
2172
+ event: ve
2173
+ });
2174
+ },
2175
+ onStart(z) {
2176
+ const he = ee.current;
2177
+ if (he == null)
2178
+ return;
2179
+ const re = x.get(he);
2180
+ if (!re)
2181
+ return;
2182
+ const {
2183
+ onDragStart: le
2184
+ } = oe.current, ke = {
2185
+ activatorEvent: W,
2186
+ active: {
2187
+ id: he,
2188
+ data: re.data,
2189
+ rect: J
2190
+ }
2191
+ };
2192
+ Be.unstable_batchedUpdates(() => {
2193
+ le?.(ke), C(pe.Initializing), b({
2194
+ type: P.DragStart,
2195
+ initialCoordinates: z,
2196
+ active: he
2197
+ }), m({
2198
+ type: "onDragStart",
2199
+ event: ke
2200
+ }), _e(pt.current), Je(W);
2201
+ });
2202
+ },
2203
+ onMove(z) {
2204
+ b({
2205
+ type: P.DragMove,
2206
+ coordinates: z
2207
+ });
2208
+ },
2209
+ onEnd: Ce(P.DragEnd),
2210
+ onCancel: Ce(P.DragCancel)
2211
+ });
2212
+ pt.current = ne;
2213
+ function Ce(z) {
2214
+ return async function() {
2215
+ const {
2216
+ active: re,
2217
+ collisions: le,
2218
+ over: ke,
2219
+ scrollAdjustedTranslate: ze
2220
+ } = te.current;
2221
+ let ve = null;
2222
+ if (re && ze) {
2223
+ const {
2224
+ cancelDrop: je
2225
+ } = oe.current;
2226
+ ve = {
2227
+ activatorEvent: W,
2228
+ active: re,
2229
+ collisions: le,
2230
+ delta: ze,
2231
+ over: ke
2232
+ }, z === P.DragEnd && typeof je == "function" && await Promise.resolve(je(ve)) && (z = P.DragCancel);
2233
+ }
2234
+ ee.current = null, Be.unstable_batchedUpdates(() => {
2235
+ b({
2236
+ type: z
2237
+ }), C(pe.Uninitialized), Ft(null), _e(null), Je(null), pt.current = null;
2238
+ const je = z === P.DragEnd ? "onDragEnd" : "onDragCancel";
2239
+ if (ve) {
2240
+ const bt = oe.current[je];
2241
+ bt?.(ve), m({
2242
+ type: je,
2243
+ event: ve
2244
+ });
2245
+ }
2246
+ });
2247
+ };
2248
+ }
2249
+ },
2250
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2251
+ [x]
2252
+ ), Pn = F((j, K) => (U, ge) => {
2253
+ const V = U.nativeEvent, W = x.get(ge);
2254
+ if (
2255
+ // Another sensor is already instantiating
2256
+ ee.current !== null || // No active draggable
2257
+ !W || // Event has already been captured
2258
+ V.dndKit || V.defaultPrevented
2259
+ )
2260
+ return;
2261
+ const ne = {
2262
+ active: W
2263
+ };
2264
+ j(U, K.options, ne) === !0 && (V.dndKit = {
2265
+ capturedBy: K.sensor
2266
+ }, ee.current = ge, Xt(U, K));
2267
+ }, [x, Xt]), $t = $r(d, Pn);
2268
+ _r(d), Q(() => {
2269
+ A && S === pe.Initializing && C(pe.Initialized);
2270
+ }, [A, S]), O(
2271
+ () => {
2272
+ const {
2273
+ onDragMove: j
2274
+ } = oe.current, {
2275
+ active: K,
2276
+ activatorEvent: U,
2277
+ collisions: ge,
2278
+ over: V
2279
+ } = te.current;
2280
+ if (!K || !U)
2281
+ return;
2282
+ const W = {
2283
+ active: K,
2284
+ activatorEvent: U,
2285
+ collisions: ge,
2286
+ delta: {
2287
+ x: De.x,
2288
+ y: De.y
2289
+ },
2290
+ over: V
2291
+ };
2292
+ Be.unstable_batchedUpdates(() => {
2293
+ j?.(W), m({
2294
+ type: "onDragMove",
2295
+ event: W
2296
+ });
2297
+ });
2298
+ },
2299
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2300
+ [De.x, De.y]
2301
+ ), O(
2302
+ () => {
2303
+ const {
2304
+ active: j,
2305
+ activatorEvent: K,
2306
+ collisions: U,
2307
+ droppableContainers: ge,
2308
+ scrollAdjustedTranslate: V
2309
+ } = te.current;
2310
+ if (!j || ee.current == null || !K || !V)
2311
+ return;
2312
+ const {
2313
+ onDragOver: W
2314
+ } = oe.current, ne = ge.get(Bt), Ce = ne && ne.rect.current ? {
2315
+ id: ne.id,
2316
+ rect: ne.rect.current,
2317
+ data: ne.data,
2318
+ disabled: ne.disabled
2319
+ } : null, z = {
2320
+ active: j,
2321
+ activatorEvent: K,
2322
+ collisions: U,
2323
+ delta: {
2324
+ x: V.x,
2325
+ y: V.y
2326
+ },
2327
+ over: Ce
2328
+ };
2329
+ Be.unstable_batchedUpdates(() => {
2330
+ Ft(Ce), W?.(z), m({
2331
+ type: "onDragOver",
2332
+ event: z
2333
+ });
2334
+ });
2335
+ },
2336
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2337
+ [Bt]
2338
+ ), Q(() => {
2339
+ te.current = {
2340
+ activatorEvent: Y,
2341
+ active: G,
2342
+ activeNode: H,
2343
+ collisionRect: Se,
2344
+ collisions: Pe,
2345
+ droppableRects: ie,
2346
+ draggableNodes: x,
2347
+ draggingNode: we,
2348
+ draggingNodeRect: xe,
2349
+ droppableContainers: L,
2350
+ over: fe,
2351
+ scrollableAncestors: de,
2352
+ scrollAdjustedTranslate: De
2353
+ }, J.current = {
2354
+ initial: xe,
2355
+ translated: Se
2356
+ };
2357
+ }, [G, H, Pe, Se, x, we, xe, ie, L, fe, de, De]), jr({
2358
+ ...ue,
2359
+ delta: T,
2360
+ draggingRect: Se,
2361
+ pointerCoordinates: zt,
2362
+ scrollableAncestors: de,
2363
+ scrollableAncestorRects: Ze
2364
+ });
2365
+ const kn = E(() => ({
2366
+ active: G,
2367
+ activeNode: H,
2368
+ activeNodeRect: A,
2369
+ activatorEvent: Y,
2370
+ collisions: Pe,
2371
+ containerNodeRect: Le,
2372
+ dragOverlay: ae,
2373
+ draggableNodes: x,
2374
+ droppableContainers: L,
2375
+ droppableRects: ie,
2376
+ over: fe,
2377
+ measureDroppableContainers: me,
2378
+ scrollableAncestors: de,
2379
+ scrollableAncestorRects: Ze,
2380
+ measuringConfiguration: $,
2381
+ measuringScheduled: Me,
2382
+ windowRect: vt
2383
+ }), [G, H, A, Y, Pe, Le, ae, x, L, ie, fe, me, de, Ze, $, Me, vt]), zn = E(() => ({
2384
+ activatorEvent: Y,
2385
+ activators: $t,
2386
+ active: G,
2387
+ activeNodeRect: A,
2388
+ ariaDescribedById: {
2389
+ draggable: Te
2390
+ },
2391
+ dispatch: b,
2392
+ draggableNodes: x,
2393
+ over: fe,
2394
+ measureDroppableContainers: me
2395
+ }), [Y, $t, G, A, b, Te, x, fe, me]);
2396
+ return M.createElement(sn.Provider, {
2397
+ value: p
2398
+ }, M.createElement(qe.Provider, {
2399
+ value: zn
2400
+ }, M.createElement(xn.Provider, {
2401
+ value: kn
2402
+ }, M.createElement(ht.Provider, {
2403
+ value: Ln
2404
+ }, c)), M.createElement(oo, {
2405
+ disabled: a?.restoreFocus === !1
2406
+ })), M.createElement(ar, {
2407
+ ...a,
2408
+ hiddenTextDescribedById: Te
2409
+ }));
2410
+ function jn() {
2411
+ const j = Ne?.autoScrollEnabled === !1, K = typeof l == "object" ? l.enabled === !1 : l === !1, U = R && !j && !K;
2412
+ return typeof l == "object" ? {
2413
+ ...l,
2414
+ enabled: U
2415
+ } : {
2416
+ enabled: U
2417
+ };
2418
+ }
2419
+ }), lo = /* @__PURE__ */ Ee(null), en = "button", co = "Draggable";
2420
+ function uo(e) {
2421
+ let {
2422
+ id: t,
2423
+ data: n,
2424
+ disabled: r = !1,
2425
+ attributes: o
2426
+ } = e;
2427
+ const i = Ve(co), {
2428
+ activators: s,
2429
+ activatorEvent: a,
2430
+ active: l,
2431
+ activeNodeRect: c,
2432
+ ariaDescribedById: d,
2433
+ draggableNodes: u,
2434
+ over: g
2435
+ } = ce(qe), {
2436
+ role: f = en,
2437
+ roleDescription: w = "draggable",
2438
+ tabIndex: h = 0
2439
+ } = o ?? {}, v = l?.id === t, b = ce(v ? ht : lo), [m, p] = rt(), [S, C] = rt(), R = Jr(s, t), y = Ye(n);
2440
+ Q(
2441
+ () => (u.set(t, {
2442
+ id: t,
2443
+ key: i,
2444
+ node: m,
2445
+ activatorNode: S,
2446
+ data: y
2447
+ }), () => {
2448
+ const T = u.get(t);
2449
+ T && T.key === i && u.delete(t);
2450
+ }),
2451
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2452
+ [u, t]
2453
+ );
2454
+ const x = E(() => ({
2455
+ role: f,
2456
+ tabIndex: h,
2457
+ "aria-disabled": r,
2458
+ "aria-pressed": v && f === en ? !0 : void 0,
2459
+ "aria-roledescription": w,
2460
+ "aria-describedby": d.draggable
2461
+ }), [r, f, h, v, w, d.draggable]);
2462
+ return {
2463
+ active: l,
2464
+ activatorEvent: a,
2465
+ activeNodeRect: c,
2466
+ attributes: x,
2467
+ isDragging: v,
2468
+ listeners: r ? void 0 : R,
2469
+ node: m,
2470
+ over: g,
2471
+ setNodeRef: p,
2472
+ setActivatorNodeRef: C,
2473
+ transform: b
2474
+ };
2475
+ }
2476
+ function Mt() {
2477
+ return ce(xn);
2478
+ }
2479
+ const fo = "Droppable", go = {
2480
+ timeout: 25
2481
+ };
2482
+ function ho(e) {
2483
+ let {
2484
+ data: t,
2485
+ disabled: n = !1,
2486
+ id: r,
2487
+ resizeObserverConfig: o
2488
+ } = e;
2489
+ const i = Ve(fo), {
2490
+ active: s,
2491
+ dispatch: a,
2492
+ over: l,
2493
+ measureDroppableContainers: c
2494
+ } = ce(qe), d = N({
2495
+ disabled: n
2496
+ }), u = N(!1), g = N(null), f = N(null), {
2497
+ disabled: w,
2498
+ updateMeasurementsFor: h,
2499
+ timeout: v
2500
+ } = {
2501
+ ...go,
2502
+ ...o
2503
+ }, b = Ye(h ?? r), m = F(
2504
+ () => {
2505
+ if (!u.current) {
2506
+ u.current = !0;
2507
+ return;
2508
+ }
2509
+ f.current != null && clearTimeout(f.current), f.current = setTimeout(() => {
2510
+ c(Array.isArray(b.current) ? b.current : [b.current]), f.current = null;
2511
+ }, v);
2512
+ },
2513
+ //eslint-disable-next-line react-hooks/exhaustive-deps
2514
+ [v]
2515
+ ), p = gt({
2516
+ callback: m,
2517
+ disabled: w || !s
2518
+ }), S = F((x, T) => {
2519
+ p && (T && (p.unobserve(T), u.current = !1), x && p.observe(x));
2520
+ }, [p]), [C, R] = rt(S), y = Ye(t);
2521
+ return O(() => {
2522
+ !p || !C.current || (p.disconnect(), u.current = !1, p.observe(C.current));
2523
+ }, [C, p]), O(
2524
+ () => (a({
2525
+ type: P.RegisterDroppable,
2526
+ element: {
2527
+ id: r,
2528
+ key: i,
2529
+ disabled: n,
2530
+ node: C,
2531
+ rect: g,
2532
+ data: y
2533
+ }
2534
+ }), () => a({
2535
+ type: P.UnregisterDroppable,
2536
+ key: i,
2537
+ id: r
2538
+ })),
2539
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2540
+ [r]
2541
+ ), O(() => {
2542
+ n !== d.current.disabled && (a({
2543
+ type: P.SetDroppableDisabled,
2544
+ id: r,
2545
+ key: i,
2546
+ disabled: n
2547
+ }), d.current.disabled = n);
2548
+ }, [r, i, n, a]), {
2549
+ active: s,
2550
+ rect: g,
2551
+ isOver: l?.id === r,
2552
+ node: C,
2553
+ over: l,
2554
+ setNodeRef: R
2555
+ };
2556
+ }
2557
+ function vo(e) {
2558
+ let {
2559
+ animation: t,
2560
+ children: n
2561
+ } = e;
2562
+ const [r, o] = B(null), [i, s] = B(null), a = ot(n);
2563
+ return !n && !r && a && o(a), Q(() => {
2564
+ if (!i)
2565
+ return;
2566
+ const l = r?.key, c = r?.props.id;
2567
+ if (l == null || c == null) {
2568
+ o(null);
2569
+ return;
2570
+ }
2571
+ Promise.resolve(t(c, i)).then(() => {
2572
+ o(null);
2573
+ });
2574
+ }, [t, r, i]), M.createElement(M.Fragment, null, n, r ? Yn(r, {
2575
+ ref: s
2576
+ }) : null);
2577
+ }
2578
+ const po = {
2579
+ x: 0,
2580
+ y: 0,
2581
+ scaleX: 1,
2582
+ scaleY: 1
2583
+ };
2584
+ function bo(e) {
2585
+ let {
2586
+ children: t
2587
+ } = e;
2588
+ return M.createElement(qe.Provider, {
2589
+ value: wn
2590
+ }, M.createElement(ht.Provider, {
2591
+ value: po
2592
+ }, t));
2593
+ }
2594
+ const mo = {
2595
+ position: "fixed",
2596
+ touchAction: "none"
2597
+ }, yo = (e) => dt(e) ? "transform 250ms ease" : void 0, wo = /* @__PURE__ */ $n((e, t) => {
2598
+ let {
2599
+ as: n,
2600
+ activatorEvent: r,
2601
+ adjustScale: o,
2602
+ children: i,
2603
+ className: s,
2604
+ rect: a,
2605
+ style: l,
2606
+ transform: c,
2607
+ transition: d = yo
2608
+ } = e;
2609
+ if (!a)
2610
+ return null;
2611
+ const u = o ? c : {
2612
+ ...c,
2613
+ scaleX: 1,
2614
+ scaleY: 1
2615
+ }, g = {
2616
+ ...mo,
2617
+ width: a.width,
2618
+ height: a.height,
2619
+ top: a.top,
2620
+ left: a.left,
2621
+ transform: be.Transform.toString(u),
2622
+ transformOrigin: o && r ? ur(r, a) : void 0,
2623
+ transition: typeof d == "function" ? d(r) : d,
2624
+ ...l
2625
+ };
2626
+ return M.createElement(n, {
2627
+ className: s,
2628
+ style: g,
2629
+ ref: t
2630
+ }, i);
2631
+ }), Sn = (e) => (t) => {
2632
+ let {
2633
+ active: n,
2634
+ dragOverlay: r
2635
+ } = t;
2636
+ const o = {}, {
2637
+ styles: i,
2638
+ className: s
2639
+ } = e;
2640
+ if (i != null && i.active)
2641
+ for (const [a, l] of Object.entries(i.active))
2642
+ l !== void 0 && (o[a] = n.node.style.getPropertyValue(a), n.node.style.setProperty(a, l));
2643
+ if (i != null && i.dragOverlay)
2644
+ for (const [a, l] of Object.entries(i.dragOverlay))
2645
+ l !== void 0 && r.node.style.setProperty(a, l);
2646
+ return s != null && s.active && n.node.classList.add(s.active), s != null && s.dragOverlay && r.node.classList.add(s.dragOverlay), function() {
2647
+ for (const [l, c] of Object.entries(o))
2648
+ n.node.style.setProperty(l, c);
2649
+ s != null && s.active && n.node.classList.remove(s.active);
2650
+ };
2651
+ }, xo = (e) => {
2652
+ let {
2653
+ transform: {
2654
+ initial: t,
2655
+ final: n
2656
+ }
2657
+ } = e;
2658
+ return [{
2659
+ transform: be.Transform.toString(t)
2660
+ }, {
2661
+ transform: be.Transform.toString(n)
2662
+ }];
2663
+ }, Do = {
2664
+ duration: 250,
2665
+ easing: "ease",
2666
+ keyframes: xo,
2667
+ sideEffects: /* @__PURE__ */ Sn({
2668
+ styles: {
2669
+ active: {
2670
+ opacity: "0"
2671
+ }
2672
+ }
2673
+ })
2674
+ };
2675
+ function So(e) {
2676
+ let {
2677
+ config: t,
2678
+ draggableNodes: n,
2679
+ droppableContainers: r,
2680
+ measuringConfiguration: o
2681
+ } = e;
2682
+ return ut((i, s) => {
2683
+ if (t === null)
2684
+ return;
2685
+ const a = n.get(i);
2686
+ if (!a)
2687
+ return;
2688
+ const l = a.node.current;
2689
+ if (!l)
2690
+ return;
2691
+ const c = yn(s);
2692
+ if (!c)
2693
+ return;
2694
+ const {
2695
+ transform: d
2696
+ } = X(s).getComputedStyle(s), u = cn(d);
2697
+ if (!u)
2698
+ return;
2699
+ const g = typeof t == "function" ? t : Co(t);
2700
+ return pn(l, o.draggable.measure), g({
2701
+ active: {
2702
+ id: i,
2703
+ data: a.data,
2704
+ node: l,
2705
+ rect: o.draggable.measure(l)
2706
+ },
2707
+ draggableNodes: n,
2708
+ dragOverlay: {
2709
+ node: s,
2710
+ rect: o.dragOverlay.measure(c)
2711
+ },
2712
+ droppableContainers: r,
2713
+ measuringConfiguration: o,
2714
+ transform: u
2715
+ });
2716
+ });
2717
+ }
2718
+ function Co(e) {
2719
+ const {
2720
+ duration: t,
2721
+ easing: n,
2722
+ sideEffects: r,
2723
+ keyframes: o
2724
+ } = {
2725
+ ...Do,
2726
+ ...e
2727
+ };
2728
+ return (i) => {
2729
+ let {
2730
+ active: s,
2731
+ dragOverlay: a,
2732
+ transform: l,
2733
+ ...c
2734
+ } = i;
2735
+ if (!t)
2736
+ return;
2737
+ const d = {
2738
+ x: a.rect.left - s.rect.left,
2739
+ y: a.rect.top - s.rect.top
2740
+ }, u = {
2741
+ scaleX: l.scaleX !== 1 ? s.rect.width * l.scaleX / a.rect.width : 1,
2742
+ scaleY: l.scaleY !== 1 ? s.rect.height * l.scaleY / a.rect.height : 1
2743
+ }, g = {
2744
+ x: l.x - d.x,
2745
+ y: l.y - d.y,
2746
+ ...u
2747
+ }, f = o({
2748
+ ...c,
2749
+ active: s,
2750
+ dragOverlay: a,
2751
+ transform: {
2752
+ initial: l,
2753
+ final: g
2754
+ }
2755
+ }), [w] = f, h = f[f.length - 1];
2756
+ if (JSON.stringify(w) === JSON.stringify(h))
2757
+ return;
2758
+ const v = r?.({
2759
+ active: s,
2760
+ dragOverlay: a,
2761
+ ...c
2762
+ }), b = a.node.animate(f, {
2763
+ duration: t,
2764
+ easing: n,
2765
+ fill: "forwards"
2766
+ });
2767
+ return new Promise((m) => {
2768
+ b.onfinish = () => {
2769
+ v?.(), m();
2770
+ };
2771
+ });
2772
+ };
2773
+ }
2774
+ let tn = 0;
2775
+ function Ro(e) {
2776
+ return E(() => {
2777
+ if (e != null)
2778
+ return tn++, tn;
2779
+ }, [e]);
2780
+ }
2781
+ const Eo = /* @__PURE__ */ M.memo((e) => {
2782
+ let {
2783
+ adjustScale: t = !1,
2784
+ children: n,
2785
+ dropAnimation: r,
2786
+ style: o,
2787
+ transition: i,
2788
+ modifiers: s,
2789
+ wrapperElement: a = "div",
2790
+ className: l,
2791
+ zIndex: c = 999
2792
+ } = e;
2793
+ const {
2794
+ activatorEvent: d,
2795
+ active: u,
2796
+ activeNodeRect: g,
2797
+ containerNodeRect: f,
2798
+ draggableNodes: w,
2799
+ droppableContainers: h,
2800
+ dragOverlay: v,
2801
+ over: b,
2802
+ measuringConfiguration: m,
2803
+ scrollableAncestors: p,
2804
+ scrollableAncestorRects: S,
2805
+ windowRect: C
2806
+ } = Mt(), R = ce(ht), y = Ro(u?.id), x = Dn(s, {
2807
+ activatorEvent: d,
2808
+ active: u,
2809
+ activeNodeRect: g,
2810
+ containerNodeRect: f,
2811
+ draggingNodeRect: v.rect,
2812
+ over: b,
2813
+ overlayNodeRect: v.rect,
2814
+ scrollableAncestors: p,
2815
+ scrollableAncestorRects: S,
2816
+ transform: R,
2817
+ windowRect: C
2818
+ }), T = Tt(g), L = So({
2819
+ config: r,
2820
+ draggableNodes: w,
2821
+ droppableContainers: h,
2822
+ measuringConfiguration: m
2823
+ }), I = T ? v.setRef : void 0;
2824
+ return M.createElement(bo, null, M.createElement(vo, {
2825
+ animation: L
2826
+ }, u && y ? M.createElement(wo, {
2827
+ key: y,
2828
+ id: u.id,
2829
+ ref: I,
2830
+ as: a,
2831
+ activatorEvent: d,
2832
+ adjustScale: t,
2833
+ className: l,
2834
+ transition: i,
2835
+ rect: T,
2836
+ style: {
2837
+ zIndex: c,
2838
+ ...o
2839
+ },
2840
+ transform: x
2841
+ }, n) : null));
2842
+ });
2843
+ function Lt(e, t, n) {
2844
+ const r = e.slice();
2845
+ return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
2846
+ }
2847
+ function Ao(e, t) {
2848
+ return e.reduce((n, r, o) => {
2849
+ const i = t.get(r);
2850
+ return i && (n[o] = i), n;
2851
+ }, Array(e.length));
2852
+ }
2853
+ function tt(e) {
2854
+ return e !== null && e >= 0;
2855
+ }
2856
+ function Io(e, t) {
2857
+ if (e === t)
2858
+ return !0;
2859
+ if (e.length !== t.length)
2860
+ return !1;
2861
+ for (let n = 0; n < e.length; n++)
2862
+ if (e[n] !== t[n])
2863
+ return !1;
2864
+ return !0;
2865
+ }
2866
+ function Oo(e) {
2867
+ return typeof e == "boolean" ? {
2868
+ draggable: e,
2869
+ droppable: e
2870
+ } : e;
2871
+ }
2872
+ const Cn = (e) => {
2873
+ let {
2874
+ rects: t,
2875
+ activeIndex: n,
2876
+ overIndex: r,
2877
+ index: o
2878
+ } = e;
2879
+ const i = Lt(t, r, n), s = t[o], a = i[o];
2880
+ return !a || !s ? null : {
2881
+ x: a.left - s.left,
2882
+ y: a.top - s.top,
2883
+ scaleX: a.width / s.width,
2884
+ scaleY: a.height / s.height
2885
+ };
2886
+ }, Rn = "Sortable", En = /* @__PURE__ */ M.createContext({
2887
+ activeIndex: -1,
2888
+ containerId: Rn,
2889
+ disableTransforms: !1,
2890
+ items: [],
2891
+ overIndex: -1,
2892
+ useDragOverlay: !1,
2893
+ sortedRects: [],
2894
+ strategy: Cn,
2895
+ disabled: {
2896
+ draggable: !1,
2897
+ droppable: !1
2898
+ }
2899
+ });
2900
+ function No(e) {
2901
+ let {
2902
+ children: t,
2903
+ id: n,
2904
+ items: r,
2905
+ strategy: o = Cn,
2906
+ disabled: i = !1
2907
+ } = e;
2908
+ const {
2909
+ active: s,
2910
+ dragOverlay: a,
2911
+ droppableRects: l,
2912
+ over: c,
2913
+ measureDroppableContainers: d
2914
+ } = Mt(), u = Ve(Rn, n), g = a.rect !== null, f = E(() => r.map((R) => typeof R == "object" && "id" in R ? R.id : R), [r]), w = s != null, h = s ? f.indexOf(s.id) : -1, v = c ? f.indexOf(c.id) : -1, b = N(f), m = !Io(f, b.current), p = v !== -1 && h === -1 || m, S = Oo(i);
2915
+ Q(() => {
2916
+ m && w && d(f);
2917
+ }, [m, f, w, d]), O(() => {
2918
+ b.current = f;
2919
+ }, [f]);
2920
+ const C = E(
2921
+ () => ({
2922
+ activeIndex: h,
2923
+ containerId: u,
2924
+ disabled: S,
2925
+ disableTransforms: p,
2926
+ items: f,
2927
+ overIndex: v,
2928
+ useDragOverlay: g,
2929
+ sortedRects: Ao(f, l),
2930
+ strategy: o
2931
+ }),
2932
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2933
+ [h, u, S.draggable, S.droppable, p, f, v, l, g, o]
2934
+ );
2935
+ return M.createElement(En.Provider, {
2936
+ value: C
2937
+ }, t);
2938
+ }
2939
+ const To = (e) => {
2940
+ let {
2941
+ id: t,
2942
+ items: n,
2943
+ activeIndex: r,
2944
+ overIndex: o
2945
+ } = e;
2946
+ return Lt(n, r, o).indexOf(t);
2947
+ }, Mo = (e) => {
2948
+ let {
2949
+ containerId: t,
2950
+ isSorting: n,
2951
+ wasDragging: r,
2952
+ index: o,
2953
+ items: i,
2954
+ newIndex: s,
2955
+ previousItems: a,
2956
+ previousContainerId: l,
2957
+ transition: c
2958
+ } = e;
2959
+ return !c || !r || a !== i && o === s ? !1 : n ? !0 : s !== o && t === l;
2960
+ }, Lo = {
2961
+ duration: 200,
2962
+ easing: "ease"
2963
+ }, An = "transform", Po = /* @__PURE__ */ be.Transition.toString({
2964
+ property: An,
2965
+ duration: 0,
2966
+ easing: "linear"
2967
+ }), ko = {
2968
+ roleDescription: "sortable"
2969
+ };
2970
+ function zo(e) {
2971
+ let {
2972
+ disabled: t,
2973
+ index: n,
2974
+ node: r,
2975
+ rect: o
2976
+ } = e;
2977
+ const [i, s] = B(null), a = N(n);
2978
+ return Q(() => {
2979
+ if (!t && n !== a.current && r.current) {
2980
+ const l = o.current;
2981
+ if (l) {
2982
+ const c = Oe(r.current, {
2983
+ ignoreTransform: !0
2984
+ }), d = {
2985
+ x: l.left - c.left,
2986
+ y: l.top - c.top,
2987
+ scaleX: l.width / c.width,
2988
+ scaleY: l.height / c.height
2989
+ };
2990
+ (d.x || d.y) && s(d);
2991
+ }
2992
+ }
2993
+ n !== a.current && (a.current = n);
2994
+ }, [t, n, r, o]), O(() => {
2995
+ i && s(null);
2996
+ }, [i]), i;
2997
+ }
2998
+ function jo(e) {
2999
+ let {
3000
+ animateLayoutChanges: t = Mo,
3001
+ attributes: n,
3002
+ disabled: r,
3003
+ data: o,
3004
+ getNewIndex: i = To,
3005
+ id: s,
3006
+ strategy: a,
3007
+ resizeObserverConfig: l,
3008
+ transition: c = Lo
3009
+ } = e;
3010
+ const {
3011
+ items: d,
3012
+ containerId: u,
3013
+ activeIndex: g,
3014
+ disabled: f,
3015
+ disableTransforms: w,
3016
+ sortedRects: h,
3017
+ overIndex: v,
3018
+ useDragOverlay: b,
3019
+ strategy: m
3020
+ } = ce(En), p = Bo(r, f), S = d.indexOf(s), C = E(() => ({
3021
+ sortable: {
3022
+ containerId: u,
3023
+ index: S,
3024
+ items: d
3025
+ },
3026
+ ...o
3027
+ }), [u, o, S, d]), R = E(() => d.slice(d.indexOf(s)), [d, s]), {
3028
+ rect: y,
3029
+ node: x,
3030
+ isOver: T,
3031
+ setNodeRef: L
3032
+ } = ho({
3033
+ id: s,
3034
+ data: C,
3035
+ disabled: p.droppable,
3036
+ resizeObserverConfig: {
3037
+ updateMeasurementsFor: R,
3038
+ ...l
3039
+ }
3040
+ }), {
3041
+ active: I,
3042
+ activatorEvent: J,
3043
+ activeNodeRect: G,
3044
+ attributes: ee,
3045
+ setNodeRef: Ne,
3046
+ listeners: _e,
3047
+ isDragging: Y,
3048
+ over: Je,
3049
+ setActivatorNodeRef: oe,
3050
+ transform: Te
3051
+ } = uo({
3052
+ id: s,
3053
+ data: C,
3054
+ attributes: {
3055
+ ...ko,
3056
+ ...n
3057
+ },
3058
+ disabled: p.draggable
3059
+ }), Ge = qn(L, Ne), $ = !!I, ie = $ && !w && tt(g) && tt(v), me = !b && Y, Me = me && ie ? Te : null, Qe = ie ? Me ?? (a ?? m)({
3060
+ rects: h,
3061
+ activeNodeRect: G,
3062
+ activeIndex: g,
3063
+ overIndex: v,
3064
+ index: S
3065
+ }) : null, ue = tt(g) && tt(v) ? i({
3066
+ id: s,
3067
+ items: d,
3068
+ activeIndex: g,
3069
+ overIndex: v
3070
+ }) : S, se = I?.id, A = N({
3071
+ activeId: se,
3072
+ items: d,
3073
+ newIndex: ue,
3074
+ containerId: u
3075
+ }), Le = d !== A.current.items, te = t({
3076
+ active: I,
3077
+ containerId: u,
3078
+ isDragging: Y,
3079
+ isSorting: $,
3080
+ id: s,
3081
+ index: S,
3082
+ items: d,
3083
+ newIndex: A.current.newIndex,
3084
+ previousItems: A.current.items,
3085
+ previousContainerId: A.current.containerId,
3086
+ transition: c,
3087
+ wasDragging: A.current.activeId != null
3088
+ }), ye = zo({
3089
+ disabled: !te,
3090
+ index: S,
3091
+ node: x,
3092
+ rect: y
3093
+ });
3094
+ return O(() => {
3095
+ $ && A.current.newIndex !== ue && (A.current.newIndex = ue), u !== A.current.containerId && (A.current.containerId = u), d !== A.current.items && (A.current.items = d);
3096
+ }, [$, ue, u, d]), O(() => {
3097
+ if (se === A.current.activeId)
3098
+ return;
3099
+ if (se != null && A.current.activeId == null) {
3100
+ A.current.activeId = se;
3101
+ return;
3102
+ }
3103
+ const we = setTimeout(() => {
3104
+ A.current.activeId = se;
3105
+ }, 50);
3106
+ return () => clearTimeout(we);
3107
+ }, [se]), {
3108
+ active: I,
3109
+ activeIndex: g,
3110
+ attributes: ee,
3111
+ data: C,
3112
+ rect: y,
3113
+ index: S,
3114
+ newIndex: ue,
3115
+ items: d,
3116
+ isOver: T,
3117
+ isSorting: $,
3118
+ isDragging: Y,
3119
+ listeners: _e,
3120
+ node: x,
3121
+ overIndex: v,
3122
+ over: Je,
3123
+ setNodeRef: Ge,
3124
+ setActivatorNodeRef: oe,
3125
+ setDroppableNodeRef: L,
3126
+ setDraggableNodeRef: Ne,
3127
+ transform: ye ?? Qe,
3128
+ transition: ae()
3129
+ };
3130
+ function ae() {
3131
+ if (
3132
+ // Temporarily disable transitions for a single frame to set up derived transforms
3133
+ ye || // Or to prevent items jumping to back to their "new" position when items change
3134
+ Le && A.current.newIndex === S
3135
+ )
3136
+ return Po;
3137
+ if (!(me && !dt(J) || !c) && ($ || te))
3138
+ return be.Transition.toString({
3139
+ ...c,
3140
+ property: An
3141
+ });
3142
+ }
3143
+ }
3144
+ function Bo(e, t) {
3145
+ var n, r;
3146
+ return typeof e == "boolean" ? {
3147
+ draggable: e,
3148
+ // Backwards compatibility
3149
+ droppable: !1
3150
+ } : {
3151
+ draggable: (n = e?.draggable) != null ? n : t.draggable,
3152
+ droppable: (r = e?.droppable) != null ? r : t.droppable
3153
+ };
3154
+ }
3155
+ function lt(e) {
3156
+ if (!e)
3157
+ return !1;
3158
+ const t = e.data.current;
3159
+ return !!(t && "sortable" in t && typeof t.sortable == "object" && "containerId" in t.sortable && "items" in t.sortable && "index" in t.sortable);
3160
+ }
3161
+ const Fo = [D.Down, D.Right, D.Up, D.Left], Xo = (e, t) => {
3162
+ let {
3163
+ context: {
3164
+ active: n,
3165
+ collisionRect: r,
3166
+ droppableRects: o,
3167
+ droppableContainers: i,
3168
+ over: s,
3169
+ scrollableAncestors: a
3170
+ }
3171
+ } = t;
3172
+ if (Fo.includes(e.code)) {
3173
+ if (e.preventDefault(), !n || !r)
3174
+ return;
3175
+ const l = [];
3176
+ i.getEnabled().forEach((u) => {
3177
+ if (!u || u != null && u.disabled)
3178
+ return;
3179
+ const g = o.get(u.id);
3180
+ if (g)
3181
+ switch (e.code) {
3182
+ case D.Down:
3183
+ r.top < g.top && l.push(u);
3184
+ break;
3185
+ case D.Up:
3186
+ r.top > g.top && l.push(u);
3187
+ break;
3188
+ case D.Left:
3189
+ r.left > g.left && l.push(u);
3190
+ break;
3191
+ case D.Right:
3192
+ r.left < g.left && l.push(u);
3193
+ break;
3194
+ }
3195
+ });
3196
+ const c = gr({
3197
+ collisionRect: r,
3198
+ droppableRects: o,
3199
+ droppableContainers: l
3200
+ });
3201
+ let d = an(c, "id");
3202
+ if (d === s?.id && c.length > 1 && (d = c[1].id), d != null) {
3203
+ const u = i.get(n.id), g = i.get(d), f = g ? o.get(g.id) : null, w = g?.node.current;
3204
+ if (w && f && u && g) {
3205
+ const v = ft(w).some((R, y) => a[y] !== R), b = In(u, g), m = $o(u, g), p = v || !b ? {
3206
+ x: 0,
3207
+ y: 0
3208
+ } : {
3209
+ x: m ? r.width - f.width : 0,
3210
+ y: m ? r.height - f.height : 0
3211
+ }, S = {
3212
+ x: f.left,
3213
+ y: f.top
3214
+ };
3215
+ return p.x && p.y ? S : Ke(S, p);
3216
+ }
3217
+ }
3218
+ }
3219
+ };
3220
+ function In(e, t) {
3221
+ return !lt(e) || !lt(t) ? !1 : e.data.current.sortable.containerId === t.data.current.sortable.containerId;
3222
+ }
3223
+ function $o(e, t) {
3224
+ return !lt(e) || !lt(t) || !In(e, t) ? !1 : e.data.current.sortable.index < t.data.current.sortable.index;
3225
+ }
3226
+ const On = Ee({
3227
+ attributes: void 0,
3228
+ listeners: void 0,
3229
+ ref() {
3230
+ }
3231
+ }), Yo = ({ ...e }) => {
3232
+ const { attributes: t, listeners: n, ref: r } = ce(On), o = Mt();
3233
+ return /* @__PURE__ */ _.jsx(
3234
+ Kn,
3235
+ {
3236
+ className: "SortableList__DragHandle",
3237
+ "data-testid": "kibble-sortable-list-drag-handle",
3238
+ ref: r,
3239
+ cursor: o.activatorEvent ? "grabbing" : "grab",
3240
+ iconName: "grid",
3241
+ size: "sm",
3242
+ variant: "ghostNeutral",
3243
+ ...t,
3244
+ ...n,
3245
+ ...e
3246
+ }
3247
+ );
3248
+ }, nn = ({
3249
+ content: e,
3250
+ hideHandle: t,
3251
+ id: n,
3252
+ itemProps: r
3253
+ }) => {
3254
+ const { attributes: o, isDragging: i, listeners: s, setNodeRef: a, setActivatorNodeRef: l, transform: c, transition: d } = jo({
3255
+ id: n
3256
+ }), u = E(
3257
+ () => ({
3258
+ attributes: o,
3259
+ listeners: s,
3260
+ ref: l
3261
+ }),
3262
+ [o, s, l]
3263
+ );
3264
+ return /* @__PURE__ */ _.jsx(On.Provider, { value: u, children: /* @__PURE__ */ _.jsx(
3265
+ Hn,
3266
+ {
3267
+ className: "SortableList__Item",
3268
+ "data-testid": "kibble-sortable-list-item",
3269
+ ref: a,
3270
+ ...r,
3271
+ listStyleType: "none",
3272
+ ...i && { opacity: 0.4 },
3273
+ transition: d,
3274
+ transform: be.Translate.toString(c),
3275
+ children: /* @__PURE__ */ _.jsxs(Wn, { alignItems: "center", gap: 2, width: "100%", children: [
3276
+ !t && /* @__PURE__ */ _.jsx(Yo, {}),
3277
+ typeof e == "string" ? /* @__PURE__ */ _.jsx(Un, { size: "sm", children: e }) : e
3278
+ ] })
3279
+ }
3280
+ ) });
3281
+ }, Go = ({
3282
+ hideHandle: e = !1,
3283
+ items: t,
3284
+ itemsProps: n,
3285
+ onChange: r,
3286
+ ...o
3287
+ }) => {
3288
+ const [i, s] = B(null), a = E(() => t.find((c) => c.id === i?.id), [i, t]), l = lr(
3289
+ Kt(Nt),
3290
+ Kt(It, {
3291
+ coordinateGetter: Xo
3292
+ })
3293
+ );
3294
+ return /* @__PURE__ */ _.jsx(
3295
+ ao,
3296
+ {
3297
+ sensors: l,
3298
+ onDragStart: ({ active: c }) => {
3299
+ s(c);
3300
+ },
3301
+ onDragEnd: ({ active: c, over: d }) => {
3302
+ if (d && c.id !== d?.id) {
3303
+ const u = t.findIndex(({ id: f }) => f === c.id), g = t.findIndex(({ id: f }) => f === d.id);
3304
+ r(Lt(t, u, g));
3305
+ }
3306
+ s(null);
3307
+ },
3308
+ onDragCancel: () => s(null),
3309
+ children: /* @__PURE__ */ _.jsx(No, { items: t, children: /* @__PURE__ */ _.jsxs(Vn, { className: "SortableList", "data-testid": "kibble-sortable-list", gap: 2, ...o, children: [
3310
+ t.map((c) => /* @__PURE__ */ _.jsx(nn, { ...c, itemProps: n, hideHandle: e }, c.id)),
3311
+ a && /* @__PURE__ */ _.jsx(Eo, { dropAnimation: Ko, children: /* @__PURE__ */ _.jsx(nn, { ...a, itemProps: n, hideHandle: e }) })
3312
+ ] }) })
3313
+ }
3314
+ );
3315
+ }, Ko = {
3316
+ sideEffects: Sn({
3317
+ styles: {
3318
+ active: {
3319
+ opacity: "0.4"
3320
+ }
3321
+ }
3322
+ })
3323
+ };
3324
+ export {
3325
+ Go as S
3326
+ };
3327
+ //# sourceMappingURL=sortableList.component-BKthQS8R.js.map