@commercetools/nimbus 1.0.1 → 2.0.1-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -1
- package/dist/accordion.d.ts +84 -122
- package/dist/alert.d.ts +70 -82
- package/dist/avatar.d.ts +24 -40
- package/dist/badge.d.ts +22 -75
- package/dist/box.d.ts +2 -2
- package/dist/button.d.ts +32 -22
- package/dist/calendar.d.ts +21 -13
- package/dist/card.d.ts +34 -96
- package/dist/checkbox.d.ts +21 -45
- package/dist/chunks/Button-CFZnLKVR.cjs.js +2 -0
- package/dist/chunks/Button-CFZnLKVR.cjs.js.map +1 -0
- package/dist/chunks/Button-CrgZzRm9.es.js +79 -0
- package/dist/chunks/Button-CrgZzRm9.es.js.map +1 -0
- package/dist/chunks/CollectionBuilder-BiEelELF.cjs.js +18 -0
- package/dist/chunks/CollectionBuilder-BiEelELF.cjs.js.map +1 -0
- package/dist/chunks/CollectionBuilder-Wz-mnWjQ.es.js +677 -0
- package/dist/chunks/CollectionBuilder-Wz-mnWjQ.es.js.map +1 -0
- package/dist/chunks/DateField-CDTSjqvQ.cjs.js +2 -0
- package/dist/chunks/DateField-CDTSjqvQ.cjs.js.map +1 -0
- package/dist/chunks/DateField-qGypjFaJ.es.js +2691 -0
- package/dist/chunks/DateField-qGypjFaJ.es.js.map +1 -0
- package/dist/chunks/DatePicker-DCjrqg4Q.cjs.js +2 -0
- package/dist/chunks/DatePicker-DCjrqg4Q.cjs.js.map +1 -0
- package/dist/chunks/DatePicker-Dn0LNd7V.es.js +786 -0
- package/dist/chunks/DatePicker-Dn0LNd7V.es.js.map +1 -0
- package/dist/chunks/Dialog-B2hCMJnM.es.js +1951 -0
- package/dist/chunks/Dialog-B2hCMJnM.es.js.map +1 -0
- package/dist/chunks/Dialog-XGXh4NXU.cjs.js +7 -0
- package/dist/chunks/Dialog-XGXh4NXU.cjs.js.map +1 -0
- package/dist/chunks/DragAndDrop-BXEtfOEa.es.js +76 -0
- package/dist/chunks/DragAndDrop-BXEtfOEa.es.js.map +1 -0
- package/dist/chunks/DragAndDrop-Cu1BgmHe.cjs.js +2 -0
- package/dist/chunks/DragAndDrop-Cu1BgmHe.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-BY2fddGq.es.js +625 -0
- package/dist/chunks/FocusScope-BY2fddGq.es.js.map +1 -0
- package/dist/chunks/FocusScope-vogC4IAT.cjs.js +2 -0
- package/dist/chunks/FocusScope-vogC4IAT.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-BBaUrRF9.es.js +47 -0
- package/dist/chunks/Group-BBaUrRF9.es.js.map +1 -0
- package/dist/chunks/Group-BX1EpD9E.cjs.js +2 -0
- package/dist/chunks/Group-BX1EpD9E.cjs.js.map +1 -0
- package/dist/chunks/Header-B4V0zxSN.es.js +59 -0
- package/dist/chunks/Header-B4V0zxSN.es.js.map +1 -0
- package/dist/chunks/Header-BmzdY2bW.cjs.js +2 -0
- package/dist/chunks/Header-BmzdY2bW.cjs.js.map +1 -0
- package/dist/chunks/Heading-CCs6OF_m.cjs.js +2 -0
- package/dist/chunks/Heading-CCs6OF_m.cjs.js.map +1 -0
- package/dist/chunks/Heading-CfiWDgRZ.es.js +1619 -0
- package/dist/chunks/Heading-CfiWDgRZ.es.js.map +1 -0
- package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
- package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
- package/dist/chunks/Input-Da2oLmEN.es.js +43 -0
- package/dist/chunks/Input-Da2oLmEN.es.js.map +1 -0
- package/dist/chunks/Input-_6sPm9s0.cjs.js +2 -0
- package/dist/chunks/Input-_6sPm9s0.cjs.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-BgrYyYXn.cjs.js.map +1 -1
- package/dist/chunks/Label-qcXzazih.es.js +17 -0
- package/dist/chunks/Label-qcXzazih.es.js.map +1 -0
- package/dist/chunks/ListBox-CFvXqaPX.cjs.js +2 -0
- package/dist/chunks/ListBox-CFvXqaPX.cjs.js.map +1 -0
- package/dist/chunks/ListBox-DAcVFwWW.es.js +493 -0
- package/dist/chunks/ListBox-DAcVFwWW.es.js.map +1 -0
- package/dist/chunks/ListKeyboardDelegate-CYRgZzU8.cjs.js +2 -0
- package/dist/chunks/ListKeyboardDelegate-CYRgZzU8.cjs.js.map +1 -0
- package/dist/chunks/ListKeyboardDelegate-D-k0fIME.es.js +159 -0
- package/dist/chunks/ListKeyboardDelegate-D-k0fIME.es.js.map +1 -0
- package/dist/chunks/Modal-CVOcKPNx.cjs.js +2 -0
- package/dist/chunks/Modal-CVOcKPNx.cjs.js.map +1 -0
- package/dist/chunks/Modal-D91zBjIP.es.js +197 -0
- package/dist/chunks/Modal-D91zBjIP.es.js.map +1 -0
- package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -1
- package/dist/chunks/OverlayArrow-CwYMJqgj.es.js +491 -0
- package/dist/chunks/OverlayArrow-CwYMJqgj.es.js.map +1 -0
- package/dist/chunks/ProgressBar-C9Y3C7_B.cjs.js +2 -0
- package/dist/chunks/ProgressBar-C9Y3C7_B.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-dYIUhB6B.es.js +42 -0
- package/dist/chunks/ProgressBar-dYIUhB6B.es.js.map +1 -0
- package/dist/chunks/RSPContexts-BdKenzIN.cjs.js +2 -0
- package/dist/chunks/RSPContexts-BdKenzIN.cjs.js.map +1 -0
- package/dist/chunks/RSPContexts-DV4cFLUV.es.js +9 -0
- package/dist/chunks/RSPContexts-DV4cFLUV.es.js.map +1 -0
- package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -1
- package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -1
- package/dist/chunks/SelectionIndicator-Cp3OYqg6.cjs.js +2 -0
- package/dist/chunks/SelectionIndicator-Cp3OYqg6.cjs.js.map +1 -0
- package/dist/chunks/SelectionIndicator-DopimabS.es.js +17 -0
- package/dist/chunks/SelectionIndicator-DopimabS.es.js.map +1 -0
- package/dist/chunks/SelectionManager-1rNaWE7D.cjs.js +2 -0
- package/dist/chunks/SelectionManager-1rNaWE7D.cjs.js.map +1 -0
- package/dist/chunks/SelectionManager-2q7N4psD.es.js +1132 -0
- package/dist/chunks/SelectionManager-2q7N4psD.es.js.map +1 -0
- package/dist/chunks/Separator-6J1KiDlQ.cjs.js +2 -0
- package/dist/chunks/Separator-6J1KiDlQ.cjs.js.map +1 -0
- package/dist/chunks/Separator-DyXjJGoH.es.js +55 -0
- package/dist/chunks/Separator-DyXjJGoH.es.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-DItoG16s.es.js +42 -0
- package/dist/chunks/TextArea-DItoG16s.es.js.map +1 -0
- package/dist/chunks/TextArea-Y5635aIM.cjs.js +2 -0
- package/dist/chunks/TextArea-Y5635aIM.cjs.js.map +1 -0
- package/dist/chunks/ToggleButton-1I5cetxI.cjs.js +2 -0
- package/dist/chunks/ToggleButton-1I5cetxI.cjs.js.map +1 -0
- package/dist/chunks/ToggleButton-Cj9AtHpY.es.js +150 -0
- package/dist/chunks/ToggleButton-Cj9AtHpY.es.js.map +1 -0
- package/dist/chunks/VisuallyHidden-C1WQXLCm.cjs.js +2 -0
- package/dist/chunks/VisuallyHidden-C1WQXLCm.cjs.js.map +1 -0
- package/dist/chunks/VisuallyHidden-Dxf1qswV.es.js +41 -0
- package/dist/chunks/VisuallyHidden-Dxf1qswV.es.js.map +1 -0
- package/dist/chunks/accordion-B2FLWAh5.cjs.js +2 -0
- package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -0
- package/dist/chunks/accordion-DSLccfDW.es.js +221 -0
- package/dist/chunks/accordion-DSLccfDW.es.js.map +1 -0
- package/dist/chunks/alert-CPHjPe4-.cjs.js +2 -0
- package/dist/chunks/alert-CPHjPe4-.cjs.js.map +1 -0
- package/dist/chunks/alert-Cz2mnKir.es.js +138 -0
- package/dist/chunks/alert-Cz2mnKir.es.js.map +1 -0
- package/dist/chunks/avatar-CTiSGVoD.es.js +40 -0
- package/dist/chunks/avatar-CTiSGVoD.es.js.map +1 -0
- package/dist/chunks/avatar-_o-uSXYy.cjs.js +2 -0
- package/dist/chunks/avatar-_o-uSXYy.cjs.js.map +1 -0
- package/dist/chunks/badge-Csn5glEd.es.js +17 -0
- package/dist/chunks/badge-Csn5glEd.es.js.map +1 -0
- package/dist/chunks/badge-mMpNb3Qj.cjs.js +2 -0
- package/dist/chunks/badge-mMpNb3Qj.cjs.js.map +1 -0
- package/dist/chunks/badge.recipe-Cu6u9yqC.cjs.js +2 -0
- package/dist/chunks/badge.recipe-Cu6u9yqC.cjs.js.map +1 -0
- package/dist/chunks/badge.recipe-DsV4A_UD.es.js +68 -0
- package/dist/chunks/badge.recipe-DsV4A_UD.es.js.map +1 -0
- package/dist/chunks/box-CWni3A32.cjs.js.map +1 -1
- package/dist/chunks/box-DuBoAZvq.es.js.map +1 -1
- package/dist/chunks/button-B5OOW-2z.cjs.js +2 -0
- package/dist/chunks/button-B5OOW-2z.cjs.js.map +1 -0
- package/dist/chunks/button-Cnui897Z.es.js +62 -0
- package/dist/chunks/button-Cnui897Z.es.js.map +1 -0
- package/dist/chunks/calendar-BTdHdh7y.es.js +187 -0
- package/dist/chunks/calendar-BTdHdh7y.es.js.map +1 -0
- package/dist/chunks/calendar-V0KeNCQ3.cjs.js +2 -0
- package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +1 -0
- package/dist/chunks/card-BB_1xrND.es.js +78 -0
- package/dist/chunks/card-BB_1xrND.es.js.map +1 -0
- package/dist/chunks/card-BPEsGx1J.cjs.js +2 -0
- package/dist/chunks/card-BPEsGx1J.cjs.js.map +1 -0
- package/dist/chunks/checkbox-Bm4Yqa_0.es.js +218 -0
- package/dist/chunks/checkbox-Bm4Yqa_0.es.js.map +1 -0
- package/dist/chunks/checkbox-Dod-yTj4.cjs.js +2 -0
- package/dist/chunks/checkbox-Dod-yTj4.cjs.js.map +1 -0
- package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js +2 -0
- package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +1 -0
- package/dist/chunks/collapsible-motion-OOUmjdKw.es.js +83 -0
- package/dist/chunks/collapsible-motion-OOUmjdKw.es.js.map +1 -0
- package/dist/chunks/combobox-B5UxZWSX.cjs.js +2 -0
- package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +1 -0
- package/dist/chunks/combobox-Ch4VokC9.es.js +2425 -0
- package/dist/chunks/combobox-Ch4VokC9.es.js.map +1 -0
- package/dist/chunks/context-OoV8SSWX.cjs.js.map +1 -1
- package/dist/chunks/context-R4YUlO9Y.es.js.map +1 -1
- package/dist/chunks/data-table-C51WU0Cc.cjs.js +2 -0
- package/dist/chunks/data-table-C51WU0Cc.cjs.js.map +1 -0
- package/dist/chunks/data-table-DC369pb3.es.js +3585 -0
- package/dist/chunks/data-table-DC369pb3.es.js.map +1 -0
- package/dist/chunks/date-input-DvOM0DLT.cjs.js +2 -0
- package/dist/chunks/date-input-DvOM0DLT.cjs.js.map +1 -0
- package/dist/chunks/date-input-KVuRsFzs.es.js +21 -0
- package/dist/chunks/date-input-KVuRsFzs.es.js.map +1 -0
- package/dist/chunks/date-picker-C304WfAN.es.js +220 -0
- package/dist/chunks/date-picker-C304WfAN.es.js.map +1 -0
- package/dist/chunks/date-picker-CZAoPNsT.cjs.js +2 -0
- package/dist/chunks/date-picker-CZAoPNsT.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-CkRgcwfm.es.js +281 -0
- package/dist/chunks/date-range-picker-CkRgcwfm.es.js.map +1 -0
- package/dist/chunks/date-range-picker-iENzosfN.cjs.js +2 -0
- package/dist/chunks/date-range-picker-iENzosfN.cjs.js.map +1 -0
- package/dist/chunks/dialog-CKwC3dk3.cjs.js +2 -0
- package/dist/chunks/dialog-CKwC3dk3.cjs.js.map +1 -0
- package/dist/chunks/dialog-gTeRW6GK.es.js +165 -0
- package/dist/chunks/dialog-gTeRW6GK.es.js.map +1 -0
- package/dist/chunks/dialog.title-B9cEUH8w.es.js +152 -0
- package/dist/chunks/dialog.title-B9cEUH8w.es.js.map +1 -0
- package/dist/chunks/dialog.title-DOPP47Zy.cjs.js +2 -0
- package/dist/chunks/dialog.title-DOPP47Zy.cjs.js.map +1 -0
- package/dist/chunks/draggable-list-BIJ7t5ou.es.js +4211 -0
- package/dist/chunks/draggable-list-BIJ7t5ou.es.js.map +1 -0
- package/dist/chunks/draggable-list-MGvr5-A-.cjs.js +3 -0
- package/dist/chunks/draggable-list-MGvr5-A-.cjs.js.map +1 -0
- package/dist/chunks/drawer-DKF34Nfc.es.js +304 -0
- package/dist/chunks/drawer-DKF34Nfc.es.js.map +1 -0
- package/dist/chunks/drawer-DzW9wBMk.cjs.js +2 -0
- package/dist/chunks/drawer-DzW9wBMk.cjs.js.map +1 -0
- package/dist/chunks/emotion-is-prop-valid.esm-BUuA3iy8.es.js +16 -0
- package/dist/chunks/emotion-is-prop-valid.esm-BUuA3iy8.es.js.map +1 -0
- package/dist/chunks/emotion-is-prop-valid.esm-ux_11lix.cjs.js +2 -0
- package/dist/chunks/emotion-is-prop-valid.esm-ux_11lix.cjs.js.map +1 -0
- package/dist/chunks/extractStyleProps-DYXEhLtq.es.js +11 -0
- package/dist/chunks/extractStyleProps-DYXEhLtq.es.js.map +1 -0
- package/dist/chunks/extractStyleProps-Dk3fpLyQ.cjs.js +2 -0
- package/dist/chunks/extractStyleProps-Dk3fpLyQ.cjs.js.map +1 -0
- package/dist/chunks/field-errors-ClQprmQz.es.js +213 -0
- package/dist/chunks/field-errors-ClQprmQz.es.js.map +1 -0
- package/dist/chunks/field-errors-D2re_C_c.cjs.js +2 -0
- package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +1 -0
- package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -1
- package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -1
- package/dist/chunks/focusSafely-BNAvQ-wF.cjs.js +2 -0
- package/dist/chunks/focusSafely-BNAvQ-wF.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-BS2OU9MQ.es.js +27 -0
- package/dist/chunks/focusSafely-BS2OU9MQ.es.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-CIGQxVVS.cjs.js +2 -0
- package/dist/chunks/form-field-CIGQxVVS.cjs.js.map +1 -0
- package/dist/chunks/form-field-cRZo4WSf.es.js +231 -0
- package/dist/chunks/form-field-cRZo4WSf.es.js.map +1 -0
- package/dist/chunks/getScrollParent-B8PotBOX.cjs.js +2 -0
- package/dist/chunks/getScrollParent-B8PotBOX.cjs.js.map +1 -0
- package/dist/chunks/getScrollParent-BS4bncfK.es.js +10 -0
- package/dist/chunks/getScrollParent-BS4bncfK.es.js.map +1 -0
- package/dist/chunks/grid-Chuw1xje.cjs.js.map +1 -1
- package/dist/chunks/grid-De8qjf98.es.js.map +1 -1
- package/dist/chunks/group-BqUFlw5R.cjs.js +2 -0
- package/dist/chunks/group-BqUFlw5R.cjs.js.map +1 -0
- package/dist/chunks/group-CWADf2vF.es.js +13 -0
- package/dist/chunks/group-CWADf2vF.es.js.map +1 -0
- package/dist/chunks/heading-BTacGwo9.cjs.js +2 -0
- package/dist/chunks/heading-BTacGwo9.cjs.js.map +1 -0
- package/dist/chunks/heading-BtazVUd5.es.js +25 -0
- package/dist/chunks/heading-BtazVUd5.es.js.map +1 -0
- package/dist/chunks/icon-CenxuChf.es.js +11 -0
- package/dist/chunks/icon-CenxuChf.es.js.map +1 -0
- package/dist/chunks/icon-D39U--jA.cjs.js +2 -0
- package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -0
- package/dist/chunks/icon-button-9Ni8-hO7.es.js +14 -0
- package/dist/chunks/icon-button-9Ni8-hO7.es.js.map +1 -0
- package/dist/chunks/icon-button-vWPrT-bR.cjs.js +2 -0
- package/dist/chunks/icon-button-vWPrT-bR.cjs.js.map +1 -0
- package/dist/chunks/icon-toggle-button-Db8CLmE5.es.js +13 -0
- package/dist/chunks/icon-toggle-button-Db8CLmE5.es.js.map +1 -0
- package/dist/chunks/icon-toggle-button-eLrsWehe.cjs.js +2 -0
- package/dist/chunks/icon-toggle-button-eLrsWehe.cjs.js.map +1 -0
- package/dist/chunks/icon.recipe-ClxbhW0Q.cjs.js +2 -0
- package/dist/chunks/icon.recipe-ClxbhW0Q.cjs.js.map +1 -0
- package/dist/chunks/icon.recipe-DjkjodUn.es.js +24 -0
- package/dist/chunks/icon.recipe-DjkjodUn.es.js.map +1 -0
- package/dist/chunks/image-CGOYoc2s.cjs.js.map +1 -1
- package/dist/chunks/image-DRigLU80.es.js.map +1 -1
- package/dist/chunks/index-CRFg4Mhx.cjs.js +34 -0
- package/dist/chunks/index-CRFg4Mhx.cjs.js.map +1 -0
- package/dist/chunks/index-CtB71yr7.es.js +5655 -0
- package/dist/chunks/index-CtB71yr7.es.js.map +1 -0
- package/dist/chunks/inertValue-B3AFhVG4.cjs.js +2 -0
- package/dist/chunks/inertValue-B3AFhVG4.cjs.js.map +1 -0
- package/dist/chunks/inertValue-B7loUihk.es.js +9 -0
- package/dist/chunks/inertValue-B7loUihk.es.js.map +1 -0
- package/dist/chunks/inline-svg-CbSC6O5X.es.js +21 -0
- package/dist/chunks/inline-svg-CbSC6O5X.es.js.map +1 -0
- package/dist/chunks/inline-svg-Yb2OyzRw.cjs.js +2 -0
- package/dist/chunks/inline-svg-Yb2OyzRw.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-BaeV_DL-.cjs.js +2 -0
- package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +1 -0
- package/dist/chunks/kbd-CH9rYghB.es.js +15 -0
- package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -0
- package/dist/chunks/link-DpU4rPCp.cjs.js +2 -0
- package/dist/chunks/link-DpU4rPCp.cjs.js.map +1 -0
- package/dist/chunks/link-QwdgCWJd.es.js +48 -0
- package/dist/chunks/link-QwdgCWJd.es.js.map +1 -0
- package/dist/chunks/loading-spinner-BiVTAfmp.es.js +59 -0
- package/dist/chunks/loading-spinner-BiVTAfmp.es.js.map +1 -0
- package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js +2 -0
- package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js.map +1 -0
- package/dist/chunks/localized-field-C7Vribb2.cjs.js +2 -0
- package/dist/chunks/localized-field-C7Vribb2.cjs.js.map +1 -0
- package/dist/chunks/localized-field-pJSLdod5.es.js +470 -0
- package/dist/chunks/localized-field-pJSLdod5.es.js.map +1 -0
- package/dist/chunks/make-element-focusable-C4jhHHl0.es.js +25 -0
- package/dist/chunks/make-element-focusable-C4jhHHl0.es.js.map +1 -0
- package/dist/chunks/make-element-focusable-oedzOY_M.cjs.js +2 -0
- package/dist/chunks/make-element-focusable-oedzOY_M.cjs.js.map +1 -0
- package/dist/chunks/menu-4QTf2m-7.es.js +147 -0
- package/dist/chunks/menu-4QTf2m-7.es.js.map +1 -0
- package/dist/chunks/menu-DIepV2KZ.cjs.js +2 -0
- package/dist/chunks/menu-DIepV2KZ.cjs.js.map +1 -0
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -1
- package/dist/chunks/mergeProps-CzyOU2NE.es.js +130 -0
- package/dist/chunks/mergeProps-CzyOU2NE.es.js.map +1 -0
- package/dist/chunks/money-input-BJpffXRR.es.js +526 -0
- package/dist/chunks/money-input-BJpffXRR.es.js.map +1 -0
- package/dist/chunks/money-input-Cu_J86Eu.cjs.js +2 -0
- package/dist/chunks/money-input-Cu_J86Eu.cjs.js.map +1 -0
- package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js +2 -0
- package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js.map +1 -0
- package/dist/chunks/multiline-text-input-CilSJJaO.es.js +64 -0
- package/dist/chunks/multiline-text-input-CilSJJaO.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-BfpEKy6w.es.js +101 -0
- package/dist/chunks/nimbus-provider-BfpEKy6w.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-WX_qUCxo.cjs.js +2 -0
- package/dist/chunks/nimbus-provider-WX_qUCxo.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-DXiwgboS.es.js +691 -0
- package/dist/chunks/number-input-DXiwgboS.es.js.map +1 -0
- package/dist/chunks/number-input-wMW-o4di.cjs.js +2 -0
- package/dist/chunks/number-input-wMW-o4di.cjs.js.map +1 -0
- package/dist/chunks/openLink-DT8XzqFh.es.js +105 -0
- package/dist/chunks/openLink-DT8XzqFh.es.js.map +1 -0
- package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -1
- package/dist/chunks/pagination-BWdg8s6g.cjs.js +2 -0
- package/dist/chunks/pagination-BWdg8s6g.cjs.js.map +1 -0
- package/dist/chunks/pagination-Sq1twv0k.es.js +160 -0
- package/dist/chunks/pagination-Sq1twv0k.es.js.map +1 -0
- package/dist/chunks/password-input-6SMjhXSO.cjs.js +2 -0
- package/dist/chunks/password-input-6SMjhXSO.cjs.js.map +1 -0
- package/dist/chunks/password-input-CBhC_e5Z.es.js +54 -0
- package/dist/chunks/password-input-CBhC_e5Z.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-CfEq5G5-.cjs.js +2 -0
- package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -0
- package/dist/chunks/popover-Cz6TnNt_.es.js +14 -0
- package/dist/chunks/popover-Cz6TnNt_.es.js.map +1 -0
- package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js +2 -0
- package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js.map +1 -0
- package/dist/chunks/progress-bar-DwuOjOcH.es.js +77 -0
- package/dist/chunks/progress-bar-DwuOjOcH.es.js.map +1 -0
- package/dist/chunks/radio-input-DhqS9ipf.es.js +350 -0
- package/dist/chunks/radio-input-DhqS9ipf.es.js.map +1 -0
- package/dist/chunks/radio-input-Dp05SXja.cjs.js +2 -0
- package/dist/chunks/radio-input-Dp05SXja.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-RBEpLQJb.es.js +187 -0
- package/dist/chunks/range-calendar-RBEpLQJb.es.js.map +1 -0
- package/dist/chunks/range-calendar-_dZfAsdG.cjs.js +2 -0
- package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -0
- package/dist/chunks/rich-text-input-CrjP71KM.es.js +7801 -0
- package/dist/chunks/rich-text-input-CrjP71KM.es.js.map +1 -0
- package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js +24 -0
- package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js.map +1 -0
- package/dist/chunks/scrollIntoView-DTfS0nWq.es.js +96 -0
- package/dist/chunks/scrollIntoView-DTfS0nWq.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-x1EbcfEq.cjs.js +2 -0
- package/dist/chunks/scrollIntoView-x1EbcfEq.cjs.js.map +1 -0
- package/dist/chunks/search-input-BefkmgPy.cjs.js +2 -0
- package/dist/chunks/search-input-BefkmgPy.cjs.js.map +1 -0
- package/dist/chunks/search-input-DCpjVXVS.es.js +361 -0
- package/dist/chunks/search-input-DCpjVXVS.es.js.map +1 -0
- package/dist/chunks/select-DMsU6bk9.cjs.js +2 -0
- package/dist/chunks/select-DMsU6bk9.cjs.js.map +1 -0
- package/dist/chunks/select-xlqMXZuO.es.js +775 -0
- package/dist/chunks/select-xlqMXZuO.es.js.map +1 -0
- package/dist/chunks/separator-CvRn_J0r.cjs.js +2 -0
- package/dist/chunks/separator-CvRn_J0r.cjs.js.map +1 -0
- package/dist/chunks/separator-DJGUFG-o.es.js +24 -0
- package/dist/chunks/separator-DJGUFG-o.es.js.map +1 -0
- package/dist/chunks/simple-grid-Cd2MJxSX.cjs.js.map +1 -1
- package/dist/chunks/simple-grid-DU5v66TG.es.js.map +1 -1
- package/dist/chunks/spacer-BvQD2vU1.cjs.js +2 -0
- package/dist/chunks/spacer-BvQD2vU1.cjs.js.map +1 -0
- package/dist/chunks/spacer-pHklG6Ri.es.js +8 -0
- package/dist/chunks/spacer-pHklG6Ri.es.js.map +1 -0
- package/dist/chunks/split-button-BO52sL7h.cjs.js +2 -0
- package/dist/chunks/split-button-BO52sL7h.cjs.js.map +1 -0
- package/dist/chunks/split-button-C5MmKuVW.es.js +100 -0
- package/dist/chunks/split-button-C5MmKuVW.es.js.map +1 -0
- package/dist/chunks/stack-CIN13EDn.cjs.js.map +1 -1
- package/dist/chunks/stack-CoNreM7B.es.js.map +1 -1
- package/dist/chunks/switch-B5bEl91n.es.js +67 -0
- package/dist/chunks/switch-B5bEl91n.es.js.map +1 -0
- package/dist/chunks/switch-CdLhBEPq.cjs.js +2 -0
- package/dist/chunks/switch-CdLhBEPq.cjs.js.map +1 -0
- package/dist/chunks/tabs-CJ0OAUSR.cjs.js +2 -0
- package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +1 -0
- package/dist/chunks/tabs-DGzmzlun.es.js +428 -0
- package/dist/chunks/tabs-DGzmzlun.es.js.map +1 -0
- package/dist/chunks/tag-group-Btt0egzG.cjs.js +2 -0
- package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -0
- package/dist/chunks/tag-group-pJFnuRoJ.es.js +554 -0
- package/dist/chunks/tag-group-pJFnuRoJ.es.js.map +1 -0
- package/dist/chunks/text-BgiP8ZB6.es.js +24 -0
- package/dist/chunks/text-BgiP8ZB6.es.js.map +1 -0
- package/dist/chunks/text-CCW9kDT_.cjs.js.map +1 -1
- package/dist/chunks/text-input-CSAODlCw.es.js +49 -0
- package/dist/chunks/text-input-CSAODlCw.es.js.map +1 -0
- package/dist/chunks/text-input-DZdkCbdd.cjs.js +2 -0
- package/dist/chunks/text-input-DZdkCbdd.cjs.js.map +1 -0
- package/dist/chunks/time-input-BUej1BjY.es.js +21 -0
- package/dist/chunks/time-input-BUej1BjY.es.js.map +1 -0
- package/dist/chunks/time-input-zXykDANk.cjs.js +2 -0
- package/dist/chunks/time-input-zXykDANk.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-CPzjUSI_.es.js +30 -0
- package/dist/chunks/toggle-button-CPzjUSI_.es.js.map +1 -0
- package/dist/chunks/toggle-button-DxMZsem4.cjs.js +2 -0
- package/dist/chunks/toggle-button-DxMZsem4.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-group-CE2Urvj8.cjs.js +2 -0
- package/dist/chunks/toggle-button-group-CE2Urvj8.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-group-DOxjowig.es.js +29 -0
- package/dist/chunks/toggle-button-group-DOxjowig.es.js.map +1 -0
- package/dist/chunks/toggle-button-group.recipe-CbCnJQP3.es.js +244 -0
- package/dist/chunks/toggle-button-group.recipe-CbCnJQP3.es.js.map +1 -0
- package/dist/chunks/toggle-button-group.recipe-DgySRvOW.cjs.js +2 -0
- package/dist/chunks/toggle-button-group.recipe-DgySRvOW.cjs.js.map +1 -0
- package/dist/chunks/toolbar-DV0l5MqA.cjs.js +2 -0
- package/dist/chunks/toolbar-DV0l5MqA.cjs.js.map +1 -0
- package/dist/chunks/toolbar-Dduysqqi.es.js +61 -0
- package/dist/chunks/toolbar-Dduysqqi.es.js.map +1 -0
- package/dist/chunks/tooltip-BPTOkK7W.cjs.js +2 -0
- package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -0
- package/dist/chunks/tooltip-sgakxhiy.es.js +268 -0
- package/dist/chunks/tooltip-sgakxhiy.es.js.map +1 -0
- package/dist/chunks/use-inline-svg-C2ko8Bcq.cjs.js +2 -0
- package/dist/chunks/use-inline-svg-C2ko8Bcq.cjs.js.map +1 -0
- package/dist/chunks/use-inline-svg-Cua0623E.es.js +47 -0
- package/dist/chunks/use-inline-svg-Cua0623E.es.js.map +1 -0
- package/dist/chunks/useButton-DkQVxdIF.es.js +57 -0
- package/dist/chunks/useButton-DkQVxdIF.es.js.map +1 -0
- package/dist/chunks/useButton-KnJ6A32S.cjs.js +2 -0
- package/dist/chunks/useButton-KnJ6A32S.cjs.js.map +1 -0
- package/dist/chunks/useCollator-BHMZd1r6.es.js.map +1 -1
- package/dist/chunks/useCollator-YVJAe1GI.cjs.js.map +1 -1
- 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-BBcUQTYP.cjs.js +2 -0
- package/dist/chunks/useDateFormatter-BBcUQTYP.cjs.js.map +1 -0
- package/dist/chunks/useDateFormatter-BkKCXbud.es.js +1632 -0
- package/dist/chunks/useDateFormatter-BkKCXbud.es.js.map +1 -0
- package/dist/chunks/useDisclosureState-DtcHCDt4.es.js +87 -0
- package/dist/chunks/useDisclosureState-DtcHCDt4.es.js.map +1 -0
- package/dist/chunks/useDisclosureState-ipt8A1Kc.cjs.js +2 -0
- package/dist/chunks/useDisclosureState-ipt8A1Kc.cjs.js.map +1 -0
- package/dist/chunks/useEvent-Bh_fbauk.es.js +22 -0
- package/dist/chunks/useEvent-Bh_fbauk.es.js.map +1 -0
- package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -1
- package/dist/chunks/useField-B0j4t47V.es.js +36 -0
- package/dist/chunks/useField-B0j4t47V.es.js.map +1 -0
- package/dist/chunks/useField-C_piDZ9g.cjs.js +2 -0
- package/dist/chunks/useField-C_piDZ9g.cjs.js.map +1 -0
- package/dist/chunks/useFilter-CG8lxfCP.cjs.js.map +1 -1
- package/dist/chunks/useFilter-DOfNzeZ9.es.js.map +1 -1
- package/dist/chunks/useFocus-CwNVYldV.es.js +29 -0
- package/dist/chunks/useFocus-CwNVYldV.es.js.map +1 -0
- package/dist/chunks/useFocus-DVHC9n4e.cjs.js +2 -0
- package/dist/chunks/useFocus-DVHC9n4e.cjs.js.map +1 -0
- package/dist/chunks/useFocusRing-BuJmrp03.cjs.js +2 -0
- package/dist/chunks/useFocusRing-BuJmrp03.cjs.js.map +1 -0
- package/dist/chunks/useFocusRing-DRIG5NVg.es.js +35 -0
- package/dist/chunks/useFocusRing-DRIG5NVg.es.js.map +1 -0
- package/dist/chunks/useFocusVisible-BIPjFmFE.es.js +111 -0
- package/dist/chunks/useFocusVisible-BIPjFmFE.es.js.map +1 -0
- package/dist/chunks/useFocusVisible-CN9NILN7.cjs.js +2 -0
- package/dist/chunks/useFocusVisible-CN9NILN7.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-CfiDXiVK.es.js +56 -0
- package/dist/chunks/useFocusWithin-CfiDXiVK.es.js.map +1 -0
- package/dist/chunks/useFocusWithin-CucqUylS.cjs.js +2 -0
- package/dist/chunks/useFocusWithin-CucqUylS.cjs.js.map +1 -0
- package/dist/chunks/useFocusable-D1mzTlxa.es.js +77 -0
- package/dist/chunks/useFocusable-D1mzTlxa.es.js.map +1 -0
- package/dist/chunks/useFocusable-Dv8K4Git.cjs.js +2 -0
- package/dist/chunks/useFocusable-Dv8K4Git.cjs.js.map +1 -0
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -1
- package/dist/chunks/useFormReset-D_wskGk5.es.js +21 -0
- package/dist/chunks/useFormReset-D_wskGk5.es.js.map +1 -0
- package/dist/chunks/useFormValidation-DR5NgZ9j.es.js +202 -0
- package/dist/chunks/useFormValidation-DR5NgZ9j.es.js.map +1 -0
- package/dist/chunks/useFormValidation-STNSjSmx.cjs.js +2 -0
- package/dist/chunks/useFormValidation-STNSjSmx.cjs.js.map +1 -0
- package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
- package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
- package/dist/chunks/useGridListItem-6gZ8SfZH.cjs.js +2 -0
- package/dist/chunks/useGridListItem-6gZ8SfZH.cjs.js.map +1 -0
- package/dist/chunks/useGridListItem-Cosrmt8g.es.js +251 -0
- package/dist/chunks/useGridListItem-Cosrmt8g.es.js.map +1 -0
- package/dist/chunks/useGridSelectionCheckbox-UA-rsjJv.cjs.js +2 -0
- package/dist/chunks/useGridSelectionCheckbox-UA-rsjJv.cjs.js.map +1 -0
- package/dist/chunks/useGridSelectionCheckbox-yspK-vJA.es.js +23 -0
- package/dist/chunks/useGridSelectionCheckbox-yspK-vJA.es.js.map +1 -0
- package/dist/chunks/useHasTabbableChild-Bif_c3Cz.cjs.js +2 -0
- package/dist/chunks/useHasTabbableChild-Bif_c3Cz.cjs.js.map +1 -0
- package/dist/chunks/useHasTabbableChild-Dq0HGz7B.es.js +35 -0
- package/dist/chunks/useHasTabbableChild-Dq0HGz7B.es.js.map +1 -0
- package/dist/chunks/useHighlightSelectionDescription-BVp60RjN.cjs.js +2 -0
- package/dist/chunks/useHighlightSelectionDescription-BVp60RjN.cjs.js.map +1 -0
- package/dist/chunks/useHighlightSelectionDescription-qks4kKs2.es.js +568 -0
- package/dist/chunks/useHighlightSelectionDescription-qks4kKs2.es.js.map +1 -0
- package/dist/chunks/useHover-271zEzph.cjs.js +2 -0
- package/dist/chunks/useHover-271zEzph.cjs.js.map +1 -0
- package/dist/chunks/useHover-9Xdm5U9d.es.js +86 -0
- package/dist/chunks/useHover-9Xdm5U9d.es.js.map +1 -0
- package/dist/chunks/useLabel-Cv-EvK4W.es.js +24 -0
- package/dist/chunks/useLabel-Cv-EvK4W.es.js.map +1 -0
- package/dist/chunks/useLabel-neE14Yau.cjs.js +2 -0
- package/dist/chunks/useLabel-neE14Yau.cjs.js.map +1 -0
- package/dist/chunks/useLabels-82wzG8z1.es.js +18 -0
- package/dist/chunks/useLabels-82wzG8z1.es.js.map +1 -0
- package/dist/chunks/useLabels-BsHtLxGl.cjs.js +2 -0
- package/dist/chunks/useLabels-BsHtLxGl.cjs.js.map +1 -0
- package/dist/chunks/useListState-CUO8Wibt.es.js +134 -0
- package/dist/chunks/useListState-CUO8Wibt.es.js.map +1 -0
- package/dist/chunks/useListState-CyKtsfSM.cjs.js +2 -0
- package/dist/chunks/useListState-CyKtsfSM.cjs.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-BRnRyxJp.es.js.map +1 -1
- package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.cjs.js.map +1 -1
- package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
- package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -1
- package/dist/chunks/usePress-Bxb2-xLP.es.js +456 -0
- package/dist/chunks/usePress-Bxb2-xLP.es.js.map +1 -0
- package/dist/chunks/usePress-D5REDWI3.cjs.js +8 -0
- package/dist/chunks/usePress-D5REDWI3.cjs.js.map +1 -0
- package/dist/chunks/useProgressBar-BsSMDAsi.es.js +48 -0
- package/dist/chunks/useProgressBar-BsSMDAsi.es.js.map +1 -0
- package/dist/chunks/useProgressBar-COda2Qef.cjs.js +2 -0
- package/dist/chunks/useProgressBar-COda2Qef.cjs.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-CgOgZMJh.cjs.js +2 -0
- package/dist/chunks/useSingleSelectListState-CgOgZMJh.cjs.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-CnVWWOJD.es.js +35 -0
- package/dist/chunks/useSingleSelectListState-CnVWWOJD.es.js.map +1 -0
- package/dist/chunks/useSpinButton-2dD53rZp.es.js +433 -0
- package/dist/chunks/useSpinButton-2dD53rZp.es.js.map +1 -0
- package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js.map +1 -1
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -1
- package/dist/chunks/useSyncRef-nVBzPD3o.es.js +13 -0
- package/dist/chunks/useSyncRef-nVBzPD3o.es.js.map +1 -0
- package/dist/chunks/useTextField-0jWzqKW2.cjs.js +2 -0
- package/dist/chunks/useTextField-0jWzqKW2.cjs.js.map +1 -0
- package/dist/chunks/useTextField-CT9tuc9X.es.js +91 -0
- package/dist/chunks/useTextField-CT9tuc9X.es.js.map +1 -0
- package/dist/chunks/useToggle-BXaU8bD5.cjs.js +2 -0
- package/dist/chunks/useToggle-BXaU8bD5.cjs.js.map +1 -0
- package/dist/chunks/useToggle-CUMQAGyE.es.js +62 -0
- package/dist/chunks/useToggle-CUMQAGyE.es.js.map +1 -0
- package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -1
- package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -1
- package/dist/chunks/useToolbar-CnYu1bn9.es.js +55 -0
- package/dist/chunks/useToolbar-CnYu1bn9.es.js.map +1 -0
- package/dist/chunks/useToolbar-iBRLn7DA.cjs.js +2 -0
- package/dist/chunks/useToolbar-iBRLn7DA.cjs.js.map +1 -0
- package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -1
- package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
- package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -1
- package/dist/chunks/utils-Cjs5h3ad.es.js +190 -0
- package/dist/chunks/utils-Cjs5h3ad.es.js.map +1 -0
- package/dist/chunks/utils-Cyja2WdR.es.js +128 -0
- package/dist/chunks/utils-Cyja2WdR.es.js.map +1 -0
- package/dist/chunks/utils-DUS_ZjvE.cjs.js +2 -0
- package/dist/chunks/utils-DUS_ZjvE.cjs.js.map +1 -0
- package/dist/chunks/visually-hidden-CVUszTlg.es.js +11 -0
- package/dist/chunks/visually-hidden-CVUszTlg.es.js.map +1 -0
- package/dist/chunks/visually-hidden-tTYCAVoQ.cjs.js +2 -0
- package/dist/chunks/visually-hidden-tTYCAVoQ.cjs.js.map +1 -0
- package/dist/collapsible-motion.d.ts +125 -0
- package/dist/combobox.d.ts +91 -145
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/avatar.cjs +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/badge.cjs +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/collapsible-motion.cjs +2 -0
- package/dist/components/collapsible-motion.cjs.map +1 -0
- package/dist/components/collapsible-motion.es.js +5 -0
- package/dist/components/collapsible-motion.es.js.map +1 -0
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +9 -164
- package/dist/components/components.es.js.map +1 -1
- package/dist/components/constants.cjs +1 -1
- package/dist/components/constants.cjs.map +1 -1
- package/dist/components/constants.es.js +13 -122
- package/dist/components/constants.es.js.map +1 -1
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/draggable-list.cjs +2 -0
- package/dist/components/draggable-list.cjs.map +1 -0
- package/dist/components/draggable-list.es.js +8 -0
- package/dist/components/draggable-list.es.js.map +1 -0
- package/dist/components/drawer.cjs +2 -0
- package/dist/components/drawer.cjs.map +1 -0
- package/dist/components/drawer.es.js +5 -0
- package/dist/components/drawer.es.js.map +1 -0
- package/dist/components/field-errors.cjs +2 -0
- package/dist/components/field-errors.cjs.map +1 -0
- package/dist/components/field-errors.es.js +6 -0
- package/dist/components/field-errors.es.js.map +1 -0
- 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 +2 -2
- package/dist/components/hooks.cjs +1 -1
- package/dist/components/hooks.es.js +2 -5
- 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/icon.cjs +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/inline-svg.cjs +2 -0
- package/dist/components/inline-svg.cjs.map +1 -0
- package/dist/components/inline-svg.es.js +5 -0
- package/dist/components/inline-svg.es.js.map +1 -0
- package/dist/components/kbd.cjs +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/link.cjs +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/localized-field.cjs +2 -0
- package/dist/components/localized-field.cjs.map +1 -0
- package/dist/components/localized-field.es.js +5 -0
- package/dist/components/localized-field.es.js.map +1 -0
- package/dist/components/money-input.cjs +2 -0
- package/dist/components/money-input.cjs.map +1 -0
- package/dist/components/money-input.es.js +5 -0
- package/dist/components/money-input.es.js.map +1 -0
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/pagination.cjs +2 -0
- package/dist/components/pagination.cjs.map +1 -0
- package/dist/components/pagination.es.js +5 -0
- package/dist/components/pagination.es.js.map +1 -0
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.cjs.map +1 -1
- package/dist/components/popover.es.js +2 -22
- package/dist/components/popover.es.js.map +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -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.cjs +2 -0
- package/dist/components/scoped-search-input.cjs.map +1 -0
- package/dist/components/scoped-search-input.es.js +153 -0
- package/dist/components/scoped-search-input.es.js.map +1 -0
- package/dist/components/search-input.cjs +2 -0
- package/dist/components/search-input.cjs.map +1 -0
- package/dist/components/search-input.es.js +5 -0
- package/dist/components/search-input.es.js.map +1 -0
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/separator.cjs +2 -0
- package/dist/components/separator.cjs.map +1 -0
- package/dist/components/separator.es.js +5 -0
- package/dist/components/separator.es.js.map +1 -0
- package/dist/components/spacer.cjs +2 -0
- package/dist/components/spacer.cjs.map +1 -0
- package/dist/components/spacer.es.js +5 -0
- package/dist/components/spacer.es.js.map +1 -0
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabs.cjs +2 -0
- package/dist/components/tabs.cjs.map +1 -0
- package/dist/components/tabs.es.js +10 -0
- package/dist/components/tabs.es.js.map +1 -0
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/text.es.js +1 -1
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- 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.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.es.js +2 -2
- package/dist/components/utils.cjs +2 -1
- package/dist/components/utils.cjs.map +1 -1
- package/dist/components/utils.es.js +568 -65
- package/dist/components/utils.es.js.map +1 -1
- package/dist/components/visually-hidden.cjs +1 -1
- package/dist/components/visually-hidden.es.js +1 -1
- package/dist/components.d.ts +200 -3937
- package/dist/constants.d.ts +4 -113
- package/dist/data-table.d.ts +70 -95
- package/dist/date-input.d.ts +19 -80
- package/dist/date-picker.d.ts +31 -133
- package/dist/date-range-picker.d.ts +20 -67
- package/dist/dialog.d.ts +478 -27
- package/dist/draggable-list.d.ts +331 -0
- package/dist/drawer.d.ts +590 -0
- package/dist/field-errors.d.ts +144 -0
- package/dist/form-field.d.ts +65 -89
- package/dist/grid.d.ts +2 -2
- package/dist/group.d.ts +9 -15
- package/dist/heading.d.ts +43 -2
- package/dist/hooks.d.ts +7 -46
- package/dist/icon-button.d.ts +40 -28
- package/dist/icon-toggle-button.d.ts +31 -122
- package/dist/icon.d.ts +9 -67
- package/dist/image.d.ts +1 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +196 -3970
- package/dist/index.es.js +461 -404
- package/dist/index.es.js.map +1 -1
- package/dist/inline-svg.d.ts +81 -0
- package/dist/kbd.d.ts +2 -2
- package/dist/link.d.ts +22 -61
- package/dist/loading-spinner.d.ts +20 -66
- package/dist/localized-field.d.ts +935 -0
- package/dist/money-input.d.ts +879 -0
- package/dist/multiline-text-input.d.ts +40 -46
- package/dist/nimbus-provider.d.ts +28 -18
- package/dist/number-input.d.ts +33 -115
- package/dist/pagination.d.ts +70 -0
- package/dist/password-input.d.ts +39 -52
- package/dist/popover.d.ts +10 -3
- package/dist/progress-bar.d.ts +42 -125
- package/dist/radio-input.d.ts +17 -36
- package/dist/range-calendar.d.ts +22 -17
- package/dist/rich-text-input.d.ts +9 -6
- package/dist/scoped-search-input.d.ts +94 -0
- package/dist/search-input.d.ts +56 -0
- package/dist/select.d.ts +167 -80
- package/dist/separator.d.ts +49 -0
- package/dist/setup-jsdom-polyfills.cjs +1 -1
- package/dist/setup-jsdom-polyfills.cjs.map +1 -1
- package/dist/setup-jsdom-polyfills.es.js +37 -2
- package/dist/setup-jsdom-polyfills.es.js.map +1 -1
- package/dist/simple-grid.d.ts +2 -2
- package/dist/spacer.d.ts +41 -0
- package/dist/split-button.d.ts +51 -28
- package/dist/stack.d.ts +2 -2
- package/dist/switch.d.ts +9 -51
- package/dist/tabs.d.ts +213 -0
- package/dist/tag-group.d.ts +18 -51
- package/dist/text-input.d.ts +38 -41
- package/dist/text.d.ts +2 -2
- package/dist/time-input.d.ts +20 -80
- package/dist/toggle-button-group.d.ts +21 -68
- package/dist/toggle-button.d.ts +23 -119
- package/dist/toolbar.d.ts +11 -67
- package/dist/tooltip.d.ts +41 -51
- package/dist/utils.d.ts +28 -148
- package/dist/visually-hidden.d.ts +2 -2
- package/package.json +40 -31
- package/dist/chunks/Button-BtJHe9xY.cjs.js +0 -2
- package/dist/chunks/Button-BtJHe9xY.cjs.js.map +0 -1
- package/dist/chunks/Button-CNBS3n5a.es.js +0 -73
- package/dist/chunks/Button-CNBS3n5a.es.js.map +0 -1
- package/dist/chunks/DateField-Dm2Qlhbk.es.js +0 -2685
- package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +0 -1
- package/dist/chunks/DateField-rweHHCKR.cjs.js +0 -2
- package/dist/chunks/DateField-rweHHCKR.cjs.js.map +0 -1
- package/dist/chunks/DatePicker-BdV6ICAm.cjs.js +0 -2
- package/dist/chunks/DatePicker-BdV6ICAm.cjs.js.map +0 -1
- package/dist/chunks/DatePicker-BthC1bZ_.es.js +0 -782
- package/dist/chunks/DatePicker-BthC1bZ_.es.js.map +0 -1
- package/dist/chunks/Dialog-BeQ6Z6l2.es.js +0 -1924
- package/dist/chunks/Dialog-BeQ6Z6l2.es.js.map +0 -1
- package/dist/chunks/Dialog-CYa26HlL.cjs.js +0 -2
- package/dist/chunks/Dialog-CYa26HlL.cjs.js.map +0 -1
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +0 -81
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +0 -1
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +0 -2
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +0 -1
- package/dist/chunks/FocusScope-CNO0fzPs.es.js +0 -625
- package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +0 -1
- package/dist/chunks/FocusScope-DPn5XtSy.cjs.js +0 -2
- package/dist/chunks/FocusScope-DPn5XtSy.cjs.js.map +0 -1
- package/dist/chunks/Group-Cfixd-fh.es.js +0 -46
- package/dist/chunks/Group-Cfixd-fh.es.js.map +0 -1
- package/dist/chunks/Group-MdeByg6t.cjs.js +0 -2
- package/dist/chunks/Group-MdeByg6t.cjs.js.map +0 -1
- package/dist/chunks/Heading-BaW6t55l.cjs.js +0 -2
- package/dist/chunks/Heading-BaW6t55l.cjs.js.map +0 -1
- package/dist/chunks/Heading-DEfy_f01.es.js +0 -1618
- package/dist/chunks/Heading-DEfy_f01.es.js.map +0 -1
- package/dist/chunks/Input-BiHwUBo4.es.js +0 -43
- package/dist/chunks/Input-BiHwUBo4.es.js.map +0 -1
- package/dist/chunks/Input-HBDt7LmM.cjs.js +0 -2
- package/dist/chunks/Input-HBDt7LmM.cjs.js.map +0 -1
- package/dist/chunks/Label-B2YyCdLl.es.js +0 -17
- package/dist/chunks/Label-B2YyCdLl.es.js.map +0 -1
- package/dist/chunks/ListBox-CikEmFBx.cjs.js +0 -2
- package/dist/chunks/ListBox-CikEmFBx.cjs.js.map +0 -1
- package/dist/chunks/ListBox-DF3NHeEX.es.js +0 -605
- package/dist/chunks/ListBox-DF3NHeEX.es.js.map +0 -1
- package/dist/chunks/OverlayArrow-sJzRZNbO.es.js +0 -491
- package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +0 -1
- package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js +0 -2
- package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js.map +0 -1
- package/dist/chunks/ProgressBar-DjaUQI7N.es.js +0 -42
- package/dist/chunks/ProgressBar-DjaUQI7N.es.js.map +0 -1
- package/dist/chunks/RSPContexts-B4yvXuBR.es.js +0 -7
- package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +0 -1
- package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js +0 -2
- package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +0 -1
- package/dist/chunks/SelectionManager-CLyu96pU.es.js +0 -1946
- package/dist/chunks/SelectionManager-CLyu96pU.es.js.map +0 -1
- package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js +0 -18
- package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js.map +0 -1
- package/dist/chunks/Separator-3-E2tRbk.es.js +0 -92
- package/dist/chunks/Separator-3-E2tRbk.es.js.map +0 -1
- package/dist/chunks/Separator-CAOg-vqY.cjs.js +0 -2
- package/dist/chunks/Separator-CAOg-vqY.cjs.js.map +0 -1
- package/dist/chunks/TextArea-BmpgvS0R.es.js +0 -42
- package/dist/chunks/TextArea-BmpgvS0R.es.js.map +0 -1
- package/dist/chunks/TextArea-D3FFXnUy.cjs.js +0 -2
- package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +0 -1
- package/dist/chunks/ToggleButton-C3JL0pgD.es.js +0 -145
- package/dist/chunks/ToggleButton-C3JL0pgD.es.js.map +0 -1
- package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js +0 -2
- package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js.map +0 -1
- package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js +0 -2
- package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js.map +0 -1
- package/dist/chunks/VisuallyHidden-VHEPK04F.es.js +0 -41
- package/dist/chunks/VisuallyHidden-VHEPK04F.es.js.map +0 -1
- package/dist/chunks/accordion-EDJoghXQ.cjs.js +0 -2
- package/dist/chunks/accordion-EDJoghXQ.cjs.js.map +0 -1
- package/dist/chunks/accordion-UL4pfC2d.es.js +0 -223
- package/dist/chunks/accordion-UL4pfC2d.es.js.map +0 -1
- package/dist/chunks/alert-BhoRNIWA.cjs.js +0 -2
- package/dist/chunks/alert-BhoRNIWA.cjs.js.map +0 -1
- package/dist/chunks/alert-D-ddqYG4.es.js +0 -186
- package/dist/chunks/alert-D-ddqYG4.es.js.map +0 -1
- package/dist/chunks/avatar-Bu12OMzz.es.js +0 -38
- package/dist/chunks/avatar-Bu12OMzz.es.js.map +0 -1
- package/dist/chunks/avatar-C2KIWewd.cjs.js +0 -2
- package/dist/chunks/avatar-C2KIWewd.cjs.js.map +0 -1
- package/dist/chunks/badge-BJd-Q81M.es.js +0 -77
- package/dist/chunks/badge-BJd-Q81M.es.js.map +0 -1
- package/dist/chunks/badge-CCrBksXu.cjs.js +0 -2
- package/dist/chunks/badge-CCrBksXu.cjs.js.map +0 -1
- package/dist/chunks/button-CRUdodZm.es.js +0 -59
- package/dist/chunks/button-CRUdodZm.es.js.map +0 -1
- package/dist/chunks/button-CU8FW_Pl.cjs.js +0 -2
- package/dist/chunks/button-CU8FW_Pl.cjs.js.map +0 -1
- package/dist/chunks/button.recipe-Cqkj3VMo.cjs.js +0 -2
- package/dist/chunks/button.recipe-Cqkj3VMo.cjs.js.map +0 -1
- package/dist/chunks/button.recipe-NdTb5f8M.es.js +0 -191
- package/dist/chunks/button.recipe-NdTb5f8M.es.js.map +0 -1
- package/dist/chunks/calendar-DJKWldpV.cjs.js +0 -2
- package/dist/chunks/calendar-DJKWldpV.cjs.js.map +0 -1
- package/dist/chunks/calendar-DzwFtg1t.es.js +0 -186
- package/dist/chunks/calendar-DzwFtg1t.es.js.map +0 -1
- package/dist/chunks/card-BfUdf1Fy.es.js +0 -138
- package/dist/chunks/card-BfUdf1Fy.es.js.map +0 -1
- package/dist/chunks/card-DeWTV05B.cjs.js +0 -2
- package/dist/chunks/card-DeWTV05B.cjs.js.map +0 -1
- package/dist/chunks/checkbox-6nLo9Jy2.cjs.js +0 -2
- package/dist/chunks/checkbox-6nLo9Jy2.cjs.js.map +0 -1
- package/dist/chunks/checkbox-GmYxVrZx.es.js +0 -219
- package/dist/chunks/checkbox-GmYxVrZx.es.js.map +0 -1
- package/dist/chunks/combobox-DtPDxCo3.cjs.js +0 -2
- package/dist/chunks/combobox-DtPDxCo3.cjs.js.map +0 -1
- package/dist/chunks/combobox-gIwba2QG.es.js +0 -2392
- package/dist/chunks/combobox-gIwba2QG.es.js.map +0 -1
- package/dist/chunks/data-table-Cpk3q34E.cjs.js +0 -2
- package/dist/chunks/data-table-Cpk3q34E.cjs.js.map +0 -1
- package/dist/chunks/data-table-mXLxUWQz.es.js +0 -3563
- package/dist/chunks/data-table-mXLxUWQz.es.js.map +0 -1
- package/dist/chunks/date-input-D5unoyMt.es.js +0 -16
- package/dist/chunks/date-input-D5unoyMt.es.js.map +0 -1
- package/dist/chunks/date-input-DJ_aFB9i.cjs.js +0 -2
- package/dist/chunks/date-input-DJ_aFB9i.cjs.js.map +0 -1
- package/dist/chunks/date-picker-CMqAI1lp.es.js +0 -190
- package/dist/chunks/date-picker-CMqAI1lp.es.js.map +0 -1
- package/dist/chunks/date-picker-f3TylaP5.cjs.js +0 -2
- package/dist/chunks/date-picker-f3TylaP5.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-CxsPpWyX.cjs.js +0 -2
- package/dist/chunks/date-range-picker-CxsPpWyX.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-Dtji64Q9.es.js +0 -283
- package/dist/chunks/date-range-picker-Dtji64Q9.es.js.map +0 -1
- package/dist/chunks/dialog-CVa-E9-A.cjs.js +0 -2
- package/dist/chunks/dialog-CVa-E9-A.cjs.js.map +0 -1
- package/dist/chunks/dialog-DTSuKnyk.es.js +0 -34
- package/dist/chunks/dialog-DTSuKnyk.es.js.map +0 -1
- package/dist/chunks/divider--BAm3ca4.es.js +0 -53
- package/dist/chunks/divider--BAm3ca4.es.js.map +0 -1
- package/dist/chunks/divider-BuizjeAj.cjs.js +0 -2
- package/dist/chunks/divider-BuizjeAj.cjs.js.map +0 -1
- package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js +0 -2
- package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js.map +0 -1
- package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js +0 -16
- package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js.map +0 -1
- package/dist/chunks/extractStyleProps-CZpHKp1I.cjs.js +0 -2
- package/dist/chunks/extractStyleProps-CZpHKp1I.cjs.js.map +0 -1
- package/dist/chunks/extractStyleProps-vA4cNUoc.es.js +0 -11
- package/dist/chunks/extractStyleProps-vA4cNUoc.es.js.map +0 -1
- package/dist/chunks/focusSafely-DJpphVHF.es.js +0 -27
- package/dist/chunks/focusSafely-DJpphVHF.es.js.map +0 -1
- package/dist/chunks/focusSafely-jDMW9aEx.cjs.js +0 -2
- package/dist/chunks/focusSafely-jDMW9aEx.cjs.js.map +0 -1
- package/dist/chunks/form-field-Dtcfgzyo.es.js +0 -309
- package/dist/chunks/form-field-Dtcfgzyo.es.js.map +0 -1
- package/dist/chunks/form-field-DxcGAb23.cjs.js +0 -11
- package/dist/chunks/form-field-DxcGAb23.cjs.js.map +0 -1
- package/dist/chunks/group-Buy-O6Mr.cjs.js +0 -2
- package/dist/chunks/group-Buy-O6Mr.cjs.js.map +0 -1
- package/dist/chunks/group-CqfSQXe7.es.js +0 -14
- package/dist/chunks/group-CqfSQXe7.es.js.map +0 -1
- package/dist/chunks/group.recipe-BQafmscW.es.js +0 -13
- package/dist/chunks/group.recipe-BQafmscW.es.js.map +0 -1
- package/dist/chunks/group.recipe-BffrkcjL.cjs.js +0 -2
- package/dist/chunks/group.recipe-BffrkcjL.cjs.js.map +0 -1
- package/dist/chunks/icon-BoRbJStV.es.js +0 -31
- package/dist/chunks/icon-BoRbJStV.es.js.map +0 -1
- package/dist/chunks/icon-Cny8ZtnX.cjs.js +0 -2
- package/dist/chunks/icon-Cny8ZtnX.cjs.js.map +0 -1
- package/dist/chunks/icon-button-C20Gw8gQ.es.js +0 -14
- package/dist/chunks/icon-button-C20Gw8gQ.es.js.map +0 -1
- package/dist/chunks/icon-button-Cc0MkBbk.cjs.js +0 -2
- package/dist/chunks/icon-button-Cc0MkBbk.cjs.js.map +0 -1
- package/dist/chunks/icon-toggle-button-CgHQMDs3.es.js +0 -13
- package/dist/chunks/icon-toggle-button-CgHQMDs3.es.js.map +0 -1
- package/dist/chunks/icon-toggle-button-D-C99Q0s.cjs.js +0 -2
- package/dist/chunks/icon-toggle-button-D-C99Q0s.cjs.js.map +0 -1
- package/dist/chunks/index-C8Yrk__l.cjs.js +0 -4
- package/dist/chunks/index-C8Yrk__l.cjs.js.map +0 -1
- package/dist/chunks/index-jAeaCpRm.es.js +0 -3787
- package/dist/chunks/index-jAeaCpRm.es.js.map +0 -1
- package/dist/chunks/kbd-BXN9aXRE.es.js +0 -17
- package/dist/chunks/kbd-BXN9aXRE.es.js.map +0 -1
- package/dist/chunks/kbd-DFeaXiKY.cjs.js +0 -2
- package/dist/chunks/kbd-DFeaXiKY.cjs.js.map +0 -1
- package/dist/chunks/kbd.recipe-DXiyvrAP.es.js +0 -26
- package/dist/chunks/kbd.recipe-DXiyvrAP.es.js.map +0 -1
- package/dist/chunks/kbd.recipe-DjQgeTG_.cjs.js +0 -2
- package/dist/chunks/kbd.recipe-DjQgeTG_.cjs.js.map +0 -1
- package/dist/chunks/link-CFK97sc0.es.js +0 -50
- package/dist/chunks/link-CFK97sc0.es.js.map +0 -1
- package/dist/chunks/link-DWa1zIUJ.cjs.js +0 -2
- package/dist/chunks/link-DWa1zIUJ.cjs.js.map +0 -1
- package/dist/chunks/link.recipe-Co4-fl4U.cjs.js +0 -2
- package/dist/chunks/link.recipe-Co4-fl4U.cjs.js.map +0 -1
- package/dist/chunks/link.recipe-pXiGIJtI.es.js +0 -51
- package/dist/chunks/link.recipe-pXiGIJtI.es.js.map +0 -1
- package/dist/chunks/loading-spinner-CvggCl-H.es.js +0 -105
- package/dist/chunks/loading-spinner-CvggCl-H.es.js.map +0 -1
- package/dist/chunks/loading-spinner-DdYXuYkg.cjs.js +0 -2
- package/dist/chunks/loading-spinner-DdYXuYkg.cjs.js.map +0 -1
- package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js +0 -22
- package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js.map +0 -1
- package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js +0 -2
- package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js.map +0 -1
- package/dist/chunks/menu-8g9Hn1nm.es.js +0 -157
- package/dist/chunks/menu-8g9Hn1nm.es.js.map +0 -1
- package/dist/chunks/menu-Bm1u-R6o.cjs.js +0 -2
- package/dist/chunks/menu-Bm1u-R6o.cjs.js.map +0 -1
- package/dist/chunks/mergeProps-B_9syxhT.es.js +0 -130
- package/dist/chunks/mergeProps-B_9syxhT.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-BGnvpB1r.es.js +0 -118
- package/dist/chunks/multiline-text-input-BGnvpB1r.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-sXIlwrvT.cjs.js +0 -12
- package/dist/chunks/multiline-text-input-sXIlwrvT.cjs.js.map +0 -1
- package/dist/chunks/nimbus-provider-CybdU89B.es.js +0 -101
- package/dist/chunks/nimbus-provider-CybdU89B.es.js.map +0 -1
- package/dist/chunks/nimbus-provider-D3DvYEDv.cjs.js +0 -2
- package/dist/chunks/nimbus-provider-D3DvYEDv.cjs.js.map +0 -1
- package/dist/chunks/number-input-CPnA0dO-.cjs.js +0 -2
- package/dist/chunks/number-input-CPnA0dO-.cjs.js.map +0 -1
- package/dist/chunks/number-input-CzObpfFa.es.js +0 -657
- package/dist/chunks/number-input-CzObpfFa.es.js.map +0 -1
- package/dist/chunks/openLink-Ctl0AdAy.es.js +0 -105
- package/dist/chunks/openLink-Ctl0AdAy.es.js.map +0 -1
- package/dist/chunks/password-input-BqhrDjyW.cjs.js +0 -2
- package/dist/chunks/password-input-BqhrDjyW.cjs.js.map +0 -1
- package/dist/chunks/password-input-C_rdTND7.es.js +0 -50
- package/dist/chunks/password-input-C_rdTND7.es.js.map +0 -1
- package/dist/chunks/progress-bar-CrS1rODC.cjs.js +0 -2
- package/dist/chunks/progress-bar-CrS1rODC.cjs.js.map +0 -1
- package/dist/chunks/progress-bar-pPWJ1Sn8.es.js +0 -77
- package/dist/chunks/progress-bar-pPWJ1Sn8.es.js.map +0 -1
- package/dist/chunks/radio-input-BTEXrXaF.cjs.js +0 -2
- package/dist/chunks/radio-input-BTEXrXaF.cjs.js.map +0 -1
- package/dist/chunks/radio-input-OpbQD2zP.es.js +0 -341
- package/dist/chunks/radio-input-OpbQD2zP.es.js.map +0 -1
- package/dist/chunks/range-calendar-BOP_J_5a.es.js +0 -186
- package/dist/chunks/range-calendar-BOP_J_5a.es.js.map +0 -1
- package/dist/chunks/range-calendar-CFotnBzs.cjs.js +0 -2
- package/dist/chunks/range-calendar-CFotnBzs.cjs.js.map +0 -1
- package/dist/chunks/rich-text-input-CItP9BzJ.cjs.js +0 -2
- package/dist/chunks/rich-text-input-CItP9BzJ.cjs.js.map +0 -1
- package/dist/chunks/rich-text-input-CgrxAPHc.es.js +0 -691
- package/dist/chunks/rich-text-input-CgrxAPHc.es.js.map +0 -1
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +0 -94
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +0 -1
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +0 -1
- package/dist/chunks/select-CAeD_ZuZ.es.js +0 -558
- package/dist/chunks/select-CAeD_ZuZ.es.js.map +0 -1
- package/dist/chunks/select-Coyt1pJN.cjs.js +0 -2
- package/dist/chunks/select-Coyt1pJN.cjs.js.map +0 -1
- package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js +0 -24
- package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js.map +0 -1
- package/dist/chunks/slate-helpers-DunxggA8.es.js +0 -6919
- package/dist/chunks/slate-helpers-DunxggA8.es.js.map +0 -1
- package/dist/chunks/split-button-BYrr5vRr.cjs.js +0 -2
- package/dist/chunks/split-button-BYrr5vRr.cjs.js.map +0 -1
- package/dist/chunks/split-button-j2bgcP59.es.js +0 -103
- package/dist/chunks/split-button-j2bgcP59.es.js.map +0 -1
- package/dist/chunks/switch-BgNpbn2e.cjs.js +0 -2
- package/dist/chunks/switch-BgNpbn2e.cjs.js.map +0 -1
- package/dist/chunks/switch-Cid4U3m8.es.js +0 -79
- package/dist/chunks/switch-Cid4U3m8.es.js.map +0 -1
- package/dist/chunks/tag-group-B3YSTBpb.cjs.js +0 -2
- package/dist/chunks/tag-group-B3YSTBpb.cjs.js.map +0 -1
- package/dist/chunks/tag-group-CeNHz5QQ.es.js +0 -781
- package/dist/chunks/tag-group-CeNHz5QQ.es.js.map +0 -1
- package/dist/chunks/text-DfQpupDi.es.js +0 -24
- package/dist/chunks/text-DfQpupDi.es.js.map +0 -1
- package/dist/chunks/text-input-C2y4O13I.cjs.js +0 -2
- package/dist/chunks/text-input-C2y4O13I.cjs.js.map +0 -1
- package/dist/chunks/text-input-TZXg0lEQ.es.js +0 -18
- package/dist/chunks/text-input-TZXg0lEQ.es.js.map +0 -1
- package/dist/chunks/time-input-CI_HoOGU.es.js +0 -130
- package/dist/chunks/time-input-CI_HoOGU.es.js.map +0 -1
- package/dist/chunks/time-input-cHUvGWDc.cjs.js +0 -2
- package/dist/chunks/time-input-cHUvGWDc.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-C9ezVsSp.cjs.js +0 -2
- package/dist/chunks/toggle-button-C9ezVsSp.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-a0gCembi.es.js +0 -29
- package/dist/chunks/toggle-button-a0gCembi.es.js.map +0 -1
- package/dist/chunks/toggle-button-group-DX134q7m.cjs.js +0 -2
- package/dist/chunks/toggle-button-group-DX134q7m.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-group-jRdpdYyd.es.js +0 -81
- package/dist/chunks/toggle-button-group-jRdpdYyd.es.js.map +0 -1
- package/dist/chunks/toolbar-CLGq6IO7.cjs.js +0 -2
- package/dist/chunks/toolbar-CLGq6IO7.cjs.js.map +0 -1
- package/dist/chunks/toolbar-hpBfKrTl.es.js +0 -59
- package/dist/chunks/toolbar-hpBfKrTl.es.js.map +0 -1
- package/dist/chunks/tooltip-B1YdruCE.es.js +0 -269
- package/dist/chunks/tooltip-B1YdruCE.es.js.map +0 -1
- package/dist/chunks/tooltip-g8-hEdZp.cjs.js +0 -2
- package/dist/chunks/tooltip-g8-hEdZp.cjs.js.map +0 -1
- package/dist/chunks/tooltip.recipe-Cqi_tgR5.es.js +0 -24
- package/dist/chunks/tooltip.recipe-Cqi_tgR5.es.js.map +0 -1
- package/dist/chunks/tooltip.recipe-dx7DAJbZ.cjs.js +0 -2
- package/dist/chunks/tooltip.recipe-dx7DAJbZ.cjs.js.map +0 -1
- package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js +0 -2
- package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js.map +0 -1
- package/dist/chunks/use-formatting-state-DdKYccZs.es.js +0 -247
- package/dist/chunks/use-formatting-state-DdKYccZs.es.js.map +0 -1
- package/dist/chunks/useButton-BgBfaV_L.cjs.js +0 -2
- package/dist/chunks/useButton-BgBfaV_L.cjs.js.map +0 -1
- package/dist/chunks/useButton-DAeSjgg9.es.js +0 -57
- package/dist/chunks/useButton-DAeSjgg9.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-C7Kxzwro.es.js +0 -1601
- package/dist/chunks/useDateFormatter-C7Kxzwro.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js +0 -2
- package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js.map +0 -1
- package/dist/chunks/useEvent-YHhqZvpU.es.js +0 -22
- package/dist/chunks/useEvent-YHhqZvpU.es.js.map +0 -1
- package/dist/chunks/useField-Ce9zQxmx.es.js +0 -36
- package/dist/chunks/useField-Ce9zQxmx.es.js.map +0 -1
- package/dist/chunks/useField-DmqO9k7a.cjs.js +0 -2
- package/dist/chunks/useField-DmqO9k7a.cjs.js.map +0 -1
- package/dist/chunks/useFocus-BtJ38vev.cjs.js +0 -2
- package/dist/chunks/useFocus-BtJ38vev.cjs.js.map +0 -1
- package/dist/chunks/useFocus-DkWJ2TJC.es.js +0 -29
- package/dist/chunks/useFocus-DkWJ2TJC.es.js.map +0 -1
- package/dist/chunks/useFocusRing-CzFer4bD.cjs.js +0 -2
- package/dist/chunks/useFocusRing-CzFer4bD.cjs.js.map +0 -1
- package/dist/chunks/useFocusRing-updnkDQg.es.js +0 -35
- package/dist/chunks/useFocusRing-updnkDQg.es.js.map +0 -1
- package/dist/chunks/useFocusVisible-CWDaG0ze.es.js +0 -111
- package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +0 -1
- package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js +0 -2
- package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +0 -1
- package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js +0 -2
- package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js.map +0 -1
- package/dist/chunks/useFocusWithin-ByYlHjju.es.js +0 -56
- package/dist/chunks/useFocusWithin-ByYlHjju.es.js.map +0 -1
- package/dist/chunks/useFocusable-CrsD8ZcF.es.js +0 -77
- package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +0 -1
- package/dist/chunks/useFocusable-DCgmQxS1.cjs.js +0 -2
- package/dist/chunks/useFocusable-DCgmQxS1.cjs.js.map +0 -1
- package/dist/chunks/useFormReset-DurgUJL-.es.js +0 -21
- package/dist/chunks/useFormReset-DurgUJL-.es.js.map +0 -1
- package/dist/chunks/useFormValidation-4hZ1_a6w.es.js +0 -202
- package/dist/chunks/useFormValidation-4hZ1_a6w.es.js.map +0 -1
- package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js +0 -2
- package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js.map +0 -1
- package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js +0 -598
- package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js.map +0 -1
- package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js +0 -2
- package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map +0 -1
- package/dist/chunks/useHover-CiP9jMFy.cjs.js +0 -2
- package/dist/chunks/useHover-CiP9jMFy.cjs.js.map +0 -1
- package/dist/chunks/useHover-DhoE75lX.es.js +0 -86
- package/dist/chunks/useHover-DhoE75lX.es.js.map +0 -1
- package/dist/chunks/useLabel-BBmkkrPP.es.js +0 -37
- package/dist/chunks/useLabel-BBmkkrPP.es.js.map +0 -1
- package/dist/chunks/useLabel-Y8tWagLu.cjs.js +0 -2
- package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +0 -1
- package/dist/chunks/usePress-C8-hLXJw.cjs.js +0 -8
- package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +0 -1
- package/dist/chunks/usePress-DHhWHfMz.es.js +0 -456
- package/dist/chunks/usePress-DHhWHfMz.es.js.map +0 -1
- package/dist/chunks/useProgressBar-DHFmTHqL.es.js +0 -48
- package/dist/chunks/useProgressBar-DHFmTHqL.es.js.map +0 -1
- package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js +0 -2
- package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js.map +0 -1
- package/dist/chunks/useSeparator-B-OtWwE7.cjs.js +0 -2
- package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +0 -1
- package/dist/chunks/useSeparator-Dg70ACBm.es.js +0 -19
- package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js +0 -35
- package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js +0 -2
- package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js.map +0 -1
- package/dist/chunks/useSpinButton-C9DPDo0r.es.js +0 -433
- package/dist/chunks/useSpinButton-C9DPDo0r.es.js.map +0 -1
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js +0 -13
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +0 -1
- package/dist/chunks/useTextField-BcthGRd8.cjs.js +0 -2
- package/dist/chunks/useTextField-BcthGRd8.cjs.js.map +0 -1
- package/dist/chunks/useTextField-BnL6tOdd.es.js +0 -91
- package/dist/chunks/useTextField-BnL6tOdd.es.js.map +0 -1
- package/dist/chunks/useToggle-DqruaaTq.es.js +0 -62
- package/dist/chunks/useToggle-DqruaaTq.es.js.map +0 -1
- package/dist/chunks/useToggle-VJWgbeCC.cjs.js +0 -2
- package/dist/chunks/useToggle-VJWgbeCC.cjs.js.map +0 -1
- package/dist/chunks/useToolbar-Bqn3EANT.cjs.js +0 -2
- package/dist/chunks/useToolbar-Bqn3EANT.cjs.js.map +0 -1
- package/dist/chunks/useToolbar-CLH6Sjes.es.js +0 -55
- package/dist/chunks/useToolbar-CLH6Sjes.es.js.map +0 -1
- package/dist/chunks/utils-BGHwK7fd.cjs.js +0 -2
- package/dist/chunks/utils-BGHwK7fd.cjs.js.map +0 -1
- package/dist/chunks/utils-BkdW_cdL.es.js +0 -128
- package/dist/chunks/utils-BkdW_cdL.es.js.map +0 -1
- package/dist/chunks/utils-jpfA6kxk.es.js +0 -188
- package/dist/chunks/utils-jpfA6kxk.es.js.map +0 -1
- package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js +0 -2
- package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js.map +0 -1
- package/dist/chunks/visually-hidden-BluyWhUI.es.js +0 -11
- package/dist/chunks/visually-hidden-BluyWhUI.es.js.map +0 -1
- package/dist/components/divider.cjs +0 -2
- package/dist/components/divider.cjs.map +0 -1
- package/dist/components/divider.es.js +0 -5
- package/dist/components/divider.es.js.map +0 -1
- package/dist/divider.d.ts +0 -90
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import w, { useContext as R, createContext as S } from "react";
|
|
3
|
+
import { k as v, h as N } from "./Dialog-B2hCMJnM.es.js";
|
|
4
|
+
import { createSlotRecipeContext as O, useSlotRecipe as H, chakra as B } from "@chakra-ui/react/styled-system";
|
|
5
|
+
import { l as m } from "./index-CtB71yr7.es.js";
|
|
6
|
+
import { a as I } from "./Button-CrgZzRm9.es.js";
|
|
7
|
+
import { e as g } from "./extractStyleProps-DYXEhLtq.es.js";
|
|
8
|
+
import { $ as M, a as F } from "./Modal-D91zBjIP.es.js";
|
|
9
|
+
import { H as k } from "./heading-BtazVUd5.es.js";
|
|
10
|
+
import { Close as E } from "@commercetools/nimbus-icons";
|
|
11
|
+
import { defineMessages as V, useIntl as _ } from "react-intl";
|
|
12
|
+
import { I as j } from "./icon-button-9Ni8-hO7.es.js";
|
|
13
|
+
const { withProvider: z, withContext: s } = /* @__PURE__ */ O({
|
|
14
|
+
recipe: m
|
|
15
|
+
}), A = /* @__PURE__ */ z(
|
|
16
|
+
"div",
|
|
17
|
+
"root"
|
|
18
|
+
), K = /* @__PURE__ */ s("button", "trigger"), L = /* @__PURE__ */ s("div", "modalOverlay"), q = /* @__PURE__ */ s("div", "modal"), G = /* @__PURE__ */ s("div", "content"), J = /* @__PURE__ */ s(
|
|
19
|
+
"header",
|
|
20
|
+
"header"
|
|
21
|
+
), Q = /* @__PURE__ */ s(
|
|
22
|
+
"div",
|
|
23
|
+
"body"
|
|
24
|
+
), U = /* @__PURE__ */ s(
|
|
25
|
+
"footer",
|
|
26
|
+
"footer"
|
|
27
|
+
), W = /* @__PURE__ */ s("h2", "title"), X = /* @__PURE__ */ s("div", "closeTrigger"), u = /* @__PURE__ */ S(
|
|
28
|
+
void 0
|
|
29
|
+
), Y = () => {
|
|
30
|
+
const e = R(u);
|
|
31
|
+
if (!e)
|
|
32
|
+
throw new Error("useDrawerContext must be used within Drawer.Root");
|
|
33
|
+
return e;
|
|
34
|
+
}, Z = ({
|
|
35
|
+
children: e,
|
|
36
|
+
value: t
|
|
37
|
+
}) => /* @__PURE__ */ r(u, { value: t, children: e }), D = (e) => {
|
|
38
|
+
const t = H({ recipe: m }), [a] = t.splitVariantProps(e), { children: o, isOpen: n, onOpenChange: i, defaultOpen: f = !1 } = e, d = /* @__PURE__ */ r(A, { ...a, children: o }), p = w.Children.toArray(o).some((l) => {
|
|
39
|
+
if (w.isValidElement(l) && typeof l.type == "function") {
|
|
40
|
+
const c = l.type?.displayName;
|
|
41
|
+
return c === "DrawerTrigger" || c === "Drawer.Trigger";
|
|
42
|
+
}
|
|
43
|
+
return !1;
|
|
44
|
+
});
|
|
45
|
+
return /* @__PURE__ */ r(Z, { value: e, children: p ? (
|
|
46
|
+
// When there's a Drawer.Trigger, use DialogTrigger for React Aria integration
|
|
47
|
+
/* @__PURE__ */ r(
|
|
48
|
+
v,
|
|
49
|
+
{
|
|
50
|
+
isOpen: n,
|
|
51
|
+
onOpenChange: i,
|
|
52
|
+
defaultOpen: f,
|
|
53
|
+
children: d
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
) : (
|
|
57
|
+
// When no Drawer.Trigger, skip DialogTrigger to avoid the warning
|
|
58
|
+
d
|
|
59
|
+
) });
|
|
60
|
+
};
|
|
61
|
+
D.displayName = "Drawer.Root";
|
|
62
|
+
const h = ({
|
|
63
|
+
ref: e,
|
|
64
|
+
children: t,
|
|
65
|
+
asChild: a,
|
|
66
|
+
...o
|
|
67
|
+
}) => {
|
|
68
|
+
if (a)
|
|
69
|
+
return /* @__PURE__ */ r(B.button, { ref: e, asChild: !0, ...o, children: t });
|
|
70
|
+
const [n, i] = g(o);
|
|
71
|
+
return /* @__PURE__ */ r(K, { ...n, asChild: !0, children: /* @__PURE__ */ r(I, { ref: e, ...i, children: t }) });
|
|
72
|
+
};
|
|
73
|
+
h.displayName = "Drawer.Trigger";
|
|
74
|
+
const C = (e) => {
|
|
75
|
+
const { ref: t, children: a, ...o } = e, {
|
|
76
|
+
defaultOpen: n,
|
|
77
|
+
isDismissable: i,
|
|
78
|
+
isKeyboardDismissDisabled: f,
|
|
79
|
+
shouldCloseOnInteractOutside: d,
|
|
80
|
+
isOpen: p,
|
|
81
|
+
onOpenChange: l
|
|
82
|
+
} = Y(), c = {
|
|
83
|
+
defaultOpen: n,
|
|
84
|
+
isDismissable: i,
|
|
85
|
+
isKeyboardDismissDisabled: f,
|
|
86
|
+
shouldCloseOnInteractOutside: d,
|
|
87
|
+
isOpen: p,
|
|
88
|
+
onOpenChange: l
|
|
89
|
+
}, [$] = g(o);
|
|
90
|
+
return /* @__PURE__ */ r(L, { asChild: !0, children: /* @__PURE__ */ r(M, { ...c, children: /* @__PURE__ */ r(q, { asChild: !0, children: /* @__PURE__ */ r(F, { children: /* @__PURE__ */ r(G, { asChild: !0, ...$, children: /* @__PURE__ */ r(N, { ref: t, children: a }) }) }) }) }) });
|
|
91
|
+
};
|
|
92
|
+
C.displayName = "Drawer.Content";
|
|
93
|
+
const y = (e) => {
|
|
94
|
+
const { ref: t, children: a, ...o } = e;
|
|
95
|
+
return /* @__PURE__ */ r(J, { ref: t, ...o, children: a });
|
|
96
|
+
};
|
|
97
|
+
y.displayName = "Drawer.Header";
|
|
98
|
+
const b = (e) => {
|
|
99
|
+
const { ref: t, children: a, ...o } = e;
|
|
100
|
+
return /* @__PURE__ */ r(Q, { ref: t, ...{
|
|
101
|
+
/**
|
|
102
|
+
* Set tabIndex to 0 to allow the body to receive focus,
|
|
103
|
+
* effectively enabling scrolling via keyboard arrow keys.
|
|
104
|
+
*/
|
|
105
|
+
tabIndex: 0
|
|
106
|
+
}, ...o, children: a });
|
|
107
|
+
};
|
|
108
|
+
b.displayName = "Drawer.Body";
|
|
109
|
+
const x = (e) => {
|
|
110
|
+
const { ref: t, children: a, ...o } = e;
|
|
111
|
+
return /* @__PURE__ */ r(U, { ref: t, ...o, children: a });
|
|
112
|
+
};
|
|
113
|
+
x.displayName = "Drawer.Footer";
|
|
114
|
+
const T = (e) => {
|
|
115
|
+
const { ref: t, children: a, ...o } = e;
|
|
116
|
+
return /* @__PURE__ */ r(W, { asChild: !0, ...o, children: /* @__PURE__ */ r(k, { ref: t, slot: "title", as: "h2", textStyle: "lg", children: a }) });
|
|
117
|
+
};
|
|
118
|
+
T.displayName = "Drawer.Title";
|
|
119
|
+
const ee = /* @__PURE__ */ V({
|
|
120
|
+
closeTrigger: {
|
|
121
|
+
id: "Nimbus.Drawer.closeTrigger",
|
|
122
|
+
description: "aria-label for the default close trigger button",
|
|
123
|
+
defaultMessage: "Close drawer"
|
|
124
|
+
}
|
|
125
|
+
}), P = (e) => {
|
|
126
|
+
const { ref: t, "aria-label": a, ...o } = e, n = _();
|
|
127
|
+
return /* @__PURE__ */ r(X, { children: /* @__PURE__ */ r(
|
|
128
|
+
j,
|
|
129
|
+
{
|
|
130
|
+
ref: t,
|
|
131
|
+
slot: "close",
|
|
132
|
+
size: "xs",
|
|
133
|
+
variant: "ghost",
|
|
134
|
+
"aria-label": a || n.formatMessage(ee.closeTrigger),
|
|
135
|
+
...o,
|
|
136
|
+
children: /* @__PURE__ */ r(E, {})
|
|
137
|
+
}
|
|
138
|
+
) });
|
|
139
|
+
};
|
|
140
|
+
P.displayName = "Drawer.CloseTrigger";
|
|
141
|
+
const we = {
|
|
142
|
+
/**
|
|
143
|
+
* # Drawer.Root
|
|
144
|
+
*
|
|
145
|
+
* The root component that provides context and state management for the drawer.
|
|
146
|
+
* Handles accessibility and keyboard interaction.
|
|
147
|
+
*
|
|
148
|
+
* This component must wrap all drawer parts (Trigger, Content, etc.) and provides
|
|
149
|
+
* the drawer open/close state and variant styling context.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* ```tsx
|
|
153
|
+
* <Drawer.Root>
|
|
154
|
+
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
155
|
+
* <Drawer.Content>
|
|
156
|
+
* <Drawer.Header>
|
|
157
|
+
* <Drawer.Title>Drawer Title</Drawer.Title>
|
|
158
|
+
* </Drawer.Header>
|
|
159
|
+
* <Drawer.Body>Drawer content</Drawer.Body>
|
|
160
|
+
* </Drawer.Content>
|
|
161
|
+
* </Drawer.Root>
|
|
162
|
+
* ```
|
|
163
|
+
*/
|
|
164
|
+
Root: D,
|
|
165
|
+
/**
|
|
166
|
+
* # Drawer.Trigger
|
|
167
|
+
*
|
|
168
|
+
* The trigger element that opens the drawer when activated.
|
|
169
|
+
* Provides accessibility and keyboard support.
|
|
170
|
+
*
|
|
171
|
+
* @example
|
|
172
|
+
* ```tsx
|
|
173
|
+
* <Drawer.Root>
|
|
174
|
+
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
175
|
+
* <Drawer.Content>...</Drawer.Content>
|
|
176
|
+
* </Drawer.Root>
|
|
177
|
+
* ```
|
|
178
|
+
*/
|
|
179
|
+
Trigger: h,
|
|
180
|
+
/**
|
|
181
|
+
* # Drawer.Content
|
|
182
|
+
*
|
|
183
|
+
* The main drawer content container that handles portalling, backdrop,
|
|
184
|
+
* positioning, and content styling.
|
|
185
|
+
*
|
|
186
|
+
* This component creates the drawer overlay, positions the content, and provides
|
|
187
|
+
* accessibility features like focus management and keyboard dismissal.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* ```tsx
|
|
191
|
+
* <Drawer.Root>
|
|
192
|
+
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
193
|
+
* <Drawer.Content size="md" placement="center">
|
|
194
|
+
* <Drawer.Header>
|
|
195
|
+
* <Drawer.Title>Title</Drawer.Title>
|
|
196
|
+
* </Drawer.Header>
|
|
197
|
+
* <Drawer.Body>Content</Drawer.Body>
|
|
198
|
+
* <Drawer.Footer>Actions</Drawer.Footer>
|
|
199
|
+
* </Drawer.Content>
|
|
200
|
+
* </Drawer.Root>
|
|
201
|
+
* ```
|
|
202
|
+
*/
|
|
203
|
+
Content: C,
|
|
204
|
+
/**
|
|
205
|
+
* # Drawer.Header
|
|
206
|
+
*
|
|
207
|
+
* The header section of the drawer content.
|
|
208
|
+
* Typically contains the title and close button.
|
|
209
|
+
*
|
|
210
|
+
* @example
|
|
211
|
+
* ```tsx
|
|
212
|
+
* <Drawer.Content>
|
|
213
|
+
* <Drawer.Header>
|
|
214
|
+
* <Drawer.Title>Drawer Title</Drawer.Title>
|
|
215
|
+
* <Drawer.CloseTrigger />
|
|
216
|
+
* </Drawer.Header>
|
|
217
|
+
* <Drawer.Body>...</Drawer.Body>
|
|
218
|
+
* </Drawer.Content>
|
|
219
|
+
* ```
|
|
220
|
+
*/
|
|
221
|
+
Header: y,
|
|
222
|
+
/**
|
|
223
|
+
* # Drawer.Body
|
|
224
|
+
*
|
|
225
|
+
* The main body content section of the drawer.
|
|
226
|
+
* Contains the primary drawer content and handles overflow/scrolling.
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* ```tsx
|
|
230
|
+
* <Drawer.Content>
|
|
231
|
+
* <Drawer.Header>...</Drawer.Header>
|
|
232
|
+
* <Drawer.Body>
|
|
233
|
+
* <p>This is the main content of the drawer.</p>
|
|
234
|
+
* </Drawer.Body>
|
|
235
|
+
* <Drawer.Footer>...</Drawer.Footer>
|
|
236
|
+
* </Drawer.Content>
|
|
237
|
+
* ```
|
|
238
|
+
*/
|
|
239
|
+
Body: b,
|
|
240
|
+
/**
|
|
241
|
+
* # Drawer.Footer
|
|
242
|
+
*
|
|
243
|
+
* The footer section of the drawer, typically containing action buttons.
|
|
244
|
+
* Provides consistent spacing and alignment for drawer actions.
|
|
245
|
+
*
|
|
246
|
+
* @example
|
|
247
|
+
* ```tsx
|
|
248
|
+
* <Drawer.Content>
|
|
249
|
+
* <Drawer.Header>...</Drawer.Header>
|
|
250
|
+
* <Drawer.Body>...</Drawer.Body>
|
|
251
|
+
* <Drawer.Footer>
|
|
252
|
+
* <Button variant="outline">Cancel</Button>
|
|
253
|
+
* <Button>Confirm</Button>
|
|
254
|
+
* </Drawer.Footer>
|
|
255
|
+
* </Drawer.Content>
|
|
256
|
+
* ```
|
|
257
|
+
*/
|
|
258
|
+
Footer: x,
|
|
259
|
+
/**
|
|
260
|
+
* # Drawer.Title
|
|
261
|
+
*
|
|
262
|
+
* The accessible title element for the drawer.
|
|
263
|
+
* Provides proper accessibility and screen reader support.
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* ```tsx
|
|
267
|
+
* <Drawer.Content>
|
|
268
|
+
* <Drawer.Header>
|
|
269
|
+
* <Drawer.Title>Confirm Action</Drawer.Title>
|
|
270
|
+
* </Drawer.Header>
|
|
271
|
+
* <Drawer.Body>...</Drawer.Body>
|
|
272
|
+
* </Drawer.Content>
|
|
273
|
+
* ```
|
|
274
|
+
*/
|
|
275
|
+
Title: T,
|
|
276
|
+
/**
|
|
277
|
+
* # Drawer.CloseTrigger
|
|
278
|
+
*
|
|
279
|
+
* A button that closes the drawer when activated.
|
|
280
|
+
* Displays an IconButton with a close (X) icon by default.
|
|
281
|
+
*
|
|
282
|
+
* The component automatically handles the close behavior,
|
|
283
|
+
* so no additional onPress handler is needed.
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* ```tsx
|
|
287
|
+
* <Drawer.Root>
|
|
288
|
+
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
289
|
+
* <Drawer.Content>
|
|
290
|
+
* <Drawer.Header>
|
|
291
|
+
* <Drawer.Title>Title</Drawer.Title>
|
|
292
|
+
* <Drawer.CloseTrigger aria-label="Close drawer" />
|
|
293
|
+
* </Drawer.Header>
|
|
294
|
+
* <Drawer.Body>Content</Drawer.Body>
|
|
295
|
+
* </Drawer.Content>
|
|
296
|
+
* </Drawer.Root>
|
|
297
|
+
* ```
|
|
298
|
+
*/
|
|
299
|
+
CloseTrigger: P
|
|
300
|
+
};
|
|
301
|
+
export {
|
|
302
|
+
we as D
|
|
303
|
+
};
|
|
304
|
+
//# sourceMappingURL=drawer-DKF34Nfc.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer-DKF34Nfc.es.js","sources":["../../src/components/drawer/drawer.slots.tsx","../../src/components/drawer/components/drawer.context.tsx","../../src/components/drawer/components/drawer.root.tsx","../../src/components/drawer/components/drawer.trigger.tsx","../../src/components/drawer/components/drawer.content.tsx","../../src/components/drawer/components/drawer.header.tsx","../../src/components/drawer/components/drawer.body.tsx","../../src/components/drawer/components/drawer.footer.tsx","../../src/components/drawer/components/drawer.title.tsx","../../src/components/drawer/drawer.i18n.ts","../../src/components/drawer/components/drawer.close-trigger.tsx","../../src/components/drawer/drawer.tsx"],"sourcesContent":["import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react/styled-system\";\nimport { drawerSlotRecipe } from \"./drawer.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: drawerSlotRecipe,\n});\n\n// Root slot - provides recipe context + config to all child components\nexport type DrawerRootSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerRootSlot = withProvider<HTMLDivElement, DrawerRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Trigger slot - button that opens the drawer\nexport type DrawerTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const DrawerTriggerSlot = withContext<\n HTMLButtonElement,\n DrawerTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Backdrop slot - overlay displayed behind the drawer\nexport type DrawerModalOverlaySlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerModalOverlaySlot = withContext<\n HTMLDivElement,\n DrawerModalOverlaySlotProps\n>(\"div\", \"modalOverlay\");\n\n// modal slot - positions the drawer content\nexport type DrawerModalSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerModalSlot = withContext<\n HTMLDivElement,\n DrawerModalSlotProps\n>(\"div\", \"modal\");\n\n// Content slot - main drawer container\nexport type DrawerContentSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerContentSlot = withContext<\n HTMLDivElement,\n DrawerContentSlotProps\n>(\"div\", \"content\");\n\n// Header slot - drawer header section\nexport type DrawerHeaderSlotProps = HTMLChakraProps<\"header\">;\nexport const DrawerHeaderSlot = withContext<HTMLElement, DrawerHeaderSlotProps>(\n \"header\",\n \"header\"\n);\n\n// Body slot - drawer body content\nexport type DrawerBodySlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerBodySlot = withContext<HTMLDivElement, DrawerBodySlotProps>(\n \"div\",\n \"body\"\n);\n\n// Footer slot - drawer footer section with actions\nexport type DrawerFooterSlotProps = HTMLChakraProps<\"footer\">;\nexport const DrawerFooterSlot = withContext<HTMLElement, DrawerFooterSlotProps>(\n \"footer\",\n \"footer\"\n);\n\n// Title slot - accessible drawer title\nexport type DrawerTitleSlotProps = HTMLChakraProps<\"h2\">;\nexport const DrawerTitleSlot = withContext<\n HTMLHeadingElement,\n DrawerTitleSlotProps\n>(\"h2\", \"title\");\n\n// Close trigger slot - div container for positioning close button\nexport type DrawerCloseTriggerSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerCloseTriggerSlot = withContext<\n HTMLDivElement,\n DrawerCloseTriggerSlotProps\n>(\"div\", \"closeTrigger\");\n","import { createContext, useContext } from \"react\";\nimport type { DrawerRootProps } from \"../drawer.types\";\n\n/**\n * Context value containing drawer configuration passed from Root to child components\n */\nexport type DrawerContextValue = DrawerRootProps;\n\nexport const DrawerContext = createContext<DrawerContextValue | undefined>(\n undefined\n);\n\n/**\n * Hook to access drawer configuration from DrawerContext\n * @returns Drawer configuration from context\n * @throws Error if used outside of Drawer.Root\n */\nexport const useDrawerRootContext = (): DrawerContextValue => {\n const context = useContext(DrawerContext);\n if (!context) {\n throw new Error(\"useDrawerContext must be used within Drawer.Root\");\n }\n return context;\n};\n\n/**\n * Provider component that passes drawer configuration down to child components\n */\nexport const DrawerProvider = ({\n children,\n value,\n}: {\n children: React.ReactNode;\n value: DrawerContextValue;\n}) => {\n return <DrawerContext value={value}>{children}</DrawerContext>;\n};\n","import React from \"react\";\nimport { DialogTrigger as RaDialogTrigger } from \"react-aria-components\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { DrawerRootSlot } from \"../drawer.slots\";\nimport type { DrawerRootProps } from \"../drawer.types\";\nimport { DrawerProvider } from \"./drawer.context\";\nimport { drawerSlotRecipe } from \"../drawer.recipe\";\n\nexport const DrawerRoot = (props: DrawerRootProps) => {\n const recipe = useSlotRecipe({ recipe: drawerSlotRecipe });\n // Extract recipe props\n const [recipeProps] = recipe.splitVariantProps(props);\n // Extract props that are usable on RaDialogTrigger\n const { children, isOpen, onOpenChange, defaultOpen = false } = props;\n\n const content = <DrawerRootSlot {...recipeProps}>{children}</DrawerRootSlot>;\n\n // Check if any child is a Drawer.Trigger component\n // React Aria's DialogTrigger needs a pressable child, so we only use it when there's a trigger\n const hasDrawerTrigger = React.Children.toArray(children).some((child) => {\n if (React.isValidElement(child) && typeof child.type === \"function\") {\n const displayName = (\n child.type as React.ComponentType & { displayName?: string }\n )?.displayName;\n return (\n displayName === \"DrawerTrigger\" || displayName === \"Drawer.Trigger\"\n );\n }\n return false;\n });\n\n // Share all props (config + variant props) with the Drawer subcomponents\n return (\n <DrawerProvider value={props}>\n {hasDrawerTrigger ? (\n // When there's a Drawer.Trigger, use DialogTrigger for React Aria integration\n <RaDialogTrigger\n isOpen={isOpen}\n onOpenChange={onOpenChange}\n defaultOpen={defaultOpen}\n >\n {content}\n </RaDialogTrigger>\n ) : (\n // When no Drawer.Trigger, skip DialogTrigger to avoid the warning\n content\n )}\n </DrawerProvider>\n );\n};\n\nDrawerRoot.displayName = \"Drawer.Root\";\n","import { Button as RaButton } from \"react-aria-components\";\nimport { DrawerTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerTriggerProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { chakra } from \"@chakra-ui/react/styled-system\";\n\nexport const DrawerTrigger = ({\n ref: forwardedRef,\n children,\n asChild,\n ...props\n}: DrawerTriggerProps) => {\n // If asChild is true, wrap children directly in RaButton with asChild\n if (asChild) {\n return (\n <chakra.button ref={forwardedRef} asChild {...props}>\n {children}\n </chakra.button>\n );\n }\n\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Otherwise, wrap with both DrawerTriggerSlot and RaButton\n // Only pass React Aria compatible props to avoid type conflicts\n return (\n <DrawerTriggerSlot {...styleProps} asChild>\n <RaButton ref={forwardedRef} {...restProps}>\n {children}\n </RaButton>\n </DrawerTriggerSlot>\n );\n};\n\nDrawerTrigger.displayName = \"Drawer.Trigger\";\n","import {\n Modal as RaModal,\n ModalOverlay as RaModalOverlay,\n Dialog as RaDialog,\n} from \"react-aria-components\";\nimport {\n DrawerModalOverlaySlot,\n DrawerModalSlot,\n DrawerContentSlot,\n} from \"../drawer.slots\";\nimport type { DrawerContentProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { useDrawerRootContext } from \"./drawer.context\";\n\nexport const DrawerContent = (props: DrawerContentProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n // Get recipe configuration from context instead of props\n const {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n } = useDrawerRootContext();\n\n const modalProps = {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n };\n\n const [styleProps] = extractStyleProps(restProps);\n\n return (\n <DrawerModalOverlaySlot asChild>\n <RaModalOverlay {...modalProps}>\n <DrawerModalSlot asChild>\n <RaModal>\n <DrawerContentSlot asChild {...styleProps}>\n <RaDialog ref={forwardedRef}>{children}</RaDialog>\n </DrawerContentSlot>\n </RaModal>\n </DrawerModalSlot>\n </RaModalOverlay>\n </DrawerModalOverlaySlot>\n );\n};\n\nDrawerContent.displayName = \"Drawer.Content\";\n","import { DrawerHeaderSlot } from \"../drawer.slots\";\nimport type { DrawerHeaderProps } from \"../drawer.types\";\n\nexport const DrawerHeader = (props: DrawerHeaderProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerHeaderSlot ref={forwardedRef} {...restProps}>\n {children}\n </DrawerHeaderSlot>\n );\n};\n\nDrawerHeader.displayName = \"Drawer.Header\";\n","import { DrawerBodySlot } from \"../drawer.slots\";\nimport type { DrawerBodyProps } from \"../drawer.types\";\n\nexport const DrawerBody = (props: DrawerBodyProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n const defaultProps = {\n /**\n * Set tabIndex to 0 to allow the body to receive focus,\n * effectively enabling scrolling via keyboard arrow keys.\n */\n tabIndex: 0,\n };\n\n return (\n <DrawerBodySlot ref={forwardedRef} {...defaultProps} {...restProps}>\n {children}\n </DrawerBodySlot>\n );\n};\n\nDrawerBody.displayName = \"Drawer.Body\";\n","import { DrawerFooterSlot } from \"../drawer.slots\";\nimport type { DrawerFooterProps } from \"../drawer.types\";\n\nexport const DrawerFooter = (props: DrawerFooterProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerFooterSlot ref={forwardedRef} {...restProps}>\n {children}\n </DrawerFooterSlot>\n );\n};\n\nDrawerFooter.displayName = \"Drawer.Footer\";\n","import { DrawerTitleSlot } from \"../drawer.slots\";\nimport type { DrawerTitleProps } from \"../drawer.types\";\nimport { Heading } from \"@/components\";\n\nexport const DrawerTitle = (props: DrawerTitleProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerTitleSlot asChild {...restProps}>\n <Heading ref={forwardedRef} slot=\"title\" as=\"h2\" textStyle=\"lg\">\n {children}\n </Heading>\n </DrawerTitleSlot>\n );\n};\n\nDrawerTitle.displayName = \"Drawer.Title\";\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n closeTrigger: {\n id: \"Nimbus.Drawer.closeTrigger\",\n description: \"aria-label for the default close trigger button\",\n defaultMessage: \"Close drawer\",\n },\n});\n","import { Close } from \"@commercetools/nimbus-icons\";\nimport { DrawerCloseTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerCloseTriggerProps } from \"../drawer.types\";\nimport { IconButton } from \"@/components\";\nimport { messages } from \"../drawer.i18n\";\nimport { useIntl } from \"react-intl\";\n\nexport const DrawerCloseTrigger = (props: DrawerCloseTriggerProps) => {\n const { ref: forwardedRef, \"aria-label\": ariaLabel, ...restProps } = props;\n const intl = useIntl();\n\n return (\n <DrawerCloseTriggerSlot>\n <IconButton\n ref={forwardedRef}\n slot=\"close\"\n size=\"xs\"\n variant=\"ghost\"\n aria-label={ariaLabel || intl.formatMessage(messages.closeTrigger)}\n {...restProps}\n >\n <Close />\n </IconButton>\n </DrawerCloseTriggerSlot>\n );\n};\n\nDrawerCloseTrigger.displayName = \"Drawer.CloseTrigger\";\n","import { DrawerRoot } from \"./components/drawer.root\";\nimport { DrawerTrigger } from \"./components/drawer.trigger\";\nimport { DrawerContent } from \"./components/drawer.content\";\nimport { DrawerHeader } from \"./components/drawer.header\";\nimport { DrawerBody } from \"./components/drawer.body\";\nimport { DrawerFooter } from \"./components/drawer.footer\";\nimport { DrawerTitle } from \"./components/drawer.title\";\nimport { DrawerCloseTrigger } from \"./components/drawer.close-trigger\";\n\n/**\n * Drawer\n * ============================================================\n * A foundational drawer component for overlays that require user attention.\n * Built for accessibility and WCAG 2.1 AA compliance.\n *\n * Features:\n * - Controlled and uncontrolled modes\n * - Customizable placement, size, and animations\n * - Focus management and keyboard navigation\n * - Click-outside and Escape key dismissal\n * - Portal rendering support\n * - Backdrop overlay with animations\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content size=\"md\" placement=\"center\">\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * <Drawer.CloseTrigger>×</Drawer.CloseTrigger>\n * </Drawer.Header>\n * <Drawer.Body>\n * Drawer content goes here\n * </Drawer.Body>\n * <Drawer.Footer>\n * <button>Cancel</button>\n * <button>Save</button>\n * </Drawer.Footer>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n * @see https://nimbus-documentation.vercel.app/components/feedback/drawer\n */\nexport const Drawer = {\n /**\n * # Drawer.Root\n *\n * The root component that provides context and state management for the drawer.\n * Handles accessibility and keyboard interaction.\n *\n * This component must wrap all drawer parts (Trigger, Content, etc.) and provides\n * the drawer open/close state and variant styling context.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>Drawer content</Drawer.Body>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Root: DrawerRoot,\n /**\n * # Drawer.Trigger\n *\n * The trigger element that opens the drawer when activated.\n * Provides accessibility and keyboard support.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>...</Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Trigger: DrawerTrigger,\n /**\n * # Drawer.Content\n *\n * The main drawer content container that handles portalling, backdrop,\n * positioning, and content styling.\n *\n * This component creates the drawer overlay, positions the content, and provides\n * accessibility features like focus management and keyboard dismissal.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content size=\"md\" placement=\"center\">\n * <Drawer.Header>\n * <Drawer.Title>Title</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>Content</Drawer.Body>\n * <Drawer.Footer>Actions</Drawer.Footer>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Content: DrawerContent,\n /**\n * # Drawer.Header\n *\n * The header section of the drawer content.\n * Typically contains the title and close button.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * <Drawer.CloseTrigger />\n * </Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * </Drawer.Content>\n * ```\n */\n Header: DrawerHeader,\n /**\n * # Drawer.Body\n *\n * The main body content section of the drawer.\n * Contains the primary drawer content and handles overflow/scrolling.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>...</Drawer.Header>\n * <Drawer.Body>\n * <p>This is the main content of the drawer.</p>\n * </Drawer.Body>\n * <Drawer.Footer>...</Drawer.Footer>\n * </Drawer.Content>\n * ```\n */\n Body: DrawerBody,\n /**\n * # Drawer.Footer\n *\n * The footer section of the drawer, typically containing action buttons.\n * Provides consistent spacing and alignment for drawer actions.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>...</Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * <Drawer.Footer>\n * <Button variant=\"outline\">Cancel</Button>\n * <Button>Confirm</Button>\n * </Drawer.Footer>\n * </Drawer.Content>\n * ```\n */\n Footer: DrawerFooter,\n /**\n * # Drawer.Title\n *\n * The accessible title element for the drawer.\n * Provides proper accessibility and screen reader support.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Confirm Action</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * </Drawer.Content>\n * ```\n */\n Title: DrawerTitle,\n /**\n * # Drawer.CloseTrigger\n *\n * A button that closes the drawer when activated.\n * Displays an IconButton with a close (X) icon by default.\n *\n * The component automatically handles the close behavior,\n * so no additional onPress handler is needed.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Title</Drawer.Title>\n * <Drawer.CloseTrigger aria-label=\"Close drawer\" />\n * </Drawer.Header>\n * <Drawer.Body>Content</Drawer.Body>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n CloseTrigger: DrawerCloseTrigger,\n};\n\n// Internal exports for react-docgen\nexport {\n DrawerRoot as _DrawerRoot,\n DrawerTrigger as _DrawerTrigger,\n DrawerContent as _DrawerContent,\n DrawerHeader as _DrawerHeader,\n DrawerBody as _DrawerBody,\n DrawerFooter as _DrawerFooter,\n DrawerTitle as _DrawerTitle,\n DrawerCloseTrigger as _DrawerCloseTrigger,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","drawerSlotRecipe","DrawerRootSlot","DrawerTriggerSlot","DrawerModalOverlaySlot","DrawerModalSlot","DrawerContentSlot","DrawerHeaderSlot","DrawerBodySlot","DrawerFooterSlot","DrawerTitleSlot","DrawerCloseTriggerSlot","DrawerContext","createContext","useDrawerRootContext","context","useContext","DrawerProvider","children","value","jsx","DrawerRoot","props","recipe","useSlotRecipe","recipeProps","isOpen","onOpenChange","defaultOpen","content","hasDrawerTrigger","React","child","displayName","RaDialogTrigger","DrawerTrigger","forwardedRef","asChild","chakra","styleProps","restProps","extractStyleProps","RaButton","DrawerContent","isDismissable","isKeyboardDismissDisabled","shouldCloseOnInteractOutside","modalProps","RaModalOverlay","RaModal","RaDialog","DrawerHeader","DrawerBody","DrawerFooter","DrawerTitle","Heading","messages","defineMessages","DrawerCloseTrigger","ariaLabel","intl","useIntl","IconButton","Close","Drawer"],"mappings":"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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),u=require("react"),x=require("./Dialog-XGXh4NXU.cjs.js"),g=require("@chakra-ui/react/styled-system"),D=require("./index-CRFg4Mhx.cjs.js"),q=require("./Button-CFZnLKVR.cjs.js"),h=require("./extractStyleProps-Dk3fpLyQ.cjs.js"),p=require("./Modal-CVOcKPNx.cjs.js"),N=require("./heading-BTacGwo9.cjs.js"),O=require("@commercetools/nimbus-icons"),y=require("react-intl"),B=require("./icon-button-vWPrT-bR.cjs.js"),{withProvider:I,withContext:a}=g.createSlotRecipeContext({recipe:D.drawerSlotRecipe}),M=I("div","root"),H=a("button","trigger"),F=a("div","modalOverlay"),E=a("div","modal"),V=a("div","content"),k=a("header","header"),z=a("div","body"),A=a("footer","footer"),K=a("h2","title"),L=a("div","closeTrigger"),C=u.createContext(void 0),G=()=>{const e=u.useContext(C);if(!e)throw new Error("useDrawerContext must be used within Drawer.Root");return e},J=({children:e,value:t})=>r.jsx(C,{value:t,children:e}),m=e=>{const t=g.useSlotRecipe({recipe:D.drawerSlotRecipe}),[s]=t.splitVariantProps(e),{children:o,isOpen:n,onOpenChange:i,defaultOpen:f=!1}=e,l=r.jsx(M,{...s,children:o}),w=u.Children.toArray(o).some(c=>{if(u.isValidElement(c)&&typeof c.type=="function"){const d=c.type?.displayName;return d==="DrawerTrigger"||d==="Drawer.Trigger"}return!1});return r.jsx(J,{value:e,children:w?r.jsx(x.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:n,onOpenChange:i,defaultOpen:f,children:l}):l})};m.displayName="Drawer.Root";const b=({ref:e,children:t,asChild:s,...o})=>{if(s)return r.jsx(g.chakra.button,{ref:e,asChild:!0,...o,children:t});const[n,i]=h.extractStyleProps(o);return r.jsx(H,{...n,asChild:!0,children:r.jsx(q.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{ref:e,...i,children:t})})};b.displayName="Drawer.Trigger";const j=e=>{const{ref:t,children:s,...o}=e,{defaultOpen:n,isDismissable:i,isKeyboardDismissDisabled:f,shouldCloseOnInteractOutside:l,isOpen:w,onOpenChange:c}=G(),d={defaultOpen:n,isDismissable:i,isKeyboardDismissDisabled:f,shouldCloseOnInteractOutside:l,isOpen:w,onOpenChange:c},[v]=h.extractStyleProps(o);return r.jsx(F,{asChild:!0,children:r.jsx(p.$f3f84453ead64de5$export$8948f78d83984c69,{...d,children:r.jsx(E,{asChild:!0,children:r.jsx(p.$f3f84453ead64de5$export$2b77a92f1a5ad772,{children:r.jsx(V,{asChild:!0,...v,children:r.jsx(x.$de32f1b87079253c$export$3ddf2d174ce01153,{ref:t,children:s})})})})})})};j.displayName="Drawer.Content";const S=e=>{const{ref:t,children:s,...o}=e;return r.jsx(k,{ref:t,...o,children:s})};S.displayName="Drawer.Header";const T=e=>{const{ref:t,children:s,...o}=e,n={tabIndex:0};return r.jsx(z,{ref:t,...n,...o,children:s})};T.displayName="Drawer.Body";const P=e=>{const{ref:t,children:s,...o}=e;return r.jsx(A,{ref:t,...o,children:s})};P.displayName="Drawer.Footer";const R=e=>{const{ref:t,children:s,...o}=e;return r.jsx(K,{asChild:!0,...o,children:r.jsx(N.Heading,{ref:t,slot:"title",as:"h2",textStyle:"lg",children:s})})};R.displayName="Drawer.Title";const Q=y.defineMessages({closeTrigger:{id:"Nimbus.Drawer.closeTrigger",description:"aria-label for the default close trigger button",defaultMessage:"Close drawer"}}),$=e=>{const{ref:t,"aria-label":s,...o}=e,n=y.useIntl();return r.jsx(L,{children:r.jsx(B.IconButton,{ref:t,slot:"close",size:"xs",variant:"ghost","aria-label":s||n.formatMessage(Q.closeTrigger),...o,children:r.jsx(O.Close,{})})})};$.displayName="Drawer.CloseTrigger";const U={Root:m,Trigger:b,Content:j,Header:S,Body:T,Footer:P,Title:R,CloseTrigger:$};exports.Drawer=U;
|
|
2
|
+
//# sourceMappingURL=drawer-DzW9wBMk.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer-DzW9wBMk.cjs.js","sources":["../../src/components/drawer/drawer.slots.tsx","../../src/components/drawer/components/drawer.context.tsx","../../src/components/drawer/components/drawer.root.tsx","../../src/components/drawer/components/drawer.trigger.tsx","../../src/components/drawer/components/drawer.content.tsx","../../src/components/drawer/components/drawer.header.tsx","../../src/components/drawer/components/drawer.body.tsx","../../src/components/drawer/components/drawer.footer.tsx","../../src/components/drawer/components/drawer.title.tsx","../../src/components/drawer/drawer.i18n.ts","../../src/components/drawer/components/drawer.close-trigger.tsx","../../src/components/drawer/drawer.tsx"],"sourcesContent":["import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react/styled-system\";\nimport { drawerSlotRecipe } from \"./drawer.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: drawerSlotRecipe,\n});\n\n// Root slot - provides recipe context + config to all child components\nexport type DrawerRootSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerRootSlot = withProvider<HTMLDivElement, DrawerRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Trigger slot - button that opens the drawer\nexport type DrawerTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const DrawerTriggerSlot = withContext<\n HTMLButtonElement,\n DrawerTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Backdrop slot - overlay displayed behind the drawer\nexport type DrawerModalOverlaySlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerModalOverlaySlot = withContext<\n HTMLDivElement,\n DrawerModalOverlaySlotProps\n>(\"div\", \"modalOverlay\");\n\n// modal slot - positions the drawer content\nexport type DrawerModalSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerModalSlot = withContext<\n HTMLDivElement,\n DrawerModalSlotProps\n>(\"div\", \"modal\");\n\n// Content slot - main drawer container\nexport type DrawerContentSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerContentSlot = withContext<\n HTMLDivElement,\n DrawerContentSlotProps\n>(\"div\", \"content\");\n\n// Header slot - drawer header section\nexport type DrawerHeaderSlotProps = HTMLChakraProps<\"header\">;\nexport const DrawerHeaderSlot = withContext<HTMLElement, DrawerHeaderSlotProps>(\n \"header\",\n \"header\"\n);\n\n// Body slot - drawer body content\nexport type DrawerBodySlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerBodySlot = withContext<HTMLDivElement, DrawerBodySlotProps>(\n \"div\",\n \"body\"\n);\n\n// Footer slot - drawer footer section with actions\nexport type DrawerFooterSlotProps = HTMLChakraProps<\"footer\">;\nexport const DrawerFooterSlot = withContext<HTMLElement, DrawerFooterSlotProps>(\n \"footer\",\n \"footer\"\n);\n\n// Title slot - accessible drawer title\nexport type DrawerTitleSlotProps = HTMLChakraProps<\"h2\">;\nexport const DrawerTitleSlot = withContext<\n HTMLHeadingElement,\n DrawerTitleSlotProps\n>(\"h2\", \"title\");\n\n// Close trigger slot - div container for positioning close button\nexport type DrawerCloseTriggerSlotProps = HTMLChakraProps<\"div\">;\nexport const DrawerCloseTriggerSlot = withContext<\n HTMLDivElement,\n DrawerCloseTriggerSlotProps\n>(\"div\", \"closeTrigger\");\n","import { createContext, useContext } from \"react\";\nimport type { DrawerRootProps } from \"../drawer.types\";\n\n/**\n * Context value containing drawer configuration passed from Root to child components\n */\nexport type DrawerContextValue = DrawerRootProps;\n\nexport const DrawerContext = createContext<DrawerContextValue | undefined>(\n undefined\n);\n\n/**\n * Hook to access drawer configuration from DrawerContext\n * @returns Drawer configuration from context\n * @throws Error if used outside of Drawer.Root\n */\nexport const useDrawerRootContext = (): DrawerContextValue => {\n const context = useContext(DrawerContext);\n if (!context) {\n throw new Error(\"useDrawerContext must be used within Drawer.Root\");\n }\n return context;\n};\n\n/**\n * Provider component that passes drawer configuration down to child components\n */\nexport const DrawerProvider = ({\n children,\n value,\n}: {\n children: React.ReactNode;\n value: DrawerContextValue;\n}) => {\n return <DrawerContext value={value}>{children}</DrawerContext>;\n};\n","import React from \"react\";\nimport { DialogTrigger as RaDialogTrigger } from \"react-aria-components\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { DrawerRootSlot } from \"../drawer.slots\";\nimport type { DrawerRootProps } from \"../drawer.types\";\nimport { DrawerProvider } from \"./drawer.context\";\nimport { drawerSlotRecipe } from \"../drawer.recipe\";\n\nexport const DrawerRoot = (props: DrawerRootProps) => {\n const recipe = useSlotRecipe({ recipe: drawerSlotRecipe });\n // Extract recipe props\n const [recipeProps] = recipe.splitVariantProps(props);\n // Extract props that are usable on RaDialogTrigger\n const { children, isOpen, onOpenChange, defaultOpen = false } = props;\n\n const content = <DrawerRootSlot {...recipeProps}>{children}</DrawerRootSlot>;\n\n // Check if any child is a Drawer.Trigger component\n // React Aria's DialogTrigger needs a pressable child, so we only use it when there's a trigger\n const hasDrawerTrigger = React.Children.toArray(children).some((child) => {\n if (React.isValidElement(child) && typeof child.type === \"function\") {\n const displayName = (\n child.type as React.ComponentType & { displayName?: string }\n )?.displayName;\n return (\n displayName === \"DrawerTrigger\" || displayName === \"Drawer.Trigger\"\n );\n }\n return false;\n });\n\n // Share all props (config + variant props) with the Drawer subcomponents\n return (\n <DrawerProvider value={props}>\n {hasDrawerTrigger ? (\n // When there's a Drawer.Trigger, use DialogTrigger for React Aria integration\n <RaDialogTrigger\n isOpen={isOpen}\n onOpenChange={onOpenChange}\n defaultOpen={defaultOpen}\n >\n {content}\n </RaDialogTrigger>\n ) : (\n // When no Drawer.Trigger, skip DialogTrigger to avoid the warning\n content\n )}\n </DrawerProvider>\n );\n};\n\nDrawerRoot.displayName = \"Drawer.Root\";\n","import { Button as RaButton } from \"react-aria-components\";\nimport { DrawerTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerTriggerProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { chakra } from \"@chakra-ui/react/styled-system\";\n\nexport const DrawerTrigger = ({\n ref: forwardedRef,\n children,\n asChild,\n ...props\n}: DrawerTriggerProps) => {\n // If asChild is true, wrap children directly in RaButton with asChild\n if (asChild) {\n return (\n <chakra.button ref={forwardedRef} asChild {...props}>\n {children}\n </chakra.button>\n );\n }\n\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Otherwise, wrap with both DrawerTriggerSlot and RaButton\n // Only pass React Aria compatible props to avoid type conflicts\n return (\n <DrawerTriggerSlot {...styleProps} asChild>\n <RaButton ref={forwardedRef} {...restProps}>\n {children}\n </RaButton>\n </DrawerTriggerSlot>\n );\n};\n\nDrawerTrigger.displayName = \"Drawer.Trigger\";\n","import {\n Modal as RaModal,\n ModalOverlay as RaModalOverlay,\n Dialog as RaDialog,\n} from \"react-aria-components\";\nimport {\n DrawerModalOverlaySlot,\n DrawerModalSlot,\n DrawerContentSlot,\n} from \"../drawer.slots\";\nimport type { DrawerContentProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { useDrawerRootContext } from \"./drawer.context\";\n\nexport const DrawerContent = (props: DrawerContentProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n // Get recipe configuration from context instead of props\n const {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n } = useDrawerRootContext();\n\n const modalProps = {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n };\n\n const [styleProps] = extractStyleProps(restProps);\n\n return (\n <DrawerModalOverlaySlot asChild>\n <RaModalOverlay {...modalProps}>\n <DrawerModalSlot asChild>\n <RaModal>\n <DrawerContentSlot asChild {...styleProps}>\n <RaDialog ref={forwardedRef}>{children}</RaDialog>\n </DrawerContentSlot>\n </RaModal>\n </DrawerModalSlot>\n </RaModalOverlay>\n </DrawerModalOverlaySlot>\n );\n};\n\nDrawerContent.displayName = \"Drawer.Content\";\n","import { DrawerHeaderSlot } from \"../drawer.slots\";\nimport type { DrawerHeaderProps } from \"../drawer.types\";\n\nexport const DrawerHeader = (props: DrawerHeaderProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerHeaderSlot ref={forwardedRef} {...restProps}>\n {children}\n </DrawerHeaderSlot>\n );\n};\n\nDrawerHeader.displayName = \"Drawer.Header\";\n","import { DrawerBodySlot } from \"../drawer.slots\";\nimport type { DrawerBodyProps } from \"../drawer.types\";\n\nexport const DrawerBody = (props: DrawerBodyProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n const defaultProps = {\n /**\n * Set tabIndex to 0 to allow the body to receive focus,\n * effectively enabling scrolling via keyboard arrow keys.\n */\n tabIndex: 0,\n };\n\n return (\n <DrawerBodySlot ref={forwardedRef} {...defaultProps} {...restProps}>\n {children}\n </DrawerBodySlot>\n );\n};\n\nDrawerBody.displayName = \"Drawer.Body\";\n","import { DrawerFooterSlot } from \"../drawer.slots\";\nimport type { DrawerFooterProps } from \"../drawer.types\";\n\nexport const DrawerFooter = (props: DrawerFooterProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerFooterSlot ref={forwardedRef} {...restProps}>\n {children}\n </DrawerFooterSlot>\n );\n};\n\nDrawerFooter.displayName = \"Drawer.Footer\";\n","import { DrawerTitleSlot } from \"../drawer.slots\";\nimport type { DrawerTitleProps } from \"../drawer.types\";\nimport { Heading } from \"@/components\";\n\nexport const DrawerTitle = (props: DrawerTitleProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DrawerTitleSlot asChild {...restProps}>\n <Heading ref={forwardedRef} slot=\"title\" as=\"h2\" textStyle=\"lg\">\n {children}\n </Heading>\n </DrawerTitleSlot>\n );\n};\n\nDrawerTitle.displayName = \"Drawer.Title\";\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n closeTrigger: {\n id: \"Nimbus.Drawer.closeTrigger\",\n description: \"aria-label for the default close trigger button\",\n defaultMessage: \"Close drawer\",\n },\n});\n","import { Close } from \"@commercetools/nimbus-icons\";\nimport { DrawerCloseTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerCloseTriggerProps } from \"../drawer.types\";\nimport { IconButton } from \"@/components\";\nimport { messages } from \"../drawer.i18n\";\nimport { useIntl } from \"react-intl\";\n\nexport const DrawerCloseTrigger = (props: DrawerCloseTriggerProps) => {\n const { ref: forwardedRef, \"aria-label\": ariaLabel, ...restProps } = props;\n const intl = useIntl();\n\n return (\n <DrawerCloseTriggerSlot>\n <IconButton\n ref={forwardedRef}\n slot=\"close\"\n size=\"xs\"\n variant=\"ghost\"\n aria-label={ariaLabel || intl.formatMessage(messages.closeTrigger)}\n {...restProps}\n >\n <Close />\n </IconButton>\n </DrawerCloseTriggerSlot>\n );\n};\n\nDrawerCloseTrigger.displayName = \"Drawer.CloseTrigger\";\n","import { DrawerRoot } from \"./components/drawer.root\";\nimport { DrawerTrigger } from \"./components/drawer.trigger\";\nimport { DrawerContent } from \"./components/drawer.content\";\nimport { DrawerHeader } from \"./components/drawer.header\";\nimport { DrawerBody } from \"./components/drawer.body\";\nimport { DrawerFooter } from \"./components/drawer.footer\";\nimport { DrawerTitle } from \"./components/drawer.title\";\nimport { DrawerCloseTrigger } from \"./components/drawer.close-trigger\";\n\n/**\n * Drawer\n * ============================================================\n * A foundational drawer component for overlays that require user attention.\n * Built for accessibility and WCAG 2.1 AA compliance.\n *\n * Features:\n * - Controlled and uncontrolled modes\n * - Customizable placement, size, and animations\n * - Focus management and keyboard navigation\n * - Click-outside and Escape key dismissal\n * - Portal rendering support\n * - Backdrop overlay with animations\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content size=\"md\" placement=\"center\">\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * <Drawer.CloseTrigger>×</Drawer.CloseTrigger>\n * </Drawer.Header>\n * <Drawer.Body>\n * Drawer content goes here\n * </Drawer.Body>\n * <Drawer.Footer>\n * <button>Cancel</button>\n * <button>Save</button>\n * </Drawer.Footer>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n * @see https://nimbus-documentation.vercel.app/components/feedback/drawer\n */\nexport const Drawer = {\n /**\n * # Drawer.Root\n *\n * The root component that provides context and state management for the drawer.\n * Handles accessibility and keyboard interaction.\n *\n * This component must wrap all drawer parts (Trigger, Content, etc.) and provides\n * the drawer open/close state and variant styling context.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>Drawer content</Drawer.Body>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Root: DrawerRoot,\n /**\n * # Drawer.Trigger\n *\n * The trigger element that opens the drawer when activated.\n * Provides accessibility and keyboard support.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>...</Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Trigger: DrawerTrigger,\n /**\n * # Drawer.Content\n *\n * The main drawer content container that handles portalling, backdrop,\n * positioning, and content styling.\n *\n * This component creates the drawer overlay, positions the content, and provides\n * accessibility features like focus management and keyboard dismissal.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content size=\"md\" placement=\"center\">\n * <Drawer.Header>\n * <Drawer.Title>Title</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>Content</Drawer.Body>\n * <Drawer.Footer>Actions</Drawer.Footer>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n Content: DrawerContent,\n /**\n * # Drawer.Header\n *\n * The header section of the drawer content.\n * Typically contains the title and close button.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Drawer Title</Drawer.Title>\n * <Drawer.CloseTrigger />\n * </Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * </Drawer.Content>\n * ```\n */\n Header: DrawerHeader,\n /**\n * # Drawer.Body\n *\n * The main body content section of the drawer.\n * Contains the primary drawer content and handles overflow/scrolling.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>...</Drawer.Header>\n * <Drawer.Body>\n * <p>This is the main content of the drawer.</p>\n * </Drawer.Body>\n * <Drawer.Footer>...</Drawer.Footer>\n * </Drawer.Content>\n * ```\n */\n Body: DrawerBody,\n /**\n * # Drawer.Footer\n *\n * The footer section of the drawer, typically containing action buttons.\n * Provides consistent spacing and alignment for drawer actions.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>...</Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * <Drawer.Footer>\n * <Button variant=\"outline\">Cancel</Button>\n * <Button>Confirm</Button>\n * </Drawer.Footer>\n * </Drawer.Content>\n * ```\n */\n Footer: DrawerFooter,\n /**\n * # Drawer.Title\n *\n * The accessible title element for the drawer.\n * Provides proper accessibility and screen reader support.\n *\n * @example\n * ```tsx\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Confirm Action</Drawer.Title>\n * </Drawer.Header>\n * <Drawer.Body>...</Drawer.Body>\n * </Drawer.Content>\n * ```\n */\n Title: DrawerTitle,\n /**\n * # Drawer.CloseTrigger\n *\n * A button that closes the drawer when activated.\n * Displays an IconButton with a close (X) icon by default.\n *\n * The component automatically handles the close behavior,\n * so no additional onPress handler is needed.\n *\n * @example\n * ```tsx\n * <Drawer.Root>\n * <Drawer.Trigger>Open Drawer</Drawer.Trigger>\n * <Drawer.Content>\n * <Drawer.Header>\n * <Drawer.Title>Title</Drawer.Title>\n * <Drawer.CloseTrigger aria-label=\"Close drawer\" />\n * </Drawer.Header>\n * <Drawer.Body>Content</Drawer.Body>\n * </Drawer.Content>\n * </Drawer.Root>\n * ```\n */\n CloseTrigger: DrawerCloseTrigger,\n};\n\n// Internal exports for react-docgen\nexport {\n DrawerRoot as _DrawerRoot,\n DrawerTrigger as _DrawerTrigger,\n DrawerContent as _DrawerContent,\n DrawerHeader as _DrawerHeader,\n DrawerBody as _DrawerBody,\n DrawerFooter as _DrawerFooter,\n DrawerTitle as _DrawerTitle,\n DrawerCloseTrigger as _DrawerCloseTrigger,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","drawerSlotRecipe","DrawerRootSlot","DrawerTriggerSlot","DrawerModalOverlaySlot","DrawerModalSlot","DrawerContentSlot","DrawerHeaderSlot","DrawerBodySlot","DrawerFooterSlot","DrawerTitleSlot","DrawerCloseTriggerSlot","DrawerContext","createContext","useDrawerRootContext","context","useContext","DrawerProvider","children","value","jsx","DrawerRoot","props","recipe","useSlotRecipe","recipeProps","isOpen","onOpenChange","defaultOpen","content","hasDrawerTrigger","React","child","displayName","RaDialogTrigger","DrawerTrigger","forwardedRef","asChild","chakra","styleProps","restProps","extractStyleProps","RaButton","DrawerContent","isDismissable","isKeyboardDismissDisabled","shouldCloseOnInteractOutside","modalProps","RaModalOverlay","RaModal","RaDialog","DrawerHeader","DrawerBody","defaultProps","DrawerFooter","DrawerTitle","Heading","messages","defineMessages","DrawerCloseTrigger","ariaLabel","intl","useIntl","IconButton","Close","Drawer"],"mappings":"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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function i(e) {
|
|
2
|
+
var r = /* @__PURE__ */ Object.create(null);
|
|
3
|
+
return function(t) {
|
|
4
|
+
return r[t] === void 0 && (r[t] = e(t)), r[t];
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
var n = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, a = /* @__PURE__ */ i(
|
|
8
|
+
function(e) {
|
|
9
|
+
return n.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
10
|
+
}
|
|
11
|
+
/* Z+1 */
|
|
12
|
+
);
|
|
13
|
+
export {
|
|
14
|
+
a as i
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=emotion-is-prop-valid.esm-BUuA3iy8.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emotion-is-prop-valid.esm-BUuA3iy8.es.js","sources":["../../../../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../../../../node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"],"sourcesContent":["function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import memoize from '@emotion/memoize';\n\n// eslint-disable-next-line no-undef\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n"],"names":["memoize","fn","cache","arg","reactPropsRegex","isPropValid","prop"],"mappings":"AAAA,SAASA,EAAQC,GAAI;AACnB,MAAIC,IAAQ,uBAAO,OAAO,IAAI;AAC9B,SAAO,SAAUC,GAAK;AACpB,WAAID,EAAMC,CAAG,MAAM,WAAWD,EAAMC,CAAG,IAAIF,EAAGE,CAAG,IAC1CD,EAAMC,CAAG;AAAA,EAClB;AACF;ACHA,IAAIC,IAAkB,ijIAElBC,IAA6B,gBAAAL;AAAA,EAAQ,SAAUM,GAAM;AACvD,WAAOF,EAAgB,KAAKE,CAAI,KAAKA,EAAK,WAAW,CAAC,MAAM,OAEzDA,EAAK,WAAW,CAAC,MAAM,OAEvBA,EAAK,WAAW,CAAC,IAAI;AAAA,EAC1B;AAAA;AAEA;","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";function i(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=i(function(e){return n.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});exports.isPropValid=a;
|
|
2
|
+
//# sourceMappingURL=emotion-is-prop-valid.esm-ux_11lix.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emotion-is-prop-valid.esm-ux_11lix.cjs.js","sources":["../../../../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../../../../node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"],"sourcesContent":["function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import memoize from '@emotion/memoize';\n\n// eslint-disable-next-line no-undef\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n"],"names":["memoize","fn","cache","arg","reactPropsRegex","isPropValid","prop"],"mappings":"aAAA,SAASA,EAAQC,EAAI,CACnB,IAAIC,EAAQ,OAAO,OAAO,IAAI,EAC9B,OAAO,SAAUC,EAAK,CACpB,OAAID,EAAMC,CAAG,IAAM,SAAWD,EAAMC,CAAG,EAAIF,EAAGE,CAAG,GAC1CD,EAAMC,CAAG,CAClB,CACF,CCHA,IAAIC,EAAkB,gjIAElBC,EAA6BL,EAAQ,SAAUM,EAAM,CACvD,OAAOF,EAAgB,KAAKE,CAAI,GAAKA,EAAK,WAAW,CAAC,IAAM,KAEzDA,EAAK,WAAW,CAAC,IAAM,KAEvBA,EAAK,WAAW,CAAC,EAAI,EAC1B,CAEA","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { s } from "./index-CtB71yr7.es.js";
|
|
2
|
+
function a(e) {
|
|
3
|
+
const r = {}, o = { ...e };
|
|
4
|
+
return Object.keys(e).forEach((t) => {
|
|
5
|
+
Object.prototype.hasOwnProperty.call(e, t) && s.isValidProperty(t) && (r[t] = e[t], delete o[t]);
|
|
6
|
+
}), [r, o];
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
a as e
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=extractStyleProps-DYXEhLtq.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extractStyleProps-DYXEhLtq.es.js","sources":["../../src/utils/extractStyleProps.ts"],"sourcesContent":["import { system } from \"@/theme\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n system.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","system"],"mappings":";AAOO,SAASA,EACdC,GAC4C;AAC5C,QAAMC,IAAsC,CAAA,GACtCC,IAAa,EAAE,GAAGF,EAAA;AAGxB,gBAAO,KAAKA,CAAK,EAAE,QAAQ,CAACG,MAAQ;AAClC,IACE,OAAO,UAAU,eAAe,KAAKH,GAAOG,CAAG,KAC/CC,EAAO,gBAAgBD,CAAG,MAE1BF,EAAWE,CAAG,IAAIH,EAAMG,CAAc,GACtC,OAAOD,EAAWC,CAAG;AAAA,EAEzB,CAAC,GAEM,CAACF,GAAYC,CAA6B;AACnD;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const c=require("./index-CRFg4Mhx.cjs.js");function o(e){const r={},s={...e};return Object.keys(e).forEach(t=>{Object.prototype.hasOwnProperty.call(e,t)&&c.system.isValidProperty(t)&&(r[t]=e[t],delete s[t])}),[r,s]}exports.extractStyleProps=o;
|
|
2
|
+
//# sourceMappingURL=extractStyleProps-Dk3fpLyQ.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extractStyleProps-Dk3fpLyQ.cjs.js","sources":["../../src/utils/extractStyleProps.ts"],"sourcesContent":["import { system } from \"@/theme\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n system.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","system"],"mappings":"wDAOO,SAASA,EACdC,EAC4C,CAC5C,MAAMC,EAAsC,CAAA,EACtCC,EAAa,CAAE,GAAGF,CAAA,EAGxB,cAAO,KAAKA,CAAK,EAAE,QAASG,GAAQ,CAEhC,OAAO,UAAU,eAAe,KAAKH,EAAOG,CAAG,GAC/CC,EAAAA,OAAO,gBAAgBD,CAAG,IAE1BF,EAAWE,CAAG,EAAIH,EAAMG,CAAc,EACtC,OAAOD,EAAWC,CAAG,EAEzB,CAAC,EAEM,CAACF,EAAYC,CAA6B,CACnD"}
|