@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,2 @@
|
|
|
1
|
+
"use strict";const i=require("./jsx-runtime-BjDatQAs.js"),c=require("react"),y=require("./withFormControl-_nV7mlmV.js"),w=require("./attr-BMs6szZx.js"),E=require("./create-slot-recipe-context-IwVIgtBt.js"),m=require("./factory-D6tdBUPG.js"),n=require("./use-locale-context-BdqHZ8L8.js"),f=require("./use-field-context--wBJQY1R.js"),l=require("./index-CZ42b9rT.js"),x=require("./index-CzrXl0uD.js"),q=t=>t&&t.__esModule?t:{default:t},N=q(c),[R,u]=n.createContext({name:"SwitchContext",hookName:"useSwitchContext",providerName:"<SwitchProvider />"}),S=c.forwardRef((t,e)=>{const r=u(),s=l.mergeProps(r.getControlProps(),t);return i.jsxRuntimeExports.jsx(n.ark.span,{...s,ref:e})});S.displayName="SwitchControl";const j=c.forwardRef((t,e)=>{const r=u(),s=l.mergeProps(r.getHiddenInputProps(),t),o=f.useFieldContext();return i.jsxRuntimeExports.jsx(n.ark.input,{"aria-describedby":o?.ariaDescribedby,...s,ref:e})});j.displayName="SwitchHiddenInput";const C=c.forwardRef((t,e)=>{const r=u(),s=l.mergeProps(r.getLabelProps(),t);return i.jsxRuntimeExports.jsx(n.ark.span,{...s,ref:e})});C.displayName="SwitchLabel";const I=t=>{const e=c.useId(),{getRootNode:r}=n.useEnvironmentContext(),{dir:s}=n.useLocaleContext(),o=f.useFieldContext(),a={id:e,ids:{label:o?.ids.label,hiddenInput:o?.ids.control},dir:s,disabled:o?.disabled,readOnly:o?.readOnly,invalid:o?.invalid,required:o?.required,getRootNode:r,...t},d=n.useMachine(x.machine,a);return x.connect(d,n.normalizeProps)},b=c.forwardRef((t,e)=>{const[r,s]=n.createSplitProps()(t,["checked","defaultChecked","disabled","form","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]),o=I(r),a=l.mergeProps(o.getRootProps(),s);return i.jsxRuntimeExports.jsx(R,{value:o,children:i.jsxRuntimeExports.jsx(n.ark.label,{...a,ref:e})})});b.displayName="SwitchRoot";const P=c.forwardRef((t,e)=>{const[{value:r},s]=n.createSplitProps()(t,["value"]),o=l.mergeProps(r.getRootProps(),s);return i.jsxRuntimeExports.jsx(R,{value:r,children:i.jsxRuntimeExports.jsx(n.ark.label,{...o,ref:e})})});P.displayName="SwitchRootProvider";const k=c.forwardRef((t,e)=>{const r=u(),s=l.mergeProps(r.getThumbProps(),t);return i.jsxRuntimeExports.jsx(n.ark.span,{...s,ref:e})});k.displayName="SwitchThumb";const{withProvider:g,withContext:p,useStyles:_}=E.createSlotRecipeContext({key:"switch"});g(P,"root",{forwardAsChild:!0});const A=g(b,"root",{forwardAsChild:!0}),L=p(C,"label",{forwardAsChild:!0}),$=p(k,"thumb",{forwardAsChild:!0}),F=p(S,"control",{forwardAsChild:!0,defaultProps:{children:i.jsxRuntimeExports.jsx($,{})}});c.forwardRef(function(e,r){const s=u(),o=_(),{fallback:a,children:d,...h}=e;return i.jsxRuntimeExports.jsx(m.chakra.span,{ref:r,"data-checked":w.dataAttr(s.checked),...h,css:[o.indicator,e.css],children:s.checked?d:a})});c.forwardRef(function(e,r){const s=u(),{fallback:o,children:a,...d}=e;return i.jsxRuntimeExports.jsx(m.chakra.span,{ref:r,"data-checked":w.dataAttr(s.checked),...d,children:s.checked?a:o})});const T=j,H=y.withFormControl(({children:t,indeterminate:e=!1,onContrast:r,label:s,size:o="md",switchRef:a,...d})=>{const h=c.useMemo(()=>e?r?"indeterminateOnContrast":"indeterminate":r?"onContrast":"default",[e,r]);return i.jsxRuntimeExports.jsxs(A,{className:"Switch","data-testid":"kibble-switch",ref:a,size:o,variant:h,...d,children:[i.jsxRuntimeExports.jsx(T,{className:"Switch_Input","data-testid":"kibble-switch-input"}),i.jsxRuntimeExports.jsx(F,{className:"Switch_Control","data-testid":"kibble-switch-control"}),!!t&&i.jsxRuntimeExports.jsx(L,{children:t})]})}),v=N.default.forwardRef((t,e)=>i.jsxRuntimeExports.jsx(H,{switchRef:e,...t}));v.displayName="Switch";exports.WrappedSwitch=v;
|
|
2
|
+
//# sourceMappingURL=switch.component-D5kgSKKx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.component-D5kgSKKx.js","sources":["../../node_modules/@ark-ui/react/dist/components/switch/use-switch-context.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-control.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-label.js","../../node_modules/@ark-ui/react/dist/components/switch/use-switch.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-root.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-root-provider.js","../../node_modules/@ark-ui/react/dist/components/switch/switch-thumb.js","../../node_modules/@chakra-ui/react/dist/esm/components/switch/switch.js","../../src/components/Switch/switch.component.tsx"],"sourcesContent":["'use client';\nimport { createContext } from '../../utils/create-context.js';\n\nconst [SwitchProvider, useSwitchContext] = createContext({\n name: \"SwitchContext\",\n hookName: \"useSwitchContext\",\n providerName: \"<SwitchProvider />\"\n});\n\nexport { SwitchProvider, useSwitchContext };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchControl = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getControlProps(), props);\n return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ref });\n});\nSwitchControl.displayName = \"SwitchControl\";\n\nexport { SwitchControl };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useFieldContext } from '../field/use-field-context.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchHiddenInput = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getHiddenInputProps(), props);\n const field = useFieldContext();\n return /* @__PURE__ */ jsx(ark.input, { \"aria-describedby\": field?.ariaDescribedby, ...mergedProps, ref });\n});\nSwitchHiddenInput.displayName = \"SwitchHiddenInput\";\n\nexport { SwitchHiddenInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchLabel = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getLabelProps(), props);\n return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ref });\n});\nSwitchLabel.displayName = \"SwitchLabel\";\n\nexport { SwitchLabel };\n","'use client';\nimport { useMachine, normalizeProps } from '@zag-js/react';\nimport * as zagSwitch from '@zag-js/switch';\nimport { useId } from 'react';\nimport { useEnvironmentContext } from '../../providers/environment/use-environment-context.js';\nimport { useLocaleContext } from '../../providers/locale/use-locale-context.js';\nimport { useFieldContext } from '../field/use-field-context.js';\n\nconst useSwitch = (props) => {\n const id = useId();\n const { getRootNode } = useEnvironmentContext();\n const { dir } = useLocaleContext();\n const field = useFieldContext();\n const machineProps = {\n id,\n ids: {\n label: field?.ids.label,\n hiddenInput: field?.ids.control\n },\n dir,\n disabled: field?.disabled,\n readOnly: field?.readOnly,\n invalid: field?.invalid,\n required: field?.required,\n getRootNode,\n ...props\n };\n const service = useMachine(zagSwitch.machine, machineProps);\n return zagSwitch.connect(service, normalizeProps);\n};\n\nexport { useSwitch };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { useSwitch } from './use-switch.js';\nimport { SwitchProvider } from './use-switch-context.js';\n\nconst SwitchRoot = forwardRef((props, ref) => {\n const [switchProps, localProps] = createSplitProps()(props, [\n \"checked\",\n \"defaultChecked\",\n \"disabled\",\n \"form\",\n \"id\",\n \"ids\",\n \"invalid\",\n \"label\",\n \"name\",\n \"onCheckedChange\",\n \"readOnly\",\n \"required\",\n \"value\"\n ]);\n const switchContext = useSwitch(switchProps);\n const mergedProps = mergeProps(switchContext.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(SwitchProvider, { value: switchContext, children: /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref }) });\n});\nSwitchRoot.displayName = \"SwitchRoot\";\n\nexport { SwitchRoot };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { SwitchProvider } from './use-switch-context.js';\n\nconst SwitchRootProvider = forwardRef((props, ref) => {\n const [{ value: api }, localProps] = createSplitProps()(props, [\"value\"]);\n const mergedProps = mergeProps(api.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(SwitchProvider, { value: api, children: /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref }) });\n});\nSwitchRootProvider.displayName = \"SwitchRootProvider\";\n\nexport { SwitchRootProvider };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useSwitchContext } from './use-switch-context.js';\n\nconst SwitchThumb = forwardRef((props, ref) => {\n const switchContext = useSwitchContext();\n const mergedProps = mergeProps(switchContext.getThumbProps(), props);\n return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ref });\n});\nSwitchThumb.displayName = \"SwitchThumb\";\n\nexport { SwitchThumb };\n","\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { Switch, useSwitchContext } from '@ark-ui/react/switch';\nimport { forwardRef } from 'react';\nimport { dataAttr } from '../../utils/attr.js';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst {\n withProvider,\n withContext,\n useStyles: useSwitchStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"switch\" });\nconst SwitchRootProvider = withProvider(Switch.RootProvider, \"root\", { forwardAsChild: true });\nconst SwitchRoot = withProvider(\n Switch.Root,\n \"root\",\n { forwardAsChild: true }\n);\nconst SwitchPropsProvider = PropsProvider;\nconst SwitchLabel = withContext(\n Switch.Label,\n \"label\",\n { forwardAsChild: true }\n);\nconst SwitchThumb = withContext(\n Switch.Thumb,\n \"thumb\",\n { forwardAsChild: true }\n);\nconst SwitchControl = withContext(\n Switch.Control,\n \"control\",\n {\n forwardAsChild: true,\n defaultProps: { children: /* @__PURE__ */ jsx(SwitchThumb, {}) }\n }\n);\nconst SwitchIndicator = forwardRef(function SwitchIndicator2(props, ref) {\n const api = useSwitchContext();\n const styles = useSwitchStyles();\n const { fallback, children, ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.span,\n {\n ref,\n \"data-checked\": dataAttr(api.checked),\n ...rest,\n css: [styles.indicator, props.css],\n children: api.checked ? children : fallback\n }\n );\n});\nconst SwitchThumbIndicator = forwardRef(function SwitchThumbIndicator2(props, ref) {\n const api = useSwitchContext();\n const { fallback, children, ...rest } = props;\n return /* @__PURE__ */ jsx(chakra.span, { ref, \"data-checked\": dataAttr(api.checked), ...rest, children: api.checked ? children : fallback });\n});\nconst SwitchContext = Switch.Context;\nconst SwitchHiddenInput = Switch.HiddenInput;\n\nexport { SwitchContext, SwitchControl, SwitchHiddenInput, SwitchIndicator, SwitchLabel, SwitchPropsProvider, SwitchRoot, SwitchRootProvider, SwitchThumb, SwitchThumbIndicator, useSwitchStyles };\n","import React, { ForwardedRef, useMemo } from \"react\";\nimport { Switch as CSwitch } from \"@chakra-ui/react/switch\";\nimport {\n withFormControl,\n WithFormControlProps,\n} from \"hocs/withFormControl/withFormControl\";\nimport { FormControlSize } from \"hocs/withFormControl/withFormControl.types\";\n\nexport interface SwitchProps\n extends WithFormControlProps,\n Omit<CSwitch.RootProps, \"label\" | \"onChange\"> {\n indeterminate?: boolean;\n switchRef?: ForwardedRef<HTMLLabelElement>;\n size?: FormControlSize;\n}\n\nconst Switch = withFormControl(\n ({\n children,\n indeterminate = false,\n onContrast,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n label,\n size = \"md\",\n switchRef,\n ...rest\n }: SwitchProps): React.JSX.Element => {\n const _computedVariant = useMemo(() => {\n if (indeterminate) {\n return onContrast ? \"indeterminateOnContrast\" : \"indeterminate\";\n } else {\n return onContrast ? \"onContrast\" : \"default\";\n }\n }, [indeterminate, onContrast]);\n\n return (\n <CSwitch.Root\n className=\"Switch\"\n data-testid=\"kibble-switch\"\n ref={switchRef}\n size={size}\n variant={_computedVariant}\n {...rest}\n >\n <CSwitch.HiddenInput\n className=\"Switch_Input\"\n data-testid=\"kibble-switch-input\"\n />\n <CSwitch.Control\n className=\"Switch_Control\"\n data-testid=\"kibble-switch-control\"\n />\n {!!children && <CSwitch.Label>{children}</CSwitch.Label>}\n </CSwitch.Root>\n );\n },\n);\n\nconst WrappedSwitch = React.forwardRef(\n (props: SwitchProps, ref: ForwardedRef<HTMLLabelElement>) => (\n <Switch switchRef={ref} {...props} />\n ),\n);\n\nWrappedSwitch.displayName = \"Switch\";\n\nexport { WrappedSwitch as Switch };\n"],"names":["SwitchProvider","useSwitchContext","createContext","SwitchControl","forwardRef","props","ref","switchContext","mergedProps","mergeProps","jsx","ark","SwitchHiddenInput","field","useFieldContext","SwitchLabel","useSwitch","id","useId","getRootNode","useEnvironmentContext","dir","useLocaleContext","machineProps","service","useMachine","zagSwitch.machine","zagSwitch.connect","normalizeProps","SwitchRoot","switchProps","localProps","createSplitProps","SwitchRootProvider","api","SwitchThumb","withProvider","withContext","useSwitchStyles","createSlotRecipeContext","Switch.RootProvider","Switch.Root","Switch.Label","Switch.Thumb","Switch.Control","styles","fallback","children","rest","chakra","dataAttr","Switch.HiddenInput","Switch","withFormControl","indeterminate","onContrast","label","size","switchRef","_computedVariant","useMemo","jsxs","CSwitch.Root","CSwitch.HiddenInput","CSwitch.Control","CSwitch.Label","WrappedSwitch","React"],"mappings":"wbAGM,CAACA,EAAgBC,CAAgB,EAAIC,gBAAc,CACvD,KAAM,gBACN,SAAU,mBACV,aAAc,oBAChB,CAAC,ECAKC,EAAgBC,EAAU,WAAC,CAACC,EAAOC,IAAQ,CAC/C,MAAMC,EAAgBN,EAAkB,EAClCO,EAAcC,EAAU,WAACF,EAAc,gBAAe,EAAIF,CAAK,EACrE,OAAuBK,EAAAA,kBAAAA,IAAIC,EAAAA,IAAI,KAAM,CAAE,GAAGH,EAAa,IAAAF,EAAK,CAC9D,CAAC,EACDH,EAAc,YAAc,gBCJ5B,MAAMS,EAAoBR,EAAU,WAAC,CAACC,EAAOC,IAAQ,CACnD,MAAMC,EAAgBN,EAAkB,EAClCO,EAAcC,EAAU,WAACF,EAAc,oBAAmB,EAAIF,CAAK,EACnEQ,EAAQC,EAAAA,gBAAiB,EAC/B,OAAuBJ,EAAG,kBAAA,IAACC,MAAI,MAAO,CAAE,mBAAoBE,GAAO,gBAAiB,GAAGL,EAAa,IAAAF,EAAK,CAC3G,CAAC,EACDM,EAAkB,YAAc,oBCPhC,MAAMG,EAAcX,EAAU,WAAC,CAACC,EAAOC,IAAQ,CAC7C,MAAMC,EAAgBN,EAAkB,EAClCO,EAAcC,EAAU,WAACF,EAAc,cAAa,EAAIF,CAAK,EACnE,OAAuBK,EAAAA,kBAAAA,IAAIC,EAAAA,IAAI,KAAM,CAAE,GAAGH,EAAa,IAAAF,EAAK,CAC9D,CAAC,EACDS,EAAY,YAAc,cCJ1B,MAAMC,EAAaX,GAAU,CAC3B,MAAMY,EAAKC,EAAAA,MAAO,EACZ,CAAE,YAAAC,CAAa,EAAGC,wBAAuB,EACzC,CAAE,IAAAC,CAAK,EAAGC,mBAAkB,EAC5BT,EAAQC,EAAAA,gBAAiB,EACzBS,EAAe,CACnB,GAAAN,EACA,IAAK,CACH,MAAOJ,GAAO,IAAI,MAClB,YAAaA,GAAO,IAAI,OACzB,EACD,IAAAQ,EACA,SAAUR,GAAO,SACjB,SAAUA,GAAO,SACjB,QAASA,GAAO,QAChB,SAAUA,GAAO,SACjB,YAAAM,EACA,GAAGd,CACJ,EACKmB,EAAUC,EAAAA,WAAWC,EAAiB,QAAEH,CAAY,EAC1D,OAAOI,EAAiB,QAACH,EAASI,gBAAc,CAClD,ECpBMC,EAAazB,EAAU,WAAC,CAACC,EAAOC,IAAQ,CAC5C,KAAM,CAACwB,EAAaC,CAAU,EAAIC,EAAgB,iBAAA,EAAG3B,EAAO,CAC1D,UACA,iBACA,WACA,OACA,KACA,MACA,UACA,QACA,OACA,kBACA,WACA,WACA,OACJ,CAAG,EACKE,EAAgBS,EAAUc,CAAW,EACrCtB,EAAcC,EAAU,WAACF,EAAc,aAAY,EAAIwB,CAAU,EACvE,OAAuBrB,EAAG,kBAAA,IAACV,EAAgB,CAAE,MAAOO,EAAe,SAA0BG,EAAAA,kBAAAA,IAAIC,EAAG,IAAC,MAAO,CAAE,GAAGH,EAAa,IAAAF,CAAG,CAAE,CAAC,CAAE,CACxI,CAAC,EACDuB,EAAW,YAAc,aCrBzB,MAAMI,EAAqB7B,EAAU,WAAC,CAACC,EAAOC,IAAQ,CACpD,KAAM,CAAC,CAAE,MAAO4B,GAAOH,CAAU,EAAIC,EAAAA,mBAAmB3B,EAAO,CAAC,OAAO,CAAC,EAClEG,EAAcC,EAAU,WAACyB,EAAI,aAAY,EAAIH,CAAU,EAC7D,OAAuBrB,EAAG,kBAAA,IAACV,EAAgB,CAAE,MAAOkC,EAAK,SAA0BxB,EAAAA,kBAAAA,IAAIC,EAAG,IAAC,MAAO,CAAE,GAAGH,EAAa,IAAAF,CAAG,CAAE,CAAC,CAAE,CAC9H,CAAC,EACD2B,EAAmB,YAAc,qBCNjC,MAAME,EAAc/B,EAAU,WAAC,CAACC,EAAOC,IAAQ,CAC7C,MAAMC,EAAgBN,EAAkB,EAClCO,EAAcC,EAAU,WAACF,EAAc,cAAa,EAAIF,CAAK,EACnE,OAAuBK,EAAAA,kBAAAA,IAAIC,EAAAA,IAAI,KAAM,CAAE,GAAGH,EAAa,IAAAF,EAAK,CAC9D,CAAC,EACD6B,EAAY,YAAc,cCH1B,KAAM,CACJ,aAAAC,EACA,YAAAC,EACA,UAAWC,CAEb,EAAIC,EAAAA,wBAAwB,CAAE,IAAK,QAAQ,CAAE,EAClBH,EAAaI,EAAqB,OAAQ,CAAE,eAAgB,EAAM,CAAA,EAC7F,MAAMX,EAAaO,EACjBK,EACA,OACA,CAAE,eAAgB,EAAI,CACxB,EAEM1B,EAAcsB,EAClBK,EACA,QACA,CAAE,eAAgB,EAAI,CACxB,EACMP,EAAcE,EAClBM,EACA,QACA,CAAE,eAAgB,EAAI,CACxB,EACMxC,EAAgBkC,EACpBO,EACA,UACA,CACE,eAAgB,GAChB,aAAc,CAAE,SAA0BlC,wBAAIyB,EAAa,CAAA,CAAE,CAAC,CAClE,CACA,EACwB/B,EAAAA,WAAW,SAA0BC,EAAOC,EAAK,CACvE,MAAM4B,EAAMjC,EAAkB,EACxB4C,EAASP,EAAiB,EAC1B,CAAE,SAAAQ,EAAU,SAAAC,EAAU,GAAGC,CAAM,EAAG3C,EACxC,OAAuBK,EAAG,kBAAA,IACxBuC,EAAAA,OAAO,KACP,CACE,IAAA3C,EACA,eAAgB4C,EAAAA,SAAShB,EAAI,OAAO,EACpC,GAAGc,EACH,IAAK,CAACH,EAAO,UAAWxC,EAAM,GAAG,EACjC,SAAU6B,EAAI,QAAUa,EAAWD,CACzC,CACG,CACH,CAAC,EAC4B1C,EAAAA,WAAW,SAA+BC,EAAOC,EAAK,CACjF,MAAM4B,EAAMjC,EAAkB,EACxB,CAAE,SAAA6C,EAAU,SAAAC,EAAU,GAAGC,CAAM,EAAG3C,EACxC,OAAuBK,EAAAA,kBAAAA,IAAIuC,EAAAA,OAAO,KAAM,CAAE,IAAA3C,EAAK,eAAgB4C,EAAAA,SAAShB,EAAI,OAAO,EAAG,GAAGc,EAAM,SAAUd,EAAI,QAAUa,EAAWD,EAAU,CAC9I,CAAC,EAED,MAAMlC,EAAoBuC,EC7CpBC,EAASC,EAAA,gBACb,CAAC,CACC,SAAAN,EACA,cAAAO,EAAgB,GAChB,WAAAC,EAEA,MAAAC,EACA,KAAAC,EAAO,KACP,UAAAC,EACA,GAAGV,CAAA,IACiC,CAC9B,MAAAW,EAAmBC,EAAAA,QAAQ,IAC3BN,EACKC,EAAa,0BAA4B,gBAEzCA,EAAa,aAAe,UAEpC,CAACD,EAAeC,CAAU,CAAC,EAG5B,OAAAM,EAAA,kBAAA,KAACC,EAAA,CACC,UAAU,SACV,cAAY,gBACZ,IAAKJ,EACL,KAAAD,EACA,QAASE,EACR,GAAGX,EAEJ,SAAA,CAAAtC,EAAA,kBAAA,IAACqD,EAAA,CACC,UAAU,eACV,cAAY,qBAAA,CACd,EACArD,EAAA,kBAAA,IAACsD,EAAA,CACC,UAAU,iBACV,cAAY,uBAAA,CACd,EACC,CAAC,CAACjB,2BAAakB,EAAA,CAAe,SAAAlB,CAAS,CAAA,CAAA,CAAA,CAC1C,CAAA,CAGN,EAEMmB,EAAgBC,EAAM,QAAA,WAC1B,CAAC9D,EAAoBC,IACnBI,wBAAC0C,GAAO,UAAW9C,EAAM,GAAGD,CAAO,CAAA,CAEvC,EAEA6D,EAAc,YAAc","x_google_ignoreList":[0,1,2,3,4,5,6,7,8]}
|
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
import { j as c } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { I as S } from "./icon.component-DGNCL1Yc.js";
|
|
3
|
+
import { N as G } from "./notificationCounter.component-Bei8mHSZ.js";
|
|
4
|
+
import { W as z } from "./heading.component-D4rtbYK8.js";
|
|
5
|
+
import { c as Q } from "./create-slot-recipe-context-BJmsuxih.js";
|
|
6
|
+
import { useState as J, useEffect as Z, forwardRef as T, useId as ee } from "react";
|
|
7
|
+
import { c as te, a as x, l as ae, m as se, f as m, h as oe, b as _, i as re, j as ne, k as ie, n as ce } from "./use-locale-context-D-agiW5E.js";
|
|
8
|
+
import { u as le, s as O, R as B } from "./render-strategy-C8hwN3bm.js";
|
|
9
|
+
import { Y as y, c as ue, y as de, a0 as ge, E as fe, aq as be, r as v, ar as pe, as as ve, S as Te, b as me, d as f, i as ye, L as he, m as Re, q as Ce, at as Ee, x as Pe, aj as Ve, P as Ie, Q as Ae } from "./index-CYk-7wwG.js";
|
|
10
|
+
function xe(e, t) {
|
|
11
|
+
const [s, a] = J(e);
|
|
12
|
+
return Z(() => {
|
|
13
|
+
const r = setTimeout(() => {
|
|
14
|
+
a(e);
|
|
15
|
+
}, t);
|
|
16
|
+
return () => {
|
|
17
|
+
clearTimeout(r);
|
|
18
|
+
};
|
|
19
|
+
}, [e, t]), s;
|
|
20
|
+
}
|
|
21
|
+
const [k, F] = te({
|
|
22
|
+
name: "TabsContext",
|
|
23
|
+
hookName: "useTabsContext",
|
|
24
|
+
providerName: "<TabsProvider />"
|
|
25
|
+
}), $ = T((e, t) => {
|
|
26
|
+
const [s, a] = x()(e, ["value"]), r = F(), o = le(), n = ae({
|
|
27
|
+
...o,
|
|
28
|
+
present: xe(r.value === e.value, 0),
|
|
29
|
+
immediate: !0
|
|
30
|
+
}), u = y(r.getContentProps(s), n.getPresenceProps(), a);
|
|
31
|
+
return /* @__PURE__ */ c.jsx(se, { value: n, children: n.unmounted ? null : /* @__PURE__ */ c.jsx(m.div, { ...u, ref: oe(n.ref, t) }) });
|
|
32
|
+
});
|
|
33
|
+
$.displayName = "TabContent";
|
|
34
|
+
const D = T((e, t) => {
|
|
35
|
+
const s = F(), a = y(s.getIndicatorProps(), e);
|
|
36
|
+
return /* @__PURE__ */ c.jsx(m.div, { ...a, ref: t });
|
|
37
|
+
});
|
|
38
|
+
D.displayName = "TabIndicator";
|
|
39
|
+
const U = T((e, t) => {
|
|
40
|
+
const s = F(), a = y(s.getListProps(), e);
|
|
41
|
+
return /* @__PURE__ */ c.jsx(m.div, { ...a, ref: t });
|
|
42
|
+
});
|
|
43
|
+
U.displayName = "TabList";
|
|
44
|
+
const W = T((e, t) => {
|
|
45
|
+
const [s, a] = x()(e, ["disabled", "value"]), r = F(), o = y(r.getTriggerProps(s), a);
|
|
46
|
+
return /* @__PURE__ */ c.jsx(m.button, { ...o, ref: t });
|
|
47
|
+
});
|
|
48
|
+
W.displayName = "TabTrigger";
|
|
49
|
+
var Fe = me("tabs").parts("root", "list", "trigger", "content", "indicator"), h = Fe.build(), Ne = (e) => e.ids?.root ?? `tabs:${e.id}`, R = (e) => e.ids?.list ?? `tabs:${e.id}:list`, N = (e, t) => e.ids?.content ?? `tabs:${e.id}:content-${t}`, b = (e, t) => e.ids?.trigger ?? `tabs:${e.id}:trigger-${t}`, M = (e) => e.ids?.indicator ?? `tabs:${e.id}:indicator`, _e = (e) => e.getById(R(e)), we = (e, t) => e.getById(N(e, t)), A = (e, t) => e.getById(b(e, t)), j = (e) => e.getById(M(e)), C = (e) => {
|
|
50
|
+
const s = `[role=tab][data-ownedby='${CSS.escape(R(e))}']:not([disabled])`;
|
|
51
|
+
return Pe(_e(e), s);
|
|
52
|
+
}, Le = (e) => Ae(C(e)), Se = (e) => Ie(C(e)), je = (e, t) => ve(C(e), b(e, t.value), t.loopFocus), Oe = (e, t) => pe(C(e), b(e, t.value), t.loopFocus), H = (e) => ({
|
|
53
|
+
left: e?.offsetLeft ?? 0,
|
|
54
|
+
top: e?.offsetTop ?? 0,
|
|
55
|
+
width: e?.offsetWidth ?? 0,
|
|
56
|
+
height: e?.offsetHeight ?? 0
|
|
57
|
+
}), Be = (e, t) => {
|
|
58
|
+
const s = Ee(C(e), b(e, t));
|
|
59
|
+
return X(H(s));
|
|
60
|
+
}, X = (e) => ({
|
|
61
|
+
width: `${e.width}px`,
|
|
62
|
+
height: `${e.height}px`,
|
|
63
|
+
left: `${e.left}px`,
|
|
64
|
+
top: `${e.top}px`
|
|
65
|
+
});
|
|
66
|
+
function ke(e, t) {
|
|
67
|
+
const { state: s, send: a, context: r, prop: o, scope: n } = e, u = o("translations"), p = s.matches("focused"), P = o("orientation") === "vertical", V = o("orientation") === "horizontal", w = o("composite");
|
|
68
|
+
function L(i) {
|
|
69
|
+
return {
|
|
70
|
+
selected: r.get("value") === i.value,
|
|
71
|
+
focused: r.get("focusedValue") === i.value,
|
|
72
|
+
disabled: !!i.disabled
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
value: r.get("value"),
|
|
77
|
+
focusedValue: r.get("focusedValue"),
|
|
78
|
+
setValue(i) {
|
|
79
|
+
a({ type: "SET_VALUE", value: i });
|
|
80
|
+
},
|
|
81
|
+
clearValue() {
|
|
82
|
+
a({ type: "CLEAR_VALUE" });
|
|
83
|
+
},
|
|
84
|
+
setIndicatorRect(i) {
|
|
85
|
+
const l = b(n, i);
|
|
86
|
+
a({ type: "SET_INDICATOR_RECT", id: l });
|
|
87
|
+
},
|
|
88
|
+
syncTabIndex() {
|
|
89
|
+
a({ type: "SYNC_TAB_INDEX" });
|
|
90
|
+
},
|
|
91
|
+
selectNext(i) {
|
|
92
|
+
a({ type: "TAB_FOCUS", value: i, src: "selectNext" }), a({ type: "ARROW_NEXT", src: "selectNext" });
|
|
93
|
+
},
|
|
94
|
+
selectPrev(i) {
|
|
95
|
+
a({ type: "TAB_FOCUS", value: i, src: "selectPrev" }), a({ type: "ARROW_PREV", src: "selectPrev" });
|
|
96
|
+
},
|
|
97
|
+
focus() {
|
|
98
|
+
const i = r.get("value");
|
|
99
|
+
i && A(n, i)?.focus();
|
|
100
|
+
},
|
|
101
|
+
getRootProps() {
|
|
102
|
+
return t.element({
|
|
103
|
+
...h.root.attrs,
|
|
104
|
+
id: Ne(n),
|
|
105
|
+
"data-orientation": o("orientation"),
|
|
106
|
+
"data-focus": f(p),
|
|
107
|
+
dir: o("dir")
|
|
108
|
+
});
|
|
109
|
+
},
|
|
110
|
+
getListProps() {
|
|
111
|
+
return t.element({
|
|
112
|
+
...h.list.attrs,
|
|
113
|
+
id: R(n),
|
|
114
|
+
role: "tablist",
|
|
115
|
+
dir: o("dir"),
|
|
116
|
+
"data-focus": f(p),
|
|
117
|
+
"aria-orientation": o("orientation"),
|
|
118
|
+
"data-orientation": o("orientation"),
|
|
119
|
+
"aria-label": u?.listLabel,
|
|
120
|
+
onKeyDown(i) {
|
|
121
|
+
if (i.defaultPrevented || !he(i) || Re(i)) return;
|
|
122
|
+
const l = {
|
|
123
|
+
ArrowDown() {
|
|
124
|
+
V || a({ type: "ARROW_NEXT", key: "ArrowDown" });
|
|
125
|
+
},
|
|
126
|
+
ArrowUp() {
|
|
127
|
+
V || a({ type: "ARROW_PREV", key: "ArrowUp" });
|
|
128
|
+
},
|
|
129
|
+
ArrowLeft() {
|
|
130
|
+
P || a({ type: "ARROW_PREV", key: "ArrowLeft" });
|
|
131
|
+
},
|
|
132
|
+
ArrowRight() {
|
|
133
|
+
P || a({ type: "ARROW_NEXT", key: "ArrowRight" });
|
|
134
|
+
},
|
|
135
|
+
Home() {
|
|
136
|
+
a({ type: "HOME" });
|
|
137
|
+
},
|
|
138
|
+
End() {
|
|
139
|
+
a({ type: "END" });
|
|
140
|
+
},
|
|
141
|
+
Enter() {
|
|
142
|
+
a({ type: "ENTER" });
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
let d = Ce(i, {
|
|
146
|
+
dir: o("dir"),
|
|
147
|
+
orientation: o("orientation")
|
|
148
|
+
});
|
|
149
|
+
const g = l[d];
|
|
150
|
+
g && (i.preventDefault(), g(i));
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
},
|
|
154
|
+
getTriggerState: L,
|
|
155
|
+
getTriggerProps(i) {
|
|
156
|
+
const { value: l, disabled: d } = i, g = L(i);
|
|
157
|
+
return t.button({
|
|
158
|
+
...h.trigger.attrs,
|
|
159
|
+
role: "tab",
|
|
160
|
+
type: "button",
|
|
161
|
+
disabled: d,
|
|
162
|
+
dir: o("dir"),
|
|
163
|
+
"data-orientation": o("orientation"),
|
|
164
|
+
"data-disabled": f(d),
|
|
165
|
+
"aria-disabled": d,
|
|
166
|
+
"data-value": l,
|
|
167
|
+
"aria-selected": g.selected,
|
|
168
|
+
"data-selected": f(g.selected),
|
|
169
|
+
"data-focus": f(g.focused),
|
|
170
|
+
"aria-controls": g.selected ? N(n, l) : void 0,
|
|
171
|
+
"data-ownedby": R(n),
|
|
172
|
+
"data-ssr": f(r.get("ssr")),
|
|
173
|
+
id: b(n, l),
|
|
174
|
+
tabIndex: g.selected && w ? 0 : -1,
|
|
175
|
+
onFocus() {
|
|
176
|
+
a({ type: "TAB_FOCUS", value: l });
|
|
177
|
+
},
|
|
178
|
+
onBlur(I) {
|
|
179
|
+
I.relatedTarget?.getAttribute("role") !== "tab" && a({ type: "TAB_BLUR" });
|
|
180
|
+
},
|
|
181
|
+
onClick(I) {
|
|
182
|
+
I.defaultPrevented || d || (ye() && I.currentTarget.focus(), a({ type: "TAB_CLICK", value: l }));
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
},
|
|
186
|
+
getContentProps(i) {
|
|
187
|
+
const { value: l } = i, d = r.get("value") === l;
|
|
188
|
+
return t.element({
|
|
189
|
+
...h.content.attrs,
|
|
190
|
+
dir: o("dir"),
|
|
191
|
+
id: N(n, l),
|
|
192
|
+
tabIndex: w ? 0 : -1,
|
|
193
|
+
"aria-labelledby": b(n, l),
|
|
194
|
+
role: "tabpanel",
|
|
195
|
+
"data-ownedby": R(n),
|
|
196
|
+
"data-selected": f(d),
|
|
197
|
+
"data-orientation": o("orientation"),
|
|
198
|
+
hidden: !d
|
|
199
|
+
});
|
|
200
|
+
},
|
|
201
|
+
getIndicatorProps() {
|
|
202
|
+
const i = r.get("indicatorRect"), l = r.get("indicatorTransition");
|
|
203
|
+
return t.element({
|
|
204
|
+
id: M(n),
|
|
205
|
+
...h.indicator.attrs,
|
|
206
|
+
dir: o("dir"),
|
|
207
|
+
"data-orientation": o("orientation"),
|
|
208
|
+
style: {
|
|
209
|
+
"--transition-property": "left, right, top, bottom, width, height",
|
|
210
|
+
"--left": i.left,
|
|
211
|
+
"--top": i.top,
|
|
212
|
+
"--width": i.width,
|
|
213
|
+
"--height": i.height,
|
|
214
|
+
position: "absolute",
|
|
215
|
+
willChange: "var(--transition-property)",
|
|
216
|
+
transitionProperty: "var(--transition-property)",
|
|
217
|
+
transitionDuration: l ? "var(--transition-duration, 150ms)" : "0ms",
|
|
218
|
+
transitionTimingFunction: "var(--transition-timing-function)",
|
|
219
|
+
[V ? "left" : "top"]: V ? "var(--left)" : "var(--top)"
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
var { not: $e } = de(), De = ue({
|
|
226
|
+
props({ props: e }) {
|
|
227
|
+
return {
|
|
228
|
+
dir: "ltr",
|
|
229
|
+
orientation: "horizontal",
|
|
230
|
+
activationMode: "automatic",
|
|
231
|
+
loopFocus: !0,
|
|
232
|
+
composite: !0,
|
|
233
|
+
navigate(t) {
|
|
234
|
+
Te(t.node);
|
|
235
|
+
},
|
|
236
|
+
defaultValue: null,
|
|
237
|
+
...e
|
|
238
|
+
};
|
|
239
|
+
},
|
|
240
|
+
initialState() {
|
|
241
|
+
return "idle";
|
|
242
|
+
},
|
|
243
|
+
context({ prop: e, bindable: t }) {
|
|
244
|
+
return {
|
|
245
|
+
value: t(() => ({
|
|
246
|
+
defaultValue: e("defaultValue"),
|
|
247
|
+
value: e("value"),
|
|
248
|
+
onChange(s) {
|
|
249
|
+
e("onValueChange")?.({ value: s });
|
|
250
|
+
}
|
|
251
|
+
})),
|
|
252
|
+
focusedValue: t(() => ({
|
|
253
|
+
defaultValue: e("value") || e("defaultValue"),
|
|
254
|
+
sync: !0,
|
|
255
|
+
onChange(s) {
|
|
256
|
+
e("onFocusChange")?.({ focusedValue: s });
|
|
257
|
+
}
|
|
258
|
+
})),
|
|
259
|
+
ssr: t(() => ({ defaultValue: !0 })),
|
|
260
|
+
indicatorTransition: t(() => ({ defaultValue: !1 })),
|
|
261
|
+
indicatorRect: t(() => ({
|
|
262
|
+
defaultValue: { left: "0px", top: "0px", width: "0px", height: "0px" }
|
|
263
|
+
}))
|
|
264
|
+
};
|
|
265
|
+
},
|
|
266
|
+
watch({ context: e, prop: t, track: s, action: a }) {
|
|
267
|
+
s([() => e.get("value")], () => {
|
|
268
|
+
a(["allowIndicatorTransition", "syncIndicatorRect", "syncTabIndex", "navigateIfNeeded"]);
|
|
269
|
+
}), s([() => t("dir"), () => t("orientation")], () => {
|
|
270
|
+
a(["syncIndicatorRect"]);
|
|
271
|
+
});
|
|
272
|
+
},
|
|
273
|
+
on: {
|
|
274
|
+
SET_VALUE: {
|
|
275
|
+
actions: ["setValue"]
|
|
276
|
+
},
|
|
277
|
+
CLEAR_VALUE: {
|
|
278
|
+
actions: ["clearValue"]
|
|
279
|
+
},
|
|
280
|
+
SET_INDICATOR_RECT: {
|
|
281
|
+
actions: ["setIndicatorRect"]
|
|
282
|
+
},
|
|
283
|
+
SYNC_TAB_INDEX: {
|
|
284
|
+
actions: ["syncTabIndex"]
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
entry: ["syncIndicatorRect", "syncTabIndex", "syncSsr"],
|
|
288
|
+
exit: ["cleanupObserver"],
|
|
289
|
+
states: {
|
|
290
|
+
idle: {
|
|
291
|
+
on: {
|
|
292
|
+
TAB_FOCUS: {
|
|
293
|
+
target: "focused",
|
|
294
|
+
actions: ["setFocusedValue"]
|
|
295
|
+
},
|
|
296
|
+
TAB_CLICK: {
|
|
297
|
+
target: "focused",
|
|
298
|
+
actions: ["setFocusedValue", "setValue"]
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
focused: {
|
|
303
|
+
on: {
|
|
304
|
+
TAB_CLICK: {
|
|
305
|
+
target: "focused",
|
|
306
|
+
actions: ["setFocusedValue", "setValue"]
|
|
307
|
+
},
|
|
308
|
+
ARROW_PREV: [
|
|
309
|
+
{
|
|
310
|
+
guard: "selectOnFocus",
|
|
311
|
+
actions: ["focusPrevTab", "selectFocusedTab"]
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
actions: ["focusPrevTab"]
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
ARROW_NEXT: [
|
|
318
|
+
{
|
|
319
|
+
guard: "selectOnFocus",
|
|
320
|
+
actions: ["focusNextTab", "selectFocusedTab"]
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
actions: ["focusNextTab"]
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
HOME: [
|
|
327
|
+
{
|
|
328
|
+
guard: "selectOnFocus",
|
|
329
|
+
actions: ["focusFirstTab", "selectFocusedTab"]
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
actions: ["focusFirstTab"]
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
END: [
|
|
336
|
+
{
|
|
337
|
+
guard: "selectOnFocus",
|
|
338
|
+
actions: ["focusLastTab", "selectFocusedTab"]
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
actions: ["focusLastTab"]
|
|
342
|
+
}
|
|
343
|
+
],
|
|
344
|
+
ENTER: {
|
|
345
|
+
guard: $e("selectOnFocus"),
|
|
346
|
+
actions: ["selectFocusedTab"]
|
|
347
|
+
},
|
|
348
|
+
TAB_FOCUS: {
|
|
349
|
+
actions: ["setFocusedValue"]
|
|
350
|
+
},
|
|
351
|
+
TAB_BLUR: {
|
|
352
|
+
target: "idle",
|
|
353
|
+
actions: ["clearFocusedValue"]
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
implementations: {
|
|
359
|
+
guards: {
|
|
360
|
+
selectOnFocus: ({ prop: e }) => e("activationMode") === "automatic"
|
|
361
|
+
},
|
|
362
|
+
actions: {
|
|
363
|
+
selectFocusedTab({ context: e, prop: t }) {
|
|
364
|
+
v(() => {
|
|
365
|
+
const s = e.get("focusedValue");
|
|
366
|
+
if (!s) return;
|
|
367
|
+
const r = t("deselectable") && e.get("value") === s ? null : s;
|
|
368
|
+
e.set("value", r);
|
|
369
|
+
});
|
|
370
|
+
},
|
|
371
|
+
setFocusedValue({ context: e, event: t, flush: s }) {
|
|
372
|
+
t.value != null && s(() => {
|
|
373
|
+
e.set("focusedValue", t.value);
|
|
374
|
+
});
|
|
375
|
+
},
|
|
376
|
+
clearFocusedValue({ context: e }) {
|
|
377
|
+
e.set("focusedValue", null);
|
|
378
|
+
},
|
|
379
|
+
setValue({ context: e, event: t, prop: s }) {
|
|
380
|
+
const a = s("deselectable") && e.get("value") === e.get("focusedValue");
|
|
381
|
+
e.set("value", a ? null : t.value);
|
|
382
|
+
},
|
|
383
|
+
clearValue({ context: e }) {
|
|
384
|
+
e.set("value", null);
|
|
385
|
+
},
|
|
386
|
+
focusFirstTab({ scope: e }) {
|
|
387
|
+
v(() => {
|
|
388
|
+
Le(e)?.focus();
|
|
389
|
+
});
|
|
390
|
+
},
|
|
391
|
+
focusLastTab({ scope: e }) {
|
|
392
|
+
v(() => {
|
|
393
|
+
Se(e)?.focus();
|
|
394
|
+
});
|
|
395
|
+
},
|
|
396
|
+
focusNextTab({ context: e, prop: t, scope: s, event: a }) {
|
|
397
|
+
const r = a.value ?? e.get("focusedValue");
|
|
398
|
+
if (!r) return;
|
|
399
|
+
const o = je(s, {
|
|
400
|
+
value: r,
|
|
401
|
+
loopFocus: t("loopFocus")
|
|
402
|
+
});
|
|
403
|
+
v(() => {
|
|
404
|
+
t("composite") ? o?.focus() : o?.dataset.value != null && e.set("focusedValue", o.dataset.value);
|
|
405
|
+
});
|
|
406
|
+
},
|
|
407
|
+
focusPrevTab({ context: e, prop: t, scope: s, event: a }) {
|
|
408
|
+
const r = a.value ?? e.get("focusedValue");
|
|
409
|
+
if (!r) return;
|
|
410
|
+
const o = Oe(s, {
|
|
411
|
+
value: r,
|
|
412
|
+
loopFocus: t("loopFocus")
|
|
413
|
+
});
|
|
414
|
+
v(() => {
|
|
415
|
+
t("composite") ? o?.focus() : o?.dataset.value != null && e.set("focusedValue", o.dataset.value);
|
|
416
|
+
});
|
|
417
|
+
},
|
|
418
|
+
syncTabIndex({ context: e, scope: t }) {
|
|
419
|
+
v(() => {
|
|
420
|
+
const s = e.get("value");
|
|
421
|
+
if (!s) return;
|
|
422
|
+
const a = we(t, s);
|
|
423
|
+
if (!a) return;
|
|
424
|
+
Ve(a).length > 0 ? a.removeAttribute("tabindex") : a.setAttribute("tabindex", "0");
|
|
425
|
+
});
|
|
426
|
+
},
|
|
427
|
+
cleanupObserver({ refs: e }) {
|
|
428
|
+
const t = e.get("indicatorCleanup");
|
|
429
|
+
t && t();
|
|
430
|
+
},
|
|
431
|
+
allowIndicatorTransition({ context: e }) {
|
|
432
|
+
e.set("indicatorTransition", !0);
|
|
433
|
+
},
|
|
434
|
+
setIndicatorRect({ context: e, event: t, scope: s }) {
|
|
435
|
+
const a = t.id ?? e.get("value");
|
|
436
|
+
if (!j(s)) return;
|
|
437
|
+
if (!a) {
|
|
438
|
+
e.set("indicatorTransition", !1);
|
|
439
|
+
return;
|
|
440
|
+
}
|
|
441
|
+
A(s, a) && (e.set("indicatorRect", Be(s, a)), be(() => {
|
|
442
|
+
e.set("indicatorTransition", !1);
|
|
443
|
+
}));
|
|
444
|
+
},
|
|
445
|
+
syncSsr({ context: e }) {
|
|
446
|
+
e.set("ssr", !1);
|
|
447
|
+
},
|
|
448
|
+
syncIndicatorRect({ context: e, refs: t, scope: s }) {
|
|
449
|
+
const a = t.get("indicatorCleanup");
|
|
450
|
+
a && a();
|
|
451
|
+
const r = e.get("value");
|
|
452
|
+
if (!r) {
|
|
453
|
+
e.set("indicatorTransition", !1);
|
|
454
|
+
return;
|
|
455
|
+
}
|
|
456
|
+
const o = A(s, r), n = j(s);
|
|
457
|
+
if (!o || !n) return;
|
|
458
|
+
const u = fe([o], {
|
|
459
|
+
measure(p) {
|
|
460
|
+
return H(p);
|
|
461
|
+
},
|
|
462
|
+
onEntry({ rects: p }) {
|
|
463
|
+
const [P] = p;
|
|
464
|
+
e.set("indicatorRect", X(P));
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
t.set("indicatorCleanup", u);
|
|
468
|
+
},
|
|
469
|
+
navigateIfNeeded({ context: e, prop: t, scope: s }) {
|
|
470
|
+
const a = e.get("value");
|
|
471
|
+
if (!a) return;
|
|
472
|
+
const r = A(s, a);
|
|
473
|
+
ge(r) && t("navigate")?.({ value: a, node: r, href: r.href });
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
_()([
|
|
479
|
+
"activationMode",
|
|
480
|
+
"composite",
|
|
481
|
+
"deselectable",
|
|
482
|
+
"dir",
|
|
483
|
+
"getRootNode",
|
|
484
|
+
"id",
|
|
485
|
+
"ids",
|
|
486
|
+
"loopFocus",
|
|
487
|
+
"navigate",
|
|
488
|
+
"onFocusChange",
|
|
489
|
+
"onValueChange",
|
|
490
|
+
"orientation",
|
|
491
|
+
"translations",
|
|
492
|
+
"value",
|
|
493
|
+
"defaultValue"
|
|
494
|
+
]);
|
|
495
|
+
_()(["disabled", "value"]);
|
|
496
|
+
_()(["value"]);
|
|
497
|
+
const Ue = (e) => {
|
|
498
|
+
const t = ee(), { getRootNode: s } = re(), { dir: a } = ne(), r = {
|
|
499
|
+
id: t,
|
|
500
|
+
dir: a,
|
|
501
|
+
getRootNode: s,
|
|
502
|
+
...e
|
|
503
|
+
}, o = ie(De, r);
|
|
504
|
+
return ke(o, ce);
|
|
505
|
+
}, K = T((e, t) => {
|
|
506
|
+
const [s, a] = O(e), [r, o] = x()(a, [
|
|
507
|
+
"activationMode",
|
|
508
|
+
"composite",
|
|
509
|
+
"defaultValue",
|
|
510
|
+
"deselectable",
|
|
511
|
+
"id",
|
|
512
|
+
"ids",
|
|
513
|
+
"loopFocus",
|
|
514
|
+
"navigate",
|
|
515
|
+
"onFocusChange",
|
|
516
|
+
"onValueChange",
|
|
517
|
+
"orientation",
|
|
518
|
+
"translations",
|
|
519
|
+
"value"
|
|
520
|
+
]), n = Ue(r), u = y(n.getRootProps(), o);
|
|
521
|
+
return /* @__PURE__ */ c.jsx(k, { value: n, children: /* @__PURE__ */ c.jsx(B, { value: s, children: /* @__PURE__ */ c.jsx(m.div, { ...u, ref: t }) }) });
|
|
522
|
+
});
|
|
523
|
+
K.displayName = "TabsRoot";
|
|
524
|
+
const q = T((e, t) => {
|
|
525
|
+
const [s, a] = O(e), [{ value: r }, o] = x()(a, ["value"]), n = y(r.getRootProps(), o);
|
|
526
|
+
return /* @__PURE__ */ c.jsx(k, { value: r, children: /* @__PURE__ */ c.jsx(B, { value: s, children: /* @__PURE__ */ c.jsx(m.div, { ...n, ref: t }) }) });
|
|
527
|
+
});
|
|
528
|
+
q.displayName = "TabsRootProvider";
|
|
529
|
+
const {
|
|
530
|
+
withProvider: Y,
|
|
531
|
+
withContext: E
|
|
532
|
+
} = Q({ key: "tabs" });
|
|
533
|
+
Y(q, "root", { forwardAsChild: !0 });
|
|
534
|
+
const We = Y(
|
|
535
|
+
K,
|
|
536
|
+
"root",
|
|
537
|
+
{ forwardAsChild: !0 }
|
|
538
|
+
), Me = E(
|
|
539
|
+
W,
|
|
540
|
+
"trigger",
|
|
541
|
+
{ forwardAsChild: !0 }
|
|
542
|
+
), He = E(
|
|
543
|
+
$,
|
|
544
|
+
"content",
|
|
545
|
+
{ forwardAsChild: !0 }
|
|
546
|
+
);
|
|
547
|
+
E("div", "contentGroup");
|
|
548
|
+
const Xe = E(
|
|
549
|
+
U,
|
|
550
|
+
"list",
|
|
551
|
+
{ forwardAsChild: !0 }
|
|
552
|
+
);
|
|
553
|
+
E(
|
|
554
|
+
D,
|
|
555
|
+
"indicator",
|
|
556
|
+
{ forwardAsChild: !0 }
|
|
557
|
+
);
|
|
558
|
+
const Ke = {
|
|
559
|
+
xs: "sm",
|
|
560
|
+
sm: "md",
|
|
561
|
+
md: "md",
|
|
562
|
+
lg: "lg"
|
|
563
|
+
}, qe = {
|
|
564
|
+
xs: "xs",
|
|
565
|
+
sm: "xs",
|
|
566
|
+
md: "sm",
|
|
567
|
+
lg: "md"
|
|
568
|
+
}, Ye = ({
|
|
569
|
+
iconName: e,
|
|
570
|
+
iconPosition: t = "left",
|
|
571
|
+
label: s,
|
|
572
|
+
notificationCounterProps: a,
|
|
573
|
+
showNotificationCounter: r,
|
|
574
|
+
size: o = "md",
|
|
575
|
+
...n
|
|
576
|
+
}) => /* @__PURE__ */ c.jsxs(Me, { className: "Tab", "data-testid": "kibble-tab", ...n, children: [
|
|
577
|
+
!!e && t === "left" && /* @__PURE__ */ c.jsx(
|
|
578
|
+
S,
|
|
579
|
+
{
|
|
580
|
+
className: "Tab__Icon",
|
|
581
|
+
"data-testid": "kibble-tab-icon",
|
|
582
|
+
name: e,
|
|
583
|
+
size: o,
|
|
584
|
+
variant: "default"
|
|
585
|
+
}
|
|
586
|
+
),
|
|
587
|
+
/* @__PURE__ */ c.jsx(
|
|
588
|
+
z,
|
|
589
|
+
{
|
|
590
|
+
className: "Tab__Label",
|
|
591
|
+
"data-testid": "kibble-tab-label",
|
|
592
|
+
size: qe[o],
|
|
593
|
+
children: s
|
|
594
|
+
}
|
|
595
|
+
),
|
|
596
|
+
!!e && t === "right" && /* @__PURE__ */ c.jsx(
|
|
597
|
+
S,
|
|
598
|
+
{
|
|
599
|
+
className: "Tab__Icon",
|
|
600
|
+
"data-testid": "kibble-tab-icon",
|
|
601
|
+
name: e,
|
|
602
|
+
size: o
|
|
603
|
+
}
|
|
604
|
+
),
|
|
605
|
+
r && /* @__PURE__ */ c.jsx(
|
|
606
|
+
G,
|
|
607
|
+
{
|
|
608
|
+
className: "Tab__NotificationCounter",
|
|
609
|
+
"data-testid": "kibble-tab-notification-counter",
|
|
610
|
+
...a,
|
|
611
|
+
size: Ke[o]
|
|
612
|
+
}
|
|
613
|
+
)
|
|
614
|
+
] }), rt = ({
|
|
615
|
+
align: e = "start",
|
|
616
|
+
onChange: t,
|
|
617
|
+
size: s = "md",
|
|
618
|
+
tabs: a,
|
|
619
|
+
tabsContents: r,
|
|
620
|
+
...o
|
|
621
|
+
}) => /* @__PURE__ */ c.jsxs(
|
|
622
|
+
We,
|
|
623
|
+
{
|
|
624
|
+
className: "Tabs",
|
|
625
|
+
"data-testid": "kibble-tabs",
|
|
626
|
+
justify: e || o.justify,
|
|
627
|
+
size: s,
|
|
628
|
+
onValueChange: ({ value: n }) => t?.(n),
|
|
629
|
+
...o,
|
|
630
|
+
children: [
|
|
631
|
+
/* @__PURE__ */ c.jsx(Xe, { className: "Tabs__List", "data-testid": "kibble-tabs-list", children: a.map((n, u) => /* @__PURE__ */ c.jsx(Ye, { ...n }, `tab-${u}`)) }),
|
|
632
|
+
!!r && r.map((n, u) => /* @__PURE__ */ c.jsx(He, { ...n }, `tabContent-${u}`))
|
|
633
|
+
]
|
|
634
|
+
}
|
|
635
|
+
);
|
|
636
|
+
export {
|
|
637
|
+
rt as T
|
|
638
|
+
};
|
|
639
|
+
//# sourceMappingURL=tabs.component-Bi1vanBo.js.map
|