@commercetools/nimbus 2.6.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/Button-B_f19f6I.es.js +79 -0
- package/dist/chunks/Button-B_f19f6I.es.js.map +1 -0
- package/dist/chunks/Button-Cd6tzMBr.cjs.js +2 -0
- package/dist/chunks/Button-Cd6tzMBr.cjs.js.map +1 -0
- package/dist/chunks/CollectionBuilder-Bzm4ICAd.es.js +661 -0
- package/dist/chunks/CollectionBuilder-Bzm4ICAd.es.js.map +1 -0
- package/dist/chunks/CollectionBuilder-C_QqJynd.cjs.js +2 -0
- package/dist/chunks/CollectionBuilder-C_QqJynd.cjs.js.map +1 -0
- package/dist/chunks/DateField-D2II47OB.cjs.js +2 -0
- package/dist/chunks/DateField-D2II47OB.cjs.js.map +1 -0
- package/dist/chunks/DateField-gqvwqOd9.es.js +2863 -0
- package/dist/chunks/DateField-gqvwqOd9.es.js.map +1 -0
- package/dist/chunks/DatePicker-BaPDkR9D.cjs.js +2 -0
- package/dist/chunks/DatePicker-BaPDkR9D.cjs.js.map +1 -0
- package/dist/chunks/DatePicker-Gm4Pobyb.es.js +791 -0
- package/dist/chunks/DatePicker-Gm4Pobyb.es.js.map +1 -0
- package/dist/chunks/Dialog-BrbJce0u.es.js +2008 -0
- package/dist/chunks/Dialog-BrbJce0u.es.js.map +1 -0
- package/dist/chunks/Dialog-BwUsRNPT.cjs.js +7 -0
- package/dist/chunks/Dialog-BwUsRNPT.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-Bzy10RyD.cjs.js +2 -0
- package/dist/chunks/FocusScope-Bzy10RyD.cjs.js.map +1 -0
- package/dist/chunks/FocusScope-D_JoB-Y8.es.js +623 -0
- package/dist/chunks/FocusScope-D_JoB-Y8.es.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-D8J_QjlE.es.js +47 -0
- package/dist/chunks/Group-D8J_QjlE.es.js.map +1 -0
- package/dist/chunks/Group-Fz0VwUdJ.cjs.js +2 -0
- package/dist/chunks/Group-Fz0VwUdJ.cjs.js.map +1 -0
- package/dist/chunks/Header-BBMNqseS.es.js +213 -0
- package/dist/chunks/Header-BBMNqseS.es.js.map +1 -0
- package/dist/chunks/Header-Daaf7xDF.cjs.js +2 -0
- package/dist/chunks/Header-Daaf7xDF.cjs.js.map +1 -0
- package/dist/chunks/Heading-Dftjn5Wq.cjs.js +2 -0
- package/dist/chunks/Heading-Dftjn5Wq.cjs.js.map +1 -0
- package/dist/chunks/Heading-mK-8zY0b.es.js +1623 -0
- package/dist/chunks/Heading-mK-8zY0b.es.js.map +1 -0
- package/dist/chunks/Hidden-S64SHphJ.es.js +23 -0
- package/dist/chunks/Hidden-S64SHphJ.es.js.map +1 -0
- package/dist/chunks/Hidden-pXvWRTeY.cjs.js +2 -0
- package/dist/chunks/Hidden-pXvWRTeY.cjs.js.map +1 -0
- package/dist/chunks/Input-DK3H-e45.cjs.js +2 -0
- package/dist/chunks/Input-DK3H-e45.cjs.js.map +1 -0
- package/dist/chunks/Input-DeuGV6TF.es.js +46 -0
- package/dist/chunks/Input-DeuGV6TF.es.js.map +1 -0
- package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
- package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
- package/dist/chunks/Label-DE_LaM97.es.js +17 -0
- package/dist/chunks/Label-DE_LaM97.es.js.map +1 -0
- package/dist/chunks/Label-udDCVpjy.cjs.js +2 -0
- package/dist/chunks/Label-udDCVpjy.cjs.js.map +1 -0
- package/dist/chunks/ListBox-CAJx8YBh.es.js +563 -0
- package/dist/chunks/ListBox-CAJx8YBh.es.js.map +1 -0
- package/dist/chunks/ListBox-CNFNgyJO.cjs.js +2 -0
- package/dist/chunks/ListBox-CNFNgyJO.cjs.js.map +1 -0
- package/dist/chunks/Modal-6dYMHDKd.cjs.js +2 -0
- package/dist/chunks/Modal-6dYMHDKd.cjs.js.map +1 -0
- package/dist/chunks/Modal-YlwhpJoL.es.js +197 -0
- package/dist/chunks/Modal-YlwhpJoL.es.js.map +1 -0
- package/dist/chunks/OverlayArrow-BiIjcsUQ.es.js +459 -0
- package/dist/chunks/OverlayArrow-BiIjcsUQ.es.js.map +1 -0
- package/dist/chunks/OverlayArrow-BrN7647V.cjs.js +2 -0
- package/dist/chunks/OverlayArrow-BrN7647V.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-CSe_g05D.es.js +42 -0
- package/dist/chunks/ProgressBar-CSe_g05D.es.js.map +1 -0
- package/dist/chunks/ProgressBar-YkTDvxkF.cjs.js +2 -0
- package/dist/chunks/ProgressBar-YkTDvxkF.cjs.js.map +1 -0
- package/dist/chunks/RSPContexts-BdKenzIN.cjs.js.map +1 -1
- package/dist/chunks/RSPContexts-DLgb84PF.es.js.map +1 -1
- package/dist/chunks/SelectionIndicator-B27AsfqE.es.js.map +1 -1
- package/dist/chunks/SelectionIndicator-Du7-bvy3.cjs.js.map +1 -1
- package/dist/chunks/SelectionManager-DCvmq5pa.cjs.js +2 -0
- package/dist/chunks/SelectionManager-DCvmq5pa.cjs.js.map +1 -0
- package/dist/chunks/SelectionManager-Dwxt3P_U.es.js +1119 -0
- package/dist/chunks/SelectionManager-Dwxt3P_U.es.js.map +1 -0
- package/dist/chunks/Separator-CKJksem-.cjs.js +2 -0
- package/dist/chunks/Separator-CKJksem-.cjs.js.map +1 -0
- package/dist/chunks/Separator-CTeUIGug.es.js +56 -0
- package/dist/chunks/Separator-CTeUIGug.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/ToggleButton-BRyJFACN.es.js +154 -0
- package/dist/chunks/ToggleButton-BRyJFACN.es.js.map +1 -0
- package/dist/chunks/ToggleButton-D7CPaVXA.cjs.js +2 -0
- package/dist/chunks/ToggleButton-D7CPaVXA.cjs.js.map +1 -0
- package/dist/chunks/VisuallyHidden-B6DIvP4_.es.js +41 -0
- package/dist/chunks/VisuallyHidden-B6DIvP4_.es.js.map +1 -0
- package/dist/chunks/VisuallyHidden-Cp9bbfLS.cjs.js +2 -0
- package/dist/chunks/VisuallyHidden-Cp9bbfLS.cjs.js.map +1 -0
- package/dist/chunks/accordion-DW96w8SO.cjs.js +2 -0
- package/dist/chunks/accordion-DW96w8SO.cjs.js.map +1 -0
- package/dist/chunks/accordion-w2snPAFa.es.js +84 -0
- package/dist/chunks/accordion-w2snPAFa.es.js.map +1 -0
- package/dist/chunks/accordion.content-B0YHoSnW.cjs.js +2 -0
- package/dist/chunks/accordion.content-B0YHoSnW.cjs.js.map +1 -0
- package/dist/chunks/accordion.content-DfOG_PZm.es.js +228 -0
- package/dist/chunks/accordion.content-DfOG_PZm.es.js.map +1 -0
- package/dist/chunks/alert-BdHXhgWQ.es.js +158 -0
- package/dist/chunks/alert-BdHXhgWQ.es.js.map +1 -0
- package/dist/chunks/alert-Bk6m8bhe.cjs.js +2 -0
- package/dist/chunks/alert-Bk6m8bhe.cjs.js.map +1 -0
- package/dist/chunks/animation-BmCHvba5.cjs.js.map +1 -1
- package/dist/chunks/animation-sblr3yZx.es.js.map +1 -1
- package/dist/chunks/avatar-B8vetM5G.cjs.js +2 -0
- package/dist/chunks/avatar-B8vetM5G.cjs.js.map +1 -0
- package/dist/chunks/avatar-D559WPRc.es.js +58 -0
- package/dist/chunks/avatar-D559WPRc.es.js.map +1 -0
- package/dist/chunks/badge-Be-xE-Ke.es.js +17 -0
- package/dist/chunks/badge-Be-xE-Ke.es.js.map +1 -0
- package/dist/chunks/badge-m_QkSvpu.cjs.js +2 -0
- package/dist/chunks/badge-m_QkSvpu.cjs.js.map +1 -0
- package/dist/chunks/button-8SLj5U1n.es.js +75 -0
- package/dist/chunks/button-8SLj5U1n.es.js.map +1 -0
- package/dist/chunks/button-Dp5zCqqo.cjs.js +2 -0
- package/dist/chunks/button-Dp5zCqqo.cjs.js.map +1 -0
- package/dist/chunks/calendar-DvKmJdxP.cjs.js +2 -0
- package/dist/chunks/calendar-DvKmJdxP.cjs.js.map +1 -0
- package/dist/chunks/calendar-DvOZQUUz.es.js +226 -0
- package/dist/chunks/calendar-DvOZQUUz.es.js.map +1 -0
- package/dist/chunks/card-BtoTvzfy.cjs.js +2 -0
- package/dist/chunks/card-BtoTvzfy.cjs.js.map +1 -0
- package/dist/chunks/card-DO1Aj8a4.es.js +114 -0
- package/dist/chunks/card-DO1Aj8a4.es.js.map +1 -0
- package/dist/chunks/checkbox-DB_2vX8q.es.js +220 -0
- package/dist/chunks/checkbox-DB_2vX8q.es.js.map +1 -0
- package/dist/chunks/checkbox-NDwP5yso.cjs.js +2 -0
- package/dist/chunks/checkbox-NDwP5yso.cjs.js.map +1 -0
- package/dist/chunks/code-BveGzfST.cjs.js +2 -0
- package/dist/chunks/code-BveGzfST.cjs.js.map +1 -0
- package/dist/chunks/code-CN-T5XSw.es.js +6 -0
- package/dist/chunks/code-CN-T5XSw.es.js.map +1 -0
- package/dist/chunks/collapsible-motion-B4lvbw3B.cjs.js +2 -0
- package/dist/chunks/collapsible-motion-B4lvbw3B.cjs.js.map +1 -0
- package/dist/chunks/collapsible-motion-CyvkDH8J.es.js +127 -0
- package/dist/chunks/collapsible-motion-CyvkDH8J.es.js.map +1 -0
- package/dist/chunks/combobox-Cwg7Jjco.es.js +1570 -0
- package/dist/chunks/combobox-Cwg7Jjco.es.js.map +1 -0
- package/dist/chunks/combobox-DJ5qTOSW.cjs.js +2 -0
- package/dist/chunks/combobox-DJ5qTOSW.cjs.js.map +1 -0
- package/dist/chunks/context-BfHy4NgG.es.js.map +1 -1
- package/dist/chunks/context-XwB7Jud0.cjs.js.map +1 -1
- package/dist/chunks/data-table-BXyUohZe.cjs.js +2 -0
- package/dist/chunks/data-table-BXyUohZe.cjs.js.map +1 -0
- package/dist/chunks/data-table-DTj-VXDE.es.js +4428 -0
- package/dist/chunks/data-table-DTj-VXDE.es.js.map +1 -0
- package/dist/chunks/date-input-BEiFdI-1.cjs.js +2 -0
- package/dist/chunks/date-input-BEiFdI-1.cjs.js.map +1 -0
- package/dist/chunks/date-input-CKWu7-nx.es.js +20 -0
- package/dist/chunks/date-input-CKWu7-nx.es.js.map +1 -0
- package/dist/chunks/date-picker-DRciIJ3I.cjs.js +2 -0
- package/dist/chunks/date-picker-DRciIJ3I.cjs.js.map +1 -0
- package/dist/chunks/date-picker-ndD6PWRc.es.js +227 -0
- package/dist/chunks/date-picker-ndD6PWRc.es.js.map +1 -0
- package/dist/chunks/date-range-picker-AXe8_SzX.cjs.js +2 -0
- package/dist/chunks/date-range-picker-AXe8_SzX.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-IL3e2pv7.es.js +363 -0
- package/dist/chunks/date-range-picker-IL3e2pv7.es.js.map +1 -0
- package/dist/chunks/date-range-picker-field-6-s9fQl8.es.js +61 -0
- package/dist/chunks/date-range-picker-field-6-s9fQl8.es.js.map +1 -0
- package/dist/chunks/date-range-picker-field-CiVL2apb.cjs.js +2 -0
- package/dist/chunks/date-range-picker-field-CiVL2apb.cjs.js.map +1 -0
- package/dist/chunks/dialog-B1lCwAIp.es.js +304 -0
- package/dist/chunks/dialog-B1lCwAIp.es.js.map +1 -0
- package/dist/chunks/dialog-DuN4dj-A.cjs.js +2 -0
- package/dist/chunks/dialog-DuN4dj-A.cjs.js.map +1 -0
- package/dist/chunks/draggable-list-BD2dmQqO.cjs.js +3 -0
- package/dist/chunks/draggable-list-BD2dmQqO.cjs.js.map +1 -0
- package/dist/chunks/draggable-list-BTDXUK8V.es.js +4122 -0
- package/dist/chunks/draggable-list-BTDXUK8V.es.js.map +1 -0
- package/dist/chunks/drawer-BbTuL5zl.cjs.js +2 -0
- package/dist/chunks/drawer-BbTuL5zl.cjs.js.map +1 -0
- package/dist/chunks/drawer-CgKSSEc-.es.js +320 -0
- package/dist/chunks/drawer-CgKSSEc-.es.js.map +1 -0
- package/dist/chunks/extract-style-props-DuSHABTl.es.js +11 -0
- package/dist/chunks/extract-style-props-DuSHABTl.es.js.map +1 -0
- package/dist/chunks/extract-style-props-xZ29rO70.cjs.js +2 -0
- package/dist/chunks/extract-style-props-xZ29rO70.cjs.js.map +1 -0
- package/dist/chunks/field-errors-DbRPC8Jb.es.js +219 -0
- package/dist/chunks/field-errors-DbRPC8Jb.es.js.map +1 -0
- package/dist/chunks/field-errors-hBl0j2ag.cjs.js +2 -0
- package/dist/chunks/field-errors-hBl0j2ag.cjs.js.map +1 -0
- package/dist/chunks/filterDOMProps-AbzzCIX-.cjs.js.map +1 -1
- package/dist/chunks/filterDOMProps-Cxz9cAAv.es.js.map +1 -1
- package/dist/chunks/focusSafely-C-2FDJH8.cjs.js +2 -0
- package/dist/chunks/focusSafely-C-2FDJH8.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-DfbNI-gf.es.js +28 -0
- package/dist/chunks/focusSafely-DfbNI-gf.es.js.map +1 -0
- package/dist/chunks/form-field-BG-I9QxC.es.js +358 -0
- package/dist/chunks/form-field-BG-I9QxC.es.js.map +1 -0
- package/dist/chunks/form-field-Da4KAAE9.cjs.js +2 -0
- package/dist/chunks/form-field-Da4KAAE9.cjs.js.map +1 -0
- package/dist/chunks/getScrollParent-BYABLTPb.cjs.js +2 -0
- package/dist/chunks/getScrollParent-BYABLTPb.cjs.js.map +1 -0
- package/dist/chunks/getScrollParent-CYyA2kLT.es.js +10 -0
- package/dist/chunks/getScrollParent-CYyA2kLT.es.js.map +1 -0
- package/dist/chunks/group-8Wkx5fVV.cjs.js +2 -0
- package/dist/chunks/group-8Wkx5fVV.cjs.js.map +1 -0
- package/dist/chunks/group-tkn9asoK.es.js +13 -0
- package/dist/chunks/group-tkn9asoK.es.js.map +1 -0
- package/dist/chunks/heading-BFcG7l1U.cjs.js +2 -0
- package/dist/chunks/heading-BFcG7l1U.cjs.js.map +1 -0
- package/dist/chunks/heading-ezNMcRxO.es.js +25 -0
- package/dist/chunks/heading-ezNMcRxO.es.js.map +1 -0
- package/dist/chunks/icon-BMjkW_u3.cjs.js +2 -0
- package/dist/chunks/icon-BMjkW_u3.cjs.js.map +1 -0
- package/dist/chunks/icon-DVW5I_jj.es.js +19 -0
- package/dist/chunks/icon-DVW5I_jj.es.js.map +1 -0
- package/dist/chunks/icon-button-BCeQqBD7.es.js +33 -0
- package/dist/chunks/icon-button-BCeQqBD7.es.js.map +1 -0
- package/dist/chunks/icon-button-TUo0Zh3-.cjs.js +2 -0
- package/dist/chunks/icon-button-TUo0Zh3-.cjs.js.map +1 -0
- package/dist/chunks/icon-toggle-button-Bq919oWc.cjs.js +2 -0
- package/dist/chunks/icon-toggle-button-Bq919oWc.cjs.js.map +1 -0
- package/dist/chunks/icon-toggle-button-CBersNeg.es.js +13 -0
- package/dist/chunks/icon-toggle-button-CBersNeg.es.js.map +1 -0
- package/dist/chunks/index-CB18bWc-.cjs.js +34 -0
- package/dist/chunks/index-CB18bWc-.cjs.js.map +1 -0
- package/dist/chunks/index-N3LCjK2b.es.js +6589 -0
- package/dist/chunks/index-N3LCjK2b.es.js.map +1 -0
- package/dist/chunks/inline-svg-Ct3XXJCo.cjs.js +2 -0
- package/dist/chunks/inline-svg-Ct3XXJCo.cjs.js.map +1 -0
- package/dist/chunks/inline-svg-D0MU6k2J.es.js +21 -0
- package/dist/chunks/inline-svg-D0MU6k2J.es.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-C22HGSIk.cjs.js +2 -0
- package/dist/chunks/kbd-C22HGSIk.cjs.js.map +1 -0
- package/dist/chunks/kbd-pvGIJN_-.es.js +16 -0
- package/dist/chunks/kbd-pvGIJN_-.es.js.map +1 -0
- package/dist/chunks/link-B1bi6UkZ.es.js +49 -0
- package/dist/chunks/link-B1bi6UkZ.es.js.map +1 -0
- package/dist/chunks/link-DmxaGmar.cjs.js +2 -0
- package/dist/chunks/link-DmxaGmar.cjs.js.map +1 -0
- package/dist/chunks/list-D2cUzD9o.es.js +26 -0
- package/dist/chunks/list-D2cUzD9o.es.js.map +1 -0
- package/dist/chunks/list-pfnNUdGl.cjs.js +2 -0
- package/dist/chunks/list-pfnNUdGl.cjs.js.map +1 -0
- package/dist/chunks/loading-spinner-C2hfbSXt.cjs.js +2 -0
- package/dist/chunks/loading-spinner-C2hfbSXt.cjs.js.map +1 -0
- package/dist/chunks/loading-spinner-DQ33Zrq8.es.js +53 -0
- package/dist/chunks/loading-spinner-DQ33Zrq8.es.js.map +1 -0
- package/dist/chunks/localized-field-BaUY0tn2.es.js +486 -0
- package/dist/chunks/localized-field-BaUY0tn2.es.js.map +1 -0
- package/dist/chunks/localized-field-DRZO0b7x.cjs.js +2 -0
- package/dist/chunks/localized-field-DRZO0b7x.cjs.js.map +1 -0
- package/dist/chunks/make-element-focusable-C7F_esXN.es.js +25 -0
- package/dist/chunks/make-element-focusable-C7F_esXN.es.js.map +1 -0
- package/dist/chunks/make-element-focusable-Cf-r4YQd.cjs.js +2 -0
- package/dist/chunks/make-element-focusable-Cf-r4YQd.cjs.js.map +1 -0
- package/dist/chunks/menu-CBq8uLF4.cjs.js +2 -0
- package/dist/chunks/menu-CBq8uLF4.cjs.js.map +1 -0
- package/dist/chunks/menu-DDoPo75I.es.js +256 -0
- package/dist/chunks/menu-DDoPo75I.es.js.map +1 -0
- package/dist/chunks/merge-refs-D-zSwpoh.es.js +10 -0
- package/dist/chunks/merge-refs-D-zSwpoh.es.js.map +1 -0
- package/dist/chunks/merge-refs-D8liJcZz.cjs.js +2 -0
- package/dist/chunks/merge-refs-D8liJcZz.cjs.js.map +1 -0
- package/dist/chunks/mergeProps-BAXAqyMT.cjs.js.map +1 -1
- package/dist/chunks/mergeProps-Dg8WqJiN.es.js.map +1 -1
- package/dist/chunks/money-input-BtRMHiwE.es.js +548 -0
- package/dist/chunks/money-input-BtRMHiwE.es.js.map +1 -0
- package/dist/chunks/money-input-NvahgygE.cjs.js +2 -0
- package/dist/chunks/money-input-NvahgygE.cjs.js.map +1 -0
- package/dist/chunks/money-input-field-Bl4ZqzLj.es.js +51 -0
- package/dist/chunks/money-input-field-Bl4ZqzLj.es.js.map +1 -0
- package/dist/chunks/money-input-field-CLTzaE8n.cjs.js +2 -0
- package/dist/chunks/money-input-field-CLTzaE8n.cjs.js.map +1 -0
- package/dist/chunks/multiline-text-input-KQNER4oO.cjs.js +2 -0
- package/dist/chunks/multiline-text-input-KQNER4oO.cjs.js.map +1 -0
- package/dist/chunks/multiline-text-input-Y4Sd30Xq.es.js +98 -0
- package/dist/chunks/multiline-text-input-Y4Sd30Xq.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-field-Cw6GupLc.cjs.js +2 -0
- package/dist/chunks/multiline-text-input-field-Cw6GupLc.cjs.js.map +1 -0
- package/dist/chunks/multiline-text-input-field-DLR7B3Ob.es.js +56 -0
- package/dist/chunks/multiline-text-input-field-DLR7B3Ob.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-CGTqRM1E.es.js +125 -0
- package/dist/chunks/nimbus-provider-CGTqRM1E.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-Z3gJkPBJ.cjs.js +2 -0
- package/dist/chunks/nimbus-provider-Z3gJkPBJ.cjs.js.map +1 -0
- package/dist/chunks/number-input-DoDxKLSN.es.js +713 -0
- package/dist/chunks/number-input-DoDxKLSN.es.js.map +1 -0
- package/dist/chunks/number-input-IR820qje.cjs.js +2 -0
- package/dist/chunks/number-input-IR820qje.cjs.js.map +1 -0
- package/dist/chunks/number-input-field-DTk_pXDQ.es.js +51 -0
- package/dist/chunks/number-input-field-DTk_pXDQ.es.js.map +1 -0
- package/dist/chunks/number-input-field-DcWTW8HX.cjs.js +2 -0
- package/dist/chunks/number-input-field-DcWTW8HX.cjs.js.map +1 -0
- package/dist/chunks/page-content--s1gGk_N.cjs.js +2 -0
- package/dist/chunks/page-content--s1gGk_N.cjs.js.map +1 -0
- package/dist/chunks/page-content-YTz6Jfmj.es.js +68 -0
- package/dist/chunks/page-content-YTz6Jfmj.es.js.map +1 -0
- package/dist/chunks/pagination-D59xquoX.cjs.js +2 -0
- package/dist/chunks/pagination-D59xquoX.cjs.js.map +1 -0
- package/dist/chunks/pagination-DpgEL5m7.es.js +226 -0
- package/dist/chunks/pagination-DpgEL5m7.es.js.map +1 -0
- package/dist/chunks/password-input-BQs2tc7Z.cjs.js +2 -0
- package/dist/chunks/password-input-BQs2tc7Z.cjs.js.map +1 -0
- package/dist/chunks/password-input-Bh0jllNR.es.js +47 -0
- package/dist/chunks/password-input-Bh0jllNR.es.js.map +1 -0
- package/dist/chunks/password-input-field-B-ADdwQI.es.js +56 -0
- package/dist/chunks/password-input-field-B-ADdwQI.es.js.map +1 -0
- package/dist/chunks/password-input-field-C14F6Fhe.cjs.js +2 -0
- package/dist/chunks/password-input-field-C14F6Fhe.cjs.js.map +1 -0
- package/dist/chunks/popover-CFWE6RED.es.js +11 -0
- package/dist/chunks/popover-CFWE6RED.es.js.map +1 -0
- package/dist/chunks/popover-FjS43_KY.cjs.js +2 -0
- package/dist/chunks/popover-FjS43_KY.cjs.js.map +1 -0
- package/dist/chunks/progress-bar-Brzwm511.cjs.js +2 -0
- package/dist/chunks/progress-bar-Brzwm511.cjs.js.map +1 -0
- package/dist/chunks/progress-bar-DttNpI6T.es.js +76 -0
- package/dist/chunks/progress-bar-DttNpI6T.es.js.map +1 -0
- package/dist/chunks/radio-input-CU7jAtai.es.js +378 -0
- package/dist/chunks/radio-input-CU7jAtai.es.js.map +1 -0
- package/dist/chunks/radio-input-DS7BKazN.cjs.js +2 -0
- package/dist/chunks/radio-input-DS7BKazN.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-165da7OP.cjs.js +2 -0
- package/dist/chunks/range-calendar-165da7OP.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-DvfjIcvD.es.js +228 -0
- package/dist/chunks/range-calendar-DvfjIcvD.es.js.map +1 -0
- package/dist/chunks/rich-text-input-CWdFIIJl.es.js +1204 -0
- package/dist/chunks/rich-text-input-CWdFIIJl.es.js.map +1 -0
- package/dist/chunks/rich-text-input-jnrEcbPy.cjs.js +4 -0
- package/dist/chunks/rich-text-input-jnrEcbPy.cjs.js.map +1 -0
- package/dist/chunks/scoped-search-input-CIJktjQ4.cjs.js +2 -0
- package/dist/chunks/scoped-search-input-CIJktjQ4.cjs.js.map +1 -0
- package/dist/chunks/scoped-search-input-G2Ut6yTr.es.js +150 -0
- package/dist/chunks/scoped-search-input-G2Ut6yTr.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-Cwx7UyTw.es.js +112 -0
- package/dist/chunks/scrollIntoView-Cwx7UyTw.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-DD-xdA8B.cjs.js +2 -0
- package/dist/chunks/scrollIntoView-DD-xdA8B.cjs.js.map +1 -0
- package/dist/chunks/search-input-DaCfHjO2.cjs.js +2 -0
- package/dist/chunks/search-input-DaCfHjO2.cjs.js.map +1 -0
- package/dist/chunks/search-input-DjPnnH_T.es.js +368 -0
- package/dist/chunks/search-input-DjPnnH_T.es.js.map +1 -0
- package/dist/chunks/search-input-field-BbvHjWLH.es.js +51 -0
- package/dist/chunks/search-input-field-BbvHjWLH.es.js.map +1 -0
- package/dist/chunks/search-input-field-Xr_SnIN3.cjs.js +2 -0
- package/dist/chunks/search-input-field-Xr_SnIN3.cjs.js.map +1 -0
- package/dist/chunks/select-BCclMTCA.es.js +775 -0
- package/dist/chunks/select-BCclMTCA.es.js.map +1 -0
- package/dist/chunks/select-ExTJjtrC.cjs.js +2 -0
- package/dist/chunks/select-ExTJjtrC.cjs.js.map +1 -0
- package/dist/chunks/separator-8zTJ3WbE.es.js +24 -0
- package/dist/chunks/separator-8zTJ3WbE.es.js.map +1 -0
- package/dist/chunks/separator-EzWfz9T4.cjs.js +2 -0
- package/dist/chunks/separator-EzWfz9T4.cjs.js.map +1 -0
- package/dist/chunks/spacer-DayymcMy.es.js +8 -0
- package/dist/chunks/spacer-DayymcMy.es.js.map +1 -0
- package/dist/chunks/spacer-DhPljomZ.cjs.js +2 -0
- package/dist/chunks/spacer-DhPljomZ.cjs.js.map +1 -0
- package/dist/chunks/split-button-AbOGF7a2.cjs.js +2 -0
- package/dist/chunks/split-button-AbOGF7a2.cjs.js.map +1 -0
- package/dist/chunks/split-button-CpPcC1ma.es.js +106 -0
- package/dist/chunks/split-button-CpPcC1ma.es.js.map +1 -0
- package/dist/chunks/steps-BGPeyd5K.cjs.js +2 -0
- package/dist/chunks/steps-BGPeyd5K.cjs.js.map +1 -0
- package/dist/chunks/steps-BjarSCK8.es.js +309 -0
- package/dist/chunks/steps-BjarSCK8.es.js.map +1 -0
- package/dist/chunks/switch-By_KtP6e.cjs.js +2 -0
- package/dist/chunks/switch-By_KtP6e.cjs.js.map +1 -0
- package/dist/chunks/switch-JzEkZe3S.es.js +73 -0
- package/dist/chunks/switch-JzEkZe3S.es.js.map +1 -0
- package/dist/chunks/table-CglTnQuK.es.js +71 -0
- package/dist/chunks/table-CglTnQuK.es.js.map +1 -0
- package/dist/chunks/table-VGN0xVbn.cjs.js +2 -0
- package/dist/chunks/table-VGN0xVbn.cjs.js.map +1 -0
- package/dist/chunks/tabs-CVx3v_oi.cjs.js +2 -0
- package/dist/chunks/tabs-CVx3v_oi.cjs.js.map +1 -0
- package/dist/chunks/tabs-vCbqDoL9.es.js +560 -0
- package/dist/chunks/tabs-vCbqDoL9.es.js.map +1 -0
- package/dist/chunks/tag-group-C1kfOOIe.es.js +614 -0
- package/dist/chunks/tag-group-C1kfOOIe.es.js.map +1 -0
- package/dist/chunks/tag-group-lmqnOpRQ.cjs.js +2 -0
- package/dist/chunks/tag-group-lmqnOpRQ.cjs.js.map +1 -0
- package/dist/chunks/text-input-CYhoaXwn.es.js +78 -0
- package/dist/chunks/text-input-CYhoaXwn.es.js.map +1 -0
- package/dist/chunks/text-input-CbG9GsIH.cjs.js +2 -0
- package/dist/chunks/text-input-CbG9GsIH.cjs.js.map +1 -0
- package/dist/chunks/text-input-field-De9VXhYd.es.js +58 -0
- package/dist/chunks/text-input-field-De9VXhYd.es.js.map +1 -0
- package/dist/chunks/text-input-field-P1gmf8qH.cjs.js +2 -0
- package/dist/chunks/text-input-field-P1gmf8qH.cjs.js.map +1 -0
- package/dist/chunks/time-input-BOGcS3Uy.es.js +20 -0
- package/dist/chunks/time-input-BOGcS3Uy.es.js.map +1 -0
- package/dist/chunks/time-input-Dd8Bm7rA.cjs.js +2 -0
- package/dist/chunks/time-input-Dd8Bm7rA.cjs.js.map +1 -0
- package/dist/chunks/toast.manager-C-xQVs3Q.cjs.js +2 -0
- package/dist/chunks/toast.manager-C-xQVs3Q.cjs.js.map +1 -0
- package/dist/chunks/toast.manager-Dj0xhoar.es.js +173 -0
- package/dist/chunks/toast.manager-Dj0xhoar.es.js.map +1 -0
- package/dist/chunks/toast.outlet-C8fv8YzY.es.js +92 -0
- package/dist/chunks/toast.outlet-C8fv8YzY.es.js.map +1 -0
- package/dist/chunks/toast.outlet-Ojazv9Da.cjs.js +2 -0
- package/dist/chunks/toast.outlet-Ojazv9Da.cjs.js.map +1 -0
- package/dist/chunks/toast.toasters-Dw2i0QAB.es.js +70 -0
- package/dist/chunks/toast.toasters-Dw2i0QAB.es.js.map +1 -0
- package/dist/chunks/toast.toasters-oRICplwM.cjs.js +2 -0
- package/dist/chunks/toast.toasters-oRICplwM.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-CZjsgZAb.es.js +29 -0
- package/dist/chunks/toggle-button-CZjsgZAb.es.js.map +1 -0
- package/dist/chunks/toggle-button-VjKDjHMu.cjs.js +2 -0
- package/dist/chunks/toggle-button-VjKDjHMu.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-group-DONqa5F0.es.js +28 -0
- package/dist/chunks/toggle-button-group-DONqa5F0.es.js.map +1 -0
- package/dist/chunks/toggle-button-group-Dt36o8cR.cjs.js +2 -0
- package/dist/chunks/toggle-button-group-Dt36o8cR.cjs.js.map +1 -0
- package/dist/chunks/toolbar-D7siAVmx.es.js +62 -0
- package/dist/chunks/toolbar-D7siAVmx.es.js.map +1 -0
- package/dist/chunks/toolbar-q5-QMUWS.cjs.js +2 -0
- package/dist/chunks/toolbar-q5-QMUWS.cjs.js.map +1 -0
- package/dist/chunks/tooltip-M0jvp5BS.cjs.js +2 -0
- package/dist/chunks/tooltip-M0jvp5BS.cjs.js.map +1 -0
- package/dist/chunks/tooltip-qXiO_TDp.es.js +302 -0
- package/dist/chunks/tooltip-qXiO_TDp.es.js.map +1 -0
- package/dist/chunks/useButton-BMV-bIDp.es.js +57 -0
- package/dist/chunks/useButton-BMV-bIDp.es.js.map +1 -0
- package/dist/chunks/useButton-DJVGv7gm.cjs.js +2 -0
- package/dist/chunks/useButton-DJVGv7gm.cjs.js.map +1 -0
- package/dist/chunks/useCollator-CSX9kZqi.cjs.js.map +1 -1
- package/dist/chunks/useCollator-DKdD8vEj.es.js.map +1 -1
- package/dist/chunks/useDateFormatter-BQohlVo-.cjs.js +2 -0
- package/dist/chunks/useDateFormatter-BQohlVo-.cjs.js.map +1 -0
- package/dist/chunks/useDateFormatter-CcwdZcn_.es.js +1662 -0
- package/dist/chunks/useDateFormatter-CcwdZcn_.es.js.map +1 -0
- package/dist/chunks/useDisclosureState-D6YWKxa1.cjs.js.map +1 -1
- package/dist/chunks/useDisclosureState-D7l1lGtf.es.js.map +1 -1
- package/dist/chunks/useEffectEvent-BqXYahDg.es.js.map +1 -1
- package/dist/chunks/useEffectEvent-CK6scUab.cjs.js.map +1 -1
- package/dist/chunks/useEvent-Czz9XOL1.es.js.map +1 -1
- package/dist/chunks/useEvent-DMj-I46c.cjs.js.map +1 -1
- package/dist/chunks/useField-D0J7lepl.cjs.js.map +1 -1
- package/dist/chunks/useField-ZuobdMEN.es.js.map +1 -1
- package/dist/chunks/useFocus-B0B7awjt.cjs.js +2 -0
- package/dist/chunks/useFocus-B0B7awjt.cjs.js.map +1 -0
- package/dist/chunks/useFocus-DM1aM_pr.es.js +30 -0
- package/dist/chunks/useFocus-DM1aM_pr.es.js.map +1 -0
- package/dist/chunks/useFocusRing-BUzNZISS.es.js +39 -0
- package/dist/chunks/useFocusRing-BUzNZISS.es.js.map +1 -0
- package/dist/chunks/useFocusRing-DQPYgiqV.cjs.js +2 -0
- package/dist/chunks/useFocusRing-DQPYgiqV.cjs.js.map +1 -0
- package/dist/chunks/useFocusVisible-DXIbYUB8.cjs.js +2 -0
- package/dist/chunks/useFocusVisible-DXIbYUB8.cjs.js.map +1 -0
- package/dist/chunks/useFocusVisible-DY8qx7TG.es.js +256 -0
- package/dist/chunks/useFocusVisible-DY8qx7TG.es.js.map +1 -0
- package/dist/chunks/useFocusWithin-CB4q5dkw.cjs.js +2 -0
- package/dist/chunks/useFocusWithin-CB4q5dkw.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-DJvFzdbU.es.js +58 -0
- package/dist/chunks/useFocusWithin-DJvFzdbU.es.js.map +1 -0
- package/dist/chunks/useFocusable-B3Z_s4s7.es.js +77 -0
- package/dist/chunks/useFocusable-B3Z_s4s7.es.js.map +1 -0
- package/dist/chunks/useFocusable-Tx8137XZ.cjs.js +2 -0
- package/dist/chunks/useFocusable-Tx8137XZ.cjs.js.map +1 -0
- package/dist/chunks/useFormReset-Bv_AylRp.cjs.js.map +1 -1
- package/dist/chunks/useFormReset-vR88DCc9.es.js.map +1 -1
- package/dist/chunks/useFormValidation-B6ieSHzO.es.js +202 -0
- package/dist/chunks/useFormValidation-B6ieSHzO.es.js.map +1 -0
- package/dist/chunks/useFormValidation-CJRGHLt7.cjs.js +2 -0
- package/dist/chunks/useFormValidation-CJRGHLt7.cjs.js.map +1 -0
- package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
- package/dist/chunks/useGlobalListeners-CwGh-cDn.cjs.js.map +1 -1
- package/dist/chunks/useGridListItem-Kf-bFqMq.cjs.js +2 -0
- package/dist/chunks/useGridListItem-Kf-bFqMq.cjs.js.map +1 -0
- package/dist/chunks/useGridListItem-eJAlF8kk.es.js +828 -0
- package/dist/chunks/useGridListItem-eJAlF8kk.es.js.map +1 -0
- package/dist/chunks/useHasTabbableChild-Bx9YAhMX.es.js +35 -0
- package/dist/chunks/useHasTabbableChild-Bx9YAhMX.es.js.map +1 -0
- package/dist/chunks/useHasTabbableChild-DTwzcNq5.cjs.js +2 -0
- package/dist/chunks/useHasTabbableChild-DTwzcNq5.cjs.js.map +1 -0
- package/dist/chunks/useHover-BU1r4b8G.cjs.js +2 -0
- package/dist/chunks/useHover-BU1r4b8G.cjs.js.map +1 -0
- package/dist/chunks/useHover-_d7KqTYf.es.js +86 -0
- package/dist/chunks/useHover-_d7KqTYf.es.js.map +1 -0
- package/dist/chunks/useLabel-CPUq3ruB.cjs.js.map +1 -1
- package/dist/chunks/useLabel-CoJt5prC.es.js.map +1 -1
- package/dist/chunks/useLabels-By-QBOAK.cjs.js.map +1 -1
- package/dist/chunks/useLabels-kXO7sGKX.es.js.map +1 -1
- package/dist/chunks/useListData-CRIq9XWX.es.js.map +1 -1
- package/dist/chunks/useListData-DgCKbwHX.cjs.js.map +1 -1
- package/dist/chunks/useListState-CK0Ynhz8.es.js +138 -0
- package/dist/chunks/useListState-CK0Ynhz8.es.js.map +1 -0
- package/dist/chunks/useListState-xpfKx1uw.cjs.js +2 -0
- package/dist/chunks/useListState-xpfKx1uw.cjs.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-CYDf7GZk.es.js.map +1 -1
- package/dist/chunks/useLocalizedStringFormatter-Dg-fFas4.cjs.js.map +1 -1
- package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js.map +1 -1
- package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
- package/dist/chunks/usePress-BRMC7qZ9.cjs.js +8 -0
- package/dist/chunks/usePress-BRMC7qZ9.cjs.js.map +1 -0
- package/dist/chunks/usePress-BwYt_DhT.es.js +501 -0
- package/dist/chunks/usePress-BwYt_DhT.es.js.map +1 -0
- package/dist/chunks/useProgressBar-B34aegwC.es.js.map +1 -1
- package/dist/chunks/useProgressBar-YsNod7J7.cjs.js.map +1 -1
- package/dist/chunks/useSpinButton-BoJwDEUU.es.js.map +1 -1
- package/dist/chunks/useSpinButton-dNYRUDZ9.cjs.js.map +1 -1
- package/dist/chunks/useSyncRef-B-t9wXa7.cjs.js.map +1 -1
- package/dist/chunks/useSyncRef-DT-Fqu5J.es.js.map +1 -1
- package/dist/chunks/useTextField-C0wD77oD.cjs.js +2 -0
- package/dist/chunks/useTextField-C0wD77oD.cjs.js.map +1 -0
- package/dist/chunks/useTextField-CJIdrEVS.es.js +79 -0
- package/dist/chunks/useTextField-CJIdrEVS.es.js.map +1 -0
- package/dist/chunks/useToggle-Zw1unmxY.es.js +63 -0
- package/dist/chunks/useToggle-Zw1unmxY.es.js.map +1 -0
- package/dist/chunks/useToggle-nNR5_Kgn.cjs.js +2 -0
- package/dist/chunks/useToggle-nNR5_Kgn.cjs.js.map +1 -0
- package/dist/chunks/useToggleState-CKQxC8Yz.cjs.js.map +1 -1
- package/dist/chunks/useToggleState-DWm4nWJh.es.js.map +1 -1
- package/dist/chunks/useToolbar-DgGSMjRV.es.js +55 -0
- package/dist/chunks/useToolbar-DgGSMjRV.es.js.map +1 -0
- package/dist/chunks/useToolbar-zfjJ7jeo.cjs.js +2 -0
- package/dist/chunks/useToolbar-zfjJ7jeo.cjs.js.map +1 -0
- package/dist/chunks/useUpdateEffect-D_SyR6VE.cjs.js.map +1 -1
- package/dist/chunks/useUpdateEffect-DlZlnK9P.es.js.map +1 -1
- package/dist/chunks/utils-CF9fvZgv.cjs.js +2 -0
- package/dist/chunks/utils-CF9fvZgv.cjs.js.map +1 -0
- package/dist/chunks/utils-CiIOoh_a.es.js.map +1 -1
- package/dist/chunks/utils-CjZmL8XS.es.js +242 -0
- package/dist/chunks/utils-CjZmL8XS.es.js.map +1 -0
- package/dist/chunks/utils-Dn-IhiTh.cjs.js.map +1 -1
- package/dist/chunks/visually-hidden-D6p_jGM-.es.js +11 -0
- package/dist/chunks/visually-hidden-D6p_jGM-.es.js.map +1 -0
- package/dist/chunks/visually-hidden-vUuCude-.cjs.js +2 -0
- package/dist/chunks/visually-hidden-vUuCude-.cjs.js.map +1 -0
- package/dist/components/accordion/accordion.types.d.ts +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +2 -2
- package/dist/components/alert/alert.types.d.ts +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/avatar/avatar.types.d.ts +1 -1
- package/dist/components/avatar.cjs +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/badge/badge.d.ts +1 -0
- package/dist/components/badge/badge.types.d.ts +1 -1
- package/dist/components/badge.cjs +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/button/button.types.d.ts +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar/calendar.types.d.ts +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card/card.types.d.ts +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/checkbox/checkbox.types.d.ts +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/code/code.types.d.ts +1 -1
- package/dist/components/code.cjs +1 -1
- package/dist/components/code.es.js +1 -1
- package/dist/components/collapsible-motion/collapsible-motion.types.d.ts +1 -1
- package/dist/components/collapsible-motion.cjs +1 -1
- package/dist/components/collapsible-motion.es.js +1 -1
- package/dist/components/combobox/combobox.types.d.ts +1 -1
- 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 +1 -1
- package/dist/components/data-table/data-table.types.d.ts +8 -2
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input/date-input.types.d.ts +1 -1
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker/date-picker.types.d.ts +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/date-range-picker.types.d.ts +1 -1
- package/dist/components/date-range-picker-field.cjs +1 -1
- package/dist/components/date-range-picker-field.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/dialog.types.d.ts +1 -1
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/draggable-list/draggable-list.types.d.ts +1 -1
- package/dist/components/draggable-list.cjs +1 -1
- package/dist/components/draggable-list.es.js +1 -1
- package/dist/components/drawer/drawer.types.d.ts +1 -1
- package/dist/components/drawer.cjs +1 -1
- package/dist/components/drawer.es.js +1 -1
- package/dist/components/field-errors/field-errors.types.d.ts +1 -1
- package/dist/components/field-errors.cjs +1 -1
- package/dist/components/field-errors.es.js +1 -1
- package/dist/components/fields.cjs +1 -1
- package/dist/components/fields.es.js +7 -7
- package/dist/components/form-field/form-field.types.d.ts +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/group/group.types.d.ts +1 -1
- package/dist/components/group.cjs +1 -1
- package/dist/components/group.es.js +1 -1
- package/dist/components/heading/heading.types.d.ts +1 -1
- package/dist/components/heading.cjs +1 -1
- package/dist/components/heading.es.js +1 -1
- package/dist/components/icon/icon.types.d.ts +1 -1
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/icon.cjs +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/inline-svg/inline-svg.slots.d.ts +1 -1
- package/dist/components/inline-svg.cjs +1 -1
- package/dist/components/inline-svg.es.js +1 -1
- package/dist/components/kbd/kbd.slots.d.ts +1 -1
- package/dist/components/kbd.cjs +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/link/link.types.d.ts +1 -1
- package/dist/components/link.cjs +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/list/list.slots.d.ts +1 -1
- package/dist/components/list/list.types.d.ts +1 -1
- package/dist/components/list.cjs +1 -1
- package/dist/components/list.es.js +1 -1
- package/dist/components/loading-spinner/loading-spinner.types.d.ts +1 -1
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/localized-field/localized-field.types.d.ts +1 -1
- package/dist/components/localized-field.cjs +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/menu/components/menu.content.d.ts +1 -1
- package/dist/components/menu/menu.d.ts +1 -1
- package/dist/components/menu/menu.types.d.ts +2 -2
- package/dist/components/money-input/money-input.types.d.ts +1 -1
- package/dist/components/money-input-field.cjs +1 -1
- package/dist/components/money-input-field.es.js +1 -1
- package/dist/components/money-input.cjs +1 -1
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/multiline-text-input/multiline-text-input.types.d.ts +1 -1
- package/dist/components/multiline-text-input-field.cjs +1 -1
- package/dist/components/multiline-text-input-field.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider/nimbus-provider.d.ts +4 -1
- package/dist/components/nimbus-provider/nimbus-provider.types.d.ts +5 -0
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input/number-input.types.d.ts +1 -1
- package/dist/components/number-input-field.cjs +1 -1
- package/dist/components/number-input-field.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/page-content/components/index.d.ts +2 -0
- package/dist/components/page-content/components/page-content.column.d.ts +13 -0
- package/dist/components/page-content/components/page-content.root.d.ts +15 -0
- package/dist/components/page-content/index.d.ts +2 -0
- package/dist/components/page-content/page-content.d.ts +62 -0
- package/dist/components/page-content/page-content.recipe.d.ts +63 -0
- package/dist/components/page-content/page-content.slots.d.ts +8 -0
- package/dist/components/page-content/page-content.types.d.ts +25 -0
- package/dist/components/page-content.cjs +2 -0
- package/dist/components/page-content.cjs.map +1 -0
- package/dist/components/page-content.es.js +7 -0
- package/dist/components/page-content.es.js.map +1 -0
- package/dist/components/pagination.cjs +1 -1
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/password-input-field.cjs +1 -1
- package/dist/components/password-input-field.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/patterns.cjs +1 -1
- package/dist/components/patterns.es.js +7 -7
- package/dist/components/popover/popover.types.d.ts +1 -1
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar/progress-bar.types.d.ts +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input/radio-input.types.d.ts +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar/range-calendar.types.d.ts +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/components/rich-text-editor.d.ts +10 -3
- package/dist/components/rich-text-input/rich-text-input.types.d.ts +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/scoped-search-input.types.d.ts +1 -1
- package/dist/components/scoped-search-input.cjs +1 -1
- package/dist/components/scoped-search-input.es.js +1 -1
- package/dist/components/search-input/search-input.types.d.ts +1 -1
- package/dist/components/search-input-field.cjs +1 -1
- package/dist/components/search-input-field.es.js +1 -1
- package/dist/components/search-input.cjs +1 -1
- package/dist/components/search-input.es.js +1 -1
- package/dist/components/select/select.types.d.ts +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/separator/separator.types.d.ts +1 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/services.cjs +2 -0
- package/dist/components/services.cjs.map +1 -0
- package/dist/components/services.es.js +12 -0
- package/dist/components/services.es.js.map +1 -0
- package/dist/components/spacer/spacer.types.d.ts +1 -1
- package/dist/components/spacer.cjs +1 -1
- package/dist/components/spacer.es.js +1 -1
- package/dist/components/split-button/split-button.types.d.ts +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/stack/stack.types.d.ts +1 -1
- package/dist/components/steps/steps.types.d.ts +2 -1
- package/dist/components/steps.cjs +1 -1
- package/dist/components/steps.es.js +1 -1
- package/dist/components/switch/switch.types.d.ts +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/table/table.slots.d.ts +1 -1
- package/dist/components/table/table.types.d.ts +1 -1
- package/dist/components/table.cjs +1 -1
- package/dist/components/table.es.js +1 -1
- package/dist/components/tabs/components/tabs.panel.d.ts +6 -1
- package/dist/components/tabs/components/tabs.tab.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +6 -3
- package/dist/components/tabs/tabs.slots.d.ts +4 -61
- package/dist/components/tabs/tabs.types.d.ts +114 -53
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.es.js +1 -1
- package/dist/components/tag-group/tag-group.types.d.ts +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input/text-input.types.d.ts +1 -1
- package/dist/components/text-input-field.cjs +1 -1
- package/dist/components/text-input-field.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/time-input/time-input.types.d.ts +1 -1
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toast/components/index.d.ts +2 -0
- package/dist/components/toast/components/toast.content.d.ts +10 -0
- package/dist/components/toast/components/toast.outlet.d.ts +29 -0
- package/dist/components/toast/constants/index.d.ts +36 -0
- package/dist/components/toast/index.d.ts +6 -0
- package/dist/components/toast/intl/de.d.ts +9 -0
- package/dist/components/toast/intl/en.d.ts +9 -0
- package/dist/components/toast/intl/es.d.ts +9 -0
- package/dist/components/toast/intl/fr-FR.d.ts +9 -0
- package/dist/components/toast/intl/pt-BR.d.ts +9 -0
- package/dist/components/toast/services/index.d.ts +2 -0
- package/dist/components/toast/services/toast.manager.d.ts +112 -0
- package/dist/components/toast/toast.i18n.d.ts +7 -0
- package/dist/components/toast/toast.messages.d.ts +6 -0
- package/dist/components/toast/toast.recipe.d.ts +81 -0
- package/dist/components/toast/toast.types.d.ts +116 -0
- package/dist/components/toast.cjs +2 -0
- package/dist/components/toast.cjs.map +1 -0
- package/dist/components/toast.es.js +7 -0
- package/dist/components/toast.es.js.map +1 -0
- package/dist/components/toggle-button/toggle-button.types.d.ts +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/toolbar.types.d.ts +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip/tooltip.types.d.ts +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.es.js +2 -2
- package/dist/components/utils.cjs +2 -2
- package/dist/components/utils.cjs.map +1 -1
- package/dist/components/utils.es.js +93 -93
- 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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +201 -193
- package/dist/index.es.js.map +1 -1
- package/dist/theme/animation-styles.d.ts +1 -1
- package/dist/theme/layer-styles.d.ts +1 -1
- package/dist/theme/slot-recipes/index.d.ts +122 -0
- package/dist/theme/text-styles.d.ts +1 -1
- package/dist/type-utils/shared-types.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/merge-refs.d.ts +6 -0
- package/package.json +36 -36
- package/dist/chunks/Button-DdJe0Bsx.es.js +0 -79
- package/dist/chunks/Button-DdJe0Bsx.es.js.map +0 -1
- package/dist/chunks/Button-gMAH0Rj3.cjs.js +0 -2
- package/dist/chunks/Button-gMAH0Rj3.cjs.js.map +0 -1
- package/dist/chunks/CollectionBuilder-0GDhYLYj.es.js +0 -661
- package/dist/chunks/CollectionBuilder-0GDhYLYj.es.js.map +0 -1
- package/dist/chunks/CollectionBuilder-DmVvcwgr.cjs.js +0 -2
- package/dist/chunks/CollectionBuilder-DmVvcwgr.cjs.js.map +0 -1
- package/dist/chunks/DateField-BRUydaav.es.js +0 -2859
- package/dist/chunks/DateField-BRUydaav.es.js.map +0 -1
- package/dist/chunks/DateField-C1q0JKwm.cjs.js +0 -2
- package/dist/chunks/DateField-C1q0JKwm.cjs.js.map +0 -1
- package/dist/chunks/DatePicker-DRgk46pk.es.js +0 -787
- package/dist/chunks/DatePicker-DRgk46pk.es.js.map +0 -1
- package/dist/chunks/DatePicker-sdi0fQDK.cjs.js +0 -2
- package/dist/chunks/DatePicker-sdi0fQDK.cjs.js.map +0 -1
- package/dist/chunks/Dialog-Cj-cFRnN.cjs.js +0 -7
- package/dist/chunks/Dialog-Cj-cFRnN.cjs.js.map +0 -1
- package/dist/chunks/Dialog-DWaWA6Gb.es.js +0 -1965
- package/dist/chunks/Dialog-DWaWA6Gb.es.js.map +0 -1
- package/dist/chunks/FocusScope-DZRwkXut.cjs.js +0 -2
- package/dist/chunks/FocusScope-DZRwkXut.cjs.js.map +0 -1
- package/dist/chunks/FocusScope-uL2GkoJc.es.js +0 -624
- package/dist/chunks/FocusScope-uL2GkoJc.es.js.map +0 -1
- package/dist/chunks/Group--hcG4Pud.cjs.js +0 -2
- package/dist/chunks/Group--hcG4Pud.cjs.js.map +0 -1
- package/dist/chunks/Group-Cx-fqsnU.es.js +0 -47
- package/dist/chunks/Group-Cx-fqsnU.es.js.map +0 -1
- package/dist/chunks/Header-CzXmXauX.cjs.js +0 -2
- package/dist/chunks/Header-CzXmXauX.cjs.js.map +0 -1
- package/dist/chunks/Header-DtejjUvp.es.js +0 -213
- package/dist/chunks/Header-DtejjUvp.es.js.map +0 -1
- package/dist/chunks/Heading-Cowxq9Ye.es.js +0 -1624
- package/dist/chunks/Heading-Cowxq9Ye.es.js.map +0 -1
- package/dist/chunks/Heading-DL9iTePj.cjs.js +0 -2
- package/dist/chunks/Heading-DL9iTePj.cjs.js.map +0 -1
- package/dist/chunks/Hidden-CNJIJ63M.cjs.js +0 -2
- package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +0 -1
- package/dist/chunks/Hidden-X9vuhkMZ.es.js +0 -28
- package/dist/chunks/Hidden-X9vuhkMZ.es.js.map +0 -1
- package/dist/chunks/Input-BDVq5GWX.cjs.js +0 -2
- package/dist/chunks/Input-BDVq5GWX.cjs.js.map +0 -1
- package/dist/chunks/Input-C7ULCEC5.es.js +0 -46
- package/dist/chunks/Input-C7ULCEC5.es.js.map +0 -1
- package/dist/chunks/Label-CBhqSlcw.es.js +0 -17
- package/dist/chunks/Label-CBhqSlcw.es.js.map +0 -1
- package/dist/chunks/Label-Ccyew9NI.cjs.js +0 -2
- package/dist/chunks/Label-Ccyew9NI.cjs.js.map +0 -1
- package/dist/chunks/ListBox-B1XPvV-u.es.js +0 -563
- package/dist/chunks/ListBox-B1XPvV-u.es.js.map +0 -1
- package/dist/chunks/ListBox-E082-iYR.cjs.js +0 -2
- package/dist/chunks/ListBox-E082-iYR.cjs.js.map +0 -1
- package/dist/chunks/Modal-C582CnE7.cjs.js +0 -2
- package/dist/chunks/Modal-C582CnE7.cjs.js.map +0 -1
- package/dist/chunks/Modal-CRQyEMVO.es.js +0 -194
- package/dist/chunks/Modal-CRQyEMVO.es.js.map +0 -1
- package/dist/chunks/OverlayArrow-BZ9PiNJQ.cjs.js +0 -2
- package/dist/chunks/OverlayArrow-BZ9PiNJQ.cjs.js.map +0 -1
- package/dist/chunks/OverlayArrow-Dk149xUz.es.js +0 -443
- package/dist/chunks/OverlayArrow-Dk149xUz.es.js.map +0 -1
- package/dist/chunks/ProgressBar-ChwWx0n4.cjs.js +0 -2
- package/dist/chunks/ProgressBar-ChwWx0n4.cjs.js.map +0 -1
- package/dist/chunks/ProgressBar-D5Xm62vr.es.js +0 -42
- package/dist/chunks/ProgressBar-D5Xm62vr.es.js.map +0 -1
- package/dist/chunks/SelectionManager-CKL0m64P.es.js +0 -1119
- package/dist/chunks/SelectionManager-CKL0m64P.es.js.map +0 -1
- package/dist/chunks/SelectionManager-jmSiFOkB.cjs.js +0 -2
- package/dist/chunks/SelectionManager-jmSiFOkB.cjs.js.map +0 -1
- package/dist/chunks/Separator-CCND3-Tq.cjs.js +0 -2
- package/dist/chunks/Separator-CCND3-Tq.cjs.js.map +0 -1
- package/dist/chunks/Separator-DOGzl0RN.es.js +0 -56
- package/dist/chunks/Separator-DOGzl0RN.es.js.map +0 -1
- package/dist/chunks/ToggleButton-BjPTP5eQ.es.js +0 -154
- package/dist/chunks/ToggleButton-BjPTP5eQ.es.js.map +0 -1
- package/dist/chunks/ToggleButton-LqDEArqH.cjs.js +0 -2
- package/dist/chunks/ToggleButton-LqDEArqH.cjs.js.map +0 -1
- package/dist/chunks/VisuallyHidden-B84WBioE.es.js +0 -41
- package/dist/chunks/VisuallyHidden-B84WBioE.es.js.map +0 -1
- package/dist/chunks/VisuallyHidden-D26Isbxh.cjs.js +0 -2
- package/dist/chunks/VisuallyHidden-D26Isbxh.cjs.js.map +0 -1
- package/dist/chunks/accordion-BbWhUi4l.cjs.js +0 -2
- package/dist/chunks/accordion-BbWhUi4l.cjs.js.map +0 -1
- package/dist/chunks/accordion-DcPPvEt9.es.js +0 -84
- package/dist/chunks/accordion-DcPPvEt9.es.js.map +0 -1
- package/dist/chunks/accordion.content-Dza79HRH.cjs.js +0 -2
- package/dist/chunks/accordion.content-Dza79HRH.cjs.js.map +0 -1
- package/dist/chunks/accordion.content-w_zDluJ_.es.js +0 -229
- package/dist/chunks/accordion.content-w_zDluJ_.es.js.map +0 -1
- package/dist/chunks/alert-Czm3t3FX.cjs.js +0 -2
- package/dist/chunks/alert-Czm3t3FX.cjs.js.map +0 -1
- package/dist/chunks/alert-KHgQZt9V.es.js +0 -158
- package/dist/chunks/alert-KHgQZt9V.es.js.map +0 -1
- package/dist/chunks/avatar-Dxv4iY1T.cjs.js +0 -2
- package/dist/chunks/avatar-Dxv4iY1T.cjs.js.map +0 -1
- package/dist/chunks/avatar-XKmhQ3Wm.es.js +0 -58
- package/dist/chunks/avatar-XKmhQ3Wm.es.js.map +0 -1
- package/dist/chunks/badge-BrehcyG8.cjs.js +0 -2
- package/dist/chunks/badge-BrehcyG8.cjs.js.map +0 -1
- package/dist/chunks/badge-CE5J551x.es.js +0 -16
- package/dist/chunks/badge-CE5J551x.es.js.map +0 -1
- package/dist/chunks/button-BdIz4niu.es.js +0 -74
- package/dist/chunks/button-BdIz4niu.es.js.map +0 -1
- package/dist/chunks/button-BjpvxeZ2.cjs.js +0 -2
- package/dist/chunks/button-BjpvxeZ2.cjs.js.map +0 -1
- package/dist/chunks/calendar-C2J8Pg0f.es.js +0 -227
- package/dist/chunks/calendar-C2J8Pg0f.es.js.map +0 -1
- package/dist/chunks/calendar-CKCkDgdS.cjs.js +0 -2
- package/dist/chunks/calendar-CKCkDgdS.cjs.js.map +0 -1
- package/dist/chunks/card-Dg7c_6HT.es.js +0 -115
- package/dist/chunks/card-Dg7c_6HT.es.js.map +0 -1
- package/dist/chunks/card-DlZGQaIV.cjs.js +0 -2
- package/dist/chunks/card-DlZGQaIV.cjs.js.map +0 -1
- package/dist/chunks/checkbox-D333QFV0.es.js +0 -221
- package/dist/chunks/checkbox-D333QFV0.es.js.map +0 -1
- package/dist/chunks/checkbox-wDUYYkm6.cjs.js +0 -2
- package/dist/chunks/checkbox-wDUYYkm6.cjs.js.map +0 -1
- package/dist/chunks/code-BKbS3YgV.es.js +0 -6
- package/dist/chunks/code-BKbS3YgV.es.js.map +0 -1
- package/dist/chunks/code-CNsIcAi8.cjs.js +0 -2
- package/dist/chunks/code-CNsIcAi8.cjs.js.map +0 -1
- package/dist/chunks/collapsible-motion-CLMK6IPY.cjs.js +0 -2
- package/dist/chunks/collapsible-motion-CLMK6IPY.cjs.js.map +0 -1
- package/dist/chunks/collapsible-motion-DXH1MF9B.es.js +0 -126
- package/dist/chunks/collapsible-motion-DXH1MF9B.es.js.map +0 -1
- package/dist/chunks/combobox-L58QyDO5.cjs.js +0 -2
- package/dist/chunks/combobox-L58QyDO5.cjs.js.map +0 -1
- package/dist/chunks/combobox-wCXlgzqY.es.js +0 -1562
- package/dist/chunks/combobox-wCXlgzqY.es.js.map +0 -1
- package/dist/chunks/data-table-CkZ4dsfc.cjs.js +0 -2
- package/dist/chunks/data-table-CkZ4dsfc.cjs.js.map +0 -1
- package/dist/chunks/data-table-DWGXoNwH.es.js +0 -4432
- package/dist/chunks/data-table-DWGXoNwH.es.js.map +0 -1
- package/dist/chunks/date-input-B8SXFXs4.es.js +0 -21
- package/dist/chunks/date-input-B8SXFXs4.es.js.map +0 -1
- package/dist/chunks/date-input-DEi6HrlX.cjs.js +0 -2
- package/dist/chunks/date-input-DEi6HrlX.cjs.js.map +0 -1
- package/dist/chunks/date-picker-DgUQZ_yW.es.js +0 -228
- package/dist/chunks/date-picker-DgUQZ_yW.es.js.map +0 -1
- package/dist/chunks/date-picker-qRmZG83v.cjs.js +0 -2
- package/dist/chunks/date-picker-qRmZG83v.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-DNYYw7vF.cjs.js +0 -2
- package/dist/chunks/date-range-picker-DNYYw7vF.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-DaBDZRRU.es.js +0 -364
- package/dist/chunks/date-range-picker-DaBDZRRU.es.js.map +0 -1
- package/dist/chunks/date-range-picker-field-B2Ob9Y6o.es.js +0 -61
- package/dist/chunks/date-range-picker-field-B2Ob9Y6o.es.js.map +0 -1
- package/dist/chunks/date-range-picker-field-NcQCOgLc.cjs.js +0 -2
- package/dist/chunks/date-range-picker-field-NcQCOgLc.cjs.js.map +0 -1
- package/dist/chunks/dialog-DynAu_mA.cjs.js +0 -2
- package/dist/chunks/dialog-DynAu_mA.cjs.js.map +0 -1
- package/dist/chunks/dialog-h_vs9W87.es.js +0 -305
- package/dist/chunks/dialog-h_vs9W87.es.js.map +0 -1
- package/dist/chunks/draggable-list-BXpFH9Wt.es.js +0 -4114
- package/dist/chunks/draggable-list-BXpFH9Wt.es.js.map +0 -1
- package/dist/chunks/draggable-list-Bs3EJK30.cjs.js +0 -3
- package/dist/chunks/draggable-list-Bs3EJK30.cjs.js.map +0 -1
- package/dist/chunks/drawer-BiJOZ9ZA.es.js +0 -320
- package/dist/chunks/drawer-BiJOZ9ZA.es.js.map +0 -1
- package/dist/chunks/drawer-D9EHuv60.cjs.js +0 -2
- package/dist/chunks/drawer-D9EHuv60.cjs.js.map +0 -1
- package/dist/chunks/extract-style-props-B7802mZ7.es.js +0 -11
- package/dist/chunks/extract-style-props-B7802mZ7.es.js.map +0 -1
- package/dist/chunks/extract-style-props-D01wBkp3.cjs.js +0 -2
- package/dist/chunks/extract-style-props-D01wBkp3.cjs.js.map +0 -1
- package/dist/chunks/field-errors-C8G94e3K.cjs.js +0 -2
- package/dist/chunks/field-errors-C8G94e3K.cjs.js.map +0 -1
- package/dist/chunks/field-errors-DYvB-OZF.es.js +0 -219
- package/dist/chunks/field-errors-DYvB-OZF.es.js.map +0 -1
- package/dist/chunks/focusSafely-BEx2juqL.cjs.js +0 -2
- package/dist/chunks/focusSafely-BEx2juqL.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-CCta_Ygk.es.js +0 -28
- package/dist/chunks/focusSafely-CCta_Ygk.es.js.map +0 -1
- package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js +0 -2
- package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +0 -1
- package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js +0 -46
- package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +0 -1
- package/dist/chunks/form-field-7MXzn4n0.cjs.js +0 -2
- package/dist/chunks/form-field-7MXzn4n0.cjs.js.map +0 -1
- package/dist/chunks/form-field-afT3LClZ.es.js +0 -358
- package/dist/chunks/form-field-afT3LClZ.es.js.map +0 -1
- package/dist/chunks/getScrollParent-Bf02nsKW.es.js +0 -10
- package/dist/chunks/getScrollParent-Bf02nsKW.es.js.map +0 -1
- package/dist/chunks/getScrollParent-FamUfUoi.cjs.js +0 -2
- package/dist/chunks/getScrollParent-FamUfUoi.cjs.js.map +0 -1
- package/dist/chunks/group-CKLa1Tba.es.js +0 -13
- package/dist/chunks/group-CKLa1Tba.es.js.map +0 -1
- package/dist/chunks/group-DxWYupRX.cjs.js +0 -2
- package/dist/chunks/group-DxWYupRX.cjs.js.map +0 -1
- package/dist/chunks/heading-C4Z-E1Nx.cjs.js +0 -2
- package/dist/chunks/heading-C4Z-E1Nx.cjs.js.map +0 -1
- package/dist/chunks/heading-D-lZeC8r.es.js +0 -25
- package/dist/chunks/heading-D-lZeC8r.es.js.map +0 -1
- package/dist/chunks/icon-DIEEgcIZ.es.js +0 -19
- package/dist/chunks/icon-DIEEgcIZ.es.js.map +0 -1
- package/dist/chunks/icon-Ep1rnhRT.cjs.js +0 -2
- package/dist/chunks/icon-Ep1rnhRT.cjs.js.map +0 -1
- package/dist/chunks/icon-button-D8tikX4p.cjs.js +0 -2
- package/dist/chunks/icon-button-D8tikX4p.cjs.js.map +0 -1
- package/dist/chunks/icon-button-Def1vQdW.es.js +0 -28
- package/dist/chunks/icon-button-Def1vQdW.es.js.map +0 -1
- package/dist/chunks/icon-toggle-button-B-iq55V5.cjs.js +0 -2
- package/dist/chunks/icon-toggle-button-B-iq55V5.cjs.js.map +0 -1
- package/dist/chunks/icon-toggle-button-DUv5gzBz.es.js +0 -13
- package/dist/chunks/icon-toggle-button-DUv5gzBz.es.js.map +0 -1
- package/dist/chunks/index-DIypcUoW.cjs.js +0 -34
- package/dist/chunks/index-DIypcUoW.cjs.js.map +0 -1
- package/dist/chunks/index-mX0_y2zc.es.js +0 -6364
- package/dist/chunks/index-mX0_y2zc.es.js.map +0 -1
- package/dist/chunks/inline-svg-DeHAHjI4.es.js +0 -21
- package/dist/chunks/inline-svg-DeHAHjI4.es.js.map +0 -1
- package/dist/chunks/inline-svg-ZvGLE5-3.cjs.js +0 -2
- package/dist/chunks/inline-svg-ZvGLE5-3.cjs.js.map +0 -1
- package/dist/chunks/kbd-DKQY4b4-.cjs.js +0 -2
- package/dist/chunks/kbd-DKQY4b4-.cjs.js.map +0 -1
- package/dist/chunks/kbd-Dr2MAv1T.es.js +0 -15
- package/dist/chunks/kbd-Dr2MAv1T.es.js.map +0 -1
- package/dist/chunks/link-CgEffPtL.es.js +0 -48
- package/dist/chunks/link-CgEffPtL.es.js.map +0 -1
- package/dist/chunks/link-DpFdrKmH.cjs.js +0 -2
- package/dist/chunks/link-DpFdrKmH.cjs.js.map +0 -1
- package/dist/chunks/list-BFClitt5.es.js +0 -27
- package/dist/chunks/list-BFClitt5.es.js.map +0 -1
- package/dist/chunks/list-BYfUlDn2.cjs.js +0 -2
- package/dist/chunks/list-BYfUlDn2.cjs.js.map +0 -1
- package/dist/chunks/loading-spinner-C0grjMgI.es.js +0 -53
- package/dist/chunks/loading-spinner-C0grjMgI.es.js.map +0 -1
- package/dist/chunks/loading-spinner-Cck6xCAl.cjs.js +0 -2
- package/dist/chunks/loading-spinner-Cck6xCAl.cjs.js.map +0 -1
- package/dist/chunks/localized-field-BaRf3xJr.es.js +0 -483
- package/dist/chunks/localized-field-BaRf3xJr.es.js.map +0 -1
- package/dist/chunks/localized-field-BzuWphUR.cjs.js +0 -2
- package/dist/chunks/localized-field-BzuWphUR.cjs.js.map +0 -1
- package/dist/chunks/make-element-focusable-AmxCDNBB.cjs.js +0 -2
- package/dist/chunks/make-element-focusable-AmxCDNBB.cjs.js.map +0 -1
- package/dist/chunks/make-element-focusable-BNkjt6Kk.es.js +0 -25
- package/dist/chunks/make-element-focusable-BNkjt6Kk.es.js.map +0 -1
- package/dist/chunks/menu-Dfba4NsL.es.js +0 -256
- package/dist/chunks/menu-Dfba4NsL.es.js.map +0 -1
- package/dist/chunks/menu-uJuT0jai.cjs.js +0 -2
- package/dist/chunks/menu-uJuT0jai.cjs.js.map +0 -1
- package/dist/chunks/money-input-B7GgEKPw.es.js +0 -535
- package/dist/chunks/money-input-B7GgEKPw.es.js.map +0 -1
- package/dist/chunks/money-input-BXZ37VX0.cjs.js +0 -2
- package/dist/chunks/money-input-BXZ37VX0.cjs.js.map +0 -1
- package/dist/chunks/money-input-field-CplOXJzF.es.js +0 -51
- package/dist/chunks/money-input-field-CplOXJzF.es.js.map +0 -1
- package/dist/chunks/money-input-field-S0COLz5g.cjs.js +0 -2
- package/dist/chunks/money-input-field-S0COLz5g.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-BRcndLrW.cjs.js +0 -2
- package/dist/chunks/multiline-text-input-BRcndLrW.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-BwAlPq18.es.js +0 -98
- package/dist/chunks/multiline-text-input-BwAlPq18.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-field-DPm5GsgJ.cjs.js +0 -2
- package/dist/chunks/multiline-text-input-field-DPm5GsgJ.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-field-DzgEd8Vg.es.js +0 -56
- package/dist/chunks/multiline-text-input-field-DzgEd8Vg.es.js.map +0 -1
- package/dist/chunks/nimbus-provider-6nJOodRc.cjs.js +0 -2
- package/dist/chunks/nimbus-provider-6nJOodRc.cjs.js.map +0 -1
- package/dist/chunks/nimbus-provider-Dn1p49HJ.es.js +0 -101
- package/dist/chunks/nimbus-provider-Dn1p49HJ.es.js.map +0 -1
- package/dist/chunks/number-input-BbTYTFKl.es.js +0 -686
- package/dist/chunks/number-input-BbTYTFKl.es.js.map +0 -1
- package/dist/chunks/number-input-CMdIJP9t.cjs.js +0 -2
- package/dist/chunks/number-input-CMdIJP9t.cjs.js.map +0 -1
- package/dist/chunks/number-input-field-5IaIuxUD.es.js +0 -51
- package/dist/chunks/number-input-field-5IaIuxUD.es.js.map +0 -1
- package/dist/chunks/number-input-field-CpgIsmnA.cjs.js +0 -2
- package/dist/chunks/number-input-field-CpgIsmnA.cjs.js.map +0 -1
- package/dist/chunks/openLink-CkDzR4gQ.cjs.js +0 -2
- package/dist/chunks/openLink-CkDzR4gQ.cjs.js.map +0 -1
- package/dist/chunks/openLink-HsZR1nGD.es.js +0 -147
- package/dist/chunks/openLink-HsZR1nGD.es.js.map +0 -1
- package/dist/chunks/pagination-CQ6JNfE5.cjs.js +0 -2
- package/dist/chunks/pagination-CQ6JNfE5.cjs.js.map +0 -1
- package/dist/chunks/pagination-DJ5zSQzV.es.js +0 -226
- package/dist/chunks/pagination-DJ5zSQzV.es.js.map +0 -1
- package/dist/chunks/password-input-CJ9C_fSG.es.js +0 -47
- package/dist/chunks/password-input-CJ9C_fSG.es.js.map +0 -1
- package/dist/chunks/password-input-CMDHUDpP.cjs.js +0 -2
- package/dist/chunks/password-input-CMDHUDpP.cjs.js.map +0 -1
- package/dist/chunks/password-input-field-DWUzicc0.es.js +0 -56
- package/dist/chunks/password-input-field-DWUzicc0.es.js.map +0 -1
- package/dist/chunks/password-input-field-DisVA7Em.cjs.js +0 -2
- package/dist/chunks/password-input-field-DisVA7Em.cjs.js.map +0 -1
- package/dist/chunks/popover-CMEv0BL5.cjs.js +0 -2
- package/dist/chunks/popover-CMEv0BL5.cjs.js.map +0 -1
- package/dist/chunks/popover-Da9e7Mrv.es.js +0 -11
- package/dist/chunks/popover-Da9e7Mrv.es.js.map +0 -1
- package/dist/chunks/progress-bar-Bf1Nhk1h.cjs.js +0 -2
- package/dist/chunks/progress-bar-Bf1Nhk1h.cjs.js.map +0 -1
- package/dist/chunks/progress-bar-mVsxpFQP.es.js +0 -76
- package/dist/chunks/progress-bar-mVsxpFQP.es.js.map +0 -1
- package/dist/chunks/radio-input-ByxvfG-e.es.js +0 -376
- package/dist/chunks/radio-input-ByxvfG-e.es.js.map +0 -1
- package/dist/chunks/radio-input-maUDV5H9.cjs.js +0 -2
- package/dist/chunks/radio-input-maUDV5H9.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-B30wnQJX.cjs.js +0 -2
- package/dist/chunks/range-calendar-B30wnQJX.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-BXo94N2g.es.js +0 -229
- package/dist/chunks/range-calendar-BXo94N2g.es.js.map +0 -1
- package/dist/chunks/rich-text-input-B9tp3eNv.cjs.js +0 -4
- package/dist/chunks/rich-text-input-B9tp3eNv.cjs.js.map +0 -1
- package/dist/chunks/rich-text-input-BDMJmebE.es.js +0 -1200
- package/dist/chunks/rich-text-input-BDMJmebE.es.js.map +0 -1
- package/dist/chunks/scoped-search-input-CDOLkcSR.cjs.js +0 -2
- package/dist/chunks/scoped-search-input-CDOLkcSR.cjs.js.map +0 -1
- package/dist/chunks/scoped-search-input-D5-NuBq5.es.js +0 -151
- package/dist/chunks/scoped-search-input-D5-NuBq5.es.js.map +0 -1
- package/dist/chunks/scrollIntoView-BJswSLXM.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-BJswSLXM.cjs.js.map +0 -1
- package/dist/chunks/scrollIntoView-BusXP5qP.es.js +0 -90
- package/dist/chunks/scrollIntoView-BusXP5qP.es.js.map +0 -1
- package/dist/chunks/search-input-D1K0w78W.cjs.js +0 -2
- package/dist/chunks/search-input-D1K0w78W.cjs.js.map +0 -1
- package/dist/chunks/search-input-D_Sj3xgZ.es.js +0 -368
- package/dist/chunks/search-input-D_Sj3xgZ.es.js.map +0 -1
- package/dist/chunks/search-input-field-Kwo68rhv.es.js +0 -51
- package/dist/chunks/search-input-field-Kwo68rhv.es.js.map +0 -1
- package/dist/chunks/search-input-field-LqZfrPN3.cjs.js +0 -2
- package/dist/chunks/search-input-field-LqZfrPN3.cjs.js.map +0 -1
- package/dist/chunks/select-BFu78F9T.cjs.js +0 -2
- package/dist/chunks/select-BFu78F9T.cjs.js.map +0 -1
- package/dist/chunks/select-ffhO3keR.es.js +0 -774
- package/dist/chunks/select-ffhO3keR.es.js.map +0 -1
- package/dist/chunks/separator-CTuUJEp6.es.js +0 -24
- package/dist/chunks/separator-CTuUJEp6.es.js.map +0 -1
- package/dist/chunks/separator-DEjjnfoL.cjs.js +0 -2
- package/dist/chunks/separator-DEjjnfoL.cjs.js.map +0 -1
- package/dist/chunks/spacer-BvQD2vU1.cjs.js +0 -2
- package/dist/chunks/spacer-BvQD2vU1.cjs.js.map +0 -1
- package/dist/chunks/spacer-pHklG6Ri.es.js +0 -8
- package/dist/chunks/spacer-pHklG6Ri.es.js.map +0 -1
- package/dist/chunks/split-button-CVM4XtYf.es.js +0 -106
- package/dist/chunks/split-button-CVM4XtYf.es.js.map +0 -1
- package/dist/chunks/split-button-DfqXSJFg.cjs.js +0 -2
- package/dist/chunks/split-button-DfqXSJFg.cjs.js.map +0 -1
- package/dist/chunks/steps-ZvTF2yI5.cjs.js +0 -2
- package/dist/chunks/steps-ZvTF2yI5.cjs.js.map +0 -1
- package/dist/chunks/steps-fe8b8aLL.es.js +0 -307
- package/dist/chunks/steps-fe8b8aLL.es.js.map +0 -1
- package/dist/chunks/switch-CFe9-7oY.cjs.js +0 -2
- package/dist/chunks/switch-CFe9-7oY.cjs.js.map +0 -1
- package/dist/chunks/switch-e_JZ3m3w.es.js +0 -67
- package/dist/chunks/switch-e_JZ3m3w.es.js.map +0 -1
- package/dist/chunks/table-BM5i5UPw.cjs.js +0 -2
- package/dist/chunks/table-BM5i5UPw.cjs.js.map +0 -1
- package/dist/chunks/table-DgYwAU_T.es.js +0 -72
- package/dist/chunks/table-DgYwAU_T.es.js.map +0 -1
- package/dist/chunks/tabs-C7aCLJP1.cjs.js +0 -2
- package/dist/chunks/tabs-C7aCLJP1.cjs.js.map +0 -1
- package/dist/chunks/tabs-D3t5ePxt.es.js +0 -537
- package/dist/chunks/tabs-D3t5ePxt.es.js.map +0 -1
- package/dist/chunks/tag-group-DToHUy7A.cjs.js +0 -2
- package/dist/chunks/tag-group-DToHUy7A.cjs.js.map +0 -1
- package/dist/chunks/tag-group-DvQIheRU.es.js +0 -615
- package/dist/chunks/tag-group-DvQIheRU.es.js.map +0 -1
- package/dist/chunks/text-input-BIHVEdd1.es.js +0 -78
- package/dist/chunks/text-input-BIHVEdd1.es.js.map +0 -1
- package/dist/chunks/text-input-BaFlyKtP.cjs.js +0 -2
- package/dist/chunks/text-input-BaFlyKtP.cjs.js.map +0 -1
- package/dist/chunks/text-input-field-B0mTX26s.cjs.js +0 -2
- package/dist/chunks/text-input-field-B0mTX26s.cjs.js.map +0 -1
- package/dist/chunks/text-input-field-Dc8mcolY.es.js +0 -58
- package/dist/chunks/text-input-field-Dc8mcolY.es.js.map +0 -1
- package/dist/chunks/time-input-CIjSEBB0.cjs.js +0 -2
- package/dist/chunks/time-input-CIjSEBB0.cjs.js.map +0 -1
- package/dist/chunks/time-input-D1PemZst.es.js +0 -21
- package/dist/chunks/time-input-D1PemZst.es.js.map +0 -1
- package/dist/chunks/toggle-button-C72A8VSU.cjs.js +0 -2
- package/dist/chunks/toggle-button-C72A8VSU.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-Ycl4Khhb.es.js +0 -30
- package/dist/chunks/toggle-button-Ycl4Khhb.es.js.map +0 -1
- package/dist/chunks/toggle-button-group--ZStnkyT.cjs.js +0 -2
- package/dist/chunks/toggle-button-group--ZStnkyT.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-group-PnfISweU.es.js +0 -28
- package/dist/chunks/toggle-button-group-PnfISweU.es.js.map +0 -1
- package/dist/chunks/toolbar-eL76yUhg.cjs.js +0 -2
- package/dist/chunks/toolbar-eL76yUhg.cjs.js.map +0 -1
- package/dist/chunks/toolbar-oFWBo0XW.es.js +0 -61
- package/dist/chunks/toolbar-oFWBo0XW.es.js.map +0 -1
- package/dist/chunks/tooltip-DYy_urAN.cjs.js +0 -2
- package/dist/chunks/tooltip-DYy_urAN.cjs.js.map +0 -1
- package/dist/chunks/tooltip-DsIxtZs4.es.js +0 -302
- package/dist/chunks/tooltip-DsIxtZs4.es.js.map +0 -1
- package/dist/chunks/useButton-9oTHM6S2.cjs.js +0 -2
- package/dist/chunks/useButton-9oTHM6S2.cjs.js.map +0 -1
- package/dist/chunks/useButton-B9pZzEdT.es.js +0 -57
- package/dist/chunks/useButton-B9pZzEdT.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-D0ddZ_gd.es.js +0 -1660
- package/dist/chunks/useDateFormatter-D0ddZ_gd.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-DNW3PPAW.cjs.js +0 -2
- package/dist/chunks/useDateFormatter-DNW3PPAW.cjs.js.map +0 -1
- package/dist/chunks/useFocus-CeeAz0bF.es.js +0 -29
- package/dist/chunks/useFocus-CeeAz0bF.es.js.map +0 -1
- package/dist/chunks/useFocus-DCxMIlxB.cjs.js +0 -2
- package/dist/chunks/useFocus-DCxMIlxB.cjs.js.map +0 -1
- package/dist/chunks/useFocusRing-BMbyOrJt.es.js +0 -39
- package/dist/chunks/useFocusRing-BMbyOrJt.es.js.map +0 -1
- package/dist/chunks/useFocusRing-D6OR62eN.cjs.js +0 -2
- package/dist/chunks/useFocusRing-D6OR62eN.cjs.js.map +0 -1
- package/dist/chunks/useFocusVisible-5vZ1WXFZ.cjs.js +0 -2
- package/dist/chunks/useFocusVisible-5vZ1WXFZ.cjs.js.map +0 -1
- package/dist/chunks/useFocusVisible-BYry1gSZ.es.js +0 -114
- package/dist/chunks/useFocusVisible-BYry1gSZ.es.js.map +0 -1
- package/dist/chunks/useFocusWithin-Cpf4Z-xW.cjs.js +0 -2
- package/dist/chunks/useFocusWithin-Cpf4Z-xW.cjs.js.map +0 -1
- package/dist/chunks/useFocusWithin-ZY7HuppD.es.js +0 -56
- package/dist/chunks/useFocusWithin-ZY7HuppD.es.js.map +0 -1
- package/dist/chunks/useFocusable-hSEKBu4u.es.js +0 -77
- package/dist/chunks/useFocusable-hSEKBu4u.es.js.map +0 -1
- package/dist/chunks/useFocusable-q7ZZirlt.cjs.js +0 -2
- package/dist/chunks/useFocusable-q7ZZirlt.cjs.js.map +0 -1
- package/dist/chunks/useFormValidation-Cf3op7rM.cjs.js +0 -2
- package/dist/chunks/useFormValidation-Cf3op7rM.cjs.js.map +0 -1
- package/dist/chunks/useFormValidation-DFPASiIB.es.js +0 -200
- package/dist/chunks/useFormValidation-DFPASiIB.es.js.map +0 -1
- package/dist/chunks/useGridListItem-Dmqv0ftv.cjs.js +0 -2
- package/dist/chunks/useGridListItem-Dmqv0ftv.cjs.js.map +0 -1
- package/dist/chunks/useGridListItem-VfYU11P8.es.js +0 -820
- package/dist/chunks/useGridListItem-VfYU11P8.es.js.map +0 -1
- package/dist/chunks/useHasTabbableChild-C4uQEwV0.cjs.js +0 -2
- package/dist/chunks/useHasTabbableChild-C4uQEwV0.cjs.js.map +0 -1
- package/dist/chunks/useHasTabbableChild-MKRDwhdr.es.js +0 -35
- package/dist/chunks/useHasTabbableChild-MKRDwhdr.es.js.map +0 -1
- package/dist/chunks/useHover-D0jSsXYH.cjs.js +0 -2
- package/dist/chunks/useHover-D0jSsXYH.cjs.js.map +0 -1
- package/dist/chunks/useHover-Y3jiyL7C.es.js +0 -86
- package/dist/chunks/useHover-Y3jiyL7C.es.js.map +0 -1
- package/dist/chunks/useListState-C7XQAUnL.cjs.js +0 -2
- package/dist/chunks/useListState-C7XQAUnL.cjs.js.map +0 -1
- package/dist/chunks/useListState-xdP8vTga.es.js +0 -138
- package/dist/chunks/useListState-xdP8vTga.es.js.map +0 -1
- package/dist/chunks/usePress-D2-EBPg9.cjs.js +0 -8
- package/dist/chunks/usePress-D2-EBPg9.cjs.js.map +0 -1
- package/dist/chunks/usePress-qb58ZN-U.es.js +0 -503
- package/dist/chunks/usePress-qb58ZN-U.es.js.map +0 -1
- package/dist/chunks/useTextField-BQU1OdIu.es.js +0 -78
- package/dist/chunks/useTextField-BQU1OdIu.es.js.map +0 -1
- package/dist/chunks/useTextField-kSqhrTDY.cjs.js +0 -2
- package/dist/chunks/useTextField-kSqhrTDY.cjs.js.map +0 -1
- package/dist/chunks/useToggle-CBhPQREj.es.js +0 -62
- package/dist/chunks/useToggle-CBhPQREj.es.js.map +0 -1
- package/dist/chunks/useToggle-D0yhCNgE.cjs.js +0 -2
- package/dist/chunks/useToggle-D0yhCNgE.cjs.js.map +0 -1
- package/dist/chunks/useToolbar-DEyXvA2U.cjs.js +0 -2
- package/dist/chunks/useToolbar-DEyXvA2U.cjs.js.map +0 -1
- package/dist/chunks/useToolbar-kIqkN0S0.es.js +0 -55
- package/dist/chunks/useToolbar-kIqkN0S0.es.js.map +0 -1
- package/dist/chunks/utils-DgKHb8HM.cjs.js +0 -2
- package/dist/chunks/utils-DgKHb8HM.cjs.js.map +0 -1
- package/dist/chunks/utils-_TS1FtP1.es.js +0 -186
- package/dist/chunks/utils-_TS1FtP1.es.js.map +0 -1
- package/dist/chunks/visually-hidden-BrG70ba_.cjs.js +0 -2
- package/dist/chunks/visually-hidden-BrG70ba_.cjs.js.map +0 -1
- package/dist/chunks/visually-hidden-EGgKt7hK.es.js +0 -11
- package/dist/chunks/visually-hidden-EGgKt7hK.es.js.map +0 -1
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import w, { useContext as v, createContext as N } from "react";
|
|
3
|
-
import { j as O, k as M } from "./Dialog-DWaWA6Gb.es.js";
|
|
4
|
-
import { createSlotRecipeContext as F, useSlotRecipe as _, chakra as B } from "@chakra-ui/react/styled-system";
|
|
5
|
-
import { k as H } from "./index-mX0_y2zc.es.js";
|
|
6
|
-
import { a as k } from "./Button-DdJe0Bsx.es.js";
|
|
7
|
-
import { e as m } from "./extract-style-props-B7802mZ7.es.js";
|
|
8
|
-
import { $ as I, a as j } from "./Modal-CRQyEMVO.es.js";
|
|
9
|
-
import { H as z } from "./heading-D-lZeC8r.es.js";
|
|
10
|
-
import { Close as E } from "@commercetools/nimbus-icons";
|
|
11
|
-
import { n as c, u as L } from "./normalize-messages-BN9BAFXe.es.js";
|
|
12
|
-
import { I as V } from "./icon-button-Def1vQdW.es.js";
|
|
13
|
-
const { withProvider: A, withContext: a } = /* @__PURE__ */ F({
|
|
14
|
-
key: "nimbusDrawer"
|
|
15
|
-
}), K = /* @__PURE__ */ A(
|
|
16
|
-
"div",
|
|
17
|
-
"root"
|
|
18
|
-
), q = /* @__PURE__ */ a("button", "trigger"), G = /* @__PURE__ */ a("div", "modalOverlay"), J = /* @__PURE__ */ a("div", "modal"), Q = /* @__PURE__ */ a("div", "content"), U = /* @__PURE__ */ a(
|
|
19
|
-
"header",
|
|
20
|
-
"header"
|
|
21
|
-
), W = /* @__PURE__ */ a(
|
|
22
|
-
"div",
|
|
23
|
-
"body"
|
|
24
|
-
), X = /* @__PURE__ */ a(
|
|
25
|
-
"footer",
|
|
26
|
-
"footer"
|
|
27
|
-
), Y = /* @__PURE__ */ a("h2", "title"), Z = /* @__PURE__ */ a("div", "closeTrigger"), u = /* @__PURE__ */ N(
|
|
28
|
-
void 0
|
|
29
|
-
), ee = () => {
|
|
30
|
-
const e = v(u);
|
|
31
|
-
if (!e)
|
|
32
|
-
throw new Error("useDrawerContext must be used within Drawer.Root");
|
|
33
|
-
return e;
|
|
34
|
-
}, re = ({
|
|
35
|
-
children: e,
|
|
36
|
-
value: t
|
|
37
|
-
}) => /* @__PURE__ */ r(u, { value: t, children: e }), D = (e) => {
|
|
38
|
-
const t = _({ recipe: H }), [s] = t.splitVariantProps(e), { children: o, isOpen: n, onOpenChange: i, defaultOpen: f = !1 } = e, d = /* @__PURE__ */ r(K, { ...s, children: o }), g = w.Children.toArray(o).some((l) => {
|
|
39
|
-
if (w.isValidElement(l) && typeof l.type == "function") {
|
|
40
|
-
const p = l.type?.displayName;
|
|
41
|
-
return p === "DrawerTrigger" || p === "Drawer.Trigger";
|
|
42
|
-
}
|
|
43
|
-
return !1;
|
|
44
|
-
});
|
|
45
|
-
return /* @__PURE__ */ r(re, { value: { ...e, hasDrawerTrigger: g }, children: g ? (
|
|
46
|
-
// When there's a Drawer.Trigger, use DialogTrigger for React Aria integration
|
|
47
|
-
/* @__PURE__ */ r(
|
|
48
|
-
O,
|
|
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: s,
|
|
66
|
-
...o
|
|
67
|
-
}) => {
|
|
68
|
-
if (s)
|
|
69
|
-
return /* @__PURE__ */ r(B.button, { ref: e, asChild: !0, ...o, children: t });
|
|
70
|
-
const [n, i] = m(o);
|
|
71
|
-
return /* @__PURE__ */ r(q, { ...n, asChild: !0, children: /* @__PURE__ */ r(k, { ref: e, ...i, children: t }) });
|
|
72
|
-
};
|
|
73
|
-
h.displayName = "Drawer.Trigger";
|
|
74
|
-
const C = (e) => {
|
|
75
|
-
const { ref: t, children: s, ...o } = e, {
|
|
76
|
-
hasDrawerTrigger: n,
|
|
77
|
-
isDismissable: i = !0,
|
|
78
|
-
// Default to true so clicking outside closes the drawer
|
|
79
|
-
isKeyboardDismissDisabled: f,
|
|
80
|
-
shouldCloseOnInteractOutside: d,
|
|
81
|
-
isOpen: g,
|
|
82
|
-
onOpenChange: l,
|
|
83
|
-
defaultOpen: p
|
|
84
|
-
} = ee(), P = n ? {
|
|
85
|
-
// With trigger: Only pass dismissal props, state is managed by DialogTrigger
|
|
86
|
-
isDismissable: i,
|
|
87
|
-
isKeyboardDismissDisabled: f,
|
|
88
|
-
shouldCloseOnInteractOutside: d
|
|
89
|
-
} : {
|
|
90
|
-
// Without trigger: Pass state management props to ModalOverlay
|
|
91
|
-
isDismissable: i,
|
|
92
|
-
isKeyboardDismissDisabled: f,
|
|
93
|
-
shouldCloseOnInteractOutside: d,
|
|
94
|
-
isOpen: g,
|
|
95
|
-
onOpenChange: l,
|
|
96
|
-
defaultOpen: p
|
|
97
|
-
}, [$, R] = m(o);
|
|
98
|
-
return /* @__PURE__ */ r(G, { asChild: !0, children: /* @__PURE__ */ r(I, { ...P, children: /* @__PURE__ */ r(J, { asChild: !0, children: /* @__PURE__ */ r(j, { children: /* @__PURE__ */ r(Q, { asChild: !0, ...$, children: /* @__PURE__ */ r(M, { ref: t, ...R, children: s }) }) }) }) }) });
|
|
99
|
-
};
|
|
100
|
-
C.displayName = "Drawer.Content";
|
|
101
|
-
const y = (e) => {
|
|
102
|
-
const { ref: t, children: s, ...o } = e;
|
|
103
|
-
return /* @__PURE__ */ r(U, { ref: t, ...o, children: s });
|
|
104
|
-
};
|
|
105
|
-
y.displayName = "Drawer.Header";
|
|
106
|
-
const b = (e) => {
|
|
107
|
-
const { ref: t, children: s, ...o } = e;
|
|
108
|
-
return /* @__PURE__ */ r(W, { ref: t, ...{
|
|
109
|
-
/**
|
|
110
|
-
* Set tabIndex to 0 to allow the body to receive focus,
|
|
111
|
-
* effectively enabling scrolling via keyboard arrow keys.
|
|
112
|
-
*/
|
|
113
|
-
tabIndex: 0
|
|
114
|
-
}, ...o, children: s });
|
|
115
|
-
};
|
|
116
|
-
b.displayName = "Drawer.Body";
|
|
117
|
-
const T = (e) => {
|
|
118
|
-
const { ref: t, children: s, ...o } = e;
|
|
119
|
-
return /* @__PURE__ */ r(X, { ref: t, ...o, children: s });
|
|
120
|
-
};
|
|
121
|
-
T.displayName = "Drawer.Footer";
|
|
122
|
-
const x = (e) => {
|
|
123
|
-
const { ref: t, children: s, ...o } = e;
|
|
124
|
-
return /* @__PURE__ */ r(Y, { asChild: !0, ...o, children: /* @__PURE__ */ r(z, { ref: t, slot: "title", as: "h2", textStyle: "lg", children: s }) });
|
|
125
|
-
};
|
|
126
|
-
x.displayName = "Drawer.Title";
|
|
127
|
-
const te = { closeTrigger: "Close drawer" }, oe = { closeTrigger: "Schublade schließen" }, se = { closeTrigger: "Cerrar bandeja" }, ae = { closeTrigger: "Fermer le volet" }, ne = { closeTrigger: "Fechar gaveta" }, ie = {
|
|
128
|
-
en: /* @__PURE__ */ c(te),
|
|
129
|
-
de: /* @__PURE__ */ c(oe),
|
|
130
|
-
es: /* @__PURE__ */ c(se),
|
|
131
|
-
"fr-FR": /* @__PURE__ */ c(ae),
|
|
132
|
-
"pt-BR": /* @__PURE__ */ c(ne)
|
|
133
|
-
}, S = (e) => {
|
|
134
|
-
const t = L(ie), { ref: s, "aria-label": o, ...n } = e;
|
|
135
|
-
return /* @__PURE__ */ r(Z, { children: /* @__PURE__ */ r(
|
|
136
|
-
V,
|
|
137
|
-
{
|
|
138
|
-
ref: s,
|
|
139
|
-
slot: "close",
|
|
140
|
-
size: "xs",
|
|
141
|
-
variant: "ghost",
|
|
142
|
-
"aria-label": o || t.format("closeTrigger"),
|
|
143
|
-
...n,
|
|
144
|
-
children: /* @__PURE__ */ r(E, {})
|
|
145
|
-
}
|
|
146
|
-
) });
|
|
147
|
-
};
|
|
148
|
-
S.displayName = "Drawer.CloseTrigger";
|
|
149
|
-
const ye = {
|
|
150
|
-
/**
|
|
151
|
-
* # Drawer.Root
|
|
152
|
-
*
|
|
153
|
-
* The root component that provides context and state management for the drawer.
|
|
154
|
-
* Handles accessibility and keyboard interaction.
|
|
155
|
-
*
|
|
156
|
-
* This component must wrap all drawer parts (Trigger, Content, etc.) and provides
|
|
157
|
-
* the drawer open/close state and variant styling context.
|
|
158
|
-
*
|
|
159
|
-
* @example
|
|
160
|
-
* ```tsx
|
|
161
|
-
* <Drawer.Root>
|
|
162
|
-
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
163
|
-
* <Drawer.Content>
|
|
164
|
-
* <Drawer.Header>
|
|
165
|
-
* <Drawer.Title>Drawer Title</Drawer.Title>
|
|
166
|
-
* </Drawer.Header>
|
|
167
|
-
* <Drawer.Body>Drawer content</Drawer.Body>
|
|
168
|
-
* </Drawer.Content>
|
|
169
|
-
* </Drawer.Root>
|
|
170
|
-
* ```
|
|
171
|
-
*/
|
|
172
|
-
Root: D,
|
|
173
|
-
/**
|
|
174
|
-
* # Drawer.Trigger
|
|
175
|
-
*
|
|
176
|
-
* The trigger element that opens the drawer when activated.
|
|
177
|
-
* Provides accessibility and keyboard support.
|
|
178
|
-
*
|
|
179
|
-
* @example
|
|
180
|
-
* ```tsx
|
|
181
|
-
* <Drawer.Root>
|
|
182
|
-
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
183
|
-
* <Drawer.Content>...</Drawer.Content>
|
|
184
|
-
* </Drawer.Root>
|
|
185
|
-
* ```
|
|
186
|
-
*/
|
|
187
|
-
Trigger: h,
|
|
188
|
-
/**
|
|
189
|
-
* # Drawer.Content
|
|
190
|
-
*
|
|
191
|
-
* The main drawer content container that handles portalling, backdrop,
|
|
192
|
-
* positioning, and content styling.
|
|
193
|
-
*
|
|
194
|
-
* This component creates the drawer overlay, positions the content, and provides
|
|
195
|
-
* accessibility features like focus management and keyboard dismissal.
|
|
196
|
-
*
|
|
197
|
-
* @example
|
|
198
|
-
* ```tsx
|
|
199
|
-
* <Drawer.Root>
|
|
200
|
-
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
201
|
-
* <Drawer.Content size="md" placement="center">
|
|
202
|
-
* <Drawer.Header>
|
|
203
|
-
* <Drawer.Title>Title</Drawer.Title>
|
|
204
|
-
* </Drawer.Header>
|
|
205
|
-
* <Drawer.Body>Content</Drawer.Body>
|
|
206
|
-
* <Drawer.Footer>Actions</Drawer.Footer>
|
|
207
|
-
* </Drawer.Content>
|
|
208
|
-
* </Drawer.Root>
|
|
209
|
-
* ```
|
|
210
|
-
*/
|
|
211
|
-
Content: C,
|
|
212
|
-
/**
|
|
213
|
-
* # Drawer.Header
|
|
214
|
-
*
|
|
215
|
-
* The header section of the drawer content.
|
|
216
|
-
* Typically contains the title and close button.
|
|
217
|
-
*
|
|
218
|
-
* @example
|
|
219
|
-
* ```tsx
|
|
220
|
-
* <Drawer.Content>
|
|
221
|
-
* <Drawer.Header>
|
|
222
|
-
* <Drawer.Title>Drawer Title</Drawer.Title>
|
|
223
|
-
* <Drawer.CloseTrigger />
|
|
224
|
-
* </Drawer.Header>
|
|
225
|
-
* <Drawer.Body>...</Drawer.Body>
|
|
226
|
-
* </Drawer.Content>
|
|
227
|
-
* ```
|
|
228
|
-
*/
|
|
229
|
-
Header: y,
|
|
230
|
-
/**
|
|
231
|
-
* # Drawer.Body
|
|
232
|
-
*
|
|
233
|
-
* The main body content section of the drawer.
|
|
234
|
-
* Contains the primary drawer content and handles overflow/scrolling.
|
|
235
|
-
*
|
|
236
|
-
* @example
|
|
237
|
-
* ```tsx
|
|
238
|
-
* <Drawer.Content>
|
|
239
|
-
* <Drawer.Header>...</Drawer.Header>
|
|
240
|
-
* <Drawer.Body>
|
|
241
|
-
* <p>This is the main content of the drawer.</p>
|
|
242
|
-
* </Drawer.Body>
|
|
243
|
-
* <Drawer.Footer>...</Drawer.Footer>
|
|
244
|
-
* </Drawer.Content>
|
|
245
|
-
* ```
|
|
246
|
-
*/
|
|
247
|
-
Body: b,
|
|
248
|
-
/**
|
|
249
|
-
* # Drawer.Footer
|
|
250
|
-
*
|
|
251
|
-
* The footer section of the drawer, typically containing action buttons.
|
|
252
|
-
* Provides consistent spacing and alignment for drawer actions.
|
|
253
|
-
*
|
|
254
|
-
* @example
|
|
255
|
-
* ```tsx
|
|
256
|
-
* <Drawer.Content>
|
|
257
|
-
* <Drawer.Header>...</Drawer.Header>
|
|
258
|
-
* <Drawer.Body>...</Drawer.Body>
|
|
259
|
-
* <Drawer.Footer>
|
|
260
|
-
* <Button variant="outline">Cancel</Button>
|
|
261
|
-
* <Button>Confirm</Button>
|
|
262
|
-
* </Drawer.Footer>
|
|
263
|
-
* </Drawer.Content>
|
|
264
|
-
* ```
|
|
265
|
-
*/
|
|
266
|
-
Footer: T,
|
|
267
|
-
/**
|
|
268
|
-
* # Drawer.Title
|
|
269
|
-
*
|
|
270
|
-
* The accessible title element for the drawer.
|
|
271
|
-
* Provides proper accessibility and screen reader support.
|
|
272
|
-
*
|
|
273
|
-
* @example
|
|
274
|
-
* ```tsx
|
|
275
|
-
* <Drawer.Content>
|
|
276
|
-
* <Drawer.Header>
|
|
277
|
-
* <Drawer.Title>Confirm Action</Drawer.Title>
|
|
278
|
-
* </Drawer.Header>
|
|
279
|
-
* <Drawer.Body>...</Drawer.Body>
|
|
280
|
-
* </Drawer.Content>
|
|
281
|
-
* ```
|
|
282
|
-
*/
|
|
283
|
-
Title: x,
|
|
284
|
-
/**
|
|
285
|
-
* # Drawer.CloseTrigger
|
|
286
|
-
*
|
|
287
|
-
* A button that closes the drawer when activated.
|
|
288
|
-
* Displays an IconButton with a close (X) icon by default.
|
|
289
|
-
*
|
|
290
|
-
* The component automatically handles the close behavior,
|
|
291
|
-
* so no additional onPress handler is needed.
|
|
292
|
-
*
|
|
293
|
-
* @example
|
|
294
|
-
* ```tsx
|
|
295
|
-
* <Drawer.Root>
|
|
296
|
-
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
297
|
-
* <Drawer.Content>
|
|
298
|
-
* <Drawer.Header>
|
|
299
|
-
* <Drawer.Title>Title</Drawer.Title>
|
|
300
|
-
* <Drawer.CloseTrigger aria-label="Close drawer" />
|
|
301
|
-
* </Drawer.Header>
|
|
302
|
-
* <Drawer.Body>Content</Drawer.Body>
|
|
303
|
-
* </Drawer.Content>
|
|
304
|
-
* </Drawer.Root>
|
|
305
|
-
* ```
|
|
306
|
-
*/
|
|
307
|
-
CloseTrigger: S
|
|
308
|
-
};
|
|
309
|
-
export {
|
|
310
|
-
ye as D,
|
|
311
|
-
b as a,
|
|
312
|
-
S as b,
|
|
313
|
-
C as c,
|
|
314
|
-
T as d,
|
|
315
|
-
y as e,
|
|
316
|
-
D as f,
|
|
317
|
-
x as g,
|
|
318
|
-
h
|
|
319
|
-
};
|
|
320
|
-
//# sourceMappingURL=drawer-BiJOZ9ZA.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-BiJOZ9ZA.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/intl/en.ts","../../src/components/drawer/intl/de.ts","../../src/components/drawer/intl/es.ts","../../src/components/drawer/intl/fr-FR.ts","../../src/components/drawer/intl/pt-BR.ts","../../src/components/drawer/drawer.messages.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\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"nimbusDrawer\",\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 /**\n * Internal flag indicating whether the drawer has a Drawer.Trigger component.\n * Used by DrawerContent to determine whether DialogTrigger is managing state.\n */\n hasDrawerTrigger?: boolean;\n};\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 // Also pass hasDrawerTrigger so DrawerContent knows whether to manage its own state\n return (\n <DrawerProvider value={{ ...props, hasDrawerTrigger }}>\n {hasDrawerTrigger ? (\n // When there's a Drawer.Trigger, use DialogTrigger for React Aria integration\n <RaDialogTrigger\n isOpen={isOpen}\n onOpenChange={onOpenChange}\n defaultOpen={defaultOpen}\n >\n {content}\n </RaDialogTrigger>\n ) : (\n // When no Drawer.Trigger, skip DialogTrigger to avoid the warning\n content\n )}\n </DrawerProvider>\n );\n};\n\nDrawerRoot.displayName = \"Drawer.Root\";\n","import { Button as RaButton } from \"react-aria-components\";\nimport { DrawerTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerTriggerProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { chakra } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Drawer.Trigger - The trigger element that opens the drawer when activated\n *\n * @supportsStyleProps\n */\nexport const DrawerTrigger = ({\n ref: forwardedRef,\n children,\n asChild,\n ...props\n}: DrawerTriggerProps) => {\n // If asChild is true, wrap children directly in RaButton with asChild\n if (asChild) {\n return (\n <chakra.button ref={forwardedRef} asChild {...props}>\n {children}\n </chakra.button>\n );\n }\n\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Otherwise, wrap with both DrawerTriggerSlot and RaButton\n // Only pass React Aria compatible props to avoid type conflicts\n return (\n <DrawerTriggerSlot {...styleProps} asChild>\n <RaButton ref={forwardedRef} {...restProps}>\n {children}\n </RaButton>\n </DrawerTriggerSlot>\n );\n};\n\nDrawerTrigger.displayName = \"Drawer.Trigger\";\n","import {\n Modal as RaModal,\n ModalOverlay as RaModalOverlay,\n Dialog as RaDialog,\n} from \"react-aria-components\";\nimport {\n DrawerModalOverlaySlot,\n DrawerModalSlot,\n DrawerContentSlot,\n} from \"../drawer.slots\";\nimport type { DrawerContentProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { useDrawerRootContext } from \"./drawer.context\";\n\n/**\n * Drawer.Content - The main drawer content container\n *\n * @supportsStyleProps\n */\nexport const DrawerContent = (props: DrawerContentProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n // Get configuration from context\n const {\n hasDrawerTrigger,\n isDismissable = true, // Default to true so clicking outside closes the drawer\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n defaultOpen,\n } = useDrawerRootContext();\n\n // When there's a Drawer.Trigger, DialogTrigger manages state via React Context\n // When there's NO Drawer.Trigger, ModalOverlay must manage its own state\n const modalProps = hasDrawerTrigger\n ? {\n // With trigger: Only pass dismissal props, state is managed by DialogTrigger\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n }\n : {\n // Without trigger: Pass state management props to ModalOverlay\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n defaultOpen,\n };\n\n const [styleProps, functionalProps] = extractStyleProps(restProps);\n\n return (\n <DrawerModalOverlaySlot asChild>\n <RaModalOverlay {...modalProps}>\n <DrawerModalSlot asChild>\n <RaModal>\n <DrawerContentSlot asChild {...styleProps}>\n <RaDialog ref={forwardedRef} {...functionalProps}>\n {children}\n </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\n/**\n * Drawer.Header - The header section of the drawer\n *\n * @supportsStyleProps\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\n/**\n * Drawer.Body - The main body content section of the drawer\n *\n * @supportsStyleProps\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\n/**\n * Drawer.Footer - The footer section of the drawer\n *\n * @supportsStyleProps\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\n/**\n * Drawer.Title - The accessible title element for the drawer\n *\n * @supportsStyleProps\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","/**\n * Pre-compiled en messages for Drawer\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default { closeTrigger: `Close drawer` };\n","/**\n * Pre-compiled de messages for Drawer\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default { closeTrigger: `Schublade schließen` };\n","/**\n * Pre-compiled es messages for Drawer\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default { closeTrigger: `Cerrar bandeja` };\n","/**\n * Pre-compiled fr-FR messages for Drawer\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default { closeTrigger: `Fermer le volet` };\n","/**\n * Pre-compiled pt-BR messages for Drawer\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default { closeTrigger: `Fechar gaveta` };\n","/**\n * Pre-compiled localized messages for Drawer component\n *\n * Generated by scripts/generate-dictionaries.ts\n * DO NOT EDIT MANUALLY\n *\n * @see https://react-spectrum.adobe.com/react-aria/internationalization.html\n */\n\nimport {\n type LocalizedString,\n type LocalizedStrings,\n} from \"@internationalized/string\";\nimport { normalizeMessages } from \"../../utils/normalize-messages\";\n\n// Pre-compiled message functions\nimport drawerMessages_en from \"./intl/en\";\nimport drawerMessages_de from \"./intl/de\";\nimport drawerMessages_es from \"./intl/es\";\nimport drawerMessages_fr from \"./intl/fr-FR\";\nimport drawerMessages_pt from \"./intl/pt-BR\";\n\n// Raw LocalizedStrings object for use with useLocalizedStringFormatter hook\nexport const drawerMessagesStrings: LocalizedStrings<string, LocalizedString> =\n {\n en: normalizeMessages(drawerMessages_en),\n de: normalizeMessages(drawerMessages_de),\n es: normalizeMessages(drawerMessages_es),\n \"fr-FR\": normalizeMessages(drawerMessages_fr),\n \"pt-BR\": normalizeMessages(drawerMessages_pt),\n } as LocalizedStrings<string, LocalizedString>;\n\n/**\n * Available message keys for Drawer component\n */\nexport type DrawerMessageKey = \"closeTrigger\";\n","import { Close } from \"@commercetools/nimbus-icons\";\nimport { DrawerCloseTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerCloseTriggerProps } from \"../drawer.types\";\nimport { IconButton } from \"@/components\";\nimport { useLocalizedStringFormatter } from \"@/hooks\";\nimport { drawerMessagesStrings } from \"../drawer.messages\";\n\n/**\n * Drawer.CloseTrigger - A button that closes the drawer when activated\n *\n * @supportsStyleProps\n */\nexport const DrawerCloseTrigger = (props: DrawerCloseTriggerProps) => {\n const msg = useLocalizedStringFormatter(drawerMessagesStrings);\n const { ref: forwardedRef, \"aria-label\": ariaLabel, ...restProps } = props;\n\n return (\n <DrawerCloseTriggerSlot>\n <IconButton\n ref={forwardedRef}\n slot=\"close\"\n size=\"xs\"\n variant=\"ghost\"\n aria-label={ariaLabel || msg.format(\"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","DrawerRootSlot","DrawerTriggerSlot","DrawerModalOverlaySlot","DrawerModalSlot","DrawerContentSlot","DrawerHeaderSlot","DrawerBodySlot","DrawerFooterSlot","DrawerTitleSlot","DrawerCloseTriggerSlot","DrawerContext","createContext","useDrawerRootContext","context","useContext","DrawerProvider","children","value","jsx","DrawerRoot","props","recipe","useSlotRecipe","drawerSlotRecipe","recipeProps","isOpen","onOpenChange","defaultOpen","content","hasDrawerTrigger","React","child","displayName","RaDialogTrigger","DrawerTrigger","forwardedRef","asChild","chakra","styleProps","restProps","extractStyleProps","RaButton","DrawerContent","isDismissable","isKeyboardDismissDisabled","shouldCloseOnInteractOutside","modalProps","functionalProps","RaModalOverlay","RaModal","RaDialog","DrawerHeader","DrawerBody","DrawerFooter","DrawerTitle","Heading","drawerMessages_en","drawerMessages_de","drawerMessages_es","drawerMessages_fr","drawerMessages_pt","drawerMessagesStrings","normalizeMessages","DrawerCloseTrigger","msg","useLocalizedStringFormatter","ariaLabel","IconButton","Close","Drawer"],"mappings":"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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),f=require("react"),S=require("./Dialog-Cj-cFRnN.cjs.js"),D=require("@chakra-ui/react/styled-system"),q=require("./index-DIypcUoW.cjs.js"),N=require("./Button-gMAH0Rj3.cjs.js"),P=require("./extract-style-props-D01wBkp3.cjs.js"),j=require("./Modal-C582CnE7.cjs.js"),O=require("./heading-C4Z-E1Nx.cjs.js"),B=require("@commercetools/nimbus-icons"),c=require("./normalize-messages-DtVffO09.cjs.js"),F=require("./icon-button-D8tikX4p.cjs.js"),{withProvider:z,withContext:n}=D.createSlotRecipeContext({key:"nimbusDrawer"}),H=z("div","root"),_=n("button","trigger"),I=n("div","modalOverlay"),k=n("div","modal"),E=n("div","content"),L=n("header","header"),V=n("div","body"),A=n("footer","footer"),K=n("h2","title"),G=n("div","closeTrigger"),R=f.createContext(void 0),J=()=>{const e=f.useContext(R);if(!e)throw new Error("useDrawerContext must be used within Drawer.Root");return e},Q=({children:e,value:t})=>r.jsx(R,{value:t,children:e}),p=e=>{const t=D.useSlotRecipe({recipe:q.drawerSlotRecipe}),[o]=t.splitVariantProps(e),{children:s,isOpen:a,onOpenChange:i,defaultOpen:g=!1}=e,l=r.jsx(H,{...o,children:s}),w=f.Children.toArray(s).some(d=>{if(f.isValidElement(d)&&typeof d.type=="function"){const u=d.type?.displayName;return u==="DrawerTrigger"||u==="Drawer.Trigger"}return!1});return r.jsx(Q,{value:{...e,hasDrawerTrigger:w},children:w?r.jsx(S.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:a,onOpenChange:i,defaultOpen:g,children:l}):l})};p.displayName="Drawer.Root";const x=({ref:e,children:t,asChild:o,...s})=>{if(o)return r.jsx(D.chakra.button,{ref:e,asChild:!0,...s,children:t});const[a,i]=P.extractStyleProps(s);return r.jsx(_,{...a,asChild:!0,children:r.jsx(N.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{ref:e,...i,children:t})})};x.displayName="Drawer.Trigger";const h=e=>{const{ref:t,children:o,...s}=e,{hasDrawerTrigger:a,isDismissable:i=!0,isKeyboardDismissDisabled:g,shouldCloseOnInteractOutside:l,isOpen:w,onOpenChange:d,defaultOpen:u}=J(),$=a?{isDismissable:i,isKeyboardDismissDisabled:g,shouldCloseOnInteractOutside:l}:{isDismissable:i,isKeyboardDismissDisabled:g,shouldCloseOnInteractOutside:l,isOpen:w,onOpenChange:d,defaultOpen:u},[v,M]=P.extractStyleProps(s);return r.jsx(I,{asChild:!0,children:r.jsx(j.$f3f84453ead64de5$export$8948f78d83984c69,{...$,children:r.jsx(k,{asChild:!0,children:r.jsx(j.$f3f84453ead64de5$export$2b77a92f1a5ad772,{children:r.jsx(E,{asChild:!0,...v,children:r.jsx(S.$de32f1b87079253c$export$3ddf2d174ce01153,{ref:t,...M,children:o})})})})})})};h.displayName="Drawer.Content";const m=e=>{const{ref:t,children:o,...s}=e;return r.jsx(L,{ref:t,...s,children:o})};m.displayName="Drawer.Header";const y=e=>{const{ref:t,children:o,...s}=e,a={tabIndex:0};return r.jsx(V,{ref:t,...a,...s,children:o})};y.displayName="Drawer.Body";const C=e=>{const{ref:t,children:o,...s}=e;return r.jsx(A,{ref:t,...s,children:o})};C.displayName="Drawer.Footer";const T=e=>{const{ref:t,children:o,...s}=e;return r.jsx(K,{asChild:!0,...s,children:r.jsx(O.Heading,{ref:t,slot:"title",as:"h2",textStyle:"lg",children:o})})};T.displayName="Drawer.Title";const U={closeTrigger:"Close drawer"},W={closeTrigger:"Schublade schließen"},X={closeTrigger:"Cerrar bandeja"},Y={closeTrigger:"Fermer le volet"},Z={closeTrigger:"Fechar gaveta"},ee={en:c.normalizeMessages(U),de:c.normalizeMessages(W),es:c.normalizeMessages(X),"fr-FR":c.normalizeMessages(Y),"pt-BR":c.normalizeMessages(Z)},b=e=>{const t=c.useLocalizedStringFormatter(ee),{ref:o,"aria-label":s,...a}=e;return r.jsx(G,{children:r.jsx(F.IconButton,{ref:o,slot:"close",size:"xs",variant:"ghost","aria-label":s||t.format("closeTrigger"),...a,children:r.jsx(B.Close,{})})})};b.displayName="Drawer.CloseTrigger";const re={Root:p,Trigger:x,Content:h,Header:m,Body:y,Footer:C,Title:T,CloseTrigger:b};exports.Drawer=re;exports.DrawerBody=y;exports.DrawerCloseTrigger=b;exports.DrawerContent=h;exports.DrawerFooter=C;exports.DrawerHeader=m;exports.DrawerRoot=p;exports.DrawerTitle=T;exports.DrawerTrigger=x;
|
|
2
|
-
//# sourceMappingURL=drawer-D9EHuv60.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-D9EHuv60.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/intl/en.ts","../../src/components/drawer/intl/de.ts","../../src/components/drawer/intl/es.ts","../../src/components/drawer/intl/fr-FR.ts","../../src/components/drawer/intl/pt-BR.ts","../../src/components/drawer/drawer.messages.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\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"nimbusDrawer\",\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 /**\n * Internal flag indicating whether the drawer has a Drawer.Trigger component.\n * Used by DrawerContent to determine whether DialogTrigger is managing state.\n */\n hasDrawerTrigger?: boolean;\n};\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 // Also pass hasDrawerTrigger so DrawerContent knows whether to manage its own state\n return (\n <DrawerProvider value={{ ...props, hasDrawerTrigger }}>\n {hasDrawerTrigger ? (\n // When there's a Drawer.Trigger, use DialogTrigger for React Aria integration\n <RaDialogTrigger\n isOpen={isOpen}\n onOpenChange={onOpenChange}\n defaultOpen={defaultOpen}\n >\n {content}\n </RaDialogTrigger>\n ) : (\n // When no Drawer.Trigger, skip DialogTrigger to avoid the warning\n content\n )}\n </DrawerProvider>\n );\n};\n\nDrawerRoot.displayName = \"Drawer.Root\";\n","import { Button as RaButton } from \"react-aria-components\";\nimport { DrawerTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerTriggerProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { chakra } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Drawer.Trigger - The trigger element that opens the drawer when activated\n *\n * @supportsStyleProps\n */\nexport const DrawerTrigger = ({\n ref: forwardedRef,\n children,\n asChild,\n ...props\n}: DrawerTriggerProps) => {\n // If asChild is true, wrap children directly in RaButton with asChild\n if (asChild) {\n return (\n <chakra.button ref={forwardedRef} asChild {...props}>\n {children}\n </chakra.button>\n );\n }\n\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Otherwise, wrap with both DrawerTriggerSlot and RaButton\n // Only pass React Aria compatible props to avoid type conflicts\n return (\n <DrawerTriggerSlot {...styleProps} asChild>\n <RaButton ref={forwardedRef} {...restProps}>\n {children}\n </RaButton>\n </DrawerTriggerSlot>\n );\n};\n\nDrawerTrigger.displayName = \"Drawer.Trigger\";\n","import {\n Modal as RaModal,\n ModalOverlay as RaModalOverlay,\n Dialog as RaDialog,\n} from \"react-aria-components\";\nimport {\n DrawerModalOverlaySlot,\n DrawerModalSlot,\n DrawerContentSlot,\n} from \"../drawer.slots\";\nimport type { DrawerContentProps } from \"../drawer.types\";\nimport { extractStyleProps } from \"@/utils\";\nimport { useDrawerRootContext } from \"./drawer.context\";\n\n/**\n * Drawer.Content - The main drawer content container\n *\n * @supportsStyleProps\n */\nexport const DrawerContent = (props: DrawerContentProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n // Get configuration from context\n const {\n hasDrawerTrigger,\n isDismissable = true, // Default to true so clicking outside closes the drawer\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n defaultOpen,\n } = useDrawerRootContext();\n\n // When there's a Drawer.Trigger, DialogTrigger manages state via React Context\n // When there's NO Drawer.Trigger, ModalOverlay must manage its own state\n const modalProps = hasDrawerTrigger\n ? {\n // With trigger: Only pass dismissal props, state is managed by DialogTrigger\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n }\n : {\n // Without trigger: Pass state management props to ModalOverlay\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n defaultOpen,\n };\n\n const [styleProps, functionalProps] = extractStyleProps(restProps);\n\n return (\n <DrawerModalOverlaySlot asChild>\n <RaModalOverlay {...modalProps}>\n <DrawerModalSlot asChild>\n <RaModal>\n <DrawerContentSlot asChild {...styleProps}>\n <RaDialog ref={forwardedRef} {...functionalProps}>\n {children}\n </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\n/**\n * Drawer.Header - The header section of the drawer\n *\n * @supportsStyleProps\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\n/**\n * Drawer.Body - The main body content section of the drawer\n *\n * @supportsStyleProps\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\n/**\n * Drawer.Footer - The footer section of the drawer\n *\n * @supportsStyleProps\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\n/**\n * Drawer.Title - The accessible title element for the drawer\n *\n * @supportsStyleProps\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","/**\n * Pre-compiled en messages for Drawer\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default { closeTrigger: `Close drawer` };\n","/**\n * Pre-compiled de messages for Drawer\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default { closeTrigger: `Schublade schließen` };\n","/**\n * Pre-compiled es messages for Drawer\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default { closeTrigger: `Cerrar bandeja` };\n","/**\n * Pre-compiled fr-FR messages for Drawer\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default { closeTrigger: `Fermer le volet` };\n","/**\n * Pre-compiled pt-BR messages for Drawer\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default { closeTrigger: `Fechar gaveta` };\n","/**\n * Pre-compiled localized messages for Drawer component\n *\n * Generated by scripts/generate-dictionaries.ts\n * DO NOT EDIT MANUALLY\n *\n * @see https://react-spectrum.adobe.com/react-aria/internationalization.html\n */\n\nimport {\n type LocalizedString,\n type LocalizedStrings,\n} from \"@internationalized/string\";\nimport { normalizeMessages } from \"../../utils/normalize-messages\";\n\n// Pre-compiled message functions\nimport drawerMessages_en from \"./intl/en\";\nimport drawerMessages_de from \"./intl/de\";\nimport drawerMessages_es from \"./intl/es\";\nimport drawerMessages_fr from \"./intl/fr-FR\";\nimport drawerMessages_pt from \"./intl/pt-BR\";\n\n// Raw LocalizedStrings object for use with useLocalizedStringFormatter hook\nexport const drawerMessagesStrings: LocalizedStrings<string, LocalizedString> =\n {\n en: normalizeMessages(drawerMessages_en),\n de: normalizeMessages(drawerMessages_de),\n es: normalizeMessages(drawerMessages_es),\n \"fr-FR\": normalizeMessages(drawerMessages_fr),\n \"pt-BR\": normalizeMessages(drawerMessages_pt),\n } as LocalizedStrings<string, LocalizedString>;\n\n/**\n * Available message keys for Drawer component\n */\nexport type DrawerMessageKey = \"closeTrigger\";\n","import { Close } from \"@commercetools/nimbus-icons\";\nimport { DrawerCloseTriggerSlot } from \"../drawer.slots\";\nimport type { DrawerCloseTriggerProps } from \"../drawer.types\";\nimport { IconButton } from \"@/components\";\nimport { useLocalizedStringFormatter } from \"@/hooks\";\nimport { drawerMessagesStrings } from \"../drawer.messages\";\n\n/**\n * Drawer.CloseTrigger - A button that closes the drawer when activated\n *\n * @supportsStyleProps\n */\nexport const DrawerCloseTrigger = (props: DrawerCloseTriggerProps) => {\n const msg = useLocalizedStringFormatter(drawerMessagesStrings);\n const { ref: forwardedRef, \"aria-label\": ariaLabel, ...restProps } = props;\n\n return (\n <DrawerCloseTriggerSlot>\n <IconButton\n ref={forwardedRef}\n slot=\"close\"\n size=\"xs\"\n variant=\"ghost\"\n aria-label={ariaLabel || msg.format(\"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","DrawerRootSlot","DrawerTriggerSlot","DrawerModalOverlaySlot","DrawerModalSlot","DrawerContentSlot","DrawerHeaderSlot","DrawerBodySlot","DrawerFooterSlot","DrawerTitleSlot","DrawerCloseTriggerSlot","DrawerContext","createContext","useDrawerRootContext","context","useContext","DrawerProvider","children","value","jsx","DrawerRoot","props","recipe","useSlotRecipe","drawerSlotRecipe","recipeProps","isOpen","onOpenChange","defaultOpen","content","hasDrawerTrigger","React","child","displayName","RaDialogTrigger","DrawerTrigger","forwardedRef","asChild","chakra","styleProps","restProps","extractStyleProps","RaButton","DrawerContent","isDismissable","isKeyboardDismissDisabled","shouldCloseOnInteractOutside","modalProps","functionalProps","RaModalOverlay","RaModal","RaDialog","DrawerHeader","DrawerBody","defaultProps","DrawerFooter","DrawerTitle","Heading","drawerMessages_en","drawerMessages_de","drawerMessages_es","drawerMessages_fr","drawerMessages_pt","drawerMessagesStrings","normalizeMessages","DrawerCloseTrigger","msg","useLocalizedStringFormatter","ariaLabel","IconButton","Close","Drawer"],"mappings":"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"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { s } from "./index-mX0_y2zc.es.js";
|
|
2
|
-
function a(e) {
|
|
3
|
-
const r = {}, o = { ...e };
|
|
4
|
-
return Object.keys(e).forEach((t) => {
|
|
5
|
-
Object.prototype.hasOwnProperty.call(e, t) && s.isValidProperty(t) && (r[t] = e[t], delete o[t]);
|
|
6
|
-
}), [r, o];
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
a as e
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=extract-style-props-B7802mZ7.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-style-props-B7802mZ7.es.js","sources":["../../src/utils/extract-style-props.ts"],"sourcesContent":["import { system } from \"@/theme\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n system.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","system"],"mappings":";AAOO,SAASA,EACdC,GAC4C;AAC5C,QAAMC,IAAsC,CAAA,GACtCC,IAAa,EAAE,GAAGF,EAAA;AAGxB,gBAAO,KAAKA,CAAK,EAAE,QAAQ,CAACG,MAAQ;AAClC,IACE,OAAO,UAAU,eAAe,KAAKH,GAAOG,CAAG,KAC/CC,EAAO,gBAAgBD,CAAG,MAE1BF,EAAWE,CAAG,IAAIH,EAAMG,CAAc,GACtC,OAAOD,EAAWC,CAAG;AAAA,EAEzB,CAAC,GAEM,CAACF,GAAYC,CAA6B;AACnD;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("./index-DIypcUoW.cjs.js");function o(e){const r={},s={...e};return Object.keys(e).forEach(t=>{Object.prototype.hasOwnProperty.call(e,t)&&c.system.isValidProperty(t)&&(r[t]=e[t],delete s[t])}),[r,s]}exports.extractStyleProps=o;
|
|
2
|
-
//# sourceMappingURL=extract-style-props-D01wBkp3.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-style-props-D01wBkp3.cjs.js","sources":["../../src/utils/extract-style-props.ts"],"sourcesContent":["import { system } from \"@/theme\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n system.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","system"],"mappings":"wDAOO,SAASA,EACdC,EAC4C,CAC5C,MAAMC,EAAsC,CAAA,EACtCC,EAAa,CAAE,GAAGF,CAAA,EAGxB,cAAO,KAAKA,CAAK,EAAE,QAASG,GAAQ,CAEhC,OAAO,UAAU,eAAe,KAAKH,EAAOG,CAAG,GAC/CC,EAAAA,OAAO,gBAAgBD,CAAG,IAE1BF,EAAWE,CAAG,EAAIH,EAAMG,CAAc,EACtC,OAAOD,EAAWC,CAAG,EAEzB,CAAC,EAEM,CAACF,EAAYC,CAA6B,CACnD"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),T=require("@chakra-ui/react"),l=require("./normalize-messages-DtVffO09.cjs.js"),{withProvider:f,withContext:M}=T.createSlotRecipeContext({key:"nimbusFieldErrors"}),I=f("div","root"),t=M("div","message"),r={MISSING:"missing",INVALID:"invalid",EMPTY:"empty",MIN_LENGTH:"min",MAX_LENGTH:"max",FORMAT:"format",DUPLICATE:"duplicate",NEGATIVE:"negative",FRACTIONS:"fractions",BELOW_MIN:"belowMin",ABOVE_MAX:"aboveMax",OUT_OF_RANGE:"outOfRange",INVALID_FROM_SERVER:"invalidFromServer",NOT_FOUND:"notFound",BLOCKED:"blocked"},V={duplicateValue:"This value is already in use. It must be unique.",emptyValue:"This field cannot be empty.",invalidFormat:"Please enter a valid format.",invalidFractionalNumber:"A whole number is required.",invalidFromServer:"Server validation failed. Please check your input.",invalidNegativeNumber:"Negative number is not supported.",invalidValue:"The provided value is invalid.",missingRequiredField:"This field is required. Provide a value.",resourceNotFound:"The requested resource was not found.",valueAboveMaximum:"Value must be less than or equal to the maximum.",valueBelowMinimum:"Value must be greater than or equal to the minimum.",valueBlocked:"This value is not allowed.",valueOutOfRange:"Value must be within the acceptable range.",valueTooLong:"This value is too long.",valueTooShort:"This value is too short."},A={duplicateValue:"Dieser Wert wird bereits verwendet. Er muss eindeutig sein.",emptyValue:"Dieses Feld darf nicht leer sein.",invalidFormat:"Bitte geben Sie ein gültiges Format ein.",invalidFractionalNumber:"Eine ganze Zahl ist erforderlich.",invalidFromServer:"Die Servervalidierung ist fehlgeschlagen. Bitte überprüfen Sie Ihre Eingabe.",invalidNegativeNumber:"Negative Zahlen werden nicht unterstützt.",invalidValue:"Der angegebene Wert ist ungültig.",missingRequiredField:"Dies ist ein Pflichtfeld. Bitte geben Sie einen Wert ein.",resourceNotFound:"Die angeforderte Ressource wurde nicht gefunden.",valueAboveMaximum:"Der Wert muss kleiner oder gleich dem Höchstwert sein.",valueBelowMinimum:"Der Wert muss größer oder gleich dem Mindestwert sein.",valueBlocked:"Dieser Wert ist nicht erlaubt.",valueOutOfRange:"Der Wert muss im akzeptablen Bereich liegen.",valueTooLong:"Der Wert ist zu lang.",valueTooShort:"Der Wert ist zu kurz."},R={duplicateValue:"Este valor ya está en uso. Debe ser único.",emptyValue:"Este campo no puede estar vacío.",invalidFormat:"Introduce un valor válido.",invalidFractionalNumber:"Se requiere un número entero.",invalidFromServer:"Ha fallado la validación del servidor. Comprueba tus entradas.",invalidNegativeNumber:"Los números negativos no están permitidos.",invalidValue:"El valor proporcionado no es válido.",missingRequiredField:"Este campo es obligatorio. Proporciona un valor.",resourceNotFound:"No se ha encontrado el recurso solicitado.",valueAboveMaximum:"El valor debe ser igual o inferior al máximo.",valueBelowMinimum:"El valor debe ser igual o superior al mínimo.",valueBlocked:"Este valor no está permitido.",valueOutOfRange:"El valor debe estar en un rango aceptable.",valueTooLong:"Este valor es demasiado largo.",valueTooShort:"Este valor es demasiado corto."},S={duplicateValue:"Cette clé est déjà utilisée. Elle doit être unique.",emptyValue:"Ce champ ne peut pas être vide.",invalidFormat:"Veuillez entrer un format valide.",invalidFractionalNumber:"Un nombre entier est requis.",invalidFromServer:"Échec de la validation du serveur. Veuillez vérifier votre saisie.",invalidNegativeNumber:"Nombre négatif non pris en charge.",invalidValue:"La valeur fournie n'est pas valide",missingRequiredField:"Ce champ est requis. Veuillez indiquer une valeur.",resourceNotFound:"Impossible de trouver la ressource demandée.",valueAboveMaximum:"La valeur doit être égale ou inférieure au maximum.",valueBelowMinimum:"La valeur doit être supérieure ou égale au minimum.",valueBlocked:"Cette valeur n'est pas autorisée.",valueOutOfRange:"La valeur doit être dans la plage acceptable.",valueTooLong:"Cette valeur est trop longue.",valueTooShort:"Cette valeur est trop courte."},L={duplicateValue:"O valor já está em uso. Use um valor único.",emptyValue:"O campo não pode estar vazio.",invalidFormat:"Insira um formato válido.",invalidFractionalNumber:"É necessário um número inteiro.",invalidFromServer:"A validação do servidor falhou. Verifique os dados inseridos.",invalidNegativeNumber:"Números negativos não podem ser usados.",invalidValue:"O valor fornecido é inválido.",missingRequiredField:"Este campo é obrigatório. Informe um valor.",resourceNotFound:"O recurso solicitado não foi encontrado.",valueAboveMaximum:"O valor deve ser menor ou igual ao máximo.",valueBelowMinimum:"O valor deve ser maior ou igual ao mínimo.",valueBlocked:"O valor não é permitido.",valueOutOfRange:"O valor deve estar dentro do intervalo aceitável.",valueTooLong:"O valor é muito longo.",valueTooShort:"O valor é muito curto."},_={en:l.normalizeMessages(V),de:l.normalizeMessages(A),es:l.normalizeMessages(R),"fr-FR":l.normalizeMessages(S),"pt-BR":l.normalizeMessages(L)},B=a=>typeof a=="object",g=(a,e)=>{if(!e)return null;switch(a){case r.MISSING:return e.missing||null;case r.INVALID:return e.invalid||null;case r.EMPTY:return e.empty||null;case r.MIN_LENGTH:return e.min||null;case r.MAX_LENGTH:return e.max||null;case r.FORMAT:return e.format||null;case r.DUPLICATE:return e.duplicate||null;case r.NEGATIVE:return e.negative||null;case r.FRACTIONS:return e.fractions||null;case r.BELOW_MIN:return e.belowMin||null;case r.ABOVE_MAX:return e.aboveMax||null;case r.OUT_OF_RANGE:return e.outOfRange||null;case r.INVALID_FROM_SERVER:return e.invalidFromServer||null;case r.NOT_FOUND:return e.notFound||null;case r.BLOCKED:return e.blocked||null;default:return null}},E=(a,e)=>{switch(a){case r.MISSING:return e("missingRequiredField");case r.INVALID:return e("invalidValue");case r.EMPTY:return e("emptyValue");case r.MIN_LENGTH:return e("valueTooShort");case r.MAX_LENGTH:return e("valueTooLong");case r.FORMAT:return e("invalidFormat");case r.DUPLICATE:return e("duplicateValue");case r.NEGATIVE:return e("invalidNegativeNumber");case r.FRACTIONS:return e("invalidFractionalNumber");case r.BELOW_MIN:return e("valueBelowMinimum");case r.ABOVE_MAX:return e("valueAboveMaximum");case r.OUT_OF_RANGE:return e("valueOutOfRange");case r.INVALID_FROM_SERVER:return e("invalidFromServer");case r.NOT_FOUND:return e("resourceNotFound");case r.BLOCKED:return e("valueBlocked");default:return null}},o=({id:a,errors:e,isVisible:N=!0,renderError:p,renderDefaultError:F,customMessages:b,...O})=>{const h=l.useLocalizedStringFormatter(_);if(!N||!e||!B(e))return null;const u=Object.entries(e).filter(([,i])=>i);return u.length===0?null:n.jsx(I,{id:a,role:"alert",...O,children:u.map(([i,s])=>{const d=p?.(i,s);if(d)return n.jsx(t,{children:d},i);const v=F?.(i,s);if(v)return n.jsx(t,{children:v},i);const c=g(i,b);if(c)return n.jsx(t,{children:c},i);const m=E(i,h.format);return m?n.jsx(t,{children:m},i):null})})};o.displayName="FieldErrors";o.errorTypes=r;o.getBuiltInMessage=E;o.getCustomMessage=g;exports.FieldErrorTypes=r;exports.FieldErrors=o;
|
|
2
|
-
//# sourceMappingURL=field-errors-C8G94e3K.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-errors-C8G94e3K.cjs.js","sources":["../../src/components/field-errors/field-errors.slots.tsx","../../src/components/field-errors/field-errors.types.ts","../../src/components/field-errors/intl/en.ts","../../src/components/field-errors/intl/de.ts","../../src/components/field-errors/intl/es.ts","../../src/components/field-errors/intl/fr-FR.ts","../../src/components/field-errors/intl/pt-BR.ts","../../src/components/field-errors/field-errors.messages.ts","../../src/components/field-errors/field-errors.tsx"],"sourcesContent":["import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"../../type-utils/slot-types\";\nimport type {\n FieldErrorsMessageSlotProps,\n FieldErrorsRootSlotProps,\n} from \"./field-errors.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"nimbusFieldErrors\",\n});\n\nexport const FieldErrorsRoot: SlotComponent<\n HTMLDivElement,\n FieldErrorsRootSlotProps\n> = withProvider<HTMLDivElement, FieldErrorsRootSlotProps>(\"div\", \"root\");\n\nexport const FieldErrorsMessage: SlotComponent<\n HTMLDivElement,\n FieldErrorsMessageSlotProps\n> = withContext<HTMLDivElement, FieldErrorsMessageSlotProps>(\"div\", \"message\");\n","import type { ReactNode } from \"react\";\nimport type {\n HTMLChakraProps,\n SlotRecipeProps,\n UnstyledProp,\n} from \"@chakra-ui/react\";\nimport type { OmitInternalProps } from \"../../type-utils/omit-props\";\n\n// ============================================================\n// RECIPE PROPS\n// ============================================================\n\ntype FieldErrorsRecipeProps = SlotRecipeProps<\"nimbusFieldErrors\"> &\n UnstyledProp;\n\n// ============================================================\n// SLOT PROPS\n// ============================================================\n\nexport type FieldErrorsRootSlotProps = OmitInternalProps<\n HTMLChakraProps<\"div\", FieldErrorsRecipeProps>\n>;\n\nexport type FieldErrorsMessageSlotProps = HTMLChakraProps<\"div\">;\n\n// ============================================================\n// HELPER TYPES\n// ============================================================\n\nexport type FieldErrorsData = Record<string, boolean>;\n\nexport type TErrorRenderer = (key: string, error?: boolean) => ReactNode;\n\nexport const FieldErrorTypes = {\n MISSING: \"missing\",\n INVALID: \"invalid\",\n EMPTY: \"empty\",\n MIN_LENGTH: \"min\",\n MAX_LENGTH: \"max\",\n FORMAT: \"format\",\n DUPLICATE: \"duplicate\",\n NEGATIVE: \"negative\",\n FRACTIONS: \"fractions\",\n BELOW_MIN: \"belowMin\",\n ABOVE_MAX: \"aboveMax\",\n OUT_OF_RANGE: \"outOfRange\",\n INVALID_FROM_SERVER: \"invalidFromServer\",\n NOT_FOUND: \"notFound\",\n BLOCKED: \"blocked\",\n} as const;\n\nexport type TFieldErrorTypes =\n (typeof FieldErrorTypes)[keyof typeof FieldErrorTypes];\n\n// ============================================================\n// MAIN PROPS\n// ============================================================\n\nexport type FieldErrorsProps = FieldErrorsRootSlotProps & {\n /**\n * Object mapping error types to boolean values indicating presence\n */\n errors?: FieldErrorsData;\n /**\n * Whether the error messages are visible\n * @default true\n */\n isVisible?: boolean;\n /**\n * Custom render function for error messages\n */\n renderError?: TErrorRenderer;\n /**\n * Default render function for error messages when no custom renderer is provided\n */\n renderDefaultError?: TErrorRenderer;\n /**\n * Custom message overrides for specific error types\n */\n customMessages?: {\n /** Message for missing field error */\n missing?: ReactNode;\n /** Message for invalid field error */\n invalid?: ReactNode;\n /** Message for empty field error */\n empty?: ReactNode;\n /** Message for minimum length error */\n min?: ReactNode;\n /** Message for maximum length error */\n max?: ReactNode;\n /** Message for format error */\n format?: ReactNode;\n /** Message for duplicate value error */\n duplicate?: ReactNode;\n /** Message for negative value error */\n negative?: ReactNode;\n /** Message for fractional value error */\n fractions?: ReactNode;\n /** Message for below minimum value error */\n belowMin?: ReactNode;\n /** Message for above maximum value error */\n aboveMax?: ReactNode;\n /** Message for out of range error */\n outOfRange?: ReactNode;\n /** Message for invalid from server error */\n invalidFromServer?: ReactNode;\n /** Message for not found error */\n notFound?: ReactNode;\n /** Message for blocked error */\n blocked?: ReactNode;\n };\n};\n","/**\n * Pre-compiled en messages for FieldErrors\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default {\n duplicateValue: `This value is already in use. It must be unique.`,\n emptyValue: `This field cannot be empty.`,\n invalidFormat: `Please enter a valid format.`,\n invalidFractionalNumber: `A whole number is required.`,\n invalidFromServer: `Server validation failed. Please check your input.`,\n invalidNegativeNumber: `Negative number is not supported.`,\n invalidValue: `The provided value is invalid.`,\n missingRequiredField: `This field is required. Provide a value.`,\n resourceNotFound: `The requested resource was not found.`,\n valueAboveMaximum: `Value must be less than or equal to the maximum.`,\n valueBelowMinimum: `Value must be greater than or equal to the minimum.`,\n valueBlocked: `This value is not allowed.`,\n valueOutOfRange: `Value must be within the acceptable range.`,\n valueTooLong: `This value is too long.`,\n valueTooShort: `This value is too short.`,\n};\n","/**\n * Pre-compiled de messages for FieldErrors\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default {\n duplicateValue: `Dieser Wert wird bereits verwendet. Er muss eindeutig sein.`,\n emptyValue: `Dieses Feld darf nicht leer sein.`,\n invalidFormat: `Bitte geben Sie ein gültiges Format ein.`,\n invalidFractionalNumber: `Eine ganze Zahl ist erforderlich.`,\n invalidFromServer: `Die Servervalidierung ist fehlgeschlagen. Bitte überprüfen Sie Ihre Eingabe.`,\n invalidNegativeNumber: `Negative Zahlen werden nicht unterstützt.`,\n invalidValue: `Der angegebene Wert ist ungültig.`,\n missingRequiredField: `Dies ist ein Pflichtfeld. Bitte geben Sie einen Wert ein.`,\n resourceNotFound: `Die angeforderte Ressource wurde nicht gefunden.`,\n valueAboveMaximum: `Der Wert muss kleiner oder gleich dem Höchstwert sein.`,\n valueBelowMinimum: `Der Wert muss größer oder gleich dem Mindestwert sein.`,\n valueBlocked: `Dieser Wert ist nicht erlaubt.`,\n valueOutOfRange: `Der Wert muss im akzeptablen Bereich liegen.`,\n valueTooLong: `Der Wert ist zu lang.`,\n valueTooShort: `Der Wert ist zu kurz.`,\n};\n","/**\n * Pre-compiled es messages for FieldErrors\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default {\n duplicateValue: `Este valor ya está en uso. Debe ser único.`,\n emptyValue: `Este campo no puede estar vacío.`,\n invalidFormat: `Introduce un valor válido.`,\n invalidFractionalNumber: `Se requiere un número entero.`,\n invalidFromServer: `Ha fallado la validación del servidor. Comprueba tus entradas.`,\n invalidNegativeNumber: `Los números negativos no están permitidos.`,\n invalidValue: `El valor proporcionado no es válido.`,\n missingRequiredField: `Este campo es obligatorio. Proporciona un valor.`,\n resourceNotFound: `No se ha encontrado el recurso solicitado.`,\n valueAboveMaximum: `El valor debe ser igual o inferior al máximo.`,\n valueBelowMinimum: `El valor debe ser igual o superior al mínimo.`,\n valueBlocked: `Este valor no está permitido.`,\n valueOutOfRange: `El valor debe estar en un rango aceptable.`,\n valueTooLong: `Este valor es demasiado largo.`,\n valueTooShort: `Este valor es demasiado corto.`,\n};\n","/**\n * Pre-compiled fr-FR messages for FieldErrors\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default {\n duplicateValue: `Cette clé est déjà utilisée. Elle doit être unique.`,\n emptyValue: `Ce champ ne peut pas être vide.`,\n invalidFormat: `Veuillez entrer un format valide.`,\n invalidFractionalNumber: `Un nombre entier est requis.`,\n invalidFromServer: `Échec de la validation du serveur. Veuillez vérifier votre saisie.`,\n invalidNegativeNumber: `Nombre négatif non pris en charge.`,\n invalidValue: `La valeur fournie n'est pas valide`,\n missingRequiredField: `Ce champ est requis. Veuillez indiquer une valeur.`,\n resourceNotFound: `Impossible de trouver la ressource demandée.`,\n valueAboveMaximum: `La valeur doit être égale ou inférieure au maximum.`,\n valueBelowMinimum: `La valeur doit être supérieure ou égale au minimum.`,\n valueBlocked: `Cette valeur n'est pas autorisée.`,\n valueOutOfRange: `La valeur doit être dans la plage acceptable.`,\n valueTooLong: `Cette valeur est trop longue.`,\n valueTooShort: `Cette valeur est trop courte.`,\n};\n","/**\n * Pre-compiled pt-BR messages for FieldErrors\n * Generated by @internationalized/string-compiler\n * DO NOT EDIT MANUALLY\n */\n\nexport default {\n duplicateValue: `O valor já está em uso. Use um valor único.`,\n emptyValue: `O campo não pode estar vazio.`,\n invalidFormat: `Insira um formato válido.`,\n invalidFractionalNumber: `É necessário um número inteiro.`,\n invalidFromServer: `A validação do servidor falhou. Verifique os dados inseridos.`,\n invalidNegativeNumber: `Números negativos não podem ser usados.`,\n invalidValue: `O valor fornecido é inválido.`,\n missingRequiredField: `Este campo é obrigatório. Informe um valor.`,\n resourceNotFound: `O recurso solicitado não foi encontrado.`,\n valueAboveMaximum: `O valor deve ser menor ou igual ao máximo.`,\n valueBelowMinimum: `O valor deve ser maior ou igual ao mínimo.`,\n valueBlocked: `O valor não é permitido.`,\n valueOutOfRange: `O valor deve estar dentro do intervalo aceitável.`,\n valueTooLong: `O valor é muito longo.`,\n valueTooShort: `O valor é muito curto.`,\n};\n","/**\n * Pre-compiled localized messages for FieldErrors component\n *\n * Generated by scripts/generate-dictionaries.ts\n * DO NOT EDIT MANUALLY\n *\n * @see https://react-spectrum.adobe.com/react-aria/internationalization.html\n */\n\nimport {\n type LocalizedString,\n type LocalizedStrings,\n} from \"@internationalized/string\";\nimport { normalizeMessages } from \"../../utils/normalize-messages\";\n\n// Pre-compiled message functions\nimport fieldErrorsMessages_en from \"./intl/en\";\nimport fieldErrorsMessages_de from \"./intl/de\";\nimport fieldErrorsMessages_es from \"./intl/es\";\nimport fieldErrorsMessages_fr from \"./intl/fr-FR\";\nimport fieldErrorsMessages_pt from \"./intl/pt-BR\";\n\n// Raw LocalizedStrings object for use with useLocalizedStringFormatter hook\nexport const fieldErrorsMessagesStrings: LocalizedStrings<\n string,\n LocalizedString\n> = {\n en: normalizeMessages(fieldErrorsMessages_en),\n de: normalizeMessages(fieldErrorsMessages_de),\n es: normalizeMessages(fieldErrorsMessages_es),\n \"fr-FR\": normalizeMessages(fieldErrorsMessages_fr),\n \"pt-BR\": normalizeMessages(fieldErrorsMessages_pt),\n} as LocalizedStrings<string, LocalizedString>;\n\n/**\n * Available message keys for FieldErrors component\n */\nexport type FieldErrorsMessageKey =\n | \"duplicateValue\"\n | \"emptyValue\"\n | \"invalidFormat\"\n | \"invalidFractionalNumber\"\n | \"invalidFromServer\"\n | \"invalidNegativeNumber\"\n | \"invalidValue\"\n | \"missingRequiredField\"\n | \"resourceNotFound\"\n | \"valueAboveMaximum\"\n | \"valueBelowMinimum\"\n | \"valueBlocked\"\n | \"valueOutOfRange\"\n | \"valueTooLong\"\n | \"valueTooShort\";\n","import { FieldErrorsRoot, FieldErrorsMessage } from \"./field-errors.slots\";\nimport type { FieldErrorsProps } from \"./field-errors.types\";\nimport { FieldErrorTypes } from \"./field-errors.types\";\nimport { useLocalizedStringFormatter } from \"@/hooks\";\nimport { fieldErrorsMessagesStrings } from \"./field-errors.messages\";\n\nconst isObject = (obj: unknown): boolean => typeof obj === \"object\";\n\n/**\n * Get custom message for a given error key\n */\nconst getCustomMessage = (\n key: string,\n customMessages?: FieldErrorsProps[\"customMessages\"]\n): React.ReactNode => {\n if (!customMessages) return null;\n\n // Map error keys to custom messages\n switch (key) {\n case FieldErrorTypes.MISSING:\n return customMessages.missing || null;\n case FieldErrorTypes.INVALID:\n return customMessages.invalid || null;\n case FieldErrorTypes.EMPTY:\n return customMessages.empty || null;\n case FieldErrorTypes.MIN_LENGTH:\n return customMessages.min || null;\n case FieldErrorTypes.MAX_LENGTH:\n return customMessages.max || null;\n case FieldErrorTypes.FORMAT:\n return customMessages.format || null;\n case FieldErrorTypes.DUPLICATE:\n return customMessages.duplicate || null;\n case FieldErrorTypes.NEGATIVE:\n return customMessages.negative || null;\n case FieldErrorTypes.FRACTIONS:\n return customMessages.fractions || null;\n case FieldErrorTypes.BELOW_MIN:\n return customMessages.belowMin || null;\n case FieldErrorTypes.ABOVE_MAX:\n return customMessages.aboveMax || null;\n case FieldErrorTypes.OUT_OF_RANGE:\n return customMessages.outOfRange || null;\n case FieldErrorTypes.INVALID_FROM_SERVER:\n return customMessages.invalidFromServer || null;\n case FieldErrorTypes.NOT_FOUND:\n return customMessages.notFound || null;\n case FieldErrorTypes.BLOCKED:\n return customMessages.blocked || null;\n default:\n return null;\n }\n};\n\n/**\n * Get built-in localized message for a given error key\n * @param key - The error key\n * @param format - The format function from useLocalizedStringFormatter\n */\nconst getBuiltInMessage = (\n key: string,\n format: (key: string) => string\n): string | null => {\n switch (key) {\n // Basic validation\n case FieldErrorTypes.MISSING:\n return format(\"missingRequiredField\");\n case FieldErrorTypes.INVALID:\n return format(\"invalidValue\");\n case FieldErrorTypes.EMPTY:\n return format(\"emptyValue\");\n\n // Length validation\n case FieldErrorTypes.MIN_LENGTH:\n return format(\"valueTooShort\");\n case FieldErrorTypes.MAX_LENGTH:\n return format(\"valueTooLong\");\n\n // Format validation\n case FieldErrorTypes.FORMAT:\n return format(\"invalidFormat\");\n case FieldErrorTypes.DUPLICATE:\n return format(\"duplicateValue\");\n\n // Numeric validation\n case FieldErrorTypes.NEGATIVE:\n return format(\"invalidNegativeNumber\");\n case FieldErrorTypes.FRACTIONS:\n return format(\"invalidFractionalNumber\");\n case FieldErrorTypes.BELOW_MIN:\n return format(\"valueBelowMinimum\");\n case FieldErrorTypes.ABOVE_MAX:\n return format(\"valueAboveMaximum\");\n case FieldErrorTypes.OUT_OF_RANGE:\n return format(\"valueOutOfRange\");\n\n // Server/async validation\n case FieldErrorTypes.INVALID_FROM_SERVER:\n return format(\"invalidFromServer\");\n case FieldErrorTypes.NOT_FOUND:\n return format(\"resourceNotFound\");\n case FieldErrorTypes.BLOCKED:\n return format(\"valueBlocked\");\n\n default:\n return null;\n }\n};\n\n/**\n * # FieldErrors\n *\n * Renders error messages based on error object configuration.\n * Provides backwards compatibility with UI-Kit FieldErrors while integrating\n * with Nimbus design system patterns.\n *\n * Supports custom error renderers and localized built-in error messages\n * for common validation scenarios like missing required fields.\n *\n * @see {@link https://nimbus.commercetools.com/components/field-errors}\n *\n * @supportsStyleProps\n */\nexport const FieldErrors = ({\n id,\n errors,\n isVisible = true, // Default to true for backwards compatibility, but will be auto-handled in future\n renderError,\n renderDefaultError,\n customMessages,\n ...props\n}: FieldErrorsProps) => {\n const msg = useLocalizedStringFormatter(fieldErrorsMessagesStrings);\n\n // Don't render if not visible or no errors\n if (!isVisible) return null;\n if (!errors || !isObject(errors)) return null;\n\n // Filter to only show truthy errors\n const activeErrors = Object.entries(errors).filter(([, error]) => error);\n\n // Don't render if no active errors\n if (activeErrors.length === 0) return null;\n\n return (\n <FieldErrorsRoot id={id} role=\"alert\" {...props}>\n {activeErrors.map(([key, error]) => {\n // Try custom error renderer first\n const customErrorElement = renderError?.(key, error);\n if (customErrorElement) {\n return (\n <FieldErrorsMessage key={key}>\n {customErrorElement}\n </FieldErrorsMessage>\n );\n }\n\n // Try default error renderer second\n const defaultErrorElement = renderDefaultError?.(key, error);\n if (defaultErrorElement) {\n return (\n <FieldErrorsMessage key={key}>\n {defaultErrorElement}\n </FieldErrorsMessage>\n );\n }\n\n // Try custom messages for built-in error types first\n const customMessage = getCustomMessage(key, customMessages);\n if (customMessage) {\n return (\n <FieldErrorsMessage key={key}>{customMessage}</FieldErrorsMessage>\n );\n }\n\n // Fall back to built-in localized messages\n const builtInMessage = getBuiltInMessage(key, msg.format);\n if (builtInMessage) {\n return (\n <FieldErrorsMessage key={key}>{builtInMessage}</FieldErrorsMessage>\n );\n }\n\n // If no renderer handles it, render nothing\n return null;\n })}\n </FieldErrorsRoot>\n );\n};\n\n// Static properties for backwards compatibility with UI-Kit\nFieldErrors.displayName = \"FieldErrors\";\nFieldErrors.errorTypes = FieldErrorTypes;\n// Static properties for string conversion, mostly for testing\nFieldErrors.getBuiltInMessage = getBuiltInMessage;\nFieldErrors.getCustomMessage = getCustomMessage;\n"],"names":["withProvider","withContext","createSlotRecipeContext","FieldErrorsRoot","FieldErrorsMessage","FieldErrorTypes","fieldErrorsMessages_en","fieldErrorsMessages_de","fieldErrorsMessages_es","fieldErrorsMessages_fr","fieldErrorsMessages_pt","fieldErrorsMessagesStrings","normalizeMessages","isObject","obj","getCustomMessage","key","customMessages","getBuiltInMessage","format","FieldErrors","id","errors","isVisible","renderError","renderDefaultError","props","msg","useLocalizedStringFormatter","activeErrors","error","jsx","customErrorElement","defaultErrorElement","customMessage","builtInMessage"],"mappings":"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"}
|