@commercetools/nimbus 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/Button-BjcDZ5eb.es.js +79 -0
- package/dist/chunks/Button-BjcDZ5eb.es.js.map +1 -0
- package/dist/chunks/Button-DLCecw8f.cjs.js +2 -0
- package/dist/chunks/Button-DLCecw8f.cjs.js.map +1 -0
- package/dist/chunks/CollectionBuilder-BipvtvSl.cjs.js +18 -0
- package/dist/chunks/CollectionBuilder-BipvtvSl.cjs.js.map +1 -0
- package/dist/chunks/CollectionBuilder-ZlIN4SR4.es.js +677 -0
- package/dist/chunks/CollectionBuilder-ZlIN4SR4.es.js.map +1 -0
- package/dist/chunks/DateField-B5u8QZFY.cjs.js +2 -0
- package/dist/chunks/DateField-B5u8QZFY.cjs.js.map +1 -0
- package/dist/chunks/DateField-C5JgBb30.es.js +2691 -0
- package/dist/chunks/DateField-C5JgBb30.es.js.map +1 -0
- package/dist/chunks/DatePicker-DGLrUdLu.cjs.js +2 -0
- package/dist/chunks/DatePicker-DGLrUdLu.cjs.js.map +1 -0
- package/dist/chunks/DatePicker-DeknOPX6.es.js +786 -0
- package/dist/chunks/DatePicker-DeknOPX6.es.js.map +1 -0
- package/dist/chunks/Dialog-DUbUCf4o.es.js +1951 -0
- package/dist/chunks/Dialog-DUbUCf4o.es.js.map +1 -0
- package/dist/chunks/Dialog-Ye_7tQZU.cjs.js +7 -0
- package/dist/chunks/Dialog-Ye_7tQZU.cjs.js.map +1 -0
- package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
- package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
- package/dist/chunks/FocusScope-CqEZq7sr.es.js +625 -0
- package/dist/chunks/FocusScope-CqEZq7sr.es.js.map +1 -0
- package/dist/chunks/FocusScope-vAM-Q62b.cjs.js +2 -0
- package/dist/chunks/FocusScope-vAM-Q62b.cjs.js.map +1 -0
- package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
- package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
- package/dist/chunks/Group-1nWkximy.cjs.js +2 -0
- package/dist/chunks/Group-1nWkximy.cjs.js.map +1 -0
- package/dist/chunks/Group-BQc9LuMT.es.js +47 -0
- package/dist/chunks/Group-BQc9LuMT.es.js.map +1 -0
- package/dist/chunks/Header-Bvl-gjeR.cjs.js +2 -0
- package/dist/chunks/Header-Bvl-gjeR.cjs.js.map +1 -0
- package/dist/chunks/Header-Bvo6aMcQ.es.js +213 -0
- package/dist/chunks/Header-Bvo6aMcQ.es.js.map +1 -0
- package/dist/chunks/Heading-D7Ut7eK3.es.js +1619 -0
- package/dist/chunks/Heading-D7Ut7eK3.es.js.map +1 -0
- package/dist/chunks/Heading-kcnZ-PKv.cjs.js +2 -0
- package/dist/chunks/Heading-kcnZ-PKv.cjs.js.map +1 -0
- package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
- package/dist/chunks/Hidden-X9vuhkMZ.es.js +28 -0
- package/dist/chunks/Hidden-X9vuhkMZ.es.js.map +1 -0
- package/dist/chunks/Input-2FU1rljx.cjs.js +2 -0
- package/dist/chunks/Input-2FU1rljx.cjs.js.map +1 -0
- package/dist/chunks/Input-Cmg08oRP.es.js +43 -0
- package/dist/chunks/Input-Cmg08oRP.es.js.map +1 -0
- package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
- package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
- package/dist/chunks/Label-DIseLESi.es.js +17 -0
- package/dist/chunks/Label-DIseLESi.es.js.map +1 -0
- package/dist/chunks/Label-szabofdc.cjs.js +2 -0
- package/dist/chunks/Label-szabofdc.cjs.js.map +1 -0
- package/dist/chunks/ListBox-C8TVMFFY.es.js +561 -0
- package/dist/chunks/ListBox-C8TVMFFY.es.js.map +1 -0
- package/dist/chunks/ListBox-Dcnj8pHo.cjs.js +2 -0
- package/dist/chunks/ListBox-Dcnj8pHo.cjs.js.map +1 -0
- package/dist/chunks/Modal-CMJEwrBs.es.js +197 -0
- package/dist/chunks/Modal-CMJEwrBs.es.js.map +1 -0
- package/dist/chunks/Modal-DjOIA2BE.cjs.js +2 -0
- package/dist/chunks/Modal-DjOIA2BE.cjs.js.map +1 -0
- package/dist/chunks/OverlayArrow-BIjbCSXk.es.js +491 -0
- package/dist/chunks/OverlayArrow-BIjbCSXk.es.js.map +1 -0
- package/dist/chunks/OverlayArrow-ltipYWUv.cjs.js +2 -0
- package/dist/chunks/OverlayArrow-ltipYWUv.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-BnIWveAr.cjs.js +2 -0
- package/dist/chunks/ProgressBar-BnIWveAr.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-Dm2Ge45l.es.js +42 -0
- package/dist/chunks/ProgressBar-Dm2Ge45l.es.js.map +1 -0
- package/dist/chunks/RSPContexts-BdKenzIN.cjs.js.map +1 -1
- package/dist/chunks/RSPContexts-DLgb84PF.es.js +9 -0
- package/dist/chunks/RSPContexts-DLgb84PF.es.js.map +1 -0
- package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js +2 -0
- package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js.map +1 -0
- package/dist/chunks/SSRProvider-eIEwc-2s.es.js +51 -0
- package/dist/chunks/SSRProvider-eIEwc-2s.es.js.map +1 -0
- package/dist/chunks/SelectionIndicator-B27AsfqE.es.js +17 -0
- package/dist/chunks/SelectionIndicator-B27AsfqE.es.js.map +1 -0
- package/dist/chunks/SelectionIndicator-Du7-bvy3.cjs.js +2 -0
- package/dist/chunks/SelectionIndicator-Du7-bvy3.cjs.js.map +1 -0
- package/dist/chunks/SelectionManager-CCETIs4l.cjs.js +2 -0
- package/dist/chunks/SelectionManager-CCETIs4l.cjs.js.map +1 -0
- package/dist/chunks/SelectionManager-bgcDT3lR.es.js +1132 -0
- package/dist/chunks/SelectionManager-bgcDT3lR.es.js.map +1 -0
- package/dist/chunks/Separator-BmVimNX_.es.js +55 -0
- package/dist/chunks/Separator-BmVimNX_.es.js.map +1 -0
- package/dist/chunks/Separator-DyU2njbj.cjs.js +2 -0
- package/dist/chunks/Separator-DyU2njbj.cjs.js.map +1 -0
- package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
- package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
- package/dist/chunks/TextArea-2QJpeMJq.cjs.js +2 -0
- package/dist/chunks/TextArea-2QJpeMJq.cjs.js.map +1 -0
- package/dist/chunks/TextArea-CXEdUjgW.es.js +42 -0
- package/dist/chunks/TextArea-CXEdUjgW.es.js.map +1 -0
- package/dist/chunks/ToggleButton-BqW-X6iJ.es.js +150 -0
- package/dist/chunks/ToggleButton-BqW-X6iJ.es.js.map +1 -0
- package/dist/chunks/ToggleButton-CFG1iLco.cjs.js +2 -0
- package/dist/chunks/ToggleButton-CFG1iLco.cjs.js.map +1 -0
- package/dist/chunks/VisuallyHidden-BLRzeMsq.es.js +41 -0
- package/dist/chunks/VisuallyHidden-BLRzeMsq.es.js.map +1 -0
- package/dist/chunks/VisuallyHidden-CDvZiyH6.cjs.js +2 -0
- package/dist/chunks/VisuallyHidden-CDvZiyH6.cjs.js.map +1 -0
- package/dist/chunks/accordion-AupzDJ2i.cjs.js +2 -0
- package/dist/chunks/accordion-AupzDJ2i.cjs.js.map +1 -0
- package/dist/chunks/accordion-Bu9iEN-Z.es.js +84 -0
- package/dist/chunks/accordion-Bu9iEN-Z.es.js.map +1 -0
- package/dist/chunks/accordion.content-C8iYlvoi.es.js +227 -0
- package/dist/chunks/accordion.content-C8iYlvoi.es.js.map +1 -0
- package/dist/chunks/accordion.content-DwLtYzIy.cjs.js +2 -0
- package/dist/chunks/accordion.content-DwLtYzIy.cjs.js.map +1 -0
- package/dist/chunks/alert-ByKnzJtr.cjs.js +2 -0
- package/dist/chunks/alert-ByKnzJtr.cjs.js.map +1 -0
- package/dist/chunks/alert-Cb8WoJYV.es.js +211 -0
- package/dist/chunks/alert-Cb8WoJYV.es.js.map +1 -0
- package/dist/chunks/avatar-Dx_Cda2J.es.js +47 -0
- package/dist/chunks/avatar-Dx_Cda2J.es.js.map +1 -0
- package/dist/chunks/avatar-wRR1leVi.cjs.js +2 -0
- package/dist/chunks/avatar-wRR1leVi.cjs.js.map +1 -0
- package/dist/chunks/avatar.recipe-BEdxgo-r.es.js +39 -0
- package/dist/chunks/avatar.recipe-BEdxgo-r.es.js.map +1 -0
- package/dist/chunks/avatar.recipe-XvknqPJq.cjs.js +2 -0
- package/dist/chunks/avatar.recipe-XvknqPJq.cjs.js.map +1 -0
- package/dist/chunks/badge-5F6i4KSF.cjs.js +2 -0
- package/dist/chunks/badge-5F6i4KSF.cjs.js.map +1 -0
- package/dist/chunks/badge-CgYpum7D.es.js +17 -0
- package/dist/chunks/badge-CgYpum7D.es.js.map +1 -0
- package/dist/chunks/badge.recipe-Cu6u9yqC.cjs.js.map +1 -1
- package/dist/chunks/badge.recipe-DsV4A_UD.es.js.map +1 -1
- package/dist/chunks/button-DF_RV6pd.cjs.js +2 -0
- package/dist/chunks/button-DF_RV6pd.cjs.js.map +1 -0
- package/dist/chunks/button-czddlTvJ.es.js +65 -0
- package/dist/chunks/button-czddlTvJ.es.js.map +1 -0
- package/dist/chunks/calendar-B--ZxTlQ.es.js +217 -0
- package/dist/chunks/calendar-B--ZxTlQ.es.js.map +1 -0
- package/dist/chunks/calendar-DLSOwy_e.cjs.js +2 -0
- package/dist/chunks/calendar-DLSOwy_e.cjs.js.map +1 -0
- package/dist/chunks/card-B2TxE_Ez.cjs.js +2 -0
- package/dist/chunks/card-B2TxE_Ez.cjs.js.map +1 -0
- package/dist/chunks/card-CEfEgF48.es.js +120 -0
- package/dist/chunks/card-CEfEgF48.es.js.map +1 -0
- package/dist/chunks/checkbox-BAZ2ps7B.es.js +221 -0
- package/dist/chunks/checkbox-BAZ2ps7B.es.js.map +1 -0
- package/dist/chunks/checkbox-CWhwDnrI.cjs.js +2 -0
- package/dist/chunks/checkbox-CWhwDnrI.cjs.js.map +1 -0
- package/dist/chunks/collapsible-motion-D4u7W2de.cjs.js +2 -0
- package/dist/chunks/collapsible-motion-D4u7W2de.cjs.js.map +1 -0
- package/dist/chunks/collapsible-motion-dMfEe4kv.es.js +126 -0
- package/dist/chunks/collapsible-motion-dMfEe4kv.es.js.map +1 -0
- package/dist/chunks/combobox-B2nkVE2H.cjs.js +2 -0
- package/dist/chunks/combobox-B2nkVE2H.cjs.js.map +1 -0
- package/dist/chunks/combobox-COyroO64.es.js +2497 -0
- package/dist/chunks/combobox-COyroO64.es.js.map +1 -0
- package/dist/chunks/context-CyT9C4U4.cjs.js +2 -0
- package/dist/chunks/context-CyT9C4U4.cjs.js.map +1 -0
- package/dist/chunks/context-DW7UvQ8z.es.js +108 -0
- package/dist/chunks/context-DW7UvQ8z.es.js.map +1 -0
- package/dist/chunks/data-table-BzY3lLyR.cjs.js +2 -0
- package/dist/chunks/data-table-BzY3lLyR.cjs.js.map +1 -0
- package/dist/chunks/data-table-C0rC7Jgu.es.js +4384 -0
- package/dist/chunks/data-table-C0rC7Jgu.es.js.map +1 -0
- package/dist/chunks/date-input-Cnlg-VXW.es.js +21 -0
- package/dist/chunks/date-input-Cnlg-VXW.es.js.map +1 -0
- package/dist/chunks/date-input-DlQD1DQ3.cjs.js +2 -0
- package/dist/chunks/date-input-DlQD1DQ3.cjs.js.map +1 -0
- package/dist/chunks/date-picker-8kdn6Ih5.es.js +218 -0
- package/dist/chunks/date-picker-8kdn6Ih5.es.js.map +1 -0
- package/dist/chunks/date-picker-CxJ6zMkz.cjs.js +2 -0
- package/dist/chunks/date-picker-CxJ6zMkz.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-B2VUcKjG.cjs.js +2 -0
- package/dist/chunks/date-range-picker-B2VUcKjG.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-Di9p8cKs.es.js +356 -0
- package/dist/chunks/date-range-picker-Di9p8cKs.es.js.map +1 -0
- package/dist/chunks/date-range-picker-field-D3tLPzMb.es.js +61 -0
- package/dist/chunks/date-range-picker-field-D3tLPzMb.es.js.map +1 -0
- package/dist/chunks/date-range-picker-field-DipL5QZq.cjs.js +2 -0
- package/dist/chunks/date-range-picker-field-DipL5QZq.cjs.js.map +1 -0
- package/dist/chunks/dialog-qw6IMWj3.cjs.js +2 -0
- package/dist/chunks/dialog-qw6IMWj3.cjs.js.map +1 -0
- package/dist/chunks/dialog-z8EM12xr.es.js +305 -0
- package/dist/chunks/dialog-z8EM12xr.es.js.map +1 -0
- package/dist/chunks/draggable-list-B0MpgfeC.es.js +4305 -0
- package/dist/chunks/draggable-list-B0MpgfeC.es.js.map +1 -0
- package/dist/chunks/draggable-list-DNQAZADx.cjs.js +3 -0
- package/dist/chunks/draggable-list-DNQAZADx.cjs.js.map +1 -0
- package/dist/chunks/drawer-BZBluK-I.es.js +312 -0
- package/dist/chunks/drawer-BZBluK-I.es.js.map +1 -0
- package/dist/chunks/drawer-DfJY_5pD.cjs.js +2 -0
- package/dist/chunks/drawer-DfJY_5pD.cjs.js.map +1 -0
- package/dist/chunks/extract-style-props-BilMyFTD.cjs.js +2 -0
- package/dist/chunks/extract-style-props-BilMyFTD.cjs.js.map +1 -0
- package/dist/chunks/extract-style-props-DChosa6I.es.js +11 -0
- package/dist/chunks/extract-style-props-DChosa6I.es.js.map +1 -0
- package/dist/chunks/field-errors-ClQprmQz.es.js.map +1 -1
- package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +1 -1
- package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -1
- package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -1
- package/dist/chunks/focusSafely-Cwb0Tyy6.es.js +27 -0
- package/dist/chunks/focusSafely-Cwb0Tyy6.es.js.map +1 -0
- package/dist/chunks/focusSafely-Dvxmj9Tu.cjs.js +2 -0
- package/dist/chunks/focusSafely-Dvxmj9Tu.cjs.js.map +1 -0
- package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
- package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
- package/dist/chunks/form-field-BqlkPY29.es.js +358 -0
- package/dist/chunks/form-field-BqlkPY29.es.js.map +1 -0
- package/dist/chunks/form-field-lALRYL6D.cjs.js +2 -0
- package/dist/chunks/form-field-lALRYL6D.cjs.js.map +1 -0
- package/dist/chunks/getScrollParent-MZgwmCKW.es.js +10 -0
- package/dist/chunks/getScrollParent-MZgwmCKW.es.js.map +1 -0
- package/dist/chunks/getScrollParent-oFZOwvRj.cjs.js +2 -0
- package/dist/chunks/getScrollParent-oFZOwvRj.cjs.js.map +1 -0
- package/dist/chunks/group-CCBgdph2.es.js +13 -0
- package/dist/chunks/group-CCBgdph2.es.js.map +1 -0
- package/dist/chunks/group-Cjq5lNQD.cjs.js +2 -0
- package/dist/chunks/group-Cjq5lNQD.cjs.js.map +1 -0
- package/dist/chunks/heading-DWweWKGQ.cjs.js +2 -0
- package/dist/chunks/heading-DWweWKGQ.cjs.js.map +1 -0
- package/dist/chunks/heading-nfjoR4vL.es.js +25 -0
- package/dist/chunks/heading-nfjoR4vL.es.js.map +1 -0
- package/dist/chunks/icon-button-BUmqYcIF.cjs.js +2 -0
- package/dist/chunks/icon-button-BUmqYcIF.cjs.js.map +1 -0
- package/dist/chunks/icon-button-DgL7XNUZ.es.js +14 -0
- package/dist/chunks/icon-button-DgL7XNUZ.es.js.map +1 -0
- package/dist/chunks/icon-toggle-button-BKmjmlZt.es.js +13 -0
- package/dist/chunks/icon-toggle-button-BKmjmlZt.es.js.map +1 -0
- package/dist/chunks/icon-toggle-button-D3spgxe2.cjs.js +2 -0
- package/dist/chunks/icon-toggle-button-D3spgxe2.cjs.js.map +1 -0
- package/dist/chunks/index-BEgCT-l6.es.js +5640 -0
- package/dist/chunks/index-BEgCT-l6.es.js.map +1 -0
- package/dist/chunks/index-DzRjEtIu.cjs.js +34 -0
- package/dist/chunks/index-DzRjEtIu.cjs.js.map +1 -0
- package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
- package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
- package/dist/chunks/kbd-Bl5Ncm2d.es.js +15 -0
- package/dist/chunks/kbd-Bl5Ncm2d.es.js.map +1 -0
- package/dist/chunks/kbd-tKeWcdmy.cjs.js +2 -0
- package/dist/chunks/kbd-tKeWcdmy.cjs.js.map +1 -0
- package/dist/chunks/link-BMUyXcmC.es.js +48 -0
- package/dist/chunks/link-BMUyXcmC.es.js.map +1 -0
- package/dist/chunks/link-CI7W-6L3.cjs.js +2 -0
- package/dist/chunks/link-CI7W-6L3.cjs.js.map +1 -0
- package/dist/chunks/loading-spinner-DF6c3rBM.es.js +59 -0
- package/dist/chunks/loading-spinner-DF6c3rBM.es.js.map +1 -0
- package/dist/chunks/loading-spinner-DsKcjJ2b.cjs.js +2 -0
- package/dist/chunks/loading-spinner-DsKcjJ2b.cjs.js.map +1 -0
- package/dist/chunks/localized-field-CtLqzEnl.cjs.js +2 -0
- package/dist/chunks/localized-field-CtLqzEnl.cjs.js.map +1 -0
- package/dist/chunks/localized-field-XLDcWlU1.es.js +470 -0
- package/dist/chunks/localized-field-XLDcWlU1.es.js.map +1 -0
- package/dist/chunks/make-element-focusable-7-aXFtDJ.es.js +25 -0
- package/dist/chunks/make-element-focusable-7-aXFtDJ.es.js.map +1 -0
- package/dist/chunks/make-element-focusable-Cdmdc8sd.cjs.js +2 -0
- package/dist/chunks/make-element-focusable-Cdmdc8sd.cjs.js.map +1 -0
- package/dist/chunks/menu-C3Ovi5Mr.es.js +256 -0
- package/dist/chunks/menu-C3Ovi5Mr.es.js.map +1 -0
- package/dist/chunks/menu-Vj3cVc_v.cjs.js +2 -0
- package/dist/chunks/menu-Vj3cVc_v.cjs.js.map +1 -0
- package/dist/chunks/mergeProps-CxnHrnow.cjs.js +2 -0
- package/dist/chunks/mergeProps-CxnHrnow.cjs.js.map +1 -0
- package/dist/chunks/mergeProps-Dsl8k3Ig.es.js +130 -0
- package/dist/chunks/mergeProps-Dsl8k3Ig.es.js.map +1 -0
- package/dist/chunks/money-input-B2tSXXU9.cjs.js +2 -0
- package/dist/chunks/money-input-B2tSXXU9.cjs.js.map +1 -0
- package/dist/chunks/money-input-BEek-VSq.es.js +525 -0
- package/dist/chunks/money-input-BEek-VSq.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-D5vbZHyU.es.js +64 -0
- package/dist/chunks/multiline-text-input-D5vbZHyU.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-G1ZSL7hm.cjs.js +2 -0
- package/dist/chunks/multiline-text-input-G1ZSL7hm.cjs.js.map +1 -0
- package/dist/chunks/nimbus-i18n-provider-BbsapOze.cjs.js +2 -0
- package/dist/chunks/nimbus-i18n-provider-BbsapOze.cjs.js.map +1 -0
- package/dist/chunks/nimbus-i18n-provider-CZh1r8F5.es.js +11 -0
- package/dist/chunks/nimbus-i18n-provider-CZh1r8F5.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-BHwVMxgZ.es.js +102 -0
- package/dist/chunks/nimbus-provider-BHwVMxgZ.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-DHZ_RRPR.cjs.js +2 -0
- package/dist/chunks/nimbus-provider-DHZ_RRPR.cjs.js.map +1 -0
- package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -1
- package/dist/chunks/number-dMxJejI6.es.js.map +1 -1
- package/dist/chunks/number-input-CwrgDAWw.cjs.js +2 -0
- package/dist/chunks/number-input-CwrgDAWw.cjs.js.map +1 -0
- package/dist/chunks/number-input-DrhSvm6o.es.js +691 -0
- package/dist/chunks/number-input-DrhSvm6o.es.js.map +1 -0
- package/dist/chunks/openLink-BNz58j4a.es.js +105 -0
- package/dist/chunks/openLink-BNz58j4a.es.js.map +1 -0
- package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -1
- package/dist/chunks/pagination-C6OYOaIl.cjs.js +2 -0
- package/dist/chunks/pagination-C6OYOaIl.cjs.js.map +1 -0
- package/dist/chunks/pagination-aj1F0182.es.js +210 -0
- package/dist/chunks/pagination-aj1F0182.es.js.map +1 -0
- package/dist/chunks/password-input-BILx_1d0.cjs.js +2 -0
- package/dist/chunks/password-input-BILx_1d0.cjs.js.map +1 -0
- package/dist/chunks/password-input-DTPr52a3.es.js +54 -0
- package/dist/chunks/password-input-DTPr52a3.es.js.map +1 -0
- package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -1
- package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -1
- package/dist/chunks/popover-BAIwOPdC.es.js +14 -0
- package/dist/chunks/popover-BAIwOPdC.es.js.map +1 -0
- package/dist/chunks/popover-DY7ASSCU.cjs.js +2 -0
- package/dist/chunks/popover-DY7ASSCU.cjs.js.map +1 -0
- package/dist/chunks/progress-bar-NAFgbTy5.cjs.js +2 -0
- package/dist/chunks/progress-bar-NAFgbTy5.cjs.js.map +1 -0
- package/dist/chunks/progress-bar-vRz1k6ol.es.js +76 -0
- package/dist/chunks/progress-bar-vRz1k6ol.es.js.map +1 -0
- package/dist/chunks/radio-input-C2lCxDiv.es.js +376 -0
- package/dist/chunks/radio-input-C2lCxDiv.es.js.map +1 -0
- package/dist/chunks/radio-input-CRvjsU1E.cjs.js +2 -0
- package/dist/chunks/radio-input-CRvjsU1E.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-BagHIF-Y.es.js +219 -0
- package/dist/chunks/range-calendar-BagHIF-Y.es.js.map +1 -0
- package/dist/chunks/range-calendar-sHWelH3C.cjs.js +2 -0
- package/dist/chunks/range-calendar-sHWelH3C.cjs.js.map +1 -0
- package/dist/chunks/rich-text-input-B4ksKYJh.cjs.js +10 -0
- package/dist/chunks/rich-text-input-B4ksKYJh.cjs.js.map +1 -0
- package/dist/chunks/rich-text-input-CZqXRWdM.es.js +1200 -0
- package/dist/chunks/rich-text-input-CZqXRWdM.es.js.map +1 -0
- package/dist/chunks/scoped-search-input-BKTc1h-7.cjs.js +2 -0
- package/dist/chunks/scoped-search-input-BKTc1h-7.cjs.js.map +1 -0
- package/dist/chunks/scoped-search-input-DY4w22Ki.es.js +152 -0
- package/dist/chunks/scoped-search-input-DY4w22Ki.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-B7D07fJk.es.js +96 -0
- package/dist/chunks/scrollIntoView-B7D07fJk.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-BE5bh59O.cjs.js +2 -0
- package/dist/chunks/scrollIntoView-BE5bh59O.cjs.js.map +1 -0
- package/dist/chunks/search-input-Bl0EswfK.cjs.js +2 -0
- package/dist/chunks/search-input-Bl0EswfK.cjs.js.map +1 -0
- package/dist/chunks/search-input-CMrPbAUI.es.js +364 -0
- package/dist/chunks/search-input-CMrPbAUI.es.js.map +1 -0
- package/dist/chunks/select-B2MAR-fq.cjs.js +2 -0
- package/dist/chunks/select-B2MAR-fq.cjs.js.map +1 -0
- package/dist/chunks/select-DG6qOekv.es.js +770 -0
- package/dist/chunks/select-DG6qOekv.es.js.map +1 -0
- package/dist/chunks/separator-B-ibkWW-.es.js +24 -0
- package/dist/chunks/separator-B-ibkWW-.es.js.map +1 -0
- package/dist/chunks/separator-DYCn6JPo.cjs.js +2 -0
- package/dist/chunks/separator-DYCn6JPo.cjs.js.map +1 -0
- package/dist/chunks/split-button-BpZ8jMvw.es.js +106 -0
- package/dist/chunks/split-button-BpZ8jMvw.es.js.map +1 -0
- package/dist/chunks/split-button-C99oShiQ.cjs.js +2 -0
- package/dist/chunks/split-button-C99oShiQ.cjs.js.map +1 -0
- package/dist/chunks/switch-BzYS9qlr.cjs.js +2 -0
- package/dist/chunks/switch-BzYS9qlr.cjs.js.map +1 -0
- package/dist/chunks/switch-_TfZ37Nm.es.js +67 -0
- package/dist/chunks/switch-_TfZ37Nm.es.js.map +1 -0
- package/dist/chunks/tabs-HOHhoLn5.es.js +502 -0
- package/dist/chunks/tabs-HOHhoLn5.es.js.map +1 -0
- package/dist/chunks/tabs-gitNliDG.cjs.js +2 -0
- package/dist/chunks/tabs-gitNliDG.cjs.js.map +1 -0
- package/dist/chunks/tag-group-Aa30DcsU.es.js +612 -0
- package/dist/chunks/tag-group-Aa30DcsU.es.js.map +1 -0
- package/dist/chunks/tag-group-Ci_H89V0.cjs.js +2 -0
- package/dist/chunks/tag-group-Ci_H89V0.cjs.js.map +1 -0
- package/dist/chunks/text-BtRhIklG.cjs.js +2 -0
- package/dist/chunks/text-BtRhIklG.cjs.js.map +1 -0
- package/dist/chunks/text-CIb_VDvO.es.js +24 -0
- package/dist/chunks/text-CIb_VDvO.es.js.map +1 -0
- package/dist/chunks/text-input-D3KWm-NF.cjs.js +2 -0
- package/dist/chunks/text-input-D3KWm-NF.cjs.js.map +1 -0
- package/dist/chunks/text-input-DOTYCJyJ.es.js +78 -0
- package/dist/chunks/text-input-DOTYCJyJ.es.js.map +1 -0
- package/dist/chunks/text-input-field-BgQ4Te_a.cjs.js +2 -0
- package/dist/chunks/text-input-field-BgQ4Te_a.cjs.js.map +1 -0
- package/dist/chunks/text-input-field-CkcoMrv2.es.js +55 -0
- package/dist/chunks/text-input-field-CkcoMrv2.es.js.map +1 -0
- package/dist/chunks/time-input-BYGEbCd6.cjs.js +2 -0
- package/dist/chunks/time-input-BYGEbCd6.cjs.js.map +1 -0
- package/dist/chunks/time-input-KrO-X3uW.es.js +21 -0
- package/dist/chunks/time-input-KrO-X3uW.es.js.map +1 -0
- package/dist/chunks/toggle-button-BKXhwp3e.cjs.js +2 -0
- package/dist/chunks/toggle-button-BKXhwp3e.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-C03AKN2I.es.js +30 -0
- package/dist/chunks/toggle-button-C03AKN2I.es.js.map +1 -0
- package/dist/chunks/toggle-button-group-BWpmMkEz.es.js +29 -0
- package/dist/chunks/toggle-button-group-BWpmMkEz.es.js.map +1 -0
- package/dist/chunks/toggle-button-group-Lfn3zYmC.cjs.js +2 -0
- package/dist/chunks/toggle-button-group-Lfn3zYmC.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-group.recipe-COF-yHYR.cjs.js +2 -0
- package/dist/chunks/toggle-button-group.recipe-COF-yHYR.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-group.recipe-Cl3PTeGf.es.js +230 -0
- package/dist/chunks/toggle-button-group.recipe-Cl3PTeGf.es.js.map +1 -0
- package/dist/chunks/toolbar-D0WjTxz2.es.js +61 -0
- package/dist/chunks/toolbar-D0WjTxz2.es.js.map +1 -0
- package/dist/chunks/toolbar-DMowluJ2.cjs.js +2 -0
- package/dist/chunks/toolbar-DMowluJ2.cjs.js.map +1 -0
- package/dist/chunks/tooltip-Bv-QlJ1O.cjs.js +2 -0
- package/dist/chunks/tooltip-Bv-QlJ1O.cjs.js.map +1 -0
- package/dist/chunks/tooltip-D3QrrizN.es.js +301 -0
- package/dist/chunks/tooltip-D3QrrizN.es.js.map +1 -0
- package/dist/chunks/useButton-BwsmYrml.cjs.js +2 -0
- package/dist/chunks/useButton-BwsmYrml.cjs.js.map +1 -0
- package/dist/chunks/useButton-CiPiehgC.es.js +57 -0
- package/dist/chunks/useButton-CiPiehgC.es.js.map +1 -0
- package/dist/chunks/useCollator-BjnMaGJd.es.js +12 -0
- package/dist/chunks/useCollator-BjnMaGJd.es.js.map +1 -0
- package/dist/chunks/useCollator-Lsi9B90Z.cjs.js +2 -0
- package/dist/chunks/useCollator-Lsi9B90Z.cjs.js.map +1 -0
- package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
- package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
- package/dist/chunks/useDateFormatter-886GJ5w1.es.js +1632 -0
- package/dist/chunks/useDateFormatter-886GJ5w1.es.js.map +1 -0
- package/dist/chunks/useDateFormatter-WCaFojul.cjs.js +2 -0
- package/dist/chunks/useDateFormatter-WCaFojul.cjs.js.map +1 -0
- package/dist/chunks/useDisclosureState-CWZTR2xM.es.js +87 -0
- package/dist/chunks/useDisclosureState-CWZTR2xM.es.js.map +1 -0
- package/dist/chunks/useDisclosureState-mIvoKolL.cjs.js +2 -0
- package/dist/chunks/useDisclosureState-mIvoKolL.cjs.js.map +1 -0
- package/dist/chunks/useEvent-CRo5BZDX.es.js +22 -0
- package/dist/chunks/useEvent-CRo5BZDX.es.js.map +1 -0
- package/dist/chunks/useEvent-D0r31Azw.cjs.js +2 -0
- package/dist/chunks/useEvent-D0r31Azw.cjs.js.map +1 -0
- package/dist/chunks/useField-CHrpmkxe.es.js +36 -0
- package/dist/chunks/useField-CHrpmkxe.es.js.map +1 -0
- package/dist/chunks/useField-lK6K_h1G.cjs.js +2 -0
- package/dist/chunks/useField-lK6K_h1G.cjs.js.map +1 -0
- package/dist/chunks/useFilter-BgT0isJK.es.js +36 -0
- package/dist/chunks/useFilter-BgT0isJK.es.js.map +1 -0
- package/dist/chunks/useFilter-CAVKltBB.cjs.js +2 -0
- package/dist/chunks/useFilter-CAVKltBB.cjs.js.map +1 -0
- package/dist/chunks/useFocus-9leARHB4.cjs.js +2 -0
- package/dist/chunks/useFocus-9leARHB4.cjs.js.map +1 -0
- package/dist/chunks/useFocus-CrgTusM3.es.js +29 -0
- package/dist/chunks/useFocus-CrgTusM3.es.js.map +1 -0
- package/dist/chunks/useFocusRing-B7_ogYbr.cjs.js +2 -0
- package/dist/chunks/useFocusRing-B7_ogYbr.cjs.js.map +1 -0
- package/dist/chunks/useFocusRing-FPt2Rwil.es.js +35 -0
- package/dist/chunks/useFocusRing-FPt2Rwil.es.js.map +1 -0
- package/dist/chunks/useFocusVisible-B3HmFL2Q.es.js +111 -0
- package/dist/chunks/useFocusVisible-B3HmFL2Q.es.js.map +1 -0
- package/dist/chunks/useFocusVisible-DfE3Z6QO.cjs.js +2 -0
- package/dist/chunks/useFocusVisible-DfE3Z6QO.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-CX8GdFVw.cjs.js +2 -0
- package/dist/chunks/useFocusWithin-CX8GdFVw.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-EFOG-Jn1.es.js +56 -0
- package/dist/chunks/useFocusWithin-EFOG-Jn1.es.js.map +1 -0
- package/dist/chunks/useFocusable-C7VjcJHL.cjs.js +2 -0
- package/dist/chunks/useFocusable-C7VjcJHL.cjs.js.map +1 -0
- package/dist/chunks/useFocusable-Cs6i58WP.es.js +77 -0
- package/dist/chunks/useFocusable-Cs6i58WP.es.js.map +1 -0
- package/dist/chunks/useFormReset-BGuIA_u2.es.js +21 -0
- package/dist/chunks/useFormReset-BGuIA_u2.es.js.map +1 -0
- package/dist/chunks/useFormReset-COoih4uI.cjs.js +2 -0
- package/dist/chunks/useFormReset-COoih4uI.cjs.js.map +1 -0
- package/dist/chunks/useFormValidation-BCVLtR0U.es.js +202 -0
- package/dist/chunks/useFormValidation-BCVLtR0U.es.js.map +1 -0
- package/dist/chunks/useFormValidation-BfTV0EQ1.cjs.js +2 -0
- package/dist/chunks/useFormValidation-BfTV0EQ1.cjs.js.map +1 -0
- package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
- package/dist/chunks/useGlobalListeners-CwGh-cDn.cjs.js +2 -0
- package/dist/chunks/useGlobalListeners-CwGh-cDn.cjs.js.map +1 -0
- package/dist/chunks/useGridListItem-BETI-KGO.cjs.js +2 -0
- package/dist/chunks/useGridListItem-BETI-KGO.cjs.js.map +1 -0
- package/dist/chunks/useGridListItem-DAGp36bD.es.js +811 -0
- package/dist/chunks/useGridListItem-DAGp36bD.es.js.map +1 -0
- package/dist/chunks/useHasTabbableChild-DXq72IE3.es.js +35 -0
- package/dist/chunks/useHasTabbableChild-DXq72IE3.es.js.map +1 -0
- package/dist/chunks/useHasTabbableChild-ytnnMmC_.cjs.js +2 -0
- package/dist/chunks/useHasTabbableChild-ytnnMmC_.cjs.js.map +1 -0
- package/dist/chunks/useHover-BQRSM3qT.es.js +86 -0
- package/dist/chunks/useHover-BQRSM3qT.es.js.map +1 -0
- package/dist/chunks/useHover-xrdh1GG9.cjs.js +2 -0
- package/dist/chunks/useHover-xrdh1GG9.cjs.js.map +1 -0
- package/dist/chunks/useLabel-BFqAB17s.cjs.js +2 -0
- package/dist/chunks/useLabel-BFqAB17s.cjs.js.map +1 -0
- package/dist/chunks/useLabel-DQaRD22u.es.js +24 -0
- package/dist/chunks/useLabel-DQaRD22u.es.js.map +1 -0
- package/dist/chunks/useLabels-BDqWMehi.es.js +18 -0
- package/dist/chunks/useLabels-BDqWMehi.es.js.map +1 -0
- package/dist/chunks/useLabels-C_UIaxmz.cjs.js +2 -0
- package/dist/chunks/useLabels-C_UIaxmz.cjs.js.map +1 -0
- package/dist/chunks/useListState-BHLGQlP3.es.js +139 -0
- package/dist/chunks/useListState-BHLGQlP3.es.js.map +1 -0
- package/dist/chunks/useListState-QQtJHpsQ.cjs.js +2 -0
- package/dist/chunks/useListState-QQtJHpsQ.cjs.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-DaRRUvyV.es.js +97 -0
- package/dist/chunks/useLocalizedStringFormatter-DaRRUvyV.es.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-kWoZGAh5.cjs.js +2 -0
- package/dist/chunks/useLocalizedStringFormatter-kWoZGAh5.cjs.js.map +1 -0
- package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js +2 -0
- package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js.map +1 -0
- package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
- package/dist/chunks/usePress-BuLomD_X.es.js +456 -0
- package/dist/chunks/usePress-BuLomD_X.es.js.map +1 -0
- package/dist/chunks/usePress-MEEljcWP.cjs.js +8 -0
- package/dist/chunks/usePress-MEEljcWP.cjs.js.map +1 -0
- package/dist/chunks/useProgressBar--OvVKto2.es.js +48 -0
- package/dist/chunks/useProgressBar--OvVKto2.es.js.map +1 -0
- package/dist/chunks/useProgressBar-C_mJ1JKi.cjs.js +2 -0
- package/dist/chunks/useProgressBar-C_mJ1JKi.cjs.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-B29G7the.es.js +35 -0
- package/dist/chunks/useSingleSelectListState-B29G7the.es.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-CsD7W9nK.cjs.js +2 -0
- package/dist/chunks/useSingleSelectListState-CsD7W9nK.cjs.js.map +1 -0
- package/dist/chunks/useSpinButton-Dyt6kG4o.cjs.js +2 -0
- package/dist/chunks/useSpinButton-Dyt6kG4o.cjs.js.map +1 -0
- package/dist/chunks/useSpinButton-YcV6vlPf.es.js +433 -0
- package/dist/chunks/useSpinButton-YcV6vlPf.es.js.map +1 -0
- package/dist/chunks/useSyncRef-BRCOnlwB.cjs.js +2 -0
- package/dist/chunks/useSyncRef-BRCOnlwB.cjs.js.map +1 -0
- package/dist/chunks/useSyncRef-BpLviItW.es.js +13 -0
- package/dist/chunks/useSyncRef-BpLviItW.es.js.map +1 -0
- package/dist/chunks/useTextField-B1RrrtMI.cjs.js +2 -0
- package/dist/chunks/useTextField-B1RrrtMI.cjs.js.map +1 -0
- package/dist/chunks/useTextField-yuaT8-G4.es.js +91 -0
- package/dist/chunks/useTextField-yuaT8-G4.es.js.map +1 -0
- package/dist/chunks/useToggle-DKP3zVOY.es.js +62 -0
- package/dist/chunks/useToggle-DKP3zVOY.es.js.map +1 -0
- package/dist/chunks/useToggle-DWRQYar0.cjs.js +2 -0
- package/dist/chunks/useToggle-DWRQYar0.cjs.js.map +1 -0
- package/dist/chunks/useToggleState-D7k4zllv.cjs.js +2 -0
- package/dist/chunks/useToggleState-D7k4zllv.cjs.js.map +1 -0
- package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -1
- package/dist/chunks/useToolbar-CbJkugif.es.js +55 -0
- package/dist/chunks/useToolbar-CbJkugif.es.js.map +1 -0
- package/dist/chunks/useToolbar-D0DQSSBf.cjs.js +2 -0
- package/dist/chunks/useToolbar-D0DQSSBf.cjs.js.map +1 -0
- package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
- package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js +2 -0
- package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js.map +1 -0
- package/dist/chunks/utils-B6pV5ewr.es.js +128 -0
- package/dist/chunks/utils-B6pV5ewr.es.js.map +1 -0
- package/dist/chunks/utils-Bv1frUk6.cjs.js +2 -0
- package/dist/chunks/utils-Bv1frUk6.cjs.js.map +1 -0
- package/dist/chunks/utils-DVb3jcp5.cjs.js +2 -0
- package/dist/chunks/utils-DVb3jcp5.cjs.js.map +1 -0
- package/dist/chunks/utils-oAGBWzI5.es.js +190 -0
- package/dist/chunks/utils-oAGBWzI5.es.js.map +1 -0
- package/dist/chunks/visually-hidden-BjtXUoFK.cjs.js +2 -0
- package/dist/chunks/visually-hidden-BjtXUoFK.cjs.js.map +1 -0
- package/dist/chunks/visually-hidden-Dj5CT-u_.es.js +11 -0
- package/dist/chunks/visually-hidden-Dj5CT-u_.es.js.map +1 -0
- package/dist/components/accordion/accordion.d.ts +116 -11
- package/dist/components/accordion/accordion.recipe.d.ts +13 -13
- package/dist/components/accordion/accordion.slots.d.ts +5 -5
- package/dist/components/accordion/accordion.types.d.ts +15 -5
- package/dist/components/accordion/components/accordion.content.d.ts +12 -0
- package/dist/components/accordion/components/accordion.header-right-content.d.ts +13 -0
- package/dist/components/accordion/components/accordion.header.d.ts +13 -0
- package/dist/components/accordion/components/accordion.item.d.ts +13 -0
- package/dist/components/accordion/components/accordion.root.d.ts +12 -0
- package/dist/components/accordion/components/index.d.ts +5 -0
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +8 -7
- package/dist/components/accordion.es.js.map +1 -1
- package/dist/components/alert/alert.d.ts +84 -5
- package/dist/components/alert/alert.recipe.d.ts +1 -23
- package/dist/components/alert/alert.slots.d.ts +8 -13
- package/dist/components/alert/alert.types.d.ts +9 -6
- package/dist/components/alert/components/alert.actions.d.ts +5 -0
- package/dist/components/alert/components/alert.description.d.ts +5 -0
- package/dist/components/alert/components/alert.dismiss-button.d.ts +5 -0
- package/dist/components/alert/components/alert.root.d.ts +2 -4
- package/dist/components/alert/components/alert.title.d.ts +5 -0
- package/dist/components/alert/components/index.d.ts +5 -0
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/avatar/avatar.d.ts +22 -0
- package/dist/components/avatar/avatar.i18n.d.ts +7 -0
- package/dist/components/avatar/avatar.slots.d.ts +1 -1
- package/dist/components/avatar/avatar.types.d.ts +2 -1
- package/dist/components/avatar.cjs +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/badge/badge.slots.d.ts +1 -1
- package/dist/components/badge/badge.types.d.ts +2 -1
- package/dist/components/badge.cjs +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/button/button.d.ts +23 -1
- package/dist/components/button/button.recipe.d.ts +0 -14
- package/dist/components/button/button.slots.d.ts +2 -2
- package/dist/components/button/button.types.d.ts +6 -5
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar/calendar.i18n.d.ts +22 -0
- package/dist/components/calendar/calendar.recipe.d.ts +1 -1
- package/dist/components/calendar/calendar.slots.d.ts +8 -8
- package/dist/components/calendar/calendar.types.d.ts +42 -2
- package/dist/components/calendar/components/index.d.ts +3 -0
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card/card.d.ts +66 -4
- package/dist/components/card/card.recipe.d.ts +1 -1
- package/dist/components/card/card.slots.d.ts +5 -8
- package/dist/components/card/card.types.d.ts +4 -3
- package/dist/components/card/components/card.content.d.ts +5 -0
- package/dist/components/card/components/card.header.d.ts +5 -0
- package/dist/components/card/components/card.root.d.ts +3 -5
- package/dist/components/card/components/index.d.ts +3 -0
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/checkbox/checkbox.slots.d.ts +5 -5
- package/dist/components/checkbox/checkbox.types.d.ts +4 -3
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/collapsible-motion/collapsible-motion.d.ts +1 -3
- package/dist/components/collapsible-motion/collapsible-motion.recipe.d.ts +1 -1
- package/dist/components/collapsible-motion/collapsible-motion.slots.d.ts +2 -2
- package/dist/components/collapsible-motion/collapsible-motion.types.d.ts +4 -3
- package/dist/components/collapsible-motion/components/collapsible-motion-content.d.ts +3 -1
- package/dist/components/collapsible-motion/components/collapsible-motion-root.d.ts +2 -0
- package/dist/components/collapsible-motion/components/collapsible-motion-trigger.d.ts +3 -1
- package/dist/components/collapsible-motion/components/index.d.ts +3 -0
- package/dist/components/collapsible-motion/index.d.ts +1 -1
- package/dist/components/collapsible-motion.cjs +1 -1
- package/dist/components/collapsible-motion.es.js +5 -2
- package/dist/components/combobox/combobox.d.ts +44 -4
- package/dist/components/combobox/combobox.i18n.d.ts +32 -0
- package/dist/components/combobox/combobox.recipe.d.ts +1 -1
- package/dist/components/combobox/combobox.slots.d.ts +15 -13
- package/dist/components/combobox/combobox.types.d.ts +6 -5
- package/dist/components/combobox/components/combobox.leading-element.d.ts +2 -0
- package/dist/components/combobox/components/combobox.multi-select-button-group.d.ts +5 -0
- package/dist/components/combobox/components/combobox.multi-select-root.d.ts +5 -0
- package/dist/components/combobox/components/combobox.multi-select-tag-group.d.ts +5 -0
- package/dist/components/combobox/components/combobox.option-group.d.ts +5 -0
- package/dist/components/combobox/components/combobox.option.d.ts +5 -0
- package/dist/components/combobox/components/combobox.options.d.ts +5 -0
- package/dist/components/combobox/components/combobox.root.d.ts +1 -1
- package/dist/components/combobox/components/combobox.single-select-button-group.d.ts +5 -0
- package/dist/components/combobox/components/combobox.single-select-input.d.ts +5 -0
- package/dist/components/combobox/components/combobox.single-select-root.d.ts +5 -0
- package/dist/components/combobox/components/index.d.ts +11 -0
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +2 -5
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +6 -9
- package/dist/components/data-table/components/data-table.body.d.ts +5 -0
- package/dist/components/data-table/components/data-table.cell.d.ts +9 -1
- package/dist/components/data-table/components/data-table.column.d.ts +5 -0
- package/dist/components/data-table/components/data-table.footer.d.ts +5 -0
- package/dist/components/data-table/components/data-table.header.d.ts +5 -0
- package/dist/components/data-table/components/data-table.layout-settings-panel.d.ts +4 -0
- package/dist/components/data-table/components/data-table.manager.d.ts +9 -0
- package/dist/components/data-table/components/data-table.root.d.ts +5 -0
- package/dist/components/data-table/components/data-table.table.d.ts +5 -0
- package/dist/components/data-table/components/data-table.visible-columns-panel.d.ts +7 -0
- package/dist/components/data-table/components/index.d.ts +10 -0
- package/dist/components/data-table/constants.d.ts +4 -0
- package/dist/components/data-table/data-table.d.ts +235 -13
- package/dist/components/data-table/data-table.i18n.d.ts +157 -0
- package/dist/components/data-table/data-table.recipe.d.ts +1 -1
- package/dist/components/data-table/data-table.slots.d.ts +14 -14
- package/dist/components/data-table/data-table.types.d.ts +21 -7
- package/dist/components/data-table/index.d.ts +1 -0
- package/dist/components/data-table/test-data.d.ts +4 -1
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +10 -8
- package/dist/components/date-input/date-input.slots.d.ts +5 -5
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker/components/date-picker.custom-context.d.ts +6 -0
- package/dist/components/date-picker/components/date-picker.time-input.d.ts +8 -0
- package/dist/components/date-picker/components/index.d.ts +2 -0
- package/dist/components/date-picker/date-picker.i18n.d.ts +1 -2
- package/dist/components/date-picker/date-picker.recipe.d.ts +1 -1
- package/dist/components/date-picker/date-picker.slots.d.ts +6 -6
- package/dist/components/date-picker/date-picker.types.d.ts +2 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts +2 -0
- package/dist/components/date-range-picker/date-range-picker.i18n.d.ts +67 -0
- package/dist/components/date-range-picker/date-range-picker.recipe.d.ts +1 -1
- package/dist/components/date-range-picker/date-range-picker.slots.d.ts +8 -8
- package/dist/components/date-range-picker-field.cjs +2 -0
- package/dist/components/date-range-picker-field.cjs.map +1 -0
- package/dist/components/date-range-picker-field.es.js +5 -0
- package/dist/components/date-range-picker-field.es.js.map +1 -0
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/dialog/components/dialog.body.d.ts +5 -0
- package/dist/components/dialog/components/dialog.close-trigger.d.ts +5 -0
- package/dist/components/dialog/components/dialog.content.d.ts +5 -0
- package/dist/components/dialog/components/dialog.footer.d.ts +5 -0
- package/dist/components/dialog/components/dialog.header.d.ts +5 -0
- package/dist/components/dialog/components/dialog.root.d.ts +5 -0
- package/dist/components/dialog/components/dialog.title.d.ts +5 -0
- package/dist/components/dialog/components/dialog.trigger.d.ts +5 -0
- package/dist/components/dialog/dialog.recipe.d.ts +1 -1
- package/dist/components/dialog/dialog.slots.d.ts +10 -19
- package/dist/components/dialog/dialog.types.d.ts +9 -8
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/draggable-list/components/draggable-list.field.d.ts +12 -1
- package/dist/components/draggable-list/components/draggable-list.item.d.ts +12 -1
- package/dist/components/draggable-list/components/draggable-list.root.d.ts +12 -1
- package/dist/components/draggable-list/components/index.d.ts +3 -0
- package/dist/components/draggable-list/draggable-list.d.ts +13 -6
- package/dist/components/draggable-list/draggable-list.slots.d.ts +4 -4
- package/dist/components/draggable-list/draggable-list.types.d.ts +22 -0
- package/dist/components/draggable-list.cjs +1 -1
- package/dist/components/draggable-list.es.js +1 -1
- package/dist/components/drawer/components/drawer.body.d.ts +5 -0
- package/dist/components/drawer/components/drawer.close-trigger.d.ts +5 -0
- package/dist/components/drawer/components/drawer.content.d.ts +5 -0
- package/dist/components/drawer/components/drawer.footer.d.ts +5 -0
- package/dist/components/drawer/components/drawer.header.d.ts +5 -0
- package/dist/components/drawer/components/drawer.title.d.ts +5 -0
- package/dist/components/drawer/components/drawer.trigger.d.ts +5 -0
- package/dist/components/drawer/drawer.recipe.d.ts +1 -1
- package/dist/components/drawer/drawer.slots.d.ts +10 -10
- package/dist/components/drawer/drawer.types.d.ts +28 -12
- package/dist/components/drawer/index.d.ts +1 -1
- package/dist/components/drawer.cjs +1 -1
- package/dist/components/drawer.es.js +10 -2
- package/dist/components/field-errors/field-errors.d.ts +4 -0
- package/dist/components/field-errors/field-errors.slots.d.ts +4 -6
- package/dist/components/field-errors/field-errors.types.d.ts +7 -21
- package/dist/components/field-errors/index.d.ts +1 -1
- package/dist/components/fields.cjs +2 -0
- package/dist/components/fields.cjs.map +1 -0
- package/dist/components/fields.es.js +7 -0
- package/dist/components/fields.es.js.map +1 -0
- package/dist/components/form-field/components/form-field.description.d.ts +9 -1
- package/dist/components/form-field/components/form-field.error.d.ts +9 -1
- package/dist/components/form-field/components/form-field.info-box.d.ts +9 -1
- package/dist/components/form-field/components/form-field.input.d.ts +9 -1
- package/dist/components/form-field/components/form-field.label.d.ts +9 -1
- package/dist/components/form-field/components/form-field.root.d.ts +6 -3
- package/dist/components/form-field/components/index.d.ts +6 -0
- package/dist/components/form-field/form-field.d.ts +142 -14
- package/dist/components/form-field/form-field.recipe.d.ts +1 -1
- package/dist/components/form-field/form-field.slots.d.ts +7 -6
- package/dist/components/form-field/form-field.types.d.ts +6 -5
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/group.cjs +1 -1
- package/dist/components/group.es.js +1 -1
- package/dist/components/heading.cjs +1 -1
- package/dist/components/heading.es.js +1 -1
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/inline-svg/inline-svg.slots.d.ts +1 -1
- package/dist/components/kbd.cjs +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/link/link.slots.d.ts +1 -1
- package/dist/components/link.cjs +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/loading-spinner/loading-spinner.i18n.d.ts +1 -2
- package/dist/components/loading-spinner/loading-spinner.recipe.d.ts +1 -1
- package/dist/components/loading-spinner/loading-spinner.slots.d.ts +5 -2
- package/dist/components/loading-spinner/loading-spinner.types.d.ts +3 -6
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/localized-field/components/index.d.ts +2 -0
- package/dist/components/localized-field/components/localized-field.locale-field.d.ts +9 -0
- package/dist/components/localized-field/components/localized-field.root.d.ts +9 -0
- package/dist/components/localized-field/localized-field.d.ts +32 -4
- package/dist/components/localized-field/localized-field.i18n.d.ts +1 -2
- package/dist/components/localized-field/localized-field.recipe.d.ts +1 -1
- package/dist/components/localized-field/localized-field.slots.d.ts +10 -10
- package/dist/components/localized-field/localized-field.types.d.ts +11 -10
- package/dist/components/localized-field/utils/localized-field.utils.d.ts +7 -7
- package/dist/components/localized-field/utils/test-data.d.ts +2 -2
- package/dist/components/localized-field.cjs +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/menu/components/index.d.ts +7 -0
- package/dist/components/menu/components/menu.content.d.ts +5 -0
- package/dist/components/menu/components/menu.item.d.ts +5 -0
- package/dist/components/menu/components/menu.root.d.ts +5 -0
- package/dist/components/menu/components/menu.section-label.d.ts +3 -1
- package/dist/components/menu/components/menu.section.d.ts +5 -0
- package/dist/components/menu/components/menu.submenu-trigger.d.ts +5 -0
- package/dist/components/menu/components/menu.submenu.d.ts +5 -0
- package/dist/components/menu/components/menu.trigger.d.ts +5 -0
- package/dist/components/menu/menu.d.ts +117 -8
- package/dist/components/menu/menu.recipe.d.ts +1 -1
- package/dist/components/menu/menu.slots.d.ts +8 -8
- package/dist/components/menu/menu.types.d.ts +9 -3
- package/dist/components/money-input/index.d.ts +1 -1
- package/dist/components/money-input/money-input.d.ts +6 -6
- package/dist/components/money-input/money-input.i18n.d.ts +1 -2
- package/dist/components/money-input/money-input.recipe.d.ts +3 -7
- package/dist/components/money-input/money-input.slots.d.ts +6 -6
- package/dist/components/money-input/money-input.types.d.ts +12 -11
- package/dist/components/money-input/utils/parsing-utilities.d.ts +10 -10
- package/dist/components/money-input/utils/static-methods.d.ts +5 -5
- package/dist/components/money-input.cjs +1 -1
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/multiline-text-input/hooks/use-autogrow.d.ts +2 -2
- package/dist/components/multiline-text-input/multiline-text-input.recipe.d.ts +1 -1
- package/dist/components/multiline-text-input/multiline-text-input.slots.d.ts +3 -3
- package/dist/components/multiline-text-input/multiline-text-input.types.d.ts +2 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-i18n-provider/index.d.ts +2 -0
- package/dist/components/nimbus-i18n-provider/nimbus-i18n-provider.d.ts +16 -0
- package/dist/components/nimbus-i18n-provider/nimbus-i18n-provider.types.d.ts +16 -0
- package/dist/components/nimbus-i18n-provider.cjs +2 -0
- package/dist/components/nimbus-i18n-provider.cjs.map +1 -0
- package/dist/components/nimbus-i18n-provider.es.js +5 -0
- package/dist/components/nimbus-i18n-provider.es.js.map +1 -0
- package/dist/components/nimbus-provider/index.d.ts +1 -0
- package/dist/components/nimbus-provider/nimbus-provider.d.ts +1 -1
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +3 -1
- package/dist/components/nimbus-provider.es.js.map +1 -1
- package/dist/components/number-input/number-input.i18n.d.ts +1 -2
- package/dist/components/number-input/number-input.recipe.d.ts +1 -1
- package/dist/components/number-input/number-input.slots.d.ts +6 -6
- package/dist/components/number-input/number-input.types.d.ts +3 -2
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/pagination/pagination.i18n.d.ts +42 -0
- package/dist/components/pagination.cjs +1 -1
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/password-input/password-input.i18n.d.ts +1 -2
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/patterns.cjs +2 -0
- package/dist/components/patterns.cjs.map +1 -0
- package/dist/components/patterns.es.js +7 -0
- package/dist/components/patterns.es.js.map +1 -0
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar/progress-bar.recipe.d.ts +1 -1
- package/dist/components/progress-bar/progress-bar.slots.d.ts +6 -6
- package/dist/components/progress-bar/progress-bar.types.d.ts +4 -4
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input/components/index.d.ts +2 -0
- package/dist/components/radio-input/components/radio-input.option.d.ts +8 -0
- package/dist/components/radio-input/components/radio-input.root.d.ts +2 -1
- package/dist/components/radio-input/radio-input.d.ts +28 -3
- package/dist/components/radio-input/radio-input.recipe.d.ts +1 -1
- package/dist/components/radio-input/radio-input.slots.d.ts +2 -2
- package/dist/components/radio-input/radio-input.types.d.ts +3 -2
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +2 -4
- package/dist/components/range-calendar/components/index.d.ts +3 -0
- package/dist/components/range-calendar/components/range-calendar.grids.d.ts +6 -0
- package/dist/components/range-calendar/components/range-calendar.header.d.ts +6 -0
- package/dist/components/range-calendar/range-calendar.d.ts +15 -1
- package/dist/components/range-calendar/range-calendar.i18n.d.ts +22 -0
- package/dist/components/range-calendar/range-calendar.recipe.d.ts +1 -1
- package/dist/components/range-calendar/range-calendar.slots.d.ts +8 -8
- package/dist/components/range-calendar/range-calendar.types.d.ts +3 -2
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input/components/index.d.ts +3 -0
- package/dist/components/rich-text-input/constants/text-styles.d.ts +6 -1
- package/dist/components/rich-text-input/hooks/use-toolbar-state.d.ts +4 -2
- package/dist/components/rich-text-input/rich-text-input.i18n.d.ts +122 -0
- package/dist/components/rich-text-input/rich-text-input.slots.d.ts +2 -2
- package/dist/components/rich-text-input/utils/index.d.ts +0 -1
- package/dist/components/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/scoped-search-input/scoped-search-input.d.ts +10 -0
- package/dist/components/scoped-search-input/scoped-search-input.i18n.d.ts +1 -12
- package/dist/components/scoped-search-input/scoped-search-input.recipe.d.ts +1 -1
- package/dist/components/scoped-search-input/scoped-search-input.slots.d.ts +6 -6
- package/dist/components/scoped-search-input/scoped-search-input.types.d.ts +2 -1
- package/dist/components/scoped-search-input.cjs +1 -1
- package/dist/components/scoped-search-input.cjs.map +1 -1
- package/dist/components/scoped-search-input.es.js +2 -150
- package/dist/components/scoped-search-input.es.js.map +1 -1
- package/dist/components/search-input/search-input.d.ts +3 -0
- package/dist/components/search-input/search-input.i18n.d.ts +1 -2
- package/dist/components/search-input/search-input.recipe.d.ts +1 -1
- package/dist/components/search-input/search-input.slots.d.ts +5 -12
- package/dist/components/search-input/search-input.types.d.ts +2 -1
- package/dist/components/search-input.cjs +1 -1
- package/dist/components/search-input.es.js +1 -1
- package/dist/components/select/components/index.d.ts +5 -0
- package/dist/components/select/components/select.clear-button.d.ts +5 -0
- package/dist/components/select/components/select.option-group.d.ts +5 -0
- package/dist/components/select/components/select.option.d.ts +5 -0
- package/dist/components/select/components/select.options.d.ts +5 -0
- package/dist/components/select/components/select.root.d.ts +2 -4
- package/dist/components/select/select.d.ts +0 -10
- package/dist/components/select/select.i18n.d.ts +1 -2
- package/dist/components/select/select.recipe.d.ts +1 -1
- package/dist/components/select/select.slots.d.ts +7 -7
- package/dist/components/select/select.types.d.ts +5 -5
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +2 -6
- package/dist/components/separator/separator.types.d.ts +2 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/spacer/spacer.types.d.ts +2 -1
- package/dist/components/split-button/split-button.d.ts +0 -1
- package/dist/components/split-button/split-button.i18n.d.ts +7 -0
- package/dist/components/split-button/split-button.slots.d.ts +3 -3
- package/dist/components/split-button/split-button.types.d.ts +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch/switch.recipe.d.ts +8 -8
- package/dist/components/switch/switch.slots.d.ts +3 -3
- package/dist/components/switch/switch.types.d.ts +3 -2
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/table/table.recipe.d.ts +1 -1
- package/dist/components/tabs/components/index.d.ts +5 -0
- package/dist/components/tabs/components/tabs.list.d.ts +3 -1
- package/dist/components/tabs/components/tabs.panel.d.ts +1 -1
- package/dist/components/tabs/components/tabs.panels.d.ts +1 -1
- package/dist/components/tabs/components/tabs.root.d.ts +1 -1
- package/dist/components/tabs/components/tabs.tab.d.ts +3 -1
- package/dist/components/tabs/tabs.d.ts +98 -6
- package/dist/components/tabs/tabs.recipe.d.ts +1 -1
- package/dist/components/tabs/tabs.slots.d.ts +3 -3
- package/dist/components/tabs/tabs.types.d.ts +6 -5
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.es.js +6 -6
- package/dist/components/tag-group/components/index.d.ts +3 -0
- package/dist/components/tag-group/components/tag-group.root.d.ts +2 -4
- package/dist/components/tag-group/components/tag-group.tag-list.d.ts +5 -0
- package/dist/components/tag-group/components/tag-group.tag.d.ts +5 -0
- package/dist/components/tag-group/tag-group.d.ts +59 -0
- package/dist/components/tag-group/tag-group.i18n.d.ts +7 -0
- package/dist/components/tag-group/tag-group.types.d.ts +4 -3
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input/text-input.d.ts +24 -6
- package/dist/components/text-input/text-input.recipe.d.ts +1 -1
- package/dist/components/text-input/text-input.slots.d.ts +6 -13
- package/dist/components/text-input/text-input.types.d.ts +32 -2
- package/dist/components/text-input-field.cjs +2 -0
- package/dist/components/text-input-field.cjs.map +1 -0
- package/dist/components/text-input-field.es.js +5 -0
- package/dist/components/text-input-field.es.js.map +1 -0
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.es.js +1 -1
- package/dist/components/time-input/time-input.slots.d.ts +5 -5
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button/toggle-button.recipe.d.ts +0 -14
- package/dist/components/toggle-button/toggle-button.slots.d.ts +4 -11
- package/dist/components/toggle-button/toggle-button.types.d.ts +5 -4
- package/dist/components/toggle-button-group/components/toggle-button-group.root.d.ts +0 -1
- package/dist/components/toggle-button-group/toggle-button-group.recipe.d.ts +2 -2
- package/dist/components/toggle-button-group/toggle-button-group.types.d.ts +6 -4
- package/dist/components/toggle-button-group.cjs +1 -1
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar/toolbar.recipe.d.ts +6 -6
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip/components/tooltip.root.d.ts +0 -1
- package/dist/components/tooltip/tooltip.d.ts +53 -1
- package/dist/components/tooltip/tooltip.types.d.ts +2 -2
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.es.js +4 -6
- package/dist/components/visually-hidden.cjs +1 -1
- package/dist/components/visually-hidden.es.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +358 -345
- package/dist/index.es.js.map +1 -1
- package/dist/patterns/fields/date-range-picker-field/date-range-picker-field.d.ts +27 -0
- package/dist/patterns/fields/date-range-picker-field/date-range-picker-field.types.d.ts +55 -0
- package/dist/patterns/fields/date-range-picker-field/index.d.ts +1 -0
- package/dist/patterns/fields/index.d.ts +2 -0
- package/dist/patterns/fields/text-input-field/index.d.ts +2 -0
- package/dist/patterns/fields/text-input-field/text-input-field.d.ts +28 -0
- package/dist/patterns/fields/text-input-field/text-input-field.types.d.ts +44 -0
- package/dist/patterns/index.d.ts +1 -0
- package/dist/theme/recipes/index.d.ts +8 -36
- package/dist/theme/slot-recipes/index.d.ts +50 -76
- package/dist/type-utils/index.d.ts +1 -0
- package/dist/type-utils/omit-props.d.ts +2 -13
- package/dist/type-utils/shared-types.d.ts +18 -0
- package/package.json +24 -19
- package/dist/chunks/Button-CFZnLKVR.cjs.js +0 -2
- package/dist/chunks/Button-CFZnLKVR.cjs.js.map +0 -1
- package/dist/chunks/Button-Dx3xzN8n.es.js +0 -79
- package/dist/chunks/Button-Dx3xzN8n.es.js.map +0 -1
- package/dist/chunks/CollectionBuilder-BiEelELF.cjs.js +0 -18
- package/dist/chunks/CollectionBuilder-BiEelELF.cjs.js.map +0 -1
- package/dist/chunks/CollectionBuilder-Wz-mnWjQ.es.js +0 -677
- package/dist/chunks/CollectionBuilder-Wz-mnWjQ.es.js.map +0 -1
- package/dist/chunks/DateField-CDTSjqvQ.cjs.js +0 -2
- package/dist/chunks/DateField-CDTSjqvQ.cjs.js.map +0 -1
- package/dist/chunks/DateField-DZwn3cIj.es.js +0 -2691
- package/dist/chunks/DateField-DZwn3cIj.es.js.map +0 -1
- package/dist/chunks/DatePicker-B2Nf_0Sq.es.js +0 -786
- package/dist/chunks/DatePicker-B2Nf_0Sq.es.js.map +0 -1
- package/dist/chunks/DatePicker-DCjrqg4Q.cjs.js +0 -2
- package/dist/chunks/DatePicker-DCjrqg4Q.cjs.js.map +0 -1
- package/dist/chunks/Dialog-Qpq4hk89.es.js +0 -1951
- package/dist/chunks/Dialog-Qpq4hk89.es.js.map +0 -1
- package/dist/chunks/Dialog-XGXh4NXU.cjs.js +0 -7
- package/dist/chunks/Dialog-XGXh4NXU.cjs.js.map +0 -1
- package/dist/chunks/DragAndDrop-BXEtfOEa.es.js +0 -76
- package/dist/chunks/DragAndDrop-BXEtfOEa.es.js.map +0 -1
- package/dist/chunks/DragAndDrop-Cu1BgmHe.cjs.js +0 -2
- package/dist/chunks/DragAndDrop-Cu1BgmHe.cjs.js.map +0 -1
- package/dist/chunks/FocusScope-BY2fddGq.es.js +0 -625
- package/dist/chunks/FocusScope-BY2fddGq.es.js.map +0 -1
- package/dist/chunks/FocusScope-vogC4IAT.cjs.js +0 -2
- package/dist/chunks/FocusScope-vogC4IAT.cjs.js.map +0 -1
- package/dist/chunks/Group-BBaUrRF9.es.js +0 -47
- package/dist/chunks/Group-BBaUrRF9.es.js.map +0 -1
- package/dist/chunks/Group-BX1EpD9E.cjs.js +0 -2
- package/dist/chunks/Group-BX1EpD9E.cjs.js.map +0 -1
- package/dist/chunks/Header-BmzdY2bW.cjs.js +0 -2
- package/dist/chunks/Header-BmzdY2bW.cjs.js.map +0 -1
- package/dist/chunks/Header-DFcQWjkP.es.js +0 -59
- package/dist/chunks/Header-DFcQWjkP.es.js.map +0 -1
- package/dist/chunks/Heading-CCs6OF_m.cjs.js +0 -2
- package/dist/chunks/Heading-CCs6OF_m.cjs.js.map +0 -1
- package/dist/chunks/Heading-DFiVmZUR.es.js +0 -1619
- package/dist/chunks/Heading-DFiVmZUR.es.js.map +0 -1
- package/dist/chunks/Hidden-j3Lbt7xL.es.js +0 -28
- package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +0 -1
- package/dist/chunks/Input-Da2oLmEN.es.js +0 -43
- package/dist/chunks/Input-Da2oLmEN.es.js.map +0 -1
- package/dist/chunks/Input-_6sPm9s0.cjs.js +0 -2
- package/dist/chunks/Input-_6sPm9s0.cjs.js.map +0 -1
- package/dist/chunks/Label-BgrYyYXn.cjs.js +0 -2
- package/dist/chunks/Label-BgrYyYXn.cjs.js.map +0 -1
- package/dist/chunks/Label-qcXzazih.es.js +0 -17
- package/dist/chunks/Label-qcXzazih.es.js.map +0 -1
- package/dist/chunks/ListBox-CFvXqaPX.cjs.js +0 -2
- package/dist/chunks/ListBox-CFvXqaPX.cjs.js.map +0 -1
- package/dist/chunks/ListBox-_1Uk-5-7.es.js +0 -493
- package/dist/chunks/ListBox-_1Uk-5-7.es.js.map +0 -1
- package/dist/chunks/ListKeyboardDelegate-ByRdSpOe.es.js +0 -159
- package/dist/chunks/ListKeyboardDelegate-ByRdSpOe.es.js.map +0 -1
- package/dist/chunks/ListKeyboardDelegate-CYRgZzU8.cjs.js +0 -2
- package/dist/chunks/ListKeyboardDelegate-CYRgZzU8.cjs.js.map +0 -1
- package/dist/chunks/Modal-CVOcKPNx.cjs.js +0 -2
- package/dist/chunks/Modal-CVOcKPNx.cjs.js.map +0 -1
- package/dist/chunks/Modal-DZrVgGsJ.es.js +0 -197
- package/dist/chunks/Modal-DZrVgGsJ.es.js.map +0 -1
- package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js +0 -2
- package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +0 -1
- package/dist/chunks/OverlayArrow-CwYMJqgj.es.js +0 -491
- package/dist/chunks/OverlayArrow-CwYMJqgj.es.js.map +0 -1
- package/dist/chunks/ProgressBar-C9Y3C7_B.cjs.js +0 -2
- package/dist/chunks/ProgressBar-C9Y3C7_B.cjs.js.map +0 -1
- package/dist/chunks/ProgressBar-dYIUhB6B.es.js +0 -42
- package/dist/chunks/ProgressBar-dYIUhB6B.es.js.map +0 -1
- package/dist/chunks/RSPContexts-DV4cFLUV.es.js +0 -9
- package/dist/chunks/RSPContexts-DV4cFLUV.es.js.map +0 -1
- package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js +0 -2
- package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +0 -1
- package/dist/chunks/SSRProvider-Cu8KibIK.es.js +0 -51
- package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +0 -1
- package/dist/chunks/SelectionIndicator-Cp3OYqg6.cjs.js +0 -2
- package/dist/chunks/SelectionIndicator-Cp3OYqg6.cjs.js.map +0 -1
- package/dist/chunks/SelectionIndicator-DopimabS.es.js +0 -17
- package/dist/chunks/SelectionIndicator-DopimabS.es.js.map +0 -1
- package/dist/chunks/SelectionManager-1rNaWE7D.cjs.js +0 -2
- package/dist/chunks/SelectionManager-1rNaWE7D.cjs.js.map +0 -1
- package/dist/chunks/SelectionManager-DMLLo5N3.es.js +0 -1132
- package/dist/chunks/SelectionManager-DMLLo5N3.es.js.map +0 -1
- package/dist/chunks/Separator-6J1KiDlQ.cjs.js +0 -2
- package/dist/chunks/Separator-6J1KiDlQ.cjs.js.map +0 -1
- package/dist/chunks/Separator-DyXjJGoH.es.js +0 -55
- package/dist/chunks/Separator-DyXjJGoH.es.js.map +0 -1
- package/dist/chunks/TextArea-DItoG16s.es.js +0 -42
- package/dist/chunks/TextArea-DItoG16s.es.js.map +0 -1
- package/dist/chunks/TextArea-Y5635aIM.cjs.js +0 -2
- package/dist/chunks/TextArea-Y5635aIM.cjs.js.map +0 -1
- package/dist/chunks/ToggleButton-1I5cetxI.cjs.js +0 -2
- package/dist/chunks/ToggleButton-1I5cetxI.cjs.js.map +0 -1
- package/dist/chunks/ToggleButton-881iW8P_.es.js +0 -150
- package/dist/chunks/ToggleButton-881iW8P_.es.js.map +0 -1
- package/dist/chunks/VisuallyHidden-C1WQXLCm.cjs.js +0 -2
- package/dist/chunks/VisuallyHidden-C1WQXLCm.cjs.js.map +0 -1
- package/dist/chunks/VisuallyHidden-Dxf1qswV.es.js +0 -41
- package/dist/chunks/VisuallyHidden-Dxf1qswV.es.js.map +0 -1
- package/dist/chunks/accordion-CrISuCHH.es.js +0 -221
- package/dist/chunks/accordion-CrISuCHH.es.js.map +0 -1
- package/dist/chunks/accordion-D7a9HHSH.cjs.js +0 -2
- package/dist/chunks/accordion-D7a9HHSH.cjs.js.map +0 -1
- package/dist/chunks/alert-CPHjPe4-.cjs.js +0 -2
- package/dist/chunks/alert-CPHjPe4-.cjs.js.map +0 -1
- package/dist/chunks/alert-lNg0Rz2w.es.js +0 -138
- package/dist/chunks/alert-lNg0Rz2w.es.js.map +0 -1
- package/dist/chunks/avatar-CTiSGVoD.es.js +0 -40
- package/dist/chunks/avatar-CTiSGVoD.es.js.map +0 -1
- package/dist/chunks/avatar-_o-uSXYy.cjs.js +0 -2
- package/dist/chunks/avatar-_o-uSXYy.cjs.js.map +0 -1
- package/dist/chunks/avatar.recipe-D3--Rkmb.cjs.js +0 -2
- package/dist/chunks/avatar.recipe-D3--Rkmb.cjs.js.map +0 -1
- package/dist/chunks/avatar.recipe-DfyPWbFZ.es.js +0 -39
- package/dist/chunks/avatar.recipe-DfyPWbFZ.es.js.map +0 -1
- package/dist/chunks/badge-Csn5glEd.es.js +0 -17
- package/dist/chunks/badge-Csn5glEd.es.js.map +0 -1
- package/dist/chunks/badge-mMpNb3Qj.cjs.js +0 -2
- package/dist/chunks/badge-mMpNb3Qj.cjs.js.map +0 -1
- package/dist/chunks/button-B5OOW-2z.cjs.js +0 -2
- package/dist/chunks/button-B5OOW-2z.cjs.js.map +0 -1
- package/dist/chunks/button-IZUJaJku.es.js +0 -62
- package/dist/chunks/button-IZUJaJku.es.js.map +0 -1
- package/dist/chunks/calendar-0Tr21POc.cjs.js +0 -2
- package/dist/chunks/calendar-0Tr21POc.cjs.js.map +0 -1
- package/dist/chunks/calendar-okvAi9qK.es.js +0 -187
- package/dist/chunks/calendar-okvAi9qK.es.js.map +0 -1
- package/dist/chunks/card-BB_1xrND.es.js +0 -78
- package/dist/chunks/card-BB_1xrND.es.js.map +0 -1
- package/dist/chunks/card-BPEsGx1J.cjs.js +0 -2
- package/dist/chunks/card-BPEsGx1J.cjs.js.map +0 -1
- package/dist/chunks/checkbox-Bp0eyZ6q.es.js +0 -218
- package/dist/chunks/checkbox-Bp0eyZ6q.es.js.map +0 -1
- package/dist/chunks/checkbox-QQkdNVJO.cjs.js +0 -2
- package/dist/chunks/checkbox-QQkdNVJO.cjs.js.map +0 -1
- package/dist/chunks/collapsible-motion-CykDlHn3.cjs.js +0 -2
- package/dist/chunks/collapsible-motion-CykDlHn3.cjs.js.map +0 -1
- package/dist/chunks/collapsible-motion-DPqgzRWq.es.js +0 -83
- package/dist/chunks/collapsible-motion-DPqgzRWq.es.js.map +0 -1
- package/dist/chunks/combobox-Bntl4sYo.cjs.js +0 -2
- package/dist/chunks/combobox-Bntl4sYo.cjs.js.map +0 -1
- package/dist/chunks/combobox-DYREbkL7.es.js +0 -2425
- package/dist/chunks/combobox-DYREbkL7.es.js.map +0 -1
- package/dist/chunks/context-OoV8SSWX.cjs.js +0 -2
- package/dist/chunks/context-OoV8SSWX.cjs.js.map +0 -1
- package/dist/chunks/context-R4YUlO9Y.es.js +0 -108
- package/dist/chunks/context-R4YUlO9Y.es.js.map +0 -1
- package/dist/chunks/data-table-BhV1DJXJ.cjs.js +0 -2
- package/dist/chunks/data-table-BhV1DJXJ.cjs.js.map +0 -1
- package/dist/chunks/data-table-TSza8b10.es.js +0 -3585
- package/dist/chunks/data-table-TSza8b10.es.js.map +0 -1
- package/dist/chunks/date-input-B84sXbjL.cjs.js +0 -2
- package/dist/chunks/date-input-B84sXbjL.cjs.js.map +0 -1
- package/dist/chunks/date-input-BiOdvpWz.es.js +0 -21
- package/dist/chunks/date-input-BiOdvpWz.es.js.map +0 -1
- package/dist/chunks/date-picker-2SDD5gY9.cjs.js +0 -2
- package/dist/chunks/date-picker-2SDD5gY9.cjs.js.map +0 -1
- package/dist/chunks/date-picker-EuMU6RtR.es.js +0 -220
- package/dist/chunks/date-picker-EuMU6RtR.es.js.map +0 -1
- package/dist/chunks/date-range-picker-CL-QH8BW.es.js +0 -281
- package/dist/chunks/date-range-picker-CL-QH8BW.es.js.map +0 -1
- package/dist/chunks/date-range-picker-DmHmhMvU.cjs.js +0 -2
- package/dist/chunks/date-range-picker-DmHmhMvU.cjs.js.map +0 -1
- package/dist/chunks/dialog-BeKbQUsU.cjs.js +0 -2
- package/dist/chunks/dialog-BeKbQUsU.cjs.js.map +0 -1
- package/dist/chunks/dialog-C9Dn6GoU.es.js +0 -165
- package/dist/chunks/dialog-C9Dn6GoU.es.js.map +0 -1
- package/dist/chunks/dialog.title-CfBfNT9q.es.js +0 -152
- package/dist/chunks/dialog.title-CfBfNT9q.es.js.map +0 -1
- package/dist/chunks/dialog.title-CynBe3KN.cjs.js +0 -2
- package/dist/chunks/dialog.title-CynBe3KN.cjs.js.map +0 -1
- package/dist/chunks/draggable-list-3KlajQgQ.es.js +0 -4211
- package/dist/chunks/draggable-list-3KlajQgQ.es.js.map +0 -1
- package/dist/chunks/draggable-list-uMR8JUsT.cjs.js +0 -3
- package/dist/chunks/draggable-list-uMR8JUsT.cjs.js.map +0 -1
- package/dist/chunks/drawer-CT5qAdLo.es.js +0 -304
- package/dist/chunks/drawer-CT5qAdLo.es.js.map +0 -1
- package/dist/chunks/drawer-vgDYdzlq.cjs.js +0 -2
- package/dist/chunks/drawer-vgDYdzlq.cjs.js.map +0 -1
- package/dist/chunks/extract-style-props-DYXEhLtq.es.js +0 -11
- package/dist/chunks/extract-style-props-DYXEhLtq.es.js.map +0 -1
- package/dist/chunks/extract-style-props-Dk3fpLyQ.cjs.js +0 -2
- package/dist/chunks/extract-style-props-Dk3fpLyQ.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-BNAvQ-wF.cjs.js +0 -2
- package/dist/chunks/focusSafely-BNAvQ-wF.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-BS2OU9MQ.es.js +0 -27
- package/dist/chunks/focusSafely-BS2OU9MQ.es.js.map +0 -1
- package/dist/chunks/form-field-BYlpCXdY.es.js +0 -231
- package/dist/chunks/form-field-BYlpCXdY.es.js.map +0 -1
- package/dist/chunks/form-field-CIGQxVVS.cjs.js +0 -2
- package/dist/chunks/form-field-CIGQxVVS.cjs.js.map +0 -1
- package/dist/chunks/getScrollParent-B8PotBOX.cjs.js +0 -2
- package/dist/chunks/getScrollParent-B8PotBOX.cjs.js.map +0 -1
- package/dist/chunks/getScrollParent-BS4bncfK.es.js +0 -10
- package/dist/chunks/getScrollParent-BS4bncfK.es.js.map +0 -1
- package/dist/chunks/group-BqUFlw5R.cjs.js +0 -2
- package/dist/chunks/group-BqUFlw5R.cjs.js.map +0 -1
- package/dist/chunks/group-CWADf2vF.es.js +0 -13
- package/dist/chunks/group-CWADf2vF.es.js.map +0 -1
- package/dist/chunks/heading-BTacGwo9.cjs.js +0 -2
- package/dist/chunks/heading-BTacGwo9.cjs.js.map +0 -1
- package/dist/chunks/heading-BtazVUd5.es.js +0 -25
- package/dist/chunks/heading-BtazVUd5.es.js.map +0 -1
- package/dist/chunks/icon-button-DQS2apw-.es.js +0 -14
- package/dist/chunks/icon-button-DQS2apw-.es.js.map +0 -1
- package/dist/chunks/icon-button-vWPrT-bR.cjs.js +0 -2
- package/dist/chunks/icon-button-vWPrT-bR.cjs.js.map +0 -1
- package/dist/chunks/icon-toggle-button-Bt_1Mdus.es.js +0 -13
- package/dist/chunks/icon-toggle-button-Bt_1Mdus.es.js.map +0 -1
- package/dist/chunks/icon-toggle-button-Bv-FwWwz.cjs.js +0 -2
- package/dist/chunks/icon-toggle-button-Bv-FwWwz.cjs.js.map +0 -1
- package/dist/chunks/index-CRFg4Mhx.cjs.js +0 -34
- package/dist/chunks/index-CRFg4Mhx.cjs.js.map +0 -1
- package/dist/chunks/index-CtB71yr7.es.js +0 -5655
- package/dist/chunks/index-CtB71yr7.es.js.map +0 -1
- package/dist/chunks/inertValue-B3AFhVG4.cjs.js +0 -2
- package/dist/chunks/inertValue-B3AFhVG4.cjs.js.map +0 -1
- package/dist/chunks/inertValue-B7loUihk.es.js +0 -9
- package/dist/chunks/inertValue-B7loUihk.es.js.map +0 -1
- package/dist/chunks/kbd-BaeV_DL-.cjs.js +0 -2
- package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +0 -1
- package/dist/chunks/kbd-CH9rYghB.es.js +0 -15
- package/dist/chunks/kbd-CH9rYghB.es.js.map +0 -1
- package/dist/chunks/link-BEhlSTUU.es.js +0 -48
- package/dist/chunks/link-BEhlSTUU.es.js.map +0 -1
- package/dist/chunks/link-DpU4rPCp.cjs.js +0 -2
- package/dist/chunks/link-DpU4rPCp.cjs.js.map +0 -1
- package/dist/chunks/loading-spinner-BiVTAfmp.es.js +0 -59
- package/dist/chunks/loading-spinner-BiVTAfmp.es.js.map +0 -1
- package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js +0 -2
- package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js.map +0 -1
- package/dist/chunks/localized-field-Bp4N2Mvl.es.js +0 -470
- package/dist/chunks/localized-field-Bp4N2Mvl.es.js.map +0 -1
- package/dist/chunks/localized-field-Cmwb6fmQ.cjs.js +0 -2
- package/dist/chunks/localized-field-Cmwb6fmQ.cjs.js.map +0 -1
- package/dist/chunks/make-element-focusable-C4jhHHl0.es.js +0 -25
- package/dist/chunks/make-element-focusable-C4jhHHl0.es.js.map +0 -1
- package/dist/chunks/make-element-focusable-oedzOY_M.cjs.js +0 -2
- package/dist/chunks/make-element-focusable-oedzOY_M.cjs.js.map +0 -1
- package/dist/chunks/menu-SXtkybBB.cjs.js +0 -2
- package/dist/chunks/menu-SXtkybBB.cjs.js.map +0 -1
- package/dist/chunks/menu-XKnGXngu.es.js +0 -147
- package/dist/chunks/menu-XKnGXngu.es.js.map +0 -1
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js +0 -2
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +0 -1
- package/dist/chunks/mergeProps-CzyOU2NE.es.js +0 -130
- package/dist/chunks/mergeProps-CzyOU2NE.es.js.map +0 -1
- package/dist/chunks/money-input-BqYBGLzc.es.js +0 -526
- package/dist/chunks/money-input-BqYBGLzc.es.js.map +0 -1
- package/dist/chunks/money-input-Cz8E18lq.cjs.js +0 -2
- package/dist/chunks/money-input-Cz8E18lq.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-AyyHGKY2.es.js +0 -64
- package/dist/chunks/multiline-text-input-AyyHGKY2.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-jGidPD3q.cjs.js +0 -2
- package/dist/chunks/multiline-text-input-jGidPD3q.cjs.js.map +0 -1
- package/dist/chunks/nimbus-provider-BHNFDQ0f.es.js +0 -101
- package/dist/chunks/nimbus-provider-BHNFDQ0f.es.js.map +0 -1
- package/dist/chunks/nimbus-provider-WX_qUCxo.cjs.js +0 -2
- package/dist/chunks/nimbus-provider-WX_qUCxo.cjs.js.map +0 -1
- package/dist/chunks/number-input-CynG_F-c.cjs.js +0 -2
- package/dist/chunks/number-input-CynG_F-c.cjs.js.map +0 -1
- package/dist/chunks/number-input-rotBI7ui.es.js +0 -691
- package/dist/chunks/number-input-rotBI7ui.es.js.map +0 -1
- package/dist/chunks/openLink-CY66vjvW.es.js +0 -105
- package/dist/chunks/openLink-CY66vjvW.es.js.map +0 -1
- package/dist/chunks/pagination-DdMhz-Ka.cjs.js +0 -2
- package/dist/chunks/pagination-DdMhz-Ka.cjs.js.map +0 -1
- package/dist/chunks/pagination-Dqt0f5WQ.es.js +0 -160
- package/dist/chunks/pagination-Dqt0f5WQ.es.js.map +0 -1
- package/dist/chunks/password-input-BVHKD6s2.cjs.js +0 -2
- package/dist/chunks/password-input-BVHKD6s2.cjs.js.map +0 -1
- package/dist/chunks/password-input-DRmX3C3I.es.js +0 -54
- package/dist/chunks/password-input-DRmX3C3I.es.js.map +0 -1
- package/dist/chunks/popover-CfEq5G5-.cjs.js +0 -2
- package/dist/chunks/popover-CfEq5G5-.cjs.js.map +0 -1
- package/dist/chunks/popover-DNaC7CwB.es.js +0 -14
- package/dist/chunks/popover-DNaC7CwB.es.js.map +0 -1
- package/dist/chunks/progress-bar-CmQaITmw.cjs.js +0 -2
- package/dist/chunks/progress-bar-CmQaITmw.cjs.js.map +0 -1
- package/dist/chunks/progress-bar-DGFMl3Vg.es.js +0 -77
- package/dist/chunks/progress-bar-DGFMl3Vg.es.js.map +0 -1
- package/dist/chunks/radio-input-Cg5MZ21w.cjs.js +0 -2
- package/dist/chunks/radio-input-Cg5MZ21w.cjs.js.map +0 -1
- package/dist/chunks/radio-input-DPwU5M16.es.js +0 -350
- package/dist/chunks/radio-input-DPwU5M16.es.js.map +0 -1
- package/dist/chunks/range-calendar-PUt59Hda.es.js +0 -187
- package/dist/chunks/range-calendar-PUt59Hda.es.js.map +0 -1
- package/dist/chunks/range-calendar-lhmomEF_.cjs.js +0 -2
- package/dist/chunks/range-calendar-lhmomEF_.cjs.js.map +0 -1
- package/dist/chunks/rich-text-input-Cm0M04n-.es.js +0 -7801
- package/dist/chunks/rich-text-input-Cm0M04n-.es.js.map +0 -1
- package/dist/chunks/rich-text-input-DqwZD5Di.cjs.js +0 -24
- package/dist/chunks/rich-text-input-DqwZD5Di.cjs.js.map +0 -1
- package/dist/chunks/scrollIntoView-DTfS0nWq.es.js +0 -96
- package/dist/chunks/scrollIntoView-DTfS0nWq.es.js.map +0 -1
- package/dist/chunks/scrollIntoView-x1EbcfEq.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-x1EbcfEq.cjs.js.map +0 -1
- package/dist/chunks/search-input-BvJKOCVM.cjs.js +0 -2
- package/dist/chunks/search-input-BvJKOCVM.cjs.js.map +0 -1
- package/dist/chunks/search-input-C8cD1bnn.es.js +0 -361
- package/dist/chunks/search-input-C8cD1bnn.es.js.map +0 -1
- package/dist/chunks/select-DfuSGQSs.cjs.js +0 -2
- package/dist/chunks/select-DfuSGQSs.cjs.js.map +0 -1
- package/dist/chunks/select-X1qJU5Yn.es.js +0 -775
- package/dist/chunks/select-X1qJU5Yn.es.js.map +0 -1
- package/dist/chunks/separator-BHD3Ztot.es.js +0 -24
- package/dist/chunks/separator-BHD3Ztot.es.js.map +0 -1
- package/dist/chunks/separator-FEY8A05K.cjs.js +0 -2
- package/dist/chunks/separator-FEY8A05K.cjs.js.map +0 -1
- package/dist/chunks/split-button-LENwoBTF.es.js +0 -100
- package/dist/chunks/split-button-LENwoBTF.es.js.map +0 -1
- package/dist/chunks/split-button-go3Ez6Ea.cjs.js +0 -2
- package/dist/chunks/split-button-go3Ez6Ea.cjs.js.map +0 -1
- package/dist/chunks/switch-BDRu376G.es.js +0 -67
- package/dist/chunks/switch-BDRu376G.es.js.map +0 -1
- package/dist/chunks/switch-RPIMfaqs.cjs.js +0 -2
- package/dist/chunks/switch-RPIMfaqs.cjs.js.map +0 -1
- package/dist/chunks/tabs-BtWK-J_p.es.js +0 -428
- package/dist/chunks/tabs-BtWK-J_p.es.js.map +0 -1
- package/dist/chunks/tabs-CEB3Dfex.cjs.js +0 -2
- package/dist/chunks/tabs-CEB3Dfex.cjs.js.map +0 -1
- package/dist/chunks/tag-group-Btt0egzG.cjs.js +0 -2
- package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +0 -1
- package/dist/chunks/tag-group-D2dgXSsV.es.js +0 -554
- package/dist/chunks/tag-group-D2dgXSsV.es.js.map +0 -1
- package/dist/chunks/text-BgiP8ZB6.es.js +0 -24
- package/dist/chunks/text-BgiP8ZB6.es.js.map +0 -1
- package/dist/chunks/text-CCW9kDT_.cjs.js +0 -2
- package/dist/chunks/text-CCW9kDT_.cjs.js.map +0 -1
- package/dist/chunks/text-input-CKGfCx6k.cjs.js +0 -2
- package/dist/chunks/text-input-CKGfCx6k.cjs.js.map +0 -1
- package/dist/chunks/text-input-DNorjU50.es.js +0 -49
- package/dist/chunks/text-input-DNorjU50.es.js.map +0 -1
- package/dist/chunks/time-input-B6we5H7C.es.js +0 -21
- package/dist/chunks/time-input-B6we5H7C.es.js.map +0 -1
- package/dist/chunks/time-input-CweVZv1Q.cjs.js +0 -2
- package/dist/chunks/time-input-CweVZv1Q.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-CLEgCPGX.cjs.js +0 -2
- package/dist/chunks/toggle-button-CLEgCPGX.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-D3M4e72c.es.js +0 -30
- package/dist/chunks/toggle-button-D3M4e72c.es.js.map +0 -1
- package/dist/chunks/toggle-button-group-CE2Urvj8.cjs.js +0 -2
- package/dist/chunks/toggle-button-group-CE2Urvj8.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-group-Ce7ezOED.es.js +0 -29
- package/dist/chunks/toggle-button-group-Ce7ezOED.es.js.map +0 -1
- package/dist/chunks/toggle-button-group.recipe-CbCnJQP3.es.js +0 -244
- package/dist/chunks/toggle-button-group.recipe-CbCnJQP3.es.js.map +0 -1
- package/dist/chunks/toggle-button-group.recipe-DgySRvOW.cjs.js +0 -2
- package/dist/chunks/toggle-button-group.recipe-DgySRvOW.cjs.js.map +0 -1
- package/dist/chunks/toolbar-Bn9pAwjU.es.js +0 -61
- package/dist/chunks/toolbar-Bn9pAwjU.es.js.map +0 -1
- package/dist/chunks/toolbar-D3Jj83mp.cjs.js +0 -2
- package/dist/chunks/toolbar-D3Jj83mp.cjs.js.map +0 -1
- package/dist/chunks/tooltip-BPTOkK7W.cjs.js +0 -2
- package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +0 -1
- package/dist/chunks/tooltip-sgakxhiy.es.js +0 -268
- package/dist/chunks/tooltip-sgakxhiy.es.js.map +0 -1
- package/dist/chunks/useButton-KnJ6A32S.cjs.js +0 -2
- package/dist/chunks/useButton-KnJ6A32S.cjs.js.map +0 -1
- package/dist/chunks/useButton-_sJ3_8ha.es.js +0 -57
- package/dist/chunks/useButton-_sJ3_8ha.es.js.map +0 -1
- package/dist/chunks/useCollator-BHMZd1r6.es.js +0 -12
- package/dist/chunks/useCollator-BHMZd1r6.es.js.map +0 -1
- package/dist/chunks/useCollator-YVJAe1GI.cjs.js +0 -2
- package/dist/chunks/useCollator-YVJAe1GI.cjs.js.map +0 -1
- package/dist/chunks/useDateFormatter-BBcUQTYP.cjs.js +0 -2
- package/dist/chunks/useDateFormatter-BBcUQTYP.cjs.js.map +0 -1
- package/dist/chunks/useDateFormatter-C4zVAL_K.es.js +0 -1632
- package/dist/chunks/useDateFormatter-C4zVAL_K.es.js.map +0 -1
- package/dist/chunks/useDisclosureState-DtcHCDt4.es.js +0 -87
- package/dist/chunks/useDisclosureState-DtcHCDt4.es.js.map +0 -1
- package/dist/chunks/useDisclosureState-ipt8A1Kc.cjs.js +0 -2
- package/dist/chunks/useDisclosureState-ipt8A1Kc.cjs.js.map +0 -1
- package/dist/chunks/useEvent-Bh_fbauk.es.js +0 -22
- package/dist/chunks/useEvent-Bh_fbauk.es.js.map +0 -1
- package/dist/chunks/useEvent-CuUOU5WV.cjs.js +0 -2
- package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +0 -1
- package/dist/chunks/useField-B0j4t47V.es.js +0 -36
- package/dist/chunks/useField-B0j4t47V.es.js.map +0 -1
- package/dist/chunks/useField-C_piDZ9g.cjs.js +0 -2
- package/dist/chunks/useField-C_piDZ9g.cjs.js.map +0 -1
- package/dist/chunks/useFilter-CG8lxfCP.cjs.js +0 -2
- package/dist/chunks/useFilter-CG8lxfCP.cjs.js.map +0 -1
- package/dist/chunks/useFilter-DOfNzeZ9.es.js +0 -36
- package/dist/chunks/useFilter-DOfNzeZ9.es.js.map +0 -1
- package/dist/chunks/useFocus-CwNVYldV.es.js +0 -29
- package/dist/chunks/useFocus-CwNVYldV.es.js.map +0 -1
- package/dist/chunks/useFocus-DVHC9n4e.cjs.js +0 -2
- package/dist/chunks/useFocus-DVHC9n4e.cjs.js.map +0 -1
- package/dist/chunks/useFocusRing-BuJmrp03.cjs.js +0 -2
- package/dist/chunks/useFocusRing-BuJmrp03.cjs.js.map +0 -1
- package/dist/chunks/useFocusRing-DRIG5NVg.es.js +0 -35
- package/dist/chunks/useFocusRing-DRIG5NVg.es.js.map +0 -1
- package/dist/chunks/useFocusVisible-BIPjFmFE.es.js +0 -111
- package/dist/chunks/useFocusVisible-BIPjFmFE.es.js.map +0 -1
- package/dist/chunks/useFocusVisible-CN9NILN7.cjs.js +0 -2
- package/dist/chunks/useFocusVisible-CN9NILN7.cjs.js.map +0 -1
- package/dist/chunks/useFocusWithin-CfiDXiVK.es.js +0 -56
- package/dist/chunks/useFocusWithin-CfiDXiVK.es.js.map +0 -1
- package/dist/chunks/useFocusWithin-CucqUylS.cjs.js +0 -2
- package/dist/chunks/useFocusWithin-CucqUylS.cjs.js.map +0 -1
- package/dist/chunks/useFocusable-D1mzTlxa.es.js +0 -77
- package/dist/chunks/useFocusable-D1mzTlxa.es.js.map +0 -1
- package/dist/chunks/useFocusable-Dv8K4Git.cjs.js +0 -2
- package/dist/chunks/useFocusable-Dv8K4Git.cjs.js.map +0 -1
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js +0 -2
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +0 -1
- package/dist/chunks/useFormReset-D_wskGk5.es.js +0 -21
- package/dist/chunks/useFormReset-D_wskGk5.es.js.map +0 -1
- package/dist/chunks/useFormValidation-DR5NgZ9j.es.js +0 -202
- package/dist/chunks/useFormValidation-DR5NgZ9j.es.js.map +0 -1
- package/dist/chunks/useFormValidation-STNSjSmx.cjs.js +0 -2
- package/dist/chunks/useFormValidation-STNSjSmx.cjs.js.map +0 -1
- package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js +0 -2
- package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +0 -1
- package/dist/chunks/useGridListItem--iMluO7K.es.js +0 -251
- package/dist/chunks/useGridListItem--iMluO7K.es.js.map +0 -1
- package/dist/chunks/useGridListItem-6gZ8SfZH.cjs.js +0 -2
- package/dist/chunks/useGridListItem-6gZ8SfZH.cjs.js.map +0 -1
- package/dist/chunks/useGridSelectionCheckbox-UA-rsjJv.cjs.js +0 -2
- package/dist/chunks/useGridSelectionCheckbox-UA-rsjJv.cjs.js.map +0 -1
- package/dist/chunks/useGridSelectionCheckbox-yspK-vJA.es.js +0 -23
- package/dist/chunks/useGridSelectionCheckbox-yspK-vJA.es.js.map +0 -1
- package/dist/chunks/useHasTabbableChild-Bif_c3Cz.cjs.js +0 -2
- package/dist/chunks/useHasTabbableChild-Bif_c3Cz.cjs.js.map +0 -1
- package/dist/chunks/useHasTabbableChild-Dq0HGz7B.es.js +0 -35
- package/dist/chunks/useHasTabbableChild-Dq0HGz7B.es.js.map +0 -1
- package/dist/chunks/useHighlightSelectionDescription-BVp60RjN.cjs.js +0 -2
- package/dist/chunks/useHighlightSelectionDescription-BVp60RjN.cjs.js.map +0 -1
- package/dist/chunks/useHighlightSelectionDescription-qks4kKs2.es.js +0 -568
- package/dist/chunks/useHighlightSelectionDescription-qks4kKs2.es.js.map +0 -1
- package/dist/chunks/useHover-271zEzph.cjs.js +0 -2
- package/dist/chunks/useHover-271zEzph.cjs.js.map +0 -1
- package/dist/chunks/useHover-9Xdm5U9d.es.js +0 -86
- package/dist/chunks/useHover-9Xdm5U9d.es.js.map +0 -1
- package/dist/chunks/useLabel-Cv-EvK4W.es.js +0 -24
- package/dist/chunks/useLabel-Cv-EvK4W.es.js.map +0 -1
- package/dist/chunks/useLabel-neE14Yau.cjs.js +0 -2
- package/dist/chunks/useLabel-neE14Yau.cjs.js.map +0 -1
- package/dist/chunks/useLabels-82wzG8z1.es.js +0 -18
- package/dist/chunks/useLabels-82wzG8z1.es.js.map +0 -1
- package/dist/chunks/useLabels-BsHtLxGl.cjs.js +0 -2
- package/dist/chunks/useLabels-BsHtLxGl.cjs.js.map +0 -1
- package/dist/chunks/useListState-Cf8n791-.es.js +0 -134
- package/dist/chunks/useListState-Cf8n791-.es.js.map +0 -1
- package/dist/chunks/useListState-CyKtsfSM.cjs.js +0 -2
- package/dist/chunks/useListState-CyKtsfSM.cjs.js.map +0 -1
- package/dist/chunks/useLocalizedStringFormatter-BRnRyxJp.es.js +0 -97
- package/dist/chunks/useLocalizedStringFormatter-BRnRyxJp.es.js.map +0 -1
- package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.cjs.js +0 -2
- package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.cjs.js.map +0 -1
- package/dist/chunks/useObjectRef-dXOJdONs.cjs.js +0 -2
- package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +0 -1
- package/dist/chunks/usePress-D5REDWI3.cjs.js +0 -8
- package/dist/chunks/usePress-D5REDWI3.cjs.js.map +0 -1
- package/dist/chunks/usePress-Dc6amhnJ.es.js +0 -456
- package/dist/chunks/usePress-Dc6amhnJ.es.js.map +0 -1
- package/dist/chunks/useProgressBar-BsSMDAsi.es.js +0 -48
- package/dist/chunks/useProgressBar-BsSMDAsi.es.js.map +0 -1
- package/dist/chunks/useProgressBar-COda2Qef.cjs.js +0 -2
- package/dist/chunks/useProgressBar-COda2Qef.cjs.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-CgOgZMJh.cjs.js +0 -2
- package/dist/chunks/useSingleSelectListState-CgOgZMJh.cjs.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-DLY6K_dU.es.js +0 -35
- package/dist/chunks/useSingleSelectListState-DLY6K_dU.es.js.map +0 -1
- package/dist/chunks/useSpinButton-2dD53rZp.es.js +0 -433
- package/dist/chunks/useSpinButton-2dD53rZp.es.js.map +0 -1
- package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js +0 -2
- package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js.map +0 -1
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js +0 -2
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +0 -1
- package/dist/chunks/useSyncRef-nVBzPD3o.es.js +0 -13
- package/dist/chunks/useSyncRef-nVBzPD3o.es.js.map +0 -1
- package/dist/chunks/useTextField-0jWzqKW2.cjs.js +0 -2
- package/dist/chunks/useTextField-0jWzqKW2.cjs.js.map +0 -1
- package/dist/chunks/useTextField-CT9tuc9X.es.js +0 -91
- package/dist/chunks/useTextField-CT9tuc9X.es.js.map +0 -1
- package/dist/chunks/useToggle-BXaU8bD5.cjs.js +0 -2
- package/dist/chunks/useToggle-BXaU8bD5.cjs.js.map +0 -1
- package/dist/chunks/useToggle-CKEhqMIa.es.js +0 -62
- package/dist/chunks/useToggle-CKEhqMIa.es.js.map +0 -1
- package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js +0 -2
- package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +0 -1
- package/dist/chunks/useToolbar-CnYu1bn9.es.js +0 -55
- package/dist/chunks/useToolbar-CnYu1bn9.es.js.map +0 -1
- package/dist/chunks/useToolbar-iBRLn7DA.cjs.js +0 -2
- package/dist/chunks/useToolbar-iBRLn7DA.cjs.js.map +0 -1
- package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js +0 -2
- package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +0 -1
- package/dist/chunks/utils-BHdR5Nww.cjs.js +0 -2
- package/dist/chunks/utils-BHdR5Nww.cjs.js.map +0 -1
- package/dist/chunks/utils-Cjs5h3ad.es.js +0 -190
- package/dist/chunks/utils-Cjs5h3ad.es.js.map +0 -1
- package/dist/chunks/utils-Cyja2WdR.es.js +0 -128
- package/dist/chunks/utils-Cyja2WdR.es.js.map +0 -1
- package/dist/chunks/utils-DUS_ZjvE.cjs.js +0 -2
- package/dist/chunks/utils-DUS_ZjvE.cjs.js.map +0 -1
- package/dist/chunks/visually-hidden-CVUszTlg.es.js +0 -11
- package/dist/chunks/visually-hidden-CVUszTlg.es.js.map +0 -1
- package/dist/chunks/visually-hidden-tTYCAVoQ.cjs.js +0 -2
- package/dist/chunks/visually-hidden-tTYCAVoQ.cjs.js.map +0 -1
- package/dist/components/accordion/components/accordion-content.d.ts +0 -2
- package/dist/components/accordion/components/accordion-header.d.ts +0 -2
- package/dist/components/accordion/components/accordion-item.d.ts +0 -2
- package/dist/components/accordion/components/accordion-root.d.ts +0 -9
- package/dist/components/rich-text-input/utils/text-style-utils.d.ts +0 -33
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import w, { useContext as R, createContext as S } from "react";
|
|
3
|
-
import { k as v, h as N } from "./Dialog-Qpq4hk89.es.js";
|
|
4
|
-
import { createSlotRecipeContext as O, useSlotRecipe as H, chakra as B } from "@chakra-ui/react/styled-system";
|
|
5
|
-
import { l as m } from "./index-CtB71yr7.es.js";
|
|
6
|
-
import { a as I } from "./Button-Dx3xzN8n.es.js";
|
|
7
|
-
import { e as g } from "./extract-style-props-DYXEhLtq.es.js";
|
|
8
|
-
import { $ as M, a as F } from "./Modal-DZrVgGsJ.es.js";
|
|
9
|
-
import { H as k } from "./heading-BtazVUd5.es.js";
|
|
10
|
-
import { Close as E } from "@commercetools/nimbus-icons";
|
|
11
|
-
import { defineMessages as V, useIntl as _ } from "react-intl";
|
|
12
|
-
import { I as j } from "./icon-button-DQS2apw-.es.js";
|
|
13
|
-
const { withProvider: z, withContext: s } = /* @__PURE__ */ O({
|
|
14
|
-
recipe: m
|
|
15
|
-
}), A = /* @__PURE__ */ z(
|
|
16
|
-
"div",
|
|
17
|
-
"root"
|
|
18
|
-
), K = /* @__PURE__ */ s("button", "trigger"), L = /* @__PURE__ */ s("div", "modalOverlay"), q = /* @__PURE__ */ s("div", "modal"), G = /* @__PURE__ */ s("div", "content"), J = /* @__PURE__ */ s(
|
|
19
|
-
"header",
|
|
20
|
-
"header"
|
|
21
|
-
), Q = /* @__PURE__ */ s(
|
|
22
|
-
"div",
|
|
23
|
-
"body"
|
|
24
|
-
), U = /* @__PURE__ */ s(
|
|
25
|
-
"footer",
|
|
26
|
-
"footer"
|
|
27
|
-
), W = /* @__PURE__ */ s("h2", "title"), X = /* @__PURE__ */ s("div", "closeTrigger"), u = /* @__PURE__ */ S(
|
|
28
|
-
void 0
|
|
29
|
-
), Y = () => {
|
|
30
|
-
const e = R(u);
|
|
31
|
-
if (!e)
|
|
32
|
-
throw new Error("useDrawerContext must be used within Drawer.Root");
|
|
33
|
-
return e;
|
|
34
|
-
}, Z = ({
|
|
35
|
-
children: e,
|
|
36
|
-
value: t
|
|
37
|
-
}) => /* @__PURE__ */ r(u, { value: t, children: e }), D = (e) => {
|
|
38
|
-
const t = H({ recipe: m }), [a] = t.splitVariantProps(e), { children: o, isOpen: n, onOpenChange: i, defaultOpen: f = !1 } = e, d = /* @__PURE__ */ r(A, { ...a, children: o }), p = w.Children.toArray(o).some((l) => {
|
|
39
|
-
if (w.isValidElement(l) && typeof l.type == "function") {
|
|
40
|
-
const c = l.type?.displayName;
|
|
41
|
-
return c === "DrawerTrigger" || c === "Drawer.Trigger";
|
|
42
|
-
}
|
|
43
|
-
return !1;
|
|
44
|
-
});
|
|
45
|
-
return /* @__PURE__ */ r(Z, { value: e, children: p ? (
|
|
46
|
-
// When there's a Drawer.Trigger, use DialogTrigger for React Aria integration
|
|
47
|
-
/* @__PURE__ */ r(
|
|
48
|
-
v,
|
|
49
|
-
{
|
|
50
|
-
isOpen: n,
|
|
51
|
-
onOpenChange: i,
|
|
52
|
-
defaultOpen: f,
|
|
53
|
-
children: d
|
|
54
|
-
}
|
|
55
|
-
)
|
|
56
|
-
) : (
|
|
57
|
-
// When no Drawer.Trigger, skip DialogTrigger to avoid the warning
|
|
58
|
-
d
|
|
59
|
-
) });
|
|
60
|
-
};
|
|
61
|
-
D.displayName = "Drawer.Root";
|
|
62
|
-
const h = ({
|
|
63
|
-
ref: e,
|
|
64
|
-
children: t,
|
|
65
|
-
asChild: a,
|
|
66
|
-
...o
|
|
67
|
-
}) => {
|
|
68
|
-
if (a)
|
|
69
|
-
return /* @__PURE__ */ r(B.button, { ref: e, asChild: !0, ...o, children: t });
|
|
70
|
-
const [n, i] = g(o);
|
|
71
|
-
return /* @__PURE__ */ r(K, { ...n, asChild: !0, children: /* @__PURE__ */ r(I, { ref: e, ...i, children: t }) });
|
|
72
|
-
};
|
|
73
|
-
h.displayName = "Drawer.Trigger";
|
|
74
|
-
const C = (e) => {
|
|
75
|
-
const { ref: t, children: a, ...o } = e, {
|
|
76
|
-
defaultOpen: n,
|
|
77
|
-
isDismissable: i,
|
|
78
|
-
isKeyboardDismissDisabled: f,
|
|
79
|
-
shouldCloseOnInteractOutside: d,
|
|
80
|
-
isOpen: p,
|
|
81
|
-
onOpenChange: l
|
|
82
|
-
} = Y(), c = {
|
|
83
|
-
defaultOpen: n,
|
|
84
|
-
isDismissable: i,
|
|
85
|
-
isKeyboardDismissDisabled: f,
|
|
86
|
-
shouldCloseOnInteractOutside: d,
|
|
87
|
-
isOpen: p,
|
|
88
|
-
onOpenChange: l
|
|
89
|
-
}, [$] = g(o);
|
|
90
|
-
return /* @__PURE__ */ r(L, { asChild: !0, children: /* @__PURE__ */ r(M, { ...c, children: /* @__PURE__ */ r(q, { asChild: !0, children: /* @__PURE__ */ r(F, { children: /* @__PURE__ */ r(G, { asChild: !0, ...$, children: /* @__PURE__ */ r(N, { ref: t, children: a }) }) }) }) }) });
|
|
91
|
-
};
|
|
92
|
-
C.displayName = "Drawer.Content";
|
|
93
|
-
const y = (e) => {
|
|
94
|
-
const { ref: t, children: a, ...o } = e;
|
|
95
|
-
return /* @__PURE__ */ r(J, { ref: t, ...o, children: a });
|
|
96
|
-
};
|
|
97
|
-
y.displayName = "Drawer.Header";
|
|
98
|
-
const b = (e) => {
|
|
99
|
-
const { ref: t, children: a, ...o } = e;
|
|
100
|
-
return /* @__PURE__ */ r(Q, { ref: t, ...{
|
|
101
|
-
/**
|
|
102
|
-
* Set tabIndex to 0 to allow the body to receive focus,
|
|
103
|
-
* effectively enabling scrolling via keyboard arrow keys.
|
|
104
|
-
*/
|
|
105
|
-
tabIndex: 0
|
|
106
|
-
}, ...o, children: a });
|
|
107
|
-
};
|
|
108
|
-
b.displayName = "Drawer.Body";
|
|
109
|
-
const x = (e) => {
|
|
110
|
-
const { ref: t, children: a, ...o } = e;
|
|
111
|
-
return /* @__PURE__ */ r(U, { ref: t, ...o, children: a });
|
|
112
|
-
};
|
|
113
|
-
x.displayName = "Drawer.Footer";
|
|
114
|
-
const T = (e) => {
|
|
115
|
-
const { ref: t, children: a, ...o } = e;
|
|
116
|
-
return /* @__PURE__ */ r(W, { asChild: !0, ...o, children: /* @__PURE__ */ r(k, { ref: t, slot: "title", as: "h2", textStyle: "lg", children: a }) });
|
|
117
|
-
};
|
|
118
|
-
T.displayName = "Drawer.Title";
|
|
119
|
-
const ee = /* @__PURE__ */ V({
|
|
120
|
-
closeTrigger: {
|
|
121
|
-
id: "Nimbus.Drawer.closeTrigger",
|
|
122
|
-
description: "aria-label for the default close trigger button",
|
|
123
|
-
defaultMessage: "Close drawer"
|
|
124
|
-
}
|
|
125
|
-
}), P = (e) => {
|
|
126
|
-
const { ref: t, "aria-label": a, ...o } = e, n = _();
|
|
127
|
-
return /* @__PURE__ */ r(X, { children: /* @__PURE__ */ r(
|
|
128
|
-
j,
|
|
129
|
-
{
|
|
130
|
-
ref: t,
|
|
131
|
-
slot: "close",
|
|
132
|
-
size: "xs",
|
|
133
|
-
variant: "ghost",
|
|
134
|
-
"aria-label": a || n.formatMessage(ee.closeTrigger),
|
|
135
|
-
...o,
|
|
136
|
-
children: /* @__PURE__ */ r(E, {})
|
|
137
|
-
}
|
|
138
|
-
) });
|
|
139
|
-
};
|
|
140
|
-
P.displayName = "Drawer.CloseTrigger";
|
|
141
|
-
const we = {
|
|
142
|
-
/**
|
|
143
|
-
* # Drawer.Root
|
|
144
|
-
*
|
|
145
|
-
* The root component that provides context and state management for the drawer.
|
|
146
|
-
* Handles accessibility and keyboard interaction.
|
|
147
|
-
*
|
|
148
|
-
* This component must wrap all drawer parts (Trigger, Content, etc.) and provides
|
|
149
|
-
* the drawer open/close state and variant styling context.
|
|
150
|
-
*
|
|
151
|
-
* @example
|
|
152
|
-
* ```tsx
|
|
153
|
-
* <Drawer.Root>
|
|
154
|
-
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
155
|
-
* <Drawer.Content>
|
|
156
|
-
* <Drawer.Header>
|
|
157
|
-
* <Drawer.Title>Drawer Title</Drawer.Title>
|
|
158
|
-
* </Drawer.Header>
|
|
159
|
-
* <Drawer.Body>Drawer content</Drawer.Body>
|
|
160
|
-
* </Drawer.Content>
|
|
161
|
-
* </Drawer.Root>
|
|
162
|
-
* ```
|
|
163
|
-
*/
|
|
164
|
-
Root: D,
|
|
165
|
-
/**
|
|
166
|
-
* # Drawer.Trigger
|
|
167
|
-
*
|
|
168
|
-
* The trigger element that opens the drawer when activated.
|
|
169
|
-
* Provides accessibility and keyboard support.
|
|
170
|
-
*
|
|
171
|
-
* @example
|
|
172
|
-
* ```tsx
|
|
173
|
-
* <Drawer.Root>
|
|
174
|
-
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
175
|
-
* <Drawer.Content>...</Drawer.Content>
|
|
176
|
-
* </Drawer.Root>
|
|
177
|
-
* ```
|
|
178
|
-
*/
|
|
179
|
-
Trigger: h,
|
|
180
|
-
/**
|
|
181
|
-
* # Drawer.Content
|
|
182
|
-
*
|
|
183
|
-
* The main drawer content container that handles portalling, backdrop,
|
|
184
|
-
* positioning, and content styling.
|
|
185
|
-
*
|
|
186
|
-
* This component creates the drawer overlay, positions the content, and provides
|
|
187
|
-
* accessibility features like focus management and keyboard dismissal.
|
|
188
|
-
*
|
|
189
|
-
* @example
|
|
190
|
-
* ```tsx
|
|
191
|
-
* <Drawer.Root>
|
|
192
|
-
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
193
|
-
* <Drawer.Content size="md" placement="center">
|
|
194
|
-
* <Drawer.Header>
|
|
195
|
-
* <Drawer.Title>Title</Drawer.Title>
|
|
196
|
-
* </Drawer.Header>
|
|
197
|
-
* <Drawer.Body>Content</Drawer.Body>
|
|
198
|
-
* <Drawer.Footer>Actions</Drawer.Footer>
|
|
199
|
-
* </Drawer.Content>
|
|
200
|
-
* </Drawer.Root>
|
|
201
|
-
* ```
|
|
202
|
-
*/
|
|
203
|
-
Content: C,
|
|
204
|
-
/**
|
|
205
|
-
* # Drawer.Header
|
|
206
|
-
*
|
|
207
|
-
* The header section of the drawer content.
|
|
208
|
-
* Typically contains the title and close button.
|
|
209
|
-
*
|
|
210
|
-
* @example
|
|
211
|
-
* ```tsx
|
|
212
|
-
* <Drawer.Content>
|
|
213
|
-
* <Drawer.Header>
|
|
214
|
-
* <Drawer.Title>Drawer Title</Drawer.Title>
|
|
215
|
-
* <Drawer.CloseTrigger />
|
|
216
|
-
* </Drawer.Header>
|
|
217
|
-
* <Drawer.Body>...</Drawer.Body>
|
|
218
|
-
* </Drawer.Content>
|
|
219
|
-
* ```
|
|
220
|
-
*/
|
|
221
|
-
Header: y,
|
|
222
|
-
/**
|
|
223
|
-
* # Drawer.Body
|
|
224
|
-
*
|
|
225
|
-
* The main body content section of the drawer.
|
|
226
|
-
* Contains the primary drawer content and handles overflow/scrolling.
|
|
227
|
-
*
|
|
228
|
-
* @example
|
|
229
|
-
* ```tsx
|
|
230
|
-
* <Drawer.Content>
|
|
231
|
-
* <Drawer.Header>...</Drawer.Header>
|
|
232
|
-
* <Drawer.Body>
|
|
233
|
-
* <p>This is the main content of the drawer.</p>
|
|
234
|
-
* </Drawer.Body>
|
|
235
|
-
* <Drawer.Footer>...</Drawer.Footer>
|
|
236
|
-
* </Drawer.Content>
|
|
237
|
-
* ```
|
|
238
|
-
*/
|
|
239
|
-
Body: b,
|
|
240
|
-
/**
|
|
241
|
-
* # Drawer.Footer
|
|
242
|
-
*
|
|
243
|
-
* The footer section of the drawer, typically containing action buttons.
|
|
244
|
-
* Provides consistent spacing and alignment for drawer actions.
|
|
245
|
-
*
|
|
246
|
-
* @example
|
|
247
|
-
* ```tsx
|
|
248
|
-
* <Drawer.Content>
|
|
249
|
-
* <Drawer.Header>...</Drawer.Header>
|
|
250
|
-
* <Drawer.Body>...</Drawer.Body>
|
|
251
|
-
* <Drawer.Footer>
|
|
252
|
-
* <Button variant="outline">Cancel</Button>
|
|
253
|
-
* <Button>Confirm</Button>
|
|
254
|
-
* </Drawer.Footer>
|
|
255
|
-
* </Drawer.Content>
|
|
256
|
-
* ```
|
|
257
|
-
*/
|
|
258
|
-
Footer: x,
|
|
259
|
-
/**
|
|
260
|
-
* # Drawer.Title
|
|
261
|
-
*
|
|
262
|
-
* The accessible title element for the drawer.
|
|
263
|
-
* Provides proper accessibility and screen reader support.
|
|
264
|
-
*
|
|
265
|
-
* @example
|
|
266
|
-
* ```tsx
|
|
267
|
-
* <Drawer.Content>
|
|
268
|
-
* <Drawer.Header>
|
|
269
|
-
* <Drawer.Title>Confirm Action</Drawer.Title>
|
|
270
|
-
* </Drawer.Header>
|
|
271
|
-
* <Drawer.Body>...</Drawer.Body>
|
|
272
|
-
* </Drawer.Content>
|
|
273
|
-
* ```
|
|
274
|
-
*/
|
|
275
|
-
Title: T,
|
|
276
|
-
/**
|
|
277
|
-
* # Drawer.CloseTrigger
|
|
278
|
-
*
|
|
279
|
-
* A button that closes the drawer when activated.
|
|
280
|
-
* Displays an IconButton with a close (X) icon by default.
|
|
281
|
-
*
|
|
282
|
-
* The component automatically handles the close behavior,
|
|
283
|
-
* so no additional onPress handler is needed.
|
|
284
|
-
*
|
|
285
|
-
* @example
|
|
286
|
-
* ```tsx
|
|
287
|
-
* <Drawer.Root>
|
|
288
|
-
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
289
|
-
* <Drawer.Content>
|
|
290
|
-
* <Drawer.Header>
|
|
291
|
-
* <Drawer.Title>Title</Drawer.Title>
|
|
292
|
-
* <Drawer.CloseTrigger aria-label="Close drawer" />
|
|
293
|
-
* </Drawer.Header>
|
|
294
|
-
* <Drawer.Body>Content</Drawer.Body>
|
|
295
|
-
* </Drawer.Content>
|
|
296
|
-
* </Drawer.Root>
|
|
297
|
-
* ```
|
|
298
|
-
*/
|
|
299
|
-
CloseTrigger: P
|
|
300
|
-
};
|
|
301
|
-
export {
|
|
302
|
-
we as D
|
|
303
|
-
};
|
|
304
|
-
//# sourceMappingURL=drawer-CT5qAdLo.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-CT5qAdLo.es.js","sources":["../../src/components/drawer/drawer.slots.tsx","../../src/components/drawer/components/drawer.context.tsx","../../src/components/drawer/components/drawer.root.tsx","../../src/components/drawer/components/drawer.trigger.tsx","../../src/components/drawer/components/drawer.content.tsx","../../src/components/drawer/components/drawer.header.tsx","../../src/components/drawer/components/drawer.body.tsx","../../src/components/drawer/components/drawer.footer.tsx","../../src/components/drawer/components/drawer.title.tsx","../../src/components/drawer/drawer.i18n.ts","../../src/components/drawer/components/drawer.close-trigger.tsx","../../src/components/drawer/drawer.tsx"],"sourcesContent":["import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react/styled-system\";\nimport { drawerSlotRecipe } from \"./drawer.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: drawerSlotRecipe,\n});\n\n// Root slot - provides recipe context + config to all child components\nexport type DrawerRootSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerRootSlot = withProvider<HTMLDivElement, DrawerRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Trigger slot - button that opens the drawer\nexport type DrawerTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const DrawerTriggerSlot = withContext<\n HTMLButtonElement,\n DrawerTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Backdrop slot - overlay displayed behind the drawer\nexport type DrawerModalOverlaySlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerModalOverlaySlot = withContext<\n HTMLDivElement,\n DrawerModalOverlaySlotProps\n>(\"div\", \"modalOverlay\");\n\n// modal slot - positions the drawer content\nexport type DrawerModalSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerModalSlot = withContext<\n HTMLDivElement,\n DrawerModalSlotProps\n>(\"div\", \"modal\");\n\n// Content slot - main drawer container\nexport type DrawerContentSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerContentSlot = withContext<\n HTMLDivElement,\n DrawerContentSlotProps\n>(\"div\", \"content\");\n\n// Header slot - drawer header section\nexport type DrawerHeaderSlotProps = HTMLChakraProps<\"header\">;\nexport const DrawerHeaderSlot = withContext<HTMLElement, DrawerHeaderSlotProps>(\n \"header\",\n \"header\"\n);\n\n// Body slot - drawer body content\nexport type DrawerBodySlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerBodySlot = withContext<HTMLDivElement, DrawerBodySlotProps>(\n \"div\",\n \"body\"\n);\n\n// Footer slot - drawer footer section with actions\nexport type DrawerFooterSlotProps = HTMLChakraProps<\"footer\">;\nexport const DrawerFooterSlot = withContext<HTMLElement, DrawerFooterSlotProps>(\n \"footer\",\n \"footer\"\n);\n\n// Title slot - accessible drawer title\nexport type DrawerTitleSlotProps = HTMLChakraProps<\"h2\">;\nexport const DrawerTitleSlot = withContext<\n HTMLHeadingElement,\n DrawerTitleSlotProps\n>(\"h2\", \"title\");\n\n// Close trigger slot - div container for positioning close button\nexport type DrawerCloseTriggerSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerCloseTriggerSlot = withContext<\n HTMLDivElement,\n DrawerCloseTriggerSlotProps\n>(\"div\", \"closeTrigger\");\n","import { createContext, useContext } from \"react\";\nimport type { DrawerRootProps } from \"../drawer.types\";\n\n/**\n * Context value containing drawer configuration passed from Root to child components\n */\nexport type DrawerContextValue = DrawerRootProps;\n\nexport const DrawerContext = createContext<DrawerContextValue | undefined>(\n undefined\n);\n\n/**\n * Hook to access drawer configuration from DrawerContext\n * @returns Drawer configuration from context\n * @throws Error if used outside of Drawer.Root\n */\nexport const useDrawerRootContext = (): DrawerContextValue => {\n const context = useContext(DrawerContext);\n if (!context) {\n throw new Error(\"useDrawerContext must be used within Drawer.Root\");\n }\n return context;\n};\n\n/**\n * Provider component that passes drawer configuration down to child components\n */\nexport const DrawerProvider = ({\n children,\n value,\n}: {\n children: React.ReactNode;\n value: DrawerContextValue;\n}) => {\n return <DrawerContext value={value}>{children}</DrawerContext>;\n};\n","import React from \"react\";\nimport { DialogTrigger as RaDialogTrigger } from \"react-aria-components\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { DrawerRootSlot } from \"../drawer.slots\";\nimport type { DrawerRootProps } from \"../drawer.types\";\nimport { DrawerProvider } from \"./drawer.context\";\nimport { drawerSlotRecipe } from \"../drawer.recipe\";\n\nexport const DrawerRoot = (props: DrawerRootProps) => {\n const recipe = useSlotRecipe({ recipe: drawerSlotRecipe });\n // Extract recipe props\n const [recipeProps] = recipe.splitVariantProps(props);\n // Extract props that are usable on RaDialogTrigger\n const { children, isOpen, onOpenChange, defaultOpen = false } = props;\n\n const content = <DrawerRootSlot {...recipeProps}>{children}</DrawerRootSlot>;\n\n // Check if any child is a Drawer.Trigger component\n // React Aria's DialogTrigger needs a pressable child, so we only use it when there's a trigger\n const hasDrawerTrigger = React.Children.toArray(children).some((child) => {\n if (React.isValidElement(child) && typeof child.type === \"function\") {\n const displayName = (\n child.type as React.ComponentType & { displayName?: string }\n )?.displayName;\n return (\n displayName === \"DrawerTrigger\" || displayName === \"Drawer.Trigger\"\n );\n }\n return false;\n });\n\n // Share all props (config + variant props) with the Drawer subcomponents\n return (\n <DrawerProvider value={props}>\n {hasDrawerTrigger ? (\n // When there's a Drawer.Trigger, use DialogTrigger for React Aria integration\n <RaDialogTrigger\n isOpen={isOpen}\n onOpenChange={onOpenChange}\n defaultOpen={defaultOpen}\n >\n {content}\n </RaDialogTrigger>\n ) : (\n // When no Drawer.Trigger, skip DialogTrigger to avoid the warning\n content\n )}\n </DrawerProvider>\n );\n};\n\nDrawerRoot.displayName = \"Drawer.Root\";\n","import { Button as RaButton } from \"react-aria-components\";\nimport { DrawerTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerTriggerProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { chakra } from \"@chakra-ui/react/styled-system\";\n\nexport const DrawerTrigger = ({\n ref: forwardedRef,\n children,\n asChild,\n ...props\n}: DrawerTriggerProps) => {\n // If asChild is true, wrap children directly in RaButton with asChild\n if (asChild) {\n return (\n <chakra.button ref={forwardedRef} asChild {...props}>\n {children}\n </chakra.button>\n );\n }\n\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Otherwise, wrap with both DrawerTriggerSlot and RaButton\n // Only pass React Aria compatible props to avoid type conflicts\n return (\n <DrawerTriggerSlot {...styleProps} asChild>\n <RaButton ref={forwardedRef} {...restProps}>\n {children}\n </RaButton>\n </DrawerTriggerSlot>\n );\n};\n\nDrawerTrigger.displayName = \"Drawer.Trigger\";\n","import {\n Modal as RaModal,\n ModalOverlay as RaModalOverlay,\n Dialog as RaDialog,\n} from \"react-aria-components\";\nimport {\n DrawerModalOverlaySlot,\n DrawerModalSlot,\n DrawerContentSlot,\n} from \"../drawer.slots\";\nimport type { DrawerContentProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { useDrawerRootContext } from \"./drawer.context\";\n\nexport const DrawerContent = (props: DrawerContentProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n // Get recipe configuration from context instead of props\n const {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n } = useDrawerRootContext();\n\n const modalProps = {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n };\n\n const [styleProps] = extractStyleProps(restProps);\n\n return (\n <DrawerModalOverlaySlot asChild>\n <RaModalOverlay {...modalProps}>\n <DrawerModalSlot asChild>\n <RaModal>\n <DrawerContentSlot asChild {...styleProps}>\n <RaDialog ref={forwardedRef}>{children}</RaDialog>\n </DrawerContentSlot>\n </RaModal>\n </DrawerModalSlot>\n </RaModalOverlay>\n </DrawerModalOverlaySlot>\n );\n};\n\nDrawerContent.displayName = \"Drawer.Content\";\n","import { DrawerHeaderSlot } from \"../drawer.slots\";\nimport type { DrawerHeaderProps } from \"../drawer.types\";\n\nexport const DrawerHeader = (props: DrawerHeaderProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerHeaderSlot ref={forwardedRef} {...restProps}>\n {children}\n </DrawerHeaderSlot>\n );\n};\n\nDrawerHeader.displayName = \"Drawer.Header\";\n","import { DrawerBodySlot } from \"../drawer.slots\";\nimport type { DrawerBodyProps } from \"../drawer.types\";\n\nexport const DrawerBody = (props: DrawerBodyProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n const defaultProps = {\n /**\n * Set tabIndex to 0 to allow the body to receive focus,\n * effectively enabling scrolling via keyboard arrow keys.\n */\n tabIndex: 0,\n };\n\n return (\n <DrawerBodySlot ref={forwardedRef} {...defaultProps} {...restProps}>\n {children}\n </DrawerBodySlot>\n );\n};\n\nDrawerBody.displayName = \"Drawer.Body\";\n","import { DrawerFooterSlot } from \"../drawer.slots\";\nimport type { DrawerFooterProps } from \"../drawer.types\";\n\nexport const DrawerFooter = (props: DrawerFooterProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerFooterSlot ref={forwardedRef} {...restProps}>\n {children}\n </DrawerFooterSlot>\n );\n};\n\nDrawerFooter.displayName = \"Drawer.Footer\";\n","import { DrawerTitleSlot } from \"../drawer.slots\";\nimport type { DrawerTitleProps } from \"../drawer.types\";\nimport { Heading } from \"@/components\";\n\nexport const DrawerTitle = (props: DrawerTitleProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerTitleSlot asChild {...restProps}>\n <Heading ref={forwardedRef} slot=\"title\" as=\"h2\" textStyle=\"lg\">\n {children}\n </Heading>\n </DrawerTitleSlot>\n );\n};\n\nDrawerTitle.displayName = \"Drawer.Title\";\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n closeTrigger: {\n id: \"Nimbus.Drawer.closeTrigger\",\n description: \"aria-label for the default close trigger button\",\n defaultMessage: \"Close drawer\",\n },\n});\n","import { Close } from \"@commercetools/nimbus-icons\";\nimport { DrawerCloseTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerCloseTriggerProps } from \"../drawer.types\";\nimport { IconButton } from \"@/components\";\nimport { messages } from \"../drawer.i18n\";\nimport { useIntl } from \"react-intl\";\n\nexport const DrawerCloseTrigger = (props: DrawerCloseTriggerProps) => {\n const { ref: forwardedRef, \"aria-label\": ariaLabel, ...restProps } = props;\n const intl = useIntl();\n\n return (\n <DrawerCloseTriggerSlot>\n <IconButton\n ref={forwardedRef}\n slot=\"close\"\n size=\"xs\"\n variant=\"ghost\"\n aria-label={ariaLabel || intl.formatMessage(messages.closeTrigger)}\n {...restProps}\n >\n <Close />\n </IconButton>\n </DrawerCloseTriggerSlot>\n );\n};\n\nDrawerCloseTrigger.displayName = \"Drawer.CloseTrigger\";\n","import { DrawerRoot } from \"./components/drawer.root\";\nimport { DrawerTrigger } from \"./components/drawer.trigger\";\nimport { DrawerContent } from \"./components/drawer.content\";\nimport { DrawerHeader } from \"./components/drawer.header\";\nimport { DrawerBody } from \"./components/drawer.body\";\nimport { DrawerFooter } from \"./components/drawer.footer\";\nimport { DrawerTitle } from \"./components/drawer.title\";\nimport { DrawerCloseTrigger } from \"./components/drawer.close-trigger\";\n\n/**\n * Drawer\n * ============================================================\n * A foundational drawer component for overlays that require user attention.\n * Built for accessibility and WCAG 2.1 AA compliance.\n *\n * Features:\n * - Controlled and uncontrolled modes\n * - Customizable placement, size, and animations\n * - Focus management and keyboard navigation\n * - Click-outside and Escape key dismissal\n * - Portal rendering support\n * - Backdrop overlay with animations\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content size=\"md\" placement=\"center\">\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * <Drawer.CloseTrigger>×</Drawer.CloseTrigger>\n * </Drawer.Header>\n * <Drawer.Body>\n * Drawer content goes here\n * </Drawer.Body>\n * <Drawer.Footer>\n * <button>Cancel</button>\n * <button>Save</button>\n * </Drawer.Footer>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n * @see https://nimbus-documentation.vercel.app/components/feedback/drawer\n */\nexport const Drawer = {\n /**\n * # Drawer.Root\n *\n * The root component that provides context and state management for the drawer.\n * Handles accessibility and keyboard interaction.\n *\n * This component must wrap all drawer parts (Trigger, Content, etc.) and provides\n * the drawer open/close state and variant styling context.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>Drawer content</Drawer.Body>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Root: DrawerRoot,\n /**\n * # Drawer.Trigger\n *\n * The trigger element that opens the drawer when activated.\n * Provides accessibility and keyboard support.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>...</Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Trigger: DrawerTrigger,\n /**\n * # Drawer.Content\n *\n * The main drawer content container that handles portalling, backdrop,\n * positioning, and content styling.\n *\n * This component creates the drawer overlay, positions the content, and provides\n * accessibility features like focus management and keyboard dismissal.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content size=\"md\" placement=\"center\">\n * <Drawer.Header>\n * <Drawer.Title>Title</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>Content</Drawer.Body>\n * <Drawer.Footer>Actions</Drawer.Footer>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Content: DrawerContent,\n /**\n * # Drawer.Header\n *\n * The header section of the drawer content.\n * Typically contains the title and close button.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * <Drawer.CloseTrigger />\n * </Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * </Drawer.Content>\n * ```\n */\n Header: DrawerHeader,\n /**\n * # Drawer.Body\n *\n * The main body content section of the drawer.\n * Contains the primary drawer content and handles overflow/scrolling.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>...</Drawer.Header>\n * <Drawer.Body>\n * <p>This is the main content of the drawer.</p>\n * </Drawer.Body>\n * <Drawer.Footer>...</Drawer.Footer>\n * </Drawer.Content>\n * ```\n */\n Body: DrawerBody,\n /**\n * # Drawer.Footer\n *\n * The footer section of the drawer, typically containing action buttons.\n * Provides consistent spacing and alignment for drawer actions.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>...</Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * <Drawer.Footer>\n * <Button variant=\"outline\">Cancel</Button>\n * <Button>Confirm</Button>\n * </Drawer.Footer>\n * </Drawer.Content>\n * ```\n */\n Footer: DrawerFooter,\n /**\n * # Drawer.Title\n *\n * The accessible title element for the drawer.\n * Provides proper accessibility and screen reader support.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Confirm Action</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * </Drawer.Content>\n * ```\n */\n Title: DrawerTitle,\n /**\n * # Drawer.CloseTrigger\n *\n * A button that closes the drawer when activated.\n * Displays an IconButton with a close (X) icon by default.\n *\n * The component automatically handles the close behavior,\n * so no additional onPress handler is needed.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Title</Drawer.Title>\n * <Drawer.CloseTrigger aria-label=\"Close drawer\" />\n * </Drawer.Header>\n * <Drawer.Body>Content</Drawer.Body>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n CloseTrigger: DrawerCloseTrigger,\n};\n\n// Internal exports for react-docgen\nexport {\n DrawerRoot as _DrawerRoot,\n DrawerTrigger as _DrawerTrigger,\n DrawerContent as _DrawerContent,\n DrawerHeader as _DrawerHeader,\n DrawerBody as _DrawerBody,\n DrawerFooter as _DrawerFooter,\n DrawerTitle as _DrawerTitle,\n DrawerCloseTrigger as _DrawerCloseTrigger,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","drawerSlotRecipe","DrawerRootSlot","DrawerTriggerSlot","DrawerModalOverlaySlot","DrawerModalSlot","DrawerContentSlot","DrawerHeaderSlot","DrawerBodySlot","DrawerFooterSlot","DrawerTitleSlot","DrawerCloseTriggerSlot","DrawerContext","createContext","useDrawerRootContext","context","useContext","DrawerProvider","children","value","jsx","DrawerRoot","props","recipe","useSlotRecipe","recipeProps","isOpen","onOpenChange","defaultOpen","content","hasDrawerTrigger","React","child","displayName","RaDialogTrigger","DrawerTrigger","forwardedRef","asChild","chakra","styleProps","restProps","extractStyleProps","RaButton","DrawerContent","isDismissable","isKeyboardDismissDisabled","shouldCloseOnInteractOutside","modalProps","RaModalOverlay","RaModal","RaDialog","DrawerHeader","DrawerBody","DrawerFooter","DrawerTitle","Heading","messages","defineMessages","DrawerCloseTrigger","ariaLabel","intl","useIntl","IconButton","Close","Drawer"],"mappings":"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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),u=require("react"),x=require("./Dialog-XGXh4NXU.cjs.js"),g=require("@chakra-ui/react/styled-system"),D=require("./index-CRFg4Mhx.cjs.js"),q=require("./Button-CFZnLKVR.cjs.js"),h=require("./extract-style-props-Dk3fpLyQ.cjs.js"),p=require("./Modal-CVOcKPNx.cjs.js"),N=require("./heading-BTacGwo9.cjs.js"),O=require("@commercetools/nimbus-icons"),y=require("react-intl"),B=require("./icon-button-vWPrT-bR.cjs.js"),{withProvider:I,withContext:a}=g.createSlotRecipeContext({recipe:D.drawerSlotRecipe}),M=I("div","root"),H=a("button","trigger"),F=a("div","modalOverlay"),E=a("div","modal"),V=a("div","content"),k=a("header","header"),z=a("div","body"),A=a("footer","footer"),K=a("h2","title"),L=a("div","closeTrigger"),C=u.createContext(void 0),G=()=>{const e=u.useContext(C);if(!e)throw new Error("useDrawerContext must be used within Drawer.Root");return e},J=({children:e,value:t})=>r.jsx(C,{value:t,children:e}),m=e=>{const t=g.useSlotRecipe({recipe:D.drawerSlotRecipe}),[s]=t.splitVariantProps(e),{children:o,isOpen:n,onOpenChange:i,defaultOpen:f=!1}=e,l=r.jsx(M,{...s,children:o}),w=u.Children.toArray(o).some(c=>{if(u.isValidElement(c)&&typeof c.type=="function"){const d=c.type?.displayName;return d==="DrawerTrigger"||d==="Drawer.Trigger"}return!1});return r.jsx(J,{value:e,children:w?r.jsx(x.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:n,onOpenChange:i,defaultOpen:f,children:l}):l})};m.displayName="Drawer.Root";const b=({ref:e,children:t,asChild:s,...o})=>{if(s)return r.jsx(g.chakra.button,{ref:e,asChild:!0,...o,children:t});const[n,i]=h.extractStyleProps(o);return r.jsx(H,{...n,asChild:!0,children:r.jsx(q.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{ref:e,...i,children:t})})};b.displayName="Drawer.Trigger";const j=e=>{const{ref:t,children:s,...o}=e,{defaultOpen:n,isDismissable:i,isKeyboardDismissDisabled:f,shouldCloseOnInteractOutside:l,isOpen:w,onOpenChange:c}=G(),d={defaultOpen:n,isDismissable:i,isKeyboardDismissDisabled:f,shouldCloseOnInteractOutside:l,isOpen:w,onOpenChange:c},[v]=h.extractStyleProps(o);return r.jsx(F,{asChild:!0,children:r.jsx(p.$f3f84453ead64de5$export$8948f78d83984c69,{...d,children:r.jsx(E,{asChild:!0,children:r.jsx(p.$f3f84453ead64de5$export$2b77a92f1a5ad772,{children:r.jsx(V,{asChild:!0,...v,children:r.jsx(x.$de32f1b87079253c$export$3ddf2d174ce01153,{ref:t,children:s})})})})})})};j.displayName="Drawer.Content";const S=e=>{const{ref:t,children:s,...o}=e;return r.jsx(k,{ref:t,...o,children:s})};S.displayName="Drawer.Header";const T=e=>{const{ref:t,children:s,...o}=e,n={tabIndex:0};return r.jsx(z,{ref:t,...n,...o,children:s})};T.displayName="Drawer.Body";const P=e=>{const{ref:t,children:s,...o}=e;return r.jsx(A,{ref:t,...o,children:s})};P.displayName="Drawer.Footer";const R=e=>{const{ref:t,children:s,...o}=e;return r.jsx(K,{asChild:!0,...o,children:r.jsx(N.Heading,{ref:t,slot:"title",as:"h2",textStyle:"lg",children:s})})};R.displayName="Drawer.Title";const Q=y.defineMessages({closeTrigger:{id:"Nimbus.Drawer.closeTrigger",description:"aria-label for the default close trigger button",defaultMessage:"Close drawer"}}),$=e=>{const{ref:t,"aria-label":s,...o}=e,n=y.useIntl();return r.jsx(L,{children:r.jsx(B.IconButton,{ref:t,slot:"close",size:"xs",variant:"ghost","aria-label":s||n.formatMessage(Q.closeTrigger),...o,children:r.jsx(O.Close,{})})})};$.displayName="Drawer.CloseTrigger";const U={Root:m,Trigger:b,Content:j,Header:S,Body:T,Footer:P,Title:R,CloseTrigger:$};exports.Drawer=U;
|
|
2
|
-
//# sourceMappingURL=drawer-vgDYdzlq.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-vgDYdzlq.cjs.js","sources":["../../src/components/drawer/drawer.slots.tsx","../../src/components/drawer/components/drawer.context.tsx","../../src/components/drawer/components/drawer.root.tsx","../../src/components/drawer/components/drawer.trigger.tsx","../../src/components/drawer/components/drawer.content.tsx","../../src/components/drawer/components/drawer.header.tsx","../../src/components/drawer/components/drawer.body.tsx","../../src/components/drawer/components/drawer.footer.tsx","../../src/components/drawer/components/drawer.title.tsx","../../src/components/drawer/drawer.i18n.ts","../../src/components/drawer/components/drawer.close-trigger.tsx","../../src/components/drawer/drawer.tsx"],"sourcesContent":["import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react/styled-system\";\nimport { drawerSlotRecipe } from \"./drawer.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: drawerSlotRecipe,\n});\n\n// Root slot - provides recipe context + config to all child components\nexport type DrawerRootSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerRootSlot = withProvider<HTMLDivElement, DrawerRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Trigger slot - button that opens the drawer\nexport type DrawerTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const DrawerTriggerSlot = withContext<\n HTMLButtonElement,\n DrawerTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Backdrop slot - overlay displayed behind the drawer\nexport type DrawerModalOverlaySlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerModalOverlaySlot = withContext<\n HTMLDivElement,\n DrawerModalOverlaySlotProps\n>(\"div\", \"modalOverlay\");\n\n// modal slot - positions the drawer content\nexport type DrawerModalSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerModalSlot = withContext<\n HTMLDivElement,\n DrawerModalSlotProps\n>(\"div\", \"modal\");\n\n// Content slot - main drawer container\nexport type DrawerContentSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerContentSlot = withContext<\n HTMLDivElement,\n DrawerContentSlotProps\n>(\"div\", \"content\");\n\n// Header slot - drawer header section\nexport type DrawerHeaderSlotProps = HTMLChakraProps<\"header\">;\nexport const DrawerHeaderSlot = withContext<HTMLElement, DrawerHeaderSlotProps>(\n \"header\",\n \"header\"\n);\n\n// Body slot - drawer body content\nexport type DrawerBodySlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerBodySlot = withContext<HTMLDivElement, DrawerBodySlotProps>(\n \"div\",\n \"body\"\n);\n\n// Footer slot - drawer footer section with actions\nexport type DrawerFooterSlotProps = HTMLChakraProps<\"footer\">;\nexport const DrawerFooterSlot = withContext<HTMLElement, DrawerFooterSlotProps>(\n \"footer\",\n \"footer\"\n);\n\n// Title slot - accessible drawer title\nexport type DrawerTitleSlotProps = HTMLChakraProps<\"h2\">;\nexport const DrawerTitleSlot = withContext<\n HTMLHeadingElement,\n DrawerTitleSlotProps\n>(\"h2\", \"title\");\n\n// Close trigger slot - div container for positioning close button\nexport type DrawerCloseTriggerSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerCloseTriggerSlot = withContext<\n HTMLDivElement,\n DrawerCloseTriggerSlotProps\n>(\"div\", \"closeTrigger\");\n","import { createContext, useContext } from \"react\";\nimport type { DrawerRootProps } from \"../drawer.types\";\n\n/**\n * Context value containing drawer configuration passed from Root to child components\n */\nexport type DrawerContextValue = DrawerRootProps;\n\nexport const DrawerContext = createContext<DrawerContextValue | undefined>(\n undefined\n);\n\n/**\n * Hook to access drawer configuration from DrawerContext\n * @returns Drawer configuration from context\n * @throws Error if used outside of Drawer.Root\n */\nexport const useDrawerRootContext = (): DrawerContextValue => {\n const context = useContext(DrawerContext);\n if (!context) {\n throw new Error(\"useDrawerContext must be used within Drawer.Root\");\n }\n return context;\n};\n\n/**\n * Provider component that passes drawer configuration down to child components\n */\nexport const DrawerProvider = ({\n children,\n value,\n}: {\n children: React.ReactNode;\n value: DrawerContextValue;\n}) => {\n return <DrawerContext value={value}>{children}</DrawerContext>;\n};\n","import React from \"react\";\nimport { DialogTrigger as RaDialogTrigger } from \"react-aria-components\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { DrawerRootSlot } from \"../drawer.slots\";\nimport type { DrawerRootProps } from \"../drawer.types\";\nimport { DrawerProvider } from \"./drawer.context\";\nimport { drawerSlotRecipe } from \"../drawer.recipe\";\n\nexport const DrawerRoot = (props: DrawerRootProps) => {\n const recipe = useSlotRecipe({ recipe: drawerSlotRecipe });\n // Extract recipe props\n const [recipeProps] = recipe.splitVariantProps(props);\n // Extract props that are usable on RaDialogTrigger\n const { children, isOpen, onOpenChange, defaultOpen = false } = props;\n\n const content = <DrawerRootSlot {...recipeProps}>{children}</DrawerRootSlot>;\n\n // Check if any child is a Drawer.Trigger component\n // React Aria's DialogTrigger needs a pressable child, so we only use it when there's a trigger\n const hasDrawerTrigger = React.Children.toArray(children).some((child) => {\n if (React.isValidElement(child) && typeof child.type === \"function\") {\n const displayName = (\n child.type as React.ComponentType & { displayName?: string }\n )?.displayName;\n return (\n displayName === \"DrawerTrigger\" || displayName === \"Drawer.Trigger\"\n );\n }\n return false;\n });\n\n // Share all props (config + variant props) with the Drawer subcomponents\n return (\n <DrawerProvider value={props}>\n {hasDrawerTrigger ? (\n // When there's a Drawer.Trigger, use DialogTrigger for React Aria integration\n <RaDialogTrigger\n isOpen={isOpen}\n onOpenChange={onOpenChange}\n defaultOpen={defaultOpen}\n >\n {content}\n </RaDialogTrigger>\n ) : (\n // When no Drawer.Trigger, skip DialogTrigger to avoid the warning\n content\n )}\n </DrawerProvider>\n );\n};\n\nDrawerRoot.displayName = \"Drawer.Root\";\n","import { Button as RaButton } from \"react-aria-components\";\nimport { DrawerTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerTriggerProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { chakra } from \"@chakra-ui/react/styled-system\";\n\nexport const DrawerTrigger = ({\n ref: forwardedRef,\n children,\n asChild,\n ...props\n}: DrawerTriggerProps) => {\n // If asChild is true, wrap children directly in RaButton with asChild\n if (asChild) {\n return (\n <chakra.button ref={forwardedRef} asChild {...props}>\n {children}\n </chakra.button>\n );\n }\n\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Otherwise, wrap with both DrawerTriggerSlot and RaButton\n // Only pass React Aria compatible props to avoid type conflicts\n return (\n <DrawerTriggerSlot {...styleProps} asChild>\n <RaButton ref={forwardedRef} {...restProps}>\n {children}\n </RaButton>\n </DrawerTriggerSlot>\n );\n};\n\nDrawerTrigger.displayName = \"Drawer.Trigger\";\n","import {\n Modal as RaModal,\n ModalOverlay as RaModalOverlay,\n Dialog as RaDialog,\n} from \"react-aria-components\";\nimport {\n DrawerModalOverlaySlot,\n DrawerModalSlot,\n DrawerContentSlot,\n} from \"../drawer.slots\";\nimport type { DrawerContentProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { useDrawerRootContext } from \"./drawer.context\";\n\nexport const DrawerContent = (props: DrawerContentProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n // Get recipe configuration from context instead of props\n const {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n } = useDrawerRootContext();\n\n const modalProps = {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n };\n\n const [styleProps] = extractStyleProps(restProps);\n\n return (\n <DrawerModalOverlaySlot asChild>\n <RaModalOverlay {...modalProps}>\n <DrawerModalSlot asChild>\n <RaModal>\n <DrawerContentSlot asChild {...styleProps}>\n <RaDialog ref={forwardedRef}>{children}</RaDialog>\n </DrawerContentSlot>\n </RaModal>\n </DrawerModalSlot>\n </RaModalOverlay>\n </DrawerModalOverlaySlot>\n );\n};\n\nDrawerContent.displayName = \"Drawer.Content\";\n","import { DrawerHeaderSlot } from \"../drawer.slots\";\nimport type { DrawerHeaderProps } from \"../drawer.types\";\n\nexport const DrawerHeader = (props: DrawerHeaderProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerHeaderSlot ref={forwardedRef} {...restProps}>\n {children}\n </DrawerHeaderSlot>\n );\n};\n\nDrawerHeader.displayName = \"Drawer.Header\";\n","import { DrawerBodySlot } from \"../drawer.slots\";\nimport type { DrawerBodyProps } from \"../drawer.types\";\n\nexport const DrawerBody = (props: DrawerBodyProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n const defaultProps = {\n /**\n * Set tabIndex to 0 to allow the body to receive focus,\n * effectively enabling scrolling via keyboard arrow keys.\n */\n tabIndex: 0,\n };\n\n return (\n <DrawerBodySlot ref={forwardedRef} {...defaultProps} {...restProps}>\n {children}\n </DrawerBodySlot>\n );\n};\n\nDrawerBody.displayName = \"Drawer.Body\";\n","import { DrawerFooterSlot } from \"../drawer.slots\";\nimport type { DrawerFooterProps } from \"../drawer.types\";\n\nexport const DrawerFooter = (props: DrawerFooterProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerFooterSlot ref={forwardedRef} {...restProps}>\n {children}\n </DrawerFooterSlot>\n );\n};\n\nDrawerFooter.displayName = \"Drawer.Footer\";\n","import { DrawerTitleSlot } from \"../drawer.slots\";\nimport type { DrawerTitleProps } from \"../drawer.types\";\nimport { Heading } from \"@/components\";\n\nexport const DrawerTitle = (props: DrawerTitleProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerTitleSlot asChild {...restProps}>\n <Heading ref={forwardedRef} slot=\"title\" as=\"h2\" textStyle=\"lg\">\n {children}\n </Heading>\n </DrawerTitleSlot>\n );\n};\n\nDrawerTitle.displayName = \"Drawer.Title\";\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n closeTrigger: {\n id: \"Nimbus.Drawer.closeTrigger\",\n description: \"aria-label for the default close trigger button\",\n defaultMessage: \"Close drawer\",\n },\n});\n","import { Close } from \"@commercetools/nimbus-icons\";\nimport { DrawerCloseTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerCloseTriggerProps } from \"../drawer.types\";\nimport { IconButton } from \"@/components\";\nimport { messages } from \"../drawer.i18n\";\nimport { useIntl } from \"react-intl\";\n\nexport const DrawerCloseTrigger = (props: DrawerCloseTriggerProps) => {\n const { ref: forwardedRef, \"aria-label\": ariaLabel, ...restProps } = props;\n const intl = useIntl();\n\n return (\n <DrawerCloseTriggerSlot>\n <IconButton\n ref={forwardedRef}\n slot=\"close\"\n size=\"xs\"\n variant=\"ghost\"\n aria-label={ariaLabel || intl.formatMessage(messages.closeTrigger)}\n {...restProps}\n >\n <Close />\n </IconButton>\n </DrawerCloseTriggerSlot>\n );\n};\n\nDrawerCloseTrigger.displayName = \"Drawer.CloseTrigger\";\n","import { DrawerRoot } from \"./components/drawer.root\";\nimport { DrawerTrigger } from \"./components/drawer.trigger\";\nimport { DrawerContent } from \"./components/drawer.content\";\nimport { DrawerHeader } from \"./components/drawer.header\";\nimport { DrawerBody } from \"./components/drawer.body\";\nimport { DrawerFooter } from \"./components/drawer.footer\";\nimport { DrawerTitle } from \"./components/drawer.title\";\nimport { DrawerCloseTrigger } from \"./components/drawer.close-trigger\";\n\n/**\n * Drawer\n * ============================================================\n * A foundational drawer component for overlays that require user attention.\n * Built for accessibility and WCAG 2.1 AA compliance.\n *\n * Features:\n * - Controlled and uncontrolled modes\n * - Customizable placement, size, and animations\n * - Focus management and keyboard navigation\n * - Click-outside and Escape key dismissal\n * - Portal rendering support\n * - Backdrop overlay with animations\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content size=\"md\" placement=\"center\">\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * <Drawer.CloseTrigger>×</Drawer.CloseTrigger>\n * </Drawer.Header>\n * <Drawer.Body>\n * Drawer content goes here\n * </Drawer.Body>\n * <Drawer.Footer>\n * <button>Cancel</button>\n * <button>Save</button>\n * </Drawer.Footer>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n * @see https://nimbus-documentation.vercel.app/components/feedback/drawer\n */\nexport const Drawer = {\n /**\n * # Drawer.Root\n *\n * The root component that provides context and state management for the drawer.\n * Handles accessibility and keyboard interaction.\n *\n * This component must wrap all drawer parts (Trigger, Content, etc.) and provides\n * the drawer open/close state and variant styling context.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>Drawer content</Drawer.Body>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Root: DrawerRoot,\n /**\n * # Drawer.Trigger\n *\n * The trigger element that opens the drawer when activated.\n * Provides accessibility and keyboard support.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>...</Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Trigger: DrawerTrigger,\n /**\n * # Drawer.Content\n *\n * The main drawer content container that handles portalling, backdrop,\n * positioning, and content styling.\n *\n * This component creates the drawer overlay, positions the content, and provides\n * accessibility features like focus management and keyboard dismissal.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content size=\"md\" placement=\"center\">\n * <Drawer.Header>\n * <Drawer.Title>Title</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>Content</Drawer.Body>\n * <Drawer.Footer>Actions</Drawer.Footer>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Content: DrawerContent,\n /**\n * # Drawer.Header\n *\n * The header section of the drawer content.\n * Typically contains the title and close button.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * <Drawer.CloseTrigger />\n * </Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * </Drawer.Content>\n * ```\n */\n Header: DrawerHeader,\n /**\n * # Drawer.Body\n *\n * The main body content section of the drawer.\n * Contains the primary drawer content and handles overflow/scrolling.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>...</Drawer.Header>\n * <Drawer.Body>\n * <p>This is the main content of the drawer.</p>\n * </Drawer.Body>\n * <Drawer.Footer>...</Drawer.Footer>\n * </Drawer.Content>\n * ```\n */\n Body: DrawerBody,\n /**\n * # Drawer.Footer\n *\n * The footer section of the drawer, typically containing action buttons.\n * Provides consistent spacing and alignment for drawer actions.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>...</Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * <Drawer.Footer>\n * <Button variant=\"outline\">Cancel</Button>\n * <Button>Confirm</Button>\n * </Drawer.Footer>\n * </Drawer.Content>\n * ```\n */\n Footer: DrawerFooter,\n /**\n * # Drawer.Title\n *\n * The accessible title element for the drawer.\n * Provides proper accessibility and screen reader support.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Confirm Action</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * </Drawer.Content>\n * ```\n */\n Title: DrawerTitle,\n /**\n * # Drawer.CloseTrigger\n *\n * A button that closes the drawer when activated.\n * Displays an IconButton with a close (X) icon by default.\n *\n * The component automatically handles the close behavior,\n * so no additional onPress handler is needed.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Title</Drawer.Title>\n * <Drawer.CloseTrigger aria-label=\"Close drawer\" />\n * </Drawer.Header>\n * <Drawer.Body>Content</Drawer.Body>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n CloseTrigger: DrawerCloseTrigger,\n};\n\n// Internal exports for react-docgen\nexport {\n DrawerRoot as _DrawerRoot,\n DrawerTrigger as _DrawerTrigger,\n DrawerContent as _DrawerContent,\n DrawerHeader as _DrawerHeader,\n DrawerBody as _DrawerBody,\n DrawerFooter as _DrawerFooter,\n DrawerTitle as _DrawerTitle,\n DrawerCloseTrigger as _DrawerCloseTrigger,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","drawerSlotRecipe","DrawerRootSlot","DrawerTriggerSlot","DrawerModalOverlaySlot","DrawerModalSlot","DrawerContentSlot","DrawerHeaderSlot","DrawerBodySlot","DrawerFooterSlot","DrawerTitleSlot","DrawerCloseTriggerSlot","DrawerContext","createContext","useDrawerRootContext","context","useContext","DrawerProvider","children","value","jsx","DrawerRoot","props","recipe","useSlotRecipe","recipeProps","isOpen","onOpenChange","defaultOpen","content","hasDrawerTrigger","React","child","displayName","RaDialogTrigger","DrawerTrigger","forwardedRef","asChild","chakra","styleProps","restProps","extractStyleProps","RaButton","DrawerContent","isDismissable","isKeyboardDismissDisabled","shouldCloseOnInteractOutside","modalProps","RaModalOverlay","RaModal","RaDialog","DrawerHeader","DrawerBody","defaultProps","DrawerFooter","DrawerTitle","Heading","messages","defineMessages","DrawerCloseTrigger","ariaLabel","intl","useIntl","IconButton","Close","Drawer"],"mappings":"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"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { s } from "./index-CtB71yr7.es.js";
|
|
2
|
-
function a(e) {
|
|
3
|
-
const r = {}, o = { ...e };
|
|
4
|
-
return Object.keys(e).forEach((t) => {
|
|
5
|
-
Object.prototype.hasOwnProperty.call(e, t) && s.isValidProperty(t) && (r[t] = e[t], delete o[t]);
|
|
6
|
-
}), [r, o];
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
a as e
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=extract-style-props-DYXEhLtq.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-style-props-DYXEhLtq.es.js","sources":["../../src/utils/extract-style-props.ts"],"sourcesContent":["import { system } from \"@/theme\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n system.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","system"],"mappings":";AAOO,SAASA,EACdC,GAC4C;AAC5C,QAAMC,IAAsC,CAAA,GACtCC,IAAa,EAAE,GAAGF,EAAA;AAGxB,gBAAO,KAAKA,CAAK,EAAE,QAAQ,CAACG,MAAQ;AAClC,IACE,OAAO,UAAU,eAAe,KAAKH,GAAOG,CAAG,KAC/CC,EAAO,gBAAgBD,CAAG,MAE1BF,EAAWE,CAAG,IAAIH,EAAMG,CAAc,GACtC,OAAOD,EAAWC,CAAG;AAAA,EAEzB,CAAC,GAEM,CAACF,GAAYC,CAA6B;AACnD;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("./index-CRFg4Mhx.cjs.js");function o(e){const r={},s={...e};return Object.keys(e).forEach(t=>{Object.prototype.hasOwnProperty.call(e,t)&&c.system.isValidProperty(t)&&(r[t]=e[t],delete s[t])}),[r,s]}exports.extractStyleProps=o;
|
|
2
|
-
//# sourceMappingURL=extract-style-props-Dk3fpLyQ.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-style-props-Dk3fpLyQ.cjs.js","sources":["../../src/utils/extract-style-props.ts"],"sourcesContent":["import { system } from \"@/theme\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n system.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","system"],"mappings":"wDAOO,SAASA,EACdC,EAC4C,CAC5C,MAAMC,EAAsC,CAAA,EACtCC,EAAa,CAAE,GAAGF,CAAA,EAGxB,cAAO,KAAKA,CAAK,EAAE,QAASG,GAAQ,CAEhC,OAAO,UAAU,eAAe,KAAKH,EAAOG,CAAG,GAC/CC,EAAAA,OAAO,gBAAgBD,CAAG,IAE1BF,EAAWE,CAAG,EAAIH,EAAMG,CAAc,EACtC,OAAOD,EAAWC,CAAG,EAEzB,CAAC,EAEM,CAACF,EAAYC,CAA6B,CACnD"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("./useFocusVisible-CN9NILN7.cjs.js"),t=require("./utils-DUS_ZjvE.cjs.js"),i=require("./focusWithoutScrolling-BlyUcXdY.cjs.js");let n=new Map,f=new Set;function s(){for(const[e]of n)"isConnected"in e&&!e.isConnected&&n.delete(e)}function o(e){requestAnimationFrame(()=>{s(),n.size===0?e():f.add(e)})}function b(e){const r=t.$431fbd86ca7dc216$export$b204af158042fbac(e),c=t.$d4ee10de306f2510$export$cd4e5573fbe2b576(r);if(a.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="virtual"){let d=c;o(()=>{t.$d4ee10de306f2510$export$cd4e5573fbe2b576(r)===d&&e.isConnected&&i.$7215afc6de606d6b$export$de79e2c695e052f3(e)})}else i.$7215afc6de606d6b$export$de79e2c695e052f3(e)}exports.$3ad3f6e1647bc98d$export$80f3e147d781571c=b;exports.$bbed8b41f857bcc0$export$24490316f764c430=o;
|
|
2
|
-
//# sourceMappingURL=focusSafely-BNAvQ-wF.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"focusSafely-BNAvQ-wF.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/runAfterTransition.mjs","../../../../node_modules/.pnpm/@react-aria+interactions@3.25.6_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/focusSafely.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n","import {getInteractionModality as $507fabe10e71c6fb$export$630ff653c5ada6a9} from \"./useFocusVisible.mjs\";\nimport {getOwnerDocument as $k50bp$getOwnerDocument, getActiveElement as $k50bp$getActiveElement, runAfterTransition as $k50bp$runAfterTransition, focusWithoutScrolling as $k50bp$focusWithoutScrolling} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the 'License');\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $3ad3f6e1647bc98d$export$80f3e147d781571c(element) {\n // If the user is interacting with a virtual cursor, e.g. screen reader, then\n // wait until after any animated transitions that are currently occurring on\n // the page before shifting focus. This avoids issues with VoiceOver on iOS\n // causing the page to scroll when moving focus if the element is transitioning\n // from off the screen.\n const ownerDocument = (0, $k50bp$getOwnerDocument)(element);\n const activeElement = (0, $k50bp$getActiveElement)(ownerDocument);\n if ((0, $507fabe10e71c6fb$export$630ff653c5ada6a9)() === 'virtual') {\n let lastFocusedElement = activeElement;\n (0, $k50bp$runAfterTransition)(()=>{\n // If focus did not move and the element is still in the document, focus it.\n if ((0, $k50bp$getActiveElement)(ownerDocument) === lastFocusedElement && element.isConnected) (0, $k50bp$focusWithoutScrolling)(element);\n });\n } else (0, $k50bp$focusWithoutScrolling)(element);\n}\n\n\nexport {$3ad3f6e1647bc98d$export$80f3e147d781571c as focusSafely};\n//# sourceMappingURL=focusSafely.module.js.map\n"],"names":["$bbed8b41f857bcc0$var$transitionsByElement","$bbed8b41f857bcc0$var$transitionCallbacks","$bbed8b41f857bcc0$var$cleanupDetachedElements","eventTarget","$bbed8b41f857bcc0$export$24490316f764c430","fn","$3ad3f6e1647bc98d$export$80f3e147d781571c","element","ownerDocument","$k50bp$getOwnerDocument","activeElement","$k50bp$getActiveElement","$507fabe10e71c6fb$export$630ff653c5ada6a9","lastFocusedElement","$k50bp$runAfterTransition","$k50bp$focusWithoutScrolling"],"mappings":"4JAgBA,IAAIA,EAA6C,IAAI,IAEjDC,EAA4C,IAAI,IAkDhD,SAASC,GAAgD,CACzD,SAAW,CAACC,CAAW,IAAKH,EAExB,gBAAiBG,GAAe,CAACA,EAAY,aAAaH,EAA2C,OAAOG,CAAW,CAC/H,CACA,SAASC,EAA0CC,EAAI,CAEnD,sBAAsB,IAAI,CACtBH,EAA6C,EAGzCF,EAA2C,OAAS,EAAGK,EAAE,EACxDJ,EAA0C,IAAII,CAAE,CACzD,CAAC,CACL,CCnEA,SAASC,EAA0CC,EAAS,CAMxD,MAAMC,EAAoBC,EAAAA,0CAAyBF,CAAO,EACpDG,EAAoBC,EAAAA,0CAAyBH,CAAa,EAChE,GAAQI,EAAAA,0CAAyC,IAAQ,UAAW,CAChE,IAAIC,EAAqBH,EACrBI,EAA2B,IAAI,CAEvBH,EAAAA,0CAAyBH,CAAa,IAAMK,GAAsBN,EAAQ,aAAiBQ,EAAAA,0CAA8BR,CAAO,CAC5I,CAAC,CACL,MAAWQ,EAAAA,0CAA8BR,CAAO,CACpD","x_google_ignoreList":[0,1]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { b as d } from "./useFocusVisible-BIPjFmFE.es.js";
|
|
2
|
-
import { $ as c, c as r } from "./utils-Cjs5h3ad.es.js";
|
|
3
|
-
import { $ as a } from "./focusWithoutScrolling-CDw3JYiq.es.js";
|
|
4
|
-
let t = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Set();
|
|
5
|
-
function s() {
|
|
6
|
-
for (const [e] of t)
|
|
7
|
-
"isConnected" in e && !e.isConnected && t.delete(e);
|
|
8
|
-
}
|
|
9
|
-
function b(e) {
|
|
10
|
-
requestAnimationFrame(() => {
|
|
11
|
-
s(), t.size === 0 ? e() : f.add(e);
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function p(e) {
|
|
15
|
-
const n = c(e), i = r(n);
|
|
16
|
-
if (d() === "virtual") {
|
|
17
|
-
let o = i;
|
|
18
|
-
b(() => {
|
|
19
|
-
r(n) === o && e.isConnected && a(e);
|
|
20
|
-
});
|
|
21
|
-
} else a(e);
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
p as $,
|
|
25
|
-
b as a
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=focusSafely-BS2OU9MQ.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"focusSafely-BS2OU9MQ.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/runAfterTransition.mjs","../../../../node_modules/.pnpm/@react-aria+interactions@3.25.6_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/focusSafely.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n","import {getInteractionModality as $507fabe10e71c6fb$export$630ff653c5ada6a9} from \"./useFocusVisible.mjs\";\nimport {getOwnerDocument as $k50bp$getOwnerDocument, getActiveElement as $k50bp$getActiveElement, runAfterTransition as $k50bp$runAfterTransition, focusWithoutScrolling as $k50bp$focusWithoutScrolling} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the 'License');\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $3ad3f6e1647bc98d$export$80f3e147d781571c(element) {\n // If the user is interacting with a virtual cursor, e.g. screen reader, then\n // wait until after any animated transitions that are currently occurring on\n // the page before shifting focus. This avoids issues with VoiceOver on iOS\n // causing the page to scroll when moving focus if the element is transitioning\n // from off the screen.\n const ownerDocument = (0, $k50bp$getOwnerDocument)(element);\n const activeElement = (0, $k50bp$getActiveElement)(ownerDocument);\n if ((0, $507fabe10e71c6fb$export$630ff653c5ada6a9)() === 'virtual') {\n let lastFocusedElement = activeElement;\n (0, $k50bp$runAfterTransition)(()=>{\n // If focus did not move and the element is still in the document, focus it.\n if ((0, $k50bp$getActiveElement)(ownerDocument) === lastFocusedElement && element.isConnected) (0, $k50bp$focusWithoutScrolling)(element);\n });\n } else (0, $k50bp$focusWithoutScrolling)(element);\n}\n\n\nexport {$3ad3f6e1647bc98d$export$80f3e147d781571c as focusSafely};\n//# sourceMappingURL=focusSafely.module.js.map\n"],"names":["$bbed8b41f857bcc0$var$transitionsByElement","$bbed8b41f857bcc0$var$transitionCallbacks","$bbed8b41f857bcc0$var$cleanupDetachedElements","eventTarget","$bbed8b41f857bcc0$export$24490316f764c430","fn","$3ad3f6e1647bc98d$export$80f3e147d781571c","element","ownerDocument","$k50bp$getOwnerDocument","activeElement","$k50bp$getActiveElement","$507fabe10e71c6fb$export$630ff653c5ada6a9","lastFocusedElement","$k50bp$runAfterTransition","$k50bp$focusWithoutScrolling"],"mappings":";;;AAgBA,IAAIA,IAA6C,oBAAI,IAAG,GAEpDC,IAA4C,oBAAI,IAAG;AAkDnD,SAASC,IAAgD;AACzD,aAAW,CAACC,CAAW,KAAKH;AAE5B,IAAI,iBAAiBG,KAAe,CAACA,EAAY,eAAaH,EAA2C,OAAOG,CAAW;AAC/H;AACA,SAASC,EAA0CC,GAAI;AAEnD,wBAAsB,MAAI;AACtB,IAAAH,EAA6C,GAGzCF,EAA2C,SAAS,IAAGK,EAAE,IACxDJ,EAA0C,IAAII,CAAE;AAAA,EACzD,CAAC;AACL;ACnEA,SAASC,EAA0CC,GAAS;AAMxD,QAAMC,IAAoBC,EAAyBF,CAAO,GACpDG,IAAoBC,EAAyBH,CAAa;AAChE,MAAQI,EAAyC,MAAQ,WAAW;AAChE,QAAIC,IAAqBH;AACzB,IAAII,EAA2B,MAAI;AAE/B,MAAQH,EAAyBH,CAAa,MAAMK,KAAsBN,EAAQ,eAAiBQ,EAA8BR,CAAO;AAAA,IAC5I,CAAC;AAAA,EACL,MAAO,CAAIQ,EAA8BR,CAAO;AACpD;","x_google_ignoreList":[0,1]}
|