@televet/kibble-ui 4.0.0-beta.7 → 4.0.0-beta.71

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