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

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