@televet/kibble-ui 4.0.0-beta.7 → 4.0.0-beta.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-8JN84Qgi.js +219 -0
- package/dist/chunks/alert.types-8JN84Qgi.js.map +1 -0
- package/dist/chunks/alert.types-eZV4C-Lo.js +2 -0
- package/dist/chunks/alert.types-eZV4C-Lo.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-DFECejcq.js +2 -0
- package/dist/chunks/avatar.component-DFECejcq.js.map +1 -0
- package/dist/chunks/avatar.component-DHEnOmiw.js +420 -0
- package/dist/chunks/avatar.component-DHEnOmiw.js.map +1 -0
- package/dist/chunks/{avatarGroup.component-CceV-fW0.js → avatarGroup.component-BivC9ghH.js} +27 -28
- package/dist/chunks/{avatarGroup.component-CceV-fW0.js.map → avatarGroup.component-BivC9ghH.js.map} +1 -1
- package/dist/chunks/avatarGroup.component-CidA0JNq.js +2 -0
- package/dist/chunks/{avatarGroup.component-Q43nemix.js.map → avatarGroup.component-CidA0JNq.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-B6Z97Z5w.js +77 -0
- package/dist/chunks/buttonGroup.component-B6Z97Z5w.js.map +1 -0
- package/dist/chunks/buttonGroup.component-dEH5U2U9.js +2 -0
- package/dist/chunks/buttonGroup.component-dEH5U2U9.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-BnJlAXbZ.js} +14 -12
- package/dist/chunks/{characterCounter.component-DhiMcztY.js.map → characterCounter.component-BnJlAXbZ.js.map} +1 -1
- package/dist/chunks/characterCounter.component-D32B_18y.js +2 -0
- package/dist/chunks/{characterCounter.component-BXxyn_IB.js.map → characterCounter.component-D32B_18y.js.map} +1 -1
- package/dist/chunks/checkbox.component-Oc8lxpMw.js +2 -0
- package/dist/chunks/checkbox.component-Oc8lxpMw.js.map +1 -0
- package/dist/chunks/checkbox.component-PJondNuh.js +310 -0
- package/dist/chunks/checkbox.component-PJondNuh.js.map +1 -0
- package/dist/chunks/checkbox.records-B1tMW87O.js +2 -0
- package/dist/chunks/checkbox.records-B1tMW87O.js.map +1 -0
- package/dist/chunks/checkbox.records-BtZVOsgd.js +266 -0
- package/dist/chunks/checkbox.records-BtZVOsgd.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-DUlVhjLO.js +52 -0
- package/dist/chunks/{checkboxGroup.component-DcIdfbbl.js.map → checkboxGroup.component-DUlVhjLO.js.map} +1 -1
- package/dist/chunks/checkboxGroup.component-Du63au-w.js +2 -0
- package/dist/chunks/{checkboxGroup.component-BYKUQW4y.js.map → checkboxGroup.component-Du63au-w.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-C1PQnKmJ.js +2 -0
- package/dist/chunks/conversationCard.component-C1PQnKmJ.js.map +1 -0
- package/dist/chunks/{conversationCard.component-BSfDNuuw.js → conversationCard.component-CYnBgT3a.js} +51 -49
- package/dist/chunks/conversationCard.component-CYnBgT3a.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-B7jzOKQ9.js +15 -0
- package/dist/chunks/datePicker.component-B7jzOKQ9.js.map +1 -0
- package/dist/chunks/datePicker.component-Cu0sCxMB.js +3165 -0
- package/dist/chunks/datePicker.component-Cu0sCxMB.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-D4rtbYK8.js +12 -0
- package/dist/chunks/heading.component-D4rtbYK8.js.map +1 -0
- package/dist/chunks/heading.component-uv536wYF.js +2 -0
- package/dist/chunks/heading.component-uv536wYF.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-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-CzrXl0uD.js +2 -0
- package/dist/chunks/index-CzrXl0uD.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-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/index-z-FFv-gK.js +257 -0
- package/dist/chunks/index-z-FFv-gK.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-DCtztozy.js +2 -0
- package/dist/chunks/menu.component-DCtztozy.js.map +1 -0
- package/dist/chunks/menu.component-DaWlH0RE.js +678 -0
- package/dist/chunks/menu.component-DaWlH0RE.js.map +1 -0
- package/dist/chunks/modal.types-Cx0d9C_x.js +206 -0
- package/dist/chunks/modal.types-Cx0d9C_x.js.map +1 -0
- package/dist/chunks/modal.types-DBKm96OL.js +2 -0
- package/dist/chunks/modal.types-DBKm96OL.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-DG_lLcFk.js +2 -0
- package/dist/chunks/pinInput.types-DG_lLcFk.js.map +1 -0
- package/dist/chunks/pinInput.types-HUZl_UUD.js +161 -0
- package/dist/chunks/pinInput.types-HUZl_UUD.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-D27f6GTu.js +322 -0
- package/dist/chunks/popover.component-D27f6GTu.js.map +1 -0
- package/dist/chunks/popover.component-KGVUAj9L.js +2 -0
- package/dist/chunks/popover.component-KGVUAj9L.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-C-MuxSPZ.js +2 -0
- package/dist/chunks/radio.records-C-MuxSPZ.js.map +1 -0
- package/dist/chunks/radio.records-DzITb4sg.js +382 -0
- package/dist/chunks/radio.records-DzITb4sg.js.map +1 -0
- package/dist/chunks/radioGroup.component-PdVYD3bp.js +275 -0
- package/dist/chunks/radioGroup.component-PdVYD3bp.js.map +1 -0
- package/dist/chunks/radioGroup.component-wgmJPLDW.js +2 -0
- package/dist/chunks/radioGroup.component-wgmJPLDW.js.map +1 -0
- package/dist/chunks/ratingDots.component-CUPAiIW_.js +2 -0
- package/dist/chunks/{ratingDots.component-DOZX6EE0.js.map → ratingDots.component-CUPAiIW_.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-B4OK_lXC.js → ratingDots.component-ClZHNCmw.js} +31 -28
- package/dist/chunks/{ratingDots.component-B4OK_lXC.js.map → ratingDots.component-ClZHNCmw.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-CGqMFhui.js +2 -0
- package/dist/chunks/select.component-CGqMFhui.js.map +1 -0
- package/dist/chunks/select.component-DHP33P1O.js +391 -0
- package/dist/chunks/select.component-DHP33P1O.js.map +1 -0
- package/dist/chunks/{dnd-DDR6viHX.js → sortableList.component-1gWWNAQS.js} +1015 -887
- package/dist/chunks/sortableList.component-1gWWNAQS.js.map +1 -0
- package/dist/chunks/sortableList.component-BLYlOg_f.js +6 -0
- package/dist/chunks/sortableList.component-BLYlOg_f.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-D5tkelNc.js → spinner.component-BnWQ5OjN.js} +21 -19
- package/dist/chunks/spinner.component-BnWQ5OjN.js.map +1 -0
- package/dist/chunks/spinner.component-Ebdkd2br.js +2 -0
- package/dist/chunks/{spinner.component-CUuidnSK.js.map → spinner.component-Ebdkd2br.js.map} +1 -1
- 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-B1WPMZAS.js +2 -0
- package/dist/chunks/styledAvatar.types-B1WPMZAS.js.map +1 -0
- package/dist/chunks/{styledAvatar.types-CoxQchLt.js → styledAvatar.types-C0KWX23C.js} +3 -3
- package/dist/chunks/styledAvatar.types-C0KWX23C.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-CbZlg5Iz.js +166 -0
- package/dist/chunks/switch.component-CbZlg5Iz.js.map +1 -0
- package/dist/chunks/switch.component-D5kgSKKx.js +2 -0
- package/dist/chunks/switch.component-D5kgSKKx.js.map +1 -0
- package/dist/chunks/tabs.component-Bi1vanBo.js +639 -0
- package/dist/chunks/tabs.component-Bi1vanBo.js.map +1 -0
- package/dist/chunks/tabs.component-SlXJb1rB.js +2 -0
- package/dist/chunks/tabs.component-SlXJb1rB.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-C6cfZb0d.js} +18 -17
- package/dist/chunks/tagBlock.component-C6cfZb0d.js.map +1 -0
- package/dist/chunks/tagBlock.component-CLB4ggMT.js +2 -0
- package/dist/chunks/tagBlock.component-CLB4ggMT.js.map +1 -0
- package/dist/chunks/text.component-BZQWS29V.js +2 -0
- package/dist/chunks/text.component-BZQWS29V.js.map +1 -0
- package/dist/chunks/text.component-BZSCPJLf.js +12 -0
- package/dist/chunks/text.component-BZSCPJLf.js.map +1 -0
- package/dist/chunks/textInput.component-B0VClMq5.js +2 -0
- package/dist/chunks/textInput.component-B0VClMq5.js.map +1 -0
- package/dist/chunks/textInput.component-kSJAjj78.js +180 -0
- package/dist/chunks/textInput.component-kSJAjj78.js.map +1 -0
- package/dist/chunks/textarea.component-BubrZCI9.js +98 -0
- package/dist/chunks/textarea.component-BubrZCI9.js.map +1 -0
- package/dist/chunks/textarea.component-DZ89XNHw.js +2 -0
- package/dist/chunks/textarea.component-DZ89XNHw.js.map +1 -0
- package/dist/chunks/{chakra-BqBkjpvZ.js → theme.provider-BK05OKFS.js} +5186 -4303
- package/dist/chunks/theme.provider-BK05OKFS.js.map +1 -0
- package/dist/chunks/theme.provider-DNwKSEWO.js +48 -0
- package/dist/chunks/theme.provider-DNwKSEWO.js.map +1 -0
- package/dist/chunks/timePicker.component-DyoR0UBJ.js +2 -0
- package/dist/chunks/{timePicker.component-Dw_FjiQX.js.map → timePicker.component-DyoR0UBJ.js.map} +1 -1
- package/dist/chunks/{timePicker.component--ABdI3GF.js → timePicker.component-hHOzJUi7.js} +46 -43
- package/dist/chunks/{timePicker.component--ABdI3GF.js.map → timePicker.component-hHOzJUi7.js.map} +1 -1
- package/dist/chunks/timeRange.component-C2anTUsM.js +2 -0
- package/dist/chunks/{timeRange.component-RLisXhuw.js.map → timeRange.component-C2anTUsM.js.map} +1 -1
- package/dist/chunks/timeRange.component-PlO6xxkd.js +18 -0
- package/dist/chunks/{timeRange.component-B3OvVyo_.js.map → timeRange.component-PlO6xxkd.js.map} +1 -1
- package/dist/chunks/timestamp.component-C__DC7oq.js +54 -0
- package/dist/chunks/timestamp.component-C__DC7oq.js.map +1 -0
- package/dist/chunks/timestamp.component-T3aszXN_.js +2 -0
- package/dist/chunks/timestamp.component-T3aszXN_.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-G-RF87Zw.js +750 -0
- package/dist/chunks/tooltip.component-G-RF87Zw.js.map +1 -0
- package/dist/chunks/tooltip.component-Vo-2841s.js +2 -0
- package/dist/chunks/tooltip.component-Vo-2841s.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-5ywq6Y2v.js +376 -0
- package/dist/chunks/withFormControl-5ywq6Y2v.js.map +1 -0
- package/dist/chunks/withFormControl-_nV7mlmV.js +2 -0
- package/dist/chunks/withFormControl-_nV7mlmV.js.map +1 -0
- package/dist/chunks/{withTruncation-C2xFKhgB.js → withTruncation-D4DrwvZ2.js} +21 -28
- package/dist/chunks/{withTruncation-BskZBBVs.js.map → withTruncation-D4DrwvZ2.js.map} +1 -1
- package/dist/chunks/withTruncation-DH07KRFn.js +2 -0
- package/dist/chunks/{withTruncation-C2xFKhgB.js.map → withTruncation-DH07KRFn.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 -115
- 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 +4 -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 +3 -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 +2 -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,389 @@
|
|
|
1
|
+
import { r as K, a2 as R, ai as M, aj as L, ak as v, al as m, R as g, D as O, am as S, a6 as A, an as _, ao as W, ab as P, ap as $ } from "./index-CYk-7wwG.js";
|
|
2
|
+
var N = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), k = {}, D = 0, B = (e) => e && (e.host || B(e.parentNode)), V = (e, i) => i.map((o) => {
|
|
3
|
+
if (e.contains(o)) return o;
|
|
4
|
+
const t = B(o);
|
|
5
|
+
return t && e.contains(t) ? t : (console.error("[zag-js > ariaHidden] target", o, "in not contained inside", e, ". Doing nothing"), null);
|
|
6
|
+
}).filter((o) => !!o), H = (e) => e.localName === "next-route-announcer" || e.localName === "script" || e.hasAttribute("aria-live") ? !0 : e.matches("[data-live-announcer]"), U = (e, i) => {
|
|
7
|
+
const { parentNode: o, markerName: t, controlAttribute: s } = i, n = V(o, Array.isArray(e) ? e : [e]);
|
|
8
|
+
k[t] || (k[t] = /* @__PURE__ */ new WeakMap());
|
|
9
|
+
const a = k[t], u = [], l = /* @__PURE__ */ new Set(), r = new Set(n), d = (c) => {
|
|
10
|
+
!c || l.has(c) || (l.add(c), d(c.parentNode));
|
|
11
|
+
};
|
|
12
|
+
n.forEach(d);
|
|
13
|
+
const b = (c) => {
|
|
14
|
+
!c || r.has(c) || Array.prototype.forEach.call(c.children, (f) => {
|
|
15
|
+
if (l.has(f))
|
|
16
|
+
b(f);
|
|
17
|
+
else
|
|
18
|
+
try {
|
|
19
|
+
if (H(f)) return;
|
|
20
|
+
const w = f.getAttribute(s) === "true", T = (N.get(f) || 0) + 1, x = (a.get(f) || 0) + 1;
|
|
21
|
+
N.set(f, T), a.set(f, x), u.push(f), T === 1 && w && I.set(f, !0), x === 1 && f.setAttribute(t, ""), w || f.setAttribute(s, "true");
|
|
22
|
+
} catch (p) {
|
|
23
|
+
console.error("[zag-js > ariaHidden] cannot operate on ", f, p);
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
return b(o), l.clear(), D++, () => {
|
|
28
|
+
u.forEach((c) => {
|
|
29
|
+
const f = N.get(c) - 1, p = a.get(c) - 1;
|
|
30
|
+
N.set(c, f), a.set(c, p), f || (I.has(c) || c.removeAttribute(s), I.delete(c)), p || c.removeAttribute(t);
|
|
31
|
+
}), D--, D || (N = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), k = {});
|
|
32
|
+
};
|
|
33
|
+
}, X = (e) => (Array.isArray(e) ? e[0] : e).ownerDocument.body, Y = (e, i = X(e), o = "data-aria-hidden") => {
|
|
34
|
+
if (i)
|
|
35
|
+
return U(e, {
|
|
36
|
+
parentNode: i,
|
|
37
|
+
markerName: o,
|
|
38
|
+
controlAttribute: "aria-hidden"
|
|
39
|
+
});
|
|
40
|
+
}, j = (e) => {
|
|
41
|
+
const i = requestAnimationFrame(() => e());
|
|
42
|
+
return () => cancelAnimationFrame(i);
|
|
43
|
+
};
|
|
44
|
+
function it(e, i = {}) {
|
|
45
|
+
const { defer: o = !0 } = i, t = o ? j : (n) => n(), s = [];
|
|
46
|
+
return s.push(
|
|
47
|
+
t(() => {
|
|
48
|
+
const a = (typeof e == "function" ? e() : e).filter(Boolean);
|
|
49
|
+
a.length !== 0 && s.push(Y(a));
|
|
50
|
+
})
|
|
51
|
+
), () => {
|
|
52
|
+
s.forEach((n) => n?.());
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
var q = Object.defineProperty, z = (e, i, o) => i in e ? q(e, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[i] = o, h = (e, i, o) => z(e, typeof i != "symbol" ? i + "" : i, o), G = {
|
|
56
|
+
activateTrap(e, i) {
|
|
57
|
+
if (e.length > 0) {
|
|
58
|
+
const t = e[e.length - 1];
|
|
59
|
+
t !== i && t.pause();
|
|
60
|
+
}
|
|
61
|
+
const o = e.indexOf(i);
|
|
62
|
+
o === -1 || e.splice(o, 1), e.push(i);
|
|
63
|
+
},
|
|
64
|
+
deactivateTrap(e, i) {
|
|
65
|
+
const o = e.indexOf(i);
|
|
66
|
+
o !== -1 && e.splice(o, 1), e.length > 0 && e[e.length - 1].unpause();
|
|
67
|
+
}
|
|
68
|
+
}, J = [], Q = class {
|
|
69
|
+
constructor(e, i) {
|
|
70
|
+
h(this, "trapStack"), h(this, "config"), h(this, "doc"), h(this, "state", {
|
|
71
|
+
containers: [],
|
|
72
|
+
containerGroups: [],
|
|
73
|
+
tabbableGroups: [],
|
|
74
|
+
nodeFocusedBeforeActivation: null,
|
|
75
|
+
mostRecentlyFocusedNode: null,
|
|
76
|
+
active: !1,
|
|
77
|
+
paused: !1,
|
|
78
|
+
delayInitialFocusTimer: void 0,
|
|
79
|
+
recentNavEvent: void 0
|
|
80
|
+
}), h(this, "listenerCleanups", []), h(this, "handleFocus", (t) => {
|
|
81
|
+
const s = O(t), n = this.findContainerIndex(s, t) >= 0;
|
|
82
|
+
if (n || S(s))
|
|
83
|
+
n && (this.state.mostRecentlyFocusedNode = s);
|
|
84
|
+
else {
|
|
85
|
+
t.stopImmediatePropagation();
|
|
86
|
+
let a, u = !0;
|
|
87
|
+
if (this.state.mostRecentlyFocusedNode)
|
|
88
|
+
if (m(this.state.mostRecentlyFocusedNode) > 0) {
|
|
89
|
+
const l = this.findContainerIndex(this.state.mostRecentlyFocusedNode), { tabbableNodes: r } = this.state.containerGroups[l];
|
|
90
|
+
if (r.length > 0) {
|
|
91
|
+
const d = r.findIndex((b) => b === this.state.mostRecentlyFocusedNode);
|
|
92
|
+
d >= 0 && (this.config.isKeyForward(this.state.recentNavEvent) ? d + 1 < r.length && (a = r[d + 1], u = !1) : d - 1 >= 0 && (a = r[d - 1], u = !1));
|
|
93
|
+
}
|
|
94
|
+
} else
|
|
95
|
+
this.state.containerGroups.some((l) => l.tabbableNodes.some((r) => m(r) > 0)) || (u = !1);
|
|
96
|
+
else
|
|
97
|
+
u = !1;
|
|
98
|
+
u && (a = this.findNextNavNode({
|
|
99
|
+
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
100
|
+
// outside the trap causing the focus escape we're trying to fix)
|
|
101
|
+
target: this.state.mostRecentlyFocusedNode,
|
|
102
|
+
isBackward: this.config.isKeyBackward(this.state.recentNavEvent)
|
|
103
|
+
})), a ? this.tryFocus(a) : this.tryFocus(this.state.mostRecentlyFocusedNode || this.getInitialFocusNode());
|
|
104
|
+
}
|
|
105
|
+
this.state.recentNavEvent = void 0;
|
|
106
|
+
}), h(this, "handlePointerDown", (t) => {
|
|
107
|
+
const s = O(t);
|
|
108
|
+
if (!(this.findContainerIndex(s, t) >= 0)) {
|
|
109
|
+
if (y(this.config.clickOutsideDeactivates, t)) {
|
|
110
|
+
this.deactivate({ returnFocus: this.config.returnFocusOnDeactivate });
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
y(this.config.allowOutsideClick, t) || t.preventDefault();
|
|
114
|
+
}
|
|
115
|
+
}), h(this, "handleClick", (t) => {
|
|
116
|
+
const s = O(t);
|
|
117
|
+
this.findContainerIndex(s, t) >= 0 || y(this.config.clickOutsideDeactivates, t) || y(this.config.allowOutsideClick, t) || (t.preventDefault(), t.stopImmediatePropagation());
|
|
118
|
+
}), h(this, "handleTabKey", (t) => {
|
|
119
|
+
if (this.config.isKeyForward(t) || this.config.isKeyBackward(t)) {
|
|
120
|
+
this.state.recentNavEvent = t;
|
|
121
|
+
const s = this.config.isKeyBackward(t), n = this.findNextNavNode({ event: t, isBackward: s });
|
|
122
|
+
if (!n) return;
|
|
123
|
+
F(t) && t.preventDefault(), this.tryFocus(n);
|
|
124
|
+
}
|
|
125
|
+
}), h(this, "handleEscapeKey", (t) => {
|
|
126
|
+
Z(t) && y(this.config.escapeDeactivates, t) !== !1 && (t.preventDefault(), this.deactivate());
|
|
127
|
+
}), h(this, "_mutationObserver"), h(this, "setupMutationObserver", () => {
|
|
128
|
+
const t = this.doc.defaultView || window;
|
|
129
|
+
this._mutationObserver = new t.MutationObserver((s) => {
|
|
130
|
+
s.some((a) => Array.from(a.removedNodes).some((l) => l === this.state.mostRecentlyFocusedNode)) && this.tryFocus(this.getInitialFocusNode());
|
|
131
|
+
});
|
|
132
|
+
}), h(this, "updateObservedNodes", () => {
|
|
133
|
+
this._mutationObserver?.disconnect(), this.state.active && !this.state.paused && this.state.containers.map((t) => {
|
|
134
|
+
this._mutationObserver?.observe(t, { subtree: !0, childList: !0 });
|
|
135
|
+
});
|
|
136
|
+
}), h(this, "getInitialFocusNode", () => {
|
|
137
|
+
let t = this.getNodeForOption("initialFocus", { hasFallback: !0 });
|
|
138
|
+
if (t === !1)
|
|
139
|
+
return !1;
|
|
140
|
+
if (t === void 0 || t && !A(t))
|
|
141
|
+
if (this.findContainerIndex(this.doc.activeElement) >= 0)
|
|
142
|
+
t = this.doc.activeElement;
|
|
143
|
+
else {
|
|
144
|
+
const s = this.state.tabbableGroups[0];
|
|
145
|
+
t = s && s.firstTabbableNode || this.getNodeForOption("fallbackFocus");
|
|
146
|
+
}
|
|
147
|
+
else t === null && (t = this.getNodeForOption("fallbackFocus"));
|
|
148
|
+
if (!t)
|
|
149
|
+
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
150
|
+
return t.isConnected || (t = this.getNodeForOption("fallbackFocus")), t;
|
|
151
|
+
}), h(this, "tryFocus", (t) => {
|
|
152
|
+
if (t !== !1 && t !== _(this.doc)) {
|
|
153
|
+
if (!t || !t.focus) {
|
|
154
|
+
this.tryFocus(this.getInitialFocusNode());
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
t.focus({ preventScroll: !!this.config.preventScroll }), this.state.mostRecentlyFocusedNode = t, tt(t) && t.select();
|
|
158
|
+
}
|
|
159
|
+
}), h(this, "deactivate", (t) => {
|
|
160
|
+
if (!this.state.active) return this;
|
|
161
|
+
const s = {
|
|
162
|
+
onDeactivate: this.config.onDeactivate,
|
|
163
|
+
onPostDeactivate: this.config.onPostDeactivate,
|
|
164
|
+
checkCanReturnFocus: this.config.checkCanReturnFocus,
|
|
165
|
+
...t
|
|
166
|
+
};
|
|
167
|
+
clearTimeout(this.state.delayInitialFocusTimer), this.state.delayInitialFocusTimer = void 0, this.removeListeners(), this.state.active = !1, this.state.paused = !1, this.updateObservedNodes(), G.deactivateTrap(this.trapStack, this);
|
|
168
|
+
const n = this.getOption(s, "onDeactivate"), a = this.getOption(s, "onPostDeactivate"), u = this.getOption(s, "checkCanReturnFocus"), l = this.getOption(s, "returnFocus", "returnFocusOnDeactivate");
|
|
169
|
+
n?.();
|
|
170
|
+
const r = () => {
|
|
171
|
+
E(() => {
|
|
172
|
+
if (l) {
|
|
173
|
+
const d = this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);
|
|
174
|
+
this.tryFocus(d);
|
|
175
|
+
}
|
|
176
|
+
a?.();
|
|
177
|
+
});
|
|
178
|
+
};
|
|
179
|
+
if (l && u) {
|
|
180
|
+
const d = this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);
|
|
181
|
+
return u(d).then(r, r), this;
|
|
182
|
+
}
|
|
183
|
+
return r(), this;
|
|
184
|
+
}), h(this, "pause", (t) => {
|
|
185
|
+
if (this.state.paused || !this.state.active)
|
|
186
|
+
return this;
|
|
187
|
+
const s = this.getOption(t, "onPause"), n = this.getOption(t, "onPostPause");
|
|
188
|
+
return this.state.paused = !0, s?.(), this.removeListeners(), this.updateObservedNodes(), n?.(), this;
|
|
189
|
+
}), h(this, "unpause", (t) => {
|
|
190
|
+
if (!this.state.paused || !this.state.active)
|
|
191
|
+
return this;
|
|
192
|
+
const s = this.getOption(t, "onUnpause"), n = this.getOption(t, "onPostUnpause");
|
|
193
|
+
return this.state.paused = !1, s?.(), this.updateTabbableNodes(), this.addListeners(), this.updateObservedNodes(), n?.(), this;
|
|
194
|
+
}), h(this, "updateContainerElements", (t) => (this.state.containers = Array.isArray(t) ? t.filter(Boolean) : [t].filter(Boolean), this.state.active && this.updateTabbableNodes(), this.updateObservedNodes(), this)), h(this, "getReturnFocusNode", (t) => {
|
|
195
|
+
const s = this.getNodeForOption("setReturnFocus", {
|
|
196
|
+
params: [t]
|
|
197
|
+
});
|
|
198
|
+
return s || (s === !1 ? !1 : t);
|
|
199
|
+
}), h(this, "getOption", (t, s, n) => t && t[s] !== void 0 ? t[s] : (
|
|
200
|
+
// @ts-expect-error
|
|
201
|
+
this.config[n || s]
|
|
202
|
+
)), h(this, "getNodeForOption", (t, { hasFallback: s = !1, params: n = [] } = {}) => {
|
|
203
|
+
let a = this.config[t];
|
|
204
|
+
if (typeof a == "function" && (a = a(...n)), a === !0 && (a = void 0), !a) {
|
|
205
|
+
if (a === void 0 || a === !1)
|
|
206
|
+
return a;
|
|
207
|
+
throw new Error(`\`${t}\` was specified but was not a node, or did not return a node`);
|
|
208
|
+
}
|
|
209
|
+
let u = a;
|
|
210
|
+
if (typeof a == "string") {
|
|
211
|
+
try {
|
|
212
|
+
u = this.doc.querySelector(a);
|
|
213
|
+
} catch (l) {
|
|
214
|
+
throw new Error(`\`${t}\` appears to be an invalid selector; error="${l.message}"`);
|
|
215
|
+
}
|
|
216
|
+
if (!u && !s)
|
|
217
|
+
throw new Error(`\`${t}\` as selector refers to no known node`);
|
|
218
|
+
}
|
|
219
|
+
return u;
|
|
220
|
+
}), h(this, "findNextNavNode", (t) => {
|
|
221
|
+
const { event: s, isBackward: n = !1 } = t, a = t.target || O(s);
|
|
222
|
+
this.updateTabbableNodes();
|
|
223
|
+
let u = null;
|
|
224
|
+
if (this.state.tabbableGroups.length > 0) {
|
|
225
|
+
const l = this.findContainerIndex(a, s), r = l >= 0 ? this.state.containerGroups[l] : void 0;
|
|
226
|
+
if (l < 0)
|
|
227
|
+
n ? u = this.state.tabbableGroups[this.state.tabbableGroups.length - 1].lastTabbableNode : u = this.state.tabbableGroups[0].firstTabbableNode;
|
|
228
|
+
else if (n) {
|
|
229
|
+
let d = this.state.tabbableGroups.findIndex(
|
|
230
|
+
({ firstTabbableNode: b }) => a === b
|
|
231
|
+
);
|
|
232
|
+
if (d < 0 && (r?.container === a || A(a) && !v(a) && !r?.nextTabbableNode(a, !1)) && (d = l), d >= 0) {
|
|
233
|
+
const b = d === 0 ? this.state.tabbableGroups.length - 1 : d - 1, c = this.state.tabbableGroups[b];
|
|
234
|
+
u = m(a) >= 0 ? c.lastTabbableNode : c.lastDomTabbableNode;
|
|
235
|
+
} else F(s) || (u = r?.nextTabbableNode(a, !1));
|
|
236
|
+
} else {
|
|
237
|
+
let d = this.state.tabbableGroups.findIndex(
|
|
238
|
+
({ lastTabbableNode: b }) => a === b
|
|
239
|
+
);
|
|
240
|
+
if (d < 0 && (r?.container === a || A(a) && !v(a) && !r?.nextTabbableNode(a)) && (d = l), d >= 0) {
|
|
241
|
+
const b = d === this.state.tabbableGroups.length - 1 ? 0 : d + 1, c = this.state.tabbableGroups[b];
|
|
242
|
+
u = m(a) >= 0 ? c.firstTabbableNode : c.firstDomTabbableNode;
|
|
243
|
+
} else F(s) || (u = r?.nextTabbableNode(a));
|
|
244
|
+
}
|
|
245
|
+
} else
|
|
246
|
+
u = this.getNodeForOption("fallbackFocus");
|
|
247
|
+
return u;
|
|
248
|
+
}), this.trapStack = i.trapStack || J;
|
|
249
|
+
const o = {
|
|
250
|
+
returnFocusOnDeactivate: !0,
|
|
251
|
+
escapeDeactivates: !0,
|
|
252
|
+
delayInitialFocus: !0,
|
|
253
|
+
isKeyForward(t) {
|
|
254
|
+
return F(t) && !t.shiftKey;
|
|
255
|
+
},
|
|
256
|
+
isKeyBackward(t) {
|
|
257
|
+
return F(t) && t.shiftKey;
|
|
258
|
+
},
|
|
259
|
+
...i
|
|
260
|
+
};
|
|
261
|
+
this.doc = o.document || R(Array.isArray(e) ? e[0] : e), this.config = o, this.updateContainerElements(e), this.setupMutationObserver();
|
|
262
|
+
}
|
|
263
|
+
get active() {
|
|
264
|
+
return this.state.active;
|
|
265
|
+
}
|
|
266
|
+
get paused() {
|
|
267
|
+
return this.state.paused;
|
|
268
|
+
}
|
|
269
|
+
findContainerIndex(e, i) {
|
|
270
|
+
const o = typeof i?.composedPath == "function" ? i.composedPath() : void 0;
|
|
271
|
+
return this.state.containerGroups.findIndex(
|
|
272
|
+
({ container: t, tabbableNodes: s }) => t.contains(e) || o?.includes(t) || s.find((n) => n === e)
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
updateTabbableNodes() {
|
|
276
|
+
if (this.state.containerGroups = this.state.containers.map((e) => {
|
|
277
|
+
const i = M(e), o = L(e), t = i.length > 0 ? i[0] : void 0, s = i.length > 0 ? i[i.length - 1] : void 0, n = o.find((r) => v(r)), a = o.slice().reverse().find((r) => v(r)), u = !!i.find((r) => m(r) > 0);
|
|
278
|
+
function l(r, d = !0) {
|
|
279
|
+
const b = i.indexOf(r);
|
|
280
|
+
return b < 0 ? d ? o.slice(o.indexOf(r) + 1).find((c) => v(c)) : o.slice(0, o.indexOf(r)).reverse().find((c) => v(c)) : i[b + (d ? 1 : -1)];
|
|
281
|
+
}
|
|
282
|
+
return {
|
|
283
|
+
container: e,
|
|
284
|
+
tabbableNodes: i,
|
|
285
|
+
focusableNodes: o,
|
|
286
|
+
posTabIndexesFound: u,
|
|
287
|
+
firstTabbableNode: t,
|
|
288
|
+
lastTabbableNode: s,
|
|
289
|
+
firstDomTabbableNode: n,
|
|
290
|
+
lastDomTabbableNode: a,
|
|
291
|
+
nextTabbableNode: l
|
|
292
|
+
};
|
|
293
|
+
}), this.state.tabbableGroups = this.state.containerGroups.filter((e) => e.tabbableNodes.length > 0), this.state.tabbableGroups.length <= 0 && !this.getNodeForOption("fallbackFocus"))
|
|
294
|
+
throw new Error(
|
|
295
|
+
"Your focus-trap must have at least one container with at least one tabbable node in it at all times"
|
|
296
|
+
);
|
|
297
|
+
if (this.state.containerGroups.find((e) => e.posTabIndexesFound) && this.state.containerGroups.length > 1)
|
|
298
|
+
throw new Error(
|
|
299
|
+
"At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps."
|
|
300
|
+
);
|
|
301
|
+
}
|
|
302
|
+
addListeners() {
|
|
303
|
+
if (this.state.active)
|
|
304
|
+
return G.activateTrap(this.trapStack, this), this.state.delayInitialFocusTimer = this.config.delayInitialFocus ? E(() => {
|
|
305
|
+
this.tryFocus(this.getInitialFocusNode());
|
|
306
|
+
}) : this.tryFocus(this.getInitialFocusNode()), this.listenerCleanups.push(
|
|
307
|
+
g(this.doc, "focusin", this.handleFocus, !0),
|
|
308
|
+
g(this.doc, "mousedown", this.handlePointerDown, { capture: !0, passive: !1 }),
|
|
309
|
+
g(this.doc, "touchstart", this.handlePointerDown, { capture: !0, passive: !1 }),
|
|
310
|
+
g(this.doc, "click", this.handleClick, { capture: !0, passive: !1 }),
|
|
311
|
+
g(this.doc, "keydown", this.handleTabKey, { capture: !0, passive: !1 }),
|
|
312
|
+
g(this.doc, "keydown", this.handleEscapeKey)
|
|
313
|
+
), this;
|
|
314
|
+
}
|
|
315
|
+
removeListeners() {
|
|
316
|
+
if (this.state.active)
|
|
317
|
+
return this.listenerCleanups.forEach((e) => e()), this.listenerCleanups = [], this;
|
|
318
|
+
}
|
|
319
|
+
activate(e) {
|
|
320
|
+
if (this.state.active)
|
|
321
|
+
return this;
|
|
322
|
+
const i = this.getOption(e, "onActivate"), o = this.getOption(e, "onPostActivate"), t = this.getOption(e, "checkCanFocusTrap");
|
|
323
|
+
t || this.updateTabbableNodes(), this.state.active = !0, this.state.paused = !1, this.state.nodeFocusedBeforeActivation = this.doc.activeElement || null, i?.();
|
|
324
|
+
const s = () => {
|
|
325
|
+
t && this.updateTabbableNodes(), this.addListeners(), this.updateObservedNodes(), o?.();
|
|
326
|
+
};
|
|
327
|
+
return t ? (t(this.state.containers.concat()).then(s, s), this) : (s(), this);
|
|
328
|
+
}
|
|
329
|
+
}, F = (e) => e.key === "Tab", y = (e, ...i) => typeof e == "function" ? e(...i) : e, Z = (e) => !e.isComposing && e.key === "Escape", E = (e) => setTimeout(e, 0), tt = (e) => e.localName === "input" && "select" in e && typeof e.select == "function";
|
|
330
|
+
function at(e, i = {}) {
|
|
331
|
+
let o;
|
|
332
|
+
const t = K(() => {
|
|
333
|
+
const s = typeof e == "function" ? e() : e;
|
|
334
|
+
if (s) {
|
|
335
|
+
o = new Q(s, {
|
|
336
|
+
escapeDeactivates: !1,
|
|
337
|
+
allowOutsideClick: !0,
|
|
338
|
+
preventScroll: !0,
|
|
339
|
+
returnFocusOnDeactivate: !0,
|
|
340
|
+
delayInitialFocus: !1,
|
|
341
|
+
fallbackFocus: s,
|
|
342
|
+
...i,
|
|
343
|
+
document: R(s)
|
|
344
|
+
});
|
|
345
|
+
try {
|
|
346
|
+
o.activate();
|
|
347
|
+
} catch {
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
return function() {
|
|
352
|
+
o?.deactivate(), t();
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
var C = "data-scroll-lock";
|
|
356
|
+
function et(e) {
|
|
357
|
+
const i = e.getBoundingClientRect().left;
|
|
358
|
+
return Math.round(i) + e.scrollLeft ? "paddingLeft" : "paddingRight";
|
|
359
|
+
}
|
|
360
|
+
function ot(e) {
|
|
361
|
+
const i = e ?? document, o = i.defaultView ?? window, { documentElement: t, body: s } = i;
|
|
362
|
+
if (s.hasAttribute(C)) return;
|
|
363
|
+
s.setAttribute(C, "");
|
|
364
|
+
const a = o.innerWidth - t.clientWidth, u = () => W(t, "--scrollbar-width", `${a}px`), l = et(t), r = () => P(s, {
|
|
365
|
+
overflow: "hidden",
|
|
366
|
+
[l]: `${a}px`
|
|
367
|
+
}), d = () => {
|
|
368
|
+
const { scrollX: c, scrollY: f, visualViewport: p } = o, w = p?.offsetLeft ?? 0, T = p?.offsetTop ?? 0, x = P(s, {
|
|
369
|
+
position: "fixed",
|
|
370
|
+
overflow: "hidden",
|
|
371
|
+
top: `${-(f - Math.floor(T))}px`,
|
|
372
|
+
left: `${-(c - Math.floor(w))}px`,
|
|
373
|
+
right: "0",
|
|
374
|
+
[l]: `${a}px`
|
|
375
|
+
});
|
|
376
|
+
return () => {
|
|
377
|
+
x?.(), o.scrollTo({ left: c, top: f, behavior: "instant" });
|
|
378
|
+
};
|
|
379
|
+
}, b = [u(), $() ? d() : r()];
|
|
380
|
+
return () => {
|
|
381
|
+
b.forEach((c) => c?.()), s.removeAttribute(C);
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
export {
|
|
385
|
+
it as a,
|
|
386
|
+
ot as p,
|
|
387
|
+
at as t
|
|
388
|
+
};
|
|
389
|
+
//# sourceMappingURL=index-DUHFrLMI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DUHFrLMI.js","sources":["../../node_modules/@zag-js/aria-hidden/dist/index.mjs","../../node_modules/@zag-js/focus-trap/dist/index.mjs","../../node_modules/@zag-js/remove-scroll/dist/index.mjs"],"sourcesContent":["// src/walk-tree-outside.ts\nvar counterMap = /* @__PURE__ */ new WeakMap();\nvar uncontrolledNodes = /* @__PURE__ */ new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = (node) => node && (node.host || unwrapHost(node.parentNode));\nvar correctTargets = (parent, targets) => targets.map((target) => {\n if (parent.contains(target)) return target;\n const correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error(\"[zag-js > ariaHidden] target\", target, \"in not contained inside\", parent, \". Doing nothing\");\n return null;\n}).filter((x) => Boolean(x));\nvar isIgnoredNode = (node) => {\n if (node.localName === \"next-route-announcer\") return true;\n if (node.localName === \"script\") return true;\n if (node.hasAttribute(\"aria-live\")) return true;\n return node.matches(\"[data-live-announcer]\");\n};\nvar walkTreeOutside = (originalTarget, props) => {\n const { parentNode, markerName, controlAttribute} = props;\n const targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n markerMap[markerName] || (markerMap[markerName] = /* @__PURE__ */ new WeakMap());\n const markerCounter = markerMap[markerName];\n const hiddenNodes = [];\n const elementsToKeep = /* @__PURE__ */ new Set();\n const elementsToStop = new Set(targets);\n const keep = (el) => {\n if (!el || elementsToKeep.has(el)) return;\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n const deep = (parent) => {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, (node) => {\n if (elementsToKeep.has(node)) {\n deep(node);\n } else {\n try {\n if (isIgnoredNode(node)) return;\n const attr = node.getAttribute(controlAttribute);\n const alreadyHidden = attr === \"true\" ;\n const counterValue = (counterMap.get(node) || 0) + 1;\n const markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, \"\");\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, \"true\" );\n }\n } catch (e) {\n console.error(\"[zag-js > ariaHidden] cannot operate on \", node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return () => {\n hiddenNodes.forEach((node) => {\n const counterValue = counterMap.get(node) - 1;\n const markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n counterMap = /* @__PURE__ */ new WeakMap();\n counterMap = /* @__PURE__ */ new WeakMap();\n uncontrolledNodes = /* @__PURE__ */ new WeakMap();\n markerMap = {};\n }\n };\n};\n\n// src/aria-hidden.ts\nvar getParentNode = (originalTarget) => {\n const target = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return target.ownerDocument.body;\n};\nvar hideOthers = (originalTarget, parentNode = getParentNode(originalTarget), markerName = \"data-aria-hidden\") => {\n if (!parentNode) return;\n return walkTreeOutside(originalTarget, {\n parentNode,\n markerName,\n controlAttribute: \"aria-hidden\"});\n};\n\n// src/index.ts\nvar raf = (fn) => {\n const frameId = requestAnimationFrame(() => fn());\n return () => cancelAnimationFrame(frameId);\n};\nfunction ariaHidden(targetsOrFn, options = {}) {\n const { defer = true } = options;\n const func = defer ? raf : (v) => v();\n const cleanups = [];\n cleanups.push(\n func(() => {\n const targets = typeof targetsOrFn === \"function\" ? targetsOrFn() : targetsOrFn;\n const elements = targets.filter(Boolean);\n if (elements.length === 0) return;\n cleanups.push(hideOthers(elements));\n })\n );\n return () => {\n cleanups.forEach((fn) => fn?.());\n };\n}\n\nexport { ariaHidden };\n","import { getDocument, getTabbables, getFocusables, isTabbable, getTabIndex, addDomEvent, raf, getEventTarget, isDocument, isFocusable, getActiveElement } from '@zag-js/dom-query';\n\nvar __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\nvar activeFocusTraps = {\n activateTrap(trapStack, trap) {\n if (trapStack.length > 0) {\n const activeTrap = trapStack[trapStack.length - 1];\n if (activeTrap !== trap) {\n activeTrap.pause();\n }\n }\n const trapIndex = trapStack.indexOf(trap);\n if (trapIndex === -1) {\n trapStack.push(trap);\n } else {\n trapStack.splice(trapIndex, 1);\n trapStack.push(trap);\n }\n },\n deactivateTrap(trapStack, trap) {\n const trapIndex = trapStack.indexOf(trap);\n if (trapIndex !== -1) {\n trapStack.splice(trapIndex, 1);\n }\n if (trapStack.length > 0) {\n trapStack[trapStack.length - 1].unpause();\n }\n }\n};\nvar sharedTrapStack = [];\nvar FocusTrap = class {\n constructor(elements, options) {\n __publicField(this, \"trapStack\");\n __publicField(this, \"config\");\n __publicField(this, \"doc\");\n __publicField(this, \"state\", {\n containers: [],\n containerGroups: [],\n tabbableGroups: [],\n nodeFocusedBeforeActivation: null,\n mostRecentlyFocusedNode: null,\n active: false,\n paused: false,\n delayInitialFocusTimer: void 0,\n recentNavEvent: void 0\n });\n __publicField(this, \"listenerCleanups\", []);\n __publicField(this, \"handleFocus\", (event) => {\n const target = getEventTarget(event);\n const targetContained = this.findContainerIndex(target, event) >= 0;\n if (targetContained || isDocument(target)) {\n if (targetContained) {\n this.state.mostRecentlyFocusedNode = target;\n }\n } else {\n event.stopImmediatePropagation();\n let nextNode;\n let navAcrossContainers = true;\n if (this.state.mostRecentlyFocusedNode) {\n if (getTabIndex(this.state.mostRecentlyFocusedNode) > 0) {\n const mruContainerIdx = this.findContainerIndex(this.state.mostRecentlyFocusedNode);\n const { tabbableNodes } = this.state.containerGroups[mruContainerIdx];\n if (tabbableNodes.length > 0) {\n const mruTabIdx = tabbableNodes.findIndex((node) => node === this.state.mostRecentlyFocusedNode);\n if (mruTabIdx >= 0) {\n if (this.config.isKeyForward(this.state.recentNavEvent)) {\n if (mruTabIdx + 1 < tabbableNodes.length) {\n nextNode = tabbableNodes[mruTabIdx + 1];\n navAcrossContainers = false;\n }\n } else {\n if (mruTabIdx - 1 >= 0) {\n nextNode = tabbableNodes[mruTabIdx - 1];\n navAcrossContainers = false;\n }\n }\n }\n }\n } else {\n if (!this.state.containerGroups.some((g) => g.tabbableNodes.some((n) => getTabIndex(n) > 0))) {\n navAcrossContainers = false;\n }\n }\n } else {\n navAcrossContainers = false;\n }\n if (navAcrossContainers) {\n nextNode = this.findNextNavNode({\n // move FROM the MRU node, not event-related node (which will be the node that is\n // outside the trap causing the focus escape we're trying to fix)\n target: this.state.mostRecentlyFocusedNode,\n isBackward: this.config.isKeyBackward(this.state.recentNavEvent)\n });\n }\n if (nextNode) {\n this.tryFocus(nextNode);\n } else {\n this.tryFocus(this.state.mostRecentlyFocusedNode || this.getInitialFocusNode());\n }\n }\n this.state.recentNavEvent = void 0;\n });\n __publicField(this, \"handlePointerDown\", (event) => {\n const target = getEventTarget(event);\n if (this.findContainerIndex(target, event) >= 0) {\n return;\n }\n if (valueOrHandler(this.config.clickOutsideDeactivates, event)) {\n this.deactivate({ returnFocus: this.config.returnFocusOnDeactivate });\n return;\n }\n if (valueOrHandler(this.config.allowOutsideClick, event)) {\n return;\n }\n event.preventDefault();\n });\n __publicField(this, \"handleClick\", (event) => {\n const target = getEventTarget(event);\n if (this.findContainerIndex(target, event) >= 0) {\n return;\n }\n if (valueOrHandler(this.config.clickOutsideDeactivates, event)) {\n return;\n }\n if (valueOrHandler(this.config.allowOutsideClick, event)) {\n return;\n }\n event.preventDefault();\n event.stopImmediatePropagation();\n });\n __publicField(this, \"handleTabKey\", (event) => {\n if (this.config.isKeyForward(event) || this.config.isKeyBackward(event)) {\n this.state.recentNavEvent = event;\n const isBackward = this.config.isKeyBackward(event);\n const destinationNode = this.findNextNavNode({ event, isBackward });\n if (!destinationNode) return;\n if (isTabEvent(event)) {\n event.preventDefault();\n }\n this.tryFocus(destinationNode);\n }\n });\n __publicField(this, \"handleEscapeKey\", (event) => {\n if (isEscapeEvent(event) && valueOrHandler(this.config.escapeDeactivates, event) !== false) {\n event.preventDefault();\n this.deactivate();\n }\n });\n __publicField(this, \"_mutationObserver\");\n __publicField(this, \"setupMutationObserver\", () => {\n const win = this.doc.defaultView || window;\n this._mutationObserver = new win.MutationObserver((mutations) => {\n const isFocusedNodeRemoved = mutations.some((mutation) => {\n const removedNodes = Array.from(mutation.removedNodes);\n return removedNodes.some((node) => node === this.state.mostRecentlyFocusedNode);\n });\n if (isFocusedNodeRemoved) {\n this.tryFocus(this.getInitialFocusNode());\n }\n });\n });\n __publicField(this, \"updateObservedNodes\", () => {\n this._mutationObserver?.disconnect();\n if (this.state.active && !this.state.paused) {\n this.state.containers.map((container) => {\n this._mutationObserver?.observe(container, { subtree: true, childList: true });\n });\n }\n });\n __publicField(this, \"getInitialFocusNode\", () => {\n let node = this.getNodeForOption(\"initialFocus\", { hasFallback: true });\n if (node === false) {\n return false;\n }\n if (node === void 0 || node && !isFocusable(node)) {\n if (this.findContainerIndex(this.doc.activeElement) >= 0) {\n node = this.doc.activeElement;\n } else {\n const firstTabbableGroup = this.state.tabbableGroups[0];\n const firstTabbableNode = firstTabbableGroup && firstTabbableGroup.firstTabbableNode;\n node = firstTabbableNode || this.getNodeForOption(\"fallbackFocus\");\n }\n } else if (node === null) {\n node = this.getNodeForOption(\"fallbackFocus\");\n }\n if (!node) {\n throw new Error(\"Your focus-trap needs to have at least one focusable element\");\n }\n if (!node.isConnected) {\n node = this.getNodeForOption(\"fallbackFocus\");\n }\n return node;\n });\n __publicField(this, \"tryFocus\", (node) => {\n if (node === false) return;\n if (node === getActiveElement(this.doc)) return;\n if (!node || !node.focus) {\n this.tryFocus(this.getInitialFocusNode());\n return;\n }\n node.focus({ preventScroll: !!this.config.preventScroll });\n this.state.mostRecentlyFocusedNode = node;\n if (isSelectableInput(node)) {\n node.select();\n }\n });\n __publicField(this, \"deactivate\", (deactivateOptions) => {\n if (!this.state.active) return this;\n const options = {\n onDeactivate: this.config.onDeactivate,\n onPostDeactivate: this.config.onPostDeactivate,\n checkCanReturnFocus: this.config.checkCanReturnFocus,\n ...deactivateOptions\n };\n clearTimeout(this.state.delayInitialFocusTimer);\n this.state.delayInitialFocusTimer = void 0;\n this.removeListeners();\n this.state.active = false;\n this.state.paused = false;\n this.updateObservedNodes();\n activeFocusTraps.deactivateTrap(this.trapStack, this);\n const onDeactivate = this.getOption(options, \"onDeactivate\");\n const onPostDeactivate = this.getOption(options, \"onPostDeactivate\");\n const checkCanReturnFocus = this.getOption(options, \"checkCanReturnFocus\");\n const returnFocus = this.getOption(options, \"returnFocus\", \"returnFocusOnDeactivate\");\n onDeactivate?.();\n const finishDeactivation = () => {\n delay(() => {\n if (returnFocus) {\n const returnFocusNode = this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);\n this.tryFocus(returnFocusNode);\n }\n onPostDeactivate?.();\n });\n };\n if (returnFocus && checkCanReturnFocus) {\n const returnFocusNode = this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);\n checkCanReturnFocus(returnFocusNode).then(finishDeactivation, finishDeactivation);\n return this;\n }\n finishDeactivation();\n return this;\n });\n __publicField(this, \"pause\", (pauseOptions) => {\n if (this.state.paused || !this.state.active) {\n return this;\n }\n const onPause = this.getOption(pauseOptions, \"onPause\");\n const onPostPause = this.getOption(pauseOptions, \"onPostPause\");\n this.state.paused = true;\n onPause?.();\n this.removeListeners();\n this.updateObservedNodes();\n onPostPause?.();\n return this;\n });\n __publicField(this, \"unpause\", (unpauseOptions) => {\n if (!this.state.paused || !this.state.active) {\n return this;\n }\n const onUnpause = this.getOption(unpauseOptions, \"onUnpause\");\n const onPostUnpause = this.getOption(unpauseOptions, \"onPostUnpause\");\n this.state.paused = false;\n onUnpause?.();\n this.updateTabbableNodes();\n this.addListeners();\n this.updateObservedNodes();\n onPostUnpause?.();\n return this;\n });\n __publicField(this, \"updateContainerElements\", (containerElements) => {\n this.state.containers = Array.isArray(containerElements) ? containerElements.filter(Boolean) : [containerElements].filter(Boolean);\n if (this.state.active) {\n this.updateTabbableNodes();\n }\n this.updateObservedNodes();\n return this;\n });\n __publicField(this, \"getReturnFocusNode\", (previousActiveElement) => {\n const node = this.getNodeForOption(\"setReturnFocus\", {\n params: [previousActiveElement]\n });\n return node ? node : node === false ? false : previousActiveElement;\n });\n __publicField(this, \"getOption\", (configOverrideOptions, optionName, configOptionName) => {\n return configOverrideOptions && configOverrideOptions[optionName] !== void 0 ? configOverrideOptions[optionName] : (\n // @ts-expect-error\n this.config[configOptionName || optionName]\n );\n });\n __publicField(this, \"getNodeForOption\", (optionName, { hasFallback = false, params = [] } = {}) => {\n let optionValue = this.config[optionName];\n if (typeof optionValue === \"function\") optionValue = optionValue(...params);\n if (optionValue === true) optionValue = void 0;\n if (!optionValue) {\n if (optionValue === void 0 || optionValue === false) {\n return optionValue;\n }\n throw new Error(`\\`${optionName}\\` was specified but was not a node, or did not return a node`);\n }\n let node = optionValue;\n if (typeof optionValue === \"string\") {\n try {\n node = this.doc.querySelector(optionValue);\n } catch (err) {\n throw new Error(`\\`${optionName}\\` appears to be an invalid selector; error=\"${err.message}\"`);\n }\n if (!node) {\n if (!hasFallback) {\n throw new Error(`\\`${optionName}\\` as selector refers to no known node`);\n }\n }\n }\n return node;\n });\n __publicField(this, \"findNextNavNode\", (opts) => {\n const { event, isBackward = false } = opts;\n const target = opts.target || getEventTarget(event);\n this.updateTabbableNodes();\n let destinationNode = null;\n if (this.state.tabbableGroups.length > 0) {\n const containerIndex = this.findContainerIndex(target, event);\n const containerGroup = containerIndex >= 0 ? this.state.containerGroups[containerIndex] : void 0;\n if (containerIndex < 0) {\n if (isBackward) {\n destinationNode = this.state.tabbableGroups[this.state.tabbableGroups.length - 1].lastTabbableNode;\n } else {\n destinationNode = this.state.tabbableGroups[0].firstTabbableNode;\n }\n } else if (isBackward) {\n let startOfGroupIndex = this.state.tabbableGroups.findIndex(\n ({ firstTabbableNode }) => target === firstTabbableNode\n );\n if (startOfGroupIndex < 0 && (containerGroup?.container === target || isFocusable(target) && !isTabbable(target) && !containerGroup?.nextTabbableNode(target, false))) {\n startOfGroupIndex = containerIndex;\n }\n if (startOfGroupIndex >= 0) {\n const destinationGroupIndex = startOfGroupIndex === 0 ? this.state.tabbableGroups.length - 1 : startOfGroupIndex - 1;\n const destinationGroup = this.state.tabbableGroups[destinationGroupIndex];\n destinationNode = getTabIndex(target) >= 0 ? destinationGroup.lastTabbableNode : destinationGroup.lastDomTabbableNode;\n } else if (!isTabEvent(event)) {\n destinationNode = containerGroup?.nextTabbableNode(target, false);\n }\n } else {\n let lastOfGroupIndex = this.state.tabbableGroups.findIndex(\n ({ lastTabbableNode }) => target === lastTabbableNode\n );\n if (lastOfGroupIndex < 0 && (containerGroup?.container === target || isFocusable(target) && !isTabbable(target) && !containerGroup?.nextTabbableNode(target))) {\n lastOfGroupIndex = containerIndex;\n }\n if (lastOfGroupIndex >= 0) {\n const destinationGroupIndex = lastOfGroupIndex === this.state.tabbableGroups.length - 1 ? 0 : lastOfGroupIndex + 1;\n const destinationGroup = this.state.tabbableGroups[destinationGroupIndex];\n destinationNode = getTabIndex(target) >= 0 ? destinationGroup.firstTabbableNode : destinationGroup.firstDomTabbableNode;\n } else if (!isTabEvent(event)) {\n destinationNode = containerGroup?.nextTabbableNode(target);\n }\n }\n } else {\n destinationNode = this.getNodeForOption(\"fallbackFocus\");\n }\n return destinationNode;\n });\n this.trapStack = options.trapStack || sharedTrapStack;\n const config = {\n returnFocusOnDeactivate: true,\n escapeDeactivates: true,\n delayInitialFocus: true,\n isKeyForward(e) {\n return isTabEvent(e) && !e.shiftKey;\n },\n isKeyBackward(e) {\n return isTabEvent(e) && e.shiftKey;\n },\n ...options\n };\n this.doc = config.document || getDocument(Array.isArray(elements) ? elements[0] : elements);\n this.config = config;\n this.updateContainerElements(elements);\n this.setupMutationObserver();\n }\n get active() {\n return this.state.active;\n }\n get paused() {\n return this.state.paused;\n }\n findContainerIndex(element, event) {\n const composedPath = typeof event?.composedPath === \"function\" ? event.composedPath() : void 0;\n return this.state.containerGroups.findIndex(\n ({ container, tabbableNodes }) => container.contains(element) || composedPath?.includes(container) || tabbableNodes.find((node) => node === element)\n );\n }\n updateTabbableNodes() {\n this.state.containerGroups = this.state.containers.map((container) => {\n const tabbableNodes = getTabbables(container);\n const focusableNodes = getFocusables(container);\n const firstTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[0] : void 0;\n const lastTabbableNode = tabbableNodes.length > 0 ? tabbableNodes[tabbableNodes.length - 1] : void 0;\n const firstDomTabbableNode = focusableNodes.find((node) => isTabbable(node));\n const lastDomTabbableNode = focusableNodes.slice().reverse().find((node) => isTabbable(node));\n const posTabIndexesFound = !!tabbableNodes.find((node) => getTabIndex(node) > 0);\n function nextTabbableNode(node, forward = true) {\n const nodeIdx = tabbableNodes.indexOf(node);\n if (nodeIdx < 0) {\n if (forward) {\n return focusableNodes.slice(focusableNodes.indexOf(node) + 1).find((el) => isTabbable(el));\n }\n return focusableNodes.slice(0, focusableNodes.indexOf(node)).reverse().find((el) => isTabbable(el));\n }\n return tabbableNodes[nodeIdx + (forward ? 1 : -1)];\n }\n return {\n container,\n tabbableNodes,\n focusableNodes,\n posTabIndexesFound,\n firstTabbableNode,\n lastTabbableNode,\n firstDomTabbableNode,\n lastDomTabbableNode,\n nextTabbableNode\n };\n });\n this.state.tabbableGroups = this.state.containerGroups.filter((group) => group.tabbableNodes.length > 0);\n if (this.state.tabbableGroups.length <= 0 && !this.getNodeForOption(\"fallbackFocus\")) {\n throw new Error(\n \"Your focus-trap must have at least one container with at least one tabbable node in it at all times\"\n );\n }\n if (this.state.containerGroups.find((g) => g.posTabIndexesFound) && this.state.containerGroups.length > 1) {\n throw new Error(\n \"At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.\"\n );\n }\n }\n addListeners() {\n if (!this.state.active) return;\n activeFocusTraps.activateTrap(this.trapStack, this);\n this.state.delayInitialFocusTimer = this.config.delayInitialFocus ? delay(() => {\n this.tryFocus(this.getInitialFocusNode());\n }) : this.tryFocus(this.getInitialFocusNode());\n this.listenerCleanups.push(\n addDomEvent(this.doc, \"focusin\", this.handleFocus, true),\n addDomEvent(this.doc, \"mousedown\", this.handlePointerDown, { capture: true, passive: false }),\n addDomEvent(this.doc, \"touchstart\", this.handlePointerDown, { capture: true, passive: false }),\n addDomEvent(this.doc, \"click\", this.handleClick, { capture: true, passive: false }),\n addDomEvent(this.doc, \"keydown\", this.handleTabKey, { capture: true, passive: false }),\n addDomEvent(this.doc, \"keydown\", this.handleEscapeKey)\n );\n return this;\n }\n removeListeners() {\n if (!this.state.active) return;\n this.listenerCleanups.forEach((cleanup) => cleanup());\n this.listenerCleanups = [];\n return this;\n }\n activate(activateOptions) {\n if (this.state.active) {\n return this;\n }\n const onActivate = this.getOption(activateOptions, \"onActivate\");\n const onPostActivate = this.getOption(activateOptions, \"onPostActivate\");\n const checkCanFocusTrap = this.getOption(activateOptions, \"checkCanFocusTrap\");\n if (!checkCanFocusTrap) {\n this.updateTabbableNodes();\n }\n this.state.active = true;\n this.state.paused = false;\n this.state.nodeFocusedBeforeActivation = this.doc.activeElement || null;\n onActivate?.();\n const finishActivation = () => {\n if (checkCanFocusTrap) {\n this.updateTabbableNodes();\n }\n this.addListeners();\n this.updateObservedNodes();\n onPostActivate?.();\n };\n if (checkCanFocusTrap) {\n checkCanFocusTrap(this.state.containers.concat()).then(finishActivation, finishActivation);\n return this;\n }\n finishActivation();\n return this;\n }\n};\nvar isTabEvent = (event) => event.key === \"Tab\";\nvar valueOrHandler = (value, ...params) => typeof value === \"function\" ? value(...params) : value;\nvar isEscapeEvent = (event) => !event.isComposing && event.key === \"Escape\";\nvar delay = (fn) => setTimeout(fn, 0);\nvar isSelectableInput = (node) => node.localName === \"input\" && \"select\" in node && typeof node.select === \"function\";\n\n// src/index.ts\nfunction trapFocus(el, options = {}) {\n let trap;\n const cleanup = raf(() => {\n const contentEl = typeof el === \"function\" ? el() : el;\n if (!contentEl) return;\n trap = new FocusTrap(contentEl, {\n escapeDeactivates: false,\n allowOutsideClick: true,\n preventScroll: true,\n returnFocusOnDeactivate: true,\n delayInitialFocus: false,\n fallbackFocus: contentEl,\n ...options,\n document: getDocument(contentEl)\n });\n try {\n trap.activate();\n } catch {\n }\n });\n return function destroy() {\n trap?.deactivate();\n cleanup();\n };\n}\n\nexport { FocusTrap, trapFocus };\n","import { setStyleProperty, setStyle, isIos } from '@zag-js/dom-query';\n\n// src/index.ts\nvar LOCK_CLASSNAME = \"data-scroll-lock\";\nfunction getPaddingProperty(documentElement) {\n const documentLeft = documentElement.getBoundingClientRect().left;\n const scrollbarX = Math.round(documentLeft) + documentElement.scrollLeft;\n return scrollbarX ? \"paddingLeft\" : \"paddingRight\";\n}\nfunction preventBodyScroll(_document) {\n const doc = _document ?? document;\n const win = doc.defaultView ?? window;\n const { documentElement, body } = doc;\n const locked = body.hasAttribute(LOCK_CLASSNAME);\n if (locked) return;\n body.setAttribute(LOCK_CLASSNAME, \"\");\n const scrollbarWidth = win.innerWidth - documentElement.clientWidth;\n const setScrollbarWidthProperty = () => setStyleProperty(documentElement, \"--scrollbar-width\", `${scrollbarWidth}px`);\n const paddingProperty = getPaddingProperty(documentElement);\n const setBodyStyle = () => setStyle(body, {\n overflow: \"hidden\",\n [paddingProperty]: `${scrollbarWidth}px`\n });\n const setBodyStyleIOS = () => {\n const { scrollX, scrollY, visualViewport } = win;\n const offsetLeft = visualViewport?.offsetLeft ?? 0;\n const offsetTop = visualViewport?.offsetTop ?? 0;\n const restoreStyle = setStyle(body, {\n position: \"fixed\",\n overflow: \"hidden\",\n top: `${-(scrollY - Math.floor(offsetTop))}px`,\n left: `${-(scrollX - Math.floor(offsetLeft))}px`,\n right: \"0\",\n [paddingProperty]: `${scrollbarWidth}px`\n });\n return () => {\n restoreStyle?.();\n win.scrollTo({ left: scrollX, top: scrollY, behavior: \"instant\" });\n };\n };\n const cleanups = [setScrollbarWidthProperty(), isIos() ? setBodyStyleIOS() : setBodyStyle()];\n return () => {\n cleanups.forEach((fn) => fn?.());\n body.removeAttribute(LOCK_CLASSNAME);\n };\n}\n\nexport { preventBodyScroll };\n"],"names":["counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","isIgnoredNode","walkTreeOutside","originalTarget","props","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","alreadyHidden","counterValue","markerValue","e","getParentNode","hideOthers","raf","fn","frameId","ariaHidden","targetsOrFn","options","defer","func","v","cleanups","elements","__defProp","__defNormalProp","obj","key","value","__publicField","activeFocusTraps","trapStack","trap","activeTrap","trapIndex","sharedTrapStack","FocusTrap","event","getEventTarget","targetContained","isDocument","nextNode","navAcrossContainers","getTabIndex","mruContainerIdx","tabbableNodes","mruTabIdx","g","n","valueOrHandler","isBackward","destinationNode","isTabEvent","isEscapeEvent","win","mutations","mutation","container","isFocusable","firstTabbableGroup","getActiveElement","isSelectableInput","deactivateOptions","onDeactivate","onPostDeactivate","checkCanReturnFocus","returnFocus","finishDeactivation","delay","returnFocusNode","pauseOptions","onPause","onPostPause","unpauseOptions","onUnpause","onPostUnpause","containerElements","previousActiveElement","configOverrideOptions","optionName","configOptionName","hasFallback","params","optionValue","err","opts","containerIndex","containerGroup","startOfGroupIndex","firstTabbableNode","isTabbable","destinationGroupIndex","destinationGroup","lastOfGroupIndex","lastTabbableNode","config","getDocument","element","composedPath","getTabbables","focusableNodes","getFocusables","firstDomTabbableNode","lastDomTabbableNode","posTabIndexesFound","nextTabbableNode","forward","nodeIdx","group","addDomEvent","cleanup","activateOptions","onActivate","onPostActivate","checkCanFocusTrap","finishActivation","trapFocus","contentEl","LOCK_CLASSNAME","getPaddingProperty","documentElement","documentLeft","preventBodyScroll","_document","doc","body","scrollbarWidth","setScrollbarWidthProperty","setStyleProperty","paddingProperty","setBodyStyle","setStyle","setBodyStyleIOS","scrollX","scrollY","visualViewport","offsetLeft","offsetTop","restoreStyle","isIos"],"mappings":";AACA,IAAIA,IAA6B,oBAAI,QAAS,GAC1CC,IAAoC,oBAAI,QAAS,GACjDC,IAAY,CAAE,GACdC,IAA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