@commercetools/nimbus 2.0.1-rc4 → 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/dist/utils/extract-aria-attributes.d.ts +6 -0
- package/dist/utils/index.d.ts +3 -2
- 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-DmPAxSnT.es.js +0 -2691
- package/dist/chunks/DateField-DmPAxSnT.es.js.map +0 -1
- package/dist/chunks/DatePicker-D8m8YbnD.es.js +0 -786
- package/dist/chunks/DatePicker-D8m8YbnD.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-lYSFVV4F.es.js +0 -1619
- package/dist/chunks/Heading-lYSFVV4F.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-B2FLWAh5.cjs.js +0 -2
- package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +0 -1
- package/dist/chunks/accordion-CKDnNkVv.es.js +0 -221
- package/dist/chunks/accordion-CKDnNkVv.es.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-BkGJAIae.es.js +0 -187
- package/dist/chunks/calendar-BkGJAIae.es.js.map +0 -1
- package/dist/chunks/calendar-V0KeNCQ3.cjs.js +0 -2
- package/dist/chunks/calendar-V0KeNCQ3.cjs.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-BB-WJdal.es.js +0 -218
- package/dist/chunks/checkbox-BB-WJdal.es.js.map +0 -1
- package/dist/chunks/checkbox-Dod-yTj4.cjs.js +0 -2
- package/dist/chunks/checkbox-Dod-yTj4.cjs.js.map +0 -1
- package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js +0 -2
- package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +0 -1
- package/dist/chunks/collapsible-motion-CSrKjF8X.es.js +0 -83
- package/dist/chunks/collapsible-motion-CSrKjF8X.es.js.map +0 -1
- package/dist/chunks/combobox-B5UxZWSX.cjs.js +0 -2
- package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +0 -1
- package/dist/chunks/combobox-D_7gr3DY.es.js +0 -2425
- package/dist/chunks/combobox-D_7gr3DY.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-C51WU0Cc.cjs.js +0 -2
- package/dist/chunks/data-table-C51WU0Cc.cjs.js.map +0 -1
- package/dist/chunks/data-table-ClMivKY1.es.js +0 -3585
- package/dist/chunks/data-table-ClMivKY1.es.js.map +0 -1
- package/dist/chunks/date-input-B_EuP5sc.es.js +0 -21
- package/dist/chunks/date-input-B_EuP5sc.es.js.map +0 -1
- package/dist/chunks/date-input-DvOM0DLT.cjs.js +0 -2
- package/dist/chunks/date-input-DvOM0DLT.cjs.js.map +0 -1
- package/dist/chunks/date-picker-CZAoPNsT.cjs.js +0 -2
- package/dist/chunks/date-picker-CZAoPNsT.cjs.js.map +0 -1
- package/dist/chunks/date-picker-DFpgLG1U.es.js +0 -220
- package/dist/chunks/date-picker-DFpgLG1U.es.js.map +0 -1
- package/dist/chunks/date-range-picker-DVuIeQQd.es.js +0 -281
- package/dist/chunks/date-range-picker-DVuIeQQd.es.js.map +0 -1
- package/dist/chunks/date-range-picker-iENzosfN.cjs.js +0 -2
- package/dist/chunks/date-range-picker-iENzosfN.cjs.js.map +0 -1
- package/dist/chunks/dialog-BwtIcIvd.es.js +0 -165
- package/dist/chunks/dialog-BwtIcIvd.es.js.map +0 -1
- package/dist/chunks/dialog-CKwC3dk3.cjs.js +0 -2
- package/dist/chunks/dialog-CKwC3dk3.cjs.js.map +0 -1
- package/dist/chunks/dialog.title-CP_ZeiK4.es.js +0 -152
- package/dist/chunks/dialog.title-CP_ZeiK4.es.js.map +0 -1
- package/dist/chunks/dialog.title-DOPP47Zy.cjs.js +0 -2
- package/dist/chunks/dialog.title-DOPP47Zy.cjs.js.map +0 -1
- package/dist/chunks/draggable-list-MGvr5-A-.cjs.js +0 -3
- package/dist/chunks/draggable-list-MGvr5-A-.cjs.js.map +0 -1
- package/dist/chunks/draggable-list-s43baxoM.es.js +0 -4211
- package/dist/chunks/draggable-list-s43baxoM.es.js.map +0 -1
- package/dist/chunks/drawer-BJ4qvGnj.es.js +0 -304
- package/dist/chunks/drawer-BJ4qvGnj.es.js.map +0 -1
- package/dist/chunks/drawer-DzW9wBMk.cjs.js +0 -2
- package/dist/chunks/drawer-DzW9wBMk.cjs.js.map +0 -1
- package/dist/chunks/extractStyleProps-DYXEhLtq.es.js +0 -11
- package/dist/chunks/extractStyleProps-DYXEhLtq.es.js.map +0 -1
- package/dist/chunks/extractStyleProps-Dk3fpLyQ.cjs.js +0 -2
- package/dist/chunks/extractStyleProps-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-Bi-9Obfx.es.js +0 -13
- package/dist/chunks/icon-toggle-button-Bi-9Obfx.es.js.map +0 -1
- package/dist/chunks/icon-toggle-button-eLrsWehe.cjs.js +0 -2
- package/dist/chunks/icon-toggle-button-eLrsWehe.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-C7Vribb2.cjs.js +0 -2
- package/dist/chunks/localized-field-C7Vribb2.cjs.js.map +0 -1
- package/dist/chunks/localized-field-D3G0Uy7Z.es.js +0 -470
- package/dist/chunks/localized-field-D3G0Uy7Z.es.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-D-vE6ZpM.es.js +0 -147
- package/dist/chunks/menu-D-vE6ZpM.es.js.map +0 -1
- package/dist/chunks/menu-DIepV2KZ.cjs.js +0 -2
- package/dist/chunks/menu-DIepV2KZ.cjs.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-Cu_J86Eu.cjs.js +0 -2
- package/dist/chunks/money-input-Cu_J86Eu.cjs.js.map +0 -1
- package/dist/chunks/money-input-sk0Slpeu.es.js +0 -526
- package/dist/chunks/money-input-sk0Slpeu.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js +0 -2
- package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-CilSJJaO.es.js +0 -64
- package/dist/chunks/multiline-text-input-CilSJJaO.es.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-CktMxOdZ.es.js +0 -691
- package/dist/chunks/number-input-CktMxOdZ.es.js.map +0 -1
- package/dist/chunks/number-input-wMW-o4di.cjs.js +0 -2
- package/dist/chunks/number-input-wMW-o4di.cjs.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-BWdg8s6g.cjs.js +0 -2
- package/dist/chunks/pagination-BWdg8s6g.cjs.js.map +0 -1
- package/dist/chunks/pagination-Bcq69Nv3.es.js +0 -160
- package/dist/chunks/pagination-Bcq69Nv3.es.js.map +0 -1
- package/dist/chunks/password-input-6MO4I-2j.es.js +0 -54
- package/dist/chunks/password-input-6MO4I-2j.es.js.map +0 -1
- package/dist/chunks/password-input-6SMjhXSO.cjs.js +0 -2
- package/dist/chunks/password-input-6SMjhXSO.cjs.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-Bhp7W6Eo.cjs.js +0 -2
- package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js.map +0 -1
- package/dist/chunks/progress-bar-DwuOjOcH.es.js +0 -77
- package/dist/chunks/progress-bar-DwuOjOcH.es.js.map +0 -1
- package/dist/chunks/radio-input-4jw6HUjC.es.js +0 -350
- package/dist/chunks/radio-input-4jw6HUjC.es.js.map +0 -1
- package/dist/chunks/radio-input-Dp05SXja.cjs.js +0 -2
- package/dist/chunks/radio-input-Dp05SXja.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-D55DTDbA.es.js +0 -187
- package/dist/chunks/range-calendar-D55DTDbA.es.js.map +0 -1
- package/dist/chunks/range-calendar-_dZfAsdG.cjs.js +0 -2
- package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +0 -1
- package/dist/chunks/rich-text-input-BC8CBVio.es.js +0 -7801
- package/dist/chunks/rich-text-input-BC8CBVio.es.js.map +0 -1
- package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js +0 -24
- package/dist/chunks/rich-text-input-Da5WFZ3l.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-BefkmgPy.cjs.js +0 -2
- package/dist/chunks/search-input-BefkmgPy.cjs.js.map +0 -1
- package/dist/chunks/search-input-DJy2NHYW.es.js +0 -361
- package/dist/chunks/search-input-DJy2NHYW.es.js.map +0 -1
- package/dist/chunks/select-BmMhTBo-.es.js +0 -775
- package/dist/chunks/select-BmMhTBo-.es.js.map +0 -1
- package/dist/chunks/select-DMsU6bk9.cjs.js +0 -2
- package/dist/chunks/select-DMsU6bk9.cjs.js.map +0 -1
- package/dist/chunks/separator-CvRn_J0r.cjs.js +0 -2
- package/dist/chunks/separator-CvRn_J0r.cjs.js.map +0 -1
- package/dist/chunks/separator-DJGUFG-o.es.js +0 -24
- package/dist/chunks/separator-DJGUFG-o.es.js.map +0 -1
- package/dist/chunks/split-button-BO52sL7h.cjs.js +0 -2
- package/dist/chunks/split-button-BO52sL7h.cjs.js.map +0 -1
- package/dist/chunks/split-button-BxyZmuNi.es.js +0 -100
- package/dist/chunks/split-button-BxyZmuNi.es.js.map +0 -1
- package/dist/chunks/switch-01hEhL9A.es.js +0 -67
- package/dist/chunks/switch-01hEhL9A.es.js.map +0 -1
- package/dist/chunks/switch-CdLhBEPq.cjs.js +0 -2
- package/dist/chunks/switch-CdLhBEPq.cjs.js.map +0 -1
- package/dist/chunks/tabs-CJ0OAUSR.cjs.js +0 -2
- package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +0 -1
- package/dist/chunks/tabs-Dhte-RCe.es.js +0 -428
- package/dist/chunks/tabs-Dhte-RCe.es.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-CSAODlCw.es.js +0 -49
- package/dist/chunks/text-input-CSAODlCw.es.js.map +0 -1
- package/dist/chunks/text-input-DZdkCbdd.cjs.js +0 -2
- package/dist/chunks/text-input-DZdkCbdd.cjs.js.map +0 -1
- package/dist/chunks/time-input-CUEnTp-4.es.js +0 -21
- package/dist/chunks/time-input-CUEnTp-4.es.js.map +0 -1
- package/dist/chunks/time-input-zXykDANk.cjs.js +0 -2
- package/dist/chunks/time-input-zXykDANk.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-DxMZsem4.cjs.js +0 -2
- package/dist/chunks/toggle-button-DxMZsem4.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-awb1jBf8.es.js +0 -30
- package/dist/chunks/toggle-button-awb1jBf8.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-DV0l5MqA.cjs.js +0 -2
- package/dist/chunks/toolbar-DV0l5MqA.cjs.js.map +0 -1
- package/dist/chunks/toolbar-Dduysqqi.es.js +0 -61
- package/dist/chunks/toolbar-Dduysqqi.es.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-4Wq50fMI.es.js +0 -1632
- package/dist/chunks/useDateFormatter-4Wq50fMI.es.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/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
- /package/dist/utils/{extractStyleProps.d.ts → extract-style-props.d.ts} +0 -0
- /package/dist/utils/{noop.d.ts → no-op.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localized-field-XLDcWlU1.es.js","sources":["../../src/components/localized-field/localized-field.i18n.ts","../../src/components/localized-field/localized-field.slots.tsx","../../src/components/localized-field/utils/localized-field.utils.tsx","../../src/components/localized-field/components/localized-field.locale-field.tsx","../../src/components/localized-field/components/localized-field.root.tsx","../../src/components/localized-field/localized-field.tsx"],"sourcesContent":["import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n missingRequiredField: {\n id: \"Nimbus.LocalizedField.missingRequiredField\",\n description: \"Error message for missing required value\",\n defaultMessage: \"This field is required. Provide at least one value.\",\n },\n infoBoxTriggerAriaLabel: {\n id: \"Nimbus.LocalizedField.infoBoxTriggerAriaLabel\",\n description: \"aria label for button that triggers more info dialog\",\n defaultMessage: \"more info\",\n },\n showLanguages: {\n id: \"Nimbus.LocalizedField.showLanguages\",\n description:\n \"Label for showing all language inputs when toggle button is pressed\",\n defaultMessage: \"Show all languages\",\n },\n hideLanguages: {\n id: \"Nimbus.LocalizedField.hideLanguages\",\n description:\n \"Label for hiding all language inputs when toggle button is pressed\",\n defaultMessage: \"Hide all languages\",\n },\n showCurrencies: {\n id: \"Nimbus.LocalizedField.showCurrencies\",\n description:\n \"Label for showing all currency inputs when toggle button is pressed\",\n defaultMessage: \"Show all currencies\",\n },\n hideCurrencies: {\n id: \"Nimbus.LocalizedField.hideCurrencies\",\n description:\n \"Label for hiding all currency inputs when toggle button is pressed\",\n defaultMessage: \"Hide all currencies\",\n },\n});\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type {\n LocalizedFieldRootSlotProps,\n LocalizedFieldLabelSlotProps,\n LocalizedFieldInfoDialogSlotProps,\n LocalizedFieldFieldsContainerSlotProps,\n LocalizedFieldDescriptionSlotProps,\n LocalizedFieldErrorSlotProps,\n LocalizedFieldToggleButtonContainerSlotProps,\n LocalizedFieldLocaleFieldRootSlotProps,\n LocalizedFieldLocaleFieldLabelSlotProps,\n LocalizedFieldLocaleFieldInputSlotProps,\n} from \"./localized-field.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"localizedField\",\n});\n\n// Root Slot\nexport const LocalizedFieldRootSlot = withProvider<\n HTMLFieldSetElement,\n LocalizedFieldRootSlotProps\n>(\"fieldset\", \"root\");\n\n// Label Slot\nexport const LocalizedFieldLabelSlot = withContext<\n HTMLLabelElement,\n LocalizedFieldLabelSlotProps\n>(\"legend\", \"label\");\n\n// InfoDialog Slot\nexport const LocalizedFieldInfoDialogSlot = withContext<\n HTMLDivElement,\n LocalizedFieldInfoDialogSlotProps\n>(\"div\", \"infoDialog\");\n\n// FieldsContainer Slot\nexport const LocalizedFieldFieldsContainerSlot = withContext<\n HTMLDivElement,\n LocalizedFieldFieldsContainerSlotProps\n>(\"div\", \"fieldsContainer\");\n\n// Description Slot\nexport const LocalizedFieldDescriptionSlot = withContext<\n HTMLDivElement,\n LocalizedFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport const LocalizedFieldErrorSlot = withContext<\n HTMLDivElement,\n LocalizedFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// ToggleButtonContainer Slot\nexport const LocalizedFieldToggleButtonContainerSlot = withContext<\n HTMLDivElement,\n LocalizedFieldToggleButtonContainerSlotProps\n>(\"div\", \"toggleButtonContainer\");\n\n// LocaleFieldRoot Slot\nexport const LocalizedFieldLocaleFieldRootSlot = withContext<\n HTMLDivElement,\n LocalizedFieldLocaleFieldRootSlotProps\n>(\"div\", \"localeFieldRoot\");\n\n// FieldLabel Slot\nexport const LocalizedFieldLocaleFieldLabelSlot = withContext<\n HTMLDivElement,\n LocalizedFieldLocaleFieldLabelSlotProps\n>(\"div\", \"localeFieldLabel\");\n\n// FieldInput Slot\nexport const LocalizedFieldLocaleFieldInputSlot = withContext<\n HTMLDivElement,\n LocalizedFieldLocaleFieldInputSlotProps\n>(\"div\", \"localeFieldInput\");\n","import { FormattedMessage } from \"react-intl\";\nimport {\n FormField,\n type CurrencyCode,\n type MoneyInputValue,\n type MoneyValue,\n type FieldErrorsData,\n MoneyInput,\n} from \"@/components\";\nimport { messages } from \"../localized-field.i18n\";\nimport type { LocalizedString } from \"../localized-field.types\";\n\ntype LanguagesSplitByDefaultLocale = {\n related: string[];\n unrelated: string[];\n};\n\ntype TouchedLocalizedString = { [locale: string]: boolean };\n\ntype CustomFormikErrors<Values> = {\n [K in keyof Values]?: FieldErrorsData;\n};\n\nexport const RequiredValueErrorMessage = () => (\n <FormField.Error>\n <FormattedMessage {...messages.missingRequiredField} />\n </FormField.Error>\n);\n\nexport const getLocaleFieldAttribute = (\n fieldGroupAttr?: string,\n locale?: string\n): string | undefined =>\n fieldGroupAttr && locale ? `${fieldGroupAttr}.${locale}` : undefined;\n\n// gets the language tag of a given locale, e.g. `de` in `de-DE`\nexport const getLanguageForLocale = (locale: string): string =>\n locale.split(\"-\")[0];\n\n// splits the locales into two groups:\n// - the 'related' array contains locales with the same language tag as the default locale,\n// e.g. if the default locale is de-DE, related would be ['de-DE', 'de-CH']\n// - the 'unrelated' array contains locales with a different different language tag from the default locale\n//. e.g. if the default locale is de-DE, unrelated would be ['pt-BR', 'en-GB', 'zh-Hans']\nexport const splitLanguages = (\n defaultLocale: string,\n locales: string[]\n): LanguagesSplitByDefaultLocale => {\n const defaultLanguage = getLanguageForLocale(defaultLocale);\n const related = locales.filter(\n (locale) => getLanguageForLocale(locale) === defaultLanguage\n );\n const unrelated = locales.filter(\n (locale) => getLanguageForLocale(locale) !== defaultLanguage\n );\n return {\n unrelated,\n related,\n };\n};\n\n// sorts locales with the following priority:\n// - The selected locale is placed first (e.g pt-BR)\n// - All locales using the same language tag as the selected language\n// follow (e.g. pt, pt-PT). They are sorted alphabetically.\n// - All other locales follow, sorted alphabetically as well\nexport const sortLocalesByDefaultLocaleLanguage = (\n defaultLocale: string,\n allLocales: string[]\n): string[] => {\n const { related, unrelated } = splitLanguages(\n defaultLocale,\n allLocales.filter((locale: string) => locale !== defaultLocale)\n );\n\n return [defaultLocale, ...related.sort(), ...unrelated.sort()];\n};\n\nexport const sortCurrencies = (\n defaultCurrency: CurrencyCode,\n allCurrencies: CurrencyCode[]\n) => {\n const remainingCurrencies = allCurrencies.filter(\n (currency) => currency !== defaultCurrency\n );\n return [defaultCurrency, ...remainingCurrencies.sort()];\n};\n\nexport const getHasInvalidLocalizedFields = <TErrors extends object>(\n errors?: TErrors,\n defaultLocaleOrCurrency?: string\n): boolean => {\n if (errors && Object.keys(errors).length > 0 && defaultLocaleOrCurrency) {\n return Object.keys(errors).some(\n (localeOrCurrency) => localeOrCurrency !== defaultLocaleOrCurrency\n );\n }\n return false;\n};\n\nexport const createLocalizedString = (\n locales: string[],\n existingLocalizedString: LocalizedString\n): LocalizedString => {\n const localesInLocalizedString = Array.from(\n new Set([...locales, ...Object.keys(existingLocalizedString)])\n );\n\n return localesInLocalizedString.reduce<LocalizedString>(\n (localizedString, locale) => ({\n ...localizedString,\n [locale]: existingLocalizedString?.[locale] || \"\",\n }),\n {}\n );\n};\n\n// Note: I prefer `isLocalizedStringEmpty`, but keeping this as `isEmpty` for api consistency with UI Kit\nexport const isEmpty = (localizedString?: LocalizedString): boolean => {\n if (!localizedString) return true;\n return Object.values(localizedString).every(\n (value?: string) => !value || value?.trim().length === 0\n );\n};\n\nexport const omitEmptyTranslations = <Translations extends LocalizedString>(\n localizedString: Translations\n): LocalizedString => {\n // TODO: is it necessary to create a util that enforces a consistent warning/error format, e.g.\n // `<COMPONENT_NAME> - Warning: <WARNING_MESSAGE>`\n if (typeof localizedString !== \"object\") {\n console.warn(\n \"Nimbus Localized Field - Warning: omitEmptyTranslations must be called with an object\"\n );\n }\n\n return Object.entries(localizedString).reduce<LocalizedString>(\n (localizedStringWithoutEmptyTranslations, [locale, value]) => {\n if (value && value.trim().length > 0) {\n return {\n ...localizedStringWithoutEmptyTranslations,\n [locale]: value,\n };\n }\n return localizedStringWithoutEmptyTranslations;\n },\n {}\n );\n};\n\nexport const isTouched = (touched?: TouchedLocalizedString): boolean => {\n if (touched) {\n return Object.values(touched).some(Boolean);\n }\n return false;\n};\n\n/**\n * Use this function to convert the Formik `errors` object type to\n * our custom field errors type.\n * This is primarly useful when using TypeScript.\n */\nexport function toFieldErrors<FormValues>(\n errors: unknown\n): CustomFormikErrors<FormValues> {\n return errors as CustomFormikErrors<FormValues>;\n}\n\nexport const convertToMoneyValues = (\n values: MoneyInputValue[],\n currency: string\n): Array<MoneyValue | null> =>\n Object.values(values).map<MoneyValue | null>((value) => {\n return MoneyInput.convertToMoneyValue(value, currency);\n });\n\nexport const parseMoneyValues = (\n moneyValues: MoneyValue[] = [],\n locale: string\n): Record<CurrencyCode, MoneyInputValue> =>\n moneyValues.reduce<Record<CurrencyCode, MoneyInputValue>>(\n (allValues, moneyValue) => {\n const value = MoneyInput.parseMoneyValue(moneyValue, locale);\n return {\n ...allValues,\n [value.currencyCode]: value,\n };\n },\n {} as Record<CurrencyCode, MoneyInputValue>\n );\n\nexport const getHighPrecisionCurrencies = (\n values: Record<CurrencyCode, MoneyInputValue>,\n locale: string\n): CurrencyCode[] => {\n const typedCurrencyCodes = Object.keys(values) as CurrencyCode[];\n return typedCurrencyCodes.filter((currencyCode) =>\n MoneyInput.isHighPrecision(values[currencyCode], locale)\n );\n};\n\nexport const getEmptyCurrencies = (\n values: Record<CurrencyCode, MoneyInputValue>\n): CurrencyCode[] => {\n const typedCurrencyCodes = Object.keys(values) as CurrencyCode[];\n return typedCurrencyCodes.filter((currencyCode) =>\n MoneyInput.isEmpty(values[currencyCode])\n );\n};\n","import { useCallback } from \"react\";\nimport {\n FormField,\n Icon,\n TextInput,\n MoneyInput,\n type CustomEvent,\n MultilineTextInput,\n RichTextInput,\n type MoneyInputValue,\n type CurrencyCode,\n} from \"@/components\";\nimport { WarningAmber } from \"@commercetools/nimbus-icons\";\nimport {\n LocalizedFieldLocaleFieldRootSlot,\n LocalizedFieldLocaleFieldInputSlot,\n LocalizedFieldLocaleFieldLabelSlot,\n} from \"../localized-field.slots\";\nimport type { LocalizedFieldLocaleFieldProps } from \"../localized-field.types\";\n\n/**\n * LocalizedFieldLocaleField - Individual locale or currency input field\n *\n * Renders a single input field for a specific locale or currency with integrated\n * label, description, warning, and error message display. Supports text, multiline,\n * richText, and money input types.\n *\n * @supportsStyleProps\n */\nexport const LocalizedFieldLocaleField = ({\n type,\n size,\n localeOrCurrency,\n id,\n name,\n inputValue: inputValueFromProps,\n description,\n warning,\n error,\n onChange,\n onBlur,\n onFocus,\n isRequired,\n isReadOnly,\n isDisabled,\n isInvalid,\n touched,\n ...otherProps\n}: LocalizedFieldLocaleFieldProps) => {\n let InputComponent:\n | typeof TextInput\n | typeof MultilineTextInput\n | typeof MoneyInput\n | typeof RichTextInput;\n switch (type) {\n case \"text\":\n default:\n InputComponent = TextInput;\n break;\n case \"multiLine\":\n InputComponent = MultilineTextInput;\n break;\n case \"money\":\n InputComponent = MoneyInput;\n break;\n case \"richText\":\n InputComponent = RichTextInput;\n break;\n }\n\n const getInputValue = () => {\n if (type === \"money\") {\n return inputValueFromProps\n ? (inputValueFromProps as MoneyInputValue)\n : ({ amount: \"\", currencyCode: localeOrCurrency } as MoneyInputValue);\n }\n return inputValueFromProps ? inputValueFromProps : \"\";\n };\n\n const inputValue = getInputValue();\n\n const handleChange = useCallback(\n (value: string | CustomEvent | undefined) => {\n // The `MoneyInput` onChange event value is a custom value,\n // and the `MoneyInput` modifies the input id and name since it is in a `group`,\n // so we need to build a separate return object for the MoneInput to return\n // the expected values\n const isMoneyInputEvent = typeof value === \"object\";\n const changeValue = {\n target: isMoneyInputEvent\n ? {\n id: value.target.id,\n name: value.target.name,\n locale: undefined,\n currency: localeOrCurrency as CurrencyCode,\n value: value.target.value,\n }\n : { id, name, locale: localeOrCurrency, currency: undefined, value },\n };\n onChange(changeValue);\n },\n [id, name, localeOrCurrency, onChange]\n );\n\n return (\n <LocalizedFieldLocaleFieldRootSlot asChild>\n <FormField.Root\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isInvalid={(isInvalid || !!error) && touched}\n direction=\"row\"\n size={size}\n id={id}\n >\n <LocalizedFieldLocaleFieldLabelSlot\n display={type === \"money\" ? \"none\" : undefined}\n {...(isDisabled && { \"data-disabled\": isDisabled })}\n asChild\n >\n <FormField.Label>\n {localeOrCurrency.toLocaleUpperCase()}\n </FormField.Label>\n </LocalizedFieldLocaleFieldLabelSlot>\n <FormField.Input>\n <LocalizedFieldLocaleFieldInputSlot\n aria-required={isRequired}\n asChild\n >\n <InputComponent\n {...otherProps}\n size={size}\n value={inputValue as string & MoneyInputValue}\n onChange={handleChange}\n onBlur={(e: React.FocusEvent | CustomEvent) =>\n onBlur?.(e, localeOrCurrency)\n }\n onFocus={(e: React.FocusEvent | CustomEvent) =>\n onFocus?.(e, localeOrCurrency)\n }\n isRequired={isRequired}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isInvalid={(isInvalid || !!error) && touched}\n />\n </LocalizedFieldLocaleFieldInputSlot>\n </FormField.Input>\n {(description || (warning && touched)) && (\n <FormField.Description\n role={warning && touched ? \"status\" : undefined}\n color={warning && touched ? \"warning.11\" : undefined}\n display=\"flex\"\n gap=\"100\"\n alignItems=\"center\"\n >\n {warning && touched ? (\n <>\n <Icon colorPalette=\"warning\">\n <WarningAmber />\n </Icon>\n {warning}\n </>\n ) : (\n description\n )}\n </FormField.Description>\n )}\n {error && touched && <FormField.Error>{error}</FormField.Error>}\n </FormField.Root>\n </LocalizedFieldLocaleFieldRootSlot>\n );\n};\n","import { useState, useMemo } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport {\n Collection as RaCollection,\n Dialog as RaDialog,\n DialogTrigger as RaDialogTrigger,\n} from \"react-aria-components\";\nimport { useField, useId } from \"react-aria\";\nimport {\n ErrorOutline,\n HelpOutline,\n Language,\n Payments,\n WarningAmber,\n} from \"@commercetools/nimbus-icons\";\nimport {\n Box,\n Button,\n FieldErrors,\n Icon,\n IconButton,\n Stack,\n type CurrencyCode,\n} from \"@/components\";\nimport { Popover } from \"../../popover\";\nimport { messages } from \"../localized-field.i18n\";\nimport {\n LocalizedFieldRootSlot,\n LocalizedFieldLabelSlot,\n LocalizedFieldInfoDialogSlot,\n LocalizedFieldFieldsContainerSlot,\n LocalizedFieldDescriptionSlot,\n LocalizedFieldErrorSlot,\n LocalizedFieldToggleButtonContainerSlot,\n} from \"../localized-field.slots\";\nimport type {\n LocalizedFieldProps,\n MergedLocaleFieldData,\n LocalizedCurrency,\n} from \"../localized-field.types\";\n\nimport {\n getHasInvalidLocalizedFields,\n getLocaleFieldAttribute,\n sortCurrencies,\n sortLocalesByDefaultLocaleLanguage,\n} from \"../utils/localized-field.utils\";\nimport { LocalizedFieldLocaleField } from \"./localized-field.locale-field\";\n\n/**\n * LocalizedField - Root component for managing localized input fields\n *\n * Provides a fieldset container for multiple locale-specific or currency-specific input fields\n * with expand/collapse functionality and integrated validation display. Supports text, multiline,\n * richText, and money input types.\n *\n * @supportsStyleProps\n */\nexport const LocalizedField = ({\n type = \"text\",\n id,\n name,\n defaultLocaleOrCurrency,\n valuesByLocaleOrCurrency,\n placeholdersByLocaleOrCurrency,\n descriptionsByLocaleOrCurrency,\n warningsByLocaleOrCurrency,\n errorsByLocaleOrCurrency,\n label,\n hint,\n description,\n warning,\n warnings,\n renderWarning,\n error,\n errors,\n renderError,\n touched,\n isRequired,\n isDisabled,\n isReadOnly,\n onChange,\n onBlur,\n onFocus,\n defaultExpanded = false,\n displayAllLocalesOrCurrencies = false,\n size,\n autoFocus,\n [\"data-track-component\"]: dataTrackComponent,\n [\"data-testid\"]: dataTestId,\n [\"data-test\"]: dataTest,\n // DOM & Style props for wrapper container\n ...rest\n}: LocalizedFieldProps) => {\n const [expanded, setExpanded] = useState(\n displayAllLocalesOrCurrencies || defaultExpanded\n );\n\n const { formatMessage } = useIntl();\n\n // Used to associate more info dialog with fieldset via `aria-controls`\n const localeFieldsContainerId = useId();\n // Used to associate more info dialog with fieldset via `aria-details`\n const moreDetailsButtonId = useId();\n\n // Either `error` exists, or there are `true` fields in the UI Kit compat `errors` object\n const hasError: boolean = Boolean(\n error || (errors && Object.values(errors).some((error) => error === true))\n );\n\n // Either `warning` exists, or there are `true` fields in the UI Kit compat `warnings` object\n const hasWarning: boolean = Boolean(\n warning || (warnings && Object.values(warnings).some(Boolean))\n );\n\n // FieldGroup is invalid if a non-field-specific error is passed and the group has been touched\n // When FieldGroup is invalid, all fields will display error styling without displaying a field-specific error message\n const isInvalid: boolean = !!(hasError && touched);\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField({\n id,\n label,\n description,\n errorMessage: error,\n isInvalid,\n });\n\n // Array of locales/currencies to display as input fields\n const localizationKeys: string[] | CurrencyCode[] = Object.keys(\n valuesByLocaleOrCurrency\n );\n\n // Merge all -ByLocaleOrCurrencies data for each field\n const allDataForFields = useMemo(() => {\n const sortedFieldData =\n type === \"money\"\n ? sortCurrencies(\n defaultLocaleOrCurrency as CurrencyCode,\n localizationKeys as CurrencyCode[]\n )\n : sortLocalesByDefaultLocaleLanguage(\n defaultLocaleOrCurrency,\n localizationKeys\n );\n\n return sortedFieldData.reduce(\n (allFieldData: MergedLocaleFieldData[], localizationKey) => {\n const allDataForLocale = {\n localeOrCurrency: localizationKey,\n inputValue:\n type === \"money\"\n ? (valuesByLocaleOrCurrency as LocalizedCurrency)[localizationKey]\n : (valuesByLocaleOrCurrency[localizationKey] as string),\n placeholder: placeholdersByLocaleOrCurrency?.[localizationKey],\n description: descriptionsByLocaleOrCurrency?.[localizationKey],\n warning: warningsByLocaleOrCurrency?.[localizationKey],\n error: errorsByLocaleOrCurrency?.[localizationKey],\n // autoFocus default/first locale field\n ...(localizationKey === defaultLocaleOrCurrency && autoFocus\n ? { autoFocus }\n : {}),\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n if (\n expanded ||\n // Only display defaultLocaleOrInput field if fieldGroup is not expanded\n (!expanded && localizationKey === defaultLocaleOrCurrency)\n ) {\n return [...allFieldData, allDataForLocale];\n }\n return allFieldData;\n },\n []\n );\n }, [\n valuesByLocaleOrCurrency,\n placeholdersByLocaleOrCurrency,\n descriptionsByLocaleOrCurrency,\n warningsByLocaleOrCurrency,\n errorsByLocaleOrCurrency,\n defaultLocaleOrCurrency,\n expanded,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n ]);\n\n const groupHasInvalidLocalizedFields = getHasInvalidLocalizedFields(\n errorsByLocaleOrCurrency,\n defaultLocaleOrCurrency\n );\n\n const shouldExpandInvalidFields =\n (groupHasInvalidLocalizedFields || hasError) && touched;\n // If there are fields that are invalid, ensure that field group\n // shows all fields so that invalid field is visible\n if (shouldExpandInvalidFields && !expanded) {\n setExpanded(true);\n }\n\n return (\n <LocalizedFieldRootSlot\n {...rest}\n {...fieldProps}\n aria-details={hint ? moreDetailsButtonId : undefined}\n type={type}\n size={size}\n name={name}\n >\n {label && (\n <Stack direction=\"row\" gap=\"0\">\n <LocalizedFieldLabelSlot {...labelProps}>\n {label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </LocalizedFieldLabelSlot>\n {hint && (\n <RaDialogTrigger>\n <IconButton\n id={moreDetailsButtonId}\n aria-label={formatMessage(messages.infoBoxTriggerAriaLabel)}\n size=\"2xs\"\n colorPalette=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n\n <Popover padding={0}>\n <LocalizedFieldInfoDialogSlot asChild>\n <RaDialog>\n <Box p=\"300\">{hint}</Box>\n </RaDialog>\n </LocalizedFieldInfoDialogSlot>\n </Popover>\n </RaDialogTrigger>\n )}\n </Stack>\n )}\n <LocalizedFieldFieldsContainerSlot\n id={localeFieldsContainerId}\n data-expanded={expanded}\n >\n <RaCollection items={allDataForFields}>\n {(item) => {\n return (\n <LocalizedFieldLocaleField\n {...item}\n size={size}\n type={type}\n onChange={onChange}\n onBlur={onBlur}\n onFocus={onFocus}\n touched={touched}\n // Format field attributes to match uikit pattern\n id={getLocaleFieldAttribute(\n fieldProps.id,\n item.localeOrCurrency\n )}\n name={getLocaleFieldAttribute(name, item.localeOrCurrency)}\n data-test={getLocaleFieldAttribute(\n dataTest,\n item.localeOrCurrency\n )}\n data-testid={getLocaleFieldAttribute(\n dataTestId,\n item.localeOrCurrency\n )}\n data-track-component={getLocaleFieldAttribute(\n dataTrackComponent,\n item.localeOrCurrency\n )}\n />\n );\n }}\n </RaCollection>\n </LocalizedFieldFieldsContainerSlot>\n\n {!displayAllLocalesOrCurrencies && localizationKeys.length > 1 && (\n <LocalizedFieldToggleButtonContainerSlot>\n <Button\n aria-controls={localeFieldsContainerId}\n aria-describedby={labelProps.id}\n aria-expanded={expanded}\n onPress={() => setExpanded(!expanded)}\n isDisabled={isDisabled || (shouldExpandInvalidFields && expanded)}\n variant=\"ghost\"\n size=\"2xs\"\n colorPalette=\"primary\"\n >\n <Box\n as={type === \"money\" ? Payments : Language}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {type === \"money\"\n ? expanded\n ? formatMessage(messages.hideCurrencies)\n : formatMessage(messages.showCurrencies)\n : expanded\n ? formatMessage(messages.hideLanguages)\n : formatMessage(messages.showLanguages)}\n </Button>\n </LocalizedFieldToggleButtonContainerSlot>\n )}\n {(description || (hasWarning && touched)) && (\n <LocalizedFieldDescriptionSlot\n role={hasWarning && touched ? \"status\" : undefined}\n color={hasWarning && touched ? \"warning.11\" : undefined}\n // In order to associate the warnings from both the warning and legacy warnings props with the fieldset,\n // we must associate, them to this element with aria-labelledby\n aria-labelledby={`${descriptionProps.id}-warning`}\n {...descriptionProps}\n >\n {/** Warnings are for compat with UI Kit localized fields */}\n {hasWarning && touched ? (\n <>\n <Icon colorPalette=\"warning\">\n <WarningAmber />\n </Icon>\n <Stack gap=\"0\" id={`${descriptionProps.id}-warning`}>\n {warning}\n {warnings && hasWarning && (\n <FieldErrors\n errors={warnings}\n renderError={renderWarning}\n colorPalette=\"warning\"\n role={undefined}\n />\n )}\n </Stack>\n </>\n ) : (\n description\n )}\n </LocalizedFieldDescriptionSlot>\n )}\n {isInvalid && (\n <LocalizedFieldErrorSlot\n // In order to associate the errors from both the error and legacy errors props with the fieldset,\n // we must associate them to this element with aria-labelledby.\n aria-labelledby={`${errorMessageProps.id}-error`}\n role=\"alert\"\n {...errorMessageProps}\n >\n <Icon>\n <ErrorOutline />\n </Icon>\n <Stack gap=\"0\" id={`${errorMessageProps.id}-error`}>\n {error}\n {errors && hasError && (\n <FieldErrors\n errors={errors}\n renderError={renderError}\n role={undefined}\n />\n )}\n </Stack>\n </LocalizedFieldErrorSlot>\n )}\n </LocalizedFieldRootSlot>\n );\n};\n","import { LocalizedFieldRoot } from \"./components\";\nimport {\n getLocaleFieldAttribute,\n createLocalizedString,\n isEmpty,\n omitEmptyTranslations,\n isTouched,\n RequiredValueErrorMessage,\n toFieldErrors,\n convertToMoneyValues,\n parseMoneyValues,\n getHighPrecisionCurrencies,\n getEmptyCurrencies,\n} from \"./utils/localized-field.utils\";\n\n/**\n * LocalizedField component with utility methods for managing localized input fields.\n *\n * This component provides a fieldset for managing multiple locale-specific or currency-specific\n * input fields with expand/collapse functionality and integrated validation display.\n *\n * **Utility Methods** (for compatibility with UI Kit):\n * - `getId` / `getName`: Format field attributes with locale suffix\n * - `isTouched`: Check if any locale field has been touched\n * - `isEmpty`: Check if all locale fields are empty\n * - `createLocalizedString`: Create empty localized string object\n * - `omitEmptyTranslations`: Remove empty translations from localized object\n * - `RequiredValueErrorMessage`: Standard error message component\n * - `toFieldErrors`: Convert errors to field error format\n * - `convertToMoneyValues` / `parseMoneyValues`: Money value conversion utilities\n * - `getHighPrecisionCurrencies` / `getEmptyCurrencies`: Currency utilities\n *\n * @example\n * ```tsx\n * <LocalizedField\n * type=\"text\"\n * label=\"Product Name\"\n * defaultLocaleOrCurrency=\"en\"\n * valuesByLocaleOrCurrency={{ en: \"Product\", de: \"Produkt\" }}\n * onChange={(e) => console.log(e.target.locale, e.target.value)}\n * />\n * ```\n */\nexport const LocalizedField = Object.assign(LocalizedFieldRoot, {\n // Add util methods here for compat with uikit - see https://github.com/commercetools/ui-kit/blob/e97e0c7e8f3e9393981bf1949573212d7c571c90/packages/components/inputs/localized-text-input/src/localized-text-input.tsx#L396\n getId: getLocaleFieldAttribute,\n getName: getLocaleFieldAttribute,\n isTouched,\n isEmpty,\n createLocalizedString,\n omitEmptyTranslations,\n RequiredValueErrorMessage,\n toFieldErrors,\n convertToMoneyValues,\n parseMoneyValues,\n getHighPrecisionCurrencies,\n getEmptyCurrencies,\n});\n"],"names":["messages","defineMessages","withProvider","withContext","createSlotRecipeContext","LocalizedFieldRootSlot","LocalizedFieldLabelSlot","LocalizedFieldInfoDialogSlot","LocalizedFieldFieldsContainerSlot","LocalizedFieldDescriptionSlot","LocalizedFieldErrorSlot","LocalizedFieldToggleButtonContainerSlot","LocalizedFieldLocaleFieldRootSlot","LocalizedFieldLocaleFieldLabelSlot","LocalizedFieldLocaleFieldInputSlot","RequiredValueErrorMessage","jsx","FormField","FormattedMessage","getLocaleFieldAttribute","fieldGroupAttr","locale","getLanguageForLocale","splitLanguages","defaultLocale","locales","defaultLanguage","related","sortLocalesByDefaultLocaleLanguage","allLocales","unrelated","sortCurrencies","defaultCurrency","allCurrencies","remainingCurrencies","currency","getHasInvalidLocalizedFields","errors","defaultLocaleOrCurrency","localeOrCurrency","createLocalizedString","existingLocalizedString","localizedString","isEmpty","value","omitEmptyTranslations","localizedStringWithoutEmptyTranslations","isTouched","touched","toFieldErrors","convertToMoneyValues","values","MoneyInput","parseMoneyValues","moneyValues","allValues","moneyValue","getHighPrecisionCurrencies","currencyCode","getEmptyCurrencies","LocalizedFieldLocaleField","type","size","id","name","inputValueFromProps","description","warning","error","onChange","onBlur","onFocus","isRequired","isReadOnly","isDisabled","isInvalid","otherProps","InputComponent","TextInput","MultilineTextInput","RichTextInput","inputValue","handleChange","useCallback","changeValue","jsxs","e","Fragment","Icon","WarningAmber","LocalizedField","valuesByLocaleOrCurrency","placeholdersByLocaleOrCurrency","descriptionsByLocaleOrCurrency","warningsByLocaleOrCurrency","errorsByLocaleOrCurrency","label","hint","warnings","renderWarning","renderError","defaultExpanded","displayAllLocalesOrCurrencies","autoFocus","dataTrackComponent","dataTestId","dataTest","rest","expanded","setExpanded","useState","formatMessage","useIntl","localeFieldsContainerId","useId","moreDetailsButtonId","hasError","hasWarning","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","localizationKeys","allDataForFields","useMemo","allFieldData","localizationKey","allDataForLocale","shouldExpandInvalidFields","Stack","RaDialogTrigger","IconButton","HelpOutline","Popover","RaDialog","Box","RaCollection","item","Button","Payments","Language","FieldErrors","ErrorOutline","LocalizedFieldRoot"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEO,MAAMA,IAAW,gBAAAC,GAAe;AAAA,EACrC,sBAAsB;AAAA,IACpB,IAAI;AAAA,IACJ,aAAa;AAAA,IACb,gBAAgB;AAAA,EAAA;AAAA,EAElB,yBAAyB;AAAA,IACvB,IAAI;AAAA,IACJ,aAAa;AAAA,IACb,gBAAgB;AAAA,EAAA;AAAA,EAElB,eAAe;AAAA,IACb,IAAI;AAAA,IACJ,aACE;AAAA,IACF,gBAAgB;AAAA,EAAA;AAAA,EAElB,eAAe;AAAA,IACb,IAAI;AAAA,IACJ,aACE;AAAA,IACF,gBAAgB;AAAA,EAAA;AAAA,EAElB,gBAAgB;AAAA,IACd,IAAI;AAAA,IACJ,aACE;AAAA,IACF,gBAAgB;AAAA,EAAA;AAAA,EAElB,gBAAgB;AAAA,IACd,IAAI;AAAA,IACJ,aACE;AAAA,IACF,gBAAgB;AAAA,EAAA;AAEpB,CAAC,GCvBK,EAAE,cAAAC,IAAc,aAAAC,EAAA,IAAgB,gBAAAC,GAAwB;AAAA,EAC5D,KAAK;AACP,CAAC,GAGYC,KAAyB,gBAAAH,GAGpC,YAAY,MAAM,GAGPI,KAA0B,gBAAAH,EAGrC,UAAU,OAAO,GAGNI,KAA+B,gBAAAJ,EAG1C,OAAO,YAAY,GAGRK,KAAoC,gBAAAL,EAG/C,OAAO,iBAAiB,GAGbM,KAAgC,gBAAAN,EAG3C,OAAO,aAAa,GAGTO,KAA0B,gBAAAP,EAGrC,OAAO,OAAO,GAGHQ,KAA0C,gBAAAR,EAGrD,OAAO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EAAC6C,KAAM,KAAI,KAAI,IAAI,GAAGT,EAAkB,EAAE,UACvC,UAAA;AAAA,gBAAArD;AAAA,gBACA/B,KAAU+E,KACT,gBAAApG;AAAA,kBAAC8H;AAAA,kBAAA;AAAA,oBACC,QAAAzG;AAAA,oBACA,aAAA+D;AAAA,oBACA,MAAM;AAAA,kBAAA;AAAA,gBAAA;AAAA,cACR,EAAA,CAEJ;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAIR,GCrUaV,KAAiB,uBAAO,OAAOsD,IAAoB;AAAA;AAAA,EAE9D,OAAO7H;AAAA,EACP,SAASA;AAAA,EACT,WAAA4B;AAAA,EACA,SAAAJ;AAAA,EACA,uBAAAH;AAAA,EACA,uBAAAK;AAAA,EACA,2BAAA9B;AAAA,EACA,eAAAkC;AAAA,EACA,sBAAAC;AAAA,EACA,kBAAAG;AAAA,EACA,4BAAAI;AAAA,EACA,oBAAAE;AACF,CAAC;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { useRef as a, isValidElement as m, cloneElement as l } from "react";
|
|
2
|
+
import { mergeRefs as c } from "@chakra-ui/react";
|
|
3
|
+
import { $ as n } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
4
|
+
import { $ as p } from "./mergeProps-Dsl8k3Ig.es.js";
|
|
5
|
+
import { $ } from "./useFocusable-Cs6i58WP.es.js";
|
|
6
|
+
const b = function({
|
|
7
|
+
ref: f,
|
|
8
|
+
children: e,
|
|
9
|
+
...r
|
|
10
|
+
}) {
|
|
11
|
+
const t = a(null), o = n(c(t, f)), { focusableProps: s } = $(r, o);
|
|
12
|
+
return m(e) ? l(
|
|
13
|
+
e,
|
|
14
|
+
p(
|
|
15
|
+
s,
|
|
16
|
+
e.props,
|
|
17
|
+
{ ref: o }
|
|
18
|
+
)
|
|
19
|
+
) : null;
|
|
20
|
+
};
|
|
21
|
+
b.displayName = "MakeElementFocusable";
|
|
22
|
+
export {
|
|
23
|
+
b as M
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=make-element-focusable-7-aXFtDJ.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"make-element-focusable-7-aXFtDJ.es.js","sources":["../../src/components/tooltip/make-element-focusable.tsx"],"sourcesContent":["import {\n cloneElement,\n useRef,\n type PropsWithChildren,\n isValidElement,\n} from \"react\";\nimport {\n mergeProps,\n useObjectRef,\n useFocusable,\n type FocusableOptions,\n} from \"react-aria\";\n\nimport { mergeRefs } from \"@chakra-ui/react\";\n\nexport type MakeElementFocusableProps = PropsWithChildren<\n FocusableOptions<HTMLElement>\n> & {\n /**\n * React ref to be forwarded to the underlying element\n */\n ref?: React.Ref<HTMLElement>;\n};\n\n/**\n * MakeElementFocusable\n * ============================================================\n * A helper component that adds props from `react-aria`s `useFocusable` hook\n * to its child so that it can be used as a trigger element for a `Tooltip`\n *\n * Caveats:\n * - Using non-interactive elements as tooltip triggers is against ARIA best-practices,\n * it is your responsibility to ensure that the underlying trigger element handles\n * focus and hover interactions correctly for keyboard-only users\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLElement' attributes (including aria- & data-attributes)\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [React Aria Components Issue re:Tooltip with custom trigger](https://github.com/adobe/react-spectrum/issues/5733#issuecomment-1918691983)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport const MakeElementFocusable = function MakeElementFocusable({\n ref: forwardedRef,\n children,\n ...props\n}: MakeElementFocusableProps) {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const { focusableProps } = useFocusable(props, ref);\n\n if (isValidElement(children)) {\n return cloneElement(\n children,\n mergeProps(\n focusableProps,\n children.props as PropsWithChildren<FocusableOptions<HTMLElement>>,\n { ref: ref }\n )\n );\n }\n\n return null;\n};\nMakeElementFocusable.displayName = \"MakeElementFocusable\";\n"],"names":["MakeElementFocusable","forwardedRef","children","props","localRef","useRef","ref","useObjectRef","mergeRefs","focusableProps","useFocusable","isValidElement","cloneElement","mergeProps"],"mappings":";;;;;AA4CO,MAAMA,IAAuB,SAA8B;AAAA,EAChE,KAAKC;AAAA,EACL,UAAAC;AAAA,EACA,GAAGC;AACL,GAA8B;AAC5B,QAAMC,IAAWC,EAAoB,IAAI,GACnCC,IAAMC,EAAaC,EAAUJ,GAAUH,CAAY,CAAC,GACpD,EAAE,gBAAAQ,EAAA,IAAmBC,EAAaP,GAAOG,CAAG;AAElD,SAAIK,EAAeT,CAAQ,IAClBU;AAAA,IACLV;AAAA,IACAW;AAAAA,MACEJ;AAAA,MACAP,EAAS;AAAA,MACT,EAAE,KAAAI,EAAA;AAAA,IAAS;AAAA,EACb,IAIG;AACT;AACAN,EAAqB,cAAc;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const s=require("react"),a=require("@chakra-ui/react"),f=require("./useObjectRef-4v2MxSjQ.cjs.js"),l=require("./mergeProps-CxnHrnow.cjs.js"),b=require("./useFocusable-C7VjcJHL.cjs.js"),c=function({ref:r,children:e,...o}){const n=s.useRef(null),t=f.$df56164dff5785e2$export$4338b53315abf666(a.mergeRefs(n,r)),{focusableProps:u}=b.$f645667febf57a63$export$4c014de7c8940b4c(o,t);return s.isValidElement(e)?s.cloneElement(e,l.$3ef42575df84b30b$export$9d1611c77c2fe928(u,e.props,{ref:t})):null};c.displayName="MakeElementFocusable";exports.MakeElementFocusable=c;
|
|
2
|
+
//# sourceMappingURL=make-element-focusable-Cdmdc8sd.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"make-element-focusable-Cdmdc8sd.cjs.js","sources":["../../src/components/tooltip/make-element-focusable.tsx"],"sourcesContent":["import {\n cloneElement,\n useRef,\n type PropsWithChildren,\n isValidElement,\n} from \"react\";\nimport {\n mergeProps,\n useObjectRef,\n useFocusable,\n type FocusableOptions,\n} from \"react-aria\";\n\nimport { mergeRefs } from \"@chakra-ui/react\";\n\nexport type MakeElementFocusableProps = PropsWithChildren<\n FocusableOptions<HTMLElement>\n> & {\n /**\n * React ref to be forwarded to the underlying element\n */\n ref?: React.Ref<HTMLElement>;\n};\n\n/**\n * MakeElementFocusable\n * ============================================================\n * A helper component that adds props from `react-aria`s `useFocusable` hook\n * to its child so that it can be used as a trigger element for a `Tooltip`\n *\n * Caveats:\n * - Using non-interactive elements as tooltip triggers is against ARIA best-practices,\n * it is your responsibility to ensure that the underlying trigger element handles\n * focus and hover interactions correctly for keyboard-only users\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLElement' attributes (including aria- & data-attributes)\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [React Aria Components Issue re:Tooltip with custom trigger](https://github.com/adobe/react-spectrum/issues/5733#issuecomment-1918691983)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport const MakeElementFocusable = function MakeElementFocusable({\n ref: forwardedRef,\n children,\n ...props\n}: MakeElementFocusableProps) {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const { focusableProps } = useFocusable(props, ref);\n\n if (isValidElement(children)) {\n return cloneElement(\n children,\n mergeProps(\n focusableProps,\n children.props as PropsWithChildren<FocusableOptions<HTMLElement>>,\n { ref: ref }\n )\n );\n }\n\n return null;\n};\nMakeElementFocusable.displayName = \"MakeElementFocusable\";\n"],"names":["MakeElementFocusable","forwardedRef","children","props","localRef","useRef","ref","useObjectRef","mergeRefs","focusableProps","useFocusable","isValidElement","cloneElement","mergeProps"],"mappings":"sMA4CaA,EAAuB,SAA8B,CAChE,IAAKC,EACL,SAAAC,EACA,GAAGC,CACL,EAA8B,CAC5B,MAAMC,EAAWC,EAAAA,OAAoB,IAAI,EACnCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUH,CAAY,CAAC,EACpD,CAAE,eAAAQ,CAAA,EAAmBC,4CAAaP,EAAOG,CAAG,EAElD,OAAIK,EAAAA,eAAeT,CAAQ,EAClBU,EAAAA,aACLV,EACAW,EAAAA,0CACEJ,EACAP,EAAS,MACT,CAAE,IAAAI,CAAA,CAAS,CACb,EAIG,IACT,EACAN,EAAqB,YAAc"}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { jsx as e, jsxs as S, Fragment as F } from "react/jsx-runtime";
|
|
2
|
+
import { l as K, $ as L, m as E, n as O, o as j, p as k } from "./Dialog-DUbUCf4o.es.js";
|
|
3
|
+
import { createSlotRecipeContext as V } from "@chakra-ui/react";
|
|
4
|
+
import { createContext as g, useContext as W } from "react";
|
|
5
|
+
import { c as q } from "./CollectionBuilder-ZlIN4SR4.es.js";
|
|
6
|
+
import { e as a } from "./extract-style-props-DChosa6I.es.js";
|
|
7
|
+
import { d as z } from "./Header-Bvo6aMcQ.es.js";
|
|
8
|
+
import { ChevronRight as A } from "@commercetools/nimbus-icons";
|
|
9
|
+
import { I as B } from "./icon-CenxuChf.es.js";
|
|
10
|
+
import { a as D } from "./Button-BjcDZ5eb.es.js";
|
|
11
|
+
import { useSlotRecipe as G } from "@chakra-ui/react/styled-system";
|
|
12
|
+
const { withProvider: H, withContext: u } = /* @__PURE__ */ V({
|
|
13
|
+
key: "menu"
|
|
14
|
+
}), J = /* @__PURE__ */ H("div", "root"), f = /* @__PURE__ */ u("button", "trigger"), Q = /* @__PURE__ */ u("div", "popover"), U = /* @__PURE__ */ u("div", "content"), X = /* @__PURE__ */ u("div", "item"), Y = /* @__PURE__ */ u("div", "section"), Z = /* @__PURE__ */ u(
|
|
15
|
+
"div",
|
|
16
|
+
"sectionLabel"
|
|
17
|
+
), P = /* @__PURE__ */ g(void 0), _ = P.Provider, $ = () => W(P), x = (t) => {
|
|
18
|
+
const o = G({ key: "menu" }), [c, r] = o.splitVariantProps(t), { children: s, trigger: n, isOpen: i, defaultOpen: l, onOpenChange: d, ...p } = r, [m, b] = a(p);
|
|
19
|
+
return /* @__PURE__ */ e(J, { ...c, ...m, asChild: !0, children: /* @__PURE__ */ e(K, { ...{
|
|
20
|
+
trigger: n,
|
|
21
|
+
isOpen: i,
|
|
22
|
+
defaultOpen: l,
|
|
23
|
+
onOpenChange: d
|
|
24
|
+
}, children: /* @__PURE__ */ e(_, { value: b, children: s }) }) });
|
|
25
|
+
};
|
|
26
|
+
x.displayName = "Menu.Root";
|
|
27
|
+
const C = ({
|
|
28
|
+
children: t,
|
|
29
|
+
asChild: o,
|
|
30
|
+
ref: c,
|
|
31
|
+
...r
|
|
32
|
+
}) => {
|
|
33
|
+
const [s, n] = a(r);
|
|
34
|
+
return o ? /* @__PURE__ */ e(f, { ref: c, asChild: !0, ...s, children: t }) : /* @__PURE__ */ e(f, { asChild: !0, ...s, children: /* @__PURE__ */ e(D, { ref: c, ...n, children: t }) });
|
|
35
|
+
};
|
|
36
|
+
C.displayName = "Menu.Trigger";
|
|
37
|
+
const ee = /* @__PURE__ */ g(
|
|
38
|
+
void 0
|
|
39
|
+
), y = ee.Provider, M = ({
|
|
40
|
+
children: t,
|
|
41
|
+
placement: o,
|
|
42
|
+
ref: c
|
|
43
|
+
}) => {
|
|
44
|
+
const r = $();
|
|
45
|
+
if (!r)
|
|
46
|
+
throw new Error("Menu.Content must be used within Menu.Root");
|
|
47
|
+
const { placement: s, ...n } = r, i = o || s || "bottom start";
|
|
48
|
+
return /* @__PURE__ */ e(y, { value: { selectionMode: n.selectionMode }, children: /* @__PURE__ */ e(Q, { asChild: !0, children: /* @__PURE__ */ e(L, { placement: i, offset: 4, shouldFlip: !0, children: /* @__PURE__ */ e(U, { asChild: !0, children: /* @__PURE__ */ e(E, { ref: c, shouldFocusWrap: !0, autoFocus: "first", ...n, children: t }) }) }) }) });
|
|
49
|
+
};
|
|
50
|
+
M.displayName = "Menu.Content";
|
|
51
|
+
const v = ({
|
|
52
|
+
children: t,
|
|
53
|
+
isCritical: o,
|
|
54
|
+
ref: c,
|
|
55
|
+
...r
|
|
56
|
+
}) => {
|
|
57
|
+
const [s, n] = a(r);
|
|
58
|
+
return /* @__PURE__ */ e(
|
|
59
|
+
X,
|
|
60
|
+
{
|
|
61
|
+
asChild: !0,
|
|
62
|
+
...s,
|
|
63
|
+
"data-critical": o ? "" : void 0,
|
|
64
|
+
children: /* @__PURE__ */ e(O, { ref: c, ...n, children: ({ hasSubmenu: i }) => /* @__PURE__ */ S(F, { children: [
|
|
65
|
+
t,
|
|
66
|
+
i && /* @__PURE__ */ e(B, { slot: "caretIcon", children: /* @__PURE__ */ e(A, {}) })
|
|
67
|
+
] }) })
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
};
|
|
71
|
+
v.displayName = "Menu.Item";
|
|
72
|
+
const R = ({
|
|
73
|
+
children: t,
|
|
74
|
+
ref: o,
|
|
75
|
+
...c
|
|
76
|
+
}) => {
|
|
77
|
+
const [r, s] = a(c);
|
|
78
|
+
return /* @__PURE__ */ e(Z, { asChild: !0, ...r, children: /* @__PURE__ */ e(z, { ref: o, ...s, children: t }) });
|
|
79
|
+
};
|
|
80
|
+
R.displayName = "Menu.SectionLabel";
|
|
81
|
+
const T = ({
|
|
82
|
+
children: t,
|
|
83
|
+
ref: o,
|
|
84
|
+
label: c,
|
|
85
|
+
items: r,
|
|
86
|
+
...s
|
|
87
|
+
}) => {
|
|
88
|
+
const n = $(), {
|
|
89
|
+
selectionMode: i = n?.selectionMode,
|
|
90
|
+
selectedKeys: l = n?.selectedKeys,
|
|
91
|
+
defaultSelectedKeys: d = n?.defaultSelectedKeys,
|
|
92
|
+
onSelectionChange: p = n?.onSelectionChange,
|
|
93
|
+
disallowEmptySelection: m = n?.disallowEmptySelection,
|
|
94
|
+
...b
|
|
95
|
+
} = s, [h, I] = a(b);
|
|
96
|
+
return /* @__PURE__ */ e(y, { value: { selectionMode: i }, children: /* @__PURE__ */ e(Y, { asChild: !0, ...h, children: /* @__PURE__ */ S(
|
|
97
|
+
j,
|
|
98
|
+
{
|
|
99
|
+
ref: o,
|
|
100
|
+
selectionMode: i,
|
|
101
|
+
selectedKeys: l,
|
|
102
|
+
defaultSelectedKeys: d,
|
|
103
|
+
onSelectionChange: p,
|
|
104
|
+
disallowEmptySelection: m,
|
|
105
|
+
...I,
|
|
106
|
+
children: [
|
|
107
|
+
/* @__PURE__ */ e(R, { children: c }),
|
|
108
|
+
r ? /* @__PURE__ */ e(q, { items: r, children: t }) : t
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
) }) });
|
|
112
|
+
};
|
|
113
|
+
T.displayName = "Menu.Section";
|
|
114
|
+
const N = ({
|
|
115
|
+
children: t,
|
|
116
|
+
...o
|
|
117
|
+
}) => /* @__PURE__ */ e(k, { ...o, children: t });
|
|
118
|
+
N.displayName = "Menu.SubmenuTrigger";
|
|
119
|
+
const w = ({ children: t, ...o }) => /* @__PURE__ */ e(M, { ...o, placement: "end", children: t });
|
|
120
|
+
w.displayName = "Menu.Submenu";
|
|
121
|
+
const pe = {
|
|
122
|
+
/**
|
|
123
|
+
* # Menu.Root
|
|
124
|
+
*
|
|
125
|
+
* The root container component that provides configuration and state management
|
|
126
|
+
* for the entire menu. Wraps MenuTrigger and handles open/close state.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* ```tsx
|
|
130
|
+
* <Menu.Root onAction={(key) => console.log(key)}>
|
|
131
|
+
* <Menu.Trigger>Options</Menu.Trigger>
|
|
132
|
+
* <Menu.Content>
|
|
133
|
+
* <Menu.Item id="edit">Edit</Menu.Item>
|
|
134
|
+
* </Menu.Content>
|
|
135
|
+
* </Menu.Root>
|
|
136
|
+
* ```
|
|
137
|
+
*/
|
|
138
|
+
Root: x,
|
|
139
|
+
/**
|
|
140
|
+
* # Menu.Trigger
|
|
141
|
+
*
|
|
142
|
+
* The button or element that opens the menu when activated.
|
|
143
|
+
* Supports custom trigger elements via the `asChild` prop.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* ```tsx
|
|
147
|
+
* <Menu.Root>
|
|
148
|
+
* <Menu.Trigger>Open Menu</Menu.Trigger>
|
|
149
|
+
* <Menu.Content>...</Menu.Content>
|
|
150
|
+
* </Menu.Root>
|
|
151
|
+
* ```
|
|
152
|
+
*/
|
|
153
|
+
Trigger: C,
|
|
154
|
+
/**
|
|
155
|
+
* # Menu.Content
|
|
156
|
+
*
|
|
157
|
+
* The popover container that displays menu items. Automatically positions
|
|
158
|
+
* relative to the trigger and handles focus management.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```tsx
|
|
162
|
+
* <Menu.Root>
|
|
163
|
+
* <Menu.Trigger>Options</Menu.Trigger>
|
|
164
|
+
* <Menu.Content>
|
|
165
|
+
* <Menu.Item id="save">Save</Menu.Item>
|
|
166
|
+
* <Menu.Item id="delete">Delete</Menu.Item>
|
|
167
|
+
* </Menu.Content>
|
|
168
|
+
* </Menu.Root>
|
|
169
|
+
* ```
|
|
170
|
+
*/
|
|
171
|
+
Content: M,
|
|
172
|
+
/**
|
|
173
|
+
* # Menu.Item
|
|
174
|
+
*
|
|
175
|
+
* An individual menu item that can be selected. Supports icons, labels,
|
|
176
|
+
* descriptions, keyboard shortcuts, and critical styling.
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* ```tsx
|
|
180
|
+
* <Menu.Item id="delete" isCritical>
|
|
181
|
+
* <Icon slot="icon"><Icons.Delete /></Icon>
|
|
182
|
+
* <Text slot="label">Delete</Text>
|
|
183
|
+
* <Text slot="description">Remove permanently</Text>
|
|
184
|
+
* <Kbd slot="keyboard">⌘⌫</Kbd>
|
|
185
|
+
* </Menu.Item>
|
|
186
|
+
* ```
|
|
187
|
+
*/
|
|
188
|
+
Item: v,
|
|
189
|
+
/**
|
|
190
|
+
* # Menu.Section
|
|
191
|
+
*
|
|
192
|
+
* Groups related menu items with an optional label. Supports selection modes
|
|
193
|
+
* for single or multiple selections within the section.
|
|
194
|
+
*
|
|
195
|
+
* @example
|
|
196
|
+
* ```tsx
|
|
197
|
+
* <Menu.Content>
|
|
198
|
+
* <Menu.Section label="Edit Actions">
|
|
199
|
+
* <Menu.Item id="copy">Copy</Menu.Item>
|
|
200
|
+
* <Menu.Item id="paste">Paste</Menu.Item>
|
|
201
|
+
* </Menu.Section>
|
|
202
|
+
* </Menu.Content>
|
|
203
|
+
* ```
|
|
204
|
+
*/
|
|
205
|
+
Section: T,
|
|
206
|
+
/**
|
|
207
|
+
* # Menu.Submenu
|
|
208
|
+
*
|
|
209
|
+
* A nested menu that appears when hovering over or selecting a submenu trigger.
|
|
210
|
+
* Automatically positioned to the side of the parent menu.
|
|
211
|
+
*
|
|
212
|
+
* @example
|
|
213
|
+
* ```tsx
|
|
214
|
+
* <Menu.Item>
|
|
215
|
+
* <Menu.SubmenuTrigger>
|
|
216
|
+
* <Text slot="label">More Options</Text>
|
|
217
|
+
* </Menu.SubmenuTrigger>
|
|
218
|
+
* <Menu.Submenu>
|
|
219
|
+
* <Menu.Item id="option1">Option 1</Menu.Item>
|
|
220
|
+
* </Menu.Submenu>
|
|
221
|
+
* </Menu.Item>
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
Submenu: w,
|
|
225
|
+
/**
|
|
226
|
+
* # Menu.SubmenuTrigger
|
|
227
|
+
*
|
|
228
|
+
* The trigger element for opening a submenu. Must be used within a Menu.Item
|
|
229
|
+
* and paired with Menu.Submenu.
|
|
230
|
+
*
|
|
231
|
+
* @example
|
|
232
|
+
* ```tsx
|
|
233
|
+
* <Menu.Item>
|
|
234
|
+
* <Menu.SubmenuTrigger>
|
|
235
|
+
* <Text slot="label">Export</Text>
|
|
236
|
+
* </Menu.SubmenuTrigger>
|
|
237
|
+
* <Menu.Submenu>
|
|
238
|
+
* <Menu.Item id="pdf">PDF</Menu.Item>
|
|
239
|
+
* <Menu.Item id="csv">CSV</Menu.Item>
|
|
240
|
+
* </Menu.Submenu>
|
|
241
|
+
* </Menu.Item>
|
|
242
|
+
* ```
|
|
243
|
+
*/
|
|
244
|
+
SubmenuTrigger: N
|
|
245
|
+
};
|
|
246
|
+
export {
|
|
247
|
+
pe as M,
|
|
248
|
+
x as a,
|
|
249
|
+
C as b,
|
|
250
|
+
M as c,
|
|
251
|
+
v as d,
|
|
252
|
+
T as e,
|
|
253
|
+
N as f,
|
|
254
|
+
w as g
|
|
255
|
+
};
|
|
256
|
+
//# sourceMappingURL=menu-C3Ovi5Mr.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-C3Ovi5Mr.es.js","sources":["../../src/components/menu/menu.slots.tsx","../../src/components/menu/components/menu.context.tsx","../../src/components/menu/components/menu.root.tsx","../../src/components/menu/components/menu.trigger.tsx","../../src/components/menu/components/menu.section-context.tsx","../../src/components/menu/components/menu.content.tsx","../../src/components/menu/components/menu.item.tsx","../../src/components/menu/components/menu.section-label.tsx","../../src/components/menu/components/menu.section.tsx","../../src/components/menu/components/menu.submenu-trigger.tsx","../../src/components/menu/components/menu.submenu.tsx","../../src/components/menu/menu.tsx"],"sourcesContent":["import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type {\n MenuRootSlotProps,\n MenuTriggerSlotProps,\n MenuPopoverSlotProps,\n MenuContentSlotProps,\n MenuItemSlotProps,\n MenuSectionSlotProps,\n MenuSectionLabelSlotProps,\n MenuSubmenuSlotProps,\n} from \"./menu.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"menu\",\n});\n\n// Menu Root\nexport const MenuRootSlot: SlotComponent<HTMLDivElement, MenuRootSlotProps> =\n withProvider<HTMLDivElement, MenuRootSlotProps>(\"div\", \"root\");\n\n// Menu Trigger\nexport const MenuTriggerSlot: SlotComponent<\n HTMLButtonElement,\n MenuTriggerSlotProps\n> = withContext<HTMLButtonElement, MenuTriggerSlotProps>(\"button\", \"trigger\");\n\n// Menu Popover\nexport const MenuPopoverSlot: SlotComponent<\n HTMLDivElement,\n MenuPopoverSlotProps\n> = withContext<HTMLDivElement, MenuPopoverSlotProps>(\"div\", \"popover\");\n\n// Menu Content\nexport const MenuContentSlot: SlotComponent<\n HTMLDivElement,\n MenuContentSlotProps\n> = withContext<HTMLDivElement, MenuContentSlotProps>(\"div\", \"content\");\n\n// Menu Item\nexport const MenuItemSlot: SlotComponent<HTMLDivElement, MenuItemSlotProps> =\n withContext<HTMLDivElement, MenuItemSlotProps>(\"div\", \"item\");\n\n// Menu Section\nexport const MenuSectionSlot: SlotComponent<\n HTMLDivElement,\n MenuSectionSlotProps\n> = withContext<HTMLDivElement, MenuSectionSlotProps>(\"div\", \"section\");\n\n// Menu Section Label\nexport const MenuSectionLabelSlot: SlotComponent<\n HTMLDivElement,\n MenuSectionLabelSlotProps\n> = withContext<HTMLDivElement, MenuSectionLabelSlotProps>(\n \"div\",\n \"sectionLabel\"\n);\n\n// Menu Group Label\nexport const MenuSubmenuSlot: SlotComponent<\n HTMLDivElement,\n MenuSubmenuSlotProps\n> = withContext<HTMLDivElement, MenuSubmenuSlotProps>(\"div\", \"submenu\");\n","import { createContext, useContext } from \"react\";\nimport type { MenuRootProps } from \"./../menu.types\";\nimport type { MenuTriggerProps as RaMenuTriggerProps } from \"react-aria-components\";\n\n// Context should contain all Menu props (excluding MenuTrigger-specific props)\nexport type MenuContextValue = Omit<\n MenuRootProps,\n keyof RaMenuTriggerProps | \"children\" | \"trigger\"\n>;\n\nconst MenuContext = createContext<MenuContextValue | undefined>(undefined);\n\nexport const MenuProvider = MenuContext.Provider;\n\nexport const useMenuContext = () => {\n const context = useContext(MenuContext);\n return context;\n};\n","import { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { MenuTrigger as RaMenuTrigger } from \"react-aria-components\";\nimport type { MenuRootProps } from \"../menu.types\";\nimport { MenuRootSlot } from \"../menu.slots\";\nimport { MenuProvider } from \"./menu.context\";\nimport { extractStyleProps } from \"@/utils\";\n\n/**\n * Menu.Root - Container component that provides configuration and state management\n *\n * @supportsStyleProps\n */\nexport const MenuRoot = (props: MenuRootProps) => {\n const recipe = useSlotRecipe({ key: \"menu\" });\n const [recipeProps, restRecipeProps] = recipe.splitVariantProps(props);\n\n // Separate MenuTrigger props and functional props from style props\n const { children, trigger, isOpen, defaultOpen, onOpenChange, ...restProps } =\n restRecipeProps;\n\n const [styleProps, menuContextProps] = extractStyleProps(restProps);\n\n const menuTriggerProps = {\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n };\n\n return (\n <MenuRootSlot {...recipeProps} {...styleProps} asChild>\n <RaMenuTrigger {...menuTriggerProps}>\n <MenuProvider value={menuContextProps}>{children}</MenuProvider>\n </RaMenuTrigger>\n </MenuRootSlot>\n );\n};\n\nMenuRoot.displayName = \"Menu.Root\";\n","import {\n Button,\n type MenuTriggerProps as RaMenuTriggerProps,\n} from \"react-aria-components\";\nimport { MenuTriggerSlot } from \"../menu.slots\";\nimport type { MenuTriggerProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport type {} from \"react\";\n\n/**\n * Menu.Trigger - The button or element that opens the menu when activated\n *\n * @supportsStyleProps\n */\nexport const MenuTrigger = ({\n children,\n asChild,\n ref,\n ...props\n}: MenuTriggerProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n /**\n * The user supplied a Button as the trigger\n */\n if (asChild) {\n // When asChild is true, apply styles to the child element\n return (\n <MenuTriggerSlot ref={ref} asChild {...styleProps}>\n {children as RaMenuTriggerProps[\"children\"]}\n </MenuTriggerSlot>\n );\n }\n\n /**\n * The user did not supply a Button as trigger, use an unstyled button\n * to wrap which ever element the user supplied and make it a trigger\n */\n return (\n <MenuTriggerSlot asChild {...styleProps}>\n <Button ref={ref} {...restProps}>\n {children}\n </Button>\n </MenuTriggerSlot>\n );\n};\n\nMenuTrigger.displayName = \"Menu.Trigger\";\n","import { createContext, useContext } from \"react\";\n\nexport type MenuSectionContextValue = {\n selectionMode?: \"single\" | \"multiple\" | \"none\";\n};\n/**\n * Why is a second context (MenuSectionContext) needed?\n *\n * MenuSectionContext enables section-level config for menu items, such as\n * selection mode, which may differ from the global menu context. This allows\n * advanced menus where each section can have its own selection behavior\n * (e.g., one section is single-select, another is multi-select).\n * By scoping context to a section, menu items inherit settings from their\n * nearest section, falling back to the global menu context if not present.\n * This pattern improves flexibility and composability for complex menus,\n * and avoids prop drilling or awkward prop merging.\n */\n\nconst MenuSectionContext = createContext<MenuSectionContextValue | undefined>(\n undefined\n);\n\nexport const MenuSectionProvider = MenuSectionContext.Provider;\n\nexport const useMenuSectionContext = () => {\n return useContext(MenuSectionContext);\n};\n","import { Menu, Popover } from \"react-aria-components\";\nimport { MenuContentSlot, MenuPopoverSlot } from \"../menu.slots\";\nimport type { MenuContentProps } from \"../menu.types\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\n\n/**\n * Menu.Content - The popover container that displays menu items\n *\n * @supportsStyleProps\n */\nexport const MenuContent = ({\n children,\n placement: placementOverride,\n ref,\n}: MenuContentProps) => {\n const contextProps = useMenuContext();\n\n if (!contextProps) {\n throw new Error(\"Menu.Content must be used within Menu.Root\");\n }\n\n // Separate placement from other props since it's handled by Popover\n const { placement, ...menuProps } = contextProps;\n const finalPlacement = placementOverride || placement || \"bottom start\";\n\n return (\n <MenuSectionProvider value={{ selectionMode: menuProps.selectionMode }}>\n <MenuPopoverSlot asChild>\n <Popover placement={finalPlacement} offset={4} shouldFlip>\n <MenuContentSlot asChild>\n <Menu ref={ref} shouldFocusWrap autoFocus=\"first\" {...menuProps}>\n {children}\n </Menu>\n </MenuContentSlot>\n </Popover>\n </MenuPopoverSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuContent.displayName = \"Menu.Content\";\n","import { MenuItem as RaMenuItem } from \"react-aria-components\";\nimport { MenuItemSlot } from \"../menu.slots\";\nimport type { MenuItemProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { ChevronRight } from \"@commercetools/nimbus-icons\";\nimport { Icon } from \"@/components/icon\";\n\n/**\n * Menu.Item - An individual menu item that can be selected\n *\n * @supportsStyleProps\n */\nexport const MenuItem = ({\n children,\n isCritical,\n ref,\n ...props\n}: MenuItemProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuItemSlot\n asChild\n {...styleProps}\n data-critical={isCritical ? \"\" : undefined}\n >\n <RaMenuItem ref={ref} {...restProps}>\n {({ hasSubmenu }) => (\n <>\n {children}\n {hasSubmenu && (\n <Icon slot=\"caretIcon\">\n <ChevronRight />\n </Icon>\n )}\n </>\n )}\n </RaMenuItem>\n </MenuItemSlot>\n );\n};\n\nMenuItem.displayName = \"Menu.Item\";\n","import { Header } from \"react-aria-components\";\nimport { MenuSectionLabelSlot } from \"../menu.slots\";\nimport type { MenuSectionLabelProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils\";\n\n/**\n * Menu.SectionLabel - Used in MenuSection for rendering the `label` property\n *\n * @supportsStyleProps\n */\nexport const MenuSectionLabel = ({\n children,\n ref,\n ...props\n}: MenuSectionLabelProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSectionLabelSlot asChild {...styleProps}>\n <Header ref={ref} {...restProps}>\n {children}\n </Header>\n </MenuSectionLabelSlot>\n );\n};\n\nMenuSectionLabel.displayName = \"Menu.SectionLabel\";\n","import {\n MenuSection as RaMenuSection,\n Collection,\n} from \"react-aria-components\";\nimport { MenuSectionSlot } from \"../menu.slots\";\nimport type { MenuSectionProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\nimport { MenuSectionLabel } from \"./menu.section-label\";\nimport type { ReactNode } from \"react\";\n\n/**\n * Menu.Section - Groups related menu items with an optional label\n *\n * @supportsStyleProps\n */\nexport const MenuSection = <T extends object = object>({\n children,\n ref,\n label,\n items,\n ...props\n}: MenuSectionProps<T>) => {\n const contextProps = useMenuContext();\n\n // Extract selection-related props before extracting style props\n const {\n selectionMode = contextProps?.selectionMode,\n selectedKeys = contextProps?.selectedKeys,\n defaultSelectedKeys = contextProps?.defaultSelectedKeys,\n onSelectionChange = contextProps?.onSelectionChange,\n disallowEmptySelection = contextProps?.disallowEmptySelection,\n ...restProps\n } = props;\n\n const [styleProps, otherProps] = extractStyleProps(restProps);\n\n return (\n <MenuSectionProvider value={{ selectionMode }}>\n <MenuSectionSlot asChild {...styleProps}>\n <RaMenuSection\n ref={ref}\n selectionMode={selectionMode}\n selectedKeys={selectedKeys}\n defaultSelectedKeys={defaultSelectedKeys}\n onSelectionChange={onSelectionChange}\n disallowEmptySelection={disallowEmptySelection}\n {...otherProps}\n >\n <MenuSectionLabel>{label}</MenuSectionLabel>\n {items ? (\n <Collection items={items}>{children}</Collection>\n ) : (\n (children as ReactNode)\n )}\n </RaMenuSection>\n </MenuSectionSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuSection.displayName = \"Menu.Section\";\n","import { SubmenuTrigger as RaSubmenuTrigger } from \"react-aria-components\";\nimport type { MenuSubmenuTriggerProps } from \"../menu.types\";\n\n/**\n * Menu.SubmenuTrigger - The trigger element for opening a submenu\n *\n * @supportsStyleProps\n */\nexport const MenuSubmenuTrigger = ({\n children,\n ...props\n}: MenuSubmenuTriggerProps) => {\n return <RaSubmenuTrigger {...props}>{children}</RaSubmenuTrigger>;\n};\n\nMenuSubmenuTrigger.displayName = \"Menu.SubmenuTrigger\";\n","import type { MenuSubmenuProps } from \"../menu.types\";\nimport { MenuContent } from \"./menu.content\";\n\n/**\n * Menu.Submenu - A nested menu that appears when hovering over or selecting a submenu trigger\n *\n * @supportsStyleProps\n */\nexport const MenuSubmenu = ({ children, ...props }: MenuSubmenuProps) => {\n return (\n <MenuContent {...props} placement=\"end\">\n {children}\n </MenuContent>\n );\n};\n\nMenuSubmenu.displayName = \"Menu.Submenu\";\n","import {\n MenuRoot,\n MenuTrigger,\n MenuContent,\n MenuItem,\n MenuSection,\n MenuSubmenuTrigger,\n MenuSubmenu,\n} from \"./components\";\n\nexport const Menu = {\n /**\n * # Menu.Root\n *\n * The root container component that provides configuration and state management\n * for the entire menu. Wraps MenuTrigger and handles open/close state.\n *\n * @example\n * ```tsx\n * <Menu.Root onAction={(key) => console.log(key)}>\n * <Menu.Trigger>Options</Menu.Trigger>\n * <Menu.Content>\n * <Menu.Item id=\"edit\">Edit</Menu.Item>\n * </Menu.Content>\n * </Menu.Root>\n * ```\n */\n Root: MenuRoot,\n\n /**\n * # Menu.Trigger\n *\n * The button or element that opens the menu when activated.\n * Supports custom trigger elements via the `asChild` prop.\n *\n * @example\n * ```tsx\n * <Menu.Root>\n * <Menu.Trigger>Open Menu</Menu.Trigger>\n * <Menu.Content>...</Menu.Content>\n * </Menu.Root>\n * ```\n */\n Trigger: MenuTrigger,\n\n /**\n * # Menu.Content\n *\n * The popover container that displays menu items. Automatically positions\n * relative to the trigger and handles focus management.\n *\n * @example\n * ```tsx\n * <Menu.Root>\n * <Menu.Trigger>Options</Menu.Trigger>\n * <Menu.Content>\n * <Menu.Item id=\"save\">Save</Menu.Item>\n * <Menu.Item id=\"delete\">Delete</Menu.Item>\n * </Menu.Content>\n * </Menu.Root>\n * ```\n */\n Content: MenuContent,\n\n /**\n * # Menu.Item\n *\n * An individual menu item that can be selected. Supports icons, labels,\n * descriptions, keyboard shortcuts, and critical styling.\n *\n * @example\n * ```tsx\n * <Menu.Item id=\"delete\" isCritical>\n * <Icon slot=\"icon\"><Icons.Delete /></Icon>\n * <Text slot=\"label\">Delete</Text>\n * <Text slot=\"description\">Remove permanently</Text>\n * <Kbd slot=\"keyboard\">⌘⌫</Kbd>\n * </Menu.Item>\n * ```\n */\n Item: MenuItem,\n\n /**\n * # Menu.Section\n *\n * Groups related menu items with an optional label. Supports selection modes\n * for single or multiple selections within the section.\n *\n * @example\n * ```tsx\n * <Menu.Content>\n * <Menu.Section label=\"Edit Actions\">\n * <Menu.Item id=\"copy\">Copy</Menu.Item>\n * <Menu.Item id=\"paste\">Paste</Menu.Item>\n * </Menu.Section>\n * </Menu.Content>\n * ```\n */\n Section: MenuSection,\n\n /**\n * # Menu.Submenu\n *\n * A nested menu that appears when hovering over or selecting a submenu trigger.\n * Automatically positioned to the side of the parent menu.\n *\n * @example\n * ```tsx\n * <Menu.Item>\n * <Menu.SubmenuTrigger>\n * <Text slot=\"label\">More Options</Text>\n * </Menu.SubmenuTrigger>\n * <Menu.Submenu>\n * <Menu.Item id=\"option1\">Option 1</Menu.Item>\n * </Menu.Submenu>\n * </Menu.Item>\n * ```\n */\n Submenu: MenuSubmenu,\n\n /**\n * # Menu.SubmenuTrigger\n *\n * The trigger element for opening a submenu. Must be used within a Menu.Item\n * and paired with Menu.Submenu.\n *\n * @example\n * ```tsx\n * <Menu.Item>\n * <Menu.SubmenuTrigger>\n * <Text slot=\"label\">Export</Text>\n * </Menu.SubmenuTrigger>\n * <Menu.Submenu>\n * <Menu.Item id=\"pdf\">PDF</Menu.Item>\n * <Menu.Item id=\"csv\">CSV</Menu.Item>\n * </Menu.Submenu>\n * </Menu.Item>\n * ```\n */\n SubmenuTrigger: MenuSubmenuTrigger,\n};\n\n// Exports for internal use by react-docgen\nexport {\n MenuRoot as _MenuRoot,\n MenuTrigger as _MenuTrigger,\n MenuContent as _MenuContent,\n MenuItem as _MenuItem,\n MenuSection as _MenuSection,\n MenuSubmenuTrigger as _MenuSubmenuTrigger,\n MenuSubmenu as _MenuSubmenu,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","MenuRootSlot","MenuTriggerSlot","MenuPopoverSlot","MenuContentSlot","MenuItemSlot","MenuSectionSlot","MenuSectionLabelSlot","MenuContext","createContext","MenuProvider","useMenuContext","useContext","MenuRoot","props","recipe","useSlotRecipe","recipeProps","restRecipeProps","children","trigger","isOpen","defaultOpen","onOpenChange","restProps","styleProps","menuContextProps","extractStyleProps","jsx","RaMenuTrigger","MenuTrigger","asChild","ref","Button","MenuSectionContext","MenuSectionProvider","MenuContent","placementOverride","contextProps","placement","menuProps","finalPlacement","Popover","Menu","MenuItem","isCritical","RaMenuItem","hasSubmenu","jsxs","Fragment","Icon","ChevronRight","MenuSectionLabel","Header","MenuSection","label","items","selectionMode","selectedKeys","defaultSelectedKeys","onSelectionChange","disallowEmptySelection","otherProps","RaMenuSection","Collection","MenuSubmenuTrigger","RaSubmenuTrigger","MenuSubmenu"],"mappings":";;;;;;;;;;;AAaA,MAAM,EAAE,cAAAA,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,KAAK;AACP,CAAC,GAGYC,IACX,gBAAAH,EAAgD,OAAO,MAAM,GAGlDI,IAGT,gBAAAH,EAAqD,UAAU,SAAS,GAG/DI,IAGT,gBAAAJ,EAAkD,OAAO,SAAS,GAGzDK,IAGT,gBAAAL,EAAkD,OAAO,SAAS,GAGzDM,IACX,gBAAAN,EAA+C,OAAO,MAAM,GAGjDO,IAGT,gBAAAP,EAAkD,OAAO,SAAS,GAGzDQ,IAGT,gBAAAR;AAAA,EACF;AAAA,EACA;AACF,GC9CMS,IAAc,gBAAAC,EAA4C,MAAS,GAE5DC,IAAeF,EAAY,UAE3BG,IAAiB,MACZC,EAAWJ,CAAW,GCH3BK,IAAW,CAACC,MAAyB;AAChD,QAAMC,IAASC,EAAc,EAAE,KAAK,QAAQ,GACtC,CAACC,GAAaC,CAAe,IAAIH,EAAO,kBAAkBD,CAAK,GAG/D,EAAE,UAAAK,GAAU,SAAAC,GAAS,QAAAC,GAAQ,aAAAC,GAAa,cAAAC,GAAc,GAAGC,MAC/DN,GAEI,CAACO,GAAYC,CAAgB,IAAIC,EAAkBH,CAAS;AASlE,2BACGvB,GAAA,EAAc,GAAGgB,GAAc,GAAGQ,GAAY,SAAO,IACpD,UAAA,gBAAAG,EAACC,GAAA,EAAe,GATK;AAAA,IACvB,SAAAT;A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AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBN,SAASiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmBT,SAASM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkBT,MAAMQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkBN,SAASU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAoBT,SAASa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBT,gBAAgBF;AAClB;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),u=require("./Dialog-Ye_7tQZU.cjs.js"),N=require("@chakra-ui/react"),h=require("react"),w=require("./CollectionBuilder-BipvtvSl.cjs.js"),a=require("./extract-style-props-BilMyFTD.cjs.js"),F=require("./Header-Bvl-gjeR.cjs.js"),K=require("@commercetools/nimbus-icons"),L=require("./icon-D39U--jA.cjs.js"),E=require("./Button-DLCecw8f.cjs.js"),O=require("@chakra-ui/react/styled-system"),{withProvider:k,withContext:l}=N.createSlotRecipeContext({key:"menu"}),B=k("div","root"),f=l("button","trigger"),D=l("div","popover"),H=l("div","content"),V=l("div","item"),W=l("div","section"),z=l("div","sectionLabel"),v=h.createContext(void 0),A=v.Provider,R=()=>h.useContext(v),P=t=>{const n=O.useSlotRecipe({key:"menu"}),[s,r]=n.splitVariantProps(t),{children:c,trigger:o,isOpen:i,defaultOpen:p,onOpenChange:x,...b}=r,[M,S]=a.extractStyleProps(b),m={trigger:o,isOpen:i,defaultOpen:p,onOpenChange:x};return e.jsx(B,{...s,...M,asChild:!0,children:e.jsx(u.$3674c52c6b3c5bce$export$27d2ad3c5815583e,{...m,children:e.jsx(A,{value:S,children:c})})})};P.displayName="Menu.Root";const g=({children:t,asChild:n,ref:s,...r})=>{const[c,o]=a.extractStyleProps(r);return n?e.jsx(f,{ref:s,asChild:!0,...c,children:t}):e.jsx(f,{asChild:!0,...c,children:e.jsx(E.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{ref:s,...o,children:t})})};g.displayName="Menu.Trigger";const G=h.createContext(void 0),q=G.Provider,d=({children:t,placement:n,ref:s})=>{const r=R();if(!r)throw new Error("Menu.Content must be used within Menu.Root");const{placement:c,...o}=r,i=n||c||"bottom start";return e.jsx(q,{value:{selectionMode:o.selectionMode},children:e.jsx(D,{asChild:!0,children:e.jsx(u.$07b14b47974efb58$export$5b6b19405a83ff9d,{placement:i,offset:4,shouldFlip:!0,children:e.jsx(H,{asChild:!0,children:e.jsx(u.$3674c52c6b3c5bce$export$d9b273488cd8ce6f,{ref:s,shouldFocusWrap:!0,autoFocus:"first",...o,children:t})})})})})};d.displayName="Menu.Content";const y=({children:t,isCritical:n,ref:s,...r})=>{const[c,o]=a.extractStyleProps(r);return e.jsx(V,{asChild:!0,...c,"data-critical":n?"":void 0,children:e.jsx(u.$3674c52c6b3c5bce$export$2ce376c2cc3355c8,{ref:s,...o,children:({hasSubmenu:i})=>e.jsxs(e.Fragment,{children:[t,i&&e.jsx(L.Icon,{slot:"caretIcon",children:e.jsx(K.ChevronRight,{})})]})})})};y.displayName="Menu.Item";const T=({children:t,ref:n,...s})=>{const[r,c]=a.extractStyleProps(s);return e.jsx(z,{asChild:!0,...r,children:e.jsx(F.$72a5793c14baf454$export$8b251419efc915eb,{ref:n,...c,children:t})})};T.displayName="Menu.SectionLabel";const $=({children:t,ref:n,label:s,items:r,...c})=>{const o=R(),{selectionMode:i=o?.selectionMode,selectedKeys:p=o?.selectedKeys,defaultSelectedKeys:x=o?.defaultSelectedKeys,onSelectionChange:b=o?.onSelectionChange,disallowEmptySelection:M=o?.disallowEmptySelection,...S}=c,[m,I]=a.extractStyleProps(S);return e.jsx(q,{value:{selectionMode:i},children:e.jsx(W,{asChild:!0,...m,children:e.jsxs(u.$3674c52c6b3c5bce$export$4b1545b4f2016d26,{ref:n,selectionMode:i,selectedKeys:p,defaultSelectedKeys:x,onSelectionChange:b,disallowEmptySelection:M,...I,children:[e.jsx(T,{children:s}),r?e.jsx(w.$e1995378a142960e$export$fb8073518f34e6ec,{items:r,children:t}):t]})})})};$.displayName="Menu.Section";const C=({children:t,...n})=>e.jsx(u.$3674c52c6b3c5bce$export$ecabc99eeffab7ca,{...n,children:t});C.displayName="Menu.SubmenuTrigger";const j=({children:t,...n})=>e.jsx(d,{...n,placement:"end",children:t});j.displayName="Menu.Submenu";const J={Root:P,Trigger:g,Content:d,Item:y,Section:$,Submenu:j,SubmenuTrigger:C};exports.Menu=J;exports.MenuContent=d;exports.MenuItem=y;exports.MenuRoot=P;exports.MenuSection=$;exports.MenuSubmenu=j;exports.MenuSubmenuTrigger=C;exports.MenuTrigger=g;
|
|
2
|
+
//# sourceMappingURL=menu-Vj3cVc_v.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-Vj3cVc_v.cjs.js","sources":["../../src/components/menu/menu.slots.tsx","../../src/components/menu/components/menu.context.tsx","../../src/components/menu/components/menu.root.tsx","../../src/components/menu/components/menu.trigger.tsx","../../src/components/menu/components/menu.section-context.tsx","../../src/components/menu/components/menu.content.tsx","../../src/components/menu/components/menu.item.tsx","../../src/components/menu/components/menu.section-label.tsx","../../src/components/menu/components/menu.section.tsx","../../src/components/menu/components/menu.submenu-trigger.tsx","../../src/components/menu/components/menu.submenu.tsx","../../src/components/menu/menu.tsx"],"sourcesContent":["import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type {\n MenuRootSlotProps,\n MenuTriggerSlotProps,\n MenuPopoverSlotProps,\n MenuContentSlotProps,\n MenuItemSlotProps,\n MenuSectionSlotProps,\n MenuSectionLabelSlotProps,\n MenuSubmenuSlotProps,\n} from \"./menu.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"menu\",\n});\n\n// Menu Root\nexport const MenuRootSlot: SlotComponent<HTMLDivElement, MenuRootSlotProps> =\n withProvider<HTMLDivElement, MenuRootSlotProps>(\"div\", \"root\");\n\n// Menu Trigger\nexport const MenuTriggerSlot: SlotComponent<\n HTMLButtonElement,\n MenuTriggerSlotProps\n> = withContext<HTMLButtonElement, MenuTriggerSlotProps>(\"button\", \"trigger\");\n\n// Menu Popover\nexport const MenuPopoverSlot: SlotComponent<\n HTMLDivElement,\n MenuPopoverSlotProps\n> = withContext<HTMLDivElement, MenuPopoverSlotProps>(\"div\", \"popover\");\n\n// Menu Content\nexport const MenuContentSlot: SlotComponent<\n HTMLDivElement,\n MenuContentSlotProps\n> = withContext<HTMLDivElement, MenuContentSlotProps>(\"div\", \"content\");\n\n// Menu Item\nexport const MenuItemSlot: SlotComponent<HTMLDivElement, MenuItemSlotProps> =\n withContext<HTMLDivElement, MenuItemSlotProps>(\"div\", \"item\");\n\n// Menu Section\nexport const MenuSectionSlot: SlotComponent<\n HTMLDivElement,\n MenuSectionSlotProps\n> = withContext<HTMLDivElement, MenuSectionSlotProps>(\"div\", \"section\");\n\n// Menu Section Label\nexport const MenuSectionLabelSlot: SlotComponent<\n HTMLDivElement,\n MenuSectionLabelSlotProps\n> = withContext<HTMLDivElement, MenuSectionLabelSlotProps>(\n \"div\",\n \"sectionLabel\"\n);\n\n// Menu Group Label\nexport const MenuSubmenuSlot: SlotComponent<\n HTMLDivElement,\n MenuSubmenuSlotProps\n> = withContext<HTMLDivElement, MenuSubmenuSlotProps>(\"div\", \"submenu\");\n","import { createContext, useContext } from \"react\";\nimport type { MenuRootProps } from \"./../menu.types\";\nimport type { MenuTriggerProps as RaMenuTriggerProps } from \"react-aria-components\";\n\n// Context should contain all Menu props (excluding MenuTrigger-specific props)\nexport type MenuContextValue = Omit<\n MenuRootProps,\n keyof RaMenuTriggerProps | \"children\" | \"trigger\"\n>;\n\nconst MenuContext = createContext<MenuContextValue | undefined>(undefined);\n\nexport const MenuProvider = MenuContext.Provider;\n\nexport const useMenuContext = () => {\n const context = useContext(MenuContext);\n return context;\n};\n","import { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { MenuTrigger as RaMenuTrigger } from \"react-aria-components\";\nimport type { MenuRootProps } from \"../menu.types\";\nimport { MenuRootSlot } from \"../menu.slots\";\nimport { MenuProvider } from \"./menu.context\";\nimport { extractStyleProps } from \"@/utils\";\n\n/**\n * Menu.Root - Container component that provides configuration and state management\n *\n * @supportsStyleProps\n */\nexport const MenuRoot = (props: MenuRootProps) => {\n const recipe = useSlotRecipe({ key: \"menu\" });\n const [recipeProps, restRecipeProps] = recipe.splitVariantProps(props);\n\n // Separate MenuTrigger props and functional props from style props\n const { children, trigger, isOpen, defaultOpen, onOpenChange, ...restProps } =\n restRecipeProps;\n\n const [styleProps, menuContextProps] = extractStyleProps(restProps);\n\n const menuTriggerProps = {\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n };\n\n return (\n <MenuRootSlot {...recipeProps} {...styleProps} asChild>\n <RaMenuTrigger {...menuTriggerProps}>\n <MenuProvider value={menuContextProps}>{children}</MenuProvider>\n </RaMenuTrigger>\n </MenuRootSlot>\n );\n};\n\nMenuRoot.displayName = \"Menu.Root\";\n","import {\n Button,\n type MenuTriggerProps as RaMenuTriggerProps,\n} from \"react-aria-components\";\nimport { MenuTriggerSlot } from \"../menu.slots\";\nimport type { MenuTriggerProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport type {} from \"react\";\n\n/**\n * Menu.Trigger - The button or element that opens the menu when activated\n *\n * @supportsStyleProps\n */\nexport const MenuTrigger = ({\n children,\n asChild,\n ref,\n ...props\n}: MenuTriggerProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n /**\n * The user supplied a Button as the trigger\n */\n if (asChild) {\n // When asChild is true, apply styles to the child element\n return (\n <MenuTriggerSlot ref={ref} asChild {...styleProps}>\n {children as RaMenuTriggerProps[\"children\"]}\n </MenuTriggerSlot>\n );\n }\n\n /**\n * The user did not supply a Button as trigger, use an unstyled button\n * to wrap which ever element the user supplied and make it a trigger\n */\n return (\n <MenuTriggerSlot asChild {...styleProps}>\n <Button ref={ref} {...restProps}>\n {children}\n </Button>\n </MenuTriggerSlot>\n );\n};\n\nMenuTrigger.displayName = \"Menu.Trigger\";\n","import { createContext, useContext } from \"react\";\n\nexport type MenuSectionContextValue = {\n selectionMode?: \"single\" | \"multiple\" | \"none\";\n};\n/**\n * Why is a second context (MenuSectionContext) needed?\n *\n * MenuSectionContext enables section-level config for menu items, such as\n * selection mode, which may differ from the global menu context. This allows\n * advanced menus where each section can have its own selection behavior\n * (e.g., one section is single-select, another is multi-select).\n * By scoping context to a section, menu items inherit settings from their\n * nearest section, falling back to the global menu context if not present.\n * This pattern improves flexibility and composability for complex menus,\n * and avoids prop drilling or awkward prop merging.\n */\n\nconst MenuSectionContext = createContext<MenuSectionContextValue | undefined>(\n undefined\n);\n\nexport const MenuSectionProvider = MenuSectionContext.Provider;\n\nexport const useMenuSectionContext = () => {\n return useContext(MenuSectionContext);\n};\n","import { Menu, Popover } from \"react-aria-components\";\nimport { MenuContentSlot, MenuPopoverSlot } from \"../menu.slots\";\nimport type { MenuContentProps } from \"../menu.types\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\n\n/**\n * Menu.Content - The popover container that displays menu items\n *\n * @supportsStyleProps\n */\nexport const MenuContent = ({\n children,\n placement: placementOverride,\n ref,\n}: MenuContentProps) => {\n const contextProps = useMenuContext();\n\n if (!contextProps) {\n throw new Error(\"Menu.Content must be used within Menu.Root\");\n }\n\n // Separate placement from other props since it's handled by Popover\n const { placement, ...menuProps } = contextProps;\n const finalPlacement = placementOverride || placement || \"bottom start\";\n\n return (\n <MenuSectionProvider value={{ selectionMode: menuProps.selectionMode }}>\n <MenuPopoverSlot asChild>\n <Popover placement={finalPlacement} offset={4} shouldFlip>\n <MenuContentSlot asChild>\n <Menu ref={ref} shouldFocusWrap autoFocus=\"first\" {...menuProps}>\n {children}\n </Menu>\n </MenuContentSlot>\n </Popover>\n </MenuPopoverSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuContent.displayName = \"Menu.Content\";\n","import { MenuItem as RaMenuItem } from \"react-aria-components\";\nimport { MenuItemSlot } from \"../menu.slots\";\nimport type { MenuItemProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { ChevronRight } from \"@commercetools/nimbus-icons\";\nimport { Icon } from \"@/components/icon\";\n\n/**\n * Menu.Item - An individual menu item that can be selected\n *\n * @supportsStyleProps\n */\nexport const MenuItem = ({\n children,\n isCritical,\n ref,\n ...props\n}: MenuItemProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuItemSlot\n asChild\n {...styleProps}\n data-critical={isCritical ? \"\" : undefined}\n >\n <RaMenuItem ref={ref} {...restProps}>\n {({ hasSubmenu }) => (\n <>\n {children}\n {hasSubmenu && (\n <Icon slot=\"caretIcon\">\n <ChevronRight />\n </Icon>\n )}\n </>\n )}\n </RaMenuItem>\n </MenuItemSlot>\n );\n};\n\nMenuItem.displayName = \"Menu.Item\";\n","import { Header } from \"react-aria-components\";\nimport { MenuSectionLabelSlot } from \"../menu.slots\";\nimport type { MenuSectionLabelProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils\";\n\n/**\n * Menu.SectionLabel - Used in MenuSection for rendering the `label` property\n *\n * @supportsStyleProps\n */\nexport const MenuSectionLabel = ({\n children,\n ref,\n ...props\n}: MenuSectionLabelProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSectionLabelSlot asChild {...styleProps}>\n <Header ref={ref} {...restProps}>\n {children}\n </Header>\n </MenuSectionLabelSlot>\n );\n};\n\nMenuSectionLabel.displayName = \"Menu.SectionLabel\";\n","import {\n MenuSection as RaMenuSection,\n Collection,\n} from \"react-aria-components\";\nimport { MenuSectionSlot } from \"../menu.slots\";\nimport type { MenuSectionProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\nimport { MenuSectionLabel } from \"./menu.section-label\";\nimport type { ReactNode } from \"react\";\n\n/**\n * Menu.Section - Groups related menu items with an optional label\n *\n * @supportsStyleProps\n */\nexport const MenuSection = <T extends object = object>({\n children,\n ref,\n label,\n items,\n ...props\n}: MenuSectionProps<T>) => {\n const contextProps = useMenuContext();\n\n // Extract selection-related props before extracting style props\n const {\n selectionMode = contextProps?.selectionMode,\n selectedKeys = contextProps?.selectedKeys,\n defaultSelectedKeys = contextProps?.defaultSelectedKeys,\n onSelectionChange = contextProps?.onSelectionChange,\n disallowEmptySelection = contextProps?.disallowEmptySelection,\n ...restProps\n } = props;\n\n const [styleProps, otherProps] = extractStyleProps(restProps);\n\n return (\n <MenuSectionProvider value={{ selectionMode }}>\n <MenuSectionSlot asChild {...styleProps}>\n <RaMenuSection\n ref={ref}\n selectionMode={selectionMode}\n selectedKeys={selectedKeys}\n defaultSelectedKeys={defaultSelectedKeys}\n onSelectionChange={onSelectionChange}\n disallowEmptySelection={disallowEmptySelection}\n {...otherProps}\n >\n <MenuSectionLabel>{label}</MenuSectionLabel>\n {items ? (\n <Collection items={items}>{children}</Collection>\n ) : (\n (children as ReactNode)\n )}\n </RaMenuSection>\n </MenuSectionSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuSection.displayName = \"Menu.Section\";\n","import { SubmenuTrigger as RaSubmenuTrigger } from \"react-aria-components\";\nimport type { MenuSubmenuTriggerProps } from \"../menu.types\";\n\n/**\n * Menu.SubmenuTrigger - The trigger element for opening a submenu\n *\n * @supportsStyleProps\n */\nexport const MenuSubmenuTrigger = ({\n children,\n ...props\n}: MenuSubmenuTriggerProps) => {\n return <RaSubmenuTrigger {...props}>{children}</RaSubmenuTrigger>;\n};\n\nMenuSubmenuTrigger.displayName = \"Menu.SubmenuTrigger\";\n","import type { MenuSubmenuProps } from \"../menu.types\";\nimport { MenuContent } from \"./menu.content\";\n\n/**\n * Menu.Submenu - A nested menu that appears when hovering over or selecting a submenu trigger\n *\n * @supportsStyleProps\n */\nexport const MenuSubmenu = ({ children, ...props }: MenuSubmenuProps) => {\n return (\n <MenuContent {...props} placement=\"end\">\n {children}\n </MenuContent>\n );\n};\n\nMenuSubmenu.displayName = \"Menu.Submenu\";\n","import {\n MenuRoot,\n MenuTrigger,\n MenuContent,\n MenuItem,\n MenuSection,\n MenuSubmenuTrigger,\n MenuSubmenu,\n} from \"./components\";\n\nexport const Menu = {\n /**\n * # Menu.Root\n *\n * The root container component that provides configuration and state management\n * for the entire menu. Wraps MenuTrigger and handles open/close state.\n *\n * @example\n * ```tsx\n * <Menu.Root onAction={(key) => console.log(key)}>\n * <Menu.Trigger>Options</Menu.Trigger>\n * <Menu.Content>\n * <Menu.Item id=\"edit\">Edit</Menu.Item>\n * </Menu.Content>\n * </Menu.Root>\n * ```\n */\n Root: MenuRoot,\n\n /**\n * # Menu.Trigger\n *\n * The button or element that opens the menu when activated.\n * Supports custom trigger elements via the `asChild` prop.\n *\n * @example\n * ```tsx\n * <Menu.Root>\n * <Menu.Trigger>Open Menu</Menu.Trigger>\n * <Menu.Content>...</Menu.Content>\n * </Menu.Root>\n * ```\n */\n Trigger: MenuTrigger,\n\n /**\n * # Menu.Content\n *\n * The popover container that displays menu items. Automatically positions\n * relative to the trigger and handles focus management.\n *\n * @example\n * ```tsx\n * <Menu.Root>\n * <Menu.Trigger>Options</Menu.Trigger>\n * <Menu.Content>\n * <Menu.Item id=\"save\">Save</Menu.Item>\n * <Menu.Item id=\"delete\">Delete</Menu.Item>\n * </Menu.Content>\n * </Menu.Root>\n * ```\n */\n Content: MenuContent,\n\n /**\n * # Menu.Item\n *\n * An individual menu item that can be selected. Supports icons, labels,\n * descriptions, keyboard shortcuts, and critical styling.\n *\n * @example\n * ```tsx\n * <Menu.Item id=\"delete\" isCritical>\n * <Icon slot=\"icon\"><Icons.Delete /></Icon>\n * <Text slot=\"label\">Delete</Text>\n * <Text slot=\"description\">Remove permanently</Text>\n * <Kbd slot=\"keyboard\">⌘⌫</Kbd>\n * </Menu.Item>\n * ```\n */\n Item: MenuItem,\n\n /**\n * # Menu.Section\n *\n * Groups related menu items with an optional label. Supports selection modes\n * for single or multiple selections within the section.\n *\n * @example\n * ```tsx\n * <Menu.Content>\n * <Menu.Section label=\"Edit Actions\">\n * <Menu.Item id=\"copy\">Copy</Menu.Item>\n * <Menu.Item id=\"paste\">Paste</Menu.Item>\n * </Menu.Section>\n * </Menu.Content>\n * ```\n */\n Section: MenuSection,\n\n /**\n * # Menu.Submenu\n *\n * A nested menu that appears when hovering over or selecting a submenu trigger.\n * Automatically positioned to the side of the parent menu.\n *\n * @example\n * ```tsx\n * <Menu.Item>\n * <Menu.SubmenuTrigger>\n * <Text slot=\"label\">More Options</Text>\n * </Menu.SubmenuTrigger>\n * <Menu.Submenu>\n * <Menu.Item id=\"option1\">Option 1</Menu.Item>\n * </Menu.Submenu>\n * </Menu.Item>\n * ```\n */\n Submenu: MenuSubmenu,\n\n /**\n * # Menu.SubmenuTrigger\n *\n * The trigger element for opening a submenu. Must be used within a Menu.Item\n * and paired with Menu.Submenu.\n *\n * @example\n * ```tsx\n * <Menu.Item>\n * <Menu.SubmenuTrigger>\n * <Text slot=\"label\">Export</Text>\n * </Menu.SubmenuTrigger>\n * <Menu.Submenu>\n * <Menu.Item id=\"pdf\">PDF</Menu.Item>\n * <Menu.Item id=\"csv\">CSV</Menu.Item>\n * </Menu.Submenu>\n * </Menu.Item>\n * ```\n */\n SubmenuTrigger: MenuSubmenuTrigger,\n};\n\n// Exports for internal use by react-docgen\nexport {\n MenuRoot as _MenuRoot,\n MenuTrigger as _MenuTrigger,\n MenuContent as _MenuContent,\n MenuItem as _MenuItem,\n MenuSection as _MenuSection,\n MenuSubmenuTrigger as _MenuSubmenuTrigger,\n MenuSubmenu as _MenuSubmenu,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","MenuRootSlot","MenuTriggerSlot","MenuPopoverSlot","MenuContentSlot","MenuItemSlot","MenuSectionSlot","MenuSectionLabelSlot","MenuContext","createContext","MenuProvider","useMenuContext","useContext","MenuRoot","props","recipe","useSlotRecipe","recipeProps","restRecipeProps","children","trigger","isOpen","defaultOpen","onOpenChange","restProps","styleProps","menuContextProps","extractStyleProps","menuTriggerProps","jsx","RaMenuTrigger","MenuTrigger","asChild","ref","Button","MenuSectionContext","MenuSectionProvider","MenuContent","placementOverride","contextProps","placement","menuProps","finalPlacement","Popover","Menu","MenuItem","isCritical","RaMenuItem","hasSubmenu","jsxs","Fragment","Icon","ChevronRight","MenuSectionLabel","Header","MenuSection","label","items","selectionMode","selectedKeys","defaultSelectedKeys","onSelectionChange","disallowEmptySelection","otherProps","RaMenuSection","Collection","MenuSubmenuTrigger","RaSubmenuTrigger","MenuSubmenu"],"mappings":"kbAaM,CAAE,aAAAA,EAAc,YAAAC,CAAA,EAAgBC,0BAAwB,CAC5D,IAAK,MACP,CAAC,EAGYC,EACXH,EAAgD,MAAO,MAAM,EAGlDI,EAGTH,EAAqD,SAAU,SAAS,EAG/DI,EAGTJ,EAAkD,MAAO,SAAS,EAGzDK,EAGTL,EAAkD,MAAO,SAAS,EAGzDM,EACXN,EAA+C,MAAO,MAAM,EAGjDO,EAGTP,EAAkD,MAAO,SAAS,EAGzDQ,EAGTR,EACF,MACA,cACF,EC9CMS,EAAcC,EAAAA,cAA4C,MAAS,EAE5DC,EAAeF,EAAY,SAE3BG,EA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GvB,EAAO,UAAU,MAC/B,SAAAK,EACH,EAIJiD,EAAY,YAAc,eCNnB,MAAMxB,EAAO,CAiBlB,KAAM/B,EAgBN,QAASkB,EAmBT,QAASM,EAkBT,KAAMQ,EAkBN,QAASU,EAoBT,QAASa,EAqBT,eAAgBF,CAClB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const l=require("react"),y=require("./SSRProvider-DZRLwxPS.cjs.js"),i=typeof document<"u"?l.useLayoutEffect:()=>{};var d;const x=(d=l.useInsertionEffect)!==null&&d!==void 0?d:i;function $(r){const e=l.useRef(null);return x(()=>{e.current=r},[r]),l.useCallback((...n)=>{const t=e.current;return t?.(...n)},[])}function v(r){let[e,n]=l.useState(r),t=l.useRef(null),f=$(()=>{if(!t.current)return;let c=t.current.next();if(c.done){t.current=null;return}e===c.value?f():n(c.value)});i(()=>{t.current&&f()});let u=$(c=>{t.current=c(e),f()});return[e,u]}let g=!!(typeof window<"u"&&window.document&&window.document.createElement),o=new Map,a;typeof FinalizationRegistry<"u"&&(a=new FinalizationRegistry(r=>{o.delete(r)}));function s(r){let[e,n]=l.useState(r),t=l.useRef(null),f=y.$b5e257d569688ac6$export$619500959fc48b26(e),u=l.useRef(null);if(a&&a.register(u,f),g){const c=o.get(f);c&&!c.includes(t)?c.push(t):o.set(f,[t])}return i(()=>{let c=f;return()=>{a&&a.unregister(u),o.delete(c)}},[f]),l.useEffect(()=>{let c=t.current;return c&&n(c),()=>{c&&(t.current=null)}}),f}function R(r,e){if(r===e)return r;let n=o.get(r);if(n)return n.forEach(f=>f.current=e),e;let t=o.get(e);return t?(t.forEach(f=>f.current=r),r):e}function m(r=[]){let e=s(),[n,t]=v(e),f=l.useCallback(()=>{t(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,t]);return i(f,[e,f,...r]),n}function b(...r){return(...e)=>{for(let n of r)typeof n=="function"&&n(...e)}}function p(r){var e,n,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var f=r.length;for(e=0;e<f;e++)r[e]&&(n=p(r[e]))&&(t&&(t+=" "),t+=n)}else for(n in r)r[n]&&(t&&(t+=" "),t+=n);return t}function E(){for(var r,e,n=0,t="",f=arguments.length;n<f;n++)(r=arguments[n])&&(e=p(r))&&(t&&(t+=" "),t+=e);return t}function I(...r){let e={...r[0]};for(let n=1;n<r.length;n++){let t=r[n];for(let f in t){let u=e[f],c=t[f];typeof u=="function"&&typeof c=="function"&&f[0]==="o"&&f[1]==="n"&&f.charCodeAt(2)>=65&&f.charCodeAt(2)<=90?e[f]=b(u,c):(f==="className"||f==="UNSAFE_className")&&typeof u=="string"&&typeof c=="string"?e[f]=E(u,c):f==="id"&&u&&c?e.id=R(u,c):e[f]=c!==void 0?c:u}}return e}exports.$3ef42575df84b30b$export$9d1611c77c2fe928=I;exports.$8ae05eaa5c114e9c$export$7f54fc3180508a52=$;exports.$bdb11010cef70236$export$b4cc09c592e8fdb8=m;exports.$bdb11010cef70236$export$f680877a34711e37=s;exports.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c=i;exports.$ff5963eb1fccf552$export$e08e3b67e392101e=b;
|
|
2
|
+
//# sourceMappingURL=mergeProps-CxnHrnow.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mergeProps-CxnHrnow.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/useEffectEvent.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/useValueEffect.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/useId.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/chain.mjs","../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/mergeProps.mjs"],"sourcesContent":["import $HgANd$react from \"react\";\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 */ \nconst $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $HgANd$react).useLayoutEffect : ()=>{};\n\n\nexport {$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $lmaYr$react, {useRef as $lmaYr$useRef, useCallback as $lmaYr$useCallback} from \"react\";\n\n/*\n * Copyright 2023 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\nvar $8ae05eaa5c114e9c$var$_React_useInsertionEffect;\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (0, $lmaYr$react)['useInsertionEffect']) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);\nfunction $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {\n const ref = (0, $lmaYr$useRef)(null);\n $8ae05eaa5c114e9c$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $lmaYr$useCallback)((...args)=>{\n const f = ref.current;\n return f === null || f === void 0 ? void 0 : f(...args);\n }, []);\n}\n\n\nexport {$8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.module.js.map\n","import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $fCAlL$useState, useRef as $fCAlL$useRef} from \"react\";\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 $1dbecbe27a04f9af$export$14d238f342723f25(defaultValue) {\n let [value, setValue] = (0, $fCAlL$useState)(defaultValue);\n let effect = (0, $fCAlL$useRef)(null);\n // Store the function in a ref so we can always access the current version\n // which has the proper `value` in scope.\n let nextRef = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(()=>{\n if (!effect.current) return;\n // Run the generator to the next yield.\n let newValue = effect.current.next();\n // If the generator is done, reset the effect.\n if (newValue.done) {\n effect.current = null;\n return;\n }\n // If the value is the same as the current value,\n // then continue to the next yield. Otherwise,\n // set the value in state and wait for the next layout effect.\n if (value === newValue.value) nextRef();\n else setValue(newValue.value);\n });\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n // If there is an effect currently running, continue to the next yield.\n if (effect.current) nextRef();\n });\n let queue = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)((fn)=>{\n effect.current = fn(value);\n nextRef();\n });\n return [\n value,\n queue\n ];\n}\n\n\nexport {$1dbecbe27a04f9af$export$14d238f342723f25 as useValueEffect};\n//# sourceMappingURL=useValueEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $eKkEp$useState, useRef as $eKkEp$useRef, useEffect as $eKkEp$useEffect, useCallback as $eKkEp$useCallback} from \"react\";\nimport {useSSRSafeId as $eKkEp$useSSRSafeId} from \"@react-aria/ssr\";\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\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $bdb11010cef70236$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $bdb11010cef70236$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue)=>{\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $bdb11010cef70236$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $eKkEp$useState)(defaultId);\n let nextId = (0, $eKkEp$useRef)(null);\n let res = (0, $eKkEp$useSSRSafeId)(value);\n let cleanupRef = (0, $eKkEp$useRef)(null);\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);\n if ($bdb11010cef70236$var$canUseDOM) {\n const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $eKkEp$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $bdb11010cef70236$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1dbecbe27a04f9af$export$14d238f342723f25)(id);\n let updateId = (0, $eKkEp$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$bdb11010cef70236$export$d41a04c74483c6ef as idsUpdaterMap, $bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.module.js.map\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 * Calls all functions in the order they were chained with the same arguments.\n */ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$ff5963eb1fccf552$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.module.js.map\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","import {chain as $ff5963eb1fccf552$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $bdb11010cef70236$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport $7jXr9$clsx from \"clsx\";\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\n\nfunction $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $7jXr9$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $bdb11010cef70236$export$cd8c9cb68f842629)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$3ef42575df84b30b$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.module.js.map\n"],"names":["$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$HgANd$react","$8ae05eaa5c114e9c$var$_React_useInsertionEffect","$8ae05eaa5c114e9c$var$useEarlyEffect","$lmaYr$react","$8ae05eaa5c114e9c$export$7f54fc3180508a52","fn","ref","$lmaYr$useRef","$lmaYr$useCallback","args","f","$1dbecbe27a04f9af$export$14d238f342723f25","defaultValue","value","setValue","$fCAlL$useState","effect","$fCAlL$useRef","nextRef","newValue","queue","$bdb11010cef70236$var$canUseDOM","$bdb11010cef70236$export$d41a04c74483c6ef","$bdb11010cef70236$var$registry","heldValue","$bdb11010cef70236$export$f680877a34711e37","defaultId","$eKkEp$useState","nextId","$eKkEp$useRef","res","$eKkEp$useSSRSafeId","cleanupRef","cacheIdRef","r","$eKkEp$useEffect","newId","$bdb11010cef70236$export$cd8c9cb68f842629","idA","idB","setIdsA","setIdsB","$bdb11010cef70236$export$b4cc09c592e8fdb8","depArray","id","resolvedId","setResolvedId","updateId","$eKkEp$useCallback","$ff5963eb1fccf552$export$e08e3b67e392101e","callbacks","callback","e","t","n","o","clsx","$3ef42575df84b30b$export$9d1611c77c2fe928","result","i","props","key","a","b","$7jXr9$clsx"],"mappings":"iFAaMA,EAA4C,OAAO,SAAa,IAAkBC,EAAc,gBAAkB,IAAI,CAAC,ECE7H,IAAIC,EAGJ,MAAMC,GAAwCD,EAAsDE,EAAc,sBAA2B,MAAQF,IAAoD,OAASA,EAAsDF,EACxQ,SAASK,EAA0CC,EAAI,CACnD,MAAMC,EAAUC,EAAAA,OAAe,IAAI,EACnC,OAAAL,EAAqC,IAAI,CACrCI,EAAI,QAAUD,CAClB,EAAG,CACCA,CACR,CAAK,EAEUG,EAAAA,YAAoB,IAAIC,IAAO,CACtC,MAAMC,EAAIJ,EAAI,QACd,OAA6CI,IAAE,GAAGD,CAAI,CAC1D,EAAG,CAAA,CAAE,CACT,CCfA,SAASE,EAA0CC,E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