@televet/kibble-ui 4.0.1 → 5.0.0-beta.hotfix.1
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.
- package/dist/chunks/alert.types-BKSqs9qY.js +2 -0
- package/dist/chunks/alert.types-BKSqs9qY.js.map +1 -0
- package/dist/chunks/alert.types-C_ygg7fh.js +141 -0
- package/dist/chunks/alert.types-C_ygg7fh.js.map +1 -0
- package/dist/chunks/anatomy-BkGk10kB.js +2 -0
- package/dist/chunks/anatomy-BkGk10kB.js.map +1 -0
- package/dist/chunks/anatomy-zd4ecEFD.js +280 -0
- package/dist/chunks/anatomy-zd4ecEFD.js.map +1 -0
- package/dist/chunks/avatar.component-B1HGlwVW.js +2 -0
- package/dist/chunks/avatar.component-B1HGlwVW.js.map +1 -0
- package/dist/chunks/avatar.component-C-365mx3.js +404 -0
- package/dist/chunks/avatar.component-C-365mx3.js.map +1 -0
- package/dist/chunks/avatar.records-CxLCvZfG.js +2 -0
- package/dist/chunks/avatar.records-CxLCvZfG.js.map +1 -0
- package/dist/chunks/{index-Cv06PsSJ.js → avatar.records-EoZmO3VR.js} +21 -13
- package/dist/chunks/avatar.records-EoZmO3VR.js.map +1 -0
- package/dist/chunks/avatarGroup.component-B-ZOhj7i.js +75 -0
- package/dist/chunks/avatarGroup.component-B-ZOhj7i.js.map +1 -0
- package/dist/chunks/avatarGroup.component-CTBfGiSm.js +2 -0
- package/dist/chunks/avatarGroup.component-CTBfGiSm.js.map +1 -0
- package/dist/chunks/button.component-BO6oee_V.js +69 -0
- package/dist/chunks/button.component-BO6oee_V.js.map +1 -0
- package/dist/chunks/button.component-DjdgBXDC.js +2 -0
- package/dist/chunks/button.component-DjdgBXDC.js.map +1 -0
- package/dist/chunks/button.recipe-Bb0lptGi.js +613 -0
- package/dist/chunks/button.recipe-Bb0lptGi.js.map +1 -0
- package/dist/chunks/button.recipe-flk0XJTS.js +2 -0
- package/dist/chunks/button.recipe-flk0XJTS.js.map +1 -0
- package/dist/chunks/button.types-3lHElsln.js +2 -0
- package/dist/chunks/button.types-3lHElsln.js.map +1 -0
- package/dist/chunks/{button.types-BKXZNvN1.js → button.types-C9PpvmYR.js} +14 -9
- package/dist/chunks/button.types-C9PpvmYR.js.map +1 -0
- package/dist/chunks/buttonGroup.component-CowJsbr7.js +2 -0
- package/dist/chunks/buttonGroup.component-CowJsbr7.js.map +1 -0
- package/dist/chunks/buttonGroup.component-DUK2FgFn.js +70 -0
- package/dist/chunks/buttonGroup.component-DUK2FgFn.js.map +1 -0
- package/dist/chunks/calendar.component-CHIhplfO.js +18 -0
- package/dist/chunks/calendar.component-CHIhplfO.js.map +1 -0
- package/dist/chunks/calendar.component-tOoK1NrU.js +2 -0
- package/dist/chunks/calendar.component-tOoK1NrU.js.map +1 -0
- package/dist/chunks/card.component-B1AznjWF.js +55 -0
- package/dist/chunks/card.component-B1AznjWF.js.map +1 -0
- package/dist/chunks/card.component-BmBiYbMV.js +2 -0
- package/dist/chunks/card.component-BmBiYbMV.js.map +1 -0
- package/dist/chunks/center-Dmlzv1BW.js +20 -0
- package/dist/chunks/center-Dmlzv1BW.js.map +1 -0
- package/dist/chunks/center-kk61ArhQ.js +2 -0
- package/dist/chunks/center-kk61ArhQ.js.map +1 -0
- package/dist/chunks/characterCounter.component-CKDigkoD.js +2 -0
- package/dist/chunks/characterCounter.component-CKDigkoD.js.map +1 -0
- package/dist/chunks/characterCounter.component-Ch3P3GqC.js +82 -0
- package/dist/chunks/characterCounter.component-Ch3P3GqC.js.map +1 -0
- package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js → checkbox.anatomy-BzZ0IkUF.js} +22 -22
- package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js.map → checkbox.anatomy-BzZ0IkUF.js.map} +1 -1
- package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js → checkbox.anatomy-DM39E2Q9.js} +2 -2
- package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js.map → checkbox.anatomy-DM39E2Q9.js.map} +1 -1
- package/dist/chunks/checkbox.component-CiA3Z1zR.js +2 -0
- package/dist/chunks/{checkbox.component-DNOkXggb.js.map → checkbox.component-CiA3Z1zR.js.map} +1 -1
- package/dist/chunks/checkbox.component-DE35wBj-.js +269 -0
- package/dist/chunks/{checkbox.component-Dhjcu89D.js.map → checkbox.component-DE35wBj-.js.map} +1 -1
- package/dist/chunks/checkboxGroup.component-BGBd-roJ.js +2 -0
- package/dist/chunks/checkboxGroup.component-BGBd-roJ.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-CYwGlktu.js +53 -0
- package/dist/chunks/checkboxGroup.component-CYwGlktu.js.map +1 -0
- package/dist/chunks/{config-B3QABP1-.js → config-Djkl1N81.js} +4 -4
- package/dist/chunks/{config-B3QABP1-.js.map → config-Djkl1N81.js.map} +1 -1
- package/dist/chunks/conversationCard.component-BrDGshOG.js +2 -0
- package/dist/chunks/conversationCard.component-BrDGshOG.js.map +1 -0
- package/dist/chunks/conversationCard.component-CMdqD3yN.js +331 -0
- package/dist/chunks/conversationCard.component-CMdqD3yN.js.map +1 -0
- package/dist/chunks/{create-recipe-context-CrEKmpj8.js → create-recipe-context-DfQ-MTih.js} +9 -9
- package/dist/chunks/{create-recipe-context-CrEKmpj8.js.map → create-recipe-context-DfQ-MTih.js.map} +1 -1
- package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js +104 -0
- package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-HXE1VazG.js +2 -0
- package/dist/chunks/create-slot-recipe-context-HXE1VazG.js.map +1 -0
- package/dist/chunks/datePicker.component-C6cD1_HR.js +2 -0
- package/dist/chunks/datePicker.component-C6cD1_HR.js.map +1 -0
- package/dist/chunks/datePicker.component-eHU7IZgC.js +166 -0
- package/dist/chunks/datePicker.component-eHU7IZgC.js.map +1 -0
- package/dist/chunks/datePicker.provider-BWHE-9FA.js +3009 -0
- package/dist/chunks/datePicker.provider-BWHE-9FA.js.map +1 -0
- package/dist/chunks/datePicker.provider-DgarjPPd.js +15 -0
- package/dist/chunks/datePicker.provider-DgarjPPd.js.map +1 -0
- package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js +317 -0
- package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js.map +1 -0
- package/dist/chunks/dateTimePicker.component-REz9iX4S.js +2 -0
- package/dist/chunks/dateTimePicker.component-REz9iX4S.js.map +1 -0
- package/dist/chunks/{dialog-C51vaoYf.js → dialog-B9jifvV4.js} +37 -36
- package/dist/chunks/{dialog-C51vaoYf.js.map → dialog-B9jifvV4.js.map} +1 -1
- package/dist/chunks/dialog-CZFwddWp.js +2 -0
- package/dist/chunks/{dialog-BPhjKQkb.js.map → dialog-CZFwddWp.js.map} +1 -1
- package/dist/chunks/divider.component-BX3zyB7O.js +2 -0
- package/dist/chunks/divider.component-BX3zyB7O.js.map +1 -0
- package/dist/chunks/divider.component-CFOh4Nw3.js +45 -0
- package/dist/chunks/divider.component-CFOh4Nw3.js.map +1 -0
- package/dist/chunks/divider.types-6MEkMNbx.js +7 -0
- package/dist/chunks/divider.types-6MEkMNbx.js.map +1 -0
- package/dist/chunks/divider.types-DBNcs0IR.js +2 -0
- package/dist/chunks/divider.types-DBNcs0IR.js.map +1 -0
- package/dist/chunks/{empty-BU2EAux9.js → empty-DNH84khx.js} +3 -3
- package/dist/chunks/{empty-BU2EAux9.js.map → empty-DNH84khx.js.map} +1 -1
- package/dist/chunks/field.anatomy-Bhj7Mlr7.js +2 -0
- package/dist/chunks/field.anatomy-Bhj7Mlr7.js.map +1 -0
- package/dist/chunks/field.anatomy-C37GEr2p.js +16 -0
- package/dist/chunks/field.anatomy-C37GEr2p.js.map +1 -0
- package/dist/chunks/{format-BRt-TIiQ.js → format-CK7Imh-5.js} +2 -2
- package/dist/chunks/{format-BRt-TIiQ.js.map → format-CK7Imh-5.js.map} +1 -1
- package/dist/chunks/{format-DgHM6wFr.js → format-CqTHHSak.js} +3 -1
- package/dist/chunks/{format-DgHM6wFr.js.map → format-CqTHHSak.js.map} +1 -1
- package/dist/chunks/grid-item-BmCSQ38y.js +78 -0
- package/dist/chunks/grid-item-BmCSQ38y.js.map +1 -0
- package/dist/chunks/grid-item-CH3dbZHL.js +2 -0
- package/dist/chunks/grid-item-CH3dbZHL.js.map +1 -0
- package/dist/chunks/heading.component-7ikcgDco.js +18 -0
- package/dist/chunks/heading.component-7ikcgDco.js.map +1 -0
- package/dist/chunks/heading.component-DMAQO_-m.js +2 -0
- package/dist/chunks/heading.component-DMAQO_-m.js.map +1 -0
- package/dist/chunks/{icon-button-5UcFiA_W.js → icon-button-CcZMCNUJ.js} +3 -3
- package/dist/chunks/{icon-button-5UcFiA_W.js.map → icon-button-CcZMCNUJ.js.map} +1 -1
- package/dist/chunks/icon.component-B1hr5lLa.js +2 -0
- package/dist/chunks/icon.component-B1hr5lLa.js.map +1 -0
- package/dist/chunks/icon.component-PV_nHBId.js +32 -0
- package/dist/chunks/icon.component-PV_nHBId.js.map +1 -0
- package/dist/chunks/{icons-DQ5FafZQ.js → icons-CoSqruIn.js} +5 -5
- package/dist/chunks/{icons-DQ5FafZQ.js.map → icons-CoSqruIn.js.map} +1 -1
- package/dist/chunks/index-B-OGBT0w.js +2 -0
- package/dist/chunks/{index-BEfEzWJx.js.map → index-B-OGBT0w.js.map} +1 -1
- package/dist/chunks/index-B3xJnxjd.js +371 -0
- package/dist/chunks/index-B3xJnxjd.js.map +1 -0
- package/dist/chunks/index-BFUdiDZp.js +2 -0
- package/dist/chunks/{index-2glJ2faJ.js.map → index-BFUdiDZp.js.map} +1 -1
- package/dist/chunks/{index-CVJXrcei.js → index-BGd_2-DY.js} +29 -27
- package/dist/chunks/{index-CVJXrcei.js.map → index-BGd_2-DY.js.map} +1 -1
- package/dist/chunks/index-BXv9lkZC.js +4 -0
- package/dist/chunks/index-BXv9lkZC.js.map +1 -0
- package/dist/chunks/index-BbZjRFzg.js +265 -0
- package/dist/chunks/index-BbZjRFzg.js.map +1 -0
- package/dist/chunks/{index-CYXurbh4.js → index-BgFImxxe.js} +27 -25
- package/dist/chunks/{index-CYXurbh4.js.map → index-BgFImxxe.js.map} +1 -1
- package/dist/chunks/index-BoulS5Zg.js +2 -0
- package/dist/chunks/index-BoulS5Zg.js.map +1 -0
- package/dist/chunks/index-BrJtqTzN.js +4115 -0
- package/dist/chunks/index-BrJtqTzN.js.map +1 -0
- package/dist/chunks/index-C9UYIjEB.js +1584 -0
- package/dist/chunks/index-C9UYIjEB.js.map +1 -0
- package/dist/chunks/index-CQURjLlA.js +3 -0
- package/dist/chunks/index-CQURjLlA.js.map +1 -0
- package/dist/chunks/{index-BXJJKHzT.js → index-CbVKVxMW.js} +54 -52
- package/dist/chunks/{index-BXJJKHzT.js.map → index-CbVKVxMW.js.map} +1 -1
- package/dist/chunks/{index-CWhDtS-n.js → index-Cxrrsmf-.js} +17 -16
- package/dist/chunks/{index-CWhDtS-n.js.map → index-Cxrrsmf-.js.map} +1 -1
- package/dist/chunks/{index-BZBgTxer.js → index-D0DKQnEK.js} +11 -11
- package/dist/chunks/{index-BZBgTxer.js.map → index-D0DKQnEK.js.map} +1 -1
- package/dist/chunks/index-D1RhzPVz.js +984 -0
- package/dist/chunks/index-D1RhzPVz.js.map +1 -0
- package/dist/chunks/index-D3Q0mQNf.js +325 -0
- package/dist/chunks/index-D3Q0mQNf.js.map +1 -0
- package/dist/chunks/index-D6HBfqAu.js +2 -0
- package/dist/chunks/index-D6HBfqAu.js.map +1 -0
- package/dist/chunks/index-D6c4fMjg.js +2 -0
- package/dist/chunks/index-D6c4fMjg.js.map +1 -0
- package/dist/chunks/{index-CfqoBQoP.js → index-D7QT9KIZ.js} +9 -9
- package/dist/chunks/{index-CfqoBQoP.js.map → index-D7QT9KIZ.js.map} +1 -1
- package/dist/chunks/{index-WYcfOUFA.js → index-DIszpWqO.js} +2 -2
- package/dist/chunks/{index-WYcfOUFA.js.map → index-DIszpWqO.js.map} +1 -1
- package/dist/chunks/{index-D0HCo_Ly.js → index-DLe40do7.js} +2 -2
- package/dist/chunks/{index-D0HCo_Ly.js.map → index-DLe40do7.js.map} +1 -1
- package/dist/chunks/index-DS4KlAkI.js +371 -0
- package/dist/chunks/index-DS4KlAkI.js.map +1 -0
- package/dist/chunks/{index-nNZWP0FQ.js → index-DTVestnf.js} +2 -2
- package/dist/chunks/{index-nNZWP0FQ.js.map → index-DTVestnf.js.map} +1 -1
- package/dist/chunks/index-DVyODQn6.js +8 -0
- package/dist/chunks/index-DVyODQn6.js.map +1 -0
- package/dist/chunks/index-D_vndwae.js +3 -0
- package/dist/chunks/index-D_vndwae.js.map +1 -0
- package/dist/chunks/index-DfzXSlq1.js +2477 -0
- package/dist/chunks/index-DfzXSlq1.js.map +1 -0
- package/dist/chunks/{index-BhSvtzbY.js → index-QVc_GVoE.js} +13 -13
- package/dist/chunks/{index-BhSvtzbY.js.map → index-QVc_GVoE.js.map} +1 -1
- package/dist/chunks/index-Ts8g8jZd.js +2 -0
- package/dist/chunks/index-Ts8g8jZd.js.map +1 -0
- package/dist/chunks/index-_913FPya.js +2 -0
- package/dist/chunks/{index-A_vmTNU7.js.map → index-_913FPya.js.map} +1 -1
- package/dist/chunks/index-fHSGm2nC.js +1044 -0
- package/dist/chunks/index-fHSGm2nC.js.map +1 -0
- package/dist/chunks/{index-eNFIsSpE.js → index-kpOEHtZZ.js} +2 -2
- package/dist/chunks/{index-eNFIsSpE.js.map → index-kpOEHtZZ.js.map} +1 -1
- package/dist/chunks/index-rSq6Bry6.js +2 -0
- package/dist/chunks/{index-DAI6_P9H.js.map → index-rSq6Bry6.js.map} +1 -1
- package/dist/chunks/{index-BhPrz8Zu.js → index-wV4hG2vI.js} +19 -19
- package/dist/chunks/{index-BhPrz8Zu.js.map → index-wV4hG2vI.js.map} +1 -1
- package/dist/chunks/index-yh2QitBe.js +2 -0
- package/dist/chunks/index-yh2QitBe.js.map +1 -0
- package/dist/chunks/input-group-CFelIL63.js +78 -0
- package/dist/chunks/input-group-CFelIL63.js.map +1 -0
- package/dist/chunks/input-group-DUdSDk4o.js +2 -0
- package/dist/chunks/input-group-DUdSDk4o.js.map +1 -0
- package/dist/chunks/isToday-BgNkHh5t.js +2 -0
- package/dist/chunks/isToday-BgNkHh5t.js.map +1 -0
- package/dist/chunks/isToday-iCYsPDMT.js +23 -0
- package/dist/chunks/isToday-iCYsPDMT.js.map +1 -0
- package/dist/chunks/link.component--URNKuK2.js +44 -0
- package/dist/chunks/link.component--URNKuK2.js.map +1 -0
- package/dist/chunks/link.component-_YXG8MDq.js +2 -0
- package/dist/chunks/link.component-_YXG8MDq.js.map +1 -0
- package/dist/chunks/{list-D22V_L58.js → list-DTRn3TmT.js} +2 -2
- package/dist/chunks/{list-D22V_L58.js.map → list-DTRn3TmT.js.map} +1 -1
- package/dist/chunks/{list-DwRM9eA_.js → list-v83ZN2MC.js} +2 -2
- package/dist/chunks/{list-DwRM9eA_.js.map → list-v83ZN2MC.js.map} +1 -1
- package/dist/chunks/logo.types-88a31xCx.js +2 -0
- package/dist/chunks/logo.types-88a31xCx.js.map +1 -0
- package/dist/chunks/logo.types-C5GwpHjM.js +51 -0
- package/dist/chunks/logo.types-C5GwpHjM.js.map +1 -0
- package/dist/chunks/menu.component-D4-4xRDj.js +2 -0
- package/dist/chunks/menu.component-D4-4xRDj.js.map +1 -0
- package/dist/chunks/menu.component-DwTen8Uv.js +704 -0
- package/dist/chunks/menu.component-DwTen8Uv.js.map +1 -0
- package/dist/chunks/modal.types-74os4Bqi.js +2 -0
- package/dist/chunks/modal.types-74os4Bqi.js.map +1 -0
- package/dist/chunks/modal.types-B0rK6xJy.js +115 -0
- package/dist/chunks/modal.types-B0rK6xJy.js.map +1 -0
- package/dist/chunks/{notificationCounter.component-Lu4_Owvr.js → notificationCounter.component-BexkISUl.js} +37 -18
- package/dist/chunks/notificationCounter.component-BexkISUl.js.map +1 -0
- package/dist/chunks/notificationCounter.component-DJpUXeXm.js +2 -0
- package/dist/chunks/notificationCounter.component-DJpUXeXm.js.map +1 -0
- package/dist/chunks/numberInput.component-DIABzNV6.js +2 -0
- package/dist/chunks/numberInput.component-DIABzNV6.js.map +1 -0
- package/dist/chunks/numberInput.component-RCwUUzmH.js +227 -0
- package/dist/chunks/numberInput.component-RCwUUzmH.js.map +1 -0
- package/dist/chunks/picture.component-BA2hgdZy.js +2 -0
- package/dist/chunks/picture.component-BA2hgdZy.js.map +1 -0
- package/dist/chunks/picture.component-DzdHIFN_.js +28 -0
- package/dist/chunks/picture.component-DzdHIFN_.js.map +1 -0
- package/dist/chunks/pinInput.types-BCzsoF9r.js +2 -0
- package/dist/chunks/{pinInput.types-Cqm1Px5l.js.map → pinInput.types-BCzsoF9r.js.map} +1 -1
- package/dist/chunks/pinInput.types-CcaAN6P2.js +155 -0
- package/dist/chunks/{pinInput.types-CcN0aX_i.js.map → pinInput.types-CcaAN6P2.js.map} +1 -1
- package/dist/chunks/popover-C7aj8Iwj.js +2 -0
- package/dist/chunks/popover-C7aj8Iwj.js.map +1 -0
- package/dist/chunks/popover-pd70xkY_.js +111 -0
- package/dist/chunks/popover-pd70xkY_.js.map +1 -0
- package/dist/chunks/popover-root-provider-CZDbUJ2K.js +2 -0
- package/dist/chunks/{popover-root-provider-ZB5BcrXn.js.map → popover-root-provider-CZDbUJ2K.js.map} +1 -1
- package/dist/chunks/popover-root-provider-DR0Iuda1.js +44 -0
- package/dist/chunks/{popover-root-provider-CkW1eCBQ.js.map → popover-root-provider-DR0Iuda1.js.map} +1 -1
- package/dist/chunks/popover.component-BBp_5m8e.js +2 -0
- package/dist/chunks/popover.component-BBp_5m8e.js.map +1 -0
- package/dist/chunks/popover.component-DEOUdSu3.js +220 -0
- package/dist/chunks/popover.component-DEOUdSu3.js.map +1 -0
- package/dist/chunks/popover.recipe-B9bkpDfc.js +126 -0
- package/dist/chunks/popover.recipe-B9bkpDfc.js.map +1 -0
- package/dist/chunks/popover.recipe-Czy8Aeft.js +2 -0
- package/dist/chunks/popover.recipe-Czy8Aeft.js.map +1 -0
- package/dist/chunks/popover.types-CQJj3uOX.js +7 -0
- package/dist/chunks/popover.types-CQJj3uOX.js.map +1 -0
- package/dist/chunks/popover.types-ChA9ccQ2.js +2 -0
- package/dist/chunks/popover.types-ChA9ccQ2.js.map +1 -0
- package/dist/chunks/progress-value-text-CFVhPKYk.js +2 -0
- package/dist/chunks/progress-value-text-CFVhPKYk.js.map +1 -0
- package/dist/chunks/progress-value-text-DZkUF2cO.js +58 -0
- package/dist/chunks/progress-value-text-DZkUF2cO.js.map +1 -0
- package/dist/chunks/radioGroup.types-C7A8mLMz.js +2 -0
- package/dist/chunks/radioGroup.types-C7A8mLMz.js.map +1 -0
- package/dist/chunks/radioGroup.types-DJ68ERdO.js +228 -0
- package/dist/chunks/radioGroup.types-DJ68ERdO.js.map +1 -0
- package/dist/chunks/radiomark-Cj0NEJeE.js +2 -0
- package/dist/chunks/radiomark-Cj0NEJeE.js.map +1 -0
- package/dist/chunks/radiomark-DdwVpBDT.js +22 -0
- package/dist/chunks/radiomark-DdwVpBDT.js.map +1 -0
- package/dist/chunks/radiomark.component-D_7wT5VA.js +11 -0
- package/dist/chunks/radiomark.component-D_7wT5VA.js.map +1 -0
- package/dist/chunks/radiomark.component-YJNr68s7.js +2 -0
- package/dist/chunks/radiomark.component-YJNr68s7.js.map +1 -0
- package/dist/chunks/rating-group-CfwdAW9a.js +133 -0
- package/dist/chunks/rating-group-CfwdAW9a.js.map +1 -0
- package/dist/chunks/rating-group-D8QA23q6.js +2 -0
- package/dist/chunks/rating-group-D8QA23q6.js.map +1 -0
- package/dist/chunks/rating.component-BsuGbcxP.js +2 -0
- package/dist/chunks/rating.component-BsuGbcxP.js.map +1 -0
- package/dist/chunks/rating.component-ChzcvUl6.js +70 -0
- package/dist/chunks/rating.component-ChzcvUl6.js.map +1 -0
- package/dist/chunks/ratingDots.component-CVjSZ9JJ.js +2 -0
- package/dist/chunks/ratingDots.component-CVjSZ9JJ.js.map +1 -0
- package/dist/chunks/ratingDots.component-D9WQGVcj.js +147 -0
- package/dist/chunks/ratingDots.component-D9WQGVcj.js.map +1 -0
- package/dist/chunks/{render-strategy-CfHUEDVm.js → render-strategy-kPh1pd2U.js} +2 -2
- package/dist/chunks/{render-strategy-CfHUEDVm.js.map → render-strategy-kPh1pd2U.js.map} +1 -1
- package/dist/chunks/{render-strategy-Dr73HbQf.js → render-strategy-munDZLwL.js} +2 -2
- package/dist/chunks/{render-strategy-Dr73HbQf.js.map → render-strategy-munDZLwL.js.map} +1 -1
- package/dist/chunks/select.component-B4mAPqzN.js +1099 -0
- package/dist/chunks/select.component-B4mAPqzN.js.map +1 -0
- package/dist/chunks/select.component-CCNxMGvb.js +2 -0
- package/dist/chunks/select.component-CCNxMGvb.js.map +1 -0
- package/dist/chunks/{sortableList.component-vxiA7bvr.js → sortableList.component-BlwtnxVj.js} +3 -3
- package/dist/chunks/{sortableList.component-vxiA7bvr.js.map → sortableList.component-BlwtnxVj.js.map} +1 -1
- package/dist/chunks/{sortableList.component-i4dJ9oHN.js → sortableList.component-XfURY7C2.js} +384 -379
- package/dist/chunks/{sortableList.component-i4dJ9oHN.js.map → sortableList.component-XfURY7C2.js.map} +1 -1
- package/dist/chunks/spinner-B9ytCKVs.js +8 -0
- package/dist/chunks/{spinner-C31ZWQmA.js.map → spinner-B9ytCKVs.js.map} +1 -1
- package/dist/chunks/{spinner.component-DPYj17HK.js → spinner.component-B3dkvoO9.js} +53 -45
- package/dist/chunks/spinner.component-B3dkvoO9.js.map +1 -0
- package/dist/chunks/spinner.component-DuW1_IWM.js +2 -0
- package/dist/chunks/spinner.component-DuW1_IWM.js.map +1 -0
- package/dist/chunks/styledAvatar.types-CcP-Vl9c.js +2 -0
- package/dist/chunks/styledAvatar.types-CcP-Vl9c.js.map +1 -0
- package/dist/chunks/styledAvatar.types-cR6PNPxA.js +69 -0
- package/dist/chunks/styledAvatar.types-cR6PNPxA.js.map +1 -0
- package/dist/chunks/swatch.types-AZLB8OWG.js +2 -0
- package/dist/chunks/swatch.types-AZLB8OWG.js.map +1 -0
- package/dist/chunks/{swatch.types-CXlghcLw.js → swatch.types-CkrkMi11.js} +21 -20
- package/dist/chunks/swatch.types-CkrkMi11.js.map +1 -0
- package/dist/chunks/switch.component-CgzCLoTB.js +2 -0
- package/dist/chunks/{switch.component-Cke7O8gk.js.map → switch.component-CgzCLoTB.js.map} +1 -1
- package/dist/chunks/switch.component-CpV7mnhR.js +155 -0
- package/dist/chunks/{switch.component-C88jBbo_.js.map → switch.component-CpV7mnhR.js.map} +1 -1
- package/dist/chunks/{tab.types-DCkus0y2.js → tab.types-DaJfFBvr.js} +136 -117
- package/dist/chunks/{tab.types-DCkus0y2.js.map → tab.types-DaJfFBvr.js.map} +1 -1
- package/dist/chunks/tab.types-DwPEP_5N.js +2 -0
- package/dist/chunks/{tab.types-DpmXyw5C.js.map → tab.types-DwPEP_5N.js.map} +1 -1
- package/dist/chunks/tag.component-B7V76XfM.js +84 -0
- package/dist/chunks/tag.component-B7V76XfM.js.map +1 -0
- package/dist/chunks/tag.component-C98Wf07v.js +2 -0
- package/dist/chunks/tag.component-C98Wf07v.js.map +1 -0
- package/dist/chunks/tagBlock.component-BGEvRu81.js +2 -0
- package/dist/chunks/tagBlock.component-BGEvRu81.js.map +1 -0
- package/dist/chunks/tagBlock.component-Cor6eakc.js +170 -0
- package/dist/chunks/tagBlock.component-Cor6eakc.js.map +1 -0
- package/dist/chunks/text.component-CdTyTFds.js +12 -0
- package/dist/chunks/text.component-CdTyTFds.js.map +1 -0
- package/dist/chunks/text.component-CeioUl0G.js +2 -0
- package/dist/chunks/text.component-CeioUl0G.js.map +1 -0
- package/dist/chunks/textInput.component-BC0Hi8R_.js +108 -0
- package/dist/chunks/textInput.component-BC0Hi8R_.js.map +1 -0
- package/dist/chunks/textInput.component-C1vwy6pL.js +2 -0
- package/dist/chunks/textInput.component-C1vwy6pL.js.map +1 -0
- package/dist/chunks/textarea.component-D15hA9Jb.js +2 -0
- package/dist/chunks/{textarea.component-Dk2IMKkr.js.map → textarea.component-D15hA9Jb.js.map} +1 -1
- package/dist/chunks/textarea.component-axjxiv82.js +96 -0
- package/dist/chunks/{textarea.component-BYexywy1.js.map → textarea.component-axjxiv82.js.map} +1 -1
- package/dist/chunks/{theme.provider-w_I9S10D.js → theme.provider-BD7qyu-B.js} +1405 -1339
- package/dist/chunks/theme.provider-BD7qyu-B.js.map +1 -0
- package/dist/chunks/theme.provider-DFwAy7tr.js +28 -0
- package/dist/chunks/theme.provider-DFwAy7tr.js.map +1 -0
- package/dist/chunks/timePicker.component-Cz2XxVL6.js +2 -0
- package/dist/chunks/timePicker.component-Cz2XxVL6.js.map +1 -0
- package/dist/chunks/timePicker.component-u34pHrzr.js +220 -0
- package/dist/chunks/timePicker.component-u34pHrzr.js.map +1 -0
- package/dist/chunks/timeRange.component-BiA1VWQ8.js +19 -0
- package/dist/chunks/timeRange.component-BiA1VWQ8.js.map +1 -0
- package/dist/chunks/timeRange.component-tU_nCTmS.js +2 -0
- package/dist/chunks/timeRange.component-tU_nCTmS.js.map +1 -0
- package/dist/chunks/timestamp.component-DBmc7D23.js +36 -0
- package/dist/chunks/timestamp.component-DBmc7D23.js.map +1 -0
- package/dist/chunks/timestamp.component-DYZHgaas.js +2 -0
- package/dist/chunks/timestamp.component-DYZHgaas.js.map +1 -0
- package/dist/chunks/toaster.records-CDSkoMuU.js +2 -0
- package/dist/chunks/{toaster.records-eCXbM85Z.js.map → toaster.records-CDSkoMuU.js.map} +1 -1
- package/dist/chunks/{toaster.records-oryzm5Go.js → toaster.records-Cb3hbtuY.js} +103 -102
- package/dist/chunks/{toaster.records-oryzm5Go.js.map → toaster.records-Cb3hbtuY.js.map} +1 -1
- package/dist/chunks/tooltip.component-BkFDi5yK.js +2 -0
- package/dist/chunks/{tooltip.component-CATpCSkf.js.map → tooltip.component-BkFDi5yK.js.map} +1 -1
- package/dist/chunks/{tooltip.component-mjdP7nPN.js → tooltip.component-C_NS-AoH.js} +126 -103
- package/dist/chunks/{tooltip.component-mjdP7nPN.js.map → tooltip.component-C_NS-AoH.js.map} +1 -1
- package/dist/chunks/{typography.records-CpYV1kns.js → typography.records-BEd2lI_g.js} +10 -22
- package/dist/chunks/typography.records-BEd2lI_g.js.map +1 -0
- package/dist/chunks/typography.records-Cg_lT1Z3.js +2 -0
- package/dist/chunks/typography.records-Cg_lT1Z3.js.map +1 -0
- package/dist/chunks/{use-field-context-BTxME29X.js → use-field-context-Cm29IQ7H.js} +2 -2
- package/dist/chunks/{use-field-context-BTxME29X.js.map → use-field-context-Cm29IQ7H.js.map} +1 -1
- package/dist/chunks/{use-field-context-RQeEcNpb.js → use-field-context-DrC9mrDd.js} +2 -2
- package/dist/chunks/{use-field-context-RQeEcNpb.js.map → use-field-context-DrC9mrDd.js.map} +1 -1
- package/dist/chunks/use-locale-context-Bw4Gg9Z0.js +738 -0
- package/dist/chunks/use-locale-context-Bw4Gg9Z0.js.map +1 -0
- package/dist/chunks/use-locale-context-ym21RUxU.js +22 -0
- package/dist/chunks/use-locale-context-ym21RUxU.js.map +1 -0
- package/dist/chunks/useIconTextSizeMap-BK-pUrQv.js.map +1 -1
- package/dist/chunks/useIconTextSizeMap-BXmABb54.js.map +1 -1
- package/dist/chunks/withFormControl-DePFf9SY.js +367 -0
- package/dist/chunks/withFormControl-DePFf9SY.js.map +1 -0
- package/dist/chunks/withFormControl-wZA87Sd4.js +2 -0
- package/dist/chunks/withFormControl-wZA87Sd4.js.map +1 -0
- package/dist/chunks/withTruncation-DE3FFPE7.js +2 -0
- package/dist/chunks/withTruncation-DE3FFPE7.js.map +1 -0
- package/dist/chunks/withTruncation-DTCfQ2yk.js +92 -0
- package/dist/chunks/withTruncation-DTCfQ2yk.js.map +1 -0
- package/dist/chunks/{wrap-CRNL4bE6.js → wrap-Cu5ZEseD.js} +2 -2
- package/dist/chunks/{wrap-CRNL4bE6.js.map → wrap-Cu5ZEseD.js.map} +1 -1
- package/dist/cjs/chakra/index.cjs +2 -2
- package/dist/cjs/chakra/index.cjs.map +1 -1
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/Button/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/Calendar/index.cjs +2 -0
- package/dist/cjs/components/Calendar/index.cjs.map +1 -0
- package/dist/cjs/components/Card/index.cjs +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/DateTimePicker/index.cjs +2 -0
- package/dist/cjs/components/DateTimePicker/index.cjs.map +1 -0
- package/dist/cjs/components/Divider/index.cjs +1 -1
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
- package/dist/cjs/components/Icon/index.cjs +1 -1
- package/dist/cjs/components/Link/index.cjs +1 -1
- package/dist/cjs/components/Logo/index.cjs +1 -1
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
- package/dist/cjs/components/NumberInput/index.cjs +2 -0
- package/dist/cjs/components/NumberInput/index.cjs.map +1 -0
- package/dist/cjs/components/Picture/index.cjs +1 -1
- package/dist/cjs/components/PinInput/index.cjs +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/Progress/index.cjs +2 -0
- package/dist/cjs/components/Progress/index.cjs.map +1 -0
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/Radiomark/index.cjs +2 -0
- package/dist/cjs/components/Radiomark/index.cjs.map +1 -0
- package/dist/cjs/components/Rating/index.cjs +2 -0
- package/dist/cjs/components/Rating/index.cjs.map +1 -0
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/Tag/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs +1 -1
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/components/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Toast/index.cjs +1 -1
- package/dist/cjs/components/Toast/index.cjs.map +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -1
- package/dist/cjs/hooks/useColorMode/index.cjs.map +1 -1
- package/dist/cjs/hooks/useColorModeValue/index.cjs.map +1 -1
- package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/index.cjs +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
- package/dist/esm/chakra/index.js +1682 -1997
- package/dist/esm/chakra/index.js.map +1 -1
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/Button/index.js +2 -2
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/Calendar/index.js +5 -0
- package/dist/esm/components/Calendar/index.js.map +1 -0
- package/dist/esm/components/Card/index.js +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +4 -3
- package/dist/esm/components/DatePicker/index.js.map +1 -1
- package/dist/esm/components/DateTimePicker/index.js +7 -0
- package/dist/esm/components/DateTimePicker/index.js.map +1 -0
- package/dist/esm/components/Divider/index.js +6 -5
- package/dist/esm/components/Divider/index.js.map +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Icon/generated/index.js +556 -342
- package/dist/esm/components/Icon/generated/index.js.map +1 -1
- package/dist/esm/components/Icon/index.js +1 -1
- package/dist/esm/components/Link/index.js +1 -1
- package/dist/esm/components/Logo/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +1 -1
- package/dist/esm/components/NumberInput/index.js +5 -0
- package/dist/esm/components/NumberInput/index.js.map +1 -0
- package/dist/esm/components/Picture/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +2 -2
- package/dist/esm/components/Progress/index.js +57 -0
- package/dist/esm/components/Progress/index.js.map +1 -0
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/Radiomark/index.js +5 -0
- package/dist/esm/components/Radiomark/index.js.map +1 -0
- package/dist/esm/components/Rating/index.js +5 -0
- package/dist/esm/components/Rating/index.js.map +1 -0
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Swatch/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/Tag/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +1 -1
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Timestamp/index.js +1 -1
- package/dist/esm/components/Toast/index.js +26 -23
- package/dist/esm/components/Toast/index.js.map +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +131 -117
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hooks/useBreakpoint/index.js.map +1 -1
- package/dist/esm/hooks/useColorMode/index.js.map +1 -1
- package/dist/esm/hooks/useColorModeValue/index.js.map +1 -1
- package/dist/esm/hooks/useDeviceType/index.js.map +1 -1
- package/dist/esm/index.js +148 -134
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/esm/theme/semanticTokens/index.js +4 -4
- package/dist/esm/theme/semanticTokens/index.js.map +1 -1
- package/dist/types/chakra/index.d.ts +2 -4
- package/dist/types/components/Alert/alert.component.d.ts +28 -1
- package/dist/types/components/Alert/alert.recipe.d.ts +3 -2
- package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +12 -1
- package/dist/types/components/Avatar/avatar.component.d.ts +30 -2
- package/dist/types/components/Avatar/avatar.recipe.d.ts +3 -2
- package/dist/types/components/Avatar/avatar.records.d.ts +2 -0
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +9 -1
- package/dist/types/components/Avatar/components/AvatarRemoveButton/avatarRemoveButton.component.d.ts +15 -6
- package/dist/types/components/Avatar/components/AvatarTooltipTriggerWrapper/avatarTooltipTriggerWrapper.component.d.ts +2 -0
- package/dist/types/components/AvatarGroup/avatarGroup.component.d.ts +27 -3
- package/dist/types/components/Button/button.component.d.ts +14 -1
- package/dist/types/components/Button/button.recipe.d.ts +3 -1
- package/dist/types/components/Button/button.types.d.ts +2 -2
- package/dist/types/components/ButtonGroup/buttonGroup.component.d.ts +12 -1
- package/dist/types/components/Calendar/calendar.component.d.ts +19 -0
- package/dist/types/components/Calendar/index.d.ts +1 -0
- package/dist/types/components/Card/card.component.d.ts +41 -1
- package/dist/types/components/CharacterCounter/characterCounter.component.d.ts +9 -1
- package/dist/types/components/Checkbox/checkbox.component.d.ts +19 -2
- package/dist/types/components/Checkbox/checkbox.recipe.d.ts +3 -2
- package/dist/types/components/Checkbox/checkbox.types.d.ts +4 -0
- package/dist/types/components/Checkbox/index.d.ts +1 -0
- package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +12 -2
- package/dist/types/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +11 -1
- package/dist/types/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +22 -1
- package/dist/types/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +8 -1
- package/dist/types/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +8 -1
- package/dist/types/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +12 -1
- package/dist/types/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +7 -1
- package/dist/types/components/ConversationCard/conversationCard.component.d.ts +29 -1
- package/dist/types/components/DatePicker/components/DatePickerCalendar/datePickerCalendar.component.d.ts +10 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +11 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +5 -4
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerFooter/datePickerFooter.component.d.ts +9 -0
- package/dist/types/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.d.ts +15 -1
- package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +6 -1
- package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +11 -1
- package/dist/types/components/DatePicker/context/datePicker.context.d.ts +3 -0
- package/dist/types/components/DatePicker/context/datePicker.provider.d.ts +10 -1
- package/dist/types/components/DatePicker/datePicker.component.d.ts +25 -11
- package/dist/types/components/DatePicker/datePicker.types.d.ts +18 -0
- package/dist/types/components/DatePicker/hooks/useComputeCornerRoundingFlags.d.ts +10 -0
- package/dist/types/components/DatePicker/utils/getDayVariant.d.ts +12 -0
- package/dist/types/components/DateTimePicker/components/DateTimePickerCustomView/dateTimePickerCustomView.component.d.ts +7 -0
- package/dist/types/components/DateTimePicker/components/DateTimePickerQuickOptions/dateTimePickerQuickOptions.component.d.ts +14 -0
- package/dist/types/components/DateTimePicker/components/DateTimePickerRangeSelector/dateTimePickerRangeSelector.component.d.ts +10 -0
- package/dist/types/components/DateTimePicker/dateTimePicker.component.d.ts +33 -0
- package/dist/types/components/DateTimePicker/dateTimePicker.records.d.ts +8 -0
- package/dist/types/components/DateTimePicker/dateTimePicker.types.d.ts +11 -0
- package/dist/types/components/DateTimePicker/index.d.ts +2 -0
- package/dist/types/components/DateTimePicker/utils/quickOptions.d.ts +13 -0
- package/dist/types/components/Divider/divider.component.d.ts +7 -2
- package/dist/types/components/Heading/heading.component.d.ts +12 -0
- package/dist/types/components/Icon/generated/Backspace.d.ts +10 -0
- package/dist/types/components/Icon/generated/CaretLeft.d.ts +10 -0
- package/dist/types/components/Icon/generated/CheckList.d.ts +10 -0
- package/dist/types/components/Icon/generated/Globe.d.ts +10 -0
- package/dist/types/components/Icon/generated/InputAlt.d.ts +10 -0
- package/dist/types/components/Icon/generated/LightBulb.d.ts +10 -0
- package/dist/types/components/Icon/generated/SelectDropDown.d.ts +10 -0
- package/dist/types/components/Icon/generated/TextArea.d.ts +10 -0
- package/dist/types/components/Icon/generated/TextBlock.d.ts +10 -0
- package/dist/types/components/Icon/generated/index.d.ts +1 -1
- package/dist/types/components/Icon/icon.component.d.ts +10 -0
- package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +7 -0
- package/dist/types/components/Link/link.component.d.ts +19 -0
- package/dist/types/components/Logo/logo.component.d.ts +14 -1
- package/dist/types/components/Menu/components/MenuButton/menuButton.component.d.ts +22 -0
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +34 -5
- package/dist/types/components/Menu/components/MenuList/menuList.types.d.ts +18 -0
- package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.component.d.ts +17 -0
- package/dist/types/components/Menu/index.d.ts +4 -0
- package/dist/types/components/Menu/menu.component.d.ts +22 -19
- package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
- package/dist/types/components/Menu/menu.types.d.ts +17 -0
- package/dist/types/components/Modal/components/ModalFooter/modalFooter.component.d.ts +24 -1
- package/dist/types/components/Modal/modal.component.d.ts +46 -1
- package/dist/types/components/Modal/modal.recipe.d.ts +2 -2
- package/dist/types/components/NotificationCounter/notificationCounter.component.d.ts +19 -1
- package/dist/types/components/NotificationCounter/notificationCounter.records.d.ts +5 -0
- package/dist/types/components/NumberInput/index.d.ts +2 -0
- package/dist/types/components/NumberInput/numberInput.component.d.ts +40 -0
- package/dist/types/components/NumberInput/numberInput.recipe.d.ts +21 -0
- package/dist/types/components/NumberInput/numberInput.types.d.ts +4 -0
- package/dist/types/components/Picture/picture.component.d.ts +9 -1
- package/dist/types/components/PinInput/pinInput.component.d.ts +19 -1
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +1 -1
- package/dist/types/components/Popover/components/PopoverFooter/popoverFooter.component.d.ts +26 -1
- package/dist/types/components/Popover/components/PopoverHeader/popoverHeader.component.d.ts +19 -1
- package/dist/types/components/Popover/popover.component.d.ts +45 -2
- package/dist/types/components/Popover/popover.recipe.d.ts +4 -3
- package/dist/types/components/Popover/popover.types.d.ts +1 -1
- package/dist/types/components/Progress/index.d.ts +2 -0
- package/dist/types/components/Progress/progress.component.d.ts +26 -0
- package/dist/types/components/Progress/progress.recipe.d.ts +38 -0
- package/dist/types/components/Progress/progress.types.d.ts +9 -0
- package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +15 -0
- package/dist/types/components/RadioGroup/radioGroup.component.d.ts +22 -2
- package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +4 -2
- package/dist/types/components/Radiomark/index.d.ts +1 -0
- package/dist/types/components/Radiomark/radiomark.component.d.ts +12 -0
- package/dist/types/components/Radiomark/radiomark.recipe.d.ts +2 -0
- package/dist/types/components/Rating/index.d.ts +1 -0
- package/dist/types/components/Rating/rating.component.d.ts +37 -0
- package/dist/types/components/Rating/rating.recipe.d.ts +10 -0
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +10 -1
- package/dist/types/components/RatingDots/ratingDots.component.d.ts +12 -0
- package/dist/types/components/Select/components/SelectItemContent/selectItemContent.component.d.ts +6 -0
- package/dist/types/components/Select/components/SelectTrigger/selectTrigger.component.d.ts +7 -2
- package/dist/types/components/Select/select.component.d.ts +53 -3
- package/dist/types/components/Select/select.types.d.ts +3 -0
- package/dist/types/components/SortableList/components/SortableListDragHandle/sortableListDragHandle.component.d.ts +1 -1
- package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +13 -1
- package/dist/types/components/SortableList/sortableList.component.d.ts +13 -1
- package/dist/types/components/Spinner/spinner.component.d.ts +28 -2
- package/dist/types/components/Spinner/spinner.recipe.d.ts +16 -1
- package/dist/types/components/StyledAvatar/styledAvatar.component.d.ts +10 -1
- package/dist/types/components/StyledAvatar/styledAvatar.types.d.ts +1 -1
- package/dist/types/components/Swatch/swatch.component.d.ts +10 -1
- package/dist/types/components/Switch/switch.component.d.ts +15 -0
- package/dist/types/components/Switch/switch.recipe.d.ts +3 -2
- package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +14 -1
- package/dist/types/components/Tabs/tabs.component.d.ts +17 -2
- package/dist/types/components/Tabs/tabs.recipe.d.ts +3 -2
- package/dist/types/components/Tag/tag.component.d.ts +31 -0
- package/dist/types/components/Tag/tag.recipe.d.ts +3 -2
- package/dist/types/components/TagBlock/tagBlock.component.d.ts +34 -1
- package/dist/types/components/Text/text.component.d.ts +13 -0
- package/dist/types/components/TextInput/textInput.component.d.ts +28 -0
- package/dist/types/components/Textarea/textarea.component.d.ts +13 -0
- package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +10 -1
- package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +9 -1
- package/dist/types/components/TimePicker/timePicker.component.d.ts +19 -1
- package/dist/types/components/TimeRange/timeRange.component.d.ts +12 -1
- package/dist/types/components/Timestamp/timestamp.component.d.ts +18 -1
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -1
- package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +6 -1
- package/dist/types/components/Toast/toast.component.d.ts +19 -1
- package/dist/types/components/Toast/toast.recipe.d.ts +3 -2
- package/dist/types/components/Toast/toast.types.d.ts +13 -0
- package/dist/types/components/Toast/useToast.d.ts +5 -0
- package/dist/types/components/Tooltip/tooltip.component.d.ts +26 -0
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +10 -1
- package/dist/types/components/index.d.ts +5 -0
- package/dist/types/hocs/withFormControl/withFormControl.d.ts +44 -0
- package/dist/types/hocs/withTruncation.d.ts +8 -0
- package/dist/types/hooks/useBreakpoint/index.d.ts +4 -0
- package/dist/types/hooks/useColorMode/index.d.ts +39 -0
- package/dist/types/hooks/useColorModeValue/index.d.ts +6 -0
- package/dist/types/hooks/useDeviceType/index.d.ts +4 -0
- package/dist/types/hooks/useIconTextSizeMap.d.ts +5 -0
- package/dist/types/shared/components/withVariantStory.d.ts +6 -0
- package/dist/types/shared/types/index.d.ts +1 -0
- package/dist/types/theme/providers/theme.provider.d.ts +1 -0
- package/dist/types/theme/recipes/List/list.recipe.d.ts +14 -0
- package/dist/types/theme/recipes/Table/table.recipe.d.ts +29 -0
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +91 -82
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +182 -164
- package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +4 -3
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -2
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
- package/package.json +21 -18
- package/dist/chunks/alert.types-De_IDZNV.js +0 -2
- package/dist/chunks/alert.types-De_IDZNV.js.map +0 -1
- package/dist/chunks/alert.types-NkOwCG0-.js +0 -139
- package/dist/chunks/alert.types-NkOwCG0-.js.map +0 -1
- package/dist/chunks/avatar.component-CqFsGMt6.js +0 -2
- package/dist/chunks/avatar.component-CqFsGMt6.js.map +0 -1
- package/dist/chunks/avatar.component-lHszPWEi.js +0 -394
- package/dist/chunks/avatar.component-lHszPWEi.js.map +0 -1
- package/dist/chunks/avatarGroup.component-BPYIE5NT.js +0 -2
- package/dist/chunks/avatarGroup.component-BPYIE5NT.js.map +0 -1
- package/dist/chunks/avatarGroup.component-EFxRAKiJ.js +0 -67
- package/dist/chunks/avatarGroup.component-EFxRAKiJ.js.map +0 -1
- package/dist/chunks/button.component-BE20YKDd.js +0 -67
- package/dist/chunks/button.component-BE20YKDd.js.map +0 -1
- package/dist/chunks/button.component-DAv5WxDc.js +0 -2
- package/dist/chunks/button.component-DAv5WxDc.js.map +0 -1
- package/dist/chunks/button.recipe-7PSQJbyz.js +0 -2
- package/dist/chunks/button.recipe-7PSQJbyz.js.map +0 -1
- package/dist/chunks/button.recipe-ClmsjdZI.js +0 -910
- package/dist/chunks/button.recipe-ClmsjdZI.js.map +0 -1
- package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
- package/dist/chunks/button.types-Bl1awbi0.js +0 -2
- package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
- package/dist/chunks/buttonGroup.component-CQBXYOhq.js +0 -2
- package/dist/chunks/buttonGroup.component-CQBXYOhq.js.map +0 -1
- package/dist/chunks/buttonGroup.component-CheBkHw6.js +0 -68
- package/dist/chunks/buttonGroup.component-CheBkHw6.js.map +0 -1
- package/dist/chunks/card.component-BZxC19F_.js +0 -2
- package/dist/chunks/card.component-BZxC19F_.js.map +0 -1
- package/dist/chunks/card.component-DJcYzMX1.js +0 -58
- package/dist/chunks/card.component-DJcYzMX1.js.map +0 -1
- package/dist/chunks/characterCounter.component-C6ZwdIiA.js +0 -84
- package/dist/chunks/characterCounter.component-C6ZwdIiA.js.map +0 -1
- package/dist/chunks/characterCounter.component-D0ccCiBG.js +0 -2
- package/dist/chunks/characterCounter.component-D0ccCiBG.js.map +0 -1
- package/dist/chunks/checkbox.component-DNOkXggb.js +0 -260
- package/dist/chunks/checkbox.component-Dhjcu89D.js +0 -2
- package/dist/chunks/checkboxGroup.component-BNKJqMKi.js +0 -52
- package/dist/chunks/checkboxGroup.component-BNKJqMKi.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-M-nvlAbK.js +0 -2
- package/dist/chunks/checkboxGroup.component-M-nvlAbK.js.map +0 -1
- package/dist/chunks/conversationCard.component-BRJbMpwH.js +0 -2
- package/dist/chunks/conversationCard.component-BRJbMpwH.js.map +0 -1
- package/dist/chunks/conversationCard.component-DmSuBQ4_.js +0 -330
- package/dist/chunks/conversationCard.component-DmSuBQ4_.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-CViypfwB.js +0 -2
- package/dist/chunks/create-slot-recipe-context-CViypfwB.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js +0 -97
- package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js.map +0 -1
- package/dist/chunks/datePicker.component-BOsFZiDy.js +0 -15
- package/dist/chunks/datePicker.component-BOsFZiDy.js.map +0 -1
- package/dist/chunks/datePicker.component-Dzh4WccC.js +0 -3019
- package/dist/chunks/datePicker.component-Dzh4WccC.js.map +0 -1
- package/dist/chunks/dialog-BPhjKQkb.js +0 -2
- package/dist/chunks/divider.types-Dht8eAh4.js +0 -2
- package/dist/chunks/divider.types-Dht8eAh4.js.map +0 -1
- package/dist/chunks/divider.types-ZN_wlva7.js +0 -47
- package/dist/chunks/divider.types-ZN_wlva7.js.map +0 -1
- package/dist/chunks/grid-item-DPdTp_nI.js +0 -94
- package/dist/chunks/grid-item-DPdTp_nI.js.map +0 -1
- package/dist/chunks/grid-item-qnuioQmr.js +0 -2
- package/dist/chunks/grid-item-qnuioQmr.js.map +0 -1
- package/dist/chunks/heading.component-C_cdAGTd.js +0 -2
- package/dist/chunks/heading.component-C_cdAGTd.js.map +0 -1
- package/dist/chunks/heading.component-SiJnYLOw.js +0 -12
- package/dist/chunks/heading.component-SiJnYLOw.js.map +0 -1
- package/dist/chunks/icon.component-Bhnf2n1O.js +0 -2
- package/dist/chunks/icon.component-Bhnf2n1O.js.map +0 -1
- package/dist/chunks/icon.component-C5bgxAD2.js +0 -32
- package/dist/chunks/icon.component-C5bgxAD2.js.map +0 -1
- package/dist/chunks/index-2glJ2faJ.js +0 -2
- package/dist/chunks/index-7Jpijbq_.js +0 -3
- package/dist/chunks/index-7Jpijbq_.js.map +0 -1
- package/dist/chunks/index-A_vmTNU7.js +0 -2
- package/dist/chunks/index-BEfEzWJx.js +0 -2
- package/dist/chunks/index-Bm5QBNWR.js +0 -8190
- package/dist/chunks/index-Bm5QBNWR.js.map +0 -1
- package/dist/chunks/index-Cv06PsSJ.js.map +0 -1
- package/dist/chunks/index-DA90Dqf9.js +0 -1362
- package/dist/chunks/index-DA90Dqf9.js.map +0 -1
- package/dist/chunks/index-DAI6_P9H.js +0 -2
- package/dist/chunks/index-DMcwHRZ5.js +0 -11
- package/dist/chunks/index-DMcwHRZ5.js.map +0 -1
- package/dist/chunks/index-jnwdAJ25.js +0 -2
- package/dist/chunks/index-jnwdAJ25.js.map +0 -1
- package/dist/chunks/link.component-CvR5CbiT.js +0 -36
- package/dist/chunks/link.component-CvR5CbiT.js.map +0 -1
- package/dist/chunks/link.component-yUJIJbIP.js +0 -2
- package/dist/chunks/link.component-yUJIJbIP.js.map +0 -1
- package/dist/chunks/logo.types-DF4eLSR9.js +0 -45
- package/dist/chunks/logo.types-DF4eLSR9.js.map +0 -1
- package/dist/chunks/logo.types-Zt-yfFAQ.js +0 -2
- package/dist/chunks/logo.types-Zt-yfFAQ.js.map +0 -1
- package/dist/chunks/menu.component-DylZiPAE.js +0 -2
- package/dist/chunks/menu.component-DylZiPAE.js.map +0 -1
- package/dist/chunks/menu.component-xhHsHlGT.js +0 -599
- package/dist/chunks/menu.component-xhHsHlGT.js.map +0 -1
- package/dist/chunks/modal.types-CBos7aXO.js +0 -2
- package/dist/chunks/modal.types-CBos7aXO.js.map +0 -1
- package/dist/chunks/modal.types-CkQIOPTa.js +0 -95
- package/dist/chunks/modal.types-CkQIOPTa.js.map +0 -1
- package/dist/chunks/notificationCounter.component-Lu4_Owvr.js.map +0 -1
- package/dist/chunks/notificationCounter.component-gp2ULnY_.js +0 -2
- package/dist/chunks/notificationCounter.component-gp2ULnY_.js.map +0 -1
- package/dist/chunks/picture.component-CKK-SMvr.js +0 -22
- package/dist/chunks/picture.component-CKK-SMvr.js.map +0 -1
- package/dist/chunks/picture.component-CR6e0wRG.js +0 -2
- package/dist/chunks/picture.component-CR6e0wRG.js.map +0 -1
- package/dist/chunks/pinInput.types-CcN0aX_i.js +0 -145
- package/dist/chunks/pinInput.types-Cqm1Px5l.js +0 -2
- package/dist/chunks/popover-root-provider-CkW1eCBQ.js +0 -43
- package/dist/chunks/popover-root-provider-ZB5BcrXn.js +0 -2
- package/dist/chunks/popover.component-BjS13k9K.js +0 -2
- package/dist/chunks/popover.component-BjS13k9K.js.map +0 -1
- package/dist/chunks/popover.component-C4WKxh4d.js +0 -196
- package/dist/chunks/popover.component-C4WKxh4d.js.map +0 -1
- package/dist/chunks/popover.recipe-Bx25Jhgs.js +0 -2
- package/dist/chunks/popover.recipe-Bx25Jhgs.js.map +0 -1
- package/dist/chunks/popover.recipe-C2nbfvL6.js +0 -241
- package/dist/chunks/popover.recipe-C2nbfvL6.js.map +0 -1
- package/dist/chunks/popover.types-BF2KRf_I.js +0 -2
- package/dist/chunks/popover.types-BF2KRf_I.js.map +0 -1
- package/dist/chunks/popover.types-D1O-Ehsz.js +0 -7
- package/dist/chunks/popover.types-D1O-Ehsz.js.map +0 -1
- package/dist/chunks/radioGroup.types-CZA7RcAn.js +0 -2
- package/dist/chunks/radioGroup.types-CZA7RcAn.js.map +0 -1
- package/dist/chunks/radioGroup.types-Dld5lmgo.js +0 -231
- package/dist/chunks/radioGroup.types-Dld5lmgo.js.map +0 -1
- package/dist/chunks/ratingDots.component-DcrCudac.js +0 -2
- package/dist/chunks/ratingDots.component-DcrCudac.js.map +0 -1
- package/dist/chunks/ratingDots.component-G4GMWvFy.js +0 -138
- package/dist/chunks/ratingDots.component-G4GMWvFy.js.map +0 -1
- package/dist/chunks/select.component-BTWHWvZV.js +0 -1058
- package/dist/chunks/select.component-BTWHWvZV.js.map +0 -1
- package/dist/chunks/select.component-Dyc1yQPO.js +0 -2
- package/dist/chunks/select.component-Dyc1yQPO.js.map +0 -1
- package/dist/chunks/spinner-C31ZWQmA.js +0 -8
- package/dist/chunks/spinner.component-CVVOuFka.js +0 -2
- package/dist/chunks/spinner.component-CVVOuFka.js.map +0 -1
- package/dist/chunks/spinner.component-DPYj17HK.js.map +0 -1
- package/dist/chunks/styledAvatar.types-CMpyDxAM.js +0 -2
- package/dist/chunks/styledAvatar.types-CMpyDxAM.js.map +0 -1
- package/dist/chunks/styledAvatar.types-CS07Zk7c.js +0 -51
- package/dist/chunks/styledAvatar.types-CS07Zk7c.js.map +0 -1
- package/dist/chunks/swatch.types-CXlghcLw.js.map +0 -1
- package/dist/chunks/swatch.types-jaI0KFHU.js +0 -2
- package/dist/chunks/swatch.types-jaI0KFHU.js.map +0 -1
- package/dist/chunks/switch.component-C88jBbo_.js +0 -2
- package/dist/chunks/switch.component-Cke7O8gk.js +0 -154
- package/dist/chunks/tab.types-DpmXyw5C.js +0 -2
- package/dist/chunks/tag.component-79aRVI7u.js +0 -82
- package/dist/chunks/tag.component-79aRVI7u.js.map +0 -1
- package/dist/chunks/tag.component-CAWh9OYa.js +0 -2
- package/dist/chunks/tag.component-CAWh9OYa.js.map +0 -1
- package/dist/chunks/tagBlock.component-Dn7coOgp.js +0 -2
- package/dist/chunks/tagBlock.component-Dn7coOgp.js.map +0 -1
- package/dist/chunks/tagBlock.component-vLA90b5S.js +0 -169
- package/dist/chunks/tagBlock.component-vLA90b5S.js.map +0 -1
- package/dist/chunks/text.component-CHpMvCFa.js +0 -2
- package/dist/chunks/text.component-CHpMvCFa.js.map +0 -1
- package/dist/chunks/text.component-D9w-u_dB.js +0 -12
- package/dist/chunks/text.component-D9w-u_dB.js.map +0 -1
- package/dist/chunks/textInput.component-Dpxb2RI-.js +0 -169
- package/dist/chunks/textInput.component-Dpxb2RI-.js.map +0 -1
- package/dist/chunks/textInput.component-Dx_Ktcmr.js +0 -2
- package/dist/chunks/textInput.component-Dx_Ktcmr.js.map +0 -1
- package/dist/chunks/textarea.component-BYexywy1.js +0 -2
- package/dist/chunks/textarea.component-Dk2IMKkr.js +0 -79
- package/dist/chunks/theme.provider-XYBMZJTB.js +0 -28
- package/dist/chunks/theme.provider-XYBMZJTB.js.map +0 -1
- package/dist/chunks/theme.provider-w_I9S10D.js.map +0 -1
- package/dist/chunks/timePicker.component-Bbd3BOA6.js +0 -209
- package/dist/chunks/timePicker.component-Bbd3BOA6.js.map +0 -1
- package/dist/chunks/timePicker.component-DcNgUFGj.js +0 -2
- package/dist/chunks/timePicker.component-DcNgUFGj.js.map +0 -1
- package/dist/chunks/timeRange.component-BBhPc2LP.js +0 -18
- package/dist/chunks/timeRange.component-BBhPc2LP.js.map +0 -1
- package/dist/chunks/timeRange.component-Bb-xDHWT.js +0 -2
- package/dist/chunks/timeRange.component-Bb-xDHWT.js.map +0 -1
- package/dist/chunks/timestamp.component-CrY5t68x.js +0 -2
- package/dist/chunks/timestamp.component-CrY5t68x.js.map +0 -1
- package/dist/chunks/timestamp.component-m0FTjlAi.js +0 -51
- package/dist/chunks/timestamp.component-m0FTjlAi.js.map +0 -1
- package/dist/chunks/toaster.records-eCXbM85Z.js +0 -2
- package/dist/chunks/tooltip.component-CATpCSkf.js +0 -2
- package/dist/chunks/typography.records-CpYV1kns.js.map +0 -1
- package/dist/chunks/typography.records-Dbw3sz4i.js +0 -2
- package/dist/chunks/typography.records-Dbw3sz4i.js.map +0 -1
- package/dist/chunks/use-locale-context-CazVZ4Kg.js +0 -2315
- package/dist/chunks/use-locale-context-CazVZ4Kg.js.map +0 -1
- package/dist/chunks/use-locale-context-Dv7DQ_mn.js +0 -22
- package/dist/chunks/use-locale-context-Dv7DQ_mn.js.map +0 -1
- package/dist/chunks/use-slot-recipe-8liupslO.js +0 -2
- package/dist/chunks/use-slot-recipe-8liupslO.js.map +0 -1
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +0 -13
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +0 -1
- package/dist/chunks/withFormControl-BdiccBy5.js +0 -2
- package/dist/chunks/withFormControl-BdiccBy5.js.map +0 -1
- package/dist/chunks/withFormControl-CRXVopOk.js +0 -361
- package/dist/chunks/withFormControl-CRXVopOk.js.map +0 -1
- package/dist/chunks/withTruncation-C9XLf_j6.js +0 -67
- package/dist/chunks/withTruncation-C9XLf_j6.js.map +0 -1
- package/dist/chunks/withTruncation-Ddr3jvAO.js +0 -2
- package/dist/chunks/withTruncation-Ddr3jvAO.js.map +0 -1
- package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +0 -9
- package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +0 -10
- package/dist/types/shared/utils/argTypes.d.ts +0 -6
package/dist/chunks/{sortableList.component-i4dJ9oHN.js → sortableList.component-XfURY7C2.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as _ } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import M, { useLayoutEffect as Bn, useEffect as O, useRef as N, useMemo as E, useCallback as F, useState as B, memo as Fn, useReducer as Xn, createContext as Ee, useContext as ce, forwardRef as $n, cloneElement as Yn } from "react";
|
|
3
|
-
import { r as Be } from "./use-locale-context-
|
|
4
|
-
import { B as Kn } from "./button.component-
|
|
5
|
-
import { W as Un } from "./text.component-
|
|
3
|
+
import { r as Be } from "./use-locale-context-Bw4Gg9Z0.js";
|
|
4
|
+
import { B as Kn } from "./button.component-BO6oee_V.js";
|
|
5
|
+
import { W as Un } from "./text.component-CdTyTFds.js";
|
|
6
6
|
import { F as Wn } from "./flex-CX-8gE9T.js";
|
|
7
|
-
import { L as Hn, a as Vn } from "./list-
|
|
7
|
+
import { L as Hn, a as Vn } from "./list-v83ZN2MC.js";
|
|
8
8
|
function qn() {
|
|
9
9
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
10
10
|
t[n] = arguments[n];
|
|
@@ -112,9 +112,9 @@ function on(e) {
|
|
|
112
112
|
r[o - 1] = arguments[o];
|
|
113
113
|
return r.reduce((i, s) => {
|
|
114
114
|
const a = Object.entries(s);
|
|
115
|
-
for (const [l,
|
|
116
|
-
const
|
|
117
|
-
|
|
115
|
+
for (const [l, d] of a) {
|
|
116
|
+
const c = i[l];
|
|
117
|
+
c != null && (i[l] = c + e * d);
|
|
118
118
|
}
|
|
119
119
|
return i;
|
|
120
120
|
}, {
|
|
@@ -328,68 +328,68 @@ function ar(e) {
|
|
|
328
328
|
const {
|
|
329
329
|
announce: i,
|
|
330
330
|
announcement: s
|
|
331
|
-
} = nr(), a = Ve("DndLiveRegion"), [l,
|
|
331
|
+
} = nr(), a = Ve("DndLiveRegion"), [l, d] = B(!1);
|
|
332
332
|
if (O(() => {
|
|
333
|
-
|
|
333
|
+
d(!0);
|
|
334
334
|
}, []), rr(E(() => ({
|
|
335
335
|
onDragStart(u) {
|
|
336
336
|
let {
|
|
337
|
-
active:
|
|
337
|
+
active: f
|
|
338
338
|
} = u;
|
|
339
339
|
i(t.onDragStart({
|
|
340
|
-
active:
|
|
340
|
+
active: f
|
|
341
341
|
}));
|
|
342
342
|
},
|
|
343
343
|
onDragMove(u) {
|
|
344
344
|
let {
|
|
345
|
-
active:
|
|
346
|
-
over:
|
|
345
|
+
active: f,
|
|
346
|
+
over: g
|
|
347
347
|
} = u;
|
|
348
348
|
t.onDragMove && i(t.onDragMove({
|
|
349
|
-
active:
|
|
350
|
-
over:
|
|
349
|
+
active: f,
|
|
350
|
+
over: g
|
|
351
351
|
}));
|
|
352
352
|
},
|
|
353
353
|
onDragOver(u) {
|
|
354
354
|
let {
|
|
355
|
-
active:
|
|
356
|
-
over:
|
|
355
|
+
active: f,
|
|
356
|
+
over: g
|
|
357
357
|
} = u;
|
|
358
358
|
i(t.onDragOver({
|
|
359
|
-
active:
|
|
360
|
-
over:
|
|
359
|
+
active: f,
|
|
360
|
+
over: g
|
|
361
361
|
}));
|
|
362
362
|
},
|
|
363
363
|
onDragEnd(u) {
|
|
364
364
|
let {
|
|
365
|
-
active:
|
|
366
|
-
over:
|
|
365
|
+
active: f,
|
|
366
|
+
over: g
|
|
367
367
|
} = u;
|
|
368
368
|
i(t.onDragEnd({
|
|
369
|
-
active:
|
|
370
|
-
over:
|
|
369
|
+
active: f,
|
|
370
|
+
over: g
|
|
371
371
|
}));
|
|
372
372
|
},
|
|
373
373
|
onDragCancel(u) {
|
|
374
374
|
let {
|
|
375
|
-
active:
|
|
376
|
-
over:
|
|
375
|
+
active: f,
|
|
376
|
+
over: g
|
|
377
377
|
} = u;
|
|
378
378
|
i(t.onDragCancel({
|
|
379
|
-
active:
|
|
380
|
-
over:
|
|
379
|
+
active: f,
|
|
380
|
+
over: g
|
|
381
381
|
}));
|
|
382
382
|
}
|
|
383
383
|
}), [i, t])), !l)
|
|
384
384
|
return null;
|
|
385
|
-
const
|
|
385
|
+
const c = M.createElement(M.Fragment, null, M.createElement(er, {
|
|
386
386
|
id: r,
|
|
387
387
|
value: o.draggable
|
|
388
388
|
}), M.createElement(tr, {
|
|
389
389
|
id: a,
|
|
390
390
|
announcement: s
|
|
391
391
|
}));
|
|
392
|
-
return n ? Be.createPortal(
|
|
392
|
+
return n ? Be.createPortal(c, n) : c;
|
|
393
393
|
}
|
|
394
394
|
var P;
|
|
395
395
|
(function(e) {
|
|
@@ -496,7 +496,7 @@ const gr = (e) => {
|
|
|
496
496
|
id: a
|
|
497
497
|
} = s, l = n.get(a);
|
|
498
498
|
if (l) {
|
|
499
|
-
const
|
|
499
|
+
const d = Ut(l), c = o.reduce((f, g, p) => f + cr(d[p], g), 0), u = Number((c / 4).toFixed(4));
|
|
500
500
|
i.push({
|
|
501
501
|
id: a,
|
|
502
502
|
data: {
|
|
@@ -511,7 +511,7 @@ const gr = (e) => {
|
|
|
511
511
|
function hr(e, t) {
|
|
512
512
|
const n = Math.max(t.top, e.top), r = Math.max(t.left, e.left), o = Math.min(t.left + t.width, e.left + e.width), i = Math.min(t.top + t.height, e.top + e.height), s = o - r, a = i - n;
|
|
513
513
|
if (r < o && n < i) {
|
|
514
|
-
const l = t.width * t.height,
|
|
514
|
+
const l = t.width * t.height, d = e.width * e.height, c = s * a, u = c / (l + d - c);
|
|
515
515
|
return Number(u.toFixed(4));
|
|
516
516
|
}
|
|
517
517
|
return 0;
|
|
@@ -598,13 +598,13 @@ function yr(e, t, n) {
|
|
|
598
598
|
scaleY: i,
|
|
599
599
|
x: s,
|
|
600
600
|
y: a
|
|
601
|
-
} = r, l = e.left - s - (1 - o) * parseFloat(n),
|
|
601
|
+
} = r, l = e.left - s - (1 - o) * parseFloat(n), d = e.top - a - (1 - i) * parseFloat(n.slice(n.indexOf(" ") + 1)), c = o ? e.width / o : e.width, u = i ? e.height / i : e.height;
|
|
602
602
|
return {
|
|
603
|
-
width:
|
|
603
|
+
width: c,
|
|
604
604
|
height: u,
|
|
605
|
-
top:
|
|
606
|
-
right: l +
|
|
607
|
-
bottom:
|
|
605
|
+
top: d,
|
|
606
|
+
right: l + c,
|
|
607
|
+
bottom: d + u,
|
|
608
608
|
left: l
|
|
609
609
|
};
|
|
610
610
|
}
|
|
@@ -616,10 +616,10 @@ function Oe(e, t) {
|
|
|
616
616
|
let n = e.getBoundingClientRect();
|
|
617
617
|
if (t.ignoreTransform) {
|
|
618
618
|
const {
|
|
619
|
-
transform:
|
|
620
|
-
transformOrigin:
|
|
619
|
+
transform: d,
|
|
620
|
+
transformOrigin: c
|
|
621
621
|
} = X(e).getComputedStyle(e);
|
|
622
|
-
|
|
622
|
+
d && (n = yr(n, d, c));
|
|
623
623
|
}
|
|
624
624
|
const {
|
|
625
625
|
top: r,
|
|
@@ -741,23 +741,23 @@ function Rr(e, t, n, r, o) {
|
|
|
741
741
|
} = n;
|
|
742
742
|
r === void 0 && (r = 10), o === void 0 && (o = Cr);
|
|
743
743
|
const {
|
|
744
|
-
isTop:
|
|
745
|
-
isBottom:
|
|
744
|
+
isTop: d,
|
|
745
|
+
isBottom: c,
|
|
746
746
|
isLeft: u,
|
|
747
|
-
isRight:
|
|
748
|
-
} = hn(e),
|
|
747
|
+
isRight: f
|
|
748
|
+
} = hn(e), g = {
|
|
749
749
|
x: 0,
|
|
750
750
|
y: 0
|
|
751
|
-
},
|
|
751
|
+
}, p = {
|
|
752
752
|
x: 0,
|
|
753
753
|
y: 0
|
|
754
754
|
}, h = {
|
|
755
755
|
height: t.height * o.y,
|
|
756
756
|
width: t.width * o.x
|
|
757
757
|
};
|
|
758
|
-
return !
|
|
759
|
-
direction:
|
|
760
|
-
speed:
|
|
758
|
+
return !d && i <= t.top + h.height ? (g.y = k.Backward, p.y = r * Math.abs((t.top + h.height - i) / h.height)) : !c && l >= t.bottom - h.height && (g.y = k.Forward, p.y = r * Math.abs((t.bottom - h.height - l) / h.height)), !f && a >= t.right - h.width ? (g.x = k.Forward, p.x = r * Math.abs((t.right - h.width - a) / h.width)) : !u && s <= t.left + h.width && (g.x = k.Backward, p.x = r * Math.abs((t.left + h.width - s) / h.width)), {
|
|
759
|
+
direction: g,
|
|
760
|
+
speed: p
|
|
761
761
|
};
|
|
762
762
|
}
|
|
763
763
|
function Er(e) {
|
|
@@ -825,8 +825,8 @@ class At {
|
|
|
825
825
|
for (const l of s)
|
|
826
826
|
Object.defineProperty(this, l, {
|
|
827
827
|
get: () => {
|
|
828
|
-
const
|
|
829
|
-
return this.rect[l] +
|
|
828
|
+
const d = a(r), c = o[i] - d;
|
|
829
|
+
return this.rect[l] + c;
|
|
830
830
|
},
|
|
831
831
|
enumerable: !0
|
|
832
832
|
});
|
|
@@ -946,67 +946,67 @@ class It {
|
|
|
946
946
|
return;
|
|
947
947
|
}
|
|
948
948
|
const {
|
|
949
|
-
collisionRect:
|
|
950
|
-
} = r.current,
|
|
951
|
-
x:
|
|
952
|
-
y:
|
|
949
|
+
collisionRect: d
|
|
950
|
+
} = r.current, c = d ? {
|
|
951
|
+
x: d.left,
|
|
952
|
+
y: d.top
|
|
953
953
|
} : Z;
|
|
954
|
-
this.referenceCoordinates || (this.referenceCoordinates =
|
|
954
|
+
this.referenceCoordinates || (this.referenceCoordinates = c);
|
|
955
955
|
const u = s(t, {
|
|
956
956
|
active: n,
|
|
957
957
|
context: r.current,
|
|
958
|
-
currentCoordinates:
|
|
958
|
+
currentCoordinates: c
|
|
959
959
|
});
|
|
960
960
|
if (u) {
|
|
961
|
-
const
|
|
961
|
+
const f = Ke(u, c), g = {
|
|
962
962
|
x: 0,
|
|
963
963
|
y: 0
|
|
964
964
|
}, {
|
|
965
|
-
scrollableAncestors:
|
|
965
|
+
scrollableAncestors: p
|
|
966
966
|
} = r.current;
|
|
967
|
-
for (const h of
|
|
967
|
+
for (const h of p) {
|
|
968
968
|
const v = t.code, {
|
|
969
|
-
isTop:
|
|
970
|
-
isRight:
|
|
971
|
-
isLeft:
|
|
969
|
+
isTop: m,
|
|
970
|
+
isRight: y,
|
|
971
|
+
isLeft: b,
|
|
972
972
|
isBottom: S,
|
|
973
973
|
maxScroll: C,
|
|
974
974
|
minScroll: R
|
|
975
|
-
} = hn(h),
|
|
976
|
-
x: Math.min(v === D.Right ?
|
|
977
|
-
y: Math.min(v === D.Down ?
|
|
978
|
-
}, T = v === D.Right && !
|
|
975
|
+
} = hn(h), w = Er(h), x = {
|
|
976
|
+
x: Math.min(v === D.Right ? w.right - w.width / 2 : w.right, Math.max(v === D.Right ? w.left : w.left + w.width / 2, u.x)),
|
|
977
|
+
y: Math.min(v === D.Down ? w.bottom - w.height / 2 : w.bottom, Math.max(v === D.Down ? w.top : w.top + w.height / 2, u.y))
|
|
978
|
+
}, T = v === D.Right && !y || v === D.Left && !b, L = v === D.Down && !S || v === D.Up && !m;
|
|
979
979
|
if (T && x.x !== u.x) {
|
|
980
|
-
const I = h.scrollLeft +
|
|
981
|
-
if (J && !
|
|
980
|
+
const I = h.scrollLeft + f.x, J = v === D.Right && I <= C.x || v === D.Left && I >= R.x;
|
|
981
|
+
if (J && !f.y) {
|
|
982
982
|
h.scrollTo({
|
|
983
983
|
left: I,
|
|
984
984
|
behavior: a
|
|
985
985
|
});
|
|
986
986
|
return;
|
|
987
987
|
}
|
|
988
|
-
J ?
|
|
989
|
-
left: -
|
|
988
|
+
J ? g.x = h.scrollLeft - I : g.x = v === D.Right ? h.scrollLeft - C.x : h.scrollLeft - R.x, g.x && h.scrollBy({
|
|
989
|
+
left: -g.x,
|
|
990
990
|
behavior: a
|
|
991
991
|
});
|
|
992
992
|
break;
|
|
993
993
|
} else if (L && x.y !== u.y) {
|
|
994
|
-
const I = h.scrollTop +
|
|
995
|
-
if (J && !
|
|
994
|
+
const I = h.scrollTop + f.y, J = v === D.Down && I <= C.y || v === D.Up && I >= R.y;
|
|
995
|
+
if (J && !f.x) {
|
|
996
996
|
h.scrollTo({
|
|
997
997
|
top: I,
|
|
998
998
|
behavior: a
|
|
999
999
|
});
|
|
1000
1000
|
return;
|
|
1001
1001
|
}
|
|
1002
|
-
J ?
|
|
1003
|
-
top: -
|
|
1002
|
+
J ? g.y = h.scrollTop - I : g.y = v === D.Down ? h.scrollTop - C.y : h.scrollTop - R.y, g.y && h.scrollBy({
|
|
1003
|
+
top: -g.y,
|
|
1004
1004
|
behavior: a
|
|
1005
1005
|
});
|
|
1006
1006
|
break;
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
|
-
this.handleMove(t, Re(Ke(u, this.referenceCoordinates),
|
|
1009
|
+
this.handleMove(t, Re(Ke(u, this.referenceCoordinates), g));
|
|
1010
1010
|
}
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
@@ -1134,17 +1134,17 @@ class Ot {
|
|
|
1134
1134
|
} = i;
|
|
1135
1135
|
if (!o)
|
|
1136
1136
|
return;
|
|
1137
|
-
const l = (n = it(t)) != null ? n : Z,
|
|
1137
|
+
const l = (n = it(t)) != null ? n : Z, d = Ke(o, l);
|
|
1138
1138
|
if (!r && a) {
|
|
1139
1139
|
if (Vt(a)) {
|
|
1140
|
-
if (a.tolerance != null && wt(
|
|
1140
|
+
if (a.tolerance != null && wt(d, a.tolerance))
|
|
1141
1141
|
return this.handleCancel();
|
|
1142
|
-
if (wt(
|
|
1142
|
+
if (wt(d, a.distance))
|
|
1143
1143
|
return this.handleStart();
|
|
1144
1144
|
}
|
|
1145
|
-
if (qt(a) && wt(
|
|
1145
|
+
if (qt(a) && wt(d, a.tolerance))
|
|
1146
1146
|
return this.handleCancel();
|
|
1147
|
-
this.handlePending(a,
|
|
1147
|
+
this.handlePending(a, d);
|
|
1148
1148
|
return;
|
|
1149
1149
|
}
|
|
1150
1150
|
t.cancelable && t.preventDefault(), s(l);
|
|
@@ -1293,21 +1293,21 @@ function jr(e) {
|
|
|
1293
1293
|
interval: s = 5,
|
|
1294
1294
|
order: a = at.TreeOrder,
|
|
1295
1295
|
pointerCoordinates: l,
|
|
1296
|
-
scrollableAncestors:
|
|
1297
|
-
scrollableAncestorRects:
|
|
1296
|
+
scrollableAncestors: d,
|
|
1297
|
+
scrollableAncestorRects: c,
|
|
1298
1298
|
delta: u,
|
|
1299
|
-
threshold:
|
|
1299
|
+
threshold: f
|
|
1300
1300
|
} = e;
|
|
1301
|
-
const
|
|
1301
|
+
const g = Fr({
|
|
1302
1302
|
delta: u,
|
|
1303
1303
|
disabled: !i
|
|
1304
|
-
}), [
|
|
1304
|
+
}), [p, h] = _n(), v = N({
|
|
1305
1305
|
x: 0,
|
|
1306
1306
|
y: 0
|
|
1307
|
-
}),
|
|
1307
|
+
}), m = N({
|
|
1308
1308
|
x: 0,
|
|
1309
1309
|
y: 0
|
|
1310
|
-
}),
|
|
1310
|
+
}), y = E(() => {
|
|
1311
1311
|
switch (n) {
|
|
1312
1312
|
case Xe.Pointer:
|
|
1313
1313
|
return l ? {
|
|
@@ -1319,40 +1319,40 @@ function jr(e) {
|
|
|
1319
1319
|
case Xe.DraggableRect:
|
|
1320
1320
|
return o;
|
|
1321
1321
|
}
|
|
1322
|
-
}, [n, o, l]),
|
|
1323
|
-
const R =
|
|
1322
|
+
}, [n, o, l]), b = N(null), S = F(() => {
|
|
1323
|
+
const R = b.current;
|
|
1324
1324
|
if (!R)
|
|
1325
1325
|
return;
|
|
1326
|
-
const
|
|
1327
|
-
R.scrollBy(
|
|
1328
|
-
}, []), C = E(() => a === at.TreeOrder ? [...
|
|
1326
|
+
const w = v.current.x * m.current.x, x = v.current.y * m.current.y;
|
|
1327
|
+
R.scrollBy(w, x);
|
|
1328
|
+
}, []), C = E(() => a === at.TreeOrder ? [...d].reverse() : d, [a, d]);
|
|
1329
1329
|
O(
|
|
1330
1330
|
() => {
|
|
1331
|
-
if (!i || !
|
|
1331
|
+
if (!i || !d.length || !y) {
|
|
1332
1332
|
h();
|
|
1333
1333
|
return;
|
|
1334
1334
|
}
|
|
1335
1335
|
for (const R of C) {
|
|
1336
1336
|
if (r?.(R) === !1)
|
|
1337
1337
|
continue;
|
|
1338
|
-
const
|
|
1338
|
+
const w = d.indexOf(R), x = c[w];
|
|
1339
1339
|
if (!x)
|
|
1340
1340
|
continue;
|
|
1341
1341
|
const {
|
|
1342
1342
|
direction: T,
|
|
1343
1343
|
speed: L
|
|
1344
|
-
} = Rr(R, x,
|
|
1344
|
+
} = Rr(R, x, y, t, f);
|
|
1345
1345
|
for (const I of ["x", "y"])
|
|
1346
|
-
|
|
1346
|
+
g[I][T[I]] || (L[I] = 0, T[I] = 0);
|
|
1347
1347
|
if (L.x > 0 || L.y > 0) {
|
|
1348
|
-
h(),
|
|
1348
|
+
h(), b.current = R, p(S, s), v.current = L, m.current = T;
|
|
1349
1349
|
return;
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
v.current = {
|
|
1353
1353
|
x: 0,
|
|
1354
1354
|
y: 0
|
|
1355
|
-
},
|
|
1355
|
+
}, m.current = {
|
|
1356
1356
|
x: 0,
|
|
1357
1357
|
y: 0
|
|
1358
1358
|
}, h();
|
|
@@ -1366,15 +1366,15 @@ function jr(e) {
|
|
|
1366
1366
|
i,
|
|
1367
1367
|
s,
|
|
1368
1368
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1369
|
-
JSON.stringify(
|
|
1369
|
+
JSON.stringify(y),
|
|
1370
1370
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1371
|
-
JSON.stringify(
|
|
1372
|
-
|
|
1373
|
-
c,
|
|
1374
|
-
C,
|
|
1371
|
+
JSON.stringify(g),
|
|
1372
|
+
p,
|
|
1375
1373
|
d,
|
|
1374
|
+
C,
|
|
1375
|
+
c,
|
|
1376
1376
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1377
|
-
JSON.stringify(
|
|
1377
|
+
JSON.stringify(f)
|
|
1378
1378
|
]
|
|
1379
1379
|
);
|
|
1380
1380
|
}
|
|
@@ -1449,33 +1449,33 @@ function Yr(e, t) {
|
|
|
1449
1449
|
const [i, s] = B(null), {
|
|
1450
1450
|
frequency: a,
|
|
1451
1451
|
measure: l,
|
|
1452
|
-
strategy:
|
|
1453
|
-
} = o,
|
|
1454
|
-
|
|
1455
|
-
}, [
|
|
1452
|
+
strategy: d
|
|
1453
|
+
} = o, c = N(e), u = v(), f = Ye(u), g = F(function(m) {
|
|
1454
|
+
m === void 0 && (m = []), !f.current && s((y) => y === null ? m : y.concat(m.filter((b) => !y.includes(b))));
|
|
1455
|
+
}, [f]), p = N(null), h = He((m) => {
|
|
1456
1456
|
if (u && !n)
|
|
1457
1457
|
return _t;
|
|
1458
|
-
if (!
|
|
1459
|
-
const
|
|
1460
|
-
for (let
|
|
1461
|
-
if (!
|
|
1458
|
+
if (!m || m === _t || c.current !== e || i != null) {
|
|
1459
|
+
const y = /* @__PURE__ */ new Map();
|
|
1460
|
+
for (let b of e) {
|
|
1461
|
+
if (!b)
|
|
1462
1462
|
continue;
|
|
1463
|
-
if (i && i.length > 0 && !i.includes(
|
|
1464
|
-
|
|
1463
|
+
if (i && i.length > 0 && !i.includes(b.id) && b.rect.current) {
|
|
1464
|
+
y.set(b.id, b.rect.current);
|
|
1465
1465
|
continue;
|
|
1466
1466
|
}
|
|
1467
|
-
const S =
|
|
1468
|
-
|
|
1467
|
+
const S = b.node.current, C = S ? new At(l(S), S) : null;
|
|
1468
|
+
b.rect.current = C, C && y.set(b.id, C);
|
|
1469
1469
|
}
|
|
1470
|
-
return
|
|
1470
|
+
return y;
|
|
1471
1471
|
}
|
|
1472
|
-
return
|
|
1472
|
+
return m;
|
|
1473
1473
|
}, [e, i, n, u, l]);
|
|
1474
1474
|
return O(() => {
|
|
1475
|
-
|
|
1475
|
+
c.current = e;
|
|
1476
1476
|
}, [e]), O(
|
|
1477
1477
|
() => {
|
|
1478
|
-
u ||
|
|
1478
|
+
u || g();
|
|
1479
1479
|
},
|
|
1480
1480
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1481
1481
|
[n, u]
|
|
@@ -1487,19 +1487,19 @@ function Yr(e, t) {
|
|
|
1487
1487
|
[JSON.stringify(i)]
|
|
1488
1488
|
), O(
|
|
1489
1489
|
() => {
|
|
1490
|
-
u || typeof a != "number" ||
|
|
1491
|
-
|
|
1490
|
+
u || typeof a != "number" || p.current !== null || (p.current = setTimeout(() => {
|
|
1491
|
+
g(), p.current = null;
|
|
1492
1492
|
}, a));
|
|
1493
1493
|
},
|
|
1494
1494
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1495
|
-
[a, u,
|
|
1495
|
+
[a, u, g, ...r]
|
|
1496
1496
|
), {
|
|
1497
1497
|
droppableRects: h,
|
|
1498
|
-
measureDroppableContainers:
|
|
1498
|
+
measureDroppableContainers: g,
|
|
1499
1499
|
measuringScheduled: i != null
|
|
1500
1500
|
};
|
|
1501
1501
|
function v() {
|
|
1502
|
-
switch (
|
|
1502
|
+
switch (d) {
|
|
1503
1503
|
case Ue.Always:
|
|
1504
1504
|
return !1;
|
|
1505
1505
|
case Ue.BeforeDragging:
|
|
@@ -1560,22 +1560,22 @@ function Jt(e, t, n) {
|
|
|
1560
1560
|
if (!e)
|
|
1561
1561
|
return null;
|
|
1562
1562
|
if (e.isConnected === !1) {
|
|
1563
|
-
var
|
|
1564
|
-
return (
|
|
1563
|
+
var d;
|
|
1564
|
+
return (d = l ?? n) != null ? d : null;
|
|
1565
1565
|
}
|
|
1566
|
-
const
|
|
1567
|
-
return JSON.stringify(l) === JSON.stringify(
|
|
1566
|
+
const c = t(e);
|
|
1567
|
+
return JSON.stringify(l) === JSON.stringify(c) ? l : c;
|
|
1568
1568
|
});
|
|
1569
1569
|
}
|
|
1570
1570
|
const s = Ur({
|
|
1571
1571
|
callback(l) {
|
|
1572
1572
|
if (e)
|
|
1573
|
-
for (const
|
|
1573
|
+
for (const d of l) {
|
|
1574
1574
|
const {
|
|
1575
|
-
type:
|
|
1575
|
+
type: c,
|
|
1576
1576
|
target: u
|
|
1577
|
-
} =
|
|
1578
|
-
if (
|
|
1577
|
+
} = d;
|
|
1578
|
+
if (c === "childList" && u instanceof HTMLElement && u.contains(e)) {
|
|
1579
1579
|
i();
|
|
1580
1580
|
break;
|
|
1581
1581
|
}
|
|
@@ -1612,10 +1612,10 @@ function qr(e) {
|
|
|
1612
1612
|
if (e !== i) {
|
|
1613
1613
|
s(i);
|
|
1614
1614
|
const a = e.map((l) => {
|
|
1615
|
-
const
|
|
1616
|
-
return
|
|
1615
|
+
const d = yt(l);
|
|
1616
|
+
return d ? (d.addEventListener("scroll", o, {
|
|
1617
1617
|
passive: !0
|
|
1618
|
-
}), [
|
|
1618
|
+
}), [d, Dt(d)]) : null;
|
|
1619
1619
|
}).filter((l) => l != null);
|
|
1620
1620
|
n(a.length ? new Map(a) : null), r.current = e;
|
|
1621
1621
|
}
|
|
@@ -1624,8 +1624,8 @@ function qr(e) {
|
|
|
1624
1624
|
};
|
|
1625
1625
|
function s(a) {
|
|
1626
1626
|
a.forEach((l) => {
|
|
1627
|
-
const
|
|
1628
|
-
|
|
1627
|
+
const d = yt(l);
|
|
1628
|
+
d?.removeEventListener("scroll", o);
|
|
1629
1629
|
});
|
|
1630
1630
|
}
|
|
1631
1631
|
}, [o, e]), E(() => e.length ? t ? Array.from(t.values()).reduce((i, s) => Re(i, s), Z) : vn(e) : Z, [e, t]);
|
|
@@ -1710,26 +1710,26 @@ function Qr(e) {
|
|
|
1710
1710
|
let {
|
|
1711
1711
|
measure: t
|
|
1712
1712
|
} = e;
|
|
1713
|
-
const [n, r] = B(null), o = F((
|
|
1713
|
+
const [n, r] = B(null), o = F((d) => {
|
|
1714
1714
|
for (const {
|
|
1715
|
-
target:
|
|
1716
|
-
} of
|
|
1717
|
-
if (We(
|
|
1715
|
+
target: c
|
|
1716
|
+
} of d)
|
|
1717
|
+
if (We(c)) {
|
|
1718
1718
|
r((u) => {
|
|
1719
|
-
const
|
|
1719
|
+
const f = t(c);
|
|
1720
1720
|
return u ? {
|
|
1721
1721
|
...u,
|
|
1722
|
-
width:
|
|
1723
|
-
height:
|
|
1724
|
-
} :
|
|
1722
|
+
width: f.width,
|
|
1723
|
+
height: f.height
|
|
1724
|
+
} : f;
|
|
1725
1725
|
});
|
|
1726
1726
|
break;
|
|
1727
1727
|
}
|
|
1728
1728
|
}, [t]), i = gt({
|
|
1729
1729
|
callback: o
|
|
1730
|
-
}), s = F((
|
|
1731
|
-
const
|
|
1732
|
-
i?.disconnect(),
|
|
1730
|
+
}), s = F((d) => {
|
|
1731
|
+
const c = yn(d);
|
|
1732
|
+
i?.disconnect(), c && i?.observe(c), r(c ? t(c) : null);
|
|
1733
1733
|
}, [t, i]), [a, l] = rt(s);
|
|
1734
1734
|
return E(() => ({
|
|
1735
1735
|
nodeRef: a,
|
|
@@ -1946,15 +1946,15 @@ function oo(e) {
|
|
|
1946
1946
|
return;
|
|
1947
1947
|
const {
|
|
1948
1948
|
activatorNode: l,
|
|
1949
|
-
node:
|
|
1949
|
+
node: d
|
|
1950
1950
|
} = a;
|
|
1951
|
-
if (!l.current && !
|
|
1951
|
+
if (!l.current && !d.current)
|
|
1952
1952
|
return;
|
|
1953
1953
|
requestAnimationFrame(() => {
|
|
1954
|
-
for (const
|
|
1955
|
-
if (!
|
|
1954
|
+
for (const c of [l.current, d.current]) {
|
|
1955
|
+
if (!c)
|
|
1956
1956
|
continue;
|
|
1957
|
-
const u = Qn(
|
|
1957
|
+
const u = Qn(c);
|
|
1958
1958
|
if (u) {
|
|
1959
1959
|
u.focus();
|
|
1960
1960
|
break;
|
|
@@ -2015,13 +2015,13 @@ function so(e) {
|
|
|
2015
2015
|
}
|
|
2016
2016
|
if (i.current || !r)
|
|
2017
2017
|
return;
|
|
2018
|
-
const
|
|
2019
|
-
if (!
|
|
2018
|
+
const d = t?.node.current;
|
|
2019
|
+
if (!d || d.isConnected === !1)
|
|
2020
2020
|
return;
|
|
2021
|
-
const
|
|
2021
|
+
const c = n(d), u = ln(c, r);
|
|
2022
2022
|
if (s || (u.x = 0), a || (u.y = 0), i.current = !0, Math.abs(u.x) > 0 || Math.abs(u.y) > 0) {
|
|
2023
|
-
const
|
|
2024
|
-
|
|
2023
|
+
const f = un(d);
|
|
2024
|
+
f && f.scrollBy({
|
|
2025
2025
|
top: u.y,
|
|
2026
2026
|
left: u.x
|
|
2027
2027
|
});
|
|
@@ -2043,34 +2043,34 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2043
2043
|
id: s,
|
|
2044
2044
|
accessibility: a,
|
|
2045
2045
|
autoScroll: l = !0,
|
|
2046
|
-
children:
|
|
2047
|
-
sensors:
|
|
2046
|
+
children: d,
|
|
2047
|
+
sensors: c = Zr,
|
|
2048
2048
|
collisionDetection: u = vr,
|
|
2049
|
-
measuring:
|
|
2050
|
-
modifiers:
|
|
2051
|
-
...
|
|
2049
|
+
measuring: f,
|
|
2050
|
+
modifiers: g,
|
|
2051
|
+
...p
|
|
2052
2052
|
} = t;
|
|
2053
|
-
const h = Xn(ro, void 0, no), [v,
|
|
2053
|
+
const h = Xn(ro, void 0, no), [v, m] = h, [y, b] = or(), [S, C] = B(pe.Uninitialized), R = S === pe.Initialized, {
|
|
2054
2054
|
draggable: {
|
|
2055
|
-
active:
|
|
2055
|
+
active: w,
|
|
2056
2056
|
nodes: x,
|
|
2057
2057
|
translate: T
|
|
2058
2058
|
},
|
|
2059
2059
|
droppable: {
|
|
2060
2060
|
containers: L
|
|
2061
2061
|
}
|
|
2062
|
-
} = v, I =
|
|
2062
|
+
} = v, I = w != null ? x.get(w) : null, J = N({
|
|
2063
2063
|
initial: null,
|
|
2064
2064
|
translated: null
|
|
2065
2065
|
}), G = E(() => {
|
|
2066
2066
|
var j;
|
|
2067
|
-
return
|
|
2068
|
-
id:
|
|
2067
|
+
return w != null ? {
|
|
2068
|
+
id: w,
|
|
2069
2069
|
// It's possible for the active node to unmount while dragging
|
|
2070
2070
|
data: (j = I?.data) != null ? j : eo,
|
|
2071
2071
|
rect: J
|
|
2072
2072
|
} : null;
|
|
2073
|
-
}, [
|
|
2073
|
+
}, [w, I]), ee = N(null), [Ne, _e] = B(null), [Y, Je] = B(null), oe = Ye(p, Object.values(p)), Te = Ve("DndDescribedBy", s), Ge = E(() => L.getEnabled(), [L]), $ = io(f), {
|
|
2074
2074
|
droppableRects: ie,
|
|
2075
2075
|
measureDroppableContainers: me,
|
|
2076
2076
|
measuringScheduled: Me
|
|
@@ -2078,9 +2078,9 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2078
2078
|
dragging: R,
|
|
2079
2079
|
dependencies: [T.x, T.y],
|
|
2080
2080
|
config: $.droppable
|
|
2081
|
-
}), H = Xr(x,
|
|
2081
|
+
}), H = Xr(x, w), Qe = E(() => Y ? it(Y) : null, [Y]), ue = jn(), se = Kr(H, $.draggable.measure);
|
|
2082
2082
|
so({
|
|
2083
|
-
activeNode:
|
|
2083
|
+
activeNode: w != null ? x.get(w) : null,
|
|
2084
2084
|
config: ue.layoutShiftCompensation,
|
|
2085
2085
|
initialRect: se,
|
|
2086
2086
|
measure: $.draggable.measure
|
|
@@ -2101,7 +2101,7 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2101
2101
|
scrollAdjustedTranslate: null
|
|
2102
2102
|
}), ye = L.getNodeFor((n = te.current.over) == null ? void 0 : n.id), ae = Qr({
|
|
2103
2103
|
measure: $.dragOverlay.measure
|
|
2104
|
-
}), we = (r = ae.nodeRef.current) != null ? r : H, xe = R ? (o = ae.rect) != null ? o : A : null, Pt = !!(ae.nodeRef.current && ae.rect), kt = Hr(Pt ? null : A), vt = mn(we ? X(we) : null), de = Vr(R ? ye ?? H : null), Ze = Gr(de), et = Dn(
|
|
2104
|
+
}), we = (r = ae.nodeRef.current) != null ? r : H, xe = R ? (o = ae.rect) != null ? o : A : null, Pt = !!(ae.nodeRef.current && ae.rect), kt = Hr(Pt ? null : A), vt = mn(we ? X(we) : null), de = Vr(R ? ye ?? H : null), Ze = Gr(de), et = Dn(g, {
|
|
2105
2105
|
transform: {
|
|
2106
2106
|
x: T.x - kt.x,
|
|
2107
2107
|
y: T.y - kt.y,
|
|
@@ -2151,7 +2151,7 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2151
2151
|
} = oe.current, le = {
|
|
2152
2152
|
id: z
|
|
2153
2153
|
};
|
|
2154
|
-
re?.(le),
|
|
2154
|
+
re?.(le), y({
|
|
2155
2155
|
type: "onDragAbort",
|
|
2156
2156
|
event: le
|
|
2157
2157
|
});
|
|
@@ -2167,7 +2167,7 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2167
2167
|
initialCoordinates: re,
|
|
2168
2168
|
offset: le
|
|
2169
2169
|
};
|
|
2170
|
-
ze?.(ve),
|
|
2170
|
+
ze?.(ve), y({
|
|
2171
2171
|
type: "onDragPending",
|
|
2172
2172
|
event: ve
|
|
2173
2173
|
});
|
|
@@ -2190,18 +2190,18 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2190
2190
|
}
|
|
2191
2191
|
};
|
|
2192
2192
|
Be.unstable_batchedUpdates(() => {
|
|
2193
|
-
le?.(ke), C(pe.Initializing),
|
|
2193
|
+
le?.(ke), C(pe.Initializing), m({
|
|
2194
2194
|
type: P.DragStart,
|
|
2195
2195
|
initialCoordinates: z,
|
|
2196
2196
|
active: he
|
|
2197
|
-
}),
|
|
2197
|
+
}), y({
|
|
2198
2198
|
type: "onDragStart",
|
|
2199
2199
|
event: ke
|
|
2200
2200
|
}), _e(pt.current), Je(W);
|
|
2201
2201
|
});
|
|
2202
2202
|
},
|
|
2203
2203
|
onMove(z) {
|
|
2204
|
-
|
|
2204
|
+
m({
|
|
2205
2205
|
type: P.DragMove,
|
|
2206
2206
|
coordinates: z
|
|
2207
2207
|
});
|
|
@@ -2232,13 +2232,13 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2232
2232
|
}, z === P.DragEnd && typeof je == "function" && await Promise.resolve(je(ve)) && (z = P.DragCancel);
|
|
2233
2233
|
}
|
|
2234
2234
|
ee.current = null, Be.unstable_batchedUpdates(() => {
|
|
2235
|
-
|
|
2235
|
+
m({
|
|
2236
2236
|
type: z
|
|
2237
2237
|
}), C(pe.Uninitialized), Ft(null), _e(null), Je(null), pt.current = null;
|
|
2238
2238
|
const je = z === P.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
2239
2239
|
if (ve) {
|
|
2240
2240
|
const bt = oe.current[je];
|
|
2241
|
-
bt?.(ve),
|
|
2241
|
+
bt?.(ve), y({
|
|
2242
2242
|
type: je,
|
|
2243
2243
|
event: ve
|
|
2244
2244
|
});
|
|
@@ -2264,8 +2264,8 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2264
2264
|
j(U, K.options, ne) === !0 && (V.dndKit = {
|
|
2265
2265
|
capturedBy: K.sensor
|
|
2266
2266
|
}, ee.current = ge, Xt(U, K));
|
|
2267
|
-
}, [x, Xt]), $t = $r(
|
|
2268
|
-
_r(
|
|
2267
|
+
}, [x, Xt]), $t = $r(c, Pn);
|
|
2268
|
+
_r(c), Q(() => {
|
|
2269
2269
|
A && S === pe.Initializing && C(pe.Initialized);
|
|
2270
2270
|
}, [A, S]), O(
|
|
2271
2271
|
() => {
|
|
@@ -2290,7 +2290,7 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2290
2290
|
over: V
|
|
2291
2291
|
};
|
|
2292
2292
|
Be.unstable_batchedUpdates(() => {
|
|
2293
|
-
j?.(W),
|
|
2293
|
+
j?.(W), y({
|
|
2294
2294
|
type: "onDragMove",
|
|
2295
2295
|
event: W
|
|
2296
2296
|
});
|
|
@@ -2327,7 +2327,7 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2327
2327
|
over: Ce
|
|
2328
2328
|
};
|
|
2329
2329
|
Be.unstable_batchedUpdates(() => {
|
|
2330
|
-
Ft(Ce), W?.(z),
|
|
2330
|
+
Ft(Ce), W?.(z), y({
|
|
2331
2331
|
type: "onDragOver",
|
|
2332
2332
|
event: z
|
|
2333
2333
|
});
|
|
@@ -2388,20 +2388,20 @@ const ao = /* @__PURE__ */ Fn(function(t) {
|
|
|
2388
2388
|
ariaDescribedById: {
|
|
2389
2389
|
draggable: Te
|
|
2390
2390
|
},
|
|
2391
|
-
dispatch:
|
|
2391
|
+
dispatch: m,
|
|
2392
2392
|
draggableNodes: x,
|
|
2393
2393
|
over: fe,
|
|
2394
2394
|
measureDroppableContainers: me
|
|
2395
|
-
}), [Y, $t, G, A,
|
|
2395
|
+
}), [Y, $t, G, A, m, Te, x, fe, me]);
|
|
2396
2396
|
return M.createElement(sn.Provider, {
|
|
2397
|
-
value:
|
|
2397
|
+
value: b
|
|
2398
2398
|
}, M.createElement(qe.Provider, {
|
|
2399
2399
|
value: zn
|
|
2400
2400
|
}, M.createElement(xn.Provider, {
|
|
2401
2401
|
value: kn
|
|
2402
2402
|
}, M.createElement(ht.Provider, {
|
|
2403
2403
|
value: Ln
|
|
2404
|
-
},
|
|
2404
|
+
}, d)), M.createElement(oo, {
|
|
2405
2405
|
disabled: a?.restoreFocus === !1
|
|
2406
2406
|
})), M.createElement(ar, {
|
|
2407
2407
|
...a,
|
|
@@ -2428,22 +2428,22 @@ function uo(e) {
|
|
|
2428
2428
|
activators: s,
|
|
2429
2429
|
activatorEvent: a,
|
|
2430
2430
|
active: l,
|
|
2431
|
-
activeNodeRect:
|
|
2432
|
-
ariaDescribedById:
|
|
2431
|
+
activeNodeRect: d,
|
|
2432
|
+
ariaDescribedById: c,
|
|
2433
2433
|
draggableNodes: u,
|
|
2434
|
-
over:
|
|
2434
|
+
over: f
|
|
2435
2435
|
} = ce(qe), {
|
|
2436
|
-
role:
|
|
2437
|
-
roleDescription:
|
|
2436
|
+
role: g = en,
|
|
2437
|
+
roleDescription: p = "draggable",
|
|
2438
2438
|
tabIndex: h = 0
|
|
2439
|
-
} = o ?? {}, v = l?.id === t,
|
|
2439
|
+
} = o ?? {}, v = l?.id === t, m = ce(v ? ht : lo), [y, b] = rt(), [S, C] = rt(), R = Jr(s, t), w = Ye(n);
|
|
2440
2440
|
Q(
|
|
2441
2441
|
() => (u.set(t, {
|
|
2442
2442
|
id: t,
|
|
2443
2443
|
key: i,
|
|
2444
|
-
node:
|
|
2444
|
+
node: y,
|
|
2445
2445
|
activatorNode: S,
|
|
2446
|
-
data:
|
|
2446
|
+
data: w
|
|
2447
2447
|
}), () => {
|
|
2448
2448
|
const T = u.get(t);
|
|
2449
2449
|
T && T.key === i && u.delete(t);
|
|
@@ -2452,25 +2452,25 @@ function uo(e) {
|
|
|
2452
2452
|
[u, t]
|
|
2453
2453
|
);
|
|
2454
2454
|
const x = E(() => ({
|
|
2455
|
-
role:
|
|
2455
|
+
role: g,
|
|
2456
2456
|
tabIndex: h,
|
|
2457
2457
|
"aria-disabled": r,
|
|
2458
|
-
"aria-pressed": v &&
|
|
2459
|
-
"aria-roledescription":
|
|
2460
|
-
"aria-describedby":
|
|
2461
|
-
}), [r,
|
|
2458
|
+
"aria-pressed": v && g === en ? !0 : void 0,
|
|
2459
|
+
"aria-roledescription": p,
|
|
2460
|
+
"aria-describedby": c.draggable
|
|
2461
|
+
}), [r, g, h, v, p, c.draggable]);
|
|
2462
2462
|
return {
|
|
2463
2463
|
active: l,
|
|
2464
2464
|
activatorEvent: a,
|
|
2465
|
-
activeNodeRect:
|
|
2465
|
+
activeNodeRect: d,
|
|
2466
2466
|
attributes: x,
|
|
2467
2467
|
isDragging: v,
|
|
2468
2468
|
listeners: r ? void 0 : R,
|
|
2469
|
-
node:
|
|
2470
|
-
over:
|
|
2471
|
-
setNodeRef:
|
|
2469
|
+
node: y,
|
|
2470
|
+
over: f,
|
|
2471
|
+
setNodeRef: b,
|
|
2472
2472
|
setActivatorNodeRef: C,
|
|
2473
|
-
transform:
|
|
2473
|
+
transform: m
|
|
2474
2474
|
};
|
|
2475
2475
|
}
|
|
2476
2476
|
function Mt() {
|
|
@@ -2490,37 +2490,37 @@ function ho(e) {
|
|
|
2490
2490
|
active: s,
|
|
2491
2491
|
dispatch: a,
|
|
2492
2492
|
over: l,
|
|
2493
|
-
measureDroppableContainers:
|
|
2494
|
-
} = ce(qe),
|
|
2493
|
+
measureDroppableContainers: d
|
|
2494
|
+
} = ce(qe), c = N({
|
|
2495
2495
|
disabled: n
|
|
2496
|
-
}), u = N(!1),
|
|
2497
|
-
disabled:
|
|
2496
|
+
}), u = N(!1), f = N(null), g = N(null), {
|
|
2497
|
+
disabled: p,
|
|
2498
2498
|
updateMeasurementsFor: h,
|
|
2499
2499
|
timeout: v
|
|
2500
2500
|
} = {
|
|
2501
2501
|
...go,
|
|
2502
2502
|
...o
|
|
2503
|
-
},
|
|
2503
|
+
}, m = Ye(h ?? r), y = F(
|
|
2504
2504
|
() => {
|
|
2505
2505
|
if (!u.current) {
|
|
2506
2506
|
u.current = !0;
|
|
2507
2507
|
return;
|
|
2508
2508
|
}
|
|
2509
|
-
|
|
2510
|
-
|
|
2509
|
+
g.current != null && clearTimeout(g.current), g.current = setTimeout(() => {
|
|
2510
|
+
d(Array.isArray(m.current) ? m.current : [m.current]), g.current = null;
|
|
2511
2511
|
}, v);
|
|
2512
2512
|
},
|
|
2513
2513
|
//eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2514
2514
|
[v]
|
|
2515
|
-
),
|
|
2516
|
-
callback:
|
|
2517
|
-
disabled:
|
|
2515
|
+
), b = gt({
|
|
2516
|
+
callback: y,
|
|
2517
|
+
disabled: p || !s
|
|
2518
2518
|
}), S = F((x, T) => {
|
|
2519
|
-
|
|
2520
|
-
}, [
|
|
2519
|
+
b && (T && (b.unobserve(T), u.current = !1), x && b.observe(x));
|
|
2520
|
+
}, [b]), [C, R] = rt(S), w = Ye(t);
|
|
2521
2521
|
return O(() => {
|
|
2522
|
-
!
|
|
2523
|
-
}, [C,
|
|
2522
|
+
!b || !C.current || (b.disconnect(), u.current = !1, b.observe(C.current));
|
|
2523
|
+
}, [C, b]), O(
|
|
2524
2524
|
() => (a({
|
|
2525
2525
|
type: P.RegisterDroppable,
|
|
2526
2526
|
element: {
|
|
@@ -2528,8 +2528,8 @@ function ho(e) {
|
|
|
2528
2528
|
key: i,
|
|
2529
2529
|
disabled: n,
|
|
2530
2530
|
node: C,
|
|
2531
|
-
rect:
|
|
2532
|
-
data:
|
|
2531
|
+
rect: f,
|
|
2532
|
+
data: w
|
|
2533
2533
|
}
|
|
2534
2534
|
}), () => a({
|
|
2535
2535
|
type: P.UnregisterDroppable,
|
|
@@ -2539,15 +2539,15 @@ function ho(e) {
|
|
|
2539
2539
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2540
2540
|
[r]
|
|
2541
2541
|
), O(() => {
|
|
2542
|
-
n !==
|
|
2542
|
+
n !== c.current.disabled && (a({
|
|
2543
2543
|
type: P.SetDroppableDisabled,
|
|
2544
2544
|
id: r,
|
|
2545
2545
|
key: i,
|
|
2546
2546
|
disabled: n
|
|
2547
|
-
}),
|
|
2547
|
+
}), c.current.disabled = n);
|
|
2548
2548
|
}, [r, i, n, a]), {
|
|
2549
2549
|
active: s,
|
|
2550
|
-
rect:
|
|
2550
|
+
rect: f,
|
|
2551
2551
|
isOver: l?.id === r,
|
|
2552
2552
|
node: C,
|
|
2553
2553
|
over: l,
|
|
@@ -2563,12 +2563,12 @@ function vo(e) {
|
|
|
2563
2563
|
return !n && !r && a && o(a), Q(() => {
|
|
2564
2564
|
if (!i)
|
|
2565
2565
|
return;
|
|
2566
|
-
const l = r?.key,
|
|
2567
|
-
if (l == null ||
|
|
2566
|
+
const l = r?.key, d = r?.props.id;
|
|
2567
|
+
if (l == null || d == null) {
|
|
2568
2568
|
o(null);
|
|
2569
2569
|
return;
|
|
2570
2570
|
}
|
|
2571
|
-
Promise.resolve(t(
|
|
2571
|
+
Promise.resolve(t(d, i)).then(() => {
|
|
2572
2572
|
o(null);
|
|
2573
2573
|
});
|
|
2574
2574
|
}, [t, r, i]), M.createElement(M.Fragment, null, n, r ? Yn(r, {
|
|
@@ -2603,16 +2603,16 @@ const mo = {
|
|
|
2603
2603
|
className: s,
|
|
2604
2604
|
rect: a,
|
|
2605
2605
|
style: l,
|
|
2606
|
-
transform:
|
|
2607
|
-
transition:
|
|
2606
|
+
transform: d,
|
|
2607
|
+
transition: c = yo
|
|
2608
2608
|
} = e;
|
|
2609
2609
|
if (!a)
|
|
2610
2610
|
return null;
|
|
2611
|
-
const u = o ?
|
|
2612
|
-
...
|
|
2611
|
+
const u = o ? d : {
|
|
2612
|
+
...d,
|
|
2613
2613
|
scaleX: 1,
|
|
2614
2614
|
scaleY: 1
|
|
2615
|
-
},
|
|
2615
|
+
}, f = {
|
|
2616
2616
|
...mo,
|
|
2617
2617
|
width: a.width,
|
|
2618
2618
|
height: a.height,
|
|
@@ -2620,12 +2620,12 @@ const mo = {
|
|
|
2620
2620
|
left: a.left,
|
|
2621
2621
|
transform: be.Transform.toString(u),
|
|
2622
2622
|
transformOrigin: o && r ? ur(r, a) : void 0,
|
|
2623
|
-
transition: typeof
|
|
2623
|
+
transition: typeof c == "function" ? c(r) : c,
|
|
2624
2624
|
...l
|
|
2625
2625
|
};
|
|
2626
2626
|
return M.createElement(n, {
|
|
2627
2627
|
className: s,
|
|
2628
|
-
style:
|
|
2628
|
+
style: f,
|
|
2629
2629
|
ref: t
|
|
2630
2630
|
}, i);
|
|
2631
2631
|
}), Sn = (e) => (t) => {
|
|
@@ -2644,8 +2644,8 @@ const mo = {
|
|
|
2644
2644
|
for (const [a, l] of Object.entries(i.dragOverlay))
|
|
2645
2645
|
l !== void 0 && r.node.style.setProperty(a, l);
|
|
2646
2646
|
return s != null && s.active && n.node.classList.add(s.active), s != null && s.dragOverlay && r.node.classList.add(s.dragOverlay), function() {
|
|
2647
|
-
for (const [l,
|
|
2648
|
-
n.node.style.setProperty(l,
|
|
2647
|
+
for (const [l, d] of Object.entries(o))
|
|
2648
|
+
n.node.style.setProperty(l, d);
|
|
2649
2649
|
s != null && s.active && n.node.classList.remove(s.active);
|
|
2650
2650
|
};
|
|
2651
2651
|
}, xo = (e) => {
|
|
@@ -2688,16 +2688,16 @@ function So(e) {
|
|
|
2688
2688
|
const l = a.node.current;
|
|
2689
2689
|
if (!l)
|
|
2690
2690
|
return;
|
|
2691
|
-
const
|
|
2692
|
-
if (!
|
|
2691
|
+
const d = yn(s);
|
|
2692
|
+
if (!d)
|
|
2693
2693
|
return;
|
|
2694
2694
|
const {
|
|
2695
|
-
transform:
|
|
2696
|
-
} = X(s).getComputedStyle(s), u = cn(
|
|
2695
|
+
transform: c
|
|
2696
|
+
} = X(s).getComputedStyle(s), u = cn(c);
|
|
2697
2697
|
if (!u)
|
|
2698
2698
|
return;
|
|
2699
|
-
const
|
|
2700
|
-
return pn(l, o.draggable.measure),
|
|
2699
|
+
const f = typeof t == "function" ? t : Co(t);
|
|
2700
|
+
return pn(l, o.draggable.measure), f({
|
|
2701
2701
|
active: {
|
|
2702
2702
|
id: i,
|
|
2703
2703
|
data: a.data,
|
|
@@ -2707,7 +2707,7 @@ function So(e) {
|
|
|
2707
2707
|
draggableNodes: n,
|
|
2708
2708
|
dragOverlay: {
|
|
2709
2709
|
node: s,
|
|
2710
|
-
rect: o.dragOverlay.measure(
|
|
2710
|
+
rect: o.dragOverlay.measure(d)
|
|
2711
2711
|
},
|
|
2712
2712
|
droppableContainers: r,
|
|
2713
2713
|
measuringConfiguration: o,
|
|
@@ -2730,43 +2730,43 @@ function Co(e) {
|
|
|
2730
2730
|
active: s,
|
|
2731
2731
|
dragOverlay: a,
|
|
2732
2732
|
transform: l,
|
|
2733
|
-
...
|
|
2733
|
+
...d
|
|
2734
2734
|
} = i;
|
|
2735
2735
|
if (!t)
|
|
2736
2736
|
return;
|
|
2737
|
-
const
|
|
2737
|
+
const c = {
|
|
2738
2738
|
x: a.rect.left - s.rect.left,
|
|
2739
2739
|
y: a.rect.top - s.rect.top
|
|
2740
2740
|
}, u = {
|
|
2741
2741
|
scaleX: l.scaleX !== 1 ? s.rect.width * l.scaleX / a.rect.width : 1,
|
|
2742
2742
|
scaleY: l.scaleY !== 1 ? s.rect.height * l.scaleY / a.rect.height : 1
|
|
2743
|
-
},
|
|
2744
|
-
x: l.x -
|
|
2745
|
-
y: l.y -
|
|
2743
|
+
}, f = {
|
|
2744
|
+
x: l.x - c.x,
|
|
2745
|
+
y: l.y - c.y,
|
|
2746
2746
|
...u
|
|
2747
|
-
},
|
|
2748
|
-
...
|
|
2747
|
+
}, g = o({
|
|
2748
|
+
...d,
|
|
2749
2749
|
active: s,
|
|
2750
2750
|
dragOverlay: a,
|
|
2751
2751
|
transform: {
|
|
2752
2752
|
initial: l,
|
|
2753
|
-
final:
|
|
2753
|
+
final: f
|
|
2754
2754
|
}
|
|
2755
|
-
}), [
|
|
2756
|
-
if (JSON.stringify(
|
|
2755
|
+
}), [p] = g, h = g[g.length - 1];
|
|
2756
|
+
if (JSON.stringify(p) === JSON.stringify(h))
|
|
2757
2757
|
return;
|
|
2758
2758
|
const v = r?.({
|
|
2759
2759
|
active: s,
|
|
2760
2760
|
dragOverlay: a,
|
|
2761
|
-
...
|
|
2762
|
-
}),
|
|
2761
|
+
...d
|
|
2762
|
+
}), m = a.node.animate(g, {
|
|
2763
2763
|
duration: t,
|
|
2764
2764
|
easing: n,
|
|
2765
2765
|
fill: "forwards"
|
|
2766
2766
|
});
|
|
2767
|
-
return new Promise((
|
|
2768
|
-
|
|
2769
|
-
v?.(),
|
|
2767
|
+
return new Promise((y) => {
|
|
2768
|
+
m.onfinish = () => {
|
|
2769
|
+
v?.(), y();
|
|
2770
2770
|
};
|
|
2771
2771
|
});
|
|
2772
2772
|
};
|
|
@@ -2788,53 +2788,53 @@ const Eo = /* @__PURE__ */ M.memo((e) => {
|
|
|
2788
2788
|
modifiers: s,
|
|
2789
2789
|
wrapperElement: a = "div",
|
|
2790
2790
|
className: l,
|
|
2791
|
-
zIndex:
|
|
2791
|
+
zIndex: d = 999
|
|
2792
2792
|
} = e;
|
|
2793
2793
|
const {
|
|
2794
|
-
activatorEvent:
|
|
2794
|
+
activatorEvent: c,
|
|
2795
2795
|
active: u,
|
|
2796
|
-
activeNodeRect:
|
|
2797
|
-
containerNodeRect:
|
|
2798
|
-
draggableNodes:
|
|
2796
|
+
activeNodeRect: f,
|
|
2797
|
+
containerNodeRect: g,
|
|
2798
|
+
draggableNodes: p,
|
|
2799
2799
|
droppableContainers: h,
|
|
2800
2800
|
dragOverlay: v,
|
|
2801
|
-
over:
|
|
2802
|
-
measuringConfiguration:
|
|
2803
|
-
scrollableAncestors:
|
|
2801
|
+
over: m,
|
|
2802
|
+
measuringConfiguration: y,
|
|
2803
|
+
scrollableAncestors: b,
|
|
2804
2804
|
scrollableAncestorRects: S,
|
|
2805
2805
|
windowRect: C
|
|
2806
|
-
} = Mt(), R = ce(ht),
|
|
2807
|
-
activatorEvent:
|
|
2806
|
+
} = Mt(), R = ce(ht), w = Ro(u?.id), x = Dn(s, {
|
|
2807
|
+
activatorEvent: c,
|
|
2808
2808
|
active: u,
|
|
2809
|
-
activeNodeRect:
|
|
2810
|
-
containerNodeRect:
|
|
2809
|
+
activeNodeRect: f,
|
|
2810
|
+
containerNodeRect: g,
|
|
2811
2811
|
draggingNodeRect: v.rect,
|
|
2812
|
-
over:
|
|
2812
|
+
over: m,
|
|
2813
2813
|
overlayNodeRect: v.rect,
|
|
2814
|
-
scrollableAncestors:
|
|
2814
|
+
scrollableAncestors: b,
|
|
2815
2815
|
scrollableAncestorRects: S,
|
|
2816
2816
|
transform: R,
|
|
2817
2817
|
windowRect: C
|
|
2818
|
-
}), T = Tt(
|
|
2818
|
+
}), T = Tt(f), L = So({
|
|
2819
2819
|
config: r,
|
|
2820
|
-
draggableNodes:
|
|
2820
|
+
draggableNodes: p,
|
|
2821
2821
|
droppableContainers: h,
|
|
2822
|
-
measuringConfiguration:
|
|
2822
|
+
measuringConfiguration: y
|
|
2823
2823
|
}), I = T ? v.setRef : void 0;
|
|
2824
2824
|
return M.createElement(bo, null, M.createElement(vo, {
|
|
2825
2825
|
animation: L
|
|
2826
|
-
}, u &&
|
|
2827
|
-
key:
|
|
2826
|
+
}, u && w ? M.createElement(wo, {
|
|
2827
|
+
key: w,
|
|
2828
2828
|
id: u.id,
|
|
2829
2829
|
ref: I,
|
|
2830
2830
|
as: a,
|
|
2831
|
-
activatorEvent:
|
|
2831
|
+
activatorEvent: c,
|
|
2832
2832
|
adjustScale: t,
|
|
2833
2833
|
className: l,
|
|
2834
2834
|
transition: i,
|
|
2835
2835
|
rect: T,
|
|
2836
2836
|
style: {
|
|
2837
|
-
zIndex:
|
|
2837
|
+
zIndex: d,
|
|
2838
2838
|
...o
|
|
2839
2839
|
},
|
|
2840
2840
|
transform: x
|
|
@@ -2909,28 +2909,28 @@ function No(e) {
|
|
|
2909
2909
|
active: s,
|
|
2910
2910
|
dragOverlay: a,
|
|
2911
2911
|
droppableRects: l,
|
|
2912
|
-
over:
|
|
2913
|
-
measureDroppableContainers:
|
|
2914
|
-
} = Mt(), u = Ve(Rn, n),
|
|
2912
|
+
over: d,
|
|
2913
|
+
measureDroppableContainers: c
|
|
2914
|
+
} = Mt(), u = Ve(Rn, n), f = a.rect !== null, g = E(() => r.map((R) => typeof R == "object" && "id" in R ? R.id : R), [r]), p = s != null, h = s ? g.indexOf(s.id) : -1, v = d ? g.indexOf(d.id) : -1, m = N(g), y = !Io(g, m.current), b = v !== -1 && h === -1 || y, S = Oo(i);
|
|
2915
2915
|
Q(() => {
|
|
2916
|
-
|
|
2917
|
-
}, [
|
|
2918
|
-
|
|
2919
|
-
}, [
|
|
2916
|
+
y && p && c(g);
|
|
2917
|
+
}, [y, g, p, c]), O(() => {
|
|
2918
|
+
m.current = g;
|
|
2919
|
+
}, [g]);
|
|
2920
2920
|
const C = E(
|
|
2921
2921
|
() => ({
|
|
2922
2922
|
activeIndex: h,
|
|
2923
2923
|
containerId: u,
|
|
2924
2924
|
disabled: S,
|
|
2925
|
-
disableTransforms:
|
|
2926
|
-
items:
|
|
2925
|
+
disableTransforms: b,
|
|
2926
|
+
items: g,
|
|
2927
2927
|
overIndex: v,
|
|
2928
|
-
useDragOverlay:
|
|
2929
|
-
sortedRects: Ao(
|
|
2928
|
+
useDragOverlay: f,
|
|
2929
|
+
sortedRects: Ao(g, l),
|
|
2930
2930
|
strategy: o
|
|
2931
2931
|
}),
|
|
2932
2932
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2933
|
-
[h, u, S.draggable, S.droppable,
|
|
2933
|
+
[h, u, S.draggable, S.droppable, b, g, v, l, f, o]
|
|
2934
2934
|
);
|
|
2935
2935
|
return M.createElement(En.Provider, {
|
|
2936
2936
|
value: C
|
|
@@ -2954,9 +2954,9 @@ const To = (e) => {
|
|
|
2954
2954
|
newIndex: s,
|
|
2955
2955
|
previousItems: a,
|
|
2956
2956
|
previousContainerId: l,
|
|
2957
|
-
transition:
|
|
2957
|
+
transition: d
|
|
2958
2958
|
} = e;
|
|
2959
|
-
return !
|
|
2959
|
+
return !d || !r || a !== i && o === s ? !1 : n ? !0 : s !== o && t === l;
|
|
2960
2960
|
}, Lo = {
|
|
2961
2961
|
duration: 200,
|
|
2962
2962
|
easing: "ease"
|
|
@@ -2979,15 +2979,15 @@ function zo(e) {
|
|
|
2979
2979
|
if (!t && n !== a.current && r.current) {
|
|
2980
2980
|
const l = o.current;
|
|
2981
2981
|
if (l) {
|
|
2982
|
-
const
|
|
2982
|
+
const d = Oe(r.current, {
|
|
2983
2983
|
ignoreTransform: !0
|
|
2984
|
-
}),
|
|
2985
|
-
x: l.left -
|
|
2986
|
-
y: l.top -
|
|
2987
|
-
scaleX: l.width /
|
|
2988
|
-
scaleY: l.height /
|
|
2984
|
+
}), c = {
|
|
2985
|
+
x: l.left - d.left,
|
|
2986
|
+
y: l.top - d.top,
|
|
2987
|
+
scaleX: l.width / d.width,
|
|
2988
|
+
scaleY: l.height / d.height
|
|
2989
2989
|
};
|
|
2990
|
-
(
|
|
2990
|
+
(c.x || c.y) && s(c);
|
|
2991
2991
|
}
|
|
2992
2992
|
}
|
|
2993
2993
|
n !== a.current && (a.current = n);
|
|
@@ -3005,34 +3005,34 @@ function jo(e) {
|
|
|
3005
3005
|
id: s,
|
|
3006
3006
|
strategy: a,
|
|
3007
3007
|
resizeObserverConfig: l,
|
|
3008
|
-
transition:
|
|
3008
|
+
transition: d = Lo
|
|
3009
3009
|
} = e;
|
|
3010
3010
|
const {
|
|
3011
|
-
items:
|
|
3011
|
+
items: c,
|
|
3012
3012
|
containerId: u,
|
|
3013
|
-
activeIndex:
|
|
3014
|
-
disabled:
|
|
3015
|
-
disableTransforms:
|
|
3013
|
+
activeIndex: f,
|
|
3014
|
+
disabled: g,
|
|
3015
|
+
disableTransforms: p,
|
|
3016
3016
|
sortedRects: h,
|
|
3017
3017
|
overIndex: v,
|
|
3018
|
-
useDragOverlay:
|
|
3019
|
-
strategy:
|
|
3020
|
-
} = ce(En),
|
|
3018
|
+
useDragOverlay: m,
|
|
3019
|
+
strategy: y
|
|
3020
|
+
} = ce(En), b = Bo(r, g), S = c.indexOf(s), C = E(() => ({
|
|
3021
3021
|
sortable: {
|
|
3022
3022
|
containerId: u,
|
|
3023
3023
|
index: S,
|
|
3024
|
-
items:
|
|
3024
|
+
items: c
|
|
3025
3025
|
},
|
|
3026
3026
|
...o
|
|
3027
|
-
}), [u, o, S,
|
|
3028
|
-
rect:
|
|
3027
|
+
}), [u, o, S, c]), R = E(() => c.slice(c.indexOf(s)), [c, s]), {
|
|
3028
|
+
rect: w,
|
|
3029
3029
|
node: x,
|
|
3030
3030
|
isOver: T,
|
|
3031
3031
|
setNodeRef: L
|
|
3032
3032
|
} = ho({
|
|
3033
3033
|
id: s,
|
|
3034
3034
|
data: C,
|
|
3035
|
-
disabled:
|
|
3035
|
+
disabled: b.droppable,
|
|
3036
3036
|
resizeObserverConfig: {
|
|
3037
3037
|
updateMeasurementsFor: R,
|
|
3038
3038
|
...l
|
|
@@ -3055,45 +3055,45 @@ function jo(e) {
|
|
|
3055
3055
|
...ko,
|
|
3056
3056
|
...n
|
|
3057
3057
|
},
|
|
3058
|
-
disabled:
|
|
3059
|
-
}), Ge = qn(L, Ne), $ = !!I, ie = $ && !
|
|
3058
|
+
disabled: b.draggable
|
|
3059
|
+
}), Ge = qn(L, Ne), $ = !!I, ie = $ && !p && tt(f) && tt(v), me = !m && Y, Me = me && ie ? Te : null, Qe = ie ? Me ?? (a ?? y)({
|
|
3060
3060
|
rects: h,
|
|
3061
3061
|
activeNodeRect: G,
|
|
3062
|
-
activeIndex:
|
|
3062
|
+
activeIndex: f,
|
|
3063
3063
|
overIndex: v,
|
|
3064
3064
|
index: S
|
|
3065
|
-
}) : null, ue = tt(
|
|
3065
|
+
}) : null, ue = tt(f) && tt(v) ? i({
|
|
3066
3066
|
id: s,
|
|
3067
|
-
items:
|
|
3068
|
-
activeIndex:
|
|
3067
|
+
items: c,
|
|
3068
|
+
activeIndex: f,
|
|
3069
3069
|
overIndex: v
|
|
3070
3070
|
}) : S, se = I?.id, A = N({
|
|
3071
3071
|
activeId: se,
|
|
3072
|
-
items:
|
|
3072
|
+
items: c,
|
|
3073
3073
|
newIndex: ue,
|
|
3074
3074
|
containerId: u
|
|
3075
|
-
}), Le =
|
|
3075
|
+
}), Le = c !== A.current.items, te = t({
|
|
3076
3076
|
active: I,
|
|
3077
3077
|
containerId: u,
|
|
3078
3078
|
isDragging: Y,
|
|
3079
3079
|
isSorting: $,
|
|
3080
3080
|
id: s,
|
|
3081
3081
|
index: S,
|
|
3082
|
-
items:
|
|
3082
|
+
items: c,
|
|
3083
3083
|
newIndex: A.current.newIndex,
|
|
3084
3084
|
previousItems: A.current.items,
|
|
3085
3085
|
previousContainerId: A.current.containerId,
|
|
3086
|
-
transition:
|
|
3086
|
+
transition: d,
|
|
3087
3087
|
wasDragging: A.current.activeId != null
|
|
3088
3088
|
}), ye = zo({
|
|
3089
3089
|
disabled: !te,
|
|
3090
3090
|
index: S,
|
|
3091
3091
|
node: x,
|
|
3092
|
-
rect:
|
|
3092
|
+
rect: w
|
|
3093
3093
|
});
|
|
3094
3094
|
return O(() => {
|
|
3095
|
-
$ && A.current.newIndex !== ue && (A.current.newIndex = ue), u !== A.current.containerId && (A.current.containerId = u),
|
|
3096
|
-
}, [$, ue, u,
|
|
3095
|
+
$ && A.current.newIndex !== ue && (A.current.newIndex = ue), u !== A.current.containerId && (A.current.containerId = u), c !== A.current.items && (A.current.items = c);
|
|
3096
|
+
}, [$, ue, u, c]), O(() => {
|
|
3097
3097
|
if (se === A.current.activeId)
|
|
3098
3098
|
return;
|
|
3099
3099
|
if (se != null && A.current.activeId == null) {
|
|
@@ -3106,13 +3106,13 @@ function jo(e) {
|
|
|
3106
3106
|
return () => clearTimeout(we);
|
|
3107
3107
|
}, [se]), {
|
|
3108
3108
|
active: I,
|
|
3109
|
-
activeIndex:
|
|
3109
|
+
activeIndex: f,
|
|
3110
3110
|
attributes: ee,
|
|
3111
3111
|
data: C,
|
|
3112
|
-
rect:
|
|
3112
|
+
rect: w,
|
|
3113
3113
|
index: S,
|
|
3114
3114
|
newIndex: ue,
|
|
3115
|
-
items:
|
|
3115
|
+
items: c,
|
|
3116
3116
|
isOver: T,
|
|
3117
3117
|
isSorting: $,
|
|
3118
3118
|
isDragging: Y,
|
|
@@ -3134,9 +3134,9 @@ function jo(e) {
|
|
|
3134
3134
|
Le && A.current.newIndex === S
|
|
3135
3135
|
)
|
|
3136
3136
|
return Po;
|
|
3137
|
-
if (!(me && !dt(J) || !
|
|
3137
|
+
if (!(me && !dt(J) || !d) && ($ || te))
|
|
3138
3138
|
return be.Transition.toString({
|
|
3139
|
-
...
|
|
3139
|
+
...d,
|
|
3140
3140
|
property: An
|
|
3141
3141
|
});
|
|
3142
3142
|
}
|
|
@@ -3176,43 +3176,43 @@ const Fo = [D.Down, D.Right, D.Up, D.Left], Xo = (e, t) => {
|
|
|
3176
3176
|
i.getEnabled().forEach((u) => {
|
|
3177
3177
|
if (!u || u != null && u.disabled)
|
|
3178
3178
|
return;
|
|
3179
|
-
const
|
|
3180
|
-
if (
|
|
3179
|
+
const f = o.get(u.id);
|
|
3180
|
+
if (f)
|
|
3181
3181
|
switch (e.code) {
|
|
3182
3182
|
case D.Down:
|
|
3183
|
-
r.top <
|
|
3183
|
+
r.top < f.top && l.push(u);
|
|
3184
3184
|
break;
|
|
3185
3185
|
case D.Up:
|
|
3186
|
-
r.top >
|
|
3186
|
+
r.top > f.top && l.push(u);
|
|
3187
3187
|
break;
|
|
3188
3188
|
case D.Left:
|
|
3189
|
-
r.left >
|
|
3189
|
+
r.left > f.left && l.push(u);
|
|
3190
3190
|
break;
|
|
3191
3191
|
case D.Right:
|
|
3192
|
-
r.left <
|
|
3192
|
+
r.left < f.left && l.push(u);
|
|
3193
3193
|
break;
|
|
3194
3194
|
}
|
|
3195
3195
|
});
|
|
3196
|
-
const
|
|
3196
|
+
const d = gr({
|
|
3197
3197
|
collisionRect: r,
|
|
3198
3198
|
droppableRects: o,
|
|
3199
3199
|
droppableContainers: l
|
|
3200
3200
|
});
|
|
3201
|
-
let
|
|
3202
|
-
if (
|
|
3203
|
-
const u = i.get(n.id),
|
|
3204
|
-
if (
|
|
3205
|
-
const v = ft(
|
|
3201
|
+
let c = an(d, "id");
|
|
3202
|
+
if (c === s?.id && d.length > 1 && (c = d[1].id), c != null) {
|
|
3203
|
+
const u = i.get(n.id), f = i.get(c), g = f ? o.get(f.id) : null, p = f?.node.current;
|
|
3204
|
+
if (p && g && u && f) {
|
|
3205
|
+
const v = ft(p).some((R, w) => a[w] !== R), m = In(u, f), y = $o(u, f), b = v || !m ? {
|
|
3206
3206
|
x: 0,
|
|
3207
3207
|
y: 0
|
|
3208
3208
|
} : {
|
|
3209
|
-
x:
|
|
3210
|
-
y:
|
|
3209
|
+
x: y ? r.width - g.width : 0,
|
|
3210
|
+
y: y ? r.height - g.height : 0
|
|
3211
3211
|
}, S = {
|
|
3212
|
-
x:
|
|
3213
|
-
y:
|
|
3212
|
+
x: g.left,
|
|
3213
|
+
y: g.top
|
|
3214
3214
|
};
|
|
3215
|
-
return
|
|
3215
|
+
return b.x && b.y ? S : Ke(S, b);
|
|
3216
3216
|
}
|
|
3217
3217
|
}
|
|
3218
3218
|
}
|
|
@@ -3228,49 +3228,53 @@ const On = Ee({
|
|
|
3228
3228
|
listeners: void 0,
|
|
3229
3229
|
ref() {
|
|
3230
3230
|
}
|
|
3231
|
-
}), Yo = ({
|
|
3232
|
-
|
|
3231
|
+
}), Yo = ({
|
|
3232
|
+
["data-testid"]: e = "kibble-sortable-list-drag-handle",
|
|
3233
|
+
...t
|
|
3234
|
+
}) => {
|
|
3235
|
+
const { attributes: n, listeners: r, ref: o } = ce(On), i = Mt();
|
|
3233
3236
|
return /* @__PURE__ */ _.jsx(
|
|
3234
3237
|
Kn,
|
|
3235
3238
|
{
|
|
3236
3239
|
className: "SortableList__DragHandle",
|
|
3237
|
-
"data-testid":
|
|
3238
|
-
ref:
|
|
3239
|
-
cursor:
|
|
3240
|
+
"data-testid": e,
|
|
3241
|
+
ref: o,
|
|
3242
|
+
cursor: i.activatorEvent ? "grabbing" : "grab",
|
|
3240
3243
|
iconName: "grid",
|
|
3241
3244
|
size: "sm",
|
|
3242
3245
|
variant: "ghostNeutral",
|
|
3243
|
-
...t,
|
|
3244
3246
|
...n,
|
|
3245
|
-
...
|
|
3247
|
+
...r,
|
|
3248
|
+
...t
|
|
3246
3249
|
}
|
|
3247
3250
|
);
|
|
3248
3251
|
}, nn = ({
|
|
3249
3252
|
content: e,
|
|
3250
3253
|
hideHandle: t,
|
|
3251
3254
|
id: n,
|
|
3252
|
-
itemProps: r
|
|
3255
|
+
itemProps: r,
|
|
3256
|
+
["data-testid"]: o = "kibble-sortable-list-item"
|
|
3253
3257
|
}) => {
|
|
3254
|
-
const { attributes:
|
|
3258
|
+
const { attributes: i, isDragging: s, listeners: a, setNodeRef: l, setActivatorNodeRef: d, transform: c, transition: u } = jo({
|
|
3255
3259
|
id: n
|
|
3256
|
-
}),
|
|
3260
|
+
}), f = E(
|
|
3257
3261
|
() => ({
|
|
3258
|
-
attributes:
|
|
3259
|
-
listeners:
|
|
3260
|
-
ref:
|
|
3262
|
+
attributes: i,
|
|
3263
|
+
listeners: a,
|
|
3264
|
+
ref: d
|
|
3261
3265
|
}),
|
|
3262
|
-
[
|
|
3266
|
+
[i, a, d]
|
|
3263
3267
|
);
|
|
3264
|
-
return /* @__PURE__ */ _.jsx(On.Provider, { value:
|
|
3268
|
+
return /* @__PURE__ */ _.jsx(On.Provider, { value: f, children: /* @__PURE__ */ _.jsx(
|
|
3265
3269
|
Hn,
|
|
3266
3270
|
{
|
|
3267
3271
|
className: "SortableList__Item",
|
|
3268
|
-
"data-testid":
|
|
3269
|
-
ref:
|
|
3272
|
+
"data-testid": o,
|
|
3273
|
+
ref: l,
|
|
3270
3274
|
...r,
|
|
3271
3275
|
listStyleType: "none",
|
|
3272
|
-
...
|
|
3273
|
-
transition:
|
|
3276
|
+
...s && { opacity: 0.4 },
|
|
3277
|
+
transition: u,
|
|
3274
3278
|
transform: be.Translate.toString(c),
|
|
3275
3279
|
children: /* @__PURE__ */ _.jsxs(Wn, { alignItems: "center", gap: 2, width: "100%", children: [
|
|
3276
3280
|
!t && /* @__PURE__ */ _.jsx(Yo, {}),
|
|
@@ -3283,9 +3287,10 @@ const On = Ee({
|
|
|
3283
3287
|
items: t,
|
|
3284
3288
|
itemsProps: n,
|
|
3285
3289
|
onChange: r,
|
|
3286
|
-
|
|
3290
|
+
["data-testid"]: o = "kibble-sortable-list",
|
|
3291
|
+
...i
|
|
3287
3292
|
}) => {
|
|
3288
|
-
const [
|
|
3293
|
+
const [s, a] = B(null), l = E(() => t.find((c) => c.id === s?.id), [s, t]), d = lr(
|
|
3289
3294
|
Kt(Nt),
|
|
3290
3295
|
Kt(It, {
|
|
3291
3296
|
coordinateGetter: Xo
|
|
@@ -3294,21 +3299,21 @@ const On = Ee({
|
|
|
3294
3299
|
return /* @__PURE__ */ _.jsx(
|
|
3295
3300
|
ao,
|
|
3296
3301
|
{
|
|
3297
|
-
sensors:
|
|
3302
|
+
sensors: d,
|
|
3298
3303
|
onDragStart: ({ active: c }) => {
|
|
3299
|
-
|
|
3304
|
+
a(c);
|
|
3300
3305
|
},
|
|
3301
|
-
onDragEnd: ({ active: c, over:
|
|
3302
|
-
if (
|
|
3303
|
-
const
|
|
3304
|
-
r(Lt(t,
|
|
3306
|
+
onDragEnd: ({ active: c, over: u }) => {
|
|
3307
|
+
if (u && c.id !== u?.id) {
|
|
3308
|
+
const f = t.findIndex(({ id: p }) => p === c.id), g = t.findIndex(({ id: p }) => p === u.id);
|
|
3309
|
+
r(Lt(t, f, g));
|
|
3305
3310
|
}
|
|
3306
|
-
|
|
3311
|
+
a(null);
|
|
3307
3312
|
},
|
|
3308
|
-
onDragCancel: () =>
|
|
3309
|
-
children: /* @__PURE__ */ _.jsx(No, { items: t, children: /* @__PURE__ */ _.jsxs(Vn, { className: "SortableList", "data-testid":
|
|
3313
|
+
onDragCancel: () => a(null),
|
|
3314
|
+
children: /* @__PURE__ */ _.jsx(No, { items: t, children: /* @__PURE__ */ _.jsxs(Vn, { className: "SortableList", "data-testid": o, gap: 2, ml: 0, ...i, children: [
|
|
3310
3315
|
t.map((c) => /* @__PURE__ */ _.jsx(nn, { ...c, itemProps: n, hideHandle: e }, c.id)),
|
|
3311
|
-
|
|
3316
|
+
l && /* @__PURE__ */ _.jsx(Eo, { dropAnimation: Ko, children: /* @__PURE__ */ _.jsx(nn, { ...l, itemProps: n, hideHandle: e }) })
|
|
3312
3317
|
] }) })
|
|
3313
3318
|
}
|
|
3314
3319
|
);
|
|
@@ -3324,4 +3329,4 @@ const On = Ee({
|
|
|
3324
3329
|
export {
|
|
3325
3330
|
Go as S
|
|
3326
3331
|
};
|
|
3327
|
-
//# sourceMappingURL=sortableList.component-
|
|
3332
|
+
//# sourceMappingURL=sortableList.component-XfURY7C2.js.map
|