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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (969) hide show
  1. package/README.md +40 -0
  2. package/dist/chunks/IconLogo-C4aZqkn1.js +2 -0
  3. package/dist/chunks/IconLogo-C4aZqkn1.js.map +1 -0
  4. package/dist/chunks/IconLogo-D8EHZ4Is.js +62 -0
  5. package/dist/chunks/IconLogo-D8EHZ4Is.js.map +1 -0
  6. package/dist/chunks/alert.types-8JN84Qgi.js +219 -0
  7. package/dist/chunks/alert.types-8JN84Qgi.js.map +1 -0
  8. package/dist/chunks/alert.types-eZV4C-Lo.js +2 -0
  9. package/dist/chunks/alert.types-eZV4C-Lo.js.map +1 -0
  10. package/dist/chunks/attr-BMs6szZx.js +2 -0
  11. package/dist/chunks/attr-BMs6szZx.js.map +1 -0
  12. package/dist/chunks/attr-sm10PXOd.js +5 -0
  13. package/dist/chunks/attr-sm10PXOd.js.map +1 -0
  14. package/dist/chunks/avatar.component-DFECejcq.js +2 -0
  15. package/dist/chunks/avatar.component-DFECejcq.js.map +1 -0
  16. package/dist/chunks/avatar.component-DHEnOmiw.js +420 -0
  17. package/dist/chunks/avatar.component-DHEnOmiw.js.map +1 -0
  18. package/dist/chunks/{avatarGroup.component-CceV-fW0.js → avatarGroup.component-BivC9ghH.js} +27 -28
  19. package/dist/chunks/{avatarGroup.component-CceV-fW0.js.map → avatarGroup.component-BivC9ghH.js.map} +1 -1
  20. package/dist/chunks/avatarGroup.component-CidA0JNq.js +2 -0
  21. package/dist/chunks/{avatarGroup.component-Q43nemix.js.map → avatarGroup.component-CidA0JNq.js.map} +1 -1
  22. package/dist/chunks/box-Baq7UBls.js +2 -0
  23. package/dist/chunks/box-Baq7UBls.js.map +1 -0
  24. package/dist/chunks/box-Ck9I7FYv.js +7 -0
  25. package/dist/chunks/box-Ck9I7FYv.js.map +1 -0
  26. package/dist/chunks/{button.component-BtkAjIWe.js → button.component-BpF3MzbZ.js} +10 -10
  27. package/dist/chunks/button.component-BpF3MzbZ.js.map +1 -0
  28. package/dist/chunks/button.component-Dd9AfGox.js +2 -0
  29. package/dist/chunks/button.component-Dd9AfGox.js.map +1 -0
  30. package/dist/chunks/buttonGroup.component-B6Z97Z5w.js +77 -0
  31. package/dist/chunks/buttonGroup.component-B6Z97Z5w.js.map +1 -0
  32. package/dist/chunks/buttonGroup.component-dEH5U2U9.js +2 -0
  33. package/dist/chunks/buttonGroup.component-dEH5U2U9.js.map +1 -0
  34. package/dist/chunks/card.component-DNX41NGG.js +59 -0
  35. package/dist/chunks/card.component-DNX41NGG.js.map +1 -0
  36. package/dist/chunks/card.component-KNc4HKSh.js +2 -0
  37. package/dist/chunks/card.component-KNc4HKSh.js.map +1 -0
  38. package/dist/chunks/card.types-Cixp7ouC.js +5 -0
  39. package/dist/chunks/card.types-Cixp7ouC.js.map +1 -0
  40. package/dist/chunks/card.types-MvkQTTZF.js +2 -0
  41. package/dist/chunks/card.types-MvkQTTZF.js.map +1 -0
  42. package/dist/chunks/{characterCounter.component-DhiMcztY.js → characterCounter.component-BnJlAXbZ.js} +14 -12
  43. package/dist/chunks/{characterCounter.component-DhiMcztY.js.map → characterCounter.component-BnJlAXbZ.js.map} +1 -1
  44. package/dist/chunks/characterCounter.component-D32B_18y.js +2 -0
  45. package/dist/chunks/{characterCounter.component-BXxyn_IB.js.map → characterCounter.component-D32B_18y.js.map} +1 -1
  46. package/dist/chunks/checkbox.component-Oc8lxpMw.js +2 -0
  47. package/dist/chunks/checkbox.component-Oc8lxpMw.js.map +1 -0
  48. package/dist/chunks/checkbox.component-PJondNuh.js +310 -0
  49. package/dist/chunks/checkbox.component-PJondNuh.js.map +1 -0
  50. package/dist/chunks/checkbox.records-B1tMW87O.js +2 -0
  51. package/dist/chunks/checkbox.records-B1tMW87O.js.map +1 -0
  52. package/dist/chunks/checkbox.records-BtZVOsgd.js +266 -0
  53. package/dist/chunks/checkbox.records-BtZVOsgd.js.map +1 -0
  54. package/dist/chunks/checkboxGroup.component-DUlVhjLO.js +52 -0
  55. package/dist/chunks/{checkboxGroup.component-DcIdfbbl.js.map → checkboxGroup.component-DUlVhjLO.js.map} +1 -1
  56. package/dist/chunks/checkboxGroup.component-Du63au-w.js +2 -0
  57. package/dist/chunks/{checkboxGroup.component-BYKUQW4y.js.map → checkboxGroup.component-Du63au-w.js.map} +1 -1
  58. package/dist/chunks/config-BFcXpdZo.js +2 -0
  59. package/dist/chunks/config-BFcXpdZo.js.map +1 -0
  60. package/dist/chunks/config-DlTdf-Yt.js +57 -0
  61. package/dist/chunks/config-DlTdf-Yt.js.map +1 -0
  62. package/dist/chunks/conversationCard.component-C1PQnKmJ.js +2 -0
  63. package/dist/chunks/conversationCard.component-C1PQnKmJ.js.map +1 -0
  64. package/dist/chunks/{conversationCard.component-BSfDNuuw.js → conversationCard.component-CYnBgT3a.js} +51 -49
  65. package/dist/chunks/conversationCard.component-CYnBgT3a.js.map +1 -0
  66. package/dist/chunks/create-recipe-context-D7FewUR4.js +62 -0
  67. package/dist/chunks/create-recipe-context-D7FewUR4.js.map +1 -0
  68. package/dist/chunks/create-recipe-context-sESms8Eo.js +2 -0
  69. package/dist/chunks/create-recipe-context-sESms8Eo.js.map +1 -0
  70. package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +97 -0
  71. package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +1 -0
  72. package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +2 -0
  73. package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +1 -0
  74. package/dist/chunks/datePicker.component-B7jzOKQ9.js +15 -0
  75. package/dist/chunks/datePicker.component-B7jzOKQ9.js.map +1 -0
  76. package/dist/chunks/datePicker.component-Cu0sCxMB.js +3165 -0
  77. package/dist/chunks/datePicker.component-Cu0sCxMB.js.map +1 -0
  78. package/dist/chunks/dialog-trigger-B5NK0lr-.js +2 -0
  79. package/dist/chunks/dialog-trigger-B5NK0lr-.js.map +1 -0
  80. package/dist/chunks/dialog-trigger-BPlPzPU-.js +78 -0
  81. package/dist/chunks/dialog-trigger-BPlPzPU-.js.map +1 -0
  82. package/dist/chunks/divider.types-0j5qRXed.js +47 -0
  83. package/dist/chunks/divider.types-0j5qRXed.js.map +1 -0
  84. package/dist/chunks/divider.types-CK5oFy-i.js +2 -0
  85. package/dist/chunks/divider.types-CK5oFy-i.js.map +1 -0
  86. package/dist/chunks/empty-B5_AO6Pg.js +2 -0
  87. package/dist/chunks/empty-B5_AO6Pg.js.map +1 -0
  88. package/dist/chunks/empty-BU2EAux9.js +8 -0
  89. package/dist/chunks/empty-BU2EAux9.js.map +1 -0
  90. package/dist/chunks/factory-Ctbv0Ozn.js +500 -0
  91. package/dist/chunks/factory-Ctbv0Ozn.js.map +1 -0
  92. package/dist/chunks/factory-D6tdBUPG.js +3 -0
  93. package/dist/chunks/factory-D6tdBUPG.js.map +1 -0
  94. package/dist/chunks/flex-D14H6HbP.js +2 -0
  95. package/dist/chunks/flex-D14H6HbP.js.map +1 -0
  96. package/dist/chunks/flex-smlF8uQG.js +40 -0
  97. package/dist/chunks/flex-smlF8uQG.js.map +1 -0
  98. package/dist/chunks/float-DYLtz2A6.js +64 -0
  99. package/dist/chunks/float-DYLtz2A6.js.map +1 -0
  100. package/dist/chunks/float-OQXnYWBw.js +2 -0
  101. package/dist/chunks/float-OQXnYWBw.js.map +1 -0
  102. package/dist/chunks/format-BRt-TIiQ.js +2 -0
  103. package/dist/chunks/format-BRt-TIiQ.js.map +1 -0
  104. package/dist/chunks/format-DgHM6wFr.js +1275 -0
  105. package/dist/chunks/format-DgHM6wFr.js.map +1 -0
  106. package/dist/chunks/grid-item-BV4dwEBP.js +90 -0
  107. package/dist/chunks/grid-item-BV4dwEBP.js.map +1 -0
  108. package/dist/chunks/grid-item-CR-sXrjU.js +2 -0
  109. package/dist/chunks/grid-item-CR-sXrjU.js.map +1 -0
  110. package/dist/chunks/group-Cv7AQw1b.js +2 -0
  111. package/dist/chunks/group-Cv7AQw1b.js.map +1 -0
  112. package/dist/chunks/group-DPCVolOl.js +139 -0
  113. package/dist/chunks/group-DPCVolOl.js.map +1 -0
  114. package/dist/chunks/h-stack-Bjx9hlJo.js +2 -0
  115. package/dist/chunks/h-stack-Bjx9hlJo.js.map +1 -0
  116. package/dist/chunks/h-stack-Ce6JSBK2.js +12 -0
  117. package/dist/chunks/h-stack-Ce6JSBK2.js.map +1 -0
  118. package/dist/chunks/heading.component-D4rtbYK8.js +12 -0
  119. package/dist/chunks/heading.component-D4rtbYK8.js.map +1 -0
  120. package/dist/chunks/heading.component-uv536wYF.js +2 -0
  121. package/dist/chunks/heading.component-uv536wYF.js.map +1 -0
  122. package/dist/chunks/icon-button-DTZOklQ9.js +119 -0
  123. package/dist/chunks/icon-button-DTZOklQ9.js.map +1 -0
  124. package/dist/chunks/icon-button-DtjZ-SdQ.js +2 -0
  125. package/dist/chunks/icon-button-DtjZ-SdQ.js.map +1 -0
  126. package/dist/chunks/icon.component-C0e0UGBw.js +2 -0
  127. package/dist/chunks/icon.component-C0e0UGBw.js.map +1 -0
  128. package/dist/chunks/{icon.component-DjNY589M.js → icon.component-DGNCL1Yc.js} +14 -16
  129. package/dist/chunks/icon.component-DGNCL1Yc.js.map +1 -0
  130. package/dist/chunks/icons-BXxdrBrf.js +216 -0
  131. package/dist/chunks/icons-BXxdrBrf.js.map +1 -0
  132. package/dist/chunks/icons-CTpAjbC-.js +2 -0
  133. package/dist/chunks/icons-CTpAjbC-.js.map +1 -0
  134. package/dist/chunks/index-BBZxmcrY.js +2 -0
  135. package/dist/chunks/index-BBZxmcrY.js.map +1 -0
  136. package/dist/chunks/index-BDnnTdaJ.js +2 -0
  137. package/dist/chunks/index-BDnnTdaJ.js.map +1 -0
  138. package/dist/chunks/index-BGwwyukg.js +2 -0
  139. package/dist/chunks/index-BGwwyukg.js.map +1 -0
  140. package/dist/chunks/index-BNYygzo-.js +376 -0
  141. package/dist/chunks/index-BNYygzo-.js.map +1 -0
  142. package/dist/chunks/index-BYf7SZUC.js +2 -0
  143. package/dist/chunks/index-BYf7SZUC.js.map +1 -0
  144. package/dist/chunks/index-BknUKotT.js +38 -0
  145. package/dist/chunks/index-BknUKotT.js.map +1 -0
  146. package/dist/chunks/index-C2kxTsiE.js +291 -0
  147. package/dist/chunks/index-C2kxTsiE.js.map +1 -0
  148. package/dist/chunks/index-COoMV9Mh.js +2 -0
  149. package/dist/chunks/index-COoMV9Mh.js.map +1 -0
  150. package/dist/chunks/index-CYk-7wwG.js +1018 -0
  151. package/dist/chunks/index-CYk-7wwG.js.map +1 -0
  152. package/dist/chunks/index-CZ42b9rT.js +3 -0
  153. package/dist/chunks/index-CZ42b9rT.js.map +1 -0
  154. package/dist/chunks/index-CZz7hHWb.js +2 -0
  155. package/dist/chunks/index-CZz7hHWb.js.map +1 -0
  156. package/dist/chunks/index-CgivotaP.js +20 -0
  157. package/dist/chunks/index-CgivotaP.js.map +1 -0
  158. package/dist/chunks/index-CjNAJEk5.js +6313 -0
  159. package/dist/chunks/index-CjNAJEk5.js.map +1 -0
  160. package/dist/chunks/index-CkYZf9Pm.js +2 -0
  161. package/dist/chunks/index-CkYZf9Pm.js.map +1 -0
  162. package/dist/chunks/index-Co91SHhW.js +141 -0
  163. package/dist/chunks/index-Co91SHhW.js.map +1 -0
  164. package/dist/chunks/index-CzrXl0uD.js +2 -0
  165. package/dist/chunks/index-CzrXl0uD.js.map +1 -0
  166. package/dist/chunks/index-D9DU-5GF.js +1196 -0
  167. package/dist/chunks/index-D9DU-5GF.js.map +1 -0
  168. package/dist/chunks/index-DAWHN3cH.js +86 -0
  169. package/dist/chunks/index-DAWHN3cH.js.map +1 -0
  170. package/dist/chunks/index-DD49WSSW.js +2 -0
  171. package/dist/chunks/index-DD49WSSW.js.map +1 -0
  172. package/dist/chunks/index-DUHFrLMI.js +389 -0
  173. package/dist/chunks/index-DUHFrLMI.js.map +1 -0
  174. package/dist/chunks/index-DcJZ8q0f.js +1190 -0
  175. package/dist/chunks/index-DcJZ8q0f.js.map +1 -0
  176. package/dist/chunks/index-MlhL0PDC.js +2 -0
  177. package/dist/chunks/index-MlhL0PDC.js.map +1 -0
  178. package/dist/chunks/index-S1uNQPZj.js +444 -0
  179. package/dist/chunks/index-S1uNQPZj.js.map +1 -0
  180. package/dist/chunks/index-UWtj4ULm.js +8 -0
  181. package/dist/chunks/index-UWtj4ULm.js.map +1 -0
  182. package/dist/chunks/index-ZaGEDS_0.js +2 -0
  183. package/dist/chunks/index-ZaGEDS_0.js.map +1 -0
  184. package/dist/chunks/index-iyefwwxw.js +2 -0
  185. package/dist/chunks/index-iyefwwxw.js.map +1 -0
  186. package/dist/chunks/index-j7W9Hyzx.js +322 -0
  187. package/dist/chunks/index-j7W9Hyzx.js.map +1 -0
  188. package/dist/chunks/index-z-FFv-gK.js +257 -0
  189. package/dist/chunks/index-z-FFv-gK.js.map +1 -0
  190. package/dist/chunks/jsx-runtime-BjDatQAs.js +23 -0
  191. package/dist/chunks/jsx-runtime-BjDatQAs.js.map +1 -0
  192. package/dist/chunks/jsx-runtime-C5mzlN2N.js +285 -0
  193. package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +1 -0
  194. package/dist/chunks/link.component-CCFg-LIe.js +2 -0
  195. package/dist/chunks/link.component-CCFg-LIe.js.map +1 -0
  196. package/dist/chunks/link.component-DprieyUG.js +60 -0
  197. package/dist/chunks/link.component-DprieyUG.js.map +1 -0
  198. package/dist/chunks/list-C_LmDoyW.js +2 -0
  199. package/dist/chunks/list-C_LmDoyW.js.map +1 -0
  200. package/dist/chunks/list-DqH5ttQG.js +20 -0
  201. package/dist/chunks/list-DqH5ttQG.js.map +1 -0
  202. package/dist/chunks/logo.types-By8TqyNf.js +76 -0
  203. package/dist/chunks/logo.types-By8TqyNf.js.map +1 -0
  204. package/dist/chunks/logo.types-CA_5hGAi.js +2 -0
  205. package/dist/chunks/logo.types-CA_5hGAi.js.map +1 -0
  206. package/dist/chunks/menu.component-DCtztozy.js +2 -0
  207. package/dist/chunks/menu.component-DCtztozy.js.map +1 -0
  208. package/dist/chunks/menu.component-DaWlH0RE.js +678 -0
  209. package/dist/chunks/menu.component-DaWlH0RE.js.map +1 -0
  210. package/dist/chunks/modal.types-Cx0d9C_x.js +206 -0
  211. package/dist/chunks/modal.types-Cx0d9C_x.js.map +1 -0
  212. package/dist/chunks/modal.types-DBKm96OL.js +2 -0
  213. package/dist/chunks/modal.types-DBKm96OL.js.map +1 -0
  214. package/dist/chunks/{notificationCounter.component-DU5P6Ilh.js → notificationCounter.component-Bei8mHSZ.js} +10 -8
  215. package/dist/chunks/{notificationCounter.component-DU5P6Ilh.js.map → notificationCounter.component-Bei8mHSZ.js.map} +1 -1
  216. package/dist/chunks/notificationCounter.component-BhZcuBmr.js +2 -0
  217. package/dist/chunks/{notificationCounter.component-D6v39lna.js.map → notificationCounter.component-BhZcuBmr.js.map} +1 -1
  218. package/dist/chunks/notificationCounter.types-B_-siNfi.js +2 -0
  219. package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +1 -0
  220. package/dist/chunks/notificationCounter.types-S7ENT1Oj.js +11 -0
  221. package/dist/chunks/notificationCounter.types-S7ENT1Oj.js.map +1 -0
  222. package/dist/chunks/omit-C-j4TrF5.js +10 -0
  223. package/dist/chunks/omit-C-j4TrF5.js.map +1 -0
  224. package/dist/chunks/omit-DqNeoZ8h.js +2 -0
  225. package/dist/chunks/omit-DqNeoZ8h.js.map +1 -0
  226. package/dist/chunks/picture.component-C2C2r_BU.js +2 -0
  227. package/dist/chunks/picture.component-C2C2r_BU.js.map +1 -0
  228. package/dist/chunks/picture.component-DKbaaL64.js +35 -0
  229. package/dist/chunks/picture.component-DKbaaL64.js.map +1 -0
  230. package/dist/chunks/pinInput.types-DG_lLcFk.js +2 -0
  231. package/dist/chunks/pinInput.types-DG_lLcFk.js.map +1 -0
  232. package/dist/chunks/pinInput.types-HUZl_UUD.js +161 -0
  233. package/dist/chunks/pinInput.types-HUZl_UUD.js.map +1 -0
  234. package/dist/chunks/popover-80QH8HEJ.js +2 -0
  235. package/dist/chunks/popover-80QH8HEJ.js.map +1 -0
  236. package/dist/chunks/popover-B9rNOU0g.js +110 -0
  237. package/dist/chunks/popover-B9rNOU0g.js.map +1 -0
  238. package/dist/chunks/popover-root-provider-CeLLpesI.js +43 -0
  239. package/dist/chunks/popover-root-provider-CeLLpesI.js.map +1 -0
  240. package/dist/chunks/popover-root-provider-DAMDDAHQ.js +2 -0
  241. package/dist/chunks/popover-root-provider-DAMDDAHQ.js.map +1 -0
  242. package/dist/chunks/popover.component-D27f6GTu.js +322 -0
  243. package/dist/chunks/popover.component-D27f6GTu.js.map +1 -0
  244. package/dist/chunks/popover.component-KGVUAj9L.js +2 -0
  245. package/dist/chunks/popover.component-KGVUAj9L.js.map +1 -0
  246. package/dist/chunks/popover.recipe--gMRcQTS.js +479 -0
  247. package/dist/chunks/popover.recipe--gMRcQTS.js.map +1 -0
  248. package/dist/chunks/popover.recipe-DLeyokHo.js +2 -0
  249. package/dist/chunks/popover.recipe-DLeyokHo.js.map +1 -0
  250. package/dist/chunks/provider-ClCAdPxy.js +47 -0
  251. package/dist/chunks/provider-ClCAdPxy.js.map +1 -0
  252. package/dist/chunks/provider-NDo8kOkE.js +2 -0
  253. package/dist/chunks/provider-NDo8kOkE.js.map +1 -0
  254. package/dist/chunks/radio.records-C-MuxSPZ.js +2 -0
  255. package/dist/chunks/radio.records-C-MuxSPZ.js.map +1 -0
  256. package/dist/chunks/radio.records-DzITb4sg.js +382 -0
  257. package/dist/chunks/radio.records-DzITb4sg.js.map +1 -0
  258. package/dist/chunks/radioGroup.component-PdVYD3bp.js +275 -0
  259. package/dist/chunks/radioGroup.component-PdVYD3bp.js.map +1 -0
  260. package/dist/chunks/radioGroup.component-wgmJPLDW.js +2 -0
  261. package/dist/chunks/radioGroup.component-wgmJPLDW.js.map +1 -0
  262. package/dist/chunks/ratingDots.component-CUPAiIW_.js +2 -0
  263. package/dist/chunks/{ratingDots.component-DOZX6EE0.js.map → ratingDots.component-CUPAiIW_.js.map} +1 -1
  264. package/dist/chunks/{ratingDots.component-B4OK_lXC.js → ratingDots.component-ClZHNCmw.js} +31 -28
  265. package/dist/chunks/{ratingDots.component-B4OK_lXC.js.map → ratingDots.component-ClZHNCmw.js.map} +1 -1
  266. package/dist/chunks/render-strategy-BmWbSgqh.js +2 -0
  267. package/dist/chunks/render-strategy-BmWbSgqh.js.map +1 -0
  268. package/dist/chunks/render-strategy-C8hwN3bm.js +12 -0
  269. package/dist/chunks/render-strategy-C8hwN3bm.js.map +1 -0
  270. package/dist/chunks/select.component-CGqMFhui.js +2 -0
  271. package/dist/chunks/select.component-CGqMFhui.js.map +1 -0
  272. package/dist/chunks/select.component-DHP33P1O.js +391 -0
  273. package/dist/chunks/select.component-DHP33P1O.js.map +1 -0
  274. package/dist/chunks/{dnd-DDR6viHX.js → sortableList.component-1gWWNAQS.js} +1015 -887
  275. package/dist/chunks/sortableList.component-1gWWNAQS.js.map +1 -0
  276. package/dist/chunks/sortableList.component-BLYlOg_f.js +6 -0
  277. package/dist/chunks/sortableList.component-BLYlOg_f.js.map +1 -0
  278. package/dist/chunks/spinner-BWqSIW6m.js +8 -0
  279. package/dist/chunks/spinner-BWqSIW6m.js.map +1 -0
  280. package/dist/chunks/spinner-BnpL14kK.js +2 -0
  281. package/dist/chunks/spinner-BnpL14kK.js.map +1 -0
  282. package/dist/chunks/{spinner.component-D5tkelNc.js → spinner.component-BnWQ5OjN.js} +21 -19
  283. package/dist/chunks/spinner.component-BnWQ5OjN.js.map +1 -0
  284. package/dist/chunks/spinner.component-Ebdkd2br.js +2 -0
  285. package/dist/chunks/{spinner.component-CUuidnSK.js.map → spinner.component-Ebdkd2br.js.map} +1 -1
  286. package/dist/chunks/stack-BKu3hWEQ.js +2 -0
  287. package/dist/chunks/stack-BKu3hWEQ.js.map +1 -0
  288. package/dist/chunks/stack-Dnuh5Zgf.js +85 -0
  289. package/dist/chunks/stack-Dnuh5Zgf.js.map +1 -0
  290. package/dist/chunks/styledAvatar.types-B1WPMZAS.js +2 -0
  291. package/dist/chunks/styledAvatar.types-B1WPMZAS.js.map +1 -0
  292. package/dist/chunks/{styledAvatar.types-CoxQchLt.js → styledAvatar.types-C0KWX23C.js} +3 -3
  293. package/dist/chunks/styledAvatar.types-C0KWX23C.js.map +1 -0
  294. package/dist/chunks/swatch.types-DbgA3RWc.js +67 -0
  295. package/dist/chunks/swatch.types-DbgA3RWc.js.map +1 -0
  296. package/dist/chunks/swatch.types-DiX-4lpJ.js +2 -0
  297. package/dist/chunks/swatch.types-DiX-4lpJ.js.map +1 -0
  298. package/dist/chunks/switch.component-CbZlg5Iz.js +166 -0
  299. package/dist/chunks/switch.component-CbZlg5Iz.js.map +1 -0
  300. package/dist/chunks/switch.component-D5kgSKKx.js +2 -0
  301. package/dist/chunks/switch.component-D5kgSKKx.js.map +1 -0
  302. package/dist/chunks/tabs.component-Bi1vanBo.js +639 -0
  303. package/dist/chunks/tabs.component-Bi1vanBo.js.map +1 -0
  304. package/dist/chunks/tabs.component-SlXJb1rB.js +2 -0
  305. package/dist/chunks/tabs.component-SlXJb1rB.js.map +1 -0
  306. package/dist/chunks/tag.component-C6a6EzZB.js +2 -0
  307. package/dist/chunks/tag.component-C6a6EzZB.js.map +1 -0
  308. package/dist/chunks/tag.component-pexJ0TAT.js +82 -0
  309. package/dist/chunks/tag.component-pexJ0TAT.js.map +1 -0
  310. package/dist/chunks/{tagBlock.component-LX4_ve_f.js → tagBlock.component-C6cfZb0d.js} +18 -17
  311. package/dist/chunks/tagBlock.component-C6cfZb0d.js.map +1 -0
  312. package/dist/chunks/tagBlock.component-CLB4ggMT.js +2 -0
  313. package/dist/chunks/tagBlock.component-CLB4ggMT.js.map +1 -0
  314. package/dist/chunks/text.component-BZQWS29V.js +2 -0
  315. package/dist/chunks/text.component-BZQWS29V.js.map +1 -0
  316. package/dist/chunks/text.component-BZSCPJLf.js +12 -0
  317. package/dist/chunks/text.component-BZSCPJLf.js.map +1 -0
  318. package/dist/chunks/textInput.component-B0VClMq5.js +2 -0
  319. package/dist/chunks/textInput.component-B0VClMq5.js.map +1 -0
  320. package/dist/chunks/textInput.component-kSJAjj78.js +180 -0
  321. package/dist/chunks/textInput.component-kSJAjj78.js.map +1 -0
  322. package/dist/chunks/textarea.component-BubrZCI9.js +98 -0
  323. package/dist/chunks/textarea.component-BubrZCI9.js.map +1 -0
  324. package/dist/chunks/textarea.component-DZ89XNHw.js +2 -0
  325. package/dist/chunks/textarea.component-DZ89XNHw.js.map +1 -0
  326. package/dist/chunks/{chakra-BqBkjpvZ.js → theme.provider-BK05OKFS.js} +5186 -4303
  327. package/dist/chunks/theme.provider-BK05OKFS.js.map +1 -0
  328. package/dist/chunks/theme.provider-DNwKSEWO.js +48 -0
  329. package/dist/chunks/theme.provider-DNwKSEWO.js.map +1 -0
  330. package/dist/chunks/timePicker.component-DyoR0UBJ.js +2 -0
  331. package/dist/chunks/{timePicker.component-Dw_FjiQX.js.map → timePicker.component-DyoR0UBJ.js.map} +1 -1
  332. package/dist/chunks/{timePicker.component--ABdI3GF.js → timePicker.component-hHOzJUi7.js} +46 -43
  333. package/dist/chunks/{timePicker.component--ABdI3GF.js.map → timePicker.component-hHOzJUi7.js.map} +1 -1
  334. package/dist/chunks/timeRange.component-C2anTUsM.js +2 -0
  335. package/dist/chunks/{timeRange.component-RLisXhuw.js.map → timeRange.component-C2anTUsM.js.map} +1 -1
  336. package/dist/chunks/timeRange.component-PlO6xxkd.js +18 -0
  337. package/dist/chunks/{timeRange.component-B3OvVyo_.js.map → timeRange.component-PlO6xxkd.js.map} +1 -1
  338. package/dist/chunks/timestamp.component-C__DC7oq.js +54 -0
  339. package/dist/chunks/timestamp.component-C__DC7oq.js.map +1 -0
  340. package/dist/chunks/timestamp.component-T3aszXN_.js +2 -0
  341. package/dist/chunks/timestamp.component-T3aszXN_.js.map +1 -0
  342. package/dist/chunks/toaster.records-BGfpUOVt.js +824 -0
  343. package/dist/chunks/toaster.records-BGfpUOVt.js.map +1 -0
  344. package/dist/chunks/toaster.records-BJo0j1IZ.js +2 -0
  345. package/dist/chunks/toaster.records-BJo0j1IZ.js.map +1 -0
  346. package/dist/chunks/tooltip.component-G-RF87Zw.js +750 -0
  347. package/dist/chunks/tooltip.component-G-RF87Zw.js.map +1 -0
  348. package/dist/chunks/tooltip.component-Vo-2841s.js +2 -0
  349. package/dist/chunks/tooltip.component-Vo-2841s.js.map +1 -0
  350. package/dist/chunks/typography-Cqrokog3.js.map +1 -1
  351. package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
  352. package/dist/chunks/typography.records-C6G_65b4.js +2 -0
  353. package/dist/chunks/typography.records-C6G_65b4.js.map +1 -0
  354. package/dist/chunks/typography.records-jnjWfTLS.js +66 -0
  355. package/dist/chunks/typography.records-jnjWfTLS.js.map +1 -0
  356. package/dist/chunks/use-breakpoint-MQ7agQJe.js +72 -0
  357. package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +1 -0
  358. package/dist/chunks/use-breakpoint-uBg4-8yY.js +2 -0
  359. package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +1 -0
  360. package/dist/chunks/use-field-context--wBJQY1R.js +2 -0
  361. package/dist/chunks/use-field-context--wBJQY1R.js.map +1 -0
  362. package/dist/chunks/use-field-context-B_G7Yziz.js +12 -0
  363. package/dist/chunks/use-field-context-B_G7Yziz.js.map +1 -0
  364. package/dist/chunks/use-locale-context-BdqHZ8L8.js +22 -0
  365. package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +1 -0
  366. package/dist/chunks/use-locale-context-D-agiW5E.js +2301 -0
  367. package/dist/chunks/use-locale-context-D-agiW5E.js.map +1 -0
  368. package/dist/chunks/use-recipe-DaPWl_pL.js +2 -0
  369. package/dist/chunks/use-recipe-DaPWl_pL.js.map +1 -0
  370. package/dist/chunks/use-recipe-d63ABaZ3.js +13 -0
  371. package/dist/chunks/use-recipe-d63ABaZ3.js.map +1 -0
  372. package/dist/chunks/use-slot-recipe-8liupslO.js +2 -0
  373. package/dist/chunks/use-slot-recipe-8liupslO.js.map +1 -0
  374. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +13 -0
  375. package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +1 -0
  376. package/dist/chunks/v-stack-BZT7R_9f.js +12 -0
  377. package/dist/chunks/v-stack-BZT7R_9f.js.map +1 -0
  378. package/dist/chunks/v-stack-DxjgpeJ0.js +2 -0
  379. package/dist/chunks/v-stack-DxjgpeJ0.js.map +1 -0
  380. package/dist/chunks/walk-object-BrTExCqQ.js +2 -0
  381. package/dist/chunks/walk-object-BrTExCqQ.js.map +1 -0
  382. package/dist/chunks/walk-object-_CL3Bkm9.js +28 -0
  383. package/dist/chunks/walk-object-_CL3Bkm9.js.map +1 -0
  384. package/dist/chunks/withFormControl-5ywq6Y2v.js +376 -0
  385. package/dist/chunks/withFormControl-5ywq6Y2v.js.map +1 -0
  386. package/dist/chunks/withFormControl-_nV7mlmV.js +2 -0
  387. package/dist/chunks/withFormControl-_nV7mlmV.js.map +1 -0
  388. package/dist/chunks/{withTruncation-C2xFKhgB.js → withTruncation-D4DrwvZ2.js} +21 -28
  389. package/dist/chunks/{withTruncation-BskZBBVs.js.map → withTruncation-D4DrwvZ2.js.map} +1 -1
  390. package/dist/chunks/withTruncation-DH07KRFn.js +2 -0
  391. package/dist/chunks/{withTruncation-C2xFKhgB.js.map → withTruncation-DH07KRFn.js.map} +1 -1
  392. package/dist/chunks/wrap-B8tBNeBY.js +45 -0
  393. package/dist/chunks/wrap-B8tBNeBY.js.map +1 -0
  394. package/dist/chunks/wrap-CNn1kyJX.js +2 -0
  395. package/dist/chunks/wrap-CNn1kyJX.js.map +1 -0
  396. package/dist/cjs/chakra/index.cjs +2 -0
  397. package/dist/cjs/chakra/index.cjs.map +1 -0
  398. package/dist/cjs/cli/generate-theme-types.cjs +6 -0
  399. package/dist/cjs/cli/generate-theme-types.cjs.map +1 -0
  400. package/dist/cjs/cli/postinstall.cjs +3 -0
  401. package/dist/cjs/cli/postinstall.cjs.map +1 -0
  402. package/dist/cjs/components/Alert/index.cjs +1 -1
  403. package/dist/cjs/components/Avatar/index.cjs +1 -1
  404. package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
  405. package/dist/cjs/components/Button/index.cjs +1 -1
  406. package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
  407. package/dist/cjs/components/Card/index.cjs +1 -1
  408. package/dist/cjs/components/Card/index.cjs.map +1 -1
  409. package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
  410. package/dist/cjs/components/Checkbox/index.cjs +1 -1
  411. package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
  412. package/dist/cjs/{patterns → components}/ConversationCard/index.cjs +1 -1
  413. package/dist/cjs/components/DatePicker/index.cjs +1 -1
  414. package/dist/cjs/components/Divider/index.cjs +2 -0
  415. package/dist/cjs/components/Heading/index.cjs +1 -1
  416. package/dist/cjs/components/Icon/generated/index.cjs +1 -1
  417. package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
  418. package/dist/cjs/components/Icon/index.cjs +1 -1
  419. package/dist/cjs/components/Link/index.cjs +1 -1
  420. package/dist/cjs/components/Logo/generated/index.cjs +2 -0
  421. package/dist/cjs/components/Logo/index.cjs +2 -0
  422. package/dist/cjs/components/Menu/index.cjs +1 -1
  423. package/dist/cjs/components/Modal/index.cjs +1 -1
  424. package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
  425. package/dist/cjs/components/NotificationCounter/index.cjs.map +1 -1
  426. package/dist/cjs/components/Picture/index.cjs +1 -1
  427. package/dist/cjs/components/Picture/index.cjs.map +1 -1
  428. package/dist/cjs/components/PinInput/index.cjs +2 -0
  429. package/dist/cjs/components/Popover/index.cjs +1 -1
  430. package/dist/cjs/components/RadioGroup/index.cjs +1 -1
  431. package/dist/cjs/components/RatingDots/index.cjs +1 -1
  432. package/dist/cjs/components/Select/index.cjs +1 -1
  433. package/dist/cjs/components/SortableList/index.cjs +1 -1
  434. package/dist/cjs/components/Spinner/index.cjs +1 -1
  435. package/dist/cjs/{patterns → components}/StyledAvatar/index.cjs +1 -1
  436. package/dist/cjs/components/StyledAvatar/index.cjs.map +1 -0
  437. package/dist/cjs/components/Swatch/index.cjs +1 -1
  438. package/dist/cjs/components/Swatch/index.cjs.map +1 -1
  439. package/dist/cjs/components/Switch/index.cjs +1 -1
  440. package/dist/cjs/components/Tabs/index.cjs +1 -1
  441. package/dist/cjs/components/Tag/index.cjs +1 -1
  442. package/dist/cjs/{patterns → components}/TagBlock/index.cjs +1 -1
  443. package/dist/cjs/components/TagBlock/index.cjs.map +1 -0
  444. package/dist/cjs/components/Text/index.cjs +1 -1
  445. package/dist/cjs/components/TextInput/index.cjs +1 -1
  446. package/dist/cjs/components/Textarea/index.cjs +1 -1
  447. package/dist/cjs/components/TimePicker/index.cjs +1 -1
  448. package/dist/cjs/components/TimeRange/index.cjs +1 -1
  449. package/dist/cjs/{patterns → components}/Timestamp/index.cjs +1 -1
  450. package/dist/cjs/components/Timestamp/index.cjs.map +1 -0
  451. package/dist/cjs/components/Toast/index.cjs +2 -0
  452. package/dist/cjs/components/Toast/index.cjs.map +1 -0
  453. package/dist/cjs/components/Tooltip/index.cjs +1 -1
  454. package/dist/cjs/components/index.cjs +1 -1
  455. package/dist/cjs/hocs/index.cjs +1 -1
  456. package/dist/cjs/hocs/index.cjs.map +1 -1
  457. package/dist/cjs/hooks/index.cjs +1 -1
  458. package/dist/cjs/hooks/index.cjs.map +1 -1
  459. package/dist/cjs/hooks/useBreakpoint/index.cjs +2 -0
  460. package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -0
  461. package/dist/cjs/hooks/useDeviceType/index.cjs +2 -0
  462. package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -0
  463. package/dist/cjs/index.cjs +1 -1
  464. package/dist/cjs/shared/index.cjs +2 -0
  465. package/dist/cjs/shared/index.cjs.map +1 -0
  466. package/dist/cjs/shared/records/index.cjs +2 -0
  467. package/dist/cjs/shared/records/index.cjs.map +1 -0
  468. package/dist/cjs/theme/index.cjs +1 -23
  469. package/dist/cjs/theme/index.cjs.map +1 -1
  470. package/dist/cjs/theme/tokens/blurs/index.cjs +1 -1
  471. package/dist/cjs/theme/tokens/blurs/index.cjs.map +1 -1
  472. package/dist/cjs/theme/tokens/borders/index.cjs +1 -1
  473. package/dist/cjs/theme/tokens/borders/index.cjs.map +1 -1
  474. package/dist/cjs/theme/tokens/index.cjs +1 -1
  475. package/dist/cjs/theme/tokens/shadows/index.cjs +1 -1
  476. package/dist/cjs/theme/tokens/shadows/index.cjs.map +1 -1
  477. package/dist/cjs/theme/tokens/sizes/index.cjs +1 -1
  478. package/dist/cjs/theme/tokens/sizes/index.cjs.map +1 -1
  479. package/dist/cjs/theme/tokens/spacing/index.cjs +1 -1
  480. package/dist/cjs/theme/tokens/spacing/index.cjs.map +1 -1
  481. package/dist/cjs/theme/tokens/transitions/index.cjs +1 -1
  482. package/dist/cjs/theme/tokens/transitions/index.cjs.map +1 -1
  483. package/dist/cjs/theme/tokens/typography/index.cjs +1 -1
  484. package/dist/cjs/theme/tokens/typography/index.cjs.map +1 -1
  485. package/dist/cjs/theme/tokens/zIndices/index.cjs +1 -1
  486. package/dist/cjs/theme/tokens/zIndices/index.cjs.map +1 -1
  487. package/dist/esm/chakra/index.js +3227 -0
  488. package/dist/esm/chakra/index.js.map +1 -0
  489. package/dist/esm/cli/generate-theme-types.js +22 -0
  490. package/dist/esm/cli/generate-theme-types.js.map +1 -0
  491. package/dist/esm/cli/postinstall.js +21 -0
  492. package/dist/esm/cli/postinstall.js.map +1 -0
  493. package/dist/esm/components/Alert/index.js +3 -5
  494. package/dist/esm/components/Avatar/index.js +1 -1
  495. package/dist/esm/components/AvatarGroup/index.js +1 -1
  496. package/dist/esm/components/Button/index.js +1 -1
  497. package/dist/esm/components/ButtonGroup/index.js +1 -1
  498. package/dist/esm/components/Card/index.js +4 -5
  499. package/dist/esm/components/Card/index.js.map +1 -1
  500. package/dist/esm/components/CharacterCounter/index.js +1 -1
  501. package/dist/esm/components/Checkbox/index.js +1 -1
  502. package/dist/esm/components/CheckboxGroup/index.js +1 -1
  503. package/dist/esm/{patterns → components}/ConversationCard/index.js +1 -1
  504. package/dist/esm/components/DatePicker/index.js +3 -4
  505. package/dist/esm/components/Divider/index.js +8 -0
  506. package/dist/esm/components/Heading/index.js +2 -4
  507. package/dist/esm/components/Heading/index.js.map +1 -1
  508. package/dist/esm/components/Icon/generated/index.js +373 -338
  509. package/dist/esm/components/Icon/generated/index.js.map +1 -1
  510. package/dist/esm/components/Icon/index.js +4 -6
  511. package/dist/esm/components/Link/index.js +1 -1
  512. package/dist/esm/components/Logo/generated/index.js +6 -0
  513. package/dist/esm/components/Logo/index.js +7 -0
  514. package/dist/esm/components/Menu/index.js +1 -1
  515. package/dist/esm/components/Modal/index.js +1 -1
  516. package/dist/esm/components/NotificationCounter/index.js +5 -11
  517. package/dist/esm/components/NotificationCounter/index.js.map +1 -1
  518. package/dist/esm/components/Picture/index.js +1 -16
  519. package/dist/esm/components/Picture/index.js.map +1 -1
  520. package/dist/esm/components/PinInput/index.js +6 -0
  521. package/dist/esm/components/PinInput/index.js.map +1 -0
  522. package/dist/esm/components/Popover/index.js +1 -1
  523. package/dist/esm/components/RadioGroup/index.js +1 -1
  524. package/dist/esm/components/RatingDots/index.js +1 -1
  525. package/dist/esm/components/Select/index.js +1 -1
  526. package/dist/esm/components/SortableList/index.js +1 -1
  527. package/dist/esm/components/Spinner/index.js +1 -1
  528. package/dist/esm/{patterns → components}/StyledAvatar/index.js +1 -1
  529. package/dist/esm/components/StyledAvatar/index.js.map +1 -0
  530. package/dist/esm/components/Swatch/index.js +3 -62
  531. package/dist/esm/components/Swatch/index.js.map +1 -1
  532. package/dist/esm/components/Switch/index.js +1 -1
  533. package/dist/esm/components/Tabs/index.js +1 -1
  534. package/dist/esm/components/Tag/index.js +5 -6
  535. package/dist/esm/{patterns → components}/TagBlock/index.js +1 -1
  536. package/dist/esm/components/TagBlock/index.js.map +1 -0
  537. package/dist/esm/components/Text/index.js +2 -4
  538. package/dist/esm/components/Text/index.js.map +1 -1
  539. package/dist/esm/components/TextInput/index.js +2 -3
  540. package/dist/esm/components/Textarea/index.js +1 -1
  541. package/dist/esm/components/TimePicker/index.js +1 -1
  542. package/dist/esm/components/TimeRange/index.js +1 -1
  543. package/dist/esm/components/Timestamp/index.js +5 -0
  544. package/dist/esm/components/Timestamp/index.js.map +1 -0
  545. package/dist/esm/components/Toast/index.js +59 -0
  546. package/dist/esm/components/Toast/index.js.map +1 -0
  547. package/dist/esm/components/Tooltip/index.js +1 -1
  548. package/dist/esm/components/index.js +122 -111
  549. package/dist/esm/components/index.js.map +1 -1
  550. package/dist/esm/hocs/index.js +3 -35
  551. package/dist/esm/hocs/index.js.map +1 -1
  552. package/dist/esm/hooks/index.js +7 -17
  553. package/dist/esm/hooks/index.js.map +1 -1
  554. package/dist/esm/hooks/useBreakpoint/index.js +12 -0
  555. package/dist/esm/hooks/useBreakpoint/index.js.map +1 -0
  556. package/dist/esm/hooks/useDeviceType/index.js +12 -0
  557. package/dist/esm/hooks/useDeviceType/index.js.map +1 -0
  558. package/dist/esm/index.js +141 -115
  559. package/dist/esm/index.js.map +1 -1
  560. package/dist/esm/shared/index.js +9 -0
  561. package/dist/esm/shared/index.js.map +1 -0
  562. package/dist/esm/shared/records/index.js +18 -0
  563. package/dist/esm/shared/records/index.js.map +1 -0
  564. package/dist/esm/theme/index.js +4 -2477
  565. package/dist/esm/theme/index.js.map +1 -1
  566. package/dist/esm/theme/tokens/blurs/index.js +1 -13
  567. package/dist/esm/theme/tokens/blurs/index.js.map +1 -1
  568. package/dist/esm/theme/tokens/borders/index.js +1 -22
  569. package/dist/esm/theme/tokens/borders/index.js.map +1 -1
  570. package/dist/esm/theme/tokens/index.js +2 -26
  571. package/dist/esm/theme/tokens/index.js.map +1 -1
  572. package/dist/esm/theme/tokens/shadows/index.js +1 -55
  573. package/dist/esm/theme/tokens/shadows/index.js.map +1 -1
  574. package/dist/esm/theme/tokens/sizes/index.js +1 -28
  575. package/dist/esm/theme/tokens/sizes/index.js.map +1 -1
  576. package/dist/esm/theme/tokens/spacing/index.js +1 -38
  577. package/dist/esm/theme/tokens/spacing/index.js.map +1 -1
  578. package/dist/esm/theme/tokens/transitions/index.js +1 -17
  579. package/dist/esm/theme/tokens/transitions/index.js.map +1 -1
  580. package/dist/esm/theme/tokens/typography/index.js +1 -53
  581. package/dist/esm/theme/tokens/typography/index.js.map +1 -1
  582. package/dist/esm/theme/tokens/zIndices/index.js +1 -19
  583. package/dist/esm/theme/tokens/zIndices/index.js.map +1 -1
  584. package/dist/types/chakra/index.d.ts +52 -0
  585. package/dist/types/cli/generate-theme-types.d.ts +2 -0
  586. package/dist/types/cli/postinstall.d.ts +2 -0
  587. package/dist/types/components/Alert/alert.component.d.ts +5 -13
  588. package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
  589. package/dist/types/components/Alert/index.d.ts +0 -1
  590. package/dist/types/components/Avatar/avatar.recipe.d.ts +1 -1
  591. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
  592. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.recipe.d.ts +2 -2
  593. package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
  594. package/dist/types/components/Button/button.component.d.ts +2 -3
  595. package/dist/types/components/Button/button.recipe.d.ts +2 -2
  596. package/dist/types/components/Card/card.component.d.ts +1 -1
  597. package/dist/types/components/Card/index.d.ts +0 -1
  598. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
  599. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +1 -1
  600. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +2 -2
  601. package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +1 -1
  602. package/dist/types/{patterns → components}/ConversationCard/conversationCard.component.d.ts +1 -1
  603. package/dist/types/components/DatePicker/index.d.ts +0 -1
  604. package/dist/types/components/Divider/divider.component.d.ts +4 -0
  605. package/dist/types/components/Divider/divider.types.d.ts +6 -0
  606. package/dist/types/components/Divider/index.d.ts +2 -0
  607. package/dist/types/components/Heading/heading.component.d.ts +1 -2
  608. package/dist/types/components/Heading/heading.recipe.d.ts +1 -1
  609. package/dist/types/components/Heading/heading.types.d.ts +1 -1
  610. package/dist/types/components/Heading/index.d.ts +0 -1
  611. package/dist/types/components/Icon/generated/AiMicrophone.d.ts +10 -0
  612. package/dist/types/components/Icon/generated/index.d.ts +1 -1
  613. package/dist/types/components/Icon/icon.component.d.ts +2 -3
  614. package/dist/types/components/Icon/index.d.ts +0 -1
  615. package/dist/types/components/Link/link.recipe.d.ts +1 -1
  616. package/dist/types/components/Logo/generated/FullLogo.d.ts +10 -0
  617. package/dist/types/components/Logo/generated/IconLogo.d.ts +10 -0
  618. package/dist/types/components/Logo/generated/index.d.ts +4 -0
  619. package/dist/types/components/Logo/index.d.ts +2 -0
  620. package/dist/types/components/Logo/logo.component.d.ts +10 -0
  621. package/dist/types/components/Logo/logo.recipe.d.ts +9 -0
  622. package/dist/types/components/Logo/logo.types.d.ts +4 -0
  623. package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +3 -2
  624. package/dist/types/components/Menu/menu.component.d.ts +1 -1
  625. package/dist/types/components/Modal/context/modal.context.d.ts +6 -0
  626. package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
  627. package/dist/types/components/NotificationCounter/index.d.ts +0 -1
  628. package/dist/types/components/NotificationCounter/notificationCounter.recipe.d.ts +2 -2
  629. package/dist/types/components/PinInput/index.d.ts +2 -0
  630. package/dist/types/components/PinInput/pinInput.component.d.ts +10 -0
  631. package/dist/types/components/PinInput/pinInput.recipe.d.ts +21 -0
  632. package/dist/types/components/PinInput/pinInput.records.d.ts +1 -0
  633. package/dist/types/components/PinInput/pinInput.types.d.ts +2 -0
  634. package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
  635. package/dist/types/components/RadioGroup/index.d.ts +1 -0
  636. package/dist/types/components/Select/select.component.d.ts +3 -0
  637. package/dist/types/components/SortableList/index.d.ts +1 -0
  638. package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
  639. package/dist/types/components/Spinner/spinner.recipe.d.ts +2 -2
  640. package/dist/types/{patterns → components}/StyledAvatar/styledAvatar.component.d.ts +1 -1
  641. package/dist/types/components/Swatch/swatch.recipe.d.ts +1 -1
  642. package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
  643. package/dist/types/components/Tag/index.d.ts +0 -1
  644. package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
  645. package/dist/types/{patterns → components}/TagBlock/tagBlock.component.d.ts +1 -1
  646. package/dist/types/components/Text/index.d.ts +0 -1
  647. package/dist/types/components/Text/text.component.d.ts +1 -2
  648. package/dist/types/components/Text/text.recipe.d.ts +1 -2
  649. package/dist/types/components/Text/text.types.d.ts +1 -1
  650. package/dist/types/components/TextInput/index.d.ts +0 -1
  651. package/dist/types/{patterns → components}/Timestamp/timestamp.component.d.ts +1 -1
  652. package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -0
  653. package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +7 -0
  654. package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +11 -0
  655. package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +12 -0
  656. package/dist/types/components/Toast/index.d.ts +2 -0
  657. package/dist/types/components/Toast/toast.component.d.ts +14 -0
  658. package/dist/types/components/Toast/toast.recipe.d.ts +21 -0
  659. package/dist/types/components/Toast/toast.types.d.ts +19 -0
  660. package/dist/types/components/Toast/useToast.d.ts +3 -0
  661. package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -0
  662. package/dist/types/components/index.d.ts +9 -1
  663. package/dist/types/hocs/withFormControl/withFormControl.d.ts +2 -1
  664. package/dist/types/hooks/index.d.ts +2 -0
  665. package/dist/types/hooks/useBreakpoint/index.d.ts +1 -0
  666. package/dist/types/hooks/useDeviceType/index.d.ts +3 -0
  667. package/dist/types/index.d.ts +2 -0
  668. package/dist/types/shared/index.d.ts +1 -0
  669. package/dist/types/shared/records/index.d.ts +1 -0
  670. package/dist/types/shared/records/status.d.ts +5 -0
  671. package/dist/types/shared/records/typography.d.ts +1 -1
  672. package/dist/types/theme/index.d.ts +2 -1
  673. package/dist/types/theme/providers/theme.provider.d.ts +3 -1
  674. package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +4 -0
  675. package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +8 -0
  676. package/dist/types/theme/theme.config.d.ts +2 -0
  677. package/dist/types/theme/tokens/blurs/blurs.config.d.ts +6 -6
  678. package/dist/types/theme/tokens/blurs/index.d.ts +0 -1
  679. package/dist/types/theme/tokens/borders/borders.config.d.ts +9 -9
  680. package/dist/types/theme/tokens/borders/index.d.ts +0 -1
  681. package/dist/types/theme/tokens/shadows/index.d.ts +0 -1
  682. package/dist/types/theme/tokens/shadows/shadows.config.d.ts +11 -11
  683. package/dist/types/theme/tokens/sizes/index.d.ts +0 -1
  684. package/dist/types/theme/tokens/sizes/sizes.config.d.ts +24 -10
  685. package/dist/types/theme/tokens/spacing/index.d.ts +0 -1
  686. package/dist/types/theme/tokens/spacing/spacing.config.d.ts +21 -21
  687. package/dist/types/theme/tokens/transitions/index.d.ts +0 -1
  688. package/dist/types/theme/tokens/transitions/transitions.config.d.ts +6 -6
  689. package/dist/types/theme/tokens/typography/index.d.ts +0 -1
  690. package/dist/types/theme/tokens/typography/typography.config.d.ts +29 -74
  691. package/dist/types/theme/tokens/zIndices/index.d.ts +0 -1
  692. package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +11 -11
  693. package/package.json +73 -43
  694. package/dist/chunks/alert.types-BgmtNKXK.js +0 -2
  695. package/dist/chunks/alert.types-BgmtNKXK.js.map +0 -1
  696. package/dist/chunks/alert.types-Bxdx-xbS.js +0 -172
  697. package/dist/chunks/alert.types-Bxdx-xbS.js.map +0 -1
  698. package/dist/chunks/avatar.component-BdxN6QYq.js +0 -307
  699. package/dist/chunks/avatar.component-BdxN6QYq.js.map +0 -1
  700. package/dist/chunks/avatar.component-BzPaBLJu.js +0 -2
  701. package/dist/chunks/avatar.component-BzPaBLJu.js.map +0 -1
  702. package/dist/chunks/avatarGroup.component-Q43nemix.js +0 -2
  703. package/dist/chunks/button.component-B0GkYzVz.js +0 -2
  704. package/dist/chunks/button.component-B0GkYzVz.js.map +0 -1
  705. package/dist/chunks/button.component-BtkAjIWe.js.map +0 -1
  706. package/dist/chunks/buttonGroup.component-B2VRV-q9.js +0 -2
  707. package/dist/chunks/buttonGroup.component-B2VRV-q9.js.map +0 -1
  708. package/dist/chunks/buttonGroup.component-ZElXi_Hz.js +0 -67
  709. package/dist/chunks/buttonGroup.component-ZElXi_Hz.js.map +0 -1
  710. package/dist/chunks/card.component-HX-4Y0j7.js +0 -51
  711. package/dist/chunks/card.component-HX-4Y0j7.js.map +0 -1
  712. package/dist/chunks/card.component-ZIoJIWVV.js +0 -2
  713. package/dist/chunks/card.component-ZIoJIWVV.js.map +0 -1
  714. package/dist/chunks/chakra-BqBkjpvZ.js.map +0 -1
  715. package/dist/chunks/chakra-DmF8Cxqs.js +0 -5
  716. package/dist/chunks/chakra-DmF8Cxqs.js.map +0 -1
  717. package/dist/chunks/characterCounter.component-BXxyn_IB.js +0 -2
  718. package/dist/chunks/checkbox.component-DCdt-YxF.js +0 -90
  719. package/dist/chunks/checkbox.component-DCdt-YxF.js.map +0 -1
  720. package/dist/chunks/checkbox.component-jiWqSWP0.js +0 -2
  721. package/dist/chunks/checkbox.component-jiWqSWP0.js.map +0 -1
  722. package/dist/chunks/checkbox.records-DJfdKuOe.js +0 -2
  723. package/dist/chunks/checkbox.records-DJfdKuOe.js.map +0 -1
  724. package/dist/chunks/checkbox.records-JWbKQ684.js +0 -14
  725. package/dist/chunks/checkbox.records-JWbKQ684.js.map +0 -1
  726. package/dist/chunks/checkboxGroup.component-BYKUQW4y.js +0 -2
  727. package/dist/chunks/checkboxGroup.component-DcIdfbbl.js +0 -51
  728. package/dist/chunks/conversationCard.component-BSfDNuuw.js.map +0 -1
  729. package/dist/chunks/conversationCard.component-BcHNpQ76.js +0 -2
  730. package/dist/chunks/conversationCard.component-BcHNpQ76.js.map +0 -1
  731. package/dist/chunks/date-1NFv48Qu.js +0 -3598
  732. package/dist/chunks/date-1NFv48Qu.js.map +0 -1
  733. package/dist/chunks/date-Du64Exix.js +0 -15
  734. package/dist/chunks/date-Du64Exix.js.map +0 -1
  735. package/dist/chunks/datePicker.component-CnRDt24V.js +0 -2
  736. package/dist/chunks/datePicker.component-CnRDt24V.js.map +0 -1
  737. package/dist/chunks/datePicker.component-DubnEnlU.js +0 -750
  738. package/dist/chunks/datePicker.component-DubnEnlU.js.map +0 -1
  739. package/dist/chunks/dnd-4IMP_kRN.js +0 -6
  740. package/dist/chunks/dnd-4IMP_kRN.js.map +0 -1
  741. package/dist/chunks/dnd-DDR6viHX.js.map +0 -1
  742. package/dist/chunks/heading.component-B8niLTxz.js +0 -10
  743. package/dist/chunks/heading.component-B8niLTxz.js.map +0 -1
  744. package/dist/chunks/heading.component-CExbjSBi.js +0 -2
  745. package/dist/chunks/heading.component-CExbjSBi.js.map +0 -1
  746. package/dist/chunks/heading.records-BaWnrbgl.js +0 -14
  747. package/dist/chunks/heading.records-BaWnrbgl.js.map +0 -1
  748. package/dist/chunks/heading.records-CbR05iL_.js +0 -2
  749. package/dist/chunks/heading.records-CbR05iL_.js.map +0 -1
  750. package/dist/chunks/icon.component-DjNY589M.js.map +0 -1
  751. package/dist/chunks/icon.component-DtX9HDyk.js +0 -2
  752. package/dist/chunks/icon.component-DtX9HDyk.js.map +0 -1
  753. package/dist/chunks/link.component-DjkiASIu.js +0 -58
  754. package/dist/chunks/link.component-DjkiASIu.js.map +0 -1
  755. package/dist/chunks/link.component-XWINESZ0.js +0 -2
  756. package/dist/chunks/link.component-XWINESZ0.js.map +0 -1
  757. package/dist/chunks/menu.component-CT28-CuT.js +0 -2
  758. package/dist/chunks/menu.component-CT28-CuT.js.map +0 -1
  759. package/dist/chunks/menu.component-gxhQh-pU.js +0 -390
  760. package/dist/chunks/menu.component-gxhQh-pU.js.map +0 -1
  761. package/dist/chunks/modal.types-CcUqszK6.js +0 -2
  762. package/dist/chunks/modal.types-CcUqszK6.js.map +0 -1
  763. package/dist/chunks/modal.types-pXkUwszR.js +0 -146
  764. package/dist/chunks/modal.types-pXkUwszR.js.map +0 -1
  765. package/dist/chunks/notificationCounter.component-D6v39lna.js +0 -2
  766. package/dist/chunks/popover.component-CnJmg9qf.js +0 -221
  767. package/dist/chunks/popover.component-CnJmg9qf.js.map +0 -1
  768. package/dist/chunks/popover.component-DdC0CY7-.js +0 -2
  769. package/dist/chunks/popover.component-DdC0CY7-.js.map +0 -1
  770. package/dist/chunks/popover.recipe-DnCuZJd3.js +0 -123
  771. package/dist/chunks/popover.recipe-DnCuZJd3.js.map +0 -1
  772. package/dist/chunks/popover.recipe-Pfz3evii.js +0 -2
  773. package/dist/chunks/popover.recipe-Pfz3evii.js.map +0 -1
  774. package/dist/chunks/radio.records-BxCn4oUd.js +0 -2
  775. package/dist/chunks/radio.records-BxCn4oUd.js.map +0 -1
  776. package/dist/chunks/radio.records-Cc3kP4Vn.js +0 -14
  777. package/dist/chunks/radio.records-Cc3kP4Vn.js.map +0 -1
  778. package/dist/chunks/radioGroup.component-Cmi6MDqq.js +0 -2
  779. package/dist/chunks/radioGroup.component-Cmi6MDqq.js.map +0 -1
  780. package/dist/chunks/radioGroup.component-D96ItNYx.js +0 -151
  781. package/dist/chunks/radioGroup.component-D96ItNYx.js.map +0 -1
  782. package/dist/chunks/ratingDots.component-DOZX6EE0.js +0 -2
  783. package/dist/chunks/select.component-CqhmG4oz.js +0 -2
  784. package/dist/chunks/select.component-CqhmG4oz.js.map +0 -1
  785. package/dist/chunks/select.component-_JVxRL_-.js +0 -129
  786. package/dist/chunks/select.component-_JVxRL_-.js.map +0 -1
  787. package/dist/chunks/sortableList.component-BH9-C_Pe.js +0 -2
  788. package/dist/chunks/sortableList.component-BH9-C_Pe.js.map +0 -1
  789. package/dist/chunks/sortableList.component-CdDArkRq.js +0 -145
  790. package/dist/chunks/sortableList.component-CdDArkRq.js.map +0 -1
  791. package/dist/chunks/spinner.component-CUuidnSK.js +0 -2
  792. package/dist/chunks/spinner.component-D5tkelNc.js.map +0 -1
  793. package/dist/chunks/styledAvatar.types-CMdLnJHx.js +0 -2
  794. package/dist/chunks/styledAvatar.types-CMdLnJHx.js.map +0 -1
  795. package/dist/chunks/styledAvatar.types-CoxQchLt.js.map +0 -1
  796. package/dist/chunks/switch.component-6jkW8-JB.js +0 -2
  797. package/dist/chunks/switch.component-6jkW8-JB.js.map +0 -1
  798. package/dist/chunks/switch.component-BopLXT0i.js +0 -53
  799. package/dist/chunks/switch.component-BopLXT0i.js.map +0 -1
  800. package/dist/chunks/tabs.component-BJv145kf.js +0 -2
  801. package/dist/chunks/tabs.component-BJv145kf.js.map +0 -1
  802. package/dist/chunks/tabs.component-DTvdLvkX.js +0 -87
  803. package/dist/chunks/tabs.component-DTvdLvkX.js.map +0 -1
  804. package/dist/chunks/tag.component-DK64cZSr.js +0 -67
  805. package/dist/chunks/tag.component-DK64cZSr.js.map +0 -1
  806. package/dist/chunks/tag.component-D_hbxu6m.js +0 -2
  807. package/dist/chunks/tag.component-D_hbxu6m.js.map +0 -1
  808. package/dist/chunks/tagBlock.component-LX4_ve_f.js.map +0 -1
  809. package/dist/chunks/tagBlock.component-a2gERgrx.js +0 -2
  810. package/dist/chunks/tagBlock.component-a2gERgrx.js.map +0 -1
  811. package/dist/chunks/text.component-CBa_saMP.js +0 -2
  812. package/dist/chunks/text.component-CBa_saMP.js.map +0 -1
  813. package/dist/chunks/text.component-XYjOAc2s.js +0 -10
  814. package/dist/chunks/text.component-XYjOAc2s.js.map +0 -1
  815. package/dist/chunks/text.records-BK_JBYsT.js +0 -16
  816. package/dist/chunks/text.records-BK_JBYsT.js.map +0 -1
  817. package/dist/chunks/text.records-CIL3bbY0.js +0 -2
  818. package/dist/chunks/text.records-CIL3bbY0.js.map +0 -1
  819. package/dist/chunks/textInput.component-Bk7D4sbG.js +0 -99
  820. package/dist/chunks/textInput.component-Bk7D4sbG.js.map +0 -1
  821. package/dist/chunks/textInput.component-GSpfSqUc.js +0 -2
  822. package/dist/chunks/textInput.component-GSpfSqUc.js.map +0 -1
  823. package/dist/chunks/textarea.component-B8U8KcND.js +0 -2
  824. package/dist/chunks/textarea.component-B8U8KcND.js.map +0 -1
  825. package/dist/chunks/textarea.component-CT8iVuNX.js +0 -51
  826. package/dist/chunks/textarea.component-CT8iVuNX.js.map +0 -1
  827. package/dist/chunks/timePicker.component-Dw_FjiQX.js +0 -2
  828. package/dist/chunks/timeRange.component-B3OvVyo_.js +0 -17
  829. package/dist/chunks/timeRange.component-RLisXhuw.js +0 -2
  830. package/dist/chunks/timestamp.component-CuqY4euh.js +0 -2
  831. package/dist/chunks/timestamp.component-CuqY4euh.js.map +0 -1
  832. package/dist/chunks/timestamp.component-D764INLm.js +0 -37
  833. package/dist/chunks/timestamp.component-D764INLm.js.map +0 -1
  834. package/dist/chunks/tooltip.component-C3v2m2T2.js +0 -70
  835. package/dist/chunks/tooltip.component-C3v2m2T2.js.map +0 -1
  836. package/dist/chunks/tooltip.component-qWFa28S5.js +0 -2
  837. package/dist/chunks/tooltip.component-qWFa28S5.js.map +0 -1
  838. package/dist/chunks/vendor-BBfll6i3.js +0 -11757
  839. package/dist/chunks/vendor-BBfll6i3.js.map +0 -1
  840. package/dist/chunks/vendor-D-x6W6ez.js +0 -57
  841. package/dist/chunks/vendor-D-x6W6ez.js.map +0 -1
  842. package/dist/chunks/withFormControl-B269FujS.js +0 -149
  843. package/dist/chunks/withFormControl-B269FujS.js.map +0 -1
  844. package/dist/chunks/withFormControl-Cy6Bwv0i.js +0 -2
  845. package/dist/chunks/withFormControl-Cy6Bwv0i.js.map +0 -1
  846. package/dist/chunks/withTruncation-BskZBBVs.js +0 -2
  847. package/dist/cjs/patterns/index.cjs +0 -2
  848. package/dist/esm/patterns/Timestamp/index.js +0 -5
  849. package/dist/esm/patterns/index.js +0 -13
  850. package/dist/esm/patterns/index.js.map +0 -1
  851. package/dist/types/components/Alert/alert.records.d.ts +0 -5
  852. package/dist/types/components/Alert/docs/alert.argTypes.d.ts +0 -5
  853. package/dist/types/components/Alert.d.ts +0 -2
  854. package/dist/types/components/Avatar/components/AvatarBadge/docs/avatarBadge.argTypes.d.ts +0 -3
  855. package/dist/types/components/Avatar/docs/avatar.argTypes.d.ts +0 -3
  856. package/dist/types/components/Avatar.d.ts +0 -2
  857. package/dist/types/components/AvatarGroup/docs/avatarGroup.argTypes.d.ts +0 -3
  858. package/dist/types/components/AvatarGroup.d.ts +0 -2
  859. package/dist/types/components/Button/docs/button.argTypes.d.ts +0 -3
  860. package/dist/types/components/Button.d.ts +0 -2
  861. package/dist/types/components/ButtonGroup/docs/buttonGroup.argTypes.d.ts +0 -3
  862. package/dist/types/components/ButtonGroup.d.ts +0 -2
  863. package/dist/types/components/Card/docs/card.argTypes.d.ts +0 -3
  864. package/dist/types/components/Card.d.ts +0 -2
  865. package/dist/types/components/CharacterCounter/docs/characterCounter.argTypes.d.ts +0 -3
  866. package/dist/types/components/CharacterCounter.d.ts +0 -2
  867. package/dist/types/components/Checkbox/docs/checkbox.argTypes.d.ts +0 -3
  868. package/dist/types/components/Checkbox.d.ts +0 -2
  869. package/dist/types/components/CheckboxGroup/docs/checkboxGroup.argTypes.d.ts +0 -3
  870. package/dist/types/components/CheckboxGroup.d.ts +0 -2
  871. package/dist/types/components/DatePicker/docs/datePicker.argTypes.d.ts +0 -3
  872. package/dist/types/components/DatePicker.d.ts +0 -2
  873. package/dist/types/components/Heading/docs/heading.argTypes.d.ts +0 -3
  874. package/dist/types/components/Heading.d.ts +0 -2
  875. package/dist/types/components/Icon/docs/icon.argTypes.d.ts +0 -3
  876. package/dist/types/components/Icon/generated.d.ts +0 -2
  877. package/dist/types/components/Icon.d.ts +0 -2
  878. package/dist/types/components/Link/docs/link.argTypes.d.ts +0 -5
  879. package/dist/types/components/Link.d.ts +0 -2
  880. package/dist/types/components/Menu/docs/menu.argTypes.d.ts +0 -4
  881. package/dist/types/components/Menu.d.ts +0 -2
  882. package/dist/types/components/Modal/docs/modal.argTypes.d.ts +0 -3
  883. package/dist/types/components/Modal.d.ts +0 -2
  884. package/dist/types/components/NotificationCounter/docs/notificationCounter.argTypes.d.ts +0 -3
  885. package/dist/types/components/NotificationCounter.d.ts +0 -2
  886. package/dist/types/components/Picture/docs/picture.argTypes.d.ts +0 -3
  887. package/dist/types/components/Picture.d.ts +0 -2
  888. package/dist/types/components/Popover/docs/popover.argTypes.d.ts +0 -3
  889. package/dist/types/components/Popover.d.ts +0 -2
  890. package/dist/types/components/RadioGroup/components/Radio/docs/radio.argTypes.d.ts +0 -3
  891. package/dist/types/components/RadioGroup/docs/radioGroup.argTypes.d.ts +0 -3
  892. package/dist/types/components/RadioGroup.d.ts +0 -2
  893. package/dist/types/components/RatingDots/docs/ratingDots.argTypes.d.ts +0 -3
  894. package/dist/types/components/RatingDots.d.ts +0 -2
  895. package/dist/types/components/Select/docs/select.argTypes.d.ts +0 -3
  896. package/dist/types/components/Select.d.ts +0 -2
  897. package/dist/types/components/SortableList/docs/sortableList.argTypes.d.ts +0 -3
  898. package/dist/types/components/SortableList.d.ts +0 -2
  899. package/dist/types/components/Spinner/docs/spinner.argTypes.d.ts +0 -3
  900. package/dist/types/components/Spinner.d.ts +0 -2
  901. package/dist/types/components/Swatch/docs/swatch.argTypes.d.ts +0 -3
  902. package/dist/types/components/Swatch.d.ts +0 -2
  903. package/dist/types/components/Switch/docs/switch.argTypes.d.ts +0 -3
  904. package/dist/types/components/Switch.d.ts +0 -2
  905. package/dist/types/components/Tabs/components/Tab/docs/tab.argTypes.d.ts +0 -3
  906. package/dist/types/components/Tabs/docs/tabs.argTypes.d.ts +0 -3
  907. package/dist/types/components/Tabs.d.ts +0 -2
  908. package/dist/types/components/Tag/docs/tag.argTypes.d.ts +0 -3
  909. package/dist/types/components/Tag.d.ts +0 -2
  910. package/dist/types/components/Text/docs/text.argTypes.d.ts +0 -3
  911. package/dist/types/components/Text.d.ts +0 -2
  912. package/dist/types/components/TextInput/docs/textInput.argTypes.d.ts +0 -3
  913. package/dist/types/components/TextInput.d.ts +0 -2
  914. package/dist/types/components/Textarea/docs/textarea.argTypes.d.ts +0 -3
  915. package/dist/types/components/Textarea.d.ts +0 -2
  916. package/dist/types/components/TimePicker/docs/timePicker.argTypes.d.ts +0 -3
  917. package/dist/types/components/TimePicker.d.ts +0 -2
  918. package/dist/types/components/TimeRange/docs/timeRange.argTypes.d.ts +0 -3
  919. package/dist/types/components/TimeRange.d.ts +0 -2
  920. package/dist/types/components/Tooltip/docs/tooltip.argTypes.d.ts +0 -3
  921. package/dist/types/components/Tooltip.d.ts +0 -2
  922. package/dist/types/components.d.ts +0 -2
  923. package/dist/types/hocs.d.ts +0 -2
  924. package/dist/types/hooks.d.ts +0 -2
  925. package/dist/types/patterns/ConversationCard/docs/conversationCard.argTypes.d.ts +0 -12
  926. package/dist/types/patterns/ConversationCard/docs/conversationCard.storiesData.d.ts +0 -22
  927. package/dist/types/patterns/ConversationCard.d.ts +0 -2
  928. package/dist/types/patterns/StyledAvatar/docs/styledAvatar.argTypes.d.ts +0 -3
  929. package/dist/types/patterns/StyledAvatar.d.ts +0 -2
  930. package/dist/types/patterns/TagBlock/docs/tagBlock.argTypes.d.ts +0 -3
  931. package/dist/types/patterns/TagBlock.d.ts +0 -2
  932. package/dist/types/patterns/Timestamp/docs/timestamp.argTypes.d.ts +0 -3
  933. package/dist/types/patterns/Timestamp.d.ts +0 -2
  934. package/dist/types/patterns/index.d.ts +0 -4
  935. package/dist/types/patterns.d.ts +0 -2
  936. package/dist/types/shared/types.d.ts +0 -2
  937. package/dist/types/theme/semanticTokens/docs/semanticTokens.d.ts +0 -7
  938. package/dist/types/theme/semanticTokens.d.ts +0 -2
  939. package/dist/types/theme/tokens/blurs.d.ts +0 -2
  940. package/dist/types/theme/tokens/borders/docs/borders.d.ts +0 -5
  941. package/dist/types/theme/tokens/borders.d.ts +0 -2
  942. package/dist/types/theme/tokens/colors.d.ts +0 -2
  943. package/dist/types/theme/tokens/shadows/docs/shadows.d.ts +0 -6
  944. package/dist/types/theme/tokens/shadows.d.ts +0 -2
  945. package/dist/types/theme/tokens/sizes.d.ts +0 -2
  946. package/dist/types/theme/tokens/spacing.d.ts +0 -2
  947. package/dist/types/theme/tokens/transitions.d.ts +0 -2
  948. package/dist/types/theme/tokens/typography/docs/typography.d.ts +0 -2
  949. package/dist/types/theme/tokens/typography.d.ts +0 -2
  950. package/dist/types/theme/tokens/zIndices.d.ts +0 -2
  951. package/dist/types/theme/tokens.d.ts +0 -2
  952. package/dist/types/theme.d.ts +0 -2
  953. /package/dist/cjs/{patterns → components}/ConversationCard/index.cjs.map +0 -0
  954. /package/dist/cjs/{patterns/StyledAvatar → components/Divider}/index.cjs.map +0 -0
  955. /package/dist/cjs/{patterns/TagBlock → components/Logo/generated}/index.cjs.map +0 -0
  956. /package/dist/cjs/{patterns/Timestamp → components/Logo}/index.cjs.map +0 -0
  957. /package/dist/cjs/{patterns → components/PinInput}/index.cjs.map +0 -0
  958. /package/dist/esm/{patterns → components}/ConversationCard/index.js.map +0 -0
  959. /package/dist/esm/{patterns/StyledAvatar → components/Divider}/index.js.map +0 -0
  960. /package/dist/esm/{patterns/TagBlock → components/Logo/generated}/index.js.map +0 -0
  961. /package/dist/esm/{patterns/Timestamp → components/Logo}/index.js.map +0 -0
  962. /package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
  963. /package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
  964. /package/dist/types/{patterns → components}/ConversationCard/index.d.ts +0 -0
  965. /package/dist/types/{patterns → components}/StyledAvatar/index.d.ts +0 -0
  966. /package/dist/types/{patterns → components}/StyledAvatar/styledAvatar.types.d.ts +0 -0
  967. /package/dist/types/{patterns → components}/TagBlock/index.d.ts +0 -0
  968. /package/dist/types/{patterns → components}/TagBlock/tagBlock.types.d.ts +0 -0
  969. /package/dist/types/{patterns → components}/Timestamp/index.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"datePicker.component-DubnEnlU.js","sources":["../../src/components/DatePicker/datePicker.types.ts","../../src/components/DatePicker/context/datePicker.context.tsx","../../src/components/DatePicker/context/datePicker.provider.tsx","../../src/components/DatePicker/components/DatePickerInput/datePickerInput.utils.ts","../../src/components/DatePicker/components/DatePickerInput/datePickerInput.component.tsx","../../src/components/DatePicker/components/DatePickerFooter/datePickerFooter.component.tsx","../../src/components/DatePicker/datePicker.records.ts","../../src/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.tsx","../../src/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.ts","../../src/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.tsx","../../src/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.tsx","../../src/components/DatePicker/components/DatePickerCalendar/datePickerCalendar.component.tsx","../../src/components/DatePicker/datePicker.component.tsx"],"sourcesContent":["export enum DateFormats {\n \"ShortDate\" = \"MM/dd/yyyy\",\n \"LongDate\" = \"MMM dd yyyy\",\n \"DayOfWeekDayOfMonth\" = \"eeee, MMMM do\",\n}\n\nexport interface DateRange {\n startDate: Date | null;\n endDate?: Date | null;\n}\n","import { FirstDayOfWeek, MonthType } from \"@datepicker-react/hooks\";\nimport { useContext, createContext } from \"react\";\nimport { DateFormats, DateRange } from \"../datePicker.types\";\n\nexport enum FocusedInput {\n StartDate = \"startDate\",\n EndDate = \"endDate\",\n}\n\nexport interface IDatePickerContext {\n activeMonth?: MonthType;\n dateFormat: DateFormats | string;\n endDate: Date | null;\n focusedInput: FocusedInput | null;\n setFocusedInput: (focusedInput: FocusedInput | null) => void;\n withDateRange: boolean;\n maxDate?: Date;\n maxYear: number;\n minDate?: Date;\n minYear: number;\n onDateChange?: ({ startDate, endDate }: DateRange) => void;\n startDate: Date | null;\n onClose: () => void;\n clearDates: ({ open }: { open?: boolean }) => void;\n // The following are all values returned by the datepicker-react useDatePicker hook\n // Setting them here in our own context to be referenced in child components\n focusedDate: Date | null;\n firstDayOfWeek?: FirstDayOfWeek;\n activeMonths: MonthType[];\n isDateFocused: (date: Date) => boolean;\n isDateSelected: (date: Date) => boolean;\n isDateHovered: (date: Date) => boolean;\n isDateBlocked: (date: Date) => boolean;\n isFirstOrLastSelectedDate: (date: Date) => boolean;\n onDateFocus: (date: Date) => void;\n onDateHover: (date: Date | null) => void;\n onDateSelect: (date: Date) => void;\n goToPreviousMonths: () => void;\n goToNextMonths: () => void;\n goToDate: (date: Date) => void;\n}\n\nexport const today = new Date();\nexport const currentYear = today.getFullYear();\nexport const currentMonth = today.getMonth();\n\nexport const defaultFocusedDate = today;\nexport const defaultMinYear = currentYear - 100;\nexport const defaultMaxYear = currentYear + 5;\nexport const defaultDateFormat = DateFormats.ShortDate;\n\nconst initialDatePickerState: IDatePickerContext = {\n dateFormat: defaultDateFormat,\n endDate: null,\n focusedInput: null,\n withDateRange: false,\n maxYear: defaultMaxYear,\n minYear: defaultMinYear,\n startDate: null,\n onClose: (): void => {\n throw new Error(\"onClose(): boolean not implemented\");\n },\n setFocusedInput: (): void => {\n throw new Error(\"setFocusedInput(): boolean not implemented\");\n },\n focusedDate: today,\n firstDayOfWeek: undefined,\n activeMonths: [],\n isDateFocused: (): boolean => {\n throw new Error(\"isDateFocused(): boolean not implemented\");\n },\n isDateSelected: (): boolean => {\n throw new Error(\"isDateSelected(): boolean not implemented\");\n },\n isDateHovered: (): boolean => {\n throw new Error(\"isDateHovered(): boolean not implemented\");\n },\n isDateBlocked: (): boolean => {\n throw new Error(\"isDateBlocked(): boolean not implemented\");\n },\n isFirstOrLastSelectedDate: (): boolean => {\n throw new Error(\"isFirstOrLastSelectedDate(): boolean not implemented\");\n },\n onDateFocus: (): void => {\n throw new Error(\"onDateFocus(): boolean not implemented\");\n },\n onDateHover: (): void => {\n throw new Error(\"onDateHover(): boolean not implemented\");\n },\n onDateSelect: (): Date => {\n throw new Error(\"onDateSelect(): boolean not implemented\");\n },\n goToPreviousMonths: (): Date => {\n throw new Error(\"goToPreviousMonths(): boolean not implemented\");\n },\n goToNextMonths: (): Date => {\n throw new Error(\"goToNextMonths(): boolean not implemented\");\n },\n goToDate: (): Date => {\n throw new Error(\"goToDate(): boolean not implemented\");\n },\n clearDates: (): void => {\n throw new Error(\"clearDates(): boolean not implemented\");\n },\n};\n\nexport const DatePickerContext = createContext<IDatePickerContext>(\n initialDatePickerState,\n);\n\nexport const useDatePickerContext = (): IDatePickerContext =>\n useContext<IDatePickerContext>(DatePickerContext);\n","import React, { useCallback, useEffect, useMemo, useState } from \"react\";\nimport { Popover as CPopover } from \"@chakra-ui/react/popover\";\nimport { DatePickerProps } from \"../datePicker.component\";\nimport { useDatepicker } from \"@datepicker-react/hooks\";\nimport {\n DatePickerContext,\n defaultDateFormat,\n defaultFocusedDate,\n defaultMaxYear,\n defaultMinYear,\n FocusedInput,\n today,\n} from \"./datePicker.context\";\nimport startOfDay from \"date-fns/startOfDay\";\nimport endOfDay from \"date-fns/endOfDay\";\nimport add from \"date-fns/add\";\nimport isAfter from \"date-fns/isAfter\";\n\ntype DatePickerProviderProps = DatePickerProps & {\n children: React.ReactNode;\n};\n\ninterface DatePickerInternalState {\n startDate: Date | null;\n endDate: Date | null;\n focusedInput: FocusedInput | null;\n}\n\nexport const DatePickerProvider = ({\n children,\n dateFormat = defaultDateFormat,\n endDate,\n inputProps,\n maxDate,\n maxDaysInRange,\n maxYear,\n minDate,\n minYear,\n onDateChange,\n placement = \"bottom\",\n startDate,\n withDateRange,\n}: DatePickerProviderProps): React.JSX.Element => {\n const [state, setState] = useState<DatePickerInternalState>({\n startDate,\n endDate: endDate || startDate,\n focusedInput: null,\n });\n\n /**\n * Calculates the max booking date based on the following criteria:\n * _maxDaysInRange_\n * * should only ever be used by date ranges\n * * should take precedence over the maxDate value\n * * should use it's value plus the start date of the range to calculate the max date\n * _maxDate_\n * * can be passed to either a single date input or a date range\n * * if provided it will be ignored if maxDaysInRange is passed\n * If neither of these values is specified return undefined\n */\n const getMaxBookingDate = useCallback(\n (startDate: Date | null) => {\n if (maxDaysInRange && startDate) {\n return add(startDate, { days: maxDaysInRange });\n } else if (maxDate) {\n return maxDate;\n }\n\n return;\n },\n [maxDate, maxDaysInRange],\n );\n\n const onDatesChange = (data: DatePickerInternalState): void => {\n if (!data) {\n return;\n }\n\n // Default the end date to the start date if no value is provided\n if (!data.endDate) {\n data.endDate = data.startDate;\n }\n\n // If end date exceeds new max booking date, reset the end date value\n const _maxBookingDate = getMaxBookingDate(data.startDate);\n if (\n data.endDate &&\n _maxBookingDate &&\n isAfter(data.endDate, _maxBookingDate)\n ) {\n data.endDate = null;\n }\n\n // Set the start date to start of day and end date to end of day to create a range\n data.startDate = data.startDate\n ? startOfDay(data.startDate)\n : data.startDate;\n data.endDate = data.endDate ? endOfDay(data.endDate) : data.endDate;\n\n setState({\n ...data,\n focusedInput: data.focusedInput || FocusedInput.StartDate,\n });\n if (!withDateRange && onDateChange) {\n onDateChange(data);\n }\n };\n\n const clearDates = useCallback(({ open }: { open?: boolean }) => {\n setState({\n startDate: null,\n endDate: null,\n focusedInput: open ? FocusedInput.StartDate : null,\n });\n }, []);\n\n const {\n activeMonths,\n firstDayOfWeek,\n focusedDate,\n goToDate,\n goToNextMonths,\n goToPreviousMonths,\n isDateBlocked,\n isDateFocused,\n isDateHovered,\n isDateSelected,\n isFirstOrLastSelectedDate,\n onDateFocus,\n onDateHover,\n onDateSelect,\n } = useDatepicker({\n endDate: state.endDate,\n focusedInput: state.focusedInput,\n initialVisibleMonth: state.startDate || today,\n // Only show max disabled dates for date range when focused on end date input\n maxBookingDate:\n withDateRange && state.focusedInput === FocusedInput.StartDate\n ? undefined\n : getMaxBookingDate(state.startDate),\n minBookingDate: minDate,\n minBookingDays: 1,\n numberOfMonths: 1,\n onDatesChange,\n startDate: state.startDate,\n ...(!withDateRange && { exactMinBookingDays: true }),\n });\n\n const navigateToFocusedInputDate = useCallback(\n (focusedInput: FocusedInput | null) => {\n if (focusedInput === FocusedInput.EndDate && state.endDate) {\n goToDate(state.endDate);\n } else if (state.startDate) {\n goToDate(state.startDate);\n }\n },\n [goToDate, state.endDate, state.startDate],\n );\n\n const setFocusedInput = useCallback(\n (focusedInput: FocusedInput | null): void => {\n setState((prevState) => ({ ...prevState, focusedInput }));\n navigateToFocusedInputDate(focusedInput);\n },\n [navigateToFocusedInputDate],\n );\n\n const handleOpen = (): void => {\n if (inputProps?.disabled) return;\n\n // Default to start date input on open if no start date value has been set\n if (!state.startDate || !withDateRange) {\n setFocusedInput(FocusedInput.StartDate);\n }\n };\n\n const handleClose = useCallback((): void => {\n setFocusedInput(null);\n\n if (withDateRange && onDateChange) {\n setTimeout(() => {\n onDateChange({ startDate: state.startDate, endDate: state.endDate });\n }, 200);\n }\n }, [\n withDateRange,\n onDateChange,\n setFocusedInput,\n state.endDate,\n state.startDate,\n ]);\n\n const activeMonth = useMemo(() => activeMonths[0], [activeMonths]);\n\n // Listen for external changes to start and end dates and update internal state\n useEffect(() => {\n setState((prevState) => ({\n ...prevState,\n startDate,\n endDate: endDate || startDate,\n }));\n }, [startDate, endDate]);\n\n return (\n <DatePickerContext.Provider\n value={{\n activeMonth,\n activeMonths,\n dateFormat: dateFormat || defaultDateFormat,\n endDate: state.endDate || null,\n firstDayOfWeek,\n focusedDate: focusedDate || defaultFocusedDate,\n focusedInput: state.focusedInput,\n goToDate,\n goToNextMonths,\n goToPreviousMonths,\n setFocusedInput,\n isDateBlocked,\n isDateFocused,\n isDateHovered,\n withDateRange: withDateRange || false,\n isDateSelected,\n isFirstOrLastSelectedDate,\n maxDate,\n maxYear: maxYear || defaultMaxYear,\n minDate,\n minYear: minYear || defaultMinYear,\n onDateChange,\n onDateFocus,\n onDateHover,\n onDateSelect,\n startDate: state.startDate,\n onClose: handleClose,\n clearDates,\n }}\n >\n <CPopover.Root\n onOpenChange={({ open }) => {\n if (open) {\n handleOpen();\n } else {\n setFocusedInput(null);\n }\n }}\n positioning={{ placement }}\n variant=\"default\"\n >\n {children}\n </CPopover.Root>\n </DatePickerContext.Provider>\n );\n};\n","import isAfter from \"date-fns/isAfter\";\nimport isBefore from \"date-fns/isBefore\";\n\nexport const isDateAfterMin = (date: Date, minDate?: Date): boolean =>\n minDate ? isAfter(date, minDate) : true;\nexport const isDateBeforeMax = (date: Date, maxDate?: Date): boolean =>\n maxDate ? isBefore(date, maxDate) : true;\n","import React, { ChangeEvent } from \"react\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { HStack } from \"@chakra-ui/react/stack\";\nimport {\n TextInput,\n TextInputProps,\n} from \"components/TextInput/textInput.component\";\nimport { Icon } from \"components/Icon/icon.component\";\nimport { Text } from \"components/Text/text.component\";\nimport isDate from \"date-fns/isDate\";\nimport { getInputValue, parseDate } from \"@datepicker-react/hooks\";\nimport { isDateAfterMin, isDateBeforeMax } from \"./datePickerInput.utils\";\nimport {\n FocusedInput,\n today,\n useDatePickerContext,\n} from \"../../context/datePicker.context\";\nimport format from \"date-fns/format\";\nimport { usePopoverContext } from \"@chakra-ui/react/popover\";\n\ninterface DatePickerInputProps {\n inputProps?: Omit<\n TextInputProps,\n \"onChange\" | \"value\" | \"isClearable\" | \"onClear\"\n >;\n}\n\nexport function DatePickerInput({\n inputProps,\n}: DatePickerInputProps): React.JSX.Element {\n const {\n setFocusedInput,\n startDate,\n endDate,\n focusedInput,\n dateFormat,\n withDateRange,\n minDate,\n maxDate,\n onDateChange,\n onDateSelect,\n onClose,\n } = useDatePickerContext();\n const { open, setOpen } = usePopoverContext();\n const iconSize = inputProps?.size || \"md\";\n\n const onKeyDown = (e: React.KeyboardEvent): void => {\n if (e.key === \"Enter\" && open) {\n setOpen(false);\n onClose();\n e.preventDefault();\n e.stopPropagation();\n }\n };\n\n const onInputChange = (e: ChangeEvent<HTMLInputElement>): void => {\n const dateValue = e.target.value;\n const parsedDate = parseDate(dateValue, dateFormat, today);\n\n if (\n dateValue.length === dateFormat.length &&\n isDate(parsedDate) &&\n isDateAfterMin(parsedDate, minDate) &&\n isDateBeforeMax(parsedDate, maxDate)\n ) {\n onDateSelect(parsedDate);\n }\n\n // Trigger change when input is empty\n if (!dateValue.length && onDateChange) {\n onDateChange({ startDate: null, endDate: null });\n }\n };\n\n return (\n <HStack\n w=\"100%\"\n className=\"DatePicker__Trigger\"\n data-testid=\"kibble-datepicker-trigger\"\n >\n <TextInput\n className=\"DatePicker__Input--Start\"\n data-testid=\"kibble-datepicker-input-start\"\n autoComplete=\"off\"\n rightElement={\n <Flex\n {...(!inputProps?.disabled && {\n onClick: (): void => setFocusedInput(FocusedInput.StartDate),\n })}\n h=\"100%\"\n align=\"center\"\n >\n <Icon name=\"calendarDate\" size={iconSize} />\n </Flex>\n }\n value={getInputValue(startDate, dateFormat, \"\")}\n onChange={onInputChange}\n onKeyDown={onKeyDown}\n {...(!inputProps?.disabled && {\n onFocus: (): void => {\n setFocusedInput(FocusedInput.StartDate);\n },\n })}\n placeholder={format(today, dateFormat).toString()}\n {...(focusedInput === FocusedInput.StartDate && {\n \"data-focus\": true,\n })}\n {...inputProps}\n />\n {withDateRange && (\n <>\n <Text> - </Text>\n <TextInput\n className=\"DatePicker__Input--End\"\n data-testid=\"kibble-datepicker-input-end\"\n rightElement={\n <Flex\n {...(!inputProps?.disabled && {\n onClick: (): void => setFocusedInput(FocusedInput.StartDate),\n })}\n h=\"100%\"\n align=\"center\"\n >\n <Icon name=\"calendarDate\" size={iconSize} />\n </Flex>\n }\n value={getInputValue(endDate, dateFormat, \"\")}\n onChange={onInputChange}\n {...(!inputProps?.disabled && {\n onFocus: (): void => setFocusedInput(FocusedInput.EndDate),\n })}\n onKeyDown={onKeyDown}\n placeholder={format(today, dateFormat).toString()}\n {...(focusedInput === FocusedInput.EndDate && {\n \"data-focus\": true,\n })}\n {...inputProps}\n />\n </>\n )}\n </HStack>\n );\n}\n","import React, { useCallback } from \"react\";\nimport { Button } from \"components/Button/button.component\";\nimport { HStack } from \"@chakra-ui/react/stack\";\nimport { DateRange } from \"../../datePicker.types\";\nimport { useDatePickerContext } from \"../../context/datePicker.context\";\nimport { usePopoverContext } from \"@chakra-ui/react/popover\";\n\nexport interface DatePickerFooterProps {\n buttonText?: string;\n onSubmit?: ({ startDate, endDate }: DateRange) => void;\n hideResetButton?: boolean;\n}\n\nexport function DatePickerFooter({\n buttonText = \"Apply\",\n onSubmit,\n hideResetButton,\n}: DatePickerFooterProps): React.JSX.Element {\n const { startDate, endDate, onClose, clearDates } = useDatePickerContext();\n const { open, setOpen } = usePopoverContext();\n\n const handleSubmit = useCallback((): void => {\n setOpen(false);\n onClose();\n\n if (onSubmit) {\n onSubmit({ startDate, endDate });\n }\n }, [setOpen, onClose, onSubmit, startDate, endDate]);\n\n return (\n <HStack\n w=\"100%\"\n justify={hideResetButton ? \"end\" : \"space-between\"}\n align=\"center\"\n borderTop=\"1px\"\n borderColor=\"border.default\"\n px={3}\n py={2}\n >\n {!hideResetButton && (\n <Button\n size=\"sm\"\n variant=\"ghostNeutral\"\n onClick={() => clearDates({ open })}\n >\n Clear Dates\n </Button>\n )}\n <Button size=\"sm\" onClick={handleSubmit}>\n {buttonText}\n </Button>\n </HStack>\n );\n}\n","export const monthNames = [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\",\n];\n","import React, { useMemo, useRef } from \"react\";\nimport { Menu, MenuItemProps } from \"components/Menu\";\nimport range from \"lodash-es/range\";\nimport { Button } from \"components/Button/button.component\";\nimport set from \"date-fns/set\";\nimport { today, useDatePickerContext } from \"../../context/datePicker.context\";\nimport { monthNames } from \"../../datePicker.records\";\nimport { HStack } from \"@chakra-ui/react/stack\";\nimport { Center } from \"@chakra-ui/react/center\";\n\nexport function DatePickerHeader(): React.JSX.Element {\n const selectedMonthRef = useRef<HTMLDivElement | null>(null);\n const selectedYearRef = useRef<HTMLDivElement | null>(null);\n\n const {\n focusedDate,\n activeMonth,\n minYear,\n maxYear,\n goToDate,\n goToNextMonths,\n goToPreviousMonths,\n } = useDatePickerContext();\n\n const monthMenuItems: MenuItemProps[] = useMemo(\n () =>\n monthNames.map((month, index) => ({\n label: month,\n value: String(index),\n selected: index === activeMonth?.month,\n })),\n [activeMonth?.month],\n );\n\n const yearMenuItems: MenuItemProps[] = useMemo(\n () =>\n range(minYear, maxYear + 1).map((year: number) => {\n const stringYear = String(year);\n const selected = year === activeMonth?.year;\n return {\n label: stringYear,\n value: stringYear,\n selected,\n ...(selected && { ref: selectedYearRef }),\n };\n }),\n [activeMonth?.year, maxYear, minYear],\n );\n\n const handleMonthChange = (selectedItem: string | undefined): void =>\n goToDate(\n set(focusedDate || today, {\n month: Number(selectedItem),\n year: activeMonth?.year,\n }),\n );\n\n const handleYearChange = (selectedItem: string | undefined): void =>\n goToDate(\n set(focusedDate || today, {\n month: activeMonth?.month,\n year: Number(selectedItem),\n }),\n );\n\n const scrollToSelectedItem = ({ type }: { type: \"month\" | \"year\" }): void => {\n setTimeout(() => {\n const selectedNode =\n type === \"year\" ? selectedYearRef?.current : selectedMonthRef?.current;\n if (selectedNode) {\n selectedNode.scrollIntoView({ block: \"center\" });\n }\n });\n };\n\n return (\n <HStack\n className=\"DatePicker__Header\"\n data-testid=\"kibble-datepicker-header\"\n w=\"100%\"\n justify=\"space-between\"\n borderBottom=\"1px\"\n borderColor=\"border.default\"\n py={2}\n px={3}\n >\n <Button\n iconName=\"chevronLeft\"\n onClick={goToPreviousMonths}\n variant=\"ghostNeutral\"\n size=\"sm\"\n />\n <Center gap={2} h=\"100%\">\n <Menu\n data-testid=\"kibble-datepicker-month-menu\"\n buttonProps={{\n variant: \"tertiary\",\n text: monthNames[activeMonth?.month || 0],\n size: \"sm\",\n }}\n listProps={{\n menuItems: monthMenuItems,\n onSelect: handleMonthChange,\n maxH: 250,\n }}\n onOpenChange={({ open }) => {\n if (open) scrollToSelectedItem({ type: \"month\" });\n }}\n />\n <Menu\n data-testid=\"kibble-datepicker-year-menu\"\n buttonProps={{\n variant: \"tertiary\",\n text: String(activeMonth?.year),\n size: \"sm\",\n }}\n listProps={{\n menuItems: yearMenuItems,\n onSelect: handleYearChange,\n maxH: 250,\n }}\n onOpenChange={({ open }) => {\n if (open) scrollToSelectedItem({ type: \"year\" });\n }}\n />\n </Center>\n <Button\n iconName=\"chevronRight\"\n onClick={goToNextMonths}\n variant=\"ghostNeutral\"\n size=\"sm\"\n />\n </HStack>\n );\n}\n","import {\n defineSlotRecipe,\n SystemStyleObject,\n} from \"@chakra-ui/react/styled-system\";\nimport { DayVariant } from \"./datePickerCalendarDay.types\";\n\ntype CalendarDaySlot = \"root\" | \"indicator\";\nconst calendarDaySlots: CalendarDaySlot[] = [\"root\", \"indicator\"] as const;\n\ntype CalendarDaySlotStyles = {\n [key in CalendarDaySlot]?: SystemStyleObject;\n};\n\nconst datePickerCalendarDayVariantStyles: Record<\n DayVariant,\n CalendarDaySlotStyles\n> = {\n default: {\n root: {\n borderColor: \"transparent\",\n _hover: {\n bg: \"background.secondaryAlpha.hover\",\n },\n },\n },\n disabled: {\n root: {\n bg: \"background.subtle\",\n borderColor: \"transparent\",\n cursor: \"not-allowed\",\n opacity: 0.4,\n },\n },\n inRange: {\n root: {\n bg: \"background.secondaryAlpha.hover\",\n borderColor: \"transparent\",\n borderRadius: \"none\",\n color: \"text.info\",\n },\n },\n selectedEnd: {\n root: {\n borderColor: \"border.focus\",\n color: \"text.info\",\n },\n },\n selectedStart: {\n root: {\n bg: \"background.secondary\",\n borderColor: \"border.focus\",\n color: \"text.contrast\",\n _hover: {\n bg: \"background.secondary\",\n },\n },\n },\n};\n\nexport const datePickerCalendarDayRecipe = defineSlotRecipe({\n slots: calendarDaySlots,\n base: {\n indicator: {\n position: \"absolute\",\n h: 6,\n right: -4,\n top: -4,\n transform: \"rotate(45deg)\",\n w: 6,\n },\n root: {\n border: \"2px\",\n borderRadius: \"4px\",\n color: \"text.subtle\",\n cursor: \"pointer\",\n fontSize: \"sm\",\n fontWeight: \"normal !important\",\n position: \"relative\",\n px: 3,\n py: 1,\n overflow: \"hidden\",\n },\n },\n variants: {\n variant: datePickerCalendarDayVariantStyles,\n isToday: {\n true: {\n indicator: {\n bg: \"background.secondary\",\n },\n },\n false: {},\n },\n withDateRange: {\n true: {},\n false: {},\n },\n },\n compoundVariants: [\n {\n variant: \"selectedStart\",\n isToday: true,\n css: {\n indicator: {\n bg: \"background\",\n },\n },\n },\n {\n withDateRange: true,\n variant: \"selectedStart\",\n css: {\n root: {\n borderRightRadius: 0,\n },\n },\n },\n {\n withDateRange: true,\n variant: \"selectedEnd\",\n css: {\n root: {\n borderLeftRadius: 0,\n },\n },\n },\n ],\n defaultVariants: {},\n});\n","import React, { useRef, useMemo } from \"react\";\nimport { useDay } from \"@datepicker-react/hooks\";\nimport { useDatePickerContext } from \"../../context/datePicker.context\";\nimport { Button } from \"components/Button/button.component\";\nimport format from \"date-fns/format\";\nimport { Box } from \"@chakra-ui/react/box\";\nimport { DayVariant } from \"./datePickerCalendarDay.types\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { datePickerCalendarDayRecipe } from \"./datePickerCalendarDay.recipe\";\n\ninterface DayProps {\n dayLabel: string;\n date: Date;\n onDaySelected: () => void;\n}\n\nexport const DatePickerCalendarDay = ({\n dayLabel,\n date,\n onDaySelected,\n}: DayProps): React.JSX.Element => {\n const today = new Date();\n const dayRef = useRef<HTMLButtonElement>(null);\n const { startDate, endDate, dateFormat, withDateRange } =\n useDatePickerContext();\n const formattedDates = useMemo(\n () => ({\n currentDay: format(date, dateFormat),\n startDate: startDate && format(startDate, dateFormat),\n endDate: endDate && format(endDate, dateFormat),\n }),\n [date, dateFormat, endDate, startDate],\n );\n const isRangeStart = formattedDates.currentDay === formattedDates.startDate;\n const isRangeEnd = formattedDates.currentDay === formattedDates.endDate;\n const isToday = formattedDates.currentDay === format(today, dateFormat);\n\n const {\n focusedDate,\n isDateFocused,\n isDateSelected,\n isDateHovered,\n isDateBlocked,\n isFirstOrLastSelectedDate,\n onDateSelect,\n onDateFocus,\n onDateHover,\n } = useDatePickerContext();\n\n const {\n disabledDate,\n isSelected,\n onClick,\n onKeyDown,\n onMouseEnter,\n tabIndex,\n } = useDay({\n date,\n focusedDate,\n isDateFocused,\n isDateSelected,\n isDateHovered,\n isDateBlocked,\n isFirstOrLastSelectedDate,\n onDateFocus,\n onDateSelect,\n onDateHover,\n dayRef: dayRef as React.RefObject<HTMLButtonElement>,\n });\n\n const buttonVariant = useMemo((): DayVariant => {\n switch (true) {\n case disabledDate:\n return \"disabled\";\n case isRangeStart:\n return \"selectedStart\";\n case isRangeEnd:\n return \"selectedEnd\";\n case isSelected && !isRangeStart && !isRangeEnd:\n return \"inRange\";\n default:\n return \"default\";\n }\n }, [disabledDate, isRangeEnd, isRangeStart, isSelected]);\n\n const recipe = useSlotRecipe({ recipe: datePickerCalendarDayRecipe });\n const styles = recipe({ variant: buttonVariant, isToday, withDateRange });\n\n if (!dayLabel) {\n return <></>;\n }\n\n const onSelectDay = (): void => {\n if (buttonVariant === \"disabled\") {\n return;\n }\n\n onClick();\n onDaySelected();\n };\n\n return (\n <Button\n className=\"DatePicker__Day\"\n data-testid={`kibble-datepicker-day--${formattedDates.currentDay}`}\n onClick={onSelectDay}\n onKeyDown={onKeyDown}\n onMouseEnter={onMouseEnter}\n tabIndex={tabIndex}\n ref={dayRef}\n unstyled\n css={styles.root}\n >\n {isToday && <Box css={styles.indicator} />}\n {dayLabel}\n </Button>\n );\n};\n","import React, { useRef } from \"react\";\nimport { useMonth } from \"@datepicker-react/hooks\";\nimport { Text } from \"components/Text/text.component\";\nimport { Box } from \"@chakra-ui/react/box\";\nimport { Center } from \"@chakra-ui/react/center\";\nimport { Grid, GridItem } from \"@chakra-ui/react/grid\";\nimport { DatePickerCalendarDay } from \"../DatePickerDay/datePickerCalendarDay.component\";\nimport {\n currentMonth,\n currentYear,\n useDatePickerContext,\n} from \"../../context/datePicker.context\";\n\nexport interface MonthProps {\n onDaySelected: () => void;\n}\n\nexport const DatePickerCalendarMonth = ({\n onDaySelected,\n}: MonthProps): React.JSX.Element => {\n const ref = useRef<HTMLDivElement | null>(null);\n const { firstDayOfWeek, activeMonth } = useDatePickerContext();\n\n const { days, weekdayLabels } = useMonth({\n year: activeMonth?.year || currentYear,\n month: activeMonth?.month !== undefined ? activeMonth.month : currentMonth,\n firstDayOfWeek,\n });\n\n return (\n <Box\n ref={ref}\n className=\"DatePicker__Month\"\n data-testid=\"kibble-datepicker-month\"\n >\n <Grid templateColumns=\"repeat(7, 1fr)\" my={2}>\n {weekdayLabels.map((weekdayLabel: string) => (\n <GridItem key={weekdayLabel}>\n <Center>\n <Text size=\"xs\" variant=\"subtle\">\n {weekdayLabel}\n </Text>\n </Center>\n </GridItem>\n ))}\n </Grid>\n <Grid templateColumns=\"repeat(7, 1fr)\">\n {days.map((day, index) =>\n typeof day === \"object\" ? (\n <DatePickerCalendarDay\n key={day.date.toString()}\n date={day.date}\n dayLabel={day.dayLabel}\n onDaySelected={onDaySelected}\n />\n ) : (\n <div key={index} />\n ),\n )}\n </Grid>\n </Box>\n );\n};\n","import React from \"react\";\nimport { Grid } from \"@chakra-ui/react/grid\";\nimport { DatePickerCalendarMonth } from \"../DatePickerMonth/datePickerCalendarMonth.component\";\nimport { useDatePickerContext } from \"../../context/datePicker.context\";\nimport { usePopoverContext } from \"@chakra-ui/react/popover\";\n\nexport function DatePickerCalendar(): React.JSX.Element {\n const { withDateRange, activeMonths, onClose } = useDatePickerContext();\n const { setOpen } = usePopoverContext();\n\n const handleDaySelected = (): void => {\n if (!withDateRange) {\n setOpen(false);\n onClose();\n }\n };\n\n return (\n <Grid\n className=\"DatePicker__Calendar\"\n data-testid=\"kibble-datepicker-calendar\"\n gap=\"0 64px\"\n px={3}\n py={2}\n >\n {activeMonths.map((month) => (\n <DatePickerCalendarMonth\n key={`${month.year}-${month.month}`}\n onDaySelected={handleDaySelected}\n />\n ))}\n </Grid>\n );\n}\n","import React from \"react\";\nimport { DateFormats, DateRange } from \"./datePicker.types\";\nimport { TextInputProps } from \"components/TextInput/textInput.component\";\nimport { Placement } from \"shared/types/placement\";\nimport { DatePickerProvider } from \"./context/datePicker.provider\";\nimport { DatePickerInput } from \"./components/DatePickerInput/datePickerInput.component\";\nimport {\n DatePickerFooter,\n DatePickerFooterProps,\n} from \"./components/DatePickerFooter/datePickerFooter.component\";\nimport { DatePickerHeader } from \"./components/DatePickerHeader/datePickerHeader.component\";\nimport { DatePickerCalendar } from \"./components/DatePickerCalendar/datePickerCalendar.component\";\nimport { Popover as CPopover } from \"@chakra-ui/react/popover\";\nimport { Portal } from \"@chakra-ui/react/portal\";\n\nexport interface DatePickerProps {\n dateFormat?: string | DateFormats;\n endDate?: Date | null;\n footerProps?: DatePickerFooterProps;\n hideFooter?: boolean;\n inputProps?: Omit<\n TextInputProps,\n \"onChange\" | \"value\" | \"isClearable\" | \"onClear\"\n >;\n maxDate?: Date;\n maxYear?: number;\n maxDaysInRange?: number;\n minDate?: Date;\n minYear?: number;\n onDateChange?: ({ startDate, endDate }: DateRange) => void;\n placement?: Placement;\n startDate: Date | null;\n withDateRange?: boolean;\n}\n\nexport const DatePicker = (props: DatePickerProps): React.JSX.Element => {\n const {\n footerProps,\n hideFooter = false,\n inputProps,\n withDateRange = false,\n } = props;\n\n return (\n <DatePickerProvider {...props}>\n <CPopover.Trigger>\n <DatePickerInput inputProps={inputProps} />\n </CPopover.Trigger>\n <Portal>\n <CPopover.Positioner\n className=\"DatePicker\"\n data-testid=\"kibble-datepicker\"\n >\n <CPopover.Content\n className=\"DatePicker__Content\"\n data-testid=\"kibble-datepicker-content\"\n minW=\"340px\"\n >\n <CPopover.Arrow />\n <CPopover.Body p=\"0 !important\">\n <DatePickerHeader />\n <DatePickerCalendar />\n {withDateRange && !hideFooter && (\n <DatePickerFooter {...footerProps} />\n )}\n </CPopover.Body>\n </CPopover.Content>\n </CPopover.Positioner>\n </Portal>\n </DatePickerProvider>\n );\n};\n"],"names":["DateFormats","FocusedInput","today","currentYear","currentMonth","defaultFocusedDate","defaultMinYear","defaultMaxYear","defaultDateFormat","initialDatePickerState","DatePickerContext","createContext","useDatePickerContext","useContext","DatePickerProvider","children","dateFormat","endDate","inputProps","maxDate","maxDaysInRange","maxYear","minDate","minYear","onDateChange","placement","startDate","withDateRange","state","setState","useState","getMaxBookingDate","useCallback","add","onDatesChange","data","_maxBookingDate","isAfter","startOfDay","endOfDay","clearDates","open","activeMonths","firstDayOfWeek","focusedDate","goToDate","goToNextMonths","goToPreviousMonths","isDateBlocked","isDateFocused","isDateHovered","isDateSelected","isFirstOrLastSelectedDate","onDateFocus","onDateHover","onDateSelect","useDatepicker","navigateToFocusedInputDate","focusedInput","setFocusedInput","prevState","handleOpen","handleClose","activeMonth","useMemo","useEffect","jsx","CPopover.Root","isDateAfterMin","date","isDateBeforeMax","isBefore","DatePickerInput","onClose","setOpen","usePopoverContext","iconSize","onKeyDown","e","onInputChange","dateValue","parsedDate","parseDate","isDate","jsxs","HStack","TextInput","Flex","Icon","getInputValue","format","Fragment","Text","DatePickerFooter","buttonText","onSubmit","hideResetButton","handleSubmit","Button","monthNames","DatePickerHeader","selectedMonthRef","useRef","selectedYearRef","monthMenuItems","month","index","yearMenuItems","range","year","stringYear","selected","handleMonthChange","selectedItem","set","handleYearChange","scrollToSelectedItem","type","selectedNode","Center","Menu","calendarDaySlots","datePickerCalendarDayVariantStyles","datePickerCalendarDayRecipe","defineSlotRecipe","DatePickerCalendarDay","dayLabel","onDaySelected","dayRef","formattedDates","isRangeStart","isRangeEnd","isToday","disabledDate","isSelected","onClick","onMouseEnter","tabIndex","useDay","buttonVariant","styles","useSlotRecipe","onSelectDay","Box","DatePickerCalendarMonth","ref","days","weekdayLabels","useMonth","Grid","weekdayLabel","GridItem","day","DatePickerCalendar","handleDaySelected","DatePicker","props","footerProps","hideFooter","CPopover.Trigger","Portal","CPopover.Positioner","CPopover.Content","CPopover.Arrow","CPopover.Body"],"mappings":";;;;;;;;;AAAY,IAAAA,uBAAAA,OACVA,EAAA,YAAc,cACdA,EAAA,WAAa,eACbA,EAAA,sBAAwB,iBAHdA,IAAAA,MAAA,CAAA,CAAA,GCIAC,sBAAAA,OACVA,EAAA,YAAY,aACZA,EAAA,UAAU,WAFAA,IAAAA,KAAA,CAAA,CAAA;AAsCC,MAAAC,wBAAY,KAAK,GACjBC,IAAcD,EAAM,YAAY,GAChCE,KAAeF,EAAM,SAAS,GAE9BG,KAAqBH,GACrBI,KAAiBH,IAAc,KAC/BI,KAAiBJ,IAAc,GAC/BK,IAAoBR,GAAY,WAEvCS,KAA6C;AAAA,EACjD,YAAYD;AAAA,EACZ,SAAS;AAAA,EACT,cAAc;AAAA,EACd,eAAe;AAAA,EACf,SAASD;AAAA,EACT,SAASD;AAAA,EACT,WAAW;AAAA,EACX,SAAS,MAAY;AACb,UAAA,IAAI,MAAM,oCAAoC;AAAA,EACtD;AAAA,EACA,iBAAiB,MAAY;AACrB,UAAA,IAAI,MAAM,4CAA4C;AAAA,EAC9D;AAAA,EACA,aAAaJ;AAAA,EACb,gBAAgB;AAAA,EAChB,cAAc,CAAC;AAAA,EACf,eAAe,MAAe;AACtB,UAAA,IAAI,MAAM,0CAA0C;AAAA,EAC5D;AAAA,EACA,gBAAgB,MAAe;AACvB,UAAA,IAAI,MAAM,2CAA2C;AAAA,EAC7D;AAAA,EACA,eAAe,MAAe;AACtB,UAAA,IAAI,MAAM,0CAA0C;AAAA,EAC5D;AAAA,EACA,eAAe,MAAe;AACtB,UAAA,IAAI,MAAM,0CAA0C;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AAM,IAAA,EAAgB,YAAAtD,EAAwB,CAAA,GAC3C;AAAA,0BACC8I,IACC,EAAA,UAAA9F,gBAAAA,EAAA;AAAA,MAAC+F;AAAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,eAAY;AAAA,QAEZ,UAAA7E,gBAAAA,EAAA;AAAA,UAAC8E;AAAAA,UAAA;AAAA,YACC,WAAU;AAAA,YACV,eAAY;AAAA,YACZ,MAAK;AAAA,YAEL,UAAA;AAAA,cAAChG,gBAAAA,EAAA,IAAAiG,IAAA,EAAe;AAAA,cACf/E,gBAAAA,EAAAA,KAAAgF,IAAA,EAAc,GAAE,gBACf,UAAA;AAAA,gBAAAlG,gBAAAA,EAAA,IAACkC,IAAiB,EAAA;AAAA,sCACjBqD,IAAmB,EAAA;AAAA,gBACnB9H,KAAiB,CAACmI,KAChB5F,gBAAAA,EAAAA,IAAA2B,IAAA,EAAkB,GAAGgE,EAAa,CAAA;AAAA,cAAA,EAEvC,CAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACF;AAAA,IAAA,EAEJ,CAAA;AAAA,EAAA,GACF;AAEJ;"}
