@televet/kibble-ui 4.0.0-beta.7 → 4.0.0-beta.70
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/README.md +40 -0
- package/dist/chunks/IconLogo-C4aZqkn1.js +2 -0
- package/dist/chunks/IconLogo-C4aZqkn1.js.map +1 -0
- package/dist/chunks/IconLogo-D8EHZ4Is.js +62 -0
- package/dist/chunks/IconLogo-D8EHZ4Is.js.map +1 -0
- package/dist/chunks/alert.types-DS2Fvjh0.js +219 -0
- package/dist/chunks/alert.types-DS2Fvjh0.js.map +1 -0
- package/dist/chunks/alert.types-Dk432DON.js +2 -0
- package/dist/chunks/alert.types-Dk432DON.js.map +1 -0
- package/dist/chunks/attr-BMs6szZx.js +2 -0
- package/dist/chunks/attr-BMs6szZx.js.map +1 -0
- package/dist/chunks/attr-sm10PXOd.js +5 -0
- package/dist/chunks/attr-sm10PXOd.js.map +1 -0
- package/dist/chunks/avatar.component-BwnT1aJb.js +2 -0
- package/dist/chunks/avatar.component-BwnT1aJb.js.map +1 -0
- package/dist/chunks/avatar.component-D8-zSaZY.js +420 -0
- package/dist/chunks/avatar.component-D8-zSaZY.js.map +1 -0
- package/dist/chunks/{avatarGroup.component-CceV-fW0.js → avatarGroup.component-CzE1Zf5a.js} +27 -28
- package/dist/chunks/{avatarGroup.component-CceV-fW0.js.map → avatarGroup.component-CzE1Zf5a.js.map} +1 -1
- package/dist/chunks/avatarGroup.component-fwQM13xU.js +2 -0
- package/dist/chunks/{avatarGroup.component-Q43nemix.js.map → avatarGroup.component-fwQM13xU.js.map} +1 -1
- package/dist/chunks/box-Baq7UBls.js +2 -0
- package/dist/chunks/box-Baq7UBls.js.map +1 -0
- package/dist/chunks/box-Ck9I7FYv.js +7 -0
- package/dist/chunks/box-Ck9I7FYv.js.map +1 -0
- package/dist/chunks/{button.component-BtkAjIWe.js → button.component-BpF3MzbZ.js} +10 -10
- package/dist/chunks/button.component-BpF3MzbZ.js.map +1 -0
- package/dist/chunks/button.component-Dd9AfGox.js +2 -0
- package/dist/chunks/button.component-Dd9AfGox.js.map +1 -0
- package/dist/chunks/buttonGroup.component-BxNmf9PW.js +77 -0
- package/dist/chunks/buttonGroup.component-BxNmf9PW.js.map +1 -0
- package/dist/chunks/buttonGroup.component-DjIL4l4S.js +2 -0
- package/dist/chunks/buttonGroup.component-DjIL4l4S.js.map +1 -0
- package/dist/chunks/card.component-DNX41NGG.js +59 -0
- package/dist/chunks/card.component-DNX41NGG.js.map +1 -0
- package/dist/chunks/card.component-KNc4HKSh.js +2 -0
- package/dist/chunks/card.component-KNc4HKSh.js.map +1 -0
- package/dist/chunks/card.types-Cixp7ouC.js +5 -0
- package/dist/chunks/card.types-Cixp7ouC.js.map +1 -0
- package/dist/chunks/card.types-MvkQTTZF.js +2 -0
- package/dist/chunks/card.types-MvkQTTZF.js.map +1 -0
- package/dist/chunks/{characterCounter.component-DhiMcztY.js → characterCounter.component-Cp21TfIs.js} +14 -12
- package/dist/chunks/{characterCounter.component-DhiMcztY.js.map → characterCounter.component-Cp21TfIs.js.map} +1 -1
- package/dist/chunks/characterCounter.component-DcA584n-.js +2 -0
- package/dist/chunks/{characterCounter.component-BXxyn_IB.js.map → characterCounter.component-DcA584n-.js.map} +1 -1
- package/dist/chunks/checkbox.component--Vmgxp-7.js +310 -0
- package/dist/chunks/checkbox.component--Vmgxp-7.js.map +1 -0
- package/dist/chunks/checkbox.component-Bh4QwJcg.js +2 -0
- package/dist/chunks/checkbox.component-Bh4QwJcg.js.map +1 -0
- package/dist/chunks/checkbox.records-4sZOXHyU.js +266 -0
- package/dist/chunks/checkbox.records-4sZOXHyU.js.map +1 -0
- package/dist/chunks/checkbox.records-DZk2IwS4.js +2 -0
- package/dist/chunks/checkbox.records-DZk2IwS4.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-9ZYKl7G0.js +52 -0
- package/dist/chunks/{checkboxGroup.component-DcIdfbbl.js.map → checkboxGroup.component-9ZYKl7G0.js.map} +1 -1
- package/dist/chunks/checkboxGroup.component-DNNFSz0R.js +2 -0
- package/dist/chunks/{checkboxGroup.component-BYKUQW4y.js.map → checkboxGroup.component-DNNFSz0R.js.map} +1 -1
- package/dist/chunks/config-BFcXpdZo.js +2 -0
- package/dist/chunks/config-BFcXpdZo.js.map +1 -0
- package/dist/chunks/config-DlTdf-Yt.js +57 -0
- package/dist/chunks/config-DlTdf-Yt.js.map +1 -0
- package/dist/chunks/conversationCard.component-DB9oGCQJ.js +2 -0
- package/dist/chunks/conversationCard.component-DB9oGCQJ.js.map +1 -0
- package/dist/chunks/{conversationCard.component-BSfDNuuw.js → conversationCard.component-Dl3nmTER.js} +51 -49
- package/dist/chunks/conversationCard.component-Dl3nmTER.js.map +1 -0
- package/dist/chunks/create-recipe-context-D7FewUR4.js +62 -0
- package/dist/chunks/create-recipe-context-D7FewUR4.js.map +1 -0
- package/dist/chunks/create-recipe-context-sESms8Eo.js +2 -0
- package/dist/chunks/create-recipe-context-sESms8Eo.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +97 -0
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +2 -0
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +1 -0
- package/dist/chunks/datePicker.component-BH4hHFlv.js +15 -0
- package/dist/chunks/datePicker.component-BH4hHFlv.js.map +1 -0
- package/dist/chunks/datePicker.component-Io1iXlpG.js +3165 -0
- package/dist/chunks/datePicker.component-Io1iXlpG.js.map +1 -0
- package/dist/chunks/dialog-trigger-B5NK0lr-.js +2 -0
- package/dist/chunks/dialog-trigger-B5NK0lr-.js.map +1 -0
- package/dist/chunks/dialog-trigger-BPlPzPU-.js +78 -0
- package/dist/chunks/dialog-trigger-BPlPzPU-.js.map +1 -0
- package/dist/chunks/divider.types-0j5qRXed.js +47 -0
- package/dist/chunks/divider.types-0j5qRXed.js.map +1 -0
- package/dist/chunks/divider.types-CK5oFy-i.js +2 -0
- package/dist/chunks/divider.types-CK5oFy-i.js.map +1 -0
- package/dist/chunks/empty-B5_AO6Pg.js +2 -0
- package/dist/chunks/empty-B5_AO6Pg.js.map +1 -0
- package/dist/chunks/empty-BU2EAux9.js +8 -0
- package/dist/chunks/empty-BU2EAux9.js.map +1 -0
- package/dist/chunks/factory-Ctbv0Ozn.js +500 -0
- package/dist/chunks/factory-Ctbv0Ozn.js.map +1 -0
- package/dist/chunks/factory-D6tdBUPG.js +3 -0
- package/dist/chunks/factory-D6tdBUPG.js.map +1 -0
- package/dist/chunks/flex-D14H6HbP.js +2 -0
- package/dist/chunks/flex-D14H6HbP.js.map +1 -0
- package/dist/chunks/flex-smlF8uQG.js +40 -0
- package/dist/chunks/flex-smlF8uQG.js.map +1 -0
- package/dist/chunks/float-DYLtz2A6.js +64 -0
- package/dist/chunks/float-DYLtz2A6.js.map +1 -0
- package/dist/chunks/float-OQXnYWBw.js +2 -0
- package/dist/chunks/float-OQXnYWBw.js.map +1 -0
- package/dist/chunks/format-BRt-TIiQ.js +2 -0
- package/dist/chunks/format-BRt-TIiQ.js.map +1 -0
- package/dist/chunks/format-DgHM6wFr.js +1275 -0
- package/dist/chunks/format-DgHM6wFr.js.map +1 -0
- package/dist/chunks/grid-item-BV4dwEBP.js +90 -0
- package/dist/chunks/grid-item-BV4dwEBP.js.map +1 -0
- package/dist/chunks/grid-item-CR-sXrjU.js +2 -0
- package/dist/chunks/grid-item-CR-sXrjU.js.map +1 -0
- package/dist/chunks/group-Cv7AQw1b.js +2 -0
- package/dist/chunks/group-Cv7AQw1b.js.map +1 -0
- package/dist/chunks/group-DPCVolOl.js +139 -0
- package/dist/chunks/group-DPCVolOl.js.map +1 -0
- package/dist/chunks/h-stack-Bjx9hlJo.js +2 -0
- package/dist/chunks/h-stack-Bjx9hlJo.js.map +1 -0
- package/dist/chunks/h-stack-Ce6JSBK2.js +12 -0
- package/dist/chunks/h-stack-Ce6JSBK2.js.map +1 -0
- package/dist/chunks/heading.component-CDpYQCrQ.js +12 -0
- package/dist/chunks/heading.component-CDpYQCrQ.js.map +1 -0
- package/dist/chunks/heading.component-YGxay5SH.js +2 -0
- package/dist/chunks/heading.component-YGxay5SH.js.map +1 -0
- package/dist/chunks/icon-button-DTZOklQ9.js +119 -0
- package/dist/chunks/icon-button-DTZOklQ9.js.map +1 -0
- package/dist/chunks/icon-button-DtjZ-SdQ.js +2 -0
- package/dist/chunks/icon-button-DtjZ-SdQ.js.map +1 -0
- package/dist/chunks/icon.component-C0e0UGBw.js +2 -0
- package/dist/chunks/icon.component-C0e0UGBw.js.map +1 -0
- package/dist/chunks/{icon.component-DjNY589M.js → icon.component-DGNCL1Yc.js} +14 -16
- package/dist/chunks/icon.component-DGNCL1Yc.js.map +1 -0
- package/dist/chunks/icons-BXxdrBrf.js +216 -0
- package/dist/chunks/icons-BXxdrBrf.js.map +1 -0
- package/dist/chunks/icons-CTpAjbC-.js +2 -0
- package/dist/chunks/icons-CTpAjbC-.js.map +1 -0
- package/dist/chunks/index-BBZxmcrY.js +2 -0
- package/dist/chunks/index-BBZxmcrY.js.map +1 -0
- package/dist/chunks/index-BDnnTdaJ.js +2 -0
- package/dist/chunks/index-BDnnTdaJ.js.map +1 -0
- package/dist/chunks/index-BGwwyukg.js +2 -0
- package/dist/chunks/index-BGwwyukg.js.map +1 -0
- package/dist/chunks/index-BNYygzo-.js +376 -0
- package/dist/chunks/index-BNYygzo-.js.map +1 -0
- package/dist/chunks/index-BYf7SZUC.js +2 -0
- package/dist/chunks/index-BYf7SZUC.js.map +1 -0
- package/dist/chunks/index-BknUKotT.js +38 -0
- package/dist/chunks/index-BknUKotT.js.map +1 -0
- package/dist/chunks/index-C26MvkG3.js +2 -0
- package/dist/chunks/index-C26MvkG3.js.map +1 -0
- package/dist/chunks/index-C2kxTsiE.js +291 -0
- package/dist/chunks/index-C2kxTsiE.js.map +1 -0
- package/dist/chunks/index-COoMV9Mh.js +2 -0
- package/dist/chunks/index-COoMV9Mh.js.map +1 -0
- package/dist/chunks/index-CYk-7wwG.js +1018 -0
- package/dist/chunks/index-CYk-7wwG.js.map +1 -0
- package/dist/chunks/index-CZ42b9rT.js +3 -0
- package/dist/chunks/index-CZ42b9rT.js.map +1 -0
- package/dist/chunks/index-CZz7hHWb.js +2 -0
- package/dist/chunks/index-CZz7hHWb.js.map +1 -0
- package/dist/chunks/index-CgivotaP.js +20 -0
- package/dist/chunks/index-CgivotaP.js.map +1 -0
- package/dist/chunks/index-CjNAJEk5.js +6313 -0
- package/dist/chunks/index-CjNAJEk5.js.map +1 -0
- package/dist/chunks/index-CkYZf9Pm.js +2 -0
- package/dist/chunks/index-CkYZf9Pm.js.map +1 -0
- package/dist/chunks/index-Co91SHhW.js +141 -0
- package/dist/chunks/index-Co91SHhW.js.map +1 -0
- package/dist/chunks/index-D9DU-5GF.js +1196 -0
- package/dist/chunks/index-D9DU-5GF.js.map +1 -0
- package/dist/chunks/index-DAWHN3cH.js +86 -0
- package/dist/chunks/index-DAWHN3cH.js.map +1 -0
- package/dist/chunks/index-DD49WSSW.js +2 -0
- package/dist/chunks/index-DD49WSSW.js.map +1 -0
- package/dist/chunks/index-DUHFrLMI.js +389 -0
- package/dist/chunks/index-DUHFrLMI.js.map +1 -0
- package/dist/chunks/index-DcJZ8q0f.js +1190 -0
- package/dist/chunks/index-DcJZ8q0f.js.map +1 -0
- package/dist/chunks/index-MlhL0PDC.js +2 -0
- package/dist/chunks/index-MlhL0PDC.js.map +1 -0
- package/dist/chunks/index-S1uNQPZj.js +444 -0
- package/dist/chunks/index-S1uNQPZj.js.map +1 -0
- package/dist/chunks/index-UWtj4ULm.js +8 -0
- package/dist/chunks/index-UWtj4ULm.js.map +1 -0
- package/dist/chunks/index-YJ0R8Ot4.js +257 -0
- package/dist/chunks/index-YJ0R8Ot4.js.map +1 -0
- package/dist/chunks/index-ZaGEDS_0.js +2 -0
- package/dist/chunks/index-ZaGEDS_0.js.map +1 -0
- package/dist/chunks/index-iyefwwxw.js +2 -0
- package/dist/chunks/index-iyefwwxw.js.map +1 -0
- package/dist/chunks/index-j7W9Hyzx.js +322 -0
- package/dist/chunks/index-j7W9Hyzx.js.map +1 -0
- package/dist/chunks/jsx-runtime-BjDatQAs.js +23 -0
- package/dist/chunks/jsx-runtime-BjDatQAs.js.map +1 -0
- package/dist/chunks/jsx-runtime-C5mzlN2N.js +285 -0
- package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +1 -0
- package/dist/chunks/link.component-CCFg-LIe.js +2 -0
- package/dist/chunks/link.component-CCFg-LIe.js.map +1 -0
- package/dist/chunks/link.component-DprieyUG.js +60 -0
- package/dist/chunks/link.component-DprieyUG.js.map +1 -0
- package/dist/chunks/list-C_LmDoyW.js +2 -0
- package/dist/chunks/list-C_LmDoyW.js.map +1 -0
- package/dist/chunks/list-DqH5ttQG.js +20 -0
- package/dist/chunks/list-DqH5ttQG.js.map +1 -0
- package/dist/chunks/logo.types-By8TqyNf.js +76 -0
- package/dist/chunks/logo.types-By8TqyNf.js.map +1 -0
- package/dist/chunks/logo.types-CA_5hGAi.js +2 -0
- package/dist/chunks/logo.types-CA_5hGAi.js.map +1 -0
- package/dist/chunks/menu.component-BrBufADw.js +678 -0
- package/dist/chunks/menu.component-BrBufADw.js.map +1 -0
- package/dist/chunks/menu.component-CA1R3suW.js +2 -0
- package/dist/chunks/menu.component-CA1R3suW.js.map +1 -0
- package/dist/chunks/modal.types-DMIt_b6l.js +206 -0
- package/dist/chunks/modal.types-DMIt_b6l.js.map +1 -0
- package/dist/chunks/modal.types-J-7C7HRm.js +2 -0
- package/dist/chunks/modal.types-J-7C7HRm.js.map +1 -0
- package/dist/chunks/{notificationCounter.component-DU5P6Ilh.js → notificationCounter.component-Bei8mHSZ.js} +10 -8
- package/dist/chunks/{notificationCounter.component-DU5P6Ilh.js.map → notificationCounter.component-Bei8mHSZ.js.map} +1 -1
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js +2 -0
- package/dist/chunks/{notificationCounter.component-D6v39lna.js.map → notificationCounter.component-BhZcuBmr.js.map} +1 -1
- package/dist/chunks/notificationCounter.types-B_-siNfi.js +2 -0
- package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +1 -0
- package/dist/chunks/notificationCounter.types-S7ENT1Oj.js +11 -0
- package/dist/chunks/notificationCounter.types-S7ENT1Oj.js.map +1 -0
- package/dist/chunks/omit-C-j4TrF5.js +10 -0
- package/dist/chunks/omit-C-j4TrF5.js.map +1 -0
- package/dist/chunks/omit-DqNeoZ8h.js +2 -0
- package/dist/chunks/omit-DqNeoZ8h.js.map +1 -0
- package/dist/chunks/picture.component-C2C2r_BU.js +2 -0
- package/dist/chunks/picture.component-C2C2r_BU.js.map +1 -0
- package/dist/chunks/picture.component-DKbaaL64.js +35 -0
- package/dist/chunks/picture.component-DKbaaL64.js.map +1 -0
- package/dist/chunks/pinInput.types-7WPmw1uT.js +2 -0
- package/dist/chunks/pinInput.types-7WPmw1uT.js.map +1 -0
- package/dist/chunks/pinInput.types-MKrXrBGs.js +161 -0
- package/dist/chunks/pinInput.types-MKrXrBGs.js.map +1 -0
- package/dist/chunks/popover-80QH8HEJ.js +2 -0
- package/dist/chunks/popover-80QH8HEJ.js.map +1 -0
- package/dist/chunks/popover-B9rNOU0g.js +110 -0
- package/dist/chunks/popover-B9rNOU0g.js.map +1 -0
- package/dist/chunks/popover-root-provider-CeLLpesI.js +43 -0
- package/dist/chunks/popover-root-provider-CeLLpesI.js.map +1 -0
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js +2 -0
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js.map +1 -0
- package/dist/chunks/popover.component-DVg1jDJP.js +322 -0
- package/dist/chunks/popover.component-DVg1jDJP.js.map +1 -0
- package/dist/chunks/popover.component-tDB4AKl6.js +2 -0
- package/dist/chunks/popover.component-tDB4AKl6.js.map +1 -0
- package/dist/chunks/popover.recipe--gMRcQTS.js +479 -0
- package/dist/chunks/popover.recipe--gMRcQTS.js.map +1 -0
- package/dist/chunks/popover.recipe-DLeyokHo.js +2 -0
- package/dist/chunks/popover.recipe-DLeyokHo.js.map +1 -0
- package/dist/chunks/provider-ClCAdPxy.js +47 -0
- package/dist/chunks/provider-ClCAdPxy.js.map +1 -0
- package/dist/chunks/provider-NDo8kOkE.js +2 -0
- package/dist/chunks/provider-NDo8kOkE.js.map +1 -0
- package/dist/chunks/radio.records-CvYow9QQ.js +2 -0
- package/dist/chunks/radio.records-CvYow9QQ.js.map +1 -0
- package/dist/chunks/radio.records-D4o5_F1_.js +382 -0
- package/dist/chunks/radio.records-D4o5_F1_.js.map +1 -0
- package/dist/chunks/radioGroup.component-3cpj4Fdg.js +2 -0
- package/dist/chunks/radioGroup.component-3cpj4Fdg.js.map +1 -0
- package/dist/chunks/radioGroup.component-DtUvr6xp.js +275 -0
- package/dist/chunks/radioGroup.component-DtUvr6xp.js.map +1 -0
- package/dist/chunks/ratingDots.component-6-mEjWSI.js +2 -0
- package/dist/chunks/{ratingDots.component-DOZX6EE0.js.map → ratingDots.component-6-mEjWSI.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-B4OK_lXC.js → ratingDots.component-BG5YX46K.js} +31 -28
- package/dist/chunks/{ratingDots.component-B4OK_lXC.js.map → ratingDots.component-BG5YX46K.js.map} +1 -1
- package/dist/chunks/render-strategy-BmWbSgqh.js +2 -0
- package/dist/chunks/render-strategy-BmWbSgqh.js.map +1 -0
- package/dist/chunks/render-strategy-C8hwN3bm.js +12 -0
- package/dist/chunks/render-strategy-C8hwN3bm.js.map +1 -0
- package/dist/chunks/select.component-BJpvMiVS.js +391 -0
- package/dist/chunks/select.component-BJpvMiVS.js.map +1 -0
- package/dist/chunks/select.component-BoT168Vo.js +2 -0
- package/dist/chunks/select.component-BoT168Vo.js.map +1 -0
- package/dist/chunks/{dnd-DDR6viHX.js → sortableList.component-BhTdQsDy.js} +1015 -887
- package/dist/chunks/sortableList.component-BhTdQsDy.js.map +1 -0
- package/dist/chunks/sortableList.component-CVuqMmGN.js +6 -0
- package/dist/chunks/sortableList.component-CVuqMmGN.js.map +1 -0
- package/dist/chunks/spinner-BWqSIW6m.js +8 -0
- package/dist/chunks/spinner-BWqSIW6m.js.map +1 -0
- package/dist/chunks/spinner-BnpL14kK.js +2 -0
- package/dist/chunks/spinner-BnpL14kK.js.map +1 -0
- package/dist/chunks/spinner.component-CyOYp_gK.js +2 -0
- package/dist/chunks/{spinner.component-CUuidnSK.js.map → spinner.component-CyOYp_gK.js.map} +1 -1
- package/dist/chunks/{spinner.component-D5tkelNc.js → spinner.component-DEUk5b2t.js} +21 -19
- package/dist/chunks/spinner.component-DEUk5b2t.js.map +1 -0
- package/dist/chunks/stack-BKu3hWEQ.js +2 -0
- package/dist/chunks/stack-BKu3hWEQ.js.map +1 -0
- package/dist/chunks/stack-Dnuh5Zgf.js +85 -0
- package/dist/chunks/stack-Dnuh5Zgf.js.map +1 -0
- package/dist/chunks/styledAvatar.types-Bai06OFF.js +2 -0
- package/dist/chunks/styledAvatar.types-Bai06OFF.js.map +1 -0
- package/dist/chunks/{styledAvatar.types-CoxQchLt.js → styledAvatar.types-CjtH5RJ9.js} +3 -3
- package/dist/chunks/styledAvatar.types-CjtH5RJ9.js.map +1 -0
- package/dist/chunks/swatch.types-DbgA3RWc.js +67 -0
- package/dist/chunks/swatch.types-DbgA3RWc.js.map +1 -0
- package/dist/chunks/swatch.types-DiX-4lpJ.js +2 -0
- package/dist/chunks/swatch.types-DiX-4lpJ.js.map +1 -0
- package/dist/chunks/switch.component-D0LhsAtp.js +2 -0
- package/dist/chunks/switch.component-D0LhsAtp.js.map +1 -0
- package/dist/chunks/switch.component-DR68uid-.js +166 -0
- package/dist/chunks/switch.component-DR68uid-.js.map +1 -0
- package/dist/chunks/tabs.component-BOQsuw9O.js +639 -0
- package/dist/chunks/tabs.component-BOQsuw9O.js.map +1 -0
- package/dist/chunks/tabs.component-D-UJOaMx.js +2 -0
- package/dist/chunks/tabs.component-D-UJOaMx.js.map +1 -0
- package/dist/chunks/tag.component-C6a6EzZB.js +2 -0
- package/dist/chunks/tag.component-C6a6EzZB.js.map +1 -0
- package/dist/chunks/tag.component-pexJ0TAT.js +82 -0
- package/dist/chunks/tag.component-pexJ0TAT.js.map +1 -0
- package/dist/chunks/{tagBlock.component-LX4_ve_f.js → tagBlock.component-C3uXKG6W.js} +18 -17
- package/dist/chunks/tagBlock.component-C3uXKG6W.js.map +1 -0
- package/dist/chunks/tagBlock.component-De39Wv9A.js +2 -0
- package/dist/chunks/tagBlock.component-De39Wv9A.js.map +1 -0
- package/dist/chunks/text.component-BQyRxSjn.js +2 -0
- package/dist/chunks/text.component-BQyRxSjn.js.map +1 -0
- package/dist/chunks/text.component-Tqb6u7oS.js +12 -0
- package/dist/chunks/text.component-Tqb6u7oS.js.map +1 -0
- package/dist/chunks/textInput.component-BptYNPTY.js +180 -0
- package/dist/chunks/textInput.component-BptYNPTY.js.map +1 -0
- package/dist/chunks/textInput.component-D3WkCo0a.js +2 -0
- package/dist/chunks/textInput.component-D3WkCo0a.js.map +1 -0
- package/dist/chunks/textarea.component-B2A2ETCP.js +98 -0
- package/dist/chunks/textarea.component-B2A2ETCP.js.map +1 -0
- package/dist/chunks/textarea.component-BtxlhIiq.js +2 -0
- package/dist/chunks/textarea.component-BtxlhIiq.js.map +1 -0
- package/dist/chunks/{chakra-BqBkjpvZ.js → theme.provider-D7jnJHV_.js} +5139 -4299
- package/dist/chunks/theme.provider-D7jnJHV_.js.map +1 -0
- package/dist/chunks/theme.provider-Dfx-b7ns.js +26 -0
- package/dist/chunks/theme.provider-Dfx-b7ns.js.map +1 -0
- package/dist/chunks/{timePicker.component--ABdI3GF.js → timePicker.component--i9n_jD4.js} +46 -43
- package/dist/chunks/{timePicker.component--ABdI3GF.js.map → timePicker.component--i9n_jD4.js.map} +1 -1
- package/dist/chunks/timePicker.component-DkGLn9QR.js +2 -0
- package/dist/chunks/{timePicker.component-Dw_FjiQX.js.map → timePicker.component-DkGLn9QR.js.map} +1 -1
- package/dist/chunks/timeRange.component-C8a0-VjH.js +18 -0
- package/dist/chunks/{timeRange.component-B3OvVyo_.js.map → timeRange.component-C8a0-VjH.js.map} +1 -1
- package/dist/chunks/timeRange.component-D05q-kR8.js +2 -0
- package/dist/chunks/{timeRange.component-RLisXhuw.js.map → timeRange.component-D05q-kR8.js.map} +1 -1
- package/dist/chunks/timestamp.component-C10fs9xM.js +2 -0
- package/dist/chunks/timestamp.component-C10fs9xM.js.map +1 -0
- package/dist/chunks/timestamp.component-DNKt02wK.js +54 -0
- package/dist/chunks/timestamp.component-DNKt02wK.js.map +1 -0
- package/dist/chunks/toaster.records-BGfpUOVt.js +824 -0
- package/dist/chunks/toaster.records-BGfpUOVt.js.map +1 -0
- package/dist/chunks/toaster.records-BJo0j1IZ.js +2 -0
- package/dist/chunks/toaster.records-BJo0j1IZ.js.map +1 -0
- package/dist/chunks/tooltip.component-C_9TdPKY.js +2 -0
- package/dist/chunks/tooltip.component-C_9TdPKY.js.map +1 -0
- package/dist/chunks/tooltip.component-D5WB93mB.js +751 -0
- package/dist/chunks/tooltip.component-D5WB93mB.js.map +1 -0
- package/dist/chunks/typography-Cqrokog3.js.map +1 -1
- package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
- package/dist/chunks/typography.records-C6G_65b4.js +2 -0
- package/dist/chunks/typography.records-C6G_65b4.js.map +1 -0
- package/dist/chunks/typography.records-jnjWfTLS.js +66 -0
- package/dist/chunks/typography.records-jnjWfTLS.js.map +1 -0
- package/dist/chunks/use-breakpoint-MQ7agQJe.js +72 -0
- package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +1 -0
- package/dist/chunks/use-breakpoint-uBg4-8yY.js +2 -0
- package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +1 -0
- package/dist/chunks/use-field-context--wBJQY1R.js +2 -0
- package/dist/chunks/use-field-context--wBJQY1R.js.map +1 -0
- package/dist/chunks/use-field-context-B_G7Yziz.js +12 -0
- package/dist/chunks/use-field-context-B_G7Yziz.js.map +1 -0
- package/dist/chunks/use-locale-context-BdqHZ8L8.js +22 -0
- package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +1 -0
- package/dist/chunks/use-locale-context-D-agiW5E.js +2301 -0
- package/dist/chunks/use-locale-context-D-agiW5E.js.map +1 -0
- package/dist/chunks/use-recipe-DaPWl_pL.js +2 -0
- package/dist/chunks/use-recipe-DaPWl_pL.js.map +1 -0
- package/dist/chunks/use-recipe-d63ABaZ3.js +13 -0
- package/dist/chunks/use-recipe-d63ABaZ3.js.map +1 -0
- package/dist/chunks/use-slot-recipe-8liupslO.js +2 -0
- package/dist/chunks/use-slot-recipe-8liupslO.js.map +1 -0
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +13 -0
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +1 -0
- package/dist/chunks/v-stack-BZT7R_9f.js +12 -0
- package/dist/chunks/v-stack-BZT7R_9f.js.map +1 -0
- package/dist/chunks/v-stack-DxjgpeJ0.js +2 -0
- package/dist/chunks/v-stack-DxjgpeJ0.js.map +1 -0
- package/dist/chunks/walk-object-BrTExCqQ.js +2 -0
- package/dist/chunks/walk-object-BrTExCqQ.js.map +1 -0
- package/dist/chunks/walk-object-_CL3Bkm9.js +28 -0
- package/dist/chunks/walk-object-_CL3Bkm9.js.map +1 -0
- package/dist/chunks/withFormControl-BmNNU13g.js +376 -0
- package/dist/chunks/withFormControl-BmNNU13g.js.map +1 -0
- package/dist/chunks/withFormControl-WGwNiZnJ.js +2 -0
- package/dist/chunks/withFormControl-WGwNiZnJ.js.map +1 -0
- package/dist/chunks/{withTruncation-C2xFKhgB.js → withTruncation-CWtFfCrT.js} +21 -28
- package/dist/chunks/{withTruncation-BskZBBVs.js.map → withTruncation-CWtFfCrT.js.map} +1 -1
- package/dist/chunks/withTruncation-DYrU9dhc.js +2 -0
- package/dist/chunks/{withTruncation-C2xFKhgB.js.map → withTruncation-DYrU9dhc.js.map} +1 -1
- package/dist/chunks/wrap-B8tBNeBY.js +45 -0
- package/dist/chunks/wrap-B8tBNeBY.js.map +1 -0
- package/dist/chunks/wrap-CNn1kyJX.js +2 -0
- package/dist/chunks/wrap-CNn1kyJX.js.map +1 -0
- package/dist/cjs/chakra/index.cjs +2 -0
- package/dist/cjs/chakra/index.cjs.map +1 -0
- package/dist/cjs/cli/generate-theme-types.cjs +6 -0
- package/dist/cjs/cli/generate-theme-types.cjs.map +1 -0
- package/dist/cjs/cli/postinstall.cjs +3 -0
- package/dist/cjs/cli/postinstall.cjs.map +1 -0
- 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/Card/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs.map +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/{patterns → components}/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Divider/index.cjs +2 -0
- 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/generated/index.cjs +2 -0
- package/dist/cjs/components/Logo/index.cjs +2 -0
- 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/NotificationCounter/index.cjs.map +1 -1
- package/dist/cjs/components/Picture/index.cjs +1 -1
- package/dist/cjs/components/Picture/index.cjs.map +1 -1
- package/dist/cjs/components/PinInput/index.cjs +2 -0
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- 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/{patterns → components}/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/StyledAvatar/index.cjs.map +1 -0
- package/dist/cjs/components/Swatch/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs.map +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/{patterns → components}/TagBlock/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs.map +1 -0
- 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/{patterns → components}/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Timestamp/index.cjs.map +1 -0
- package/dist/cjs/components/Toast/index.cjs +2 -0
- package/dist/cjs/components/Toast/index.cjs.map +1 -0
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs.map +1 -1
- package/dist/cjs/hooks/index.cjs +1 -1
- package/dist/cjs/hooks/index.cjs.map +1 -1
- package/dist/cjs/hooks/useBreakpoint/index.cjs +2 -0
- package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -0
- package/dist/cjs/hooks/useDeviceType/index.cjs +2 -0
- package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/shared/index.cjs +2 -0
- package/dist/cjs/shared/index.cjs.map +1 -0
- package/dist/cjs/shared/records/index.cjs +2 -0
- package/dist/cjs/shared/records/index.cjs.map +1 -0
- package/dist/cjs/theme/index.cjs +1 -23
- package/dist/cjs/theme/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/blurs/index.cjs +1 -1
- package/dist/cjs/theme/tokens/blurs/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/borders/index.cjs +1 -1
- package/dist/cjs/theme/tokens/borders/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/index.cjs +1 -1
- package/dist/cjs/theme/tokens/shadows/index.cjs +1 -1
- package/dist/cjs/theme/tokens/shadows/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/sizes/index.cjs +1 -1
- package/dist/cjs/theme/tokens/sizes/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/spacing/index.cjs +1 -1
- package/dist/cjs/theme/tokens/spacing/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/transitions/index.cjs +1 -1
- package/dist/cjs/theme/tokens/transitions/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/typography/index.cjs +1 -1
- package/dist/cjs/theme/tokens/typography/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/zIndices/index.cjs +1 -1
- package/dist/cjs/theme/tokens/zIndices/index.cjs.map +1 -1
- package/dist/esm/chakra/index.js +3227 -0
- package/dist/esm/chakra/index.js.map +1 -0
- package/dist/esm/cli/generate-theme-types.js +22 -0
- package/dist/esm/cli/generate-theme-types.js.map +1 -0
- package/dist/esm/cli/postinstall.js +21 -0
- package/dist/esm/cli/postinstall.js.map +1 -0
- package/dist/esm/components/Alert/index.js +3 -5
- 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 +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/Card/index.js +4 -5
- package/dist/esm/components/Card/index.js.map +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/{patterns → components}/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +3 -4
- package/dist/esm/components/Divider/index.js +8 -0
- package/dist/esm/components/Heading/index.js +2 -4
- package/dist/esm/components/Heading/index.js.map +1 -1
- package/dist/esm/components/Icon/generated/index.js +373 -338
- package/dist/esm/components/Icon/generated/index.js.map +1 -1
- package/dist/esm/components/Icon/index.js +4 -6
- package/dist/esm/components/Link/index.js +1 -1
- package/dist/esm/components/Logo/generated/index.js +6 -0
- package/dist/esm/components/Logo/index.js +7 -0
- 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 +5 -11
- package/dist/esm/components/NotificationCounter/index.js.map +1 -1
- package/dist/esm/components/Picture/index.js +1 -16
- package/dist/esm/components/Picture/index.js.map +1 -1
- package/dist/esm/components/PinInput/index.js +6 -0
- package/dist/esm/components/PinInput/index.js.map +1 -0
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- 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/{patterns → components}/StyledAvatar/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js.map +1 -0
- package/dist/esm/components/Swatch/index.js +3 -62
- package/dist/esm/components/Swatch/index.js.map +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 +5 -6
- package/dist/esm/{patterns → components}/TagBlock/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js.map +1 -0
- package/dist/esm/components/Text/index.js +2 -4
- package/dist/esm/components/Text/index.js.map +1 -1
- package/dist/esm/components/TextInput/index.js +2 -3
- 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 +5 -0
- package/dist/esm/components/Timestamp/index.js.map +1 -0
- package/dist/esm/components/Toast/index.js +59 -0
- package/dist/esm/components/Toast/index.js.map +1 -0
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +122 -111
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hocs/index.js +3 -35
- package/dist/esm/hocs/index.js.map +1 -1
- package/dist/esm/hooks/index.js +7 -17
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/esm/hooks/useBreakpoint/index.js +12 -0
- package/dist/esm/hooks/useBreakpoint/index.js.map +1 -0
- package/dist/esm/hooks/useDeviceType/index.js +12 -0
- package/dist/esm/hooks/useDeviceType/index.js.map +1 -0
- package/dist/esm/index.js +141 -116
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/shared/index.js +9 -0
- package/dist/esm/shared/index.js.map +1 -0
- package/dist/esm/shared/records/index.js +18 -0
- package/dist/esm/shared/records/index.js.map +1 -0
- package/dist/esm/theme/index.js +3 -2477
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/esm/theme/tokens/blurs/index.js +1 -13
- package/dist/esm/theme/tokens/blurs/index.js.map +1 -1
- package/dist/esm/theme/tokens/borders/index.js +1 -22
- package/dist/esm/theme/tokens/borders/index.js.map +1 -1
- package/dist/esm/theme/tokens/index.js +2 -26
- package/dist/esm/theme/tokens/index.js.map +1 -1
- package/dist/esm/theme/tokens/shadows/index.js +1 -55
- package/dist/esm/theme/tokens/shadows/index.js.map +1 -1
- package/dist/esm/theme/tokens/sizes/index.js +1 -28
- package/dist/esm/theme/tokens/sizes/index.js.map +1 -1
- package/dist/esm/theme/tokens/spacing/index.js +1 -38
- package/dist/esm/theme/tokens/spacing/index.js.map +1 -1
- package/dist/esm/theme/tokens/transitions/index.js +1 -17
- package/dist/esm/theme/tokens/transitions/index.js.map +1 -1
- package/dist/esm/theme/tokens/typography/index.js +1 -53
- package/dist/esm/theme/tokens/typography/index.js.map +1 -1
- package/dist/esm/theme/tokens/zIndices/index.js +1 -19
- package/dist/esm/theme/tokens/zIndices/index.js.map +1 -1
- package/dist/types/chakra/index.d.ts +52 -0
- package/dist/types/cli/generate-theme-types.d.ts +2 -0
- package/dist/types/cli/postinstall.d.ts +2 -0
- package/dist/types/components/Alert/alert.component.d.ts +5 -13
- package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
- package/dist/types/components/Alert/index.d.ts +0 -1
- package/dist/types/components/Avatar/avatar.recipe.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.recipe.d.ts +2 -2
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
- package/dist/types/components/Button/button.component.d.ts +2 -3
- package/dist/types/components/Button/button.recipe.d.ts +2 -2
- package/dist/types/components/Card/card.component.d.ts +1 -1
- package/dist/types/components/Card/index.d.ts +0 -1
- package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
- package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +1 -1
- package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +2 -2
- package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +1 -1
- package/dist/types/{patterns → components}/ConversationCard/conversationCard.component.d.ts +1 -1
- package/dist/types/components/DatePicker/index.d.ts +0 -1
- package/dist/types/components/Divider/divider.component.d.ts +4 -0
- package/dist/types/components/Divider/divider.types.d.ts +6 -0
- package/dist/types/components/Divider/index.d.ts +2 -0
- package/dist/types/components/Heading/heading.component.d.ts +1 -2
- package/dist/types/components/Heading/heading.recipe.d.ts +1 -1
- package/dist/types/components/Heading/heading.types.d.ts +1 -1
- package/dist/types/components/Heading/index.d.ts +0 -1
- package/dist/types/components/Icon/generated/AiMicrophone.d.ts +10 -0
- package/dist/types/components/Icon/generated/index.d.ts +1 -1
- package/dist/types/components/Icon/icon.component.d.ts +2 -3
- package/dist/types/components/Icon/index.d.ts +0 -1
- package/dist/types/components/Link/link.recipe.d.ts +1 -1
- package/dist/types/components/Logo/generated/FullLogo.d.ts +10 -0
- package/dist/types/components/Logo/generated/IconLogo.d.ts +10 -0
- package/dist/types/components/Logo/generated/index.d.ts +4 -0
- package/dist/types/components/Logo/index.d.ts +2 -0
- package/dist/types/components/Logo/logo.component.d.ts +10 -0
- package/dist/types/components/Logo/logo.recipe.d.ts +9 -0
- package/dist/types/components/Logo/logo.types.d.ts +4 -0
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +3 -2
- package/dist/types/components/Menu/menu.component.d.ts +1 -1
- package/dist/types/components/Modal/context/modal.context.d.ts +6 -0
- package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
- package/dist/types/components/NotificationCounter/index.d.ts +0 -1
- package/dist/types/components/NotificationCounter/notificationCounter.recipe.d.ts +2 -2
- package/dist/types/components/PinInput/index.d.ts +2 -0
- package/dist/types/components/PinInput/pinInput.component.d.ts +10 -0
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +21 -0
- package/dist/types/components/PinInput/pinInput.records.d.ts +1 -0
- package/dist/types/components/PinInput/pinInput.types.d.ts +2 -0
- package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
- package/dist/types/components/RadioGroup/index.d.ts +1 -0
- package/dist/types/components/Select/select.component.d.ts +3 -0
- package/dist/types/components/SortableList/index.d.ts +1 -0
- package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
- package/dist/types/components/Spinner/spinner.recipe.d.ts +2 -2
- package/dist/types/{patterns → components}/StyledAvatar/styledAvatar.component.d.ts +1 -1
- package/dist/types/components/Swatch/swatch.recipe.d.ts +1 -1
- package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
- package/dist/types/components/Tag/index.d.ts +0 -1
- package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
- package/dist/types/{patterns → components}/TagBlock/tagBlock.component.d.ts +1 -1
- package/dist/types/components/Text/index.d.ts +0 -1
- package/dist/types/components/Text/text.component.d.ts +1 -2
- package/dist/types/components/Text/text.recipe.d.ts +1 -2
- package/dist/types/components/Text/text.types.d.ts +1 -1
- package/dist/types/components/TextInput/index.d.ts +0 -1
- package/dist/types/{patterns → components}/Timestamp/timestamp.component.d.ts +1 -1
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -0
- package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +7 -0
- package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +11 -0
- package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +12 -0
- package/dist/types/components/Toast/index.d.ts +2 -0
- package/dist/types/components/Toast/toast.component.d.ts +14 -0
- package/dist/types/components/Toast/toast.recipe.d.ts +21 -0
- package/dist/types/components/Toast/toast.types.d.ts +19 -0
- package/dist/types/components/Toast/useToast.d.ts +3 -0
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -0
- package/dist/types/components/index.d.ts +9 -1
- package/dist/types/hocs/withFormControl/withFormControl.d.ts +2 -1
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/useBreakpoint/index.d.ts +1 -0
- package/dist/types/hooks/useDeviceType/index.d.ts +3 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/shared/index.d.ts +1 -0
- package/dist/types/shared/records/index.d.ts +1 -0
- package/dist/types/shared/records/status.d.ts +5 -0
- package/dist/types/shared/records/typography.d.ts +1 -1
- package/dist/types/theme/index.d.ts +2 -1
- package/dist/types/theme/providers/theme.provider.d.ts +2 -1
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +4 -0
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +8 -0
- package/dist/types/theme/theme.config.d.ts +1 -0
- package/dist/types/theme/tokens/blurs/blurs.config.d.ts +6 -6
- package/dist/types/theme/tokens/blurs/index.d.ts +0 -1
- package/dist/types/theme/tokens/borders/borders.config.d.ts +9 -9
- package/dist/types/theme/tokens/borders/index.d.ts +0 -1
- package/dist/types/theme/tokens/shadows/index.d.ts +0 -1
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +11 -11
- package/dist/types/theme/tokens/sizes/index.d.ts +0 -1
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +24 -10
- package/dist/types/theme/tokens/spacing/index.d.ts +0 -1
- package/dist/types/theme/tokens/spacing/spacing.config.d.ts +21 -21
- package/dist/types/theme/tokens/transitions/index.d.ts +0 -1
- package/dist/types/theme/tokens/transitions/transitions.config.d.ts +6 -6
- package/dist/types/theme/tokens/typography/index.d.ts +0 -1
- package/dist/types/theme/tokens/typography/typography.config.d.ts +29 -74
- package/dist/types/theme/tokens/zIndices/index.d.ts +0 -1
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +11 -11
- package/package.json +73 -43
- package/dist/chunks/alert.types-BgmtNKXK.js +0 -2
- package/dist/chunks/alert.types-BgmtNKXK.js.map +0 -1
- package/dist/chunks/alert.types-Bxdx-xbS.js +0 -172
- package/dist/chunks/alert.types-Bxdx-xbS.js.map +0 -1
- package/dist/chunks/avatar.component-BdxN6QYq.js +0 -307
- package/dist/chunks/avatar.component-BdxN6QYq.js.map +0 -1
- package/dist/chunks/avatar.component-BzPaBLJu.js +0 -2
- package/dist/chunks/avatar.component-BzPaBLJu.js.map +0 -1
- package/dist/chunks/avatarGroup.component-Q43nemix.js +0 -2
- package/dist/chunks/button.component-B0GkYzVz.js +0 -2
- package/dist/chunks/button.component-B0GkYzVz.js.map +0 -1
- package/dist/chunks/button.component-BtkAjIWe.js.map +0 -1
- package/dist/chunks/buttonGroup.component-B2VRV-q9.js +0 -2
- package/dist/chunks/buttonGroup.component-B2VRV-q9.js.map +0 -1
- package/dist/chunks/buttonGroup.component-ZElXi_Hz.js +0 -67
- package/dist/chunks/buttonGroup.component-ZElXi_Hz.js.map +0 -1
- package/dist/chunks/card.component-HX-4Y0j7.js +0 -51
- package/dist/chunks/card.component-HX-4Y0j7.js.map +0 -1
- package/dist/chunks/card.component-ZIoJIWVV.js +0 -2
- package/dist/chunks/card.component-ZIoJIWVV.js.map +0 -1
- package/dist/chunks/chakra-BqBkjpvZ.js.map +0 -1
- package/dist/chunks/chakra-DmF8Cxqs.js +0 -5
- package/dist/chunks/chakra-DmF8Cxqs.js.map +0 -1
- package/dist/chunks/characterCounter.component-BXxyn_IB.js +0 -2
- package/dist/chunks/checkbox.component-DCdt-YxF.js +0 -90
- package/dist/chunks/checkbox.component-DCdt-YxF.js.map +0 -1
- package/dist/chunks/checkbox.component-jiWqSWP0.js +0 -2
- package/dist/chunks/checkbox.component-jiWqSWP0.js.map +0 -1
- package/dist/chunks/checkbox.records-DJfdKuOe.js +0 -2
- package/dist/chunks/checkbox.records-DJfdKuOe.js.map +0 -1
- package/dist/chunks/checkbox.records-JWbKQ684.js +0 -14
- package/dist/chunks/checkbox.records-JWbKQ684.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-BYKUQW4y.js +0 -2
- package/dist/chunks/checkboxGroup.component-DcIdfbbl.js +0 -51
- package/dist/chunks/conversationCard.component-BSfDNuuw.js.map +0 -1
- package/dist/chunks/conversationCard.component-BcHNpQ76.js +0 -2
- package/dist/chunks/conversationCard.component-BcHNpQ76.js.map +0 -1
- package/dist/chunks/date-1NFv48Qu.js +0 -3598
- package/dist/chunks/date-1NFv48Qu.js.map +0 -1
- package/dist/chunks/date-Du64Exix.js +0 -15
- package/dist/chunks/date-Du64Exix.js.map +0 -1
- package/dist/chunks/datePicker.component-CnRDt24V.js +0 -2
- package/dist/chunks/datePicker.component-CnRDt24V.js.map +0 -1
- package/dist/chunks/datePicker.component-DubnEnlU.js +0 -750
- package/dist/chunks/datePicker.component-DubnEnlU.js.map +0 -1
- package/dist/chunks/dnd-4IMP_kRN.js +0 -6
- package/dist/chunks/dnd-4IMP_kRN.js.map +0 -1
- package/dist/chunks/dnd-DDR6viHX.js.map +0 -1
- package/dist/chunks/heading.component-B8niLTxz.js +0 -10
- package/dist/chunks/heading.component-B8niLTxz.js.map +0 -1
- package/dist/chunks/heading.component-CExbjSBi.js +0 -2
- package/dist/chunks/heading.component-CExbjSBi.js.map +0 -1
- package/dist/chunks/heading.records-BaWnrbgl.js +0 -14
- package/dist/chunks/heading.records-BaWnrbgl.js.map +0 -1
- package/dist/chunks/heading.records-CbR05iL_.js +0 -2
- package/dist/chunks/heading.records-CbR05iL_.js.map +0 -1
- package/dist/chunks/icon.component-DjNY589M.js.map +0 -1
- package/dist/chunks/icon.component-DtX9HDyk.js +0 -2
- package/dist/chunks/icon.component-DtX9HDyk.js.map +0 -1
- package/dist/chunks/link.component-DjkiASIu.js +0 -58
- package/dist/chunks/link.component-DjkiASIu.js.map +0 -1
- package/dist/chunks/link.component-XWINESZ0.js +0 -2
- package/dist/chunks/link.component-XWINESZ0.js.map +0 -1
- package/dist/chunks/menu.component-CT28-CuT.js +0 -2
- package/dist/chunks/menu.component-CT28-CuT.js.map +0 -1
- package/dist/chunks/menu.component-gxhQh-pU.js +0 -390
- package/dist/chunks/menu.component-gxhQh-pU.js.map +0 -1
- package/dist/chunks/modal.types-CcUqszK6.js +0 -2
- package/dist/chunks/modal.types-CcUqszK6.js.map +0 -1
- package/dist/chunks/modal.types-pXkUwszR.js +0 -146
- package/dist/chunks/modal.types-pXkUwszR.js.map +0 -1
- package/dist/chunks/notificationCounter.component-D6v39lna.js +0 -2
- package/dist/chunks/popover.component-CnJmg9qf.js +0 -221
- package/dist/chunks/popover.component-CnJmg9qf.js.map +0 -1
- package/dist/chunks/popover.component-DdC0CY7-.js +0 -2
- package/dist/chunks/popover.component-DdC0CY7-.js.map +0 -1
- package/dist/chunks/popover.recipe-DnCuZJd3.js +0 -123
- package/dist/chunks/popover.recipe-DnCuZJd3.js.map +0 -1
- package/dist/chunks/popover.recipe-Pfz3evii.js +0 -2
- package/dist/chunks/popover.recipe-Pfz3evii.js.map +0 -1
- package/dist/chunks/radio.records-BxCn4oUd.js +0 -2
- package/dist/chunks/radio.records-BxCn4oUd.js.map +0 -1
- package/dist/chunks/radio.records-Cc3kP4Vn.js +0 -14
- package/dist/chunks/radio.records-Cc3kP4Vn.js.map +0 -1
- package/dist/chunks/radioGroup.component-Cmi6MDqq.js +0 -2
- package/dist/chunks/radioGroup.component-Cmi6MDqq.js.map +0 -1
- package/dist/chunks/radioGroup.component-D96ItNYx.js +0 -151
- package/dist/chunks/radioGroup.component-D96ItNYx.js.map +0 -1
- package/dist/chunks/ratingDots.component-DOZX6EE0.js +0 -2
- package/dist/chunks/select.component-CqhmG4oz.js +0 -2
- package/dist/chunks/select.component-CqhmG4oz.js.map +0 -1
- package/dist/chunks/select.component-_JVxRL_-.js +0 -129
- package/dist/chunks/select.component-_JVxRL_-.js.map +0 -1
- package/dist/chunks/sortableList.component-BH9-C_Pe.js +0 -2
- package/dist/chunks/sortableList.component-BH9-C_Pe.js.map +0 -1
- package/dist/chunks/sortableList.component-CdDArkRq.js +0 -145
- package/dist/chunks/sortableList.component-CdDArkRq.js.map +0 -1
- package/dist/chunks/spinner.component-CUuidnSK.js +0 -2
- package/dist/chunks/spinner.component-D5tkelNc.js.map +0 -1
- package/dist/chunks/styledAvatar.types-CMdLnJHx.js +0 -2
- package/dist/chunks/styledAvatar.types-CMdLnJHx.js.map +0 -1
- package/dist/chunks/styledAvatar.types-CoxQchLt.js.map +0 -1
- package/dist/chunks/switch.component-6jkW8-JB.js +0 -2
- package/dist/chunks/switch.component-6jkW8-JB.js.map +0 -1
- package/dist/chunks/switch.component-BopLXT0i.js +0 -53
- package/dist/chunks/switch.component-BopLXT0i.js.map +0 -1
- package/dist/chunks/tabs.component-BJv145kf.js +0 -2
- package/dist/chunks/tabs.component-BJv145kf.js.map +0 -1
- package/dist/chunks/tabs.component-DTvdLvkX.js +0 -87
- package/dist/chunks/tabs.component-DTvdLvkX.js.map +0 -1
- package/dist/chunks/tag.component-DK64cZSr.js +0 -67
- package/dist/chunks/tag.component-DK64cZSr.js.map +0 -1
- package/dist/chunks/tag.component-D_hbxu6m.js +0 -2
- package/dist/chunks/tag.component-D_hbxu6m.js.map +0 -1
- package/dist/chunks/tagBlock.component-LX4_ve_f.js.map +0 -1
- package/dist/chunks/tagBlock.component-a2gERgrx.js +0 -2
- package/dist/chunks/tagBlock.component-a2gERgrx.js.map +0 -1
- package/dist/chunks/text.component-CBa_saMP.js +0 -2
- package/dist/chunks/text.component-CBa_saMP.js.map +0 -1
- package/dist/chunks/text.component-XYjOAc2s.js +0 -10
- package/dist/chunks/text.component-XYjOAc2s.js.map +0 -1
- package/dist/chunks/text.records-BK_JBYsT.js +0 -16
- package/dist/chunks/text.records-BK_JBYsT.js.map +0 -1
- package/dist/chunks/text.records-CIL3bbY0.js +0 -2
- package/dist/chunks/text.records-CIL3bbY0.js.map +0 -1
- package/dist/chunks/textInput.component-Bk7D4sbG.js +0 -99
- package/dist/chunks/textInput.component-Bk7D4sbG.js.map +0 -1
- package/dist/chunks/textInput.component-GSpfSqUc.js +0 -2
- package/dist/chunks/textInput.component-GSpfSqUc.js.map +0 -1
- package/dist/chunks/textarea.component-B8U8KcND.js +0 -2
- package/dist/chunks/textarea.component-B8U8KcND.js.map +0 -1
- package/dist/chunks/textarea.component-CT8iVuNX.js +0 -51
- package/dist/chunks/textarea.component-CT8iVuNX.js.map +0 -1
- package/dist/chunks/timePicker.component-Dw_FjiQX.js +0 -2
- package/dist/chunks/timeRange.component-B3OvVyo_.js +0 -17
- package/dist/chunks/timeRange.component-RLisXhuw.js +0 -2
- package/dist/chunks/timestamp.component-CuqY4euh.js +0 -2
- package/dist/chunks/timestamp.component-CuqY4euh.js.map +0 -1
- package/dist/chunks/timestamp.component-D764INLm.js +0 -37
- package/dist/chunks/timestamp.component-D764INLm.js.map +0 -1
- package/dist/chunks/tooltip.component-C3v2m2T2.js +0 -70
- package/dist/chunks/tooltip.component-C3v2m2T2.js.map +0 -1
- package/dist/chunks/tooltip.component-qWFa28S5.js +0 -2
- package/dist/chunks/tooltip.component-qWFa28S5.js.map +0 -1
- package/dist/chunks/vendor-BBfll6i3.js +0 -11757
- package/dist/chunks/vendor-BBfll6i3.js.map +0 -1
- package/dist/chunks/vendor-D-x6W6ez.js +0 -57
- package/dist/chunks/vendor-D-x6W6ez.js.map +0 -1
- package/dist/chunks/withFormControl-B269FujS.js +0 -149
- package/dist/chunks/withFormControl-B269FujS.js.map +0 -1
- package/dist/chunks/withFormControl-Cy6Bwv0i.js +0 -2
- package/dist/chunks/withFormControl-Cy6Bwv0i.js.map +0 -1
- package/dist/chunks/withTruncation-BskZBBVs.js +0 -2
- package/dist/cjs/patterns/index.cjs +0 -2
- package/dist/esm/patterns/Timestamp/index.js +0 -5
- package/dist/esm/patterns/index.js +0 -13
- package/dist/esm/patterns/index.js.map +0 -1
- package/dist/types/components/Alert/alert.records.d.ts +0 -5
- package/dist/types/components/Alert/docs/alert.argTypes.d.ts +0 -5
- package/dist/types/components/Alert.d.ts +0 -2
- package/dist/types/components/Avatar/components/AvatarBadge/docs/avatarBadge.argTypes.d.ts +0 -3
- package/dist/types/components/Avatar/docs/avatar.argTypes.d.ts +0 -3
- package/dist/types/components/Avatar.d.ts +0 -2
- package/dist/types/components/AvatarGroup/docs/avatarGroup.argTypes.d.ts +0 -3
- package/dist/types/components/AvatarGroup.d.ts +0 -2
- package/dist/types/components/Button/docs/button.argTypes.d.ts +0 -3
- package/dist/types/components/Button.d.ts +0 -2
- package/dist/types/components/ButtonGroup/docs/buttonGroup.argTypes.d.ts +0 -3
- package/dist/types/components/ButtonGroup.d.ts +0 -2
- package/dist/types/components/Card/docs/card.argTypes.d.ts +0 -3
- package/dist/types/components/Card.d.ts +0 -2
- package/dist/types/components/CharacterCounter/docs/characterCounter.argTypes.d.ts +0 -3
- package/dist/types/components/CharacterCounter.d.ts +0 -2
- package/dist/types/components/Checkbox/docs/checkbox.argTypes.d.ts +0 -3
- package/dist/types/components/Checkbox.d.ts +0 -2
- package/dist/types/components/CheckboxGroup/docs/checkboxGroup.argTypes.d.ts +0 -3
- package/dist/types/components/CheckboxGroup.d.ts +0 -2
- package/dist/types/components/DatePicker/docs/datePicker.argTypes.d.ts +0 -3
- package/dist/types/components/DatePicker.d.ts +0 -2
- package/dist/types/components/Heading/docs/heading.argTypes.d.ts +0 -3
- package/dist/types/components/Heading.d.ts +0 -2
- package/dist/types/components/Icon/docs/icon.argTypes.d.ts +0 -3
- package/dist/types/components/Icon/generated.d.ts +0 -2
- package/dist/types/components/Icon.d.ts +0 -2
- package/dist/types/components/Link/docs/link.argTypes.d.ts +0 -5
- package/dist/types/components/Link.d.ts +0 -2
- package/dist/types/components/Menu/docs/menu.argTypes.d.ts +0 -4
- package/dist/types/components/Menu.d.ts +0 -2
- package/dist/types/components/Modal/docs/modal.argTypes.d.ts +0 -3
- package/dist/types/components/Modal.d.ts +0 -2
- package/dist/types/components/NotificationCounter/docs/notificationCounter.argTypes.d.ts +0 -3
- package/dist/types/components/NotificationCounter.d.ts +0 -2
- package/dist/types/components/Picture/docs/picture.argTypes.d.ts +0 -3
- package/dist/types/components/Picture.d.ts +0 -2
- package/dist/types/components/Popover/docs/popover.argTypes.d.ts +0 -3
- package/dist/types/components/Popover.d.ts +0 -2
- package/dist/types/components/RadioGroup/components/Radio/docs/radio.argTypes.d.ts +0 -3
- package/dist/types/components/RadioGroup/docs/radioGroup.argTypes.d.ts +0 -3
- package/dist/types/components/RadioGroup.d.ts +0 -2
- package/dist/types/components/RatingDots/docs/ratingDots.argTypes.d.ts +0 -3
- package/dist/types/components/RatingDots.d.ts +0 -2
- package/dist/types/components/Select/docs/select.argTypes.d.ts +0 -3
- package/dist/types/components/Select.d.ts +0 -2
- package/dist/types/components/SortableList/docs/sortableList.argTypes.d.ts +0 -3
- package/dist/types/components/SortableList.d.ts +0 -2
- package/dist/types/components/Spinner/docs/spinner.argTypes.d.ts +0 -3
- package/dist/types/components/Spinner.d.ts +0 -2
- package/dist/types/components/Swatch/docs/swatch.argTypes.d.ts +0 -3
- package/dist/types/components/Swatch.d.ts +0 -2
- package/dist/types/components/Switch/docs/switch.argTypes.d.ts +0 -3
- package/dist/types/components/Switch.d.ts +0 -2
- package/dist/types/components/Tabs/components/Tab/docs/tab.argTypes.d.ts +0 -3
- package/dist/types/components/Tabs/docs/tabs.argTypes.d.ts +0 -3
- package/dist/types/components/Tabs.d.ts +0 -2
- package/dist/types/components/Tag/docs/tag.argTypes.d.ts +0 -3
- package/dist/types/components/Tag.d.ts +0 -2
- package/dist/types/components/Text/docs/text.argTypes.d.ts +0 -3
- package/dist/types/components/Text.d.ts +0 -2
- package/dist/types/components/TextInput/docs/textInput.argTypes.d.ts +0 -3
- package/dist/types/components/TextInput.d.ts +0 -2
- package/dist/types/components/Textarea/docs/textarea.argTypes.d.ts +0 -3
- package/dist/types/components/Textarea.d.ts +0 -2
- package/dist/types/components/TimePicker/docs/timePicker.argTypes.d.ts +0 -3
- package/dist/types/components/TimePicker.d.ts +0 -2
- package/dist/types/components/TimeRange/docs/timeRange.argTypes.d.ts +0 -3
- package/dist/types/components/TimeRange.d.ts +0 -2
- package/dist/types/components/Tooltip/docs/tooltip.argTypes.d.ts +0 -3
- package/dist/types/components/Tooltip.d.ts +0 -2
- package/dist/types/components.d.ts +0 -2
- package/dist/types/hocs.d.ts +0 -2
- package/dist/types/hooks.d.ts +0 -2
- package/dist/types/patterns/ConversationCard/docs/conversationCard.argTypes.d.ts +0 -12
- package/dist/types/patterns/ConversationCard/docs/conversationCard.storiesData.d.ts +0 -22
- package/dist/types/patterns/ConversationCard.d.ts +0 -2
- package/dist/types/patterns/StyledAvatar/docs/styledAvatar.argTypes.d.ts +0 -3
- package/dist/types/patterns/StyledAvatar.d.ts +0 -2
- package/dist/types/patterns/TagBlock/docs/tagBlock.argTypes.d.ts +0 -3
- package/dist/types/patterns/TagBlock.d.ts +0 -2
- package/dist/types/patterns/Timestamp/docs/timestamp.argTypes.d.ts +0 -3
- package/dist/types/patterns/Timestamp.d.ts +0 -2
- package/dist/types/patterns/index.d.ts +0 -4
- package/dist/types/patterns.d.ts +0 -2
- package/dist/types/shared/types.d.ts +0 -2
- package/dist/types/theme/semanticTokens/docs/semanticTokens.d.ts +0 -7
- package/dist/types/theme/semanticTokens.d.ts +0 -2
- package/dist/types/theme/tokens/blurs.d.ts +0 -2
- package/dist/types/theme/tokens/borders/docs/borders.d.ts +0 -5
- package/dist/types/theme/tokens/borders.d.ts +0 -2
- package/dist/types/theme/tokens/colors.d.ts +0 -2
- package/dist/types/theme/tokens/shadows/docs/shadows.d.ts +0 -6
- package/dist/types/theme/tokens/shadows.d.ts +0 -2
- package/dist/types/theme/tokens/sizes.d.ts +0 -2
- package/dist/types/theme/tokens/spacing.d.ts +0 -2
- package/dist/types/theme/tokens/transitions.d.ts +0 -2
- package/dist/types/theme/tokens/typography/docs/typography.d.ts +0 -2
- package/dist/types/theme/tokens/typography.d.ts +0 -2
- package/dist/types/theme/tokens/zIndices.d.ts +0 -2
- package/dist/types/theme/tokens.d.ts +0 -2
- package/dist/types/theme.d.ts +0 -2
- /package/dist/cjs/{patterns → components}/ConversationCard/index.cjs.map +0 -0
- /package/dist/cjs/{patterns/StyledAvatar → components/Divider}/index.cjs.map +0 -0
- /package/dist/cjs/{patterns/TagBlock → components/Logo/generated}/index.cjs.map +0 -0
- /package/dist/cjs/{patterns/Timestamp → components/Logo}/index.cjs.map +0 -0
- /package/dist/cjs/{patterns → components/PinInput}/index.cjs.map +0 -0
- /package/dist/esm/{patterns → components}/ConversationCard/index.js.map +0 -0
- /package/dist/esm/{patterns/StyledAvatar → components/Divider}/index.js.map +0 -0
- /package/dist/esm/{patterns/TagBlock → components/Logo/generated}/index.js.map +0 -0
- /package/dist/esm/{patterns/Timestamp → components/Logo}/index.js.map +0 -0
- /package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
- /package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
- /package/dist/types/{patterns → components}/ConversationCard/index.d.ts +0 -0
- /package/dist/types/{patterns → components}/StyledAvatar/index.d.ts +0 -0
- /package/dist/types/{patterns → components}/StyledAvatar/styledAvatar.types.d.ts +0 -0
- /package/dist/types/{patterns → components}/TagBlock/index.d.ts +0 -0
- /package/dist/types/{patterns → components}/TagBlock/tagBlock.types.d.ts +0 -0
- /package/dist/types/{patterns → components}/Timestamp/index.d.ts +0 -0
|
@@ -0,0 +1,1196 @@
|
|
|
1
|
+
import { c as le, N as te, y as ge, r as M, P as ce, Q as ue, o as de, R as he, J as ne, S as pe, b as Oe, d as y, T as K, U as $, L as me, D as ie, M as Ee, q, V as Te, n as Ie, W as fe, X as _, Y as Pe, Z as ye, _ as Ce, $ as ve, k as Re, a0 as Se, l as Ne, x as ke, g as Le, a1 as j, K as be } from "./index-CYk-7wwG.js";
|
|
2
|
+
import { e as Ae, g as J, d as Me, b as k } from "./use-locale-context-D-agiW5E.js";
|
|
3
|
+
import { t as _e } from "./index-j7W9Hyzx.js";
|
|
4
|
+
var R = (e, t) => ({ x: e, y: t });
|
|
5
|
+
function De(e) {
|
|
6
|
+
const { x: t, y: r, width: n, height: o } = e, g = t + n / 2, a = r + o / 2;
|
|
7
|
+
return {
|
|
8
|
+
x: t,
|
|
9
|
+
y: r,
|
|
10
|
+
width: n,
|
|
11
|
+
height: o,
|
|
12
|
+
minX: t,
|
|
13
|
+
minY: r,
|
|
14
|
+
maxX: t + n,
|
|
15
|
+
maxY: r + o,
|
|
16
|
+
midX: g,
|
|
17
|
+
midY: a,
|
|
18
|
+
center: R(g, a)
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function He(e) {
|
|
22
|
+
const t = R(e.minX, e.minY), r = R(e.maxX, e.minY), n = R(e.maxX, e.maxY), o = R(e.minX, e.maxY);
|
|
23
|
+
return { top: t, right: r, bottom: n, left: o };
|
|
24
|
+
}
|
|
25
|
+
function we(e, t) {
|
|
26
|
+
const r = De(e), { top: n, right: o, left: g, bottom: a } = He(r), [l] = t.split("-");
|
|
27
|
+
return {
|
|
28
|
+
top: [g, n, o, a],
|
|
29
|
+
right: [n, o, a, g],
|
|
30
|
+
bottom: [n, g, a, o],
|
|
31
|
+
left: [o, n, g, a]
|
|
32
|
+
}[l];
|
|
33
|
+
}
|
|
34
|
+
function Ge(e, t) {
|
|
35
|
+
const { x: r, y: n } = t;
|
|
36
|
+
let o = !1;
|
|
37
|
+
for (let g = 0, a = e.length - 1; g < e.length; a = g++) {
|
|
38
|
+
const l = e[g].x, u = e[g].y, I = e[a].x, b = e[a].y;
|
|
39
|
+
u > n != b > n && r < (I - l) * (n - u) / (b - u) + l && (o = !o);
|
|
40
|
+
}
|
|
41
|
+
return o;
|
|
42
|
+
}
|
|
43
|
+
var Ve = Oe("menu").parts(
|
|
44
|
+
"arrow",
|
|
45
|
+
"arrowTip",
|
|
46
|
+
"content",
|
|
47
|
+
"contextTrigger",
|
|
48
|
+
"indicator",
|
|
49
|
+
"item",
|
|
50
|
+
"itemGroup",
|
|
51
|
+
"itemGroupLabel",
|
|
52
|
+
"itemIndicator",
|
|
53
|
+
"itemText",
|
|
54
|
+
"positioner",
|
|
55
|
+
"separator",
|
|
56
|
+
"trigger",
|
|
57
|
+
"triggerItem"
|
|
58
|
+
), h = Ve.build(), w = (e) => e.ids?.trigger ?? `menu:${e.id}:trigger`, re = (e) => e.ids?.contextTrigger ?? `menu:${e.id}:ctx-trigger`, S = (e) => e.ids?.content ?? `menu:${e.id}:content`, Fe = (e) => e.ids?.arrow ?? `menu:${e.id}:arrow`, oe = (e) => e.ids?.positioner ?? `menu:${e.id}:popper`, Ue = (e, t) => e.ids?.group?.(t) ?? `menu:${e.id}:group:${t}`, N = (e, t) => `${e.id}/${t}`, P = (e) => e?.dataset.value ?? null, Q = (e, t) => e.ids?.groupLabel?.(t) ?? `menu:${e.id}:group-label:${t}`, f = (e) => e.getById(S(e)), Z = (e) => e.getById(oe(e)), D = (e) => e.getById(w(e)), ae = (e, t) => t ? e.getById(N(e, t)) : null, z = (e) => e.getById(re(e)), L = (e) => {
|
|
59
|
+
const r = `[role^="menuitem"][data-ownedby=${CSS.escape(S(e))}]:not([data-disabled])`;
|
|
60
|
+
return ke(f(e), r);
|
|
61
|
+
}, xe = (e) => ue(L(e)), We = (e) => ce(L(e)), W = (e, t) => t ? e.id === t || e.dataset.value === t : !1, Be = (e, t) => {
|
|
62
|
+
const r = L(e), n = r.findIndex((o) => W(o, t.value));
|
|
63
|
+
return ve(r, n, { loop: t.loop ?? t.loopFocus });
|
|
64
|
+
}, Xe = (e, t) => {
|
|
65
|
+
const r = L(e), n = r.findIndex((o) => W(o, t.value));
|
|
66
|
+
return Ce(r, n, { loop: t.loop ?? t.loopFocus });
|
|
67
|
+
}, Ye = (e, t) => {
|
|
68
|
+
const r = L(e), n = r.find((o) => W(o, t.value));
|
|
69
|
+
return ne(r, { state: t.typeaheadState, key: t.key, activeId: n?.id ?? null });
|
|
70
|
+
}, H = (e) => Ne(e) && (e.dataset.disabled === "" || e.hasAttribute("disabled")), Ke = (e) => !!e?.getAttribute("role")?.startsWith("menuitem") && !!e?.hasAttribute("aria-controls"), x = "menu:select";
|
|
71
|
+
function $e(e, t) {
|
|
72
|
+
if (!e) return;
|
|
73
|
+
const r = ye(e), n = new r.CustomEvent(x, { detail: { value: t } });
|
|
74
|
+
e.dispatchEvent(n);
|
|
75
|
+
}
|
|
76
|
+
function et(e, t) {
|
|
77
|
+
const { context: r, send: n, state: o, computed: g, prop: a, scope: l } = e, u = o.hasTag("open"), I = g("isSubmenu"), b = g("isTypingAhead"), B = a("composite"), X = r.get("currentPlacement"), se = r.get("anchorPoint"), v = r.get("highlightedValue"), G = Me({
|
|
78
|
+
...a("positioning"),
|
|
79
|
+
placement: se ? "bottom" : X
|
|
80
|
+
});
|
|
81
|
+
function V(i) {
|
|
82
|
+
return {
|
|
83
|
+
id: N(l, i.value),
|
|
84
|
+
disabled: !!i.disabled,
|
|
85
|
+
highlighted: v === i.value
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function Y(i) {
|
|
89
|
+
const s = i.valueText ?? i.value;
|
|
90
|
+
return { ...i, id: i.value, valueText: s };
|
|
91
|
+
}
|
|
92
|
+
function A(i) {
|
|
93
|
+
return {
|
|
94
|
+
...V(Y(i)),
|
|
95
|
+
checked: !!i.checked
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function F(i) {
|
|
99
|
+
const { closeOnSelect: s, valueText: m, value: E } = i, p = V(i), T = N(l, E);
|
|
100
|
+
return t.element({
|
|
101
|
+
...h.item.attrs,
|
|
102
|
+
id: T,
|
|
103
|
+
role: "menuitem",
|
|
104
|
+
"aria-disabled": Re(p.disabled),
|
|
105
|
+
"data-disabled": y(p.disabled),
|
|
106
|
+
"data-ownedby": S(l),
|
|
107
|
+
"data-highlighted": y(p.highlighted),
|
|
108
|
+
"data-value": E,
|
|
109
|
+
"data-valuetext": m,
|
|
110
|
+
onDragStart(c) {
|
|
111
|
+
c.currentTarget.matches("a[href]") && c.preventDefault();
|
|
112
|
+
},
|
|
113
|
+
onPointerMove(c) {
|
|
114
|
+
if (p.disabled || c.pointerType !== "mouse") return;
|
|
115
|
+
const d = c.currentTarget;
|
|
116
|
+
p.highlighted || n({ type: "ITEM_POINTERMOVE", id: T, target: d, closeOnSelect: s });
|
|
117
|
+
},
|
|
118
|
+
onPointerLeave(c) {
|
|
119
|
+
if (p.disabled || c.pointerType !== "mouse" || !e.event.previous()?.type.includes("POINTER")) return;
|
|
120
|
+
const U = c.currentTarget;
|
|
121
|
+
n({ type: "ITEM_POINTERLEAVE", id: T, target: U, closeOnSelect: s });
|
|
122
|
+
},
|
|
123
|
+
onPointerDown(c) {
|
|
124
|
+
if (p.disabled) return;
|
|
125
|
+
const d = c.currentTarget;
|
|
126
|
+
n({ type: "ITEM_POINTERDOWN", target: d, id: T, closeOnSelect: s });
|
|
127
|
+
},
|
|
128
|
+
onClick(c) {
|
|
129
|
+
if (K(c) || $(c) || p.disabled) return;
|
|
130
|
+
const d = c.currentTarget;
|
|
131
|
+
n({ type: "ITEM_CLICK", target: d, id: T, closeOnSelect: s });
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
return {
|
|
136
|
+
highlightedValue: v,
|
|
137
|
+
open: u,
|
|
138
|
+
setOpen(i) {
|
|
139
|
+
o.hasTag("open") !== i && n({ type: i ? "OPEN" : "CLOSE" });
|
|
140
|
+
},
|
|
141
|
+
setHighlightedValue(i) {
|
|
142
|
+
n({ type: "HIGHLIGHTED.SET", value: i });
|
|
143
|
+
},
|
|
144
|
+
setParent(i) {
|
|
145
|
+
n({ type: "PARENT.SET", value: i, id: i.prop("id") });
|
|
146
|
+
},
|
|
147
|
+
setChild(i) {
|
|
148
|
+
n({ type: "CHILD.SET", value: i, id: i.prop("id") });
|
|
149
|
+
},
|
|
150
|
+
reposition(i = {}) {
|
|
151
|
+
n({ type: "POSITIONING.SET", options: i });
|
|
152
|
+
},
|
|
153
|
+
addItemListener(i) {
|
|
154
|
+
const s = l.getById(i.id);
|
|
155
|
+
if (!s) return;
|
|
156
|
+
const m = () => i.onSelect?.();
|
|
157
|
+
return s.addEventListener(x, m), () => s.removeEventListener(x, m);
|
|
158
|
+
},
|
|
159
|
+
getContextTriggerProps() {
|
|
160
|
+
return t.element({
|
|
161
|
+
...h.contextTrigger.attrs,
|
|
162
|
+
dir: a("dir"),
|
|
163
|
+
id: re(l),
|
|
164
|
+
onPointerDown(i) {
|
|
165
|
+
if (i.pointerType === "mouse") return;
|
|
166
|
+
const s = _(i);
|
|
167
|
+
n({ type: "CONTEXT_MENU_START", point: s });
|
|
168
|
+
},
|
|
169
|
+
onPointerCancel(i) {
|
|
170
|
+
i.pointerType !== "mouse" && n({ type: "CONTEXT_MENU_CANCEL" });
|
|
171
|
+
},
|
|
172
|
+
onPointerMove(i) {
|
|
173
|
+
i.pointerType !== "mouse" && n({ type: "CONTEXT_MENU_CANCEL" });
|
|
174
|
+
},
|
|
175
|
+
onPointerUp(i) {
|
|
176
|
+
i.pointerType !== "mouse" && n({ type: "CONTEXT_MENU_CANCEL" });
|
|
177
|
+
},
|
|
178
|
+
onContextMenu(i) {
|
|
179
|
+
const s = _(i);
|
|
180
|
+
n({ type: "CONTEXT_MENU", point: s }), i.preventDefault();
|
|
181
|
+
},
|
|
182
|
+
style: {
|
|
183
|
+
WebkitTouchCallout: "none",
|
|
184
|
+
WebkitUserSelect: "none",
|
|
185
|
+
userSelect: "none"
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
},
|
|
189
|
+
getTriggerItemProps(i) {
|
|
190
|
+
const s = i.getTriggerProps();
|
|
191
|
+
return Pe(F({ value: s.id }), s);
|
|
192
|
+
},
|
|
193
|
+
getTriggerProps() {
|
|
194
|
+
return t.button({
|
|
195
|
+
...I ? h.triggerItem.attrs : h.trigger.attrs,
|
|
196
|
+
"data-placement": r.get("currentPlacement"),
|
|
197
|
+
type: "button",
|
|
198
|
+
dir: a("dir"),
|
|
199
|
+
id: w(l),
|
|
200
|
+
"data-uid": a("id"),
|
|
201
|
+
"aria-haspopup": B ? "menu" : "dialog",
|
|
202
|
+
"aria-controls": S(l),
|
|
203
|
+
"aria-expanded": u || void 0,
|
|
204
|
+
"data-state": u ? "open" : "closed",
|
|
205
|
+
onPointerMove(i) {
|
|
206
|
+
if (i.pointerType !== "mouse" || H(i.currentTarget) || !I) return;
|
|
207
|
+
const m = _(i);
|
|
208
|
+
n({ type: "TRIGGER_POINTERMOVE", target: i.currentTarget, point: m });
|
|
209
|
+
},
|
|
210
|
+
onPointerLeave(i) {
|
|
211
|
+
if (H(i.currentTarget) || i.pointerType !== "mouse" || !I) return;
|
|
212
|
+
const s = _(i);
|
|
213
|
+
n({
|
|
214
|
+
type: "TRIGGER_POINTERLEAVE",
|
|
215
|
+
target: i.currentTarget,
|
|
216
|
+
point: s
|
|
217
|
+
});
|
|
218
|
+
},
|
|
219
|
+
onPointerDown(i) {
|
|
220
|
+
H(i.currentTarget) || fe(i) || i.preventDefault();
|
|
221
|
+
},
|
|
222
|
+
onClick(i) {
|
|
223
|
+
i.defaultPrevented || H(i.currentTarget) || n({ type: "TRIGGER_CLICK", target: i.currentTarget });
|
|
224
|
+
},
|
|
225
|
+
onBlur() {
|
|
226
|
+
n({ type: "TRIGGER_BLUR" });
|
|
227
|
+
},
|
|
228
|
+
onFocus() {
|
|
229
|
+
n({ type: "TRIGGER_FOCUS" });
|
|
230
|
+
},
|
|
231
|
+
onKeyDown(i) {
|
|
232
|
+
if (i.defaultPrevented) return;
|
|
233
|
+
const s = {
|
|
234
|
+
ArrowDown() {
|
|
235
|
+
n({ type: "ARROW_DOWN" });
|
|
236
|
+
},
|
|
237
|
+
ArrowUp() {
|
|
238
|
+
n({ type: "ARROW_UP" });
|
|
239
|
+
},
|
|
240
|
+
Enter() {
|
|
241
|
+
n({ type: "ARROW_DOWN", src: "enter" });
|
|
242
|
+
},
|
|
243
|
+
Space() {
|
|
244
|
+
n({ type: "ARROW_DOWN", src: "space" });
|
|
245
|
+
}
|
|
246
|
+
}, m = q(i, {
|
|
247
|
+
orientation: "vertical",
|
|
248
|
+
dir: a("dir")
|
|
249
|
+
}), E = s[m];
|
|
250
|
+
E && (i.preventDefault(), E(i));
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
},
|
|
254
|
+
getIndicatorProps() {
|
|
255
|
+
return t.element({
|
|
256
|
+
...h.indicator.attrs,
|
|
257
|
+
dir: a("dir"),
|
|
258
|
+
"data-state": u ? "open" : "closed"
|
|
259
|
+
});
|
|
260
|
+
},
|
|
261
|
+
getPositionerProps() {
|
|
262
|
+
return t.element({
|
|
263
|
+
...h.positioner.attrs,
|
|
264
|
+
dir: a("dir"),
|
|
265
|
+
id: oe(l),
|
|
266
|
+
style: G.floating
|
|
267
|
+
});
|
|
268
|
+
},
|
|
269
|
+
getArrowProps() {
|
|
270
|
+
return t.element({
|
|
271
|
+
id: Fe(l),
|
|
272
|
+
...h.arrow.attrs,
|
|
273
|
+
dir: a("dir"),
|
|
274
|
+
style: G.arrow
|
|
275
|
+
});
|
|
276
|
+
},
|
|
277
|
+
getArrowTipProps() {
|
|
278
|
+
return t.element({
|
|
279
|
+
...h.arrowTip.attrs,
|
|
280
|
+
dir: a("dir"),
|
|
281
|
+
style: G.arrowTip
|
|
282
|
+
});
|
|
283
|
+
},
|
|
284
|
+
getContentProps() {
|
|
285
|
+
return t.element({
|
|
286
|
+
...h.content.attrs,
|
|
287
|
+
id: S(l),
|
|
288
|
+
"aria-label": a("aria-label"),
|
|
289
|
+
hidden: !u,
|
|
290
|
+
"data-state": u ? "open" : "closed",
|
|
291
|
+
role: B ? "menu" : "dialog",
|
|
292
|
+
tabIndex: 0,
|
|
293
|
+
dir: a("dir"),
|
|
294
|
+
"aria-activedescendant": g("highlightedId") || void 0,
|
|
295
|
+
"aria-labelledby": w(l),
|
|
296
|
+
"data-placement": X,
|
|
297
|
+
onPointerEnter(i) {
|
|
298
|
+
i.pointerType === "mouse" && n({ type: "MENU_POINTERENTER" });
|
|
299
|
+
},
|
|
300
|
+
onKeyDown(i) {
|
|
301
|
+
if (i.defaultPrevented || !me(i)) return;
|
|
302
|
+
const s = ie(i);
|
|
303
|
+
if (!(s?.closest("[role=menu]") === i.currentTarget || s === i.currentTarget)) return;
|
|
304
|
+
if (i.key === "Tab" && !Ee(i)) {
|
|
305
|
+
i.preventDefault();
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
const E = ae(l, v), p = {
|
|
309
|
+
ArrowDown() {
|
|
310
|
+
n({ type: "ARROW_DOWN" });
|
|
311
|
+
},
|
|
312
|
+
ArrowUp() {
|
|
313
|
+
n({ type: "ARROW_UP" });
|
|
314
|
+
},
|
|
315
|
+
ArrowLeft() {
|
|
316
|
+
n({ type: "ARROW_LEFT" });
|
|
317
|
+
},
|
|
318
|
+
ArrowRight() {
|
|
319
|
+
n({ type: "ARROW_RIGHT" });
|
|
320
|
+
},
|
|
321
|
+
Enter() {
|
|
322
|
+
n({ type: "ENTER" }), v != null && Se(E) && a("navigate")?.({ value: v, node: E, href: E.href });
|
|
323
|
+
},
|
|
324
|
+
Space(d) {
|
|
325
|
+
b ? n({ type: "TYPEAHEAD", key: d.key }) : p.Enter?.(d);
|
|
326
|
+
},
|
|
327
|
+
Home() {
|
|
328
|
+
n({ type: "HOME" });
|
|
329
|
+
},
|
|
330
|
+
End() {
|
|
331
|
+
n({ type: "END" });
|
|
332
|
+
}
|
|
333
|
+
}, T = q(i, { dir: a("dir") }), c = p[T];
|
|
334
|
+
if (c) {
|
|
335
|
+
c(i), i.stopPropagation(), i.preventDefault();
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
a("typeahead") && Te(i) && (Ie(i) || te(s) || (n({ type: "TYPEAHEAD", key: i.key }), i.preventDefault()));
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
},
|
|
342
|
+
getSeparatorProps() {
|
|
343
|
+
return t.element({
|
|
344
|
+
...h.separator.attrs,
|
|
345
|
+
role: "separator",
|
|
346
|
+
dir: a("dir"),
|
|
347
|
+
"aria-orientation": "horizontal"
|
|
348
|
+
});
|
|
349
|
+
},
|
|
350
|
+
getItemState: V,
|
|
351
|
+
getItemProps: F,
|
|
352
|
+
getOptionItemState: A,
|
|
353
|
+
getOptionItemProps(i) {
|
|
354
|
+
const { type: s, disabled: m, onCheckedChange: E, closeOnSelect: p } = i, T = Y(i), c = A(i);
|
|
355
|
+
return {
|
|
356
|
+
...F(T),
|
|
357
|
+
...t.element({
|
|
358
|
+
"data-type": s,
|
|
359
|
+
...h.item.attrs,
|
|
360
|
+
dir: a("dir"),
|
|
361
|
+
"data-value": T.value,
|
|
362
|
+
role: `menuitem${s}`,
|
|
363
|
+
"aria-checked": !!c.checked,
|
|
364
|
+
"data-state": c.checked ? "checked" : "unchecked",
|
|
365
|
+
onClick(d) {
|
|
366
|
+
if (m || K(d) || $(d)) return;
|
|
367
|
+
const U = d.currentTarget;
|
|
368
|
+
n({ type: "ITEM_CLICK", target: U, option: T, closeOnSelect: p }), E?.(!c.checked);
|
|
369
|
+
}
|
|
370
|
+
})
|
|
371
|
+
};
|
|
372
|
+
},
|
|
373
|
+
getItemIndicatorProps(i) {
|
|
374
|
+
const s = A(i);
|
|
375
|
+
return t.element({
|
|
376
|
+
...h.itemIndicator.attrs,
|
|
377
|
+
dir: a("dir"),
|
|
378
|
+
"data-disabled": y(s.disabled),
|
|
379
|
+
"data-highlighted": y(s.highlighted),
|
|
380
|
+
"data-state": s.checked ? "checked" : "unchecked",
|
|
381
|
+
hidden: !s.checked
|
|
382
|
+
});
|
|
383
|
+
},
|
|
384
|
+
getItemTextProps(i) {
|
|
385
|
+
const s = A(i);
|
|
386
|
+
return t.element({
|
|
387
|
+
...h.itemText.attrs,
|
|
388
|
+
dir: a("dir"),
|
|
389
|
+
"data-disabled": y(s.disabled),
|
|
390
|
+
"data-highlighted": y(s.highlighted),
|
|
391
|
+
"data-state": s.checked ? "checked" : "unchecked"
|
|
392
|
+
});
|
|
393
|
+
},
|
|
394
|
+
getItemGroupLabelProps(i) {
|
|
395
|
+
return t.element({
|
|
396
|
+
...h.itemGroupLabel.attrs,
|
|
397
|
+
id: Q(l, i.htmlFor),
|
|
398
|
+
dir: a("dir")
|
|
399
|
+
});
|
|
400
|
+
},
|
|
401
|
+
getItemGroupProps(i) {
|
|
402
|
+
return t.element({
|
|
403
|
+
id: Ue(l, i.id),
|
|
404
|
+
...h.itemGroup.attrs,
|
|
405
|
+
dir: a("dir"),
|
|
406
|
+
"aria-labelledby": Q(l, i.id),
|
|
407
|
+
role: "group"
|
|
408
|
+
});
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
var { not: O, and: C, or: qe } = ge(), tt = le({
|
|
413
|
+
props({ props: e }) {
|
|
414
|
+
return {
|
|
415
|
+
closeOnSelect: !0,
|
|
416
|
+
typeahead: !0,
|
|
417
|
+
composite: !0,
|
|
418
|
+
loopFocus: !1,
|
|
419
|
+
navigate(t) {
|
|
420
|
+
pe(t.node);
|
|
421
|
+
},
|
|
422
|
+
...e,
|
|
423
|
+
positioning: {
|
|
424
|
+
placement: "bottom-start",
|
|
425
|
+
gutter: 8,
|
|
426
|
+
...e.positioning
|
|
427
|
+
}
|
|
428
|
+
};
|
|
429
|
+
},
|
|
430
|
+
initialState({ prop: e }) {
|
|
431
|
+
return e("open") || e("defaultOpen") ? "open" : "idle";
|
|
432
|
+
},
|
|
433
|
+
context({ bindable: e, prop: t }) {
|
|
434
|
+
return {
|
|
435
|
+
suspendPointer: e(() => ({
|
|
436
|
+
defaultValue: !1
|
|
437
|
+
})),
|
|
438
|
+
highlightedValue: e(() => ({
|
|
439
|
+
defaultValue: t("defaultHighlightedValue") || null,
|
|
440
|
+
value: t("highlightedValue"),
|
|
441
|
+
onChange(r) {
|
|
442
|
+
t("onHighlightChange")?.({ highlightedValue: r });
|
|
443
|
+
}
|
|
444
|
+
})),
|
|
445
|
+
lastHighlightedValue: e(() => ({
|
|
446
|
+
defaultValue: null
|
|
447
|
+
})),
|
|
448
|
+
currentPlacement: e(() => ({
|
|
449
|
+
defaultValue: void 0
|
|
450
|
+
})),
|
|
451
|
+
intentPolygon: e(() => ({
|
|
452
|
+
defaultValue: null
|
|
453
|
+
})),
|
|
454
|
+
anchorPoint: e(() => ({
|
|
455
|
+
defaultValue: null,
|
|
456
|
+
hash(r) {
|
|
457
|
+
return `x: ${r?.x}, y: ${r?.y}`;
|
|
458
|
+
}
|
|
459
|
+
}))
|
|
460
|
+
};
|
|
461
|
+
},
|
|
462
|
+
refs() {
|
|
463
|
+
return {
|
|
464
|
+
parent: null,
|
|
465
|
+
children: {},
|
|
466
|
+
typeaheadState: { ...ne.defaultOptions },
|
|
467
|
+
positioningOverride: {}
|
|
468
|
+
};
|
|
469
|
+
},
|
|
470
|
+
computed: {
|
|
471
|
+
isSubmenu: ({ refs: e }) => e.get("parent") != null,
|
|
472
|
+
isRtl: ({ prop: e }) => e("dir") === "rtl",
|
|
473
|
+
isTypingAhead: ({ refs: e }) => e.get("typeaheadState").keysSoFar !== "",
|
|
474
|
+
highlightedId: ({ context: e, scope: t, refs: r }) => Je(r.get("children"), e.get("highlightedValue"), t)
|
|
475
|
+
},
|
|
476
|
+
watch({ track: e, action: t, context: r, computed: n, prop: o }) {
|
|
477
|
+
e([() => n("isSubmenu")], () => {
|
|
478
|
+
t(["setSubmenuPlacement"]);
|
|
479
|
+
}), e([() => r.hash("anchorPoint")], () => {
|
|
480
|
+
t(["reposition"]);
|
|
481
|
+
}), e([() => o("open")], () => {
|
|
482
|
+
t(["toggleVisibility"]);
|
|
483
|
+
});
|
|
484
|
+
},
|
|
485
|
+
on: {
|
|
486
|
+
"PARENT.SET": {
|
|
487
|
+
actions: ["setParentMenu"]
|
|
488
|
+
},
|
|
489
|
+
"CHILD.SET": {
|
|
490
|
+
actions: ["setChildMenu"]
|
|
491
|
+
},
|
|
492
|
+
OPEN: [
|
|
493
|
+
{
|
|
494
|
+
guard: "isOpenControlled",
|
|
495
|
+
actions: ["invokeOnOpen"]
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
target: "open",
|
|
499
|
+
actions: ["invokeOnOpen"]
|
|
500
|
+
}
|
|
501
|
+
],
|
|
502
|
+
OPEN_AUTOFOCUS: [
|
|
503
|
+
{
|
|
504
|
+
guard: "isOpenControlled",
|
|
505
|
+
actions: ["invokeOnOpen"]
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
// internal: true,
|
|
509
|
+
target: "open",
|
|
510
|
+
actions: ["highlightFirstItem", "invokeOnOpen"]
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
CLOSE: [
|
|
514
|
+
{
|
|
515
|
+
guard: "isOpenControlled",
|
|
516
|
+
actions: ["invokeOnClose"]
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
target: "closed",
|
|
520
|
+
actions: ["invokeOnClose"]
|
|
521
|
+
}
|
|
522
|
+
],
|
|
523
|
+
"HIGHLIGHTED.RESTORE": {
|
|
524
|
+
actions: ["restoreHighlightedItem"]
|
|
525
|
+
},
|
|
526
|
+
"HIGHLIGHTED.SET": {
|
|
527
|
+
actions: ["setHighlightedItem"]
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
states: {
|
|
531
|
+
idle: {
|
|
532
|
+
tags: ["closed"],
|
|
533
|
+
on: {
|
|
534
|
+
"CONTROLLED.OPEN": {
|
|
535
|
+
target: "open"
|
|
536
|
+
},
|
|
537
|
+
"CONTROLLED.CLOSE": {
|
|
538
|
+
target: "closed"
|
|
539
|
+
},
|
|
540
|
+
CONTEXT_MENU_START: {
|
|
541
|
+
target: "opening:contextmenu",
|
|
542
|
+
actions: ["setAnchorPoint"]
|
|
543
|
+
},
|
|
544
|
+
CONTEXT_MENU: [
|
|
545
|
+
{
|
|
546
|
+
guard: "isOpenControlled",
|
|
547
|
+
actions: ["setAnchorPoint", "invokeOnOpen"]
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
target: "open",
|
|
551
|
+
actions: ["setAnchorPoint", "invokeOnOpen"]
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
TRIGGER_CLICK: [
|
|
555
|
+
{
|
|
556
|
+
guard: "isOpenControlled",
|
|
557
|
+
actions: ["invokeOnOpen"]
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
target: "open",
|
|
561
|
+
actions: ["invokeOnOpen"]
|
|
562
|
+
}
|
|
563
|
+
],
|
|
564
|
+
TRIGGER_FOCUS: {
|
|
565
|
+
guard: O("isSubmenu"),
|
|
566
|
+
target: "closed"
|
|
567
|
+
},
|
|
568
|
+
TRIGGER_POINTERMOVE: {
|
|
569
|
+
guard: "isSubmenu",
|
|
570
|
+
target: "opening"
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
"opening:contextmenu": {
|
|
575
|
+
tags: ["closed"],
|
|
576
|
+
effects: ["waitForLongPress"],
|
|
577
|
+
on: {
|
|
578
|
+
"CONTROLLED.OPEN": { target: "open" },
|
|
579
|
+
"CONTROLLED.CLOSE": { target: "closed" },
|
|
580
|
+
CONTEXT_MENU_CANCEL: [
|
|
581
|
+
{
|
|
582
|
+
guard: "isOpenControlled",
|
|
583
|
+
actions: ["invokeOnClose"]
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
target: "closed",
|
|
587
|
+
actions: ["invokeOnClose"]
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
"LONG_PRESS.OPEN": [
|
|
591
|
+
{
|
|
592
|
+
guard: "isOpenControlled",
|
|
593
|
+
actions: ["invokeOnOpen"]
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
target: "open",
|
|
597
|
+
actions: ["invokeOnOpen"]
|
|
598
|
+
}
|
|
599
|
+
]
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
opening: {
|
|
603
|
+
tags: ["closed"],
|
|
604
|
+
effects: ["waitForOpenDelay"],
|
|
605
|
+
on: {
|
|
606
|
+
"CONTROLLED.OPEN": {
|
|
607
|
+
target: "open"
|
|
608
|
+
},
|
|
609
|
+
"CONTROLLED.CLOSE": {
|
|
610
|
+
target: "closed"
|
|
611
|
+
},
|
|
612
|
+
BLUR: [
|
|
613
|
+
{
|
|
614
|
+
guard: "isOpenControlled",
|
|
615
|
+
actions: ["invokeOnClose"]
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
target: "closed",
|
|
619
|
+
actions: ["invokeOnClose"]
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
TRIGGER_POINTERLEAVE: [
|
|
623
|
+
{
|
|
624
|
+
guard: "isOpenControlled",
|
|
625
|
+
actions: ["invokeOnClose"]
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
target: "closed",
|
|
629
|
+
actions: ["invokeOnClose"]
|
|
630
|
+
}
|
|
631
|
+
],
|
|
632
|
+
"DELAY.OPEN": [
|
|
633
|
+
{
|
|
634
|
+
guard: "isOpenControlled",
|
|
635
|
+
actions: ["invokeOnOpen"]
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
target: "open",
|
|
639
|
+
actions: ["invokeOnOpen"]
|
|
640
|
+
}
|
|
641
|
+
]
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
closing: {
|
|
645
|
+
tags: ["open"],
|
|
646
|
+
effects: ["trackPointerMove", "trackInteractOutside", "waitForCloseDelay"],
|
|
647
|
+
on: {
|
|
648
|
+
"CONTROLLED.OPEN": {
|
|
649
|
+
target: "open"
|
|
650
|
+
},
|
|
651
|
+
"CONTROLLED.CLOSE": {
|
|
652
|
+
target: "closed",
|
|
653
|
+
actions: ["focusParentMenu", "restoreParentHighlightedItem"]
|
|
654
|
+
},
|
|
655
|
+
// don't invoke on open here since the menu is still open (we're only keeping it open)
|
|
656
|
+
MENU_POINTERENTER: {
|
|
657
|
+
target: "open",
|
|
658
|
+
actions: ["clearIntentPolygon"]
|
|
659
|
+
},
|
|
660
|
+
POINTER_MOVED_AWAY_FROM_SUBMENU: [
|
|
661
|
+
{
|
|
662
|
+
guard: "isOpenControlled",
|
|
663
|
+
actions: ["invokeOnClose"]
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
target: "closed",
|
|
667
|
+
actions: ["focusParentMenu", "restoreParentHighlightedItem"]
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"DELAY.CLOSE": [
|
|
671
|
+
{
|
|
672
|
+
guard: "isOpenControlled",
|
|
673
|
+
actions: ["invokeOnClose"]
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
target: "closed",
|
|
677
|
+
actions: ["focusParentMenu", "restoreParentHighlightedItem", "invokeOnClose"]
|
|
678
|
+
}
|
|
679
|
+
]
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
closed: {
|
|
683
|
+
tags: ["closed"],
|
|
684
|
+
entry: ["clearHighlightedItem", "focusTrigger", "resumePointer"],
|
|
685
|
+
on: {
|
|
686
|
+
"CONTROLLED.OPEN": [
|
|
687
|
+
{
|
|
688
|
+
guard: qe("isOpenAutoFocusEvent", "isArrowDownEvent"),
|
|
689
|
+
target: "open",
|
|
690
|
+
actions: ["highlightFirstItem"]
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
guard: "isArrowUpEvent",
|
|
694
|
+
target: "open",
|
|
695
|
+
actions: ["highlightLastItem"]
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
target: "open"
|
|
699
|
+
}
|
|
700
|
+
],
|
|
701
|
+
CONTEXT_MENU_START: {
|
|
702
|
+
target: "opening:contextmenu",
|
|
703
|
+
actions: ["setAnchorPoint"]
|
|
704
|
+
},
|
|
705
|
+
CONTEXT_MENU: [
|
|
706
|
+
{
|
|
707
|
+
guard: "isOpenControlled",
|
|
708
|
+
actions: ["setAnchorPoint", "invokeOnOpen"]
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
target: "open",
|
|
712
|
+
actions: ["setAnchorPoint", "invokeOnOpen"]
|
|
713
|
+
}
|
|
714
|
+
],
|
|
715
|
+
TRIGGER_CLICK: [
|
|
716
|
+
{
|
|
717
|
+
guard: "isOpenControlled",
|
|
718
|
+
actions: ["invokeOnOpen"]
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
target: "open",
|
|
722
|
+
actions: ["invokeOnOpen"]
|
|
723
|
+
}
|
|
724
|
+
],
|
|
725
|
+
TRIGGER_POINTERMOVE: {
|
|
726
|
+
guard: "isTriggerItem",
|
|
727
|
+
target: "opening"
|
|
728
|
+
},
|
|
729
|
+
TRIGGER_BLUR: { target: "idle" },
|
|
730
|
+
ARROW_DOWN: [
|
|
731
|
+
{
|
|
732
|
+
guard: "isOpenControlled",
|
|
733
|
+
actions: ["invokeOnOpen"]
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
target: "open",
|
|
737
|
+
actions: ["highlightFirstItem", "invokeOnOpen"]
|
|
738
|
+
}
|
|
739
|
+
],
|
|
740
|
+
ARROW_UP: [
|
|
741
|
+
{
|
|
742
|
+
guard: "isOpenControlled",
|
|
743
|
+
actions: ["invokeOnOpen"]
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
target: "open",
|
|
747
|
+
actions: ["highlightLastItem", "invokeOnOpen"]
|
|
748
|
+
}
|
|
749
|
+
]
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
open: {
|
|
753
|
+
tags: ["open"],
|
|
754
|
+
effects: ["trackInteractOutside", "trackPositioning", "scrollToHighlightedItem"],
|
|
755
|
+
entry: ["focusMenu", "resumePointer"],
|
|
756
|
+
on: {
|
|
757
|
+
"CONTROLLED.CLOSE": [
|
|
758
|
+
{
|
|
759
|
+
target: "closed",
|
|
760
|
+
guard: "isArrowLeftEvent",
|
|
761
|
+
actions: ["focusParentMenu"]
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
target: "closed"
|
|
765
|
+
}
|
|
766
|
+
],
|
|
767
|
+
TRIGGER_CLICK: [
|
|
768
|
+
{
|
|
769
|
+
guard: C(O("isTriggerItem"), "isOpenControlled"),
|
|
770
|
+
actions: ["invokeOnClose"]
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
guard: O("isTriggerItem"),
|
|
774
|
+
target: "closed",
|
|
775
|
+
actions: ["invokeOnClose"]
|
|
776
|
+
}
|
|
777
|
+
],
|
|
778
|
+
CONTEXT_MENU: {
|
|
779
|
+
actions: ["setAnchorPoint", "focusMenu"]
|
|
780
|
+
},
|
|
781
|
+
ARROW_UP: {
|
|
782
|
+
actions: ["highlightPrevItem", "focusMenu"]
|
|
783
|
+
},
|
|
784
|
+
ARROW_DOWN: {
|
|
785
|
+
actions: ["highlightNextItem", "focusMenu"]
|
|
786
|
+
},
|
|
787
|
+
ARROW_LEFT: [
|
|
788
|
+
{
|
|
789
|
+
guard: C("isSubmenu", "isOpenControlled"),
|
|
790
|
+
actions: ["invokeOnClose"]
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
guard: "isSubmenu",
|
|
794
|
+
target: "closed",
|
|
795
|
+
actions: ["focusParentMenu", "invokeOnClose"]
|
|
796
|
+
}
|
|
797
|
+
],
|
|
798
|
+
HOME: {
|
|
799
|
+
actions: ["highlightFirstItem", "focusMenu"]
|
|
800
|
+
},
|
|
801
|
+
END: {
|
|
802
|
+
actions: ["highlightLastItem", "focusMenu"]
|
|
803
|
+
},
|
|
804
|
+
ARROW_RIGHT: {
|
|
805
|
+
guard: "isTriggerItemHighlighted",
|
|
806
|
+
actions: ["openSubmenu"]
|
|
807
|
+
},
|
|
808
|
+
ENTER: [
|
|
809
|
+
{
|
|
810
|
+
guard: "isTriggerItemHighlighted",
|
|
811
|
+
actions: ["openSubmenu"]
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
actions: ["clickHighlightedItem"]
|
|
815
|
+
}
|
|
816
|
+
],
|
|
817
|
+
ITEM_POINTERMOVE: [
|
|
818
|
+
{
|
|
819
|
+
guard: O("isPointerSuspended"),
|
|
820
|
+
actions: ["setHighlightedItem", "focusMenu"]
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
actions: ["setLastHighlightedItem"]
|
|
824
|
+
}
|
|
825
|
+
],
|
|
826
|
+
ITEM_POINTERLEAVE: {
|
|
827
|
+
guard: C(O("isPointerSuspended"), O("isTriggerItem")),
|
|
828
|
+
actions: ["clearHighlightedItem"]
|
|
829
|
+
},
|
|
830
|
+
ITEM_CLICK: [
|
|
831
|
+
// == grouped ==
|
|
832
|
+
{
|
|
833
|
+
guard: C(
|
|
834
|
+
O("isTriggerItemHighlighted"),
|
|
835
|
+
O("isHighlightedItemEditable"),
|
|
836
|
+
"closeOnSelect",
|
|
837
|
+
"isOpenControlled"
|
|
838
|
+
),
|
|
839
|
+
actions: ["invokeOnSelect", "setOptionState", "closeRootMenu", "invokeOnClose"]
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
guard: C(O("isTriggerItemHighlighted"), O("isHighlightedItemEditable"), "closeOnSelect"),
|
|
843
|
+
target: "closed",
|
|
844
|
+
actions: ["invokeOnSelect", "setOptionState", "closeRootMenu", "invokeOnClose"]
|
|
845
|
+
},
|
|
846
|
+
//
|
|
847
|
+
{
|
|
848
|
+
guard: C(O("isTriggerItemHighlighted"), O("isHighlightedItemEditable")),
|
|
849
|
+
actions: ["invokeOnSelect", "setOptionState"]
|
|
850
|
+
},
|
|
851
|
+
{ actions: ["setHighlightedItem"] }
|
|
852
|
+
],
|
|
853
|
+
TRIGGER_POINTERMOVE: {
|
|
854
|
+
guard: "isTriggerItem",
|
|
855
|
+
actions: ["setIntentPolygon"]
|
|
856
|
+
},
|
|
857
|
+
TRIGGER_POINTERLEAVE: {
|
|
858
|
+
target: "closing"
|
|
859
|
+
},
|
|
860
|
+
ITEM_POINTERDOWN: {
|
|
861
|
+
actions: ["setHighlightedItem"]
|
|
862
|
+
},
|
|
863
|
+
TYPEAHEAD: {
|
|
864
|
+
actions: ["highlightMatchedItem"]
|
|
865
|
+
},
|
|
866
|
+
FOCUS_MENU: {
|
|
867
|
+
actions: ["focusMenu"]
|
|
868
|
+
},
|
|
869
|
+
"POSITIONING.SET": {
|
|
870
|
+
actions: ["reposition"]
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
implementations: {
|
|
876
|
+
guards: {
|
|
877
|
+
closeOnSelect: ({ prop: e, event: t }) => !!(t?.closeOnSelect ?? e("closeOnSelect")),
|
|
878
|
+
// whether the trigger is also a menu item
|
|
879
|
+
isTriggerItem: ({ event: e }) => Ke(e.target),
|
|
880
|
+
// whether the trigger item is the active item
|
|
881
|
+
isTriggerItemHighlighted: ({ event: e, scope: t, computed: r }) => !!(e.target ?? t.getById(r("highlightedId")))?.hasAttribute("aria-controls"),
|
|
882
|
+
isSubmenu: ({ computed: e }) => e("isSubmenu"),
|
|
883
|
+
isPointerSuspended: ({ context: e }) => e.get("suspendPointer"),
|
|
884
|
+
isHighlightedItemEditable: ({ scope: e, computed: t }) => te(e.getById(t("highlightedId"))),
|
|
885
|
+
// guard assertions (for controlled mode)
|
|
886
|
+
isOpenControlled: ({ prop: e }) => e("open") !== void 0,
|
|
887
|
+
isArrowLeftEvent: ({ event: e }) => e.previousEvent?.type === "ARROW_LEFT",
|
|
888
|
+
isArrowUpEvent: ({ event: e }) => e.previousEvent?.type === "ARROW_UP",
|
|
889
|
+
isArrowDownEvent: ({ event: e }) => e.previousEvent?.type === "ARROW_DOWN",
|
|
890
|
+
isOpenAutoFocusEvent: ({ event: e }) => e.previousEvent?.type === "OPEN_AUTOFOCUS"
|
|
891
|
+
},
|
|
892
|
+
effects: {
|
|
893
|
+
waitForOpenDelay({ send: e }) {
|
|
894
|
+
const t = setTimeout(() => {
|
|
895
|
+
e({ type: "DELAY.OPEN" });
|
|
896
|
+
}, 100);
|
|
897
|
+
return () => clearTimeout(t);
|
|
898
|
+
},
|
|
899
|
+
waitForCloseDelay({ send: e }) {
|
|
900
|
+
const t = setTimeout(() => {
|
|
901
|
+
e({ type: "DELAY.CLOSE" });
|
|
902
|
+
}, 300);
|
|
903
|
+
return () => clearTimeout(t);
|
|
904
|
+
},
|
|
905
|
+
waitForLongPress({ send: e }) {
|
|
906
|
+
const t = setTimeout(() => {
|
|
907
|
+
e({ type: "LONG_PRESS.OPEN" });
|
|
908
|
+
}, 700);
|
|
909
|
+
return () => clearTimeout(t);
|
|
910
|
+
},
|
|
911
|
+
trackPositioning({ context: e, prop: t, scope: r, refs: n }) {
|
|
912
|
+
if (z(r)) return;
|
|
913
|
+
const o = {
|
|
914
|
+
...t("positioning"),
|
|
915
|
+
...n.get("positioningOverride")
|
|
916
|
+
};
|
|
917
|
+
e.set("currentPlacement", o.placement);
|
|
918
|
+
const g = () => Z(r);
|
|
919
|
+
return J(D(r), g, {
|
|
920
|
+
...o,
|
|
921
|
+
defer: !0,
|
|
922
|
+
onComplete(a) {
|
|
923
|
+
e.set("currentPlacement", a.placement);
|
|
924
|
+
}
|
|
925
|
+
});
|
|
926
|
+
},
|
|
927
|
+
trackInteractOutside({ refs: e, scope: t, prop: r, computed: n, send: o }) {
|
|
928
|
+
const g = () => f(t);
|
|
929
|
+
let a = !0;
|
|
930
|
+
return _e(g, {
|
|
931
|
+
defer: !0,
|
|
932
|
+
exclude: [D(t)],
|
|
933
|
+
onInteractOutside: r("onInteractOutside"),
|
|
934
|
+
onFocusOutside: r("onFocusOutside"),
|
|
935
|
+
onEscapeKeyDown(l) {
|
|
936
|
+
r("onEscapeKeyDown")?.(l), n("isSubmenu") && l.preventDefault(), ee({ parent: e.get("parent") });
|
|
937
|
+
},
|
|
938
|
+
onPointerDownOutside(l) {
|
|
939
|
+
const u = ie(l.detail.originalEvent);
|
|
940
|
+
if (j(z(t), u) && l.detail.contextmenu) {
|
|
941
|
+
l.preventDefault();
|
|
942
|
+
return;
|
|
943
|
+
}
|
|
944
|
+
a = !l.detail.focusable, r("onPointerDownOutside")?.(l);
|
|
945
|
+
},
|
|
946
|
+
onDismiss() {
|
|
947
|
+
o({ type: "CLOSE", src: "interact-outside", restoreFocus: a });
|
|
948
|
+
}
|
|
949
|
+
});
|
|
950
|
+
},
|
|
951
|
+
trackPointerMove({ context: e, scope: t, send: r, refs: n, flush: o }) {
|
|
952
|
+
const g = n.get("parent");
|
|
953
|
+
o(() => {
|
|
954
|
+
g.context.set("suspendPointer", !0);
|
|
955
|
+
});
|
|
956
|
+
const a = t.getDoc();
|
|
957
|
+
return he(a, "pointermove", (l) => {
|
|
958
|
+
je(e.get("intentPolygon"), {
|
|
959
|
+
x: l.clientX,
|
|
960
|
+
y: l.clientY
|
|
961
|
+
}) || (r({ type: "POINTER_MOVED_AWAY_FROM_SUBMENU" }), g.context.set("suspendPointer", !1));
|
|
962
|
+
});
|
|
963
|
+
},
|
|
964
|
+
scrollToHighlightedItem({ event: e, scope: t, computed: r }) {
|
|
965
|
+
const n = () => {
|
|
966
|
+
if (e.type.startsWith("ITEM_POINTER")) return;
|
|
967
|
+
const g = t.getById(r("highlightedId")), a = f(t);
|
|
968
|
+
be(g, { rootEl: a, block: "nearest" });
|
|
969
|
+
};
|
|
970
|
+
return M(() => n()), de(() => f(t), {
|
|
971
|
+
defer: !0,
|
|
972
|
+
attributes: ["aria-activedescendant"],
|
|
973
|
+
callback: n
|
|
974
|
+
});
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
actions: {
|
|
978
|
+
setAnchorPoint({ context: e, event: t }) {
|
|
979
|
+
e.set("anchorPoint", t.point);
|
|
980
|
+
},
|
|
981
|
+
setSubmenuPlacement({ computed: e, refs: t }) {
|
|
982
|
+
if (!e("isSubmenu")) return;
|
|
983
|
+
const r = e("isRtl") ? "left-start" : "right-start";
|
|
984
|
+
t.set("positioningOverride", { placement: r, gutter: 0 });
|
|
985
|
+
},
|
|
986
|
+
reposition({ context: e, scope: t, prop: r, event: n, refs: o }) {
|
|
987
|
+
const g = () => Z(t), a = e.get("anchorPoint"), l = a ? () => ({ width: 0, height: 0, ...a }) : void 0, u = {
|
|
988
|
+
...r("positioning"),
|
|
989
|
+
...o.get("positioningOverride")
|
|
990
|
+
};
|
|
991
|
+
J(D(t), g, {
|
|
992
|
+
...u,
|
|
993
|
+
defer: !0,
|
|
994
|
+
getAnchorRect: l,
|
|
995
|
+
...n.options ?? {},
|
|
996
|
+
listeners: !1,
|
|
997
|
+
onComplete(I) {
|
|
998
|
+
e.set("currentPlacement", I.placement);
|
|
999
|
+
}
|
|
1000
|
+
});
|
|
1001
|
+
},
|
|
1002
|
+
setOptionState({ event: e }) {
|
|
1003
|
+
if (!e.option) return;
|
|
1004
|
+
const { checked: t, onCheckedChange: r, type: n } = e.option;
|
|
1005
|
+
n === "radio" ? r?.(!0) : n === "checkbox" && r?.(!t);
|
|
1006
|
+
},
|
|
1007
|
+
clickHighlightedItem({ scope: e, computed: t }) {
|
|
1008
|
+
const r = e.getById(t("highlightedId"));
|
|
1009
|
+
!r || r.dataset.disabled || queueMicrotask(() => r.click());
|
|
1010
|
+
},
|
|
1011
|
+
setIntentPolygon({ context: e, scope: t, event: r }) {
|
|
1012
|
+
const n = f(t), o = e.get("currentPlacement");
|
|
1013
|
+
if (!n || !o) return;
|
|
1014
|
+
const g = n.getBoundingClientRect(), a = we(g, o);
|
|
1015
|
+
if (!a) return;
|
|
1016
|
+
const u = Ae(o) === "right" ? -5 : 5;
|
|
1017
|
+
e.set("intentPolygon", [{ ...r.point, x: r.point.x + u }, ...a]);
|
|
1018
|
+
},
|
|
1019
|
+
clearIntentPolygon({ context: e }) {
|
|
1020
|
+
e.set("intentPolygon", null);
|
|
1021
|
+
},
|
|
1022
|
+
resumePointer({ refs: e, flush: t }) {
|
|
1023
|
+
const r = e.get("parent");
|
|
1024
|
+
r && t(() => {
|
|
1025
|
+
r.context.set("suspendPointer", !1);
|
|
1026
|
+
});
|
|
1027
|
+
},
|
|
1028
|
+
setHighlightedItem({ context: e, event: t }) {
|
|
1029
|
+
const r = t.value || P(t.target);
|
|
1030
|
+
e.set("highlightedValue", r);
|
|
1031
|
+
},
|
|
1032
|
+
clearHighlightedItem({ context: e }) {
|
|
1033
|
+
e.set("highlightedValue", null);
|
|
1034
|
+
},
|
|
1035
|
+
focusMenu({ scope: e }) {
|
|
1036
|
+
M(() => {
|
|
1037
|
+
const t = f(e);
|
|
1038
|
+
Le({
|
|
1039
|
+
root: t,
|
|
1040
|
+
enabled: !j(t, e.getActiveElement()),
|
|
1041
|
+
filter(n) {
|
|
1042
|
+
return !n.role?.startsWith("menuitem");
|
|
1043
|
+
}
|
|
1044
|
+
})?.focus({ preventScroll: !0 });
|
|
1045
|
+
});
|
|
1046
|
+
},
|
|
1047
|
+
highlightFirstItem({ context: e, scope: t }) {
|
|
1048
|
+
(f(t) ? queueMicrotask : M)(() => {
|
|
1049
|
+
const n = xe(t);
|
|
1050
|
+
n && e.set("highlightedValue", P(n));
|
|
1051
|
+
});
|
|
1052
|
+
},
|
|
1053
|
+
highlightLastItem({ context: e, scope: t }) {
|
|
1054
|
+
(f(t) ? queueMicrotask : M)(() => {
|
|
1055
|
+
const n = We(t);
|
|
1056
|
+
n && e.set("highlightedValue", P(n));
|
|
1057
|
+
});
|
|
1058
|
+
},
|
|
1059
|
+
highlightNextItem({ context: e, scope: t, event: r, prop: n }) {
|
|
1060
|
+
const o = Be(t, {
|
|
1061
|
+
loop: r.loop,
|
|
1062
|
+
value: e.get("highlightedValue"),
|
|
1063
|
+
loopFocus: n("loopFocus")
|
|
1064
|
+
});
|
|
1065
|
+
e.set("highlightedValue", P(o));
|
|
1066
|
+
},
|
|
1067
|
+
highlightPrevItem({ context: e, scope: t, event: r, prop: n }) {
|
|
1068
|
+
const o = Xe(t, {
|
|
1069
|
+
loop: r.loop,
|
|
1070
|
+
value: e.get("highlightedValue"),
|
|
1071
|
+
loopFocus: n("loopFocus")
|
|
1072
|
+
});
|
|
1073
|
+
e.set("highlightedValue", P(o));
|
|
1074
|
+
},
|
|
1075
|
+
invokeOnSelect({ context: e, prop: t, scope: r }) {
|
|
1076
|
+
const n = e.get("highlightedValue");
|
|
1077
|
+
if (n == null) return;
|
|
1078
|
+
const o = ae(r, n);
|
|
1079
|
+
$e(o, n), t("onSelect")?.({ value: n });
|
|
1080
|
+
},
|
|
1081
|
+
focusTrigger({ scope: e, context: t, event: r, computed: n }) {
|
|
1082
|
+
n("isSubmenu") || t.get("anchorPoint") || r.restoreFocus === !1 || queueMicrotask(() => D(e)?.focus({ preventScroll: !0 }));
|
|
1083
|
+
},
|
|
1084
|
+
highlightMatchedItem({ scope: e, context: t, event: r, refs: n }) {
|
|
1085
|
+
const o = Ye(e, {
|
|
1086
|
+
key: r.key,
|
|
1087
|
+
value: t.get("highlightedValue"),
|
|
1088
|
+
typeaheadState: n.get("typeaheadState")
|
|
1089
|
+
});
|
|
1090
|
+
o && t.set("highlightedValue", P(o));
|
|
1091
|
+
},
|
|
1092
|
+
setParentMenu({ refs: e, event: t }) {
|
|
1093
|
+
e.set("parent", t.value);
|
|
1094
|
+
},
|
|
1095
|
+
setChildMenu({ refs: e, event: t }) {
|
|
1096
|
+
const r = e.get("children");
|
|
1097
|
+
r[t.id] = t.value, e.set("children", r);
|
|
1098
|
+
},
|
|
1099
|
+
closeRootMenu({ refs: e }) {
|
|
1100
|
+
ee({ parent: e.get("parent") });
|
|
1101
|
+
},
|
|
1102
|
+
openSubmenu({ refs: e, scope: t, computed: r }) {
|
|
1103
|
+
const o = t.getById(r("highlightedId"))?.getAttribute("data-uid"), g = e.get("children");
|
|
1104
|
+
(o ? g[o] : null)?.send({ type: "OPEN_AUTOFOCUS" });
|
|
1105
|
+
},
|
|
1106
|
+
focusParentMenu({ refs: e }) {
|
|
1107
|
+
e.get("parent")?.send({ type: "FOCUS_MENU" });
|
|
1108
|
+
},
|
|
1109
|
+
setLastHighlightedItem({ context: e, event: t }) {
|
|
1110
|
+
e.set("lastHighlightedValue", P(t.target));
|
|
1111
|
+
},
|
|
1112
|
+
restoreHighlightedItem({ context: e }) {
|
|
1113
|
+
e.get("lastHighlightedValue") && (e.set("highlightedValue", e.get("lastHighlightedValue")), e.set("lastHighlightedValue", null));
|
|
1114
|
+
},
|
|
1115
|
+
restoreParentHighlightedItem({ refs: e }) {
|
|
1116
|
+
e.get("parent")?.send({ type: "HIGHLIGHTED.RESTORE" });
|
|
1117
|
+
},
|
|
1118
|
+
invokeOnOpen({ prop: e }) {
|
|
1119
|
+
e("onOpenChange")?.({ open: !0 });
|
|
1120
|
+
},
|
|
1121
|
+
invokeOnClose({ prop: e }) {
|
|
1122
|
+
e("onOpenChange")?.({ open: !1 });
|
|
1123
|
+
},
|
|
1124
|
+
toggleVisibility({ prop: e, event: t, send: r }) {
|
|
1125
|
+
r({
|
|
1126
|
+
type: e("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE",
|
|
1127
|
+
previousEvent: t
|
|
1128
|
+
});
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
});
|
|
1133
|
+
function ee(e) {
|
|
1134
|
+
let t = e.parent;
|
|
1135
|
+
for (; t && t.computed("isSubmenu"); )
|
|
1136
|
+
t = t.refs.get("parent");
|
|
1137
|
+
t?.send({ type: "CLOSE" });
|
|
1138
|
+
}
|
|
1139
|
+
function je(e, t) {
|
|
1140
|
+
return e ? Ge(e, t) : !1;
|
|
1141
|
+
}
|
|
1142
|
+
function Je(e, t, r) {
|
|
1143
|
+
const n = Object.keys(e).length > 0;
|
|
1144
|
+
if (!t) return null;
|
|
1145
|
+
if (!n)
|
|
1146
|
+
return N(r, t);
|
|
1147
|
+
for (const o in e) {
|
|
1148
|
+
const g = e[o], a = w(g.scope);
|
|
1149
|
+
if (a === t)
|
|
1150
|
+
return a;
|
|
1151
|
+
}
|
|
1152
|
+
return N(r, t);
|
|
1153
|
+
}
|
|
1154
|
+
k()([
|
|
1155
|
+
"anchorPoint",
|
|
1156
|
+
"aria-label",
|
|
1157
|
+
"closeOnSelect",
|
|
1158
|
+
"composite",
|
|
1159
|
+
"defaultHighlightedValue",
|
|
1160
|
+
"defaultOpen",
|
|
1161
|
+
"dir",
|
|
1162
|
+
"getRootNode",
|
|
1163
|
+
"highlightedValue",
|
|
1164
|
+
"id",
|
|
1165
|
+
"ids",
|
|
1166
|
+
"loopFocus",
|
|
1167
|
+
"navigate",
|
|
1168
|
+
"onEscapeKeyDown",
|
|
1169
|
+
"onFocusOutside",
|
|
1170
|
+
"onHighlightChange",
|
|
1171
|
+
"onInteractOutside",
|
|
1172
|
+
"onOpenChange",
|
|
1173
|
+
"onPointerDownOutside",
|
|
1174
|
+
"onSelect",
|
|
1175
|
+
"open",
|
|
1176
|
+
"positioning",
|
|
1177
|
+
"typeahead"
|
|
1178
|
+
]);
|
|
1179
|
+
k()(["closeOnSelect", "disabled", "value", "valueText"]);
|
|
1180
|
+
k()(["htmlFor"]);
|
|
1181
|
+
k()(["id"]);
|
|
1182
|
+
k()([
|
|
1183
|
+
"checked",
|
|
1184
|
+
"closeOnSelect",
|
|
1185
|
+
"disabled",
|
|
1186
|
+
"onCheckedChange",
|
|
1187
|
+
"type",
|
|
1188
|
+
"value",
|
|
1189
|
+
"valueText"
|
|
1190
|
+
]);
|
|
1191
|
+
export {
|
|
1192
|
+
Ve as a,
|
|
1193
|
+
et as c,
|
|
1194
|
+
tt as m
|
|
1195
|
+
};
|
|
1196
|
+
//# sourceMappingURL=index-D9DU-5GF.js.map
|