@@ -1,6 +0,0 @@
1
- "use strict";const s=require("react"),Ie=require("./vendor-D-x6W6ez.js");function An(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s.useMemo(()=>r=>{t.forEach(o=>o(r))},t)}const tt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ye(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function bt(e){return"nodeType"in e}function P(e){var t,n;return e?ye(e)?e:bt(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function mt(e){const{Document:t}=P(e);return e instanceof t}function Be(e){return ye(e)?!1:e instanceof P(e).HTMLElement}function Vt(e){return e instanceof P(e).SVGElement}function we(e){return e?ye(e)?e.document:bt(e)?mt(e)?e:Be(e)||Vt(e)?e.ownerDocument:document:document:document}const H=tt?s.useLayoutEffect:s.useEffect;function nt(e){const t=s.useRef(e);return H(()=>{t.current=e}),s.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}function Mn(){const e=s.useRef(null),t=s.useCallback((r,o)=>{e.current=setInterval(r,o)},[]),n=s.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function ke(e,t){t===void 0&&(t=[e]);const n=s.useRef(e);return H(()=>{n.current!==e&&(n.current=e)},t),n}function Fe(e,t){const n=s.useRef();return s.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function Je(e){const t=nt(e),n=s.useRef(null),r=s.useCallback(o=>{o!==n.current&&t?.(o,n.current),n.current=o},[]);return[n,r]}function Ge(e){const t=s.useRef();return s.useEffect(()=>{t.current=e},[e]),t.current}let ut={};function Xe(e,t){return s.useMemo(()=>{if(t)return t;const n=ut[e]==null?0:ut[e]+1;return ut[e]=n,e+"-"+n},[e,t])}function qt(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce((i,a)=>{const l=Object.entries(a);for(const[c,d]of l){const f=i[c];f!=null&&(i[c]=f+e*d)}return i},{...t})}}const me=qt(1),Pe=qt(-1);function On(e){return"clientX"in e&&"clientY"in e}function rt(e){if(!e)return!1;const{KeyboardEvent:t}=P(e.target);return t&&e instanceof t}function In(e){if(!e)return!1;const{TouchEvent:t}=P(e.target);return t&&e instanceof t}function _e(e){if(In(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return On(e)?{x:e.clientX,y:e.clientY}:null}const ue=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[ue.Translate.toString(e),ue.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),kt="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Tn(e){return e.matches(kt)?e:e.querySelector(kt)}const Nn={display:"none"};function Ln(e){let{id:t,value:n}=e;return s.createElement("div",{id:t,style:Nn},n)}function kn(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return s.createElement("div",{id:t,style:o,role:"status","aria-live":r,"aria-atomic":!0},n)}function Pn(){const[e,t]=s.useState("");return{announce:s.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const Jt=s.createContext(null);function zn(e){const t=s.useContext(Jt);s.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function Bn(){const[e]=s.useState(()=>new Set),t=s.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[s.useCallback(r=>{let{type:o,event:i}=r;e.forEach(a=>{var l;return(l=a[o])==null?void 0:l.call(a,i)})},[e]),t]}const Fn={draggable:`
2
- To pick up a draggable item, press the space bar.
3
- While dragging, use the arrow keys to move the item.
4
- Press space again to drop the item in its new position, or press escape to cancel.
5
- `},Xn={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function $n(e){let{announcements:t=Xn,container:n,hiddenTextDescribedById:r,screenReaderInstructions:o=Fn}=e;const{announce:i,announcement:a}=Pn(),l=Xe("DndLiveRegion"),[c,d]=s.useState(!1);if(s.useEffect(()=>{d(!0)},[]),zn(s.useMemo(()=>({onDragStart(u){let{active:h}=u;i(t.onDragStart({active:h}))},onDragMove(u){let{active:h,over:g}=u;t.onDragMove&&i(t.onDragMove({active:h,over:g}))},onDragOver(u){let{active:h,over:g}=u;i(t.onDragOver({active:h,over:g}))},onDragEnd(u){let{active:h,over:g}=u;i(t.onDragEnd({active:h,over:g}))},onDragCancel(u){let{active:h,over:g}=u;i(t.onDragCancel({active:h,over:g}))}}),[i,t])),!c)return null;const f=s.createElement(s.Fragment,null,s.createElement(Ln,{id:r,value:o.draggable}),s.createElement(kn,{id:l,announcement:a}));return n?Ie.reactDomExports.createPortal(f,n):f}var T;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(T||(T={}));function Qe(){}function jn(e,t){return s.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function Yn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const V=Object.freeze({x:0,y:0});function Kn(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Un(e,t){const n=_e(e);if(!n)return"0 0";const r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}function Wn(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function Hn(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Pt(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{x:t+o,y:n+r}]}function Gt(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}const Vn=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=Pt(t),i=[];for(const a of r){const{id:l}=a,c=n.get(l);if(c){const d=Pt(c),f=o.reduce((h,g,x)=>h+Kn(d[x],g),0),u=Number((f/4).toFixed(4));i.push({id:l,data:{droppableContainer:a,value:u}})}}return i.sort(Wn)};function qn(e,t){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),a=o-r,l=i-n;if(r<o&&n<i){const c=t.width*t.height,d=e.width*e.height,f=a*l,u=f/(c+d-f);return Number(u.toFixed(4))}return 0}const Jn=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const i of r){const{id:a}=i,l=n.get(a);if(l){const c=qn(l,t);c>0&&o.push({id:a,data:{droppableContainer:i,value:c}})}}return o.sort(Hn)};function Gn(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function _t(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:V}function _n(e){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return o.reduce((a,l)=>({...a,top:a.top+e*l.y,bottom:a.bottom+e*l.y,left:a.left+e*l.x,right:a.right+e*l.x}),{...n})}}const Qn=_n(1);function Qt(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Zn(e,t,n){const r=Qt(t);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:l}=r,c=e.left-a-(1-o)*parseFloat(n),d=e.top-l-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),f=o?e.width/o:e.width,u=i?e.height/i:e.height;return{width:f,height:u,top:d,right:c+f,bottom:d+u,left:c}}const er={ignoreTransform:!1};function xe(e,t){t===void 0&&(t=er);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:d,transformOrigin:f}=P(e).getComputedStyle(e);d&&(n=Zn(n,d,f))}const{top:r,left:o,width:i,height:a,bottom:l,right:c}=n;return{top:r,left:o,width:i,height:a,bottom:l,right:c}}function zt(e){return xe(e,{ignoreTransform:!0})}function tr(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function nr(e,t){return t===void 0&&(t=P(e).getComputedStyle(e)),t.position==="fixed"}function rr(e,t){t===void 0&&(t=P(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const i=t[o];return typeof i=="string"?n.test(i):!1})}function ot(e,t){const n=[];function r(o){if(t!=null&&n.length>=t||!o)return n;if(mt(o)&&o.scrollingElement!=null&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!Be(o)||Vt(o)||n.includes(o))return n;const i=P(e).getComputedStyle(o);return o!==e&&rr(o,i)&&n.push(o),nr(o,i)?n:r(o.parentNode)}return e?r(e):n}function Zt(e){const[t]=ot(e,1);return t??null}function dt(e){return!tt||!e?null:ye(e)?e:bt(e)?mt(e)||e===we(e).scrollingElement?window:Be(e)?e:null:null}function en(e){return ye(e)?e.scrollX:e.scrollLeft}function tn(e){return ye(e)?e.scrollY:e.scrollTop}function ht(e){return{x:en(e),y:tn(e)}}var N;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(N||(N={}));function nn(e){return!tt||!e?!1:e===document.scrollingElement}function rn(e){const t={x:0,y:0},n=nn(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},o=e.scrollTop<=t.y,i=e.scrollLeft<=t.x,a=e.scrollTop>=r.y,l=e.scrollLeft>=r.x;return{isTop:o,isLeft:i,isBottom:a,isRight:l,maxScroll:r,minScroll:t}}const or={x:.2,y:.2};function ir(e,t,n,r,o){let{top:i,left:a,right:l,bottom:c}=n;r===void 0&&(r=10),o===void 0&&(o=or);const{isTop:d,isBottom:f,isLeft:u,isRight:h}=rn(e),g={x:0,y:0},x={x:0,y:0},v={height:t.height*o.y,width:t.width*o.x};return!d&&i<=t.top+v.height?(g.y=N.Backward,x.y=r*Math.abs((t.top+v.height-i)/v.height)):!f&&c>=t.bottom-v.height&&(g.y=N.Forward,x.y=r*Math.abs((t.bottom-v.height-c)/v.height)),!h&&l>=t.right-v.width?(g.x=N.Forward,x.x=r*Math.abs((t.right-v.width-l)/v.width)):!u&&a<=t.left+v.width&&(g.x=N.Backward,x.x=r*Math.abs((t.left+v.width-a)/v.width)),{direction:g,speed:x}}function sr(e){if(e===document.scrollingElement){const{innerWidth:i,innerHeight:a}=window;return{top:0,left:0,right:i,bottom:a,width:i,height:a}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function on(e){return e.reduce((t,n)=>me(t,ht(n)),V)}function ar(e){return e.reduce((t,n)=>t+en(n),0)}function lr(e){return e.reduce((t,n)=>t+tn(n),0)}function sn(e,t){if(t===void 0&&(t=xe),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);Zt(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const cr=[["x",["left","right"],ar],["y",["top","bottom"],lr]];class yt{constructor(t,n){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;const r=ot(n),o=on(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[i,a,l]of cr)for(const c of a)Object.defineProperty(this,c,{get:()=>{const d=l(r),f=o[i]-d;return this.rect[c]+f},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Te{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var o;(o=this.target)==null||o.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function ur(e){const{EventTarget:t}=P(e);return e instanceof t?e:we(e)}function ft(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);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}var K;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(K||(K={}));function Bt(e){e.preventDefault()}function dr(e){e.stopPropagation()}var C;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(C||(C={}));const an={start:[C.Space,C.Enter],cancel:[C.Esc],end:[C.Space,C.Enter,C.Tab]},fr=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case C.Right:return{...n,x:n.x+25};case C.Left:return{...n,x:n.x-25};case C.Down:return{...n,y:n.y+25};case C.Up:return{...n,y:n.y-25}}};class wt{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Te(we(n)),this.windowListeners=new Te(P(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(K.Resize,this.handleCancel),this.windowListeners.add(K.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(K.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&sn(r),n(V)}handleKeyDown(t){if(rt(t)){const{active:n,context:r,options:o}=this.props,{keyboardCodes:i=an,coordinateGetter:a=fr,scrollBehavior:l="smooth"}=o,{code:c}=t;if(i.end.includes(c)){this.handleEnd(t);return}if(i.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:d}=r.current,f=d?{x:d.left,y:d.top}:V;this.referenceCoordinates||(this.referenceCoordinates=f);const u=a(t,{active:n,context:r.current,currentCoordinates:f});if(u){const h=Pe(u,f),g={x:0,y:0},{scrollableAncestors:x}=r.current;for(const v of x){const p=t.code,{isTop:m,isRight:y,isLeft:b,isBottom:S,maxScroll:R,minScroll:E}=rn(v),w=sr(v),D={x:Math.min(p===C.Right?w.right-w.width/2:w.right,Math.max(p===C.Right?w.left:w.left+w.width/2,u.x)),y:Math.min(p===C.Down?w.bottom-w.height/2:w.bottom,Math.max(p===C.Down?w.top:w.top+w.height/2,u.y))},O=p===C.Right&&!y||p===C.Left&&!b,I=p===C.Down&&!S||p===C.Up&&!m;if(O&&D.x!==u.x){const M=v.scrollLeft+h.x,U=p===C.Right&&M<=R.x||p===C.Left&&M>=E.x;if(U&&!h.y){v.scrollTo({left:M,behavior:l});return}U?g.x=v.scrollLeft-M:g.x=p===C.Right?v.scrollLeft-R.x:v.scrollLeft-E.x,g.x&&v.scrollBy({left:-g.x,behavior:l});break}else if(I&&D.y!==u.y){const M=v.scrollTop+h.y,U=p===C.Down&&M<=R.y||p===C.Up&&M>=E.y;if(U&&!h.x){v.scrollTo({top:M,behavior:l});return}U?g.y=v.scrollTop-M:g.y=p===C.Down?v.scrollTop-R.y:v.scrollTop-E.y,g.y&&v.scrollBy({top:-g.y,behavior:l});break}}this.handleMove(t,me(Pe(u,this.referenceCoordinates),g))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}wt.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=an,onActivation:o}=t,{active:i}=n;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const l=i.activatorNode.current;return l&&e.target!==l?!1:(e.preventDefault(),o?.({event:e.nativeEvent}),!0)}return!1}}];function Ft(e){return!!(e&&"distance"in e)}function Xt(e){return!!(e&&"delay"in e)}class xt{constructor(t,n,r){var o;r===void 0&&(r=ur(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;const{event:i}=t,{target:a}=i;this.props=t,this.events=n,this.document=we(a),this.documentListeners=new Te(this.document),this.listeners=new Te(r),this.windowListeners=new Te(P(a)),this.initialCoordinates=(o=_e(i))!=null?o:V,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()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(K.Resize,this.handleCancel),this.windowListeners.add(K.DragStart,Bt),this.windowListeners.add(K.VisibilityChange,this.handleCancel),this.windowListeners.add(K.ContextMenu,Bt),this.documentListeners.add(K.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Xt(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(Ft(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:r,onPending:o}=this.props;o(r,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(K.Click,dr,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(K.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:o,props:i}=this,{onMove:a,options:{activationConstraint:l}}=i;if(!o)return;const c=(n=_e(t))!=null?n:V,d=Pe(o,c);if(!r&&l){if(Ft(l)){if(l.tolerance!=null&&ft(d,l.tolerance))return this.handleCancel();if(ft(d,l.distance))return this.handleStart()}if(Xt(l)&&ft(d,l.tolerance))return this.handleCancel();this.handlePending(l,d);return}t.cancelable&&t.preventDefault(),a(c)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===C.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const gr={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Dt extends xt{constructor(t){const{event:n}=t,r=we(n.target);super(t,gr,r)}}Dt.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];const hr={move:{name:"mousemove"},end:{name:"mouseup"}};var vt;(function(e){e[e.RightClick=2]="RightClick"})(vt||(vt={}));class vr extends xt{constructor(t){super(t,hr,we(t.event.target))}}vr.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===vt.RightClick?!1:(r?.({event:n}),!0)}}];const gt={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class pr extends xt{constructor(t){super(t,gt)}static setup(){return window.addEventListener(gt.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(gt.move.name,t)};function t(){}}}pr.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return o.length>1?!1:(r?.({event:n}),!0)}}];var Ne;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Ne||(Ne={}));var Ze;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Ze||(Ze={}));function br(e){let{acceleration:t,activator:n=Ne.Pointer,canScroll:r,draggingRect:o,enabled:i,interval:a=5,order:l=Ze.TreeOrder,pointerCoordinates:c,scrollableAncestors:d,scrollableAncestorRects:f,delta:u,threshold:h}=e;const g=yr({delta:u,disabled:!i}),[x,v]=Mn(),p=s.useRef({x:0,y:0}),m=s.useRef({x:0,y:0}),y=s.useMemo(()=>{switch(n){case Ne.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Ne.DraggableRect:return o}},[n,o,c]),b=s.useRef(null),S=s.useCallback(()=>{const E=b.current;if(!E)return;const w=p.current.x*m.current.x,D=p.current.y*m.current.y;E.scrollBy(w,D)},[]),R=s.useMemo(()=>l===Ze.TreeOrder?[...d].reverse():d,[l,d]);s.useEffect(()=>{if(!i||!d.length||!y){v();return}for(const E of R){if(r?.(E)===!1)continue;const w=d.indexOf(E),D=f[w];if(!D)continue;const{direction:O,speed:I}=ir(E,D,y,t,h);for(const M of["x","y"])g[M][O[M]]||(I[M]=0,O[M]=0);if(I.x>0||I.y>0){v(),b.current=E,x(S,a),p.current=I,m.current=O;return}}p.current={x:0,y:0},m.current={x:0,y:0},v()},[t,S,r,v,i,a,JSON.stringify(y),JSON.stringify(g),x,d,R,f,JSON.stringify(h)])}const mr={x:{[N.Backward]:!1,[N.Forward]:!1},y:{[N.Backward]:!1,[N.Forward]:!1}};function yr(e){let{delta:t,disabled:n}=e;const r=Ge(t);return Fe(o=>{if(n||!r||!o)return mr;const i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[N.Backward]:o.x[N.Backward]||i.x===-1,[N.Forward]:o.x[N.Forward]||i.x===1},y:{[N.Backward]:o.y[N.Backward]||i.y===-1,[N.Forward]:o.y[N.Forward]||i.y===1}}},[n,t,r])}function wr(e,t){const n=t!=null?e.get(t):void 0,r=n?n.node.current:null;return Fe(o=>{var i;return t==null?null:(i=r??o)!=null?i:null},[r,t])}function xr(e,t){return s.useMemo(()=>e.reduce((n,r)=>{const{sensor:o}=r,i=o.activators.map(a=>({eventName:a.eventName,handler:t(a.handler,r)}));return[...n,...i]},[]),[e,t])}var ze;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(ze||(ze={}));var pt;(function(e){e.Optimized="optimized"})(pt||(pt={}));const $t=new Map;function Dr(e,t){let{dragging:n,dependencies:r,config:o}=t;const[i,a]=s.useState(null),{frequency:l,measure:c,strategy:d}=o,f=s.useRef(e),u=p(),h=ke(u),g=s.useCallback(function(m){m===void 0&&(m=[]),!h.current&&a(y=>y===null?m:y.concat(m.filter(b=>!y.includes(b))))},[h]),x=s.useRef(null),v=Fe(m=>{if(u&&!n)return $t;if(!m||m===$t||f.current!==e||i!=null){const y=new Map;for(let b of e){if(!b)continue;if(i&&i.length>0&&!i.includes(b.id)&&b.rect.current){y.set(b.id,b.rect.current);continue}const S=b.node.current,R=S?new yt(c(S),S):null;b.rect.current=R,R&&y.set(b.id,R)}return y}return m},[e,i,n,u,c]);return s.useEffect(()=>{f.current=e},[e]),s.useEffect(()=>{u||g()},[n,u]),s.useEffect(()=>{i&&i.length>0&&a(null)},[JSON.stringify(i)]),s.useEffect(()=>{u||typeof l!="number"||x.current!==null||(x.current=setTimeout(()=>{g(),x.current=null},l))},[l,u,g,...r]),{droppableRects:v,measureDroppableContainers:g,measuringScheduled:i!=null};function p(){switch(d){case ze.Always:return!1;case ze.BeforeDragging:return n;default:return!n}}}function Ct(e,t){return Fe(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Cr(e,t){return Ct(e,t)}function Sr(e){let{callback:t,disabled:n}=e;const r=nt(t),o=s.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(r)},[r,n]);return s.useEffect(()=>()=>o?.disconnect(),[o]),o}function it(e){let{callback:t,disabled:n}=e;const r=nt(t),o=s.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(r)},[n]);return s.useEffect(()=>()=>o?.disconnect(),[o]),o}function Rr(e){return new yt(xe(e),e)}function jt(e,t,n){t===void 0&&(t=Rr);const[r,o]=s.useState(null);function i(){o(c=>{if(!e)return null;if(e.isConnected===!1){var d;return(d=c??n)!=null?d:null}const f=t(e);return JSON.stringify(c)===JSON.stringify(f)?c:f})}const a=Sr({callback(c){if(e)for(const d of c){const{type:f,target:u}=d;if(f==="childList"&&u instanceof HTMLElement&&u.contains(e)){i();break}}}}),l=it({callback:i});return H(()=>{i(),e?(l?.observe(e),a?.observe(document.body,{childList:!0,subtree:!0})):(l?.disconnect(),a?.disconnect())},[e]),r}function Er(e){const t=Ct(e);return _t(e,t)}const Yt=[];function Ar(e){const t=s.useRef(e),n=Fe(r=>e?r&&r!==Yt&&e&&t.current&&e.parentNode===t.current.parentNode?r:ot(e):Yt,[e]);return s.useEffect(()=>{t.current=e},[e]),n}function Mr(e){const[t,n]=s.useState(null),r=s.useRef(e),o=s.useCallback(i=>{const a=dt(i.target);a&&n(l=>l?(l.set(a,ht(a)),new Map(l)):null)},[]);return s.useEffect(()=>{const i=r.current;if(e!==i){a(i);const l=e.map(c=>{const d=dt(c);return d?(d.addEventListener("scroll",o,{passive:!0}),[d,ht(d)]):null}).filter(c=>c!=null);n(l.length?new Map(l):null),r.current=e}return()=>{a(e),a(i)};function a(l){l.forEach(c=>{const d=dt(c);d?.removeEventListener("scroll",o)})}},[o,e]),s.useMemo(()=>e.length?t?Array.from(t.values()).reduce((i,a)=>me(i,a),V):on(e):V,[e,t])}function Kt(e,t){t===void 0&&(t=[]);const n=s.useRef(null);return s.useEffect(()=>{n.current=null},t),s.useEffect(()=>{const r=e!==V;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?Pe(e,n.current):V}function Or(e){s.useEffect(()=>{if(!tt)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n?.()}},e.map(t=>{let{sensor:n}=t;return n}))}function Ir(e,t){return s.useMemo(()=>e.reduce((n,r)=>{let{eventName:o,handler:i}=r;return n[o]=a=>{i(a,t)},n},{}),[e,t])}function ln(e){return s.useMemo(()=>e?tr(e):null,[e])}const Ut=[];function Tr(e,t){t===void 0&&(t=xe);const[n]=e,r=ln(n?P(n):null),[o,i]=s.useState(Ut);function a(){i(()=>e.length?e.map(c=>nn(c)?r:new yt(t(c),c)):Ut)}const l=it({callback:a});return H(()=>{l?.disconnect(),a(),e.forEach(c=>l?.observe(c))},[e]),o}function cn(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Be(t)?t:e}function Nr(e){let{measure:t}=e;const[n,r]=s.useState(null),o=s.useCallback(d=>{for(const{target:f}of d)if(Be(f)){r(u=>{const h=t(f);return u?{...u,width:h.width,height:h.height}:h});break}},[t]),i=it({callback:o}),a=s.useCallback(d=>{const f=cn(d);i?.disconnect(),f&&i?.observe(f),r(f?t(f):null)},[t,i]),[l,c]=Je(a);return s.useMemo(()=>({nodeRef:l,rect:n,setRef:c}),[n,l,c])}const Lr=[{sensor:Dt,options:{}},{sensor:wt,options:{}}],kr={current:{}},qe={draggable:{measure:zt},droppable:{measure:zt,strategy:ze.WhileDragging,frequency:pt.Optimized},dragOverlay:{measure:xe}};class Le extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const Pr={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Le,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Qe},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:qe,measureDroppableContainers:Qe,windowRect:null,measuringScheduled:!1},un={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Qe,draggableNodes:new Map,over:null,measureDroppableContainers:Qe},$e=s.createContext(un),dn=s.createContext(Pr);function zr(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Le}}}function Br(e,t){switch(t.type){case T.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case T.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case T.DragEnd:case T.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case T.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new Le(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case T.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new Le(e.droppable.containers);return a.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case T.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new Le(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Fr(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:o}=s.useContext($e),i=Ge(r),a=Ge(n?.id);return s.useEffect(()=>{if(!t&&!r&&i&&a!=null){if(!rt(i)||document.activeElement===i.target)return;const l=o.get(a);if(!l)return;const{activatorNode:c,node:d}=l;if(!c.current&&!d.current)return;requestAnimationFrame(()=>{for(const f of[c.current,d.current]){if(!f)continue;const u=Tn(f);if(u){u.focus();break}}})}},[r,t,o,a,i]),null}function fn(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((o,i)=>i({transform:o,...r}),n):n}function Xr(e){return s.useMemo(()=>({draggable:{...qe.draggable,...e?.draggable},droppable:{...qe.droppable,...e?.droppable},dragOverlay:{...qe.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function $r(e){let{activeNode:t,measure:n,initialRect:r,config:o=!0}=e;const i=s.useRef(!1),{x:a,y:l}=typeof o=="boolean"?{x:o,y:o}:o;H(()=>{if(!a&&!l||!t){i.current=!1;return}if(i.current||!r)return;const d=t?.node.current;if(!d||d.isConnected===!1)return;const f=n(d),u=_t(f,r);if(a||(u.x=0),l||(u.y=0),i.current=!0,Math.abs(u.x)>0||Math.abs(u.y)>0){const h=Zt(d);h&&h.scrollBy({top:u.y,left:u.x})}},[t,a,l,r,n])}const st=s.createContext({...V,scaleX:1,scaleY:1});var ce;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(ce||(ce={}));const jr=s.memo(function(t){var n,r,o,i;let{id:a,accessibility:l,autoScroll:c=!0,children:d,sensors:f=Lr,collisionDetection:u=Jn,measuring:h,modifiers:g,...x}=t;const v=s.useReducer(Br,void 0,zr),[p,m]=v,[y,b]=Bn(),[S,R]=s.useState(ce.Uninitialized),E=S===ce.Initialized,{draggable:{active:w,nodes:D,translate:O},droppable:{containers:I}}=p,M=w!=null?D.get(w):null,U=s.useRef({initial:null,translated:null}),W=s.useMemo(()=>{var k;return w!=null?{id:w,data:(k=M?.data)!=null?k:kr,rect:U}:null},[w,M]),q=s.useRef(null),[De,je]=s.useState(null),[B,Ye]=s.useState(null),Q=ke(x,Object.values(x)),Ce=Xe("DndDescribedBy",a),Ke=s.useMemo(()=>I.getEnabled(),[I]),z=Xr(h),{droppableRects:Z,measureDroppableContainers:de,measuringScheduled:Se}=Dr(Ke,{dragging:E,dependencies:[O.x,O.y],config:z.droppable}),j=wr(D,w),Ue=s.useMemo(()=>B?_e(B):null,[B]),re=En(),ee=Cr(j,z.draggable.measure);$r({activeNode:w!=null?D.get(w):null,config:re.layoutShiftCompensation,initialRect:ee,measure:z.draggable.measure});const A=jt(j,z.draggable.measure,ee),Re=jt(j?j.parentElement:null),J=s.useRef({activatorEvent:null,active:null,activeNode:j,collisionRect:null,collisions:null,droppableRects:Z,draggableNodes:D,draggingNode:null,draggingNodeRect:null,droppableContainers:I,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),fe=I.getNodeFor((n=J.current.over)==null?void 0:n.id),te=Nr({measure:z.dragOverlay.measure}),ge=(r=te.nodeRef.current)!=null?r:j,he=E?(o=te.rect)!=null?o:A:null,Et=!!(te.nodeRef.current&&te.rect),At=Er(Et?null:A),at=ln(ge?P(ge):null),oe=Ar(E?fe??j:null),We=Tr(oe),He=fn(g,{transform:{x:O.x-At.x,y:O.y-At.y,scaleX:1,scaleY:1},activatorEvent:B,active:W,activeNodeRect:A,containerNodeRect:Re,draggingNodeRect:he,over:J.current.over,overlayNodeRect:te.rect,scrollableAncestors:oe,scrollableAncestorRects:We,windowRect:at}),Mt=Ue?me(Ue,O):null,Ot=Mr(oe),yn=Kt(Ot),wn=Kt(Ot,[A]),ve=me(He,yn),pe=he?Qn(he,He):null,Ee=W&&pe?u({active:W,collisionRect:pe,droppableRects:Z,droppableContainers:Ke,pointerCoordinates:Mt}):null,It=Gt(Ee,"id"),[ie,Tt]=s.useState(null),xn=Et?He:me(He,wn),Dn=Gn(xn,(i=ie?.rect)!=null?i:null,A),lt=s.useRef(null),Nt=s.useCallback((k,F)=>{let{sensor:X,options:se}=F;if(q.current==null)return;const Y=D.get(q.current);if(!Y)return;const $=k.nativeEvent,G=new X({active:q.current,activeNode:Y,event:$,options:se,context:J,onAbort(L){if(!D.get(L))return;const{onDragAbort:_}=Q.current,ne={id:L};_?.(ne),y({type:"onDragAbort",event:ne})},onPending(L,ae,_,ne){if(!D.get(L))return;const{onDragPending:Me}=Q.current,le={id:L,constraint:ae,initialCoordinates:_,offset:ne};Me?.(le),y({type:"onDragPending",event:le})},onStart(L){const ae=q.current;if(ae==null)return;const _=D.get(ae);if(!_)return;const{onDragStart:ne}=Q.current,Ae={activatorEvent:$,active:{id:ae,data:_.data,rect:U}};Ie.reactDomExports.unstable_batchedUpdates(()=>{ne?.(Ae),R(ce.Initializing),m({type:T.DragStart,initialCoordinates:L,active:ae}),y({type:"onDragStart",event:Ae}),je(lt.current),Ye($)})},onMove(L){m({type:T.DragMove,coordinates:L})},onEnd:be(T.DragEnd),onCancel:be(T.DragCancel)});lt.current=G;function be(L){return async function(){const{active:_,collisions:ne,over:Ae,scrollAdjustedTranslate:Me}=J.current;let le=null;if(_&&Me){const{cancelDrop:Oe}=Q.current;le={activatorEvent:$,active:_,collisions:ne,delta:Me,over:Ae},L===T.DragEnd&&typeof Oe=="function"&&await Promise.resolve(Oe(le))&&(L=T.DragCancel)}q.current=null,Ie.reactDomExports.unstable_batchedUpdates(()=>{m({type:L}),R(ce.Uninitialized),Tt(null),je(null),Ye(null),lt.current=null;const Oe=L===T.DragEnd?"onDragEnd":"onDragCancel";if(le){const ct=Q.current[Oe];ct?.(le),y({type:Oe,event:le})}})}}},[D]),Cn=s.useCallback((k,F)=>(X,se)=>{const Y=X.nativeEvent,$=D.get(se);if(q.current!==null||!$||Y.dndKit||Y.defaultPrevented)return;const G={active:$};k(X,F.options,G)===!0&&(Y.dndKit={capturedBy:F.sensor},q.current=se,Nt(X,F))},[D,Nt]),Lt=xr(f,Cn);Or(f),H(()=>{A&&S===ce.Initializing&&R(ce.Initialized)},[A,S]),s.useEffect(()=>{const{onDragMove:k}=Q.current,{active:F,activatorEvent:X,collisions:se,over:Y}=J.current;if(!F||!X)return;const $={active:F,activatorEvent:X,collisions:se,delta:{x:ve.x,y:ve.y},over:Y};Ie.reactDomExports.unstable_batchedUpdates(()=>{k?.($),y({type:"onDragMove",event:$})})},[ve.x,ve.y]),s.useEffect(()=>{const{active:k,activatorEvent:F,collisions:X,droppableContainers:se,scrollAdjustedTranslate:Y}=J.current;if(!k||q.current==null||!F||!Y)return;const{onDragOver:$}=Q.current,G=se.get(It),be=G&&G.rect.current?{id:G.id,rect:G.rect.current,data:G.data,disabled:G.disabled}:null,L={active:k,activatorEvent:F,collisions:X,delta:{x:Y.x,y:Y.y},over:be};Ie.reactDomExports.unstable_batchedUpdates(()=>{Tt(be),$?.(L),y({type:"onDragOver",event:L})})},[It]),H(()=>{J.current={activatorEvent:B,active:W,activeNode:j,collisionRect:pe,collisions:Ee,droppableRects:Z,draggableNodes:D,draggingNode:ge,draggingNodeRect:he,droppableContainers:I,over:ie,scrollableAncestors:oe,scrollAdjustedTranslate:ve},U.current={initial:he,translated:pe}},[W,j,Ee,pe,D,ge,he,Z,I,ie,oe,ve]),br({...re,delta:O,draggingRect:pe,pointerCoordinates:Mt,scrollableAncestors:oe,scrollableAncestorRects:We});const Sn=s.useMemo(()=>({active:W,activeNode:j,activeNodeRect:A,activatorEvent:B,collisions:Ee,containerNodeRect:Re,dragOverlay:te,draggableNodes:D,droppableContainers:I,droppableRects:Z,over:ie,measureDroppableContainers:de,scrollableAncestors:oe,scrollableAncestorRects:We,measuringConfiguration:z,measuringScheduled:Se,windowRect:at}),[W,j,A,B,Ee,Re,te,D,I,Z,ie,de,oe,We,z,Se,at]),Rn=s.useMemo(()=>({activatorEvent:B,activators:Lt,active:W,activeNodeRect:A,ariaDescribedById:{draggable:Ce},dispatch:m,draggableNodes:D,over:ie,measureDroppableContainers:de}),[B,Lt,W,A,m,Ce,D,ie,de]);return s.createElement(Jt.Provider,{value:b},s.createElement($e.Provider,{value:Rn},s.createElement(dn.Provider,{value:Sn},s.createElement(st.Provider,{value:Dn},d)),s.createElement(Fr,{disabled:l?.restoreFocus===!1})),s.createElement($n,{...l,hiddenTextDescribedById:Ce}));function En(){const k=De?.autoScrollEnabled===!1,F=typeof c=="object"?c.enabled===!1:c===!1,X=E&&!k&&!F;return typeof c=="object"?{...c,enabled:X}:{enabled:X}}}),Yr=s.createContext(null),Wt="button",Kr="Draggable";function Ur(e){let{id:t,data:n,disabled:r=!1,attributes:o}=e;const i=Xe(Kr),{activators:a,activatorEvent:l,active:c,activeNodeRect:d,ariaDescribedById:f,draggableNodes:u,over:h}=s.useContext($e),{role:g=Wt,roleDescription:x="draggable",tabIndex:v=0}=o??{},p=c?.id===t,m=s.useContext(p?st:Yr),[y,b]=Je(),[S,R]=Je(),E=Ir(a,t),w=ke(n);H(()=>(u.set(t,{id:t,key:i,node:y,activatorNode:S,data:w}),()=>{const O=u.get(t);O&&O.key===i&&u.delete(t)}),[u,t]);const D=s.useMemo(()=>({role:g,tabIndex:v,"aria-disabled":r,"aria-pressed":p&&g===Wt?!0:void 0,"aria-roledescription":x,"aria-describedby":f.draggable}),[r,g,v,p,x,f.draggable]);return{active:c,activatorEvent:l,activeNodeRect:d,attributes:D,isDragging:p,listeners:r?void 0:E,node:y,over:h,setNodeRef:b,setActivatorNodeRef:R,transform:m}}function St(){return s.useContext(dn)}const Wr="Droppable",Hr={timeout:25};function Vr(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:o}=e;const i=Xe(Wr),{active:a,dispatch:l,over:c,measureDroppableContainers:d}=s.useContext($e),f=s.useRef({disabled:n}),u=s.useRef(!1),h=s.useRef(null),g=s.useRef(null),{disabled:x,updateMeasurementsFor:v,timeout:p}={...Hr,...o},m=ke(v??r),y=s.useCallback(()=>{if(!u.current){u.current=!0;return}g.current!=null&&clearTimeout(g.current),g.current=setTimeout(()=>{d(Array.isArray(m.current)?m.current:[m.current]),g.current=null},p)},[p]),b=it({callback:y,disabled:x||!a}),S=s.useCallback((D,O)=>{b&&(O&&(b.unobserve(O),u.current=!1),D&&b.observe(D))},[b]),[R,E]=Je(S),w=ke(t);return s.useEffect(()=>{!b||!R.current||(b.disconnect(),u.current=!1,b.observe(R.current))},[R,b]),s.useEffect(()=>(l({type:T.RegisterDroppable,element:{id:r,key:i,disabled:n,node:R,rect:h,data:w}}),()=>l({type:T.UnregisterDroppable,key:i,id:r})),[r]),s.useEffect(()=>{n!==f.current.disabled&&(l({type:T.SetDroppableDisabled,id:r,key:i,disabled:n}),f.current.disabled=n)},[r,i,n,l]),{active:a,rect:h,isOver:c?.id===r,node:R,over:c,setNodeRef:E}}function qr(e){let{animation:t,children:n}=e;const[r,o]=s.useState(null),[i,a]=s.useState(null),l=Ge(n);return!n&&!r&&l&&o(l),H(()=>{if(!i)return;const c=r?.key,d=r?.props.id;if(c==null||d==null){o(null);return}Promise.resolve(t(d,i)).then(()=>{o(null)})},[t,r,i]),s.createElement(s.Fragment,null,n,r?s.cloneElement(r,{ref:a}):null)}const Jr={x:0,y:0,scaleX:1,scaleY:1};function Gr(e){let{children:t}=e;return s.createElement($e.Provider,{value:un},s.createElement(st.Provider,{value:Jr},t))}const _r={position:"fixed",touchAction:"none"},Qr=e=>rt(e)?"transform 250ms ease":void 0,Zr=s.forwardRef((e,t)=>{let{as:n,activatorEvent:r,adjustScale:o,children:i,className:a,rect:l,style:c,transform:d,transition:f=Qr}=e;if(!l)return null;const u=o?d:{...d,scaleX:1,scaleY:1},h={..._r,width:l.width,height:l.height,top:l.top,left:l.left,transform:ue.Transform.toString(u),transformOrigin:o&&r?Un(r,l):void 0,transition:typeof f=="function"?f(r):f,...c};return s.createElement(n,{className:a,style:h,ref:t},i)}),gn=e=>t=>{let{active:n,dragOverlay:r}=t;const o={},{styles:i,className:a}=e;if(i!=null&&i.active)for(const[l,c]of Object.entries(i.active))c!==void 0&&(o[l]=n.node.style.getPropertyValue(l),n.node.style.setProperty(l,c));if(i!=null&&i.dragOverlay)for(const[l,c]of Object.entries(i.dragOverlay))c!==void 0&&r.node.style.setProperty(l,c);return a!=null&&a.active&&n.node.classList.add(a.active),a!=null&&a.dragOverlay&&r.node.classList.add(a.dragOverlay),function(){for(const[c,d]of Object.entries(o))n.node.style.setProperty(c,d);a!=null&&a.active&&n.node.classList.remove(a.active)}},eo=e=>{let{transform:{initial:t,final:n}}=e;return[{transform:ue.Transform.toString(t)},{transform:ue.Transform.toString(n)}]},to={duration:250,easing:"ease",keyframes:eo,sideEffects:gn({styles:{active:{opacity:"0"}}})};function no(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:o}=e;return nt((i,a)=>{if(t===null)return;const l=n.get(i);if(!l)return;const c=l.node.current;if(!c)return;const d=cn(a);if(!d)return;const{transform:f}=P(a).getComputedStyle(a),u=Qt(f);if(!u)return;const h=typeof t=="function"?t:ro(t);return sn(c,o.draggable.measure),h({active:{id:i,data:l.data,node:c,rect:o.draggable.measure(c)},draggableNodes:n,dragOverlay:{node:a,rect:o.dragOverlay.measure(d)},droppableContainers:r,measuringConfiguration:o,transform:u})})}function ro(e){const{duration:t,easing:n,sideEffects:r,keyframes:o}={...to,...e};return i=>{let{active:a,dragOverlay:l,transform:c,...d}=i;if(!t)return;const f={x:l.rect.left-a.rect.left,y:l.rect.top-a.rect.top},u={scaleX:c.scaleX!==1?a.rect.width*c.scaleX/l.rect.width:1,scaleY:c.scaleY!==1?a.rect.height*c.scaleY/l.rect.height:1},h={x:c.x-f.x,y:c.y-f.y,...u},g=o({...d,active:a,dragOverlay:l,transform:{initial:c,final:h}}),[x]=g,v=g[g.length-1];if(JSON.stringify(x)===JSON.stringify(v))return;const p=r?.({active:a,dragOverlay:l,...d}),m=l.node.animate(g,{duration:t,easing:n,fill:"forwards"});return new Promise(y=>{m.onfinish=()=>{p?.(),y()}})}}let Ht=0;function oo(e){return s.useMemo(()=>{if(e!=null)return Ht++,Ht},[e])}const io=s.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:r,style:o,transition:i,modifiers:a,wrapperElement:l="div",className:c,zIndex:d=999}=e;const{activatorEvent:f,active:u,activeNodeRect:h,containerNodeRect:g,draggableNodes:x,droppableContainers:v,dragOverlay:p,over:m,measuringConfiguration:y,scrollableAncestors:b,scrollableAncestorRects:S,windowRect:R}=St(),E=s.useContext(st),w=oo(u?.id),D=fn(a,{activatorEvent:f,active:u,activeNodeRect:h,containerNodeRect:g,draggingNodeRect:p.rect,over:m,overlayNodeRect:p.rect,scrollableAncestors:b,scrollableAncestorRects:S,transform:E,windowRect:R}),O=Ct(h),I=no({config:r,draggableNodes:x,droppableContainers:v,measuringConfiguration:y}),M=O?p.setRef:void 0;return s.createElement(Gr,null,s.createElement(qr,{animation:I},u&&w?s.createElement(Zr,{key:w,id:u.id,ref:M,as:l,activatorEvent:f,adjustScale:t,className:c,transition:i,rect:O,style:{zIndex:d,...o},transform:D},n):null))});function Rt(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function so(e,t){return e.reduce((n,r,o)=>{const i=t.get(r);return i&&(n[o]=i),n},Array(e.length))}function Ve(e){return e!==null&&e>=0}function ao(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function lo(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const hn=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=Rt(t,r,n),a=t[o],l=i[o];return!l||!a?null:{x:l.left-a.left,y:l.top-a.top,scaleX:l.width/a.width,scaleY:l.height/a.height}},vn="Sortable",pn=s.createContext({activeIndex:-1,containerId:vn,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:hn,disabled:{draggable:!1,droppable:!1}});function co(e){let{children:t,id:n,items:r,strategy:o=hn,disabled:i=!1}=e;const{active:a,dragOverlay:l,droppableRects:c,over:d,measureDroppableContainers:f}=St(),u=Xe(vn,n),h=l.rect!==null,g=s.useMemo(()=>r.map(E=>typeof E=="object"&&"id"in E?E.id:E),[r]),x=a!=null,v=a?g.indexOf(a.id):-1,p=d?g.indexOf(d.id):-1,m=s.useRef(g),y=!ao(g,m.current),b=p!==-1&&v===-1||y,S=lo(i);H(()=>{y&&x&&f(g)},[y,g,x,f]),s.useEffect(()=>{m.current=g},[g]);const R=s.useMemo(()=>({activeIndex:v,containerId:u,disabled:S,disableTransforms:b,items:g,overIndex:p,useDragOverlay:h,sortedRects:so(g,c),strategy:o}),[v,u,S.draggable,S.droppable,b,g,p,c,h,o]);return s.createElement(pn.Provider,{value:R},t)}const uo=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return Rt(n,r,o).indexOf(t)},fo=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:a,previousItems:l,previousContainerId:c,transition:d}=e;return!d||!r||l!==i&&o===a?!1:n?!0:a!==o&&t===c},go={duration:200,easing:"ease"},bn="transform",ho=ue.Transition.toString({property:bn,duration:0,easing:"linear"}),vo={roleDescription:"sortable"};function po(e){let{disabled:t,index:n,node:r,rect:o}=e;const[i,a]=s.useState(null),l=s.useRef(n);return H(()=>{if(!t&&n!==l.current&&r.current){const c=o.current;if(c){const d=xe(r.current,{ignoreTransform:!0}),f={x:c.left-d.left,y:c.top-d.top,scaleX:c.width/d.width,scaleY:c.height/d.height};(f.x||f.y)&&a(f)}}n!==l.current&&(l.current=n)},[t,n,r,o]),s.useEffect(()=>{i&&a(null)},[i]),i}function bo(e){let{animateLayoutChanges:t=fo,attributes:n,disabled:r,data:o,getNewIndex:i=uo,id:a,strategy:l,resizeObserverConfig:c,transition:d=go}=e;const{items:f,containerId:u,activeIndex:h,disabled:g,disableTransforms:x,sortedRects:v,overIndex:p,useDragOverlay:m,strategy:y}=s.useContext(pn),b=mo(r,g),S=f.indexOf(a),R=s.useMemo(()=>({sortable:{containerId:u,index:S,items:f},...o}),[u,o,S,f]),E=s.useMemo(()=>f.slice(f.indexOf(a)),[f,a]),{rect:w,node:D,isOver:O,setNodeRef:I}=Vr({id:a,data:R,disabled:b.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...c}}),{active:M,activatorEvent:U,activeNodeRect:W,attributes:q,setNodeRef:De,listeners:je,isDragging:B,over:Ye,setActivatorNodeRef:Q,transform:Ce}=Ur({id:a,data:R,attributes:{...vo,...n},disabled:b.draggable}),Ke=An(I,De),z=!!M,Z=z&&!x&&Ve(h)&&Ve(p),de=!m&&B,Se=de&&Z?Ce:null,Ue=Z?Se??(l??y)({rects:v,activeNodeRect:W,activeIndex:h,overIndex:p,index:S}):null,re=Ve(h)&&Ve(p)?i({id:a,items:f,activeIndex:h,overIndex:p}):S,ee=M?.id,A=s.useRef({activeId:ee,items:f,newIndex:re,containerId:u}),Re=f!==A.current.items,J=t({active:M,containerId:u,isDragging:B,isSorting:z,id:a,index:S,items:f,newIndex:A.current.newIndex,previousItems:A.current.items,previousContainerId:A.current.containerId,transition:d,wasDragging:A.current.activeId!=null}),fe=po({disabled:!J,index:S,node:D,rect:w});return s.useEffect(()=>{z&&A.current.newIndex!==re&&(A.current.newIndex=re),u!==A.current.containerId&&(A.current.containerId=u),f!==A.current.items&&(A.current.items=f)},[z,re,u,f]),s.useEffect(()=>{if(ee===A.current.activeId)return;if(ee!=null&&A.current.activeId==null){A.current.activeId=ee;return}const ge=setTimeout(()=>{A.current.activeId=ee},50);return()=>clearTimeout(ge)},[ee]),{active:M,activeIndex:h,attributes:q,data:R,rect:w,index:S,newIndex:re,items:f,isOver:O,isSorting:z,isDragging:B,listeners:je,node:D,overIndex:p,over:Ye,setNodeRef:Ke,setActivatorNodeRef:Q,setDroppableNodeRef:I,setDraggableNodeRef:De,transform:fe??Ue,transition:te()};function te(){if(fe||Re&&A.current.newIndex===S)return ho;if(!(de&&!rt(U)||!d)&&(z||J))return ue.Transition.toString({...d,property:bn})}}function mo(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e?.draggable)!=null?n:t.draggable,droppable:(r=e?.droppable)!=null?r:t.droppable}}function et(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&typeof t.sortable=="object"&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const yo=[C.Down,C.Right,C.Up,C.Left],wo=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:i,over:a,scrollableAncestors:l}}=t;if(yo.includes(e.code)){if(e.preventDefault(),!n||!r)return;const c=[];i.getEnabled().forEach(u=>{if(!u||u!=null&&u.disabled)return;const h=o.get(u.id);if(h)switch(e.code){case C.Down:r.top<h.top&&c.push(u);break;case C.Up:r.top>h.top&&c.push(u);break;case C.Left:r.left>h.left&&c.push(u);break;case C.Right:r.left<h.left&&c.push(u);break}});const d=Vn({collisionRect:r,droppableRects:o,droppableContainers:c});let f=Gt(d,"id");if(f===a?.id&&d.length>1&&(f=d[1].id),f!=null){const u=i.get(n.id),h=i.get(f),g=h?o.get(h.id):null,x=h?.node.current;if(x&&g&&u&&h){const p=ot(x).some((E,w)=>l[w]!==E),m=mn(u,h),y=xo(u,h),b=p||!m?{x:0,y:0}:{x:y?r.width-g.width:0,y:y?r.height-g.height:0},S={x:g.left,y:g.top};return b.x&&b.y?S:Pe(S,b)}}}};function mn(e,t){return!et(e)||!et(t)?!1:e.data.current.sortable.containerId===t.data.current.sortable.containerId}function xo(e,t){return!et(e)||!et(t)||!mn(e,t)?!1:e.data.current.sortable.index<t.data.current.sortable.index}exports.CSS=ue;exports.DndContext=jr;exports.DragOverlay=io;exports.KeyboardSensor=wt;exports.PointerSensor=Dt;exports.SortableContext=co;exports.arrayMove=Rt;exports.defaultDropAnimationSideEffects=gn;exports.sortableKeyboardCoordinates=wo;exports.useDndContext=St;exports.useSensor=jn;exports.useSensors=Yn;exports.useSortable=bo;
6
- //# sourceMappingURL=dnd-4IMP_kRN.js.map