@commercetools/nimbus 0.0.0-canary-20251203100745 → 0.0.0-canary-20251203143009
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-CmpJG0ec.es.js → Button-BjcDZ5eb.es.js} +7 -7
- package/dist/chunks/{Button-CmpJG0ec.es.js.map → Button-BjcDZ5eb.es.js.map} +1 -1
- package/dist/chunks/{CollectionBuilder-BqQjeKfi.es.js → CollectionBuilder-BnYe2z4W.es.js} +2 -2
- package/dist/chunks/{CollectionBuilder-BqQjeKfi.es.js.map → CollectionBuilder-BnYe2z4W.es.js.map} +1 -1
- package/dist/chunks/{DateField-Bpk0AwB2.es.js → DateField-C5JgBb30.es.js} +21 -21
- package/dist/chunks/{DateField-Bpk0AwB2.es.js.map → DateField-C5JgBb30.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-CUW1A5A8.es.js → DatePicker-9m2POezC.es.js} +17 -17
- package/dist/chunks/{DatePicker-CUW1A5A8.es.js.map → DatePicker-9m2POezC.es.js.map} +1 -1
- package/dist/chunks/{Dialog-BYVU-i0Y.es.js → Dialog-DcnmO0xr.es.js} +24 -24
- package/dist/chunks/{Dialog-BYVU-i0Y.es.js.map → Dialog-DcnmO0xr.es.js.map} +1 -1
- package/dist/chunks/{FocusScope-bj_mamFe.es.js → FocusScope-CqEZq7sr.es.js} +36 -36
- package/dist/chunks/{FocusScope-bj_mamFe.es.js.map → FocusScope-CqEZq7sr.es.js.map} +1 -1
- package/dist/chunks/{Group-C9jsb9_m.es.js → Group-BQc9LuMT.es.js} +8 -8
- package/dist/chunks/{Group-C9jsb9_m.es.js.map → Group-BQc9LuMT.es.js.map} +1 -1
- package/dist/chunks/{Header-CNoClAau.es.js → Header-CliQVNVa.es.js} +5 -5
- package/dist/chunks/{Header-CNoClAau.es.js.map → Header-CliQVNVa.es.js.map} +1 -1
- package/dist/chunks/{Heading-D804NNml.es.js → Heading-D7Ut7eK3.es.js} +14 -14
- package/dist/chunks/{Heading-D804NNml.es.js.map → Heading-D7Ut7eK3.es.js.map} +1 -1
- package/dist/chunks/{Input-aKSXZBAh.es.js → Input-Cmg08oRP.es.js} +5 -5
- package/dist/chunks/{Input-aKSXZBAh.es.js.map → Input-Cmg08oRP.es.js.map} +1 -1
- package/dist/chunks/{Label-Bu5lTMzy.es.js → Label-DIseLESi.es.js} +2 -2
- package/dist/chunks/{Label-Bu5lTMzy.es.js.map → Label-DIseLESi.es.js.map} +1 -1
- package/dist/chunks/{ListBox-DYbGAoet.es.js → ListBox-CcSs4yTw.es.js} +15 -15
- package/dist/chunks/{ListBox-DYbGAoet.es.js.map → ListBox-CcSs4yTw.es.js.map} +1 -1
- package/dist/chunks/{Modal-2TttSPy4.es.js → Modal-3QPNDzpi.es.js} +7 -7
- package/dist/chunks/{Modal-2TttSPy4.es.js.map → Modal-3QPNDzpi.es.js.map} +1 -1
- package/dist/chunks/{OverlayArrow-qm-lnjhS.es.js → OverlayArrow-BIjbCSXk.es.js} +2 -2
- package/dist/chunks/{OverlayArrow-qm-lnjhS.es.js.map → OverlayArrow-BIjbCSXk.es.js.map} +1 -1
- package/dist/chunks/{ProgressBar-DogfCeuX.es.js → ProgressBar-Dm2Ge45l.es.js} +5 -5
- package/dist/chunks/{ProgressBar-DogfCeuX.es.js.map → ProgressBar-Dm2Ge45l.es.js.map} +1 -1
- package/dist/chunks/{SelectionManager-CXicxYqF.es.js → SelectionManager-B0Cb1kHW.es.js} +10 -10
- package/dist/chunks/{SelectionManager-CXicxYqF.es.js.map → SelectionManager-B0Cb1kHW.es.js.map} +1 -1
- package/dist/chunks/{Separator-WCa1iR4U.es.js → Separator-DP89PKAS.es.js} +4 -4
- package/dist/chunks/{Separator-WCa1iR4U.es.js.map → Separator-DP89PKAS.es.js.map} +1 -1
- package/dist/chunks/{TextArea-JHqAZ7HD.es.js → TextArea-CXEdUjgW.es.js} +5 -5
- package/dist/chunks/{TextArea-JHqAZ7HD.es.js.map → TextArea-CXEdUjgW.es.js.map} +1 -1
- package/dist/chunks/{ToggleButton-B-feHlsu.es.js → ToggleButton-BqW-X6iJ.es.js} +7 -7
- package/dist/chunks/{ToggleButton-B-feHlsu.es.js.map → ToggleButton-BqW-X6iJ.es.js.map} +1 -1
- package/dist/chunks/{VisuallyHidden-BIA5VRNP.es.js → VisuallyHidden-BLRzeMsq.es.js} +3 -3
- package/dist/chunks/{VisuallyHidden-BIA5VRNP.es.js.map → VisuallyHidden-BLRzeMsq.es.js.map} +1 -1
- package/dist/chunks/{accordion-_4Vtr930.es.js → accordion-BacJkt5n.es.js} +2 -2
- package/dist/chunks/{accordion-_4Vtr930.es.js.map → accordion-BacJkt5n.es.js.map} +1 -1
- package/dist/chunks/{accordion-B978Ssd8.cjs.js → accordion-qzbckNub.cjs.js} +2 -2
- package/dist/chunks/{accordion-B978Ssd8.cjs.js.map → accordion-qzbckNub.cjs.js.map} +1 -1
- package/dist/chunks/accordion.content-Cslx-S6p.cjs.js +2 -0
- package/dist/chunks/{accordion.content-Bd2PESBz.cjs.js.map → accordion.content-Cslx-S6p.cjs.js.map} +1 -1
- package/dist/chunks/{accordion.content-YkB30Nl0.es.js → accordion.content-SFS_lHjk.es.js} +23 -24
- package/dist/chunks/{accordion.content-YkB30Nl0.es.js.map → accordion.content-SFS_lHjk.es.js.map} +1 -1
- package/dist/chunks/{alert-_J_dHFj_.es.js → alert-CoJ8asOZ.es.js} +2 -2
- package/dist/chunks/{alert-_J_dHFj_.es.js.map → alert-CoJ8asOZ.es.js.map} +1 -1
- package/dist/chunks/{alert-55tm3vfU.cjs.js → alert-D6ENEy8f.cjs.js} +2 -2
- package/dist/chunks/{alert-55tm3vfU.cjs.js.map → alert-D6ENEy8f.cjs.js.map} +1 -1
- package/dist/chunks/badge-CgYpum7D.es.js +17 -0
- package/dist/chunks/{badge-DUiqk6w9.es.js.map → badge-CgYpum7D.es.js.map} +1 -1
- package/dist/chunks/{button-CvWz8q1N.cjs.js → button-CxL9YuuF.cjs.js} +2 -2
- package/dist/chunks/{button-CvWz8q1N.cjs.js.map → button-CxL9YuuF.cjs.js.map} +1 -1
- package/dist/chunks/{button-DTxnOPiN.es.js → button-DZew_Si4.es.js} +6 -6
- package/dist/chunks/{button-DTxnOPiN.es.js.map → button-DZew_Si4.es.js.map} +1 -1
- package/dist/chunks/{calendar-C0WVsTa4.es.js → calendar-CDVjB0zo.es.js} +9 -9
- package/dist/chunks/{calendar-C0WVsTa4.es.js.map → calendar-CDVjB0zo.es.js.map} +1 -1
- package/dist/chunks/{calendar-CMCE8As1.cjs.js → calendar-Dx5LLOml.cjs.js} +2 -2
- package/dist/chunks/{calendar-CMCE8As1.cjs.js.map → calendar-Dx5LLOml.cjs.js.map} +1 -1
- package/dist/chunks/{card-D9xReN37.cjs.js → card-DB6gUcAw.cjs.js} +2 -2
- package/dist/chunks/{card-D9xReN37.cjs.js.map → card-DB6gUcAw.cjs.js.map} +1 -1
- package/dist/chunks/{card-DSxEwCmQ.es.js → card-ydiSozha.es.js} +2 -2
- package/dist/chunks/{card-DSxEwCmQ.es.js.map → card-ydiSozha.es.js.map} +1 -1
- package/dist/chunks/{checkbox-DMpI_oaX.es.js → checkbox-DuPKJsWQ.es.js} +10 -10
- package/dist/chunks/{checkbox-DMpI_oaX.es.js.map → checkbox-DuPKJsWQ.es.js.map} +1 -1
- package/dist/chunks/{checkbox-CdXKptM4.cjs.js → checkbox-fwmjQ4Uk.cjs.js} +2 -2
- package/dist/chunks/{checkbox-CdXKptM4.cjs.js.map → checkbox-fwmjQ4Uk.cjs.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-Dw8EugiR.es.js → collapsible-motion-B5YFRwO4.es.js} +5 -5
- package/dist/chunks/{collapsible-motion-Dw8EugiR.es.js.map → collapsible-motion-B5YFRwO4.es.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-CA8uQuKZ.cjs.js → collapsible-motion-BiF9lLAN.cjs.js} +2 -2
- package/dist/chunks/{collapsible-motion-CA8uQuKZ.cjs.js.map → collapsible-motion-BiF9lLAN.cjs.js.map} +1 -1
- package/dist/chunks/{combobox-BMpAKWKs.es.js → combobox-BobLAXh8.es.js} +74 -74
- package/dist/chunks/{combobox-BMpAKWKs.es.js.map → combobox-BobLAXh8.es.js.map} +1 -1
- package/dist/chunks/{combobox-DPZmJZJF.cjs.js → combobox-CEyLEi9S.cjs.js} +2 -2
- package/dist/chunks/{combobox-DPZmJZJF.cjs.js.map → combobox-CEyLEi9S.cjs.js.map} +1 -1
- package/dist/chunks/{data-table-B5tlvmbJ.cjs.js → data-table-DpRmr71N.cjs.js} +2 -2
- package/dist/chunks/{data-table-B5tlvmbJ.cjs.js.map → data-table-DpRmr71N.cjs.js.map} +1 -1
- package/dist/chunks/{data-table-Ch0tFro2.es.js → data-table-uvxFiIVK.es.js} +37 -37
- package/dist/chunks/{data-table-Ch0tFro2.es.js.map → data-table-uvxFiIVK.es.js.map} +1 -1
- package/dist/chunks/{date-input-lsbLlxie.cjs.js → date-input-BDkIVUEJ.cjs.js} +2 -2
- package/dist/chunks/{date-input-lsbLlxie.cjs.js.map → date-input-BDkIVUEJ.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-COUAItnm.es.js → date-input-C_dX1XXD.es.js} +4 -4
- package/dist/chunks/{date-input-COUAItnm.es.js.map → date-input-C_dX1XXD.es.js.map} +1 -1
- package/dist/chunks/{date-picker-B5ZR0GJ3.es.js → date-picker-Cq8qD5Ff.es.js} +14 -14
- package/dist/chunks/{date-picker-B5ZR0GJ3.es.js.map → date-picker-Cq8qD5Ff.es.js.map} +1 -1
- package/dist/chunks/{date-picker-JA1Mh2WY.cjs.js → date-picker-DODeu1jH.cjs.js} +2 -2
- package/dist/chunks/{date-picker-JA1Mh2WY.cjs.js.map → date-picker-DODeu1jH.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-CMhOBPtp.es.js → date-range-picker-Bf14iS4A.es.js} +14 -14
- package/dist/chunks/{date-range-picker-CMhOBPtp.es.js.map → date-range-picker-Bf14iS4A.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-yzo8osGE.cjs.js → date-range-picker-D1gUgq_6.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-yzo8osGE.cjs.js.map → date-range-picker-D1gUgq_6.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-field-UFUo2JuI.cjs.js → date-range-picker-field-Bvvmu7oL.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-field-UFUo2JuI.cjs.js.map → date-range-picker-field-Bvvmu7oL.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-field-DaoP69E2.es.js → date-range-picker-field-CqG7wwZc.es.js} +3 -3
- package/dist/chunks/{date-range-picker-field-DaoP69E2.es.js.map → date-range-picker-field-CqG7wwZc.es.js.map} +1 -1
- package/dist/chunks/{dialog-DNl_apyv.cjs.js → dialog-CS8h46ov.cjs.js} +2 -2
- package/dist/chunks/{dialog-DNl_apyv.cjs.js.map → dialog-CS8h46ov.cjs.js.map} +1 -1
- package/dist/chunks/{dialog-cV8_ifAL.es.js → dialog-DUZOjwNj.es.js} +7 -7
- package/dist/chunks/{dialog-cV8_ifAL.es.js.map → dialog-DUZOjwNj.es.js.map} +1 -1
- package/dist/chunks/{draggable-list-4w8RgF1w.cjs.js → draggable-list-CUcHb55R.cjs.js} +2 -2
- package/dist/chunks/{draggable-list-4w8RgF1w.cjs.js.map → draggable-list-CUcHb55R.cjs.js.map} +1 -1
- package/dist/chunks/{draggable-list-B6YVD64W.es.js → draggable-list-LtLBvlhK.es.js} +22 -22
- package/dist/chunks/{draggable-list-B6YVD64W.es.js.map → draggable-list-LtLBvlhK.es.js.map} +1 -1
- package/dist/chunks/{drawer-BcgvPugV.cjs.js → drawer-DZt4nA9C.cjs.js} +2 -2
- package/dist/chunks/{drawer-BcgvPugV.cjs.js.map → drawer-DZt4nA9C.cjs.js.map} +1 -1
- package/dist/chunks/{drawer-ByFci-Lp.es.js → drawer-YCoDb7TU.es.js} +8 -8
- package/dist/chunks/{drawer-ByFci-Lp.es.js.map → drawer-YCoDb7TU.es.js.map} +1 -1
- package/dist/chunks/{extract-style-props-CJjpdqym.es.js → extract-style-props-CIoUvqFb.es.js} +2 -2
- package/dist/chunks/{extract-style-props-CJjpdqym.es.js.map → extract-style-props-CIoUvqFb.es.js.map} +1 -1
- package/dist/chunks/{extract-style-props-DL4zPQSN.cjs.js → extract-style-props-DGdckd6P.cjs.js} +2 -2
- package/dist/chunks/{extract-style-props-DL4zPQSN.cjs.js.map → extract-style-props-DGdckd6P.cjs.js.map} +1 -1
- package/dist/chunks/{focusSafely-RvsgqoUt.es.js → focusSafely-Cwb0Tyy6.es.js} +3 -3
- package/dist/chunks/{focusSafely-RvsgqoUt.es.js.map → focusSafely-Cwb0Tyy6.es.js.map} +1 -1
- package/dist/chunks/{form-field-D36wdkEj.cjs.js → form-field-CozKmli4.cjs.js} +2 -2
- package/dist/chunks/{form-field-D36wdkEj.cjs.js.map → form-field-CozKmli4.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-Po_Y_5wQ.es.js → form-field-Df4_JmSU.es.js} +4 -4
- package/dist/chunks/{form-field-Po_Y_5wQ.es.js.map → form-field-Df4_JmSU.es.js.map} +1 -1
- package/dist/chunks/{getScrollParent-DlqhSzBC.es.js → getScrollParent-MZgwmCKW.es.js} +2 -2
- package/dist/chunks/{getScrollParent-DlqhSzBC.es.js.map → getScrollParent-MZgwmCKW.es.js.map} +1 -1
- package/dist/chunks/{group-jGsHh1w7.es.js → group-CCBgdph2.es.js} +2 -2
- package/dist/chunks/{group-jGsHh1w7.es.js.map → group-CCBgdph2.es.js.map} +1 -1
- package/dist/chunks/{heading-CwsT9zp_.es.js → heading-nfjoR4vL.es.js} +2 -2
- package/dist/chunks/{heading-CwsT9zp_.es.js.map → heading-nfjoR4vL.es.js.map} +1 -1
- package/dist/chunks/{icon-button-ClTyaPhB.cjs.js → icon-button-BPzrehNJ.cjs.js} +2 -2
- package/dist/chunks/{icon-button-ClTyaPhB.cjs.js.map → icon-button-BPzrehNJ.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-Cnas4bnJ.es.js → icon-button-hZxuTfRy.es.js} +2 -2
- package/dist/chunks/{icon-button-Cnas4bnJ.es.js.map → icon-button-hZxuTfRy.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-3hAIS1Mt.es.js → icon-toggle-button-BtyMh4Ys.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-3hAIS1Mt.es.js.map → icon-toggle-button-BtyMh4Ys.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-B8ycCaqk.cjs.js → icon-toggle-button-DzoifEyi.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-B8ycCaqk.cjs.js.map → icon-toggle-button-DzoifEyi.cjs.js.map} +1 -1
- package/dist/chunks/{index-CmfW40Im.es.js → index-CqOsUykV.es.js} +185 -185
- package/dist/chunks/index-CqOsUykV.es.js.map +1 -0
- package/dist/chunks/{index-DIQn6o2R.cjs.js → index-DdyUbTzB.cjs.js} +3 -3
- package/dist/chunks/index-DdyUbTzB.cjs.js.map +1 -0
- package/dist/chunks/{kbd-B11Qoo4k.es.js → kbd-Bl5Ncm2d.es.js} +2 -2
- package/dist/chunks/{kbd-B11Qoo4k.es.js.map → kbd-Bl5Ncm2d.es.js.map} +1 -1
- package/dist/chunks/{link-Db65JZE6.es.js → link-BMUyXcmC.es.js} +9 -9
- package/dist/chunks/{link-Db65JZE6.es.js.map → link-BMUyXcmC.es.js.map} +1 -1
- package/dist/chunks/{loading-spinner-FBgHlqXQ.es.js → loading-spinner-DF6c3rBM.es.js} +3 -3
- package/dist/chunks/{loading-spinner-FBgHlqXQ.es.js.map → loading-spinner-DF6c3rBM.es.js.map} +1 -1
- package/dist/chunks/{localized-field-BqedmRuV.es.js → localized-field-BTtMYX2e.es.js} +25 -25
- package/dist/chunks/{localized-field-BqedmRuV.es.js.map → localized-field-BTtMYX2e.es.js.map} +1 -1
- package/dist/chunks/{localized-field-BudXks_7.cjs.js → localized-field-CKzOQS8a.cjs.js} +2 -2
- package/dist/chunks/{localized-field-BudXks_7.cjs.js.map → localized-field-CKzOQS8a.cjs.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-DVfaQntJ.es.js → make-element-focusable-7-aXFtDJ.es.js} +6 -6
- package/dist/chunks/{make-element-focusable-DVfaQntJ.es.js.map → make-element-focusable-7-aXFtDJ.es.js.map} +1 -1
- package/dist/chunks/{menu-DMtIo54m.es.js → menu-9gmr8hQj.es.js} +6 -6
- package/dist/chunks/{menu-DMtIo54m.es.js.map → menu-9gmr8hQj.es.js.map} +1 -1
- package/dist/chunks/{menu-DGuxJIC6.cjs.js → menu-DbUVggzL.cjs.js} +2 -2
- package/dist/chunks/{menu-DGuxJIC6.cjs.js.map → menu-DbUVggzL.cjs.js.map} +1 -1
- package/dist/chunks/{mergeProps-D1jjFfMs.es.js → mergeProps-Dsl8k3Ig.es.js} +6 -6
- package/dist/chunks/{mergeProps-D1jjFfMs.es.js.map → mergeProps-Dsl8k3Ig.es.js.map} +1 -1
- package/dist/chunks/{money-input-B3fxVHDJ.cjs.js → money-input-BelTJgi2.cjs.js} +2 -2
- package/dist/chunks/{money-input-B3fxVHDJ.cjs.js.map → money-input-BelTJgi2.cjs.js.map} +1 -1
- package/dist/chunks/{money-input-BHveN9w0.es.js → money-input-DiuaCRAq.es.js} +9 -9
- package/dist/chunks/{money-input-BHveN9w0.es.js.map → money-input-DiuaCRAq.es.js.map} +1 -1
- package/dist/chunks/{money-input-field-CsChyLci.es.js → money-input-field-B8gMfNW7.es.js} +3 -3
- package/dist/chunks/{money-input-field-CsChyLci.es.js.map → money-input-field-B8gMfNW7.es.js.map} +1 -1
- package/dist/chunks/{money-input-field-FVpMq6tJ.cjs.js → money-input-field-tgZ_nN7r.cjs.js} +2 -2
- package/dist/chunks/{money-input-field-FVpMq6tJ.cjs.js.map → money-input-field-tgZ_nN7r.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-C5pMVuYM.cjs.js → multiline-text-input-DJeOCh8z.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-C5pMVuYM.cjs.js.map → multiline-text-input-DJeOCh8z.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-CTop15Kc.es.js → multiline-text-input-fb-1IzTw.es.js} +5 -5
- package/dist/chunks/{multiline-text-input-CTop15Kc.es.js.map → multiline-text-input-fb-1IzTw.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-field-D_M3z9GG.es.js → multiline-text-input-field-DIjx7INz.es.js} +3 -3
- package/dist/chunks/{multiline-text-input-field-D_M3z9GG.es.js.map → multiline-text-input-field-DIjx7INz.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-field-B3eQzuAg.cjs.js → multiline-text-input-field-EiZALVr9.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-field-B3eQzuAg.cjs.js.map → multiline-text-input-field-EiZALVr9.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-COP-MGlb.cjs.js → nimbus-provider-BZ1AjgyS.cjs.js} +2 -2
- package/dist/chunks/{nimbus-provider-COP-MGlb.cjs.js.map → nimbus-provider-BZ1AjgyS.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-BZuDgONW.es.js → nimbus-provider-XoinDagw.es.js} +2 -2
- package/dist/chunks/{nimbus-provider-BZuDgONW.es.js.map → nimbus-provider-XoinDagw.es.js.map} +1 -1
- package/dist/chunks/{number-input-Dj9jPceO.cjs.js → number-input-BY8SeNuT.cjs.js} +2 -2
- package/dist/chunks/{number-input-Dj9jPceO.cjs.js.map → number-input-BY8SeNuT.cjs.js.map} +1 -1
- package/dist/chunks/{number-input-CLoBlpiD.es.js → number-input-DKGtPqlr.es.js} +14 -14
- package/dist/chunks/{number-input-CLoBlpiD.es.js.map → number-input-DKGtPqlr.es.js.map} +1 -1
- package/dist/chunks/{number-input-field-BKxrwzEz.es.js → number-input-field-DnIN5wjh.es.js} +3 -3
- package/dist/chunks/{number-input-field-BKxrwzEz.es.js.map → number-input-field-DnIN5wjh.es.js.map} +1 -1
- package/dist/chunks/{number-input-field-DYJa53Un.cjs.js → number-input-field-l6_xjbpB.cjs.js} +2 -2
- package/dist/chunks/{number-input-field-DYJa53Un.cjs.js.map → number-input-field-l6_xjbpB.cjs.js.map} +1 -1
- package/dist/chunks/{pagination-DNTHTYbV.cjs.js → pagination-Cks7-saP.cjs.js} +2 -2
- package/dist/chunks/{pagination-DNTHTYbV.cjs.js.map → pagination-Cks7-saP.cjs.js.map} +1 -1
- package/dist/chunks/{pagination-WCa7N8As.es.js → pagination-DAPyY6Zk.es.js} +5 -5
- package/dist/chunks/{pagination-WCa7N8As.es.js.map → pagination-DAPyY6Zk.es.js.map} +1 -1
- package/dist/chunks/{password-input-B1aemp6U.es.js → password-input-BXrS2-3k.es.js} +4 -4
- package/dist/chunks/{password-input-B1aemp6U.es.js.map → password-input-BXrS2-3k.es.js.map} +1 -1
- package/dist/chunks/{password-input-CWPQT3AJ.cjs.js → password-input-DG0_r6H_.cjs.js} +2 -2
- package/dist/chunks/{password-input-CWPQT3AJ.cjs.js.map → password-input-DG0_r6H_.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-field-DGjkta8d.es.js → password-input-field-BIH25kaL.es.js} +3 -3
- package/dist/chunks/{password-input-field-DGjkta8d.es.js.map → password-input-field-BIH25kaL.es.js.map} +1 -1
- package/dist/chunks/{password-input-field-C3ct8JqT.cjs.js → password-input-field-DMQAWO16.cjs.js} +2 -2
- package/dist/chunks/{password-input-field-C3ct8JqT.cjs.js.map → password-input-field-DMQAWO16.cjs.js.map} +1 -1
- package/dist/chunks/{popover-B1aRr1CU.es.js → popover-zNeVW5hN.es.js} +2 -2
- package/dist/chunks/{popover-B1aRr1CU.es.js.map → popover-zNeVW5hN.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-Dny28r_G.cjs.js → progress-bar-DG9JB9bR.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-Dny28r_G.cjs.js.map → progress-bar-DG9JB9bR.cjs.js.map} +1 -1
- package/dist/chunks/{progress-bar-VQAbvri1.es.js → progress-bar-DYbU-4Vi.es.js} +4 -4
- package/dist/chunks/{progress-bar-VQAbvri1.es.js.map → progress-bar-DYbU-4Vi.es.js.map} +1 -1
- package/dist/chunks/{radio-input-CIqZ2V6i.cjs.js → radio-input-CA4Y8LF8.cjs.js} +2 -2
- package/dist/chunks/{radio-input-CIqZ2V6i.cjs.js.map → radio-input-CA4Y8LF8.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-6FtNHf0N.es.js → radio-input-tsryyQ63.es.js} +42 -42
- package/dist/chunks/{radio-input-6FtNHf0N.es.js.map → radio-input-tsryyQ63.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-Cumbca_6.es.js → range-calendar-CCKqVOdF.es.js} +10 -10
- package/dist/chunks/{range-calendar-Cumbca_6.es.js.map → range-calendar-CCKqVOdF.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-Bjst1nRD.cjs.js → range-calendar-CFfa_h1A.cjs.js} +2 -2
- package/dist/chunks/{range-calendar-Bjst1nRD.cjs.js.map → range-calendar-CFfa_h1A.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-C7jglLdt.es.js → rich-text-input-CoIBknUh.es.js} +13 -13
- package/dist/chunks/{rich-text-input-C7jglLdt.es.js.map → rich-text-input-CoIBknUh.es.js.map} +1 -1
- package/dist/chunks/{rich-text-input-CpQVkFRl.cjs.js → rich-text-input-D7zyqfNG.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-CpQVkFRl.cjs.js.map → rich-text-input-D7zyqfNG.cjs.js.map} +1 -1
- package/dist/chunks/{scoped-search-input-CIUdBb04.cjs.js → scoped-search-input-B7lz2Odg.cjs.js} +2 -2
- package/dist/chunks/{scoped-search-input-CIUdBb04.cjs.js.map → scoped-search-input-B7lz2Odg.cjs.js.map} +1 -1
- package/dist/chunks/{scoped-search-input-C3N9xhiG.es.js → scoped-search-input-DM_clkPu.es.js} +5 -5
- package/dist/chunks/{scoped-search-input-C3N9xhiG.es.js.map → scoped-search-input-DM_clkPu.es.js.map} +1 -1
- package/dist/chunks/{scrollIntoView-CQMm8-SR.es.js → scrollIntoView-B7D07fJk.es.js} +5 -5
- package/dist/chunks/{scrollIntoView-CQMm8-SR.es.js.map → scrollIntoView-B7D07fJk.es.js.map} +1 -1
- package/dist/chunks/{search-input-xfX98rpy.es.js → search-input-CaJyfxW-.es.js} +11 -11
- package/dist/chunks/{search-input-xfX98rpy.es.js.map → search-input-CaJyfxW-.es.js.map} +1 -1
- package/dist/chunks/{search-input-B2eu94HO.cjs.js → search-input-Cq5nPtbF.cjs.js} +2 -2
- package/dist/chunks/{search-input-B2eu94HO.cjs.js.map → search-input-Cq5nPtbF.cjs.js.map} +1 -1
- package/dist/chunks/{search-input-field-CiEbfoqx.cjs.js → search-input-field-4wVwDFiQ.cjs.js} +2 -2
- package/dist/chunks/{search-input-field-CiEbfoqx.cjs.js.map → search-input-field-4wVwDFiQ.cjs.js.map} +1 -1
- package/dist/chunks/{search-input-field-Bt94J1Xu.es.js → search-input-field-zzVNsLn3.es.js} +3 -3
- package/dist/chunks/{search-input-field-Bt94J1Xu.es.js.map → search-input-field-zzVNsLn3.es.js.map} +1 -1
- package/dist/chunks/{select-OOmONm5T.cjs.js → select-AaF9VDYS.cjs.js} +2 -2
- package/dist/chunks/{select-OOmONm5T.cjs.js.map → select-AaF9VDYS.cjs.js.map} +1 -1
- package/dist/chunks/{select-6rfY6mk9.es.js → select-C4gMn8gq.es.js} +21 -21
- package/dist/chunks/{select-6rfY6mk9.es.js.map → select-C4gMn8gq.es.js.map} +1 -1
- package/dist/chunks/{separator-DoOgit09.cjs.js → separator-BadgCkrO.cjs.js} +2 -2
- package/dist/chunks/{separator-DoOgit09.cjs.js.map → separator-BadgCkrO.cjs.js.map} +1 -1
- package/dist/chunks/{separator-ByExde_2.es.js → separator-Bc2_grIr.es.js} +4 -4
- package/dist/chunks/{separator-ByExde_2.es.js.map → separator-Bc2_grIr.es.js.map} +1 -1
- package/dist/chunks/{split-button-DtNcxPjS.cjs.js → split-button-CbGHEymu.cjs.js} +2 -2
- package/dist/chunks/{split-button-DtNcxPjS.cjs.js.map → split-button-CbGHEymu.cjs.js.map} +1 -1
- package/dist/chunks/{split-button-CcfdSUWT.es.js → split-button-DT1Anaq1.es.js} +4 -4
- package/dist/chunks/{split-button-CcfdSUWT.es.js.map → split-button-DT1Anaq1.es.js.map} +1 -1
- package/dist/chunks/{switch-ZhX47Ufo.es.js → switch-1tLtDt7M.es.js} +7 -7
- package/dist/chunks/{switch-ZhX47Ufo.es.js.map → switch-1tLtDt7M.es.js.map} +1 -1
- package/dist/chunks/{switch-Bttbn3oV.cjs.js → switch-BxR5TD9Q.cjs.js} +2 -2
- package/dist/chunks/{switch-Bttbn3oV.cjs.js.map → switch-BxR5TD9Q.cjs.js.map} +1 -1
- package/dist/chunks/{tabs-DWMVR5Mq.cjs.js → tabs-C4EfvdVt.cjs.js} +2 -2
- package/dist/chunks/{tabs-DWMVR5Mq.cjs.js.map → tabs-C4EfvdVt.cjs.js.map} +1 -1
- package/dist/chunks/{tabs-B7qKxKnI.es.js → tabs-CgoUJCIx.es.js} +13 -13
- package/dist/chunks/{tabs-B7qKxKnI.es.js.map → tabs-CgoUJCIx.es.js.map} +1 -1
- package/dist/chunks/{tag-group-BkoC3DAk.cjs.js → tag-group-Bu4IPJY2.cjs.js} +2 -2
- package/dist/chunks/{tag-group-BkoC3DAk.cjs.js.map → tag-group-Bu4IPJY2.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-7rUsjnet.es.js → tag-group-DauMcIZX.es.js} +19 -19
- package/dist/chunks/{tag-group-7rUsjnet.es.js.map → tag-group-DauMcIZX.es.js.map} +1 -1
- package/dist/chunks/{text-DvqDjbwb.es.js → text-CIb_VDvO.es.js} +2 -2
- package/dist/chunks/{text-DvqDjbwb.es.js.map → text-CIb_VDvO.es.js.map} +1 -1
- package/dist/chunks/{text-input-D_3g3kxm.es.js → text-input-BpdFm4J-.es.js} +7 -7
- package/dist/chunks/{text-input-D_3g3kxm.es.js.map → text-input-BpdFm4J-.es.js.map} +1 -1
- package/dist/chunks/{text-input-Dv2HkOIG.cjs.js → text-input-YkL8bx31.cjs.js} +2 -2
- package/dist/chunks/{text-input-Dv2HkOIG.cjs.js.map → text-input-YkL8bx31.cjs.js.map} +1 -1
- package/dist/chunks/{text-input-field-DWpejDcH.es.js → text-input-field-B0WhjD0U.es.js} +3 -3
- package/dist/chunks/{text-input-field-DWpejDcH.es.js.map → text-input-field-B0WhjD0U.es.js.map} +1 -1
- package/dist/chunks/{text-input-field-vYxpIFXm.cjs.js → text-input-field-CPLVnqlr.cjs.js} +2 -2
- package/dist/chunks/{text-input-field-vYxpIFXm.cjs.js.map → text-input-field-CPLVnqlr.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-CZWkAErU.es.js → time-input-DMyhDH5j.es.js} +4 -4
- package/dist/chunks/{time-input-CZWkAErU.es.js.map → time-input-DMyhDH5j.es.js.map} +1 -1
- package/dist/chunks/{time-input-CMAP5QkL.cjs.js → time-input-m8zeR_8L.cjs.js} +2 -2
- package/dist/chunks/{time-input-CMAP5QkL.cjs.js.map → time-input-m8zeR_8L.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-QMUjECJO.es.js → toggle-button-B2uXtvzj.es.js} +4 -4
- package/dist/chunks/{toggle-button-QMUjECJO.es.js.map → toggle-button-B2uXtvzj.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-BnDf2yfy.cjs.js → toggle-button-CHZm868U.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-BnDf2yfy.cjs.js.map → toggle-button-CHZm868U.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-P0oS-q6h.es.js → toggle-button-group-BWpmMkEz.es.js} +2 -2
- package/dist/chunks/{toggle-button-group-P0oS-q6h.es.js.map → toggle-button-group-BWpmMkEz.es.js.map} +1 -1
- package/dist/chunks/{toolbar-Bg2OUmFi.cjs.js → toolbar-BAETJxml.cjs.js} +2 -2
- package/dist/chunks/{toolbar-Bg2OUmFi.cjs.js.map → toolbar-BAETJxml.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-C3GiZF_9.es.js → toolbar-BnS73QeG.es.js} +6 -6
- package/dist/chunks/{toolbar-C3GiZF_9.es.js.map → toolbar-BnS73QeG.es.js.map} +1 -1
- package/dist/chunks/{tooltip-CzEuq_Qi.es.js → tooltip-D3QrrizN.es.js} +7 -7
- package/dist/chunks/{tooltip-CzEuq_Qi.es.js.map → tooltip-D3QrrizN.es.js.map} +1 -1
- package/dist/chunks/{useButton-B2TbwHSy.es.js → useButton-CiPiehgC.es.js} +4 -4
- package/dist/chunks/{useButton-B2TbwHSy.es.js.map → useButton-CiPiehgC.es.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-CO08GpLe.es.js → useDateFormatter-886GJ5w1.es.js} +2 -2
- package/dist/chunks/{useDateFormatter-CO08GpLe.es.js.map → useDateFormatter-886GJ5w1.es.js.map} +1 -1
- package/dist/chunks/{useDisclosureState-BqxwXawT.es.js → useDisclosureState-CWZTR2xM.es.js} +3 -3
- package/dist/chunks/{useDisclosureState-BqxwXawT.es.js.map → useDisclosureState-CWZTR2xM.es.js.map} +1 -1
- package/dist/chunks/{useEvent-D8bTsAyx.es.js → useEvent-CRo5BZDX.es.js} +6 -6
- package/dist/chunks/{useEvent-D8bTsAyx.es.js.map → useEvent-CRo5BZDX.es.js.map} +1 -1
- package/dist/chunks/{useField-BfW84CS4.es.js → useField-CHrpmkxe.es.js} +8 -8
- package/dist/chunks/{useField-BfW84CS4.es.js.map → useField-CHrpmkxe.es.js.map} +1 -1
- package/dist/chunks/{useFocus-TCNvrvTC.es.js → useFocus-CrgTusM3.es.js} +6 -6
- package/dist/chunks/{useFocus-TCNvrvTC.es.js.map → useFocus-CrgTusM3.es.js.map} +1 -1
- package/dist/chunks/{useFocusRing-oMAqzr3e.es.js → useFocusRing-FPt2Rwil.es.js} +4 -4
- package/dist/chunks/{useFocusRing-oMAqzr3e.es.js.map → useFocusRing-FPt2Rwil.es.js.map} +1 -1
- package/dist/chunks/{useFocusVisible-Uw6yFmFY.es.js → useFocusVisible-B3HmFL2Q.es.js} +6 -6
- package/dist/chunks/{useFocusVisible-Uw6yFmFY.es.js.map → useFocusVisible-B3HmFL2Q.es.js.map} +1 -1
- package/dist/chunks/{useFocusWithin-nAsP7Ru3.es.js → useFocusWithin-EFOG-Jn1.es.js} +6 -6
- package/dist/chunks/{useFocusWithin-nAsP7Ru3.es.js.map → useFocusWithin-EFOG-Jn1.es.js.map} +1 -1
- package/dist/chunks/{useFocusable-Bm-DQaak.es.js → useFocusable-Cs6i58WP.es.js} +5 -5
- package/dist/chunks/{useFocusable-Bm-DQaak.es.js.map → useFocusable-Cs6i58WP.es.js.map} +1 -1
- package/dist/chunks/{useFormReset-C52dSDoe.es.js → useFormReset-BGuIA_u2.es.js} +2 -2
- package/dist/chunks/{useFormReset-C52dSDoe.es.js.map → useFormReset-BGuIA_u2.es.js.map} +1 -1
- package/dist/chunks/{useFormValidation-DxDV9X1M.es.js → useFormValidation-BCVLtR0U.es.js} +3 -3
- package/dist/chunks/{useFormValidation-DxDV9X1M.es.js.map → useFormValidation-BCVLtR0U.es.js.map} +1 -1
- package/dist/chunks/{useGridListItem-DTjO497o.es.js → useGridListItem-CjGTTOtc.es.js} +10 -10
- package/dist/chunks/{useGridListItem-DTjO497o.es.js.map → useGridListItem-CjGTTOtc.es.js.map} +1 -1
- package/dist/chunks/{useHasTabbableChild-DemFbZRn.es.js → useHasTabbableChild-DXq72IE3.es.js} +3 -3
- package/dist/chunks/{useHasTabbableChild-DemFbZRn.es.js.map → useHasTabbableChild-DXq72IE3.es.js.map} +1 -1
- package/dist/chunks/{useHover-BtRK9g2L.es.js → useHover-BQRSM3qT.es.js} +2 -2
- package/dist/chunks/{useHover-BtRK9g2L.es.js.map → useHover-BQRSM3qT.es.js.map} +1 -1
- package/dist/chunks/{useLabel-DfbcmKTa.es.js → useLabel-DQaRD22u.es.js} +5 -5
- package/dist/chunks/{useLabel-DfbcmKTa.es.js.map → useLabel-DQaRD22u.es.js.map} +1 -1
- package/dist/chunks/{useLabels-Gn8v9XZB.es.js → useLabels-BDqWMehi.es.js} +2 -2
- package/dist/chunks/{useLabels-Gn8v9XZB.es.js.map → useLabels-BDqWMehi.es.js.map} +1 -1
- package/dist/chunks/{useListState-D9k6HiWm.es.js → useListState-CRfmjiWx.es.js} +2 -2
- package/dist/chunks/{useListState-D9k6HiWm.es.js.map → useListState-CRfmjiWx.es.js.map} +1 -1
- package/dist/chunks/{usePress-C_IPaF8I.es.js → usePress-BuLomD_X.es.js} +6 -6
- package/dist/chunks/{usePress-C_IPaF8I.es.js.map → usePress-BuLomD_X.es.js.map} +1 -1
- package/dist/chunks/{useProgressBar-DCj794Zv.es.js → useProgressBar--OvVKto2.es.js} +7 -7
- package/dist/chunks/{useProgressBar-DCj794Zv.es.js.map → useProgressBar--OvVKto2.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-C_tE7a5E.es.js → useSingleSelectListState-DFR33TSw.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-C_tE7a5E.es.js.map → useSingleSelectListState-DFR33TSw.es.js.map} +1 -1
- package/dist/chunks/{useSpinButton-BiQ20B5n.es.js → useSpinButton-YcV6vlPf.es.js} +15 -15
- package/dist/chunks/{useSpinButton-BiQ20B5n.es.js.map → useSpinButton-YcV6vlPf.es.js.map} +1 -1
- package/dist/chunks/{useSyncRef-DmY05o2G.es.js → useSyncRef-BpLviItW.es.js} +2 -2
- package/dist/chunks/{useSyncRef-DmY05o2G.es.js.map → useSyncRef-BpLviItW.es.js.map} +1 -1
- package/dist/chunks/{useTextField-9WuJfc9u.es.js → useTextField-yuaT8-G4.es.js} +7 -7
- package/dist/chunks/{useTextField-9WuJfc9u.es.js.map → useTextField-yuaT8-G4.es.js.map} +1 -1
- package/dist/chunks/{useToggle-BZPMewLP.es.js → useToggle-DKP3zVOY.es.js} +5 -5
- package/dist/chunks/{useToggle-BZPMewLP.es.js.map → useToggle-DKP3zVOY.es.js.map} +1 -1
- package/dist/chunks/{useToolbar-C673xD3E.es.js → useToolbar-CbJkugif.es.js} +3 -3
- package/dist/chunks/{useToolbar-C673xD3E.es.js.map → useToolbar-CbJkugif.es.js.map} +1 -1
- package/dist/chunks/{utils-9vu7GUaz.es.js → utils-B6pV5ewr.es.js} +12 -12
- package/dist/chunks/{utils-9vu7GUaz.es.js.map → utils-B6pV5ewr.es.js.map} +1 -1
- package/dist/chunks/{utils-Bl-3nKLa.es.js → utils-oAGBWzI5.es.js} +14 -14
- package/dist/chunks/{utils-Bl-3nKLa.es.js.map → utils-oAGBWzI5.es.js.map} +1 -1
- package/dist/chunks/{visually-hidden-m5QY9YV7.es.js → visually-hidden-Dj5CT-u_.es.js} +2 -2
- package/dist/chunks/{visually-hidden-m5QY9YV7.es.js.map → visually-hidden-Dj5CT-u_.es.js.map} +1 -1
- package/dist/components/accordion/accordion.recipe.d.ts +1 -1
- package/dist/components/accordion/accordion.slots.d.ts +5 -5
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +2 -2
- package/dist/components/alert/alert.recipe.d.ts +1 -1
- package/dist/components/alert/alert.slots.d.ts +3 -3
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/avatar/avatar.slots.d.ts +1 -1
- package/dist/components/badge/badge.slots.d.ts +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar/calendar.slots.d.ts +8 -8
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/collapsible-motion/collapsible-motion.slots.d.ts +2 -2
- package/dist/components/collapsible-motion.cjs +1 -1
- package/dist/components/collapsible-motion.es.js +1 -1
- package/dist/components/combobox/combobox.recipe.d.ts +1 -1
- package/dist/components/combobox/combobox.slots.d.ts +9 -9
- 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.d.ts +3 -3
- package/dist/components/data-table/data-table.slots.d.ts +12 -12
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input/date-input.slots.d.ts +5 -5
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker/date-picker.recipe.d.ts +1 -1
- package/dist/components/date-picker/date-picker.slots.d.ts +6 -6
- 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.recipe.d.ts +1 -1
- package/dist/components/date-range-picker/date-range-picker.slots.d.ts +8 -8
- package/dist/components/date-range-picker-field.cjs +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.slots.d.ts +9 -9
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/draggable-list/draggable-list.slots.d.ts +4 -4
- package/dist/components/draggable-list.cjs +1 -1
- package/dist/components/draggable-list.es.js +1 -1
- package/dist/components/drawer/drawer.slots.d.ts +10 -10
- package/dist/components/drawer.cjs +1 -1
- package/dist/components/drawer.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.recipe.d.ts +1 -1
- package/dist/components/form-field/form-field.slots.d.ts +2 -2
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/group.es.js +1 -1
- package/dist/components/heading.es.js +1 -1
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/inline-svg/inline-svg.slots.d.ts +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/link/link.slots.d.ts +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/loading-spinner/loading-spinner.slots.d.ts +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/localized-field/localized-field.slots.d.ts +10 -10
- package/dist/components/localized-field.cjs +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/menu/menu.recipe.d.ts +1 -1
- package/dist/components/money-input/money-input.slots.d.ts +6 -6
- 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.slots.d.ts +3 -3
- 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.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input/number-input.slots.d.ts +6 -6
- 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/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.es.js +1 -1
- package/dist/components/progress-bar/progress-bar.slots.d.ts +4 -4
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input/radio-input.slots.d.ts +2 -2
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar/range-calendar.slots.d.ts +8 -8
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input/rich-text-input.slots.d.ts +2 -2
- package/dist/components/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/scoped-search-input.cjs +1 -1
- package/dist/components/scoped-search-input.es.js +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.slots.d.ts +7 -7
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/split-button/split-button.slots.d.ts +3 -3
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch/switch.slots.d.ts +3 -3
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabs/tabs.recipe.d.ts +1 -1
- package/dist/components/tabs/tabs.slots.d.ts +3 -3
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.es.js +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +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/text.es.js +1 -1
- package/dist/components/time-input/time-input.slots.d.ts +5 -5
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.es.js +2 -2
- package/dist/components/visually-hidden.es.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +64 -64
- package/dist/theme/slot-recipes/index.d.ts +8 -8
- package/package.json +5 -5
- package/dist/chunks/accordion.content-Bd2PESBz.cjs.js +0 -2
- package/dist/chunks/badge-DUiqk6w9.es.js +0 -17
- package/dist/chunks/index-CmfW40Im.es.js.map +0 -1
- package/dist/chunks/index-DIQn6o2R.cjs.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createContext as z, useRef as A, useState as V, useMemo as b, useEffect as a, Children as _, isValidElement as H, cloneElement as R, useContext as u } from "react";
|
|
2
2
|
import { jsx as n, jsxs as m } from "react/jsx-runtime";
|
|
3
3
|
import { createSlotRecipeContext as D, mergeRefs as G } from "@chakra-ui/react";
|
|
4
|
-
import { k as J, $ as K, h as O } from "./Dialog-
|
|
4
|
+
import { k as J, $ as K, h as O } from "./Dialog-DcnmO0xr.es.js";
|
|
5
5
|
import { HelpOutline as Q, ErrorOutline as T } from "@commercetools/nimbus-icons";
|
|
6
6
|
import { $ as U } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
7
|
-
import { $ as W } from "./useField-
|
|
7
|
+
import { $ as W } from "./useField-CHrpmkxe.es.js";
|
|
8
8
|
import { B as F } from "./box-DuBoAZvq.es.js";
|
|
9
|
-
import { I as X } from "./icon-button-
|
|
9
|
+
import { I as X } from "./icon-button-hZxuTfRy.es.js";
|
|
10
10
|
const p = /* @__PURE__ */ z({
|
|
11
11
|
context: {
|
|
12
12
|
label: null,
|
|
@@ -355,4 +355,4 @@ export {
|
|
|
355
355
|
v as e,
|
|
356
356
|
g as f
|
|
357
357
|
};
|
|
358
|
-
//# sourceMappingURL=form-field-
|
|
358
|
+
//# sourceMappingURL=form-field-Df4_JmSU.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-Po_Y_5wQ.es.js","sources":["../../src/components/form-field/components/form-field.context.tsx","../../src/components/form-field/form-field.slots.tsx","../../src/components/form-field/components/form-field.root.tsx","../../src/components/form-field/components/form-field.label.tsx","../../src/components/form-field/components/form-field.input.tsx","../../src/components/form-field/components/form-field.description.tsx","../../src/components/form-field/components/form-field.error.tsx","../../src/components/form-field/components/form-field.info-box.tsx","../../src/components/form-field/form-field.tsx"],"sourcesContent":["import { createContext, type ReactNode } from \"react\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"../form-field.types\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type {\n FormFieldRootSlotProps,\n FormFieldLabelSlotProps,\n FormFieldInputSlotProps,\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldPopoverSlotProps,\n} from \"./form-field.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"formField\",\n});\n\n// Root slot\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n isValidElement,\n useEffect,\n useMemo,\n useState,\n useRef,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField, useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"./form-field.context\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * # FormField.Root\n *\n * displays miscellaneous inputs in a FormField context\n *\n * @supportsStyleProps\n */\nexport const FormFieldRoot = function FormFieldRoot({\n ref: forwardedRef,\n id,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n children,\n ...props\n}: FormFieldProps) {\n const localRef = useRef<HTMLDivElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = useMemo(() => {\n const args: Parameters<typeof useField>[0] = {\n id,\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n args.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n args[\"aria-label\"] = \"empty-label\";\n args[\"aria-labelledby\"] = \"empty-label\";\n }\n\n return args;\n }, [id, context.description, context.error, context.label]);\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = useMemo(\n () => ({\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }),\n [fieldProps, isInvalid, isRequired, isDisabled, isReadOnly]\n );\n\n const contextValue = useMemo(() => ({ context, setContext }), [context]);\n\n return (\n <FormFieldContext.Provider value={contextValue}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n colorPalette=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n alignSelf=\"center\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n};\n\nFormFieldRoot.displayName = \"FormField.Root\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Label - The label element for the form field\n *\n * @supportsStyleProps\n */\n// TODO: should this be wrapped in react-aria's `LabelContext` provider?, e.g. https://react-spectrum.adobe.com/react-aria/TextField.html#custom-children\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n\n // Cleanup: clear label when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n label: null,\n labelSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldLabel.displayName = \"FormField.Label\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Input - The input wrapper element for the form field\n *\n * @supportsStyleProps\n */\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldInput.displayName = \"FormField.Input\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Description - The description element for the form field\n *\n * @supportsStyleProps\n */\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n\n // Cleanup: clear description when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n description: null,\n descriptionSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldDescription.displayName = \"FormField.Description\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Error - The error message element for the form field\n *\n * @supportsStyleProps\n */\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n\n // Cleanup: clear error when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n error: null,\n errorSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldError.displayName = \"FormField.Error\";\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\n/**\n * FormField.InfoBox - The info box popover content for the form field\n *\n * @supportsStyleProps\n */\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n\n // Cleanup: clear info when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n info: null,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldInfoBox.displayName = \"FormField.InfoBox\";\n","import {\n FormFieldRoot,\n FormFieldLabel,\n FormFieldInput,\n FormFieldDescription,\n FormFieldError,\n FormFieldInfoBox,\n} from \"./components\";\n\nexport const FormField = {\n /**\n * # FormField.Root\n *\n * The root container for the form field that provides context and state management\n * for all child components. Handles React Aria integration for accessibility,\n * manages field state (required, invalid, disabled, readonly), and coordinates\n * rendering of label, input, description, and error elements.\n *\n * @example\n * ```tsx\n * <FormField.Root isRequired isInvalid>\n * <FormField.Label>Username</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Description>Enter your username</FormField.Description>\n * <FormField.Error>Username is required</FormField.Error>\n * </FormField.Root>\n * ```\n */\n Root: FormFieldRoot,\n\n /**\n * # FormField.Label\n *\n * The label element for the form field. Automatically associates with the input\n * via React Aria and displays a required indicator when the field is required.\n * Supports an optional info box trigger for additional field information.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Email Address</FormField.Label>\n * <FormField.InfoBox>\n * Your email will be used for account notifications\n * </FormField.InfoBox>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\n Label: FormFieldLabel,\n\n /**\n * # FormField.Input\n *\n * The input wrapper element that receives and displays the actual input component.\n * Automatically clones children and passes accessibility props, validation state,\n * and field attributes from React Aria.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Password</FormField.Label>\n * <FormField.Input>\n * <PasswordInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\n Input: FormFieldInput,\n\n /**\n * # FormField.Description\n *\n * The description element that provides helpful information about the field.\n * Automatically associates with the input via `aria-describedby` for screen readers.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Username</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Description>\n * Must be 3-20 characters, letters and numbers only\n * </FormField.Description>\n * </FormField.Root>\n * ```\n */\n Description: FormFieldDescription,\n\n /**\n * # FormField.Error\n *\n * The error message element that displays validation errors. Only visible when\n * the field is invalid. Automatically associates with the input via\n * `aria-errormessage` and includes an error icon.\n *\n * @example\n * ```tsx\n * <FormField.Root isInvalid>\n * <FormField.Label>Email</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Error>Please enter a valid email address</FormField.Error>\n * </FormField.Root>\n * ```\n */\n Error: FormFieldError,\n\n /**\n * # FormField.InfoBox\n *\n * The info box content that appears in a popover when the help icon next to\n * the label is clicked. Use for additional context or instructions that don't\n * need to be visible by default.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>API Key</FormField.Label>\n * <FormField.InfoBox>\n * Your API key can be found in your account settings.\n * Keep it secure and never share it publicly.\n * </FormField.InfoBox>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardedRef","id","isInvalid","isRequired","isDisabled","isReadOnly","children","props","localRef","useRef","ref","useObjectRef","mergeRefs","context","setContext","useState","useFieldArgs","useMemo","args","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","contextValue","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":";;;;;;;;;AA6BO,MAAMA,IAAmB,gBAAAC,EAAoC;AAAA,EAClE,SAAS;AAAA,IACP,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,EAAA;AAAA,EAET,YAAY,MAAM;AAAA,EAAC;AACrB,CAAC,GC5BK,EAAE,cAAAC,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,KAAK;AACP,CAAC,GAGYC,IAAoB,gBAAAH,EAG/B,OAAO,MAAM,GAGFI,IAAqB,gBAAAH,EAGhC,OAAO,OAAO,GAGHI,KAAqB,gBAAAJ,EAGhC,OAAO,OAAO,GAGHK,KAA2B,gBAAAL,EAGtC,OAAO,aAAa,GAGTM,KAAqB,gBAAAN,EAGhC,OAAO,OAAO,GAGHO,KAAuB,gBAAAP,EAGlC,OAAO,SAAS,GCbLQ,IAAgB,SAAuB;AAAA,EAClD,KAAKC;AAAA,EACL,IAAAC;AAAA,EACA,WAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,GAAmB;AACjB,QAAMC,IAAWC,EAAuB,IAAI,GACtCC,IAAMC,EAAaC,EAAUJ,GAAUR,CAAY,CAAC,GACpD,CAACa,GAASC,CAAU,IAAIC,EAAsC;AAAA,IAClE,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AAe6B,EAAWvD,CAAgB;AAElD,SAAAoC,EAAU,OACRV,EAAW,CAACW,OAAiB;AAAA,IAC3B,GAAGA;AAAA,IACH,MAAMnB;AAAA,EAAA,EACN,GAGK,MAAM;AACX,IAAAQ,EAAW,CAACW,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,MAAM;AAAA,IAAA,EACN;AAAA,EACJ,IACC,CAACnB,GAAUQ,CAAU,CAAC,GAElB;AACT;AAEAoC,EAAiB,cAAc;AC3BxB,MAAMC,KAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBvB,MAAMpD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAsBN,OAAO0C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmBP,OAAOG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBP,aAAaE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAoBb,OAAOE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuBP,SAASE;AACX;"}
|
|
1
|
+
{"version":3,"file":"form-field-Df4_JmSU.es.js","sources":["../../src/components/form-field/components/form-field.context.tsx","../../src/components/form-field/form-field.slots.tsx","../../src/components/form-field/components/form-field.root.tsx","../../src/components/form-field/components/form-field.label.tsx","../../src/components/form-field/components/form-field.input.tsx","../../src/components/form-field/components/form-field.description.tsx","../../src/components/form-field/components/form-field.error.tsx","../../src/components/form-field/components/form-field.info-box.tsx","../../src/components/form-field/form-field.tsx"],"sourcesContent":["import { createContext, type ReactNode } from \"react\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"../form-field.types\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type {\n FormFieldRootSlotProps,\n FormFieldLabelSlotProps,\n FormFieldInputSlotProps,\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldPopoverSlotProps,\n} from \"./form-field.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"formField\",\n});\n\n// Root slot\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n isValidElement,\n useEffect,\n useMemo,\n useState,\n useRef,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField, useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"./form-field.context\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * # FormField.Root\n *\n * displays miscellaneous inputs in a FormField context\n *\n * @supportsStyleProps\n */\nexport const FormFieldRoot = function FormFieldRoot({\n ref: forwardedRef,\n id,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n children,\n ...props\n}: FormFieldProps) {\n const localRef = useRef<HTMLDivElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = useMemo(() => {\n const args: Parameters<typeof useField>[0] = {\n id,\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n args.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n args[\"aria-label\"] = \"empty-label\";\n args[\"aria-labelledby\"] = \"empty-label\";\n }\n\n return args;\n }, [id, context.description, context.error, context.label]);\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = useMemo(\n () => ({\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }),\n [fieldProps, isInvalid, isRequired, isDisabled, isReadOnly]\n );\n\n const contextValue = useMemo(() => ({ context, setContext }), [context]);\n\n return (\n <FormFieldContext.Provider value={contextValue}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n colorPalette=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n alignSelf=\"center\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n};\n\nFormFieldRoot.displayName = \"FormField.Root\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Label - The label element for the form field\n *\n * @supportsStyleProps\n */\n// TODO: should this be wrapped in react-aria's `LabelContext` provider?, e.g. https://react-spectrum.adobe.com/react-aria/TextField.html#custom-children\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n\n // Cleanup: clear label when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n label: null,\n labelSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldLabel.displayName = \"FormField.Label\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Input - The input wrapper element for the form field\n *\n * @supportsStyleProps\n */\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldInput.displayName = \"FormField.Input\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Description - The description element for the form field\n *\n * @supportsStyleProps\n */\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n\n // Cleanup: clear description when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n description: null,\n descriptionSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldDescription.displayName = \"FormField.Description\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Error - The error message element for the form field\n *\n * @supportsStyleProps\n */\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n\n // Cleanup: clear error when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n error: null,\n errorSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldError.displayName = \"FormField.Error\";\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\n/**\n * FormField.InfoBox - The info box popover content for the form field\n *\n * @supportsStyleProps\n */\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n\n // Cleanup: clear info when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n info: null,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldInfoBox.displayName = \"FormField.InfoBox\";\n","import {\n FormFieldRoot,\n FormFieldLabel,\n FormFieldInput,\n FormFieldDescription,\n FormFieldError,\n FormFieldInfoBox,\n} from \"./components\";\n\nexport const FormField = {\n /**\n * # FormField.Root\n *\n * The root container for the form field that provides context and state management\n * for all child components. Handles React Aria integration for accessibility,\n * manages field state (required, invalid, disabled, readonly), and coordinates\n * rendering of label, input, description, and error elements.\n *\n * @example\n * ```tsx\n * <FormField.Root isRequired isInvalid>\n * <FormField.Label>Username</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Description>Enter your username</FormField.Description>\n * <FormField.Error>Username is required</FormField.Error>\n * </FormField.Root>\n * ```\n */\n Root: FormFieldRoot,\n\n /**\n * # FormField.Label\n *\n * The label element for the form field. Automatically associates with the input\n * via React Aria and displays a required indicator when the field is required.\n * Supports an optional info box trigger for additional field information.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Email Address</FormField.Label>\n * <FormField.InfoBox>\n * Your email will be used for account notifications\n * </FormField.InfoBox>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\n Label: FormFieldLabel,\n\n /**\n * # FormField.Input\n *\n * The input wrapper element that receives and displays the actual input component.\n * Automatically clones children and passes accessibility props, validation state,\n * and field attributes from React Aria.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Password</FormField.Label>\n * <FormField.Input>\n * <PasswordInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\n Input: FormFieldInput,\n\n /**\n * # FormField.Description\n *\n * The description element that provides helpful information about the field.\n * Automatically associates with the input via `aria-describedby` for screen readers.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Username</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Description>\n * Must be 3-20 characters, letters and numbers only\n * </FormField.Description>\n * </FormField.Root>\n * ```\n */\n Description: FormFieldDescription,\n\n /**\n * # FormField.Error\n *\n * The error message element that displays validation errors. Only visible when\n * the field is invalid. Automatically associates with the input via\n * `aria-errormessage` and includes an error icon.\n *\n * @example\n * ```tsx\n * <FormField.Root isInvalid>\n * <FormField.Label>Email</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Error>Please enter a valid email address</FormField.Error>\n * </FormField.Root>\n * ```\n */\n Error: FormFieldError,\n\n /**\n * # FormField.InfoBox\n *\n * The info box content that appears in a popover when the help icon next to\n * the label is clicked. Use for additional context or instructions that don't\n * need to be visible by default.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>API Key</FormField.Label>\n * <FormField.InfoBox>\n * Your API key can be found in your account settings.\n * Keep it secure and never share it publicly.\n * </FormField.InfoBox>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardedRef","id","isInvalid","isRequired","isDisabled","isReadOnly","children","props","localRef","useRef","ref","useObjectRef","mergeRefs","context","setContext","useState","useFieldArgs","useMemo","args","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","contextValue","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":";;;;;;;;;AA6BO,MAAMA,IAAmB,gBAAAC,EAAoC;AAAA,EAClE,SAAS;AAAA,IACP,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,EAAA;AAAA,EAET,YAAY,MAAM;AAAA,EAAC;AACrB,CAAC,GC5BK,EAAE,cAAAC,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,KAAK;AACP,CAAC,GAGYC,IAAoB,gBAAAH,EAG/B,OAAO,MAAM,GAGFI,IAAqB,gBAAAH,EAGhC,OAAO,OAAO,GAGHI,KAAqB,gBAAAJ,EAGhC,OAAO,OAAO,GAGHK,KAA2B,gBAAAL,EAGtC,OAAO,aAAa,GAGTM,KAAqB,gBAAAN,EAGhC,OAAO,OAAO,GAGHO,KAAuB,gBAAAP,EAGlC,OAAO,SAAS,GCbLQ,IAAgB,SAAuB;AAAA,EAClD,KAAKC;AAAA,EACL,IAAAC;AAAA,EACA,WAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,GAAmB;AACjB,QAAMC,IAAWC,EAAuB,IAAI,GACtCC,IAAMC,EAAaC,EAAUJ,GAAUR,CAAY,CAAC,GACpD,CAACa,GAASC,CAAU,IAAIC,EAAsC;AAAA,IAClE,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,IACP,WAAAb;AAA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e.parentElement); e && !n(e, t); ) e = e.parentElement;
|
|
@@ -7,4 +7,4 @@ function c(l, t) {
|
|
|
7
7
|
export {
|
|
8
8
|
c as $
|
|
9
9
|
};
|
|
10
|
-
//# sourceMappingURL=getScrollParent-
|
|
10
|
+
//# sourceMappingURL=getScrollParent-MZgwmCKW.es.js.map
|
package/dist/chunks/{getScrollParent-DlqhSzBC.es.js.map → getScrollParent-MZgwmCKW.es.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getScrollParent-
|
|
1
|
+
{"version":3,"file":"getScrollParent-MZgwmCKW.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/getScrollParent.mjs"],"sourcesContent":["import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {\n let scrollableNode = node;\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;\n while(scrollableNode && !(0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n\nexport {$62d8ded9296f3872$export$cfa2225e87938781 as getScrollParent};\n//# sourceMappingURL=getScrollParent.module.js.map\n"],"names":["$62d8ded9296f3872$export$cfa2225e87938781","node","checkForOverflow","scrollableNode","$cc38e7bd3fc7b213$export$2bb74740c4e19def"],"mappings":";AAaA,SAASA,EAA0CC,GAAMC,GAAkB;AACvE,MAAIC,IAAiBF;AAErB,OADQG,EAA2CD,GAAgBD,CAAgB,MAAGC,IAAiBA,EAAe,gBAChHA,KAAkB,CAAKC,EAA2CD,GAAgBD,CAAgB,IAAE,CAAAC,IAAiBA,EAAe;AAC1I,SAAOA,KAAkB,SAAS,oBAAoB,SAAS;AACnE;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { createRecipeContext as c } from "@chakra-ui/react";
|
|
3
|
-
import { $ as n } from "./Group-
|
|
3
|
+
import { $ as n } from "./Group-BQc9LuMT.es.js";
|
|
4
4
|
const { withContext: s } = /* @__PURE__ */ c({
|
|
5
5
|
key: "group"
|
|
6
6
|
}), f = /* @__PURE__ */ s(n), d = (o) => {
|
|
@@ -10,4 +10,4 @@ const { withContext: s } = /* @__PURE__ */ c({
|
|
|
10
10
|
export {
|
|
11
11
|
d as G
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=group-
|
|
13
|
+
//# sourceMappingURL=group-CCBgdph2.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-
|
|
1
|
+
{"version":3,"file":"group-CCBgdph2.es.js","sources":["../../src/components/group/group.slots.tsx","../../src/components/group/group.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport { Group as RaGroup } from \"react-aria-components\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type { GroupRootSlotProps } from \"./group.types\";\n\nconst { withContext } = createRecipeContext({\n key: \"group\",\n});\n\n/**\n * Slot component that provides the styling context for the Group component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const GroupSlot: SlotComponent<typeof RaGroup, GroupRootSlotProps> =\n withContext<typeof RaGroup, GroupRootSlotProps>(RaGroup);\n","import { GroupSlot } from \"./group.slots\";\nimport type { GroupComponent } from \"./group.types\";\n\nexport const Group: GroupComponent = (props) => {\n const { ref, children, ...rest } = props;\n return (\n <GroupSlot ref={ref} {...rest}>\n {children}\n </GroupSlot>\n );\n};\n"],"names":["withContext","createRecipeContext","GroupSlot","RaGroup","Group","props","ref","children","rest","jsx"],"mappings":";;;AAKA,MAAM,EAAE,aAAAA,EAAA,IAAgB,gBAAAC,EAAoB;AAAA,EAC1C,KAAK;AACP,CAAC,GAMYC,IACX,gBAAAF,EAAgDG,CAAO,GCX5CC,IAAwB,CAACC,MAAU;AAC9C,QAAM,EAAE,KAAAC,GAAK,UAAAC,GAAU,GAAGC,MAASH;AACnC,SACE,gBAAAI,EAACP,GAAA,EAAU,KAAAI,GAAW,GAAGE,GACtB,UAAAD,GACH;AAEJ;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { Heading as s } from "@chakra-ui/react/heading";
|
|
3
3
|
import { $ as f } from "./RSPContexts-DLgb84PF.es.js";
|
|
4
|
-
import { $ as i } from "./utils-
|
|
4
|
+
import { $ as i } from "./utils-B6pV5ewr.es.js";
|
|
5
5
|
const d = ({ ref: e, ...o }) => {
|
|
6
6
|
const [a, r] = i(
|
|
7
7
|
o,
|
|
@@ -22,4 +22,4 @@ d.displayName = "Heading";
|
|
|
22
22
|
export {
|
|
23
23
|
d as H
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=heading-
|
|
25
|
+
//# sourceMappingURL=heading-nfjoR4vL.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heading-
|
|
1
|
+
{"version":3,"file":"heading-nfjoR4vL.es.js","sources":["../../src/components/heading/heading.tsx"],"sourcesContent":["import {\n Heading as ChakraHeading,\n type HeadingProps as ChakraHeadingProps,\n} from \"@chakra-ui/react/heading\";\nimport { HeadingContext, useContextProps } from \"react-aria-components\";\n\ntype HeadingRecipeVariantProps = {\n /**\n * Size variant\n * @default \"xl\"\n */\n size?:\n | \"xs\"\n | \"sm\"\n | \"md\"\n | \"lg\"\n | \"xl\"\n | \"2xl\"\n | \"3xl\"\n | \"4xl\"\n | \"5xl\"\n | \"6xl\"\n | \"7xl\";\n};\n\n/**\n * Props for the Heading component.\n *\n * @property {React.Ref<HTMLHeadingElement>} [ref] - Ref to the underlying heading element.\n * @property {string | null | undefined} [slot] - Slot attribute for custom element slotting.\n */\nexport type HeadingProps = HeadingRecipeVariantProps &\n Omit<ChakraHeadingProps, \"slot\"> & {\n /**\n * Ref to the underlying heading element.\n */\n ref?: React.Ref<HTMLHeadingElement>;\n /**\n * Slot attribute for custom element slotting.\n */\n slot?: string | null | undefined;\n /**\n * Size variant\n * @default \"xl\"\n */\n size?:\n | \"xs\"\n | \"sm\"\n | \"md\"\n | \"lg\"\n | \"xl\"\n | \"2xl\"\n | \"3xl\"\n | \"4xl\"\n | \"5xl\"\n | \"6xl\"\n | \"7xl\";\n };\n\n/**\n * # Heading\n *\n * renders a heading\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/heading}\n */\nexport const Heading = ({ ref: forwardedRef, ...props }: HeadingProps) => {\n const [contextProps, ref] = useContextProps(\n props,\n forwardedRef ?? null,\n HeadingContext\n );\n\n return (\n <ChakraHeading\n ref={ref as React.Ref<HTMLHeadingElement>}\n {...contextProps}\n as={props.as || contextProps.as}\n slot={props.slot ?? undefined}\n />\n );\n};\n\nHeading.displayName = \"Heading\";\n"],"names":["Heading","forwardedRef","props","contextProps","ref","useContextProps","HeadingContext","jsx","ChakraHeading"],"mappings":";;;;AAkEO,MAAMA,IAAU,CAAC,EAAE,KAAKC,GAAc,GAAGC,QAA0B;AACxE,QAAM,CAACC,GAAcC,CAAG,IAAIC;AAAAA,IAC1BH;AAAA,IACAD,KAAgB;AAAA,IAChBK;AAAAA,EAAA;AAGF,SACE,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,KAAAJ;AAAA,MACC,GAAGD;AAAA,MACJ,IAAID,EAAM,MAAMC,EAAa;AAAA,MAC7B,MAAMD,EAAM,QAAQ;AAAA,IAAA;AAAA,EAAA;AAG1B;AAEAF,EAAQ,cAAc;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const u=require("react/jsx-runtime"),f=require("react"),i=require("@chakra-ui/react"),a=require("./useObjectRef-4v2MxSjQ.cjs.js"),d=require("./button-
|
|
2
|
-
//# sourceMappingURL=icon-button-
|
|
1
|
+
"use strict";const u=require("react/jsx-runtime"),f=require("react"),i=require("@chakra-ui/react"),a=require("./useObjectRef-4v2MxSjQ.cjs.js"),d=require("./button-CxL9YuuF.cjs.js"),e=t=>{const{children:r,ref:n,...o}=t,s=f.useRef(null),c=a.$df56164dff5785e2$export$4338b53315abf666(i.mergeRefs(s,n));return u.jsx(d.Button,{px:0,py:0,...o,ref:c,children:r})};e.displayName="IconButton";exports.IconButton=e;
|
|
2
|
+
//# sourceMappingURL=icon-button-BPzrehNJ.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button-
|
|
1
|
+
{"version":3,"file":"icon-button-BPzrehNJ.cjs.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * # IconButton\n *\n * displays a button with an icon only as child\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/iconbutton}\n */\nexport const IconButton = (props: IconButtonProps) => {\n const { children, ref: forwardedRef, ...restProps } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n return (\n <Button px={0} py={0} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"names":["IconButton","props","children","forwardedRef","restProps","localRef","useRef","ref","useObjectRef","mergeRefs","jsx","Button"],"mappings":"qLAaaA,EAAcC,GAA2B,CACpD,KAAM,CAAE,SAAAC,EAAU,IAAKC,EAAc,GAAGC,GAAcH,EAGhDI,EAAWC,EAAAA,OAA0B,IAAI,EACzCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUF,CAAY,CAAC,EAE1D,OACEO,MAACC,EAAAA,QAAO,GAAI,EAAG,GAAI,EAAI,GAAGP,EAAW,IAAAG,EAClC,SAAAL,CAAA,CACH,CAEJ,EAEAF,EAAW,YAAc"}
|
|
@@ -2,7 +2,7 @@ import { jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as n } from "react";
|
|
3
3
|
import { mergeRefs as p } from "@chakra-ui/react";
|
|
4
4
|
import { $ as a } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
5
|
-
import { B as c } from "./button-
|
|
5
|
+
import { B as c } from "./button-DZew_Si4.es.js";
|
|
6
6
|
const i = (o) => {
|
|
7
7
|
const { children: r, ref: t, ...e } = o, f = n(null), s = a(p(f, t));
|
|
8
8
|
return /* @__PURE__ */ m(c, { px: 0, py: 0, ...e, ref: s, children: r });
|
|
@@ -11,4 +11,4 @@ i.displayName = "IconButton";
|
|
|
11
11
|
export {
|
|
12
12
|
i as I
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=icon-button-
|
|
14
|
+
//# sourceMappingURL=icon-button-hZxuTfRy.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button-
|
|
1
|
+
{"version":3,"file":"icon-button-hZxuTfRy.es.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * # IconButton\n *\n * displays a button with an icon only as child\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/iconbutton}\n */\nexport const IconButton = (props: IconButtonProps) => {\n const { children, ref: forwardedRef, ...restProps } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n return (\n <Button px={0} py={0} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"names":["IconButton","props","children","forwardedRef","restProps","localRef","useRef","ref","useObjectRef","mergeRefs","jsx","Button"],"mappings":";;;;;AAaO,MAAMA,IAAa,CAACC,MAA2B;AACpD,QAAM,EAAE,UAAAC,GAAU,KAAKC,GAAc,GAAGC,MAAcH,GAGhDI,IAAWC,EAA0B,IAAI,GACzCC,IAAMC,EAAaC,EAAUJ,GAAUF,CAAY,CAAC;AAE1D,SACE,gBAAAO,EAACC,KAAO,IAAI,GAAG,IAAI,GAAI,GAAGP,GAAW,KAAAG,GAClC,UAAAL,EAAA,CACH;AAEJ;AAEAF,EAAW,cAAc;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as l } from "./toggle-button-
|
|
2
|
+
import { T as l } from "./toggle-button-B2uXtvzj.es.js";
|
|
3
3
|
const n = ({
|
|
4
4
|
"aria-label": o,
|
|
5
5
|
children: t,
|
|
@@ -10,4 +10,4 @@ n.displayName = "IconToggleButton";
|
|
|
10
10
|
export {
|
|
11
11
|
n as I
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=icon-toggle-button-
|
|
13
|
+
//# sourceMappingURL=icon-toggle-button-BtyMh4Ys.es.js.map
|
package/dist/chunks/{icon-toggle-button-3hAIS1Mt.es.js.map → icon-toggle-button-BtyMh4Ys.es.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-toggle-button-
|
|
1
|
+
{"version":3,"file":"icon-toggle-button-BtyMh4Ys.es.js","sources":["../../src/components/icon-toggle-button/icon-toggle-button.tsx"],"sourcesContent":["import { ToggleButton } from \"@/components/toggle-button/toggle-button\";\nimport type { IconToggleButtonProps } from \"./icon-toggle-button.types\";\n\n/**\n * # IconToggleButton\n * ============================================================\n * A toggle button with only an icon as child. It is based\n * on the regular `ToggleButton` component, but with a few adjustments.\n *\n */\nexport const IconToggleButton = ({\n \"aria-label\": ariaLabel,\n children,\n ref,\n ...props\n}: IconToggleButtonProps) => {\n return (\n <ToggleButton ref={ref} aria-label={ariaLabel} px={0} py={0} {...props}>\n {children}\n </ToggleButton>\n );\n};\n\nIconToggleButton.displayName = \"IconToggleButton\";\n"],"names":["IconToggleButton","ariaLabel","children","ref","props","jsx","ToggleButton"],"mappings":";;AAUO,MAAMA,IAAmB,CAAC;AAAA,EAC/B,cAAcC;AAAA,EACd,UAAAC;AAAA,EACA,KAAAC;AAAA,EACA,GAAGC;AACL,MAEI,gBAAAC,EAACC,GAAA,EAAa,KAAAH,GAAU,cAAYF,GAAW,IAAI,GAAG,IAAI,GAAI,GAAGG,GAC9D,UAAAF,EAAA,CACH;AAIJF,EAAiB,cAAc;"}
|
package/dist/chunks/{icon-toggle-button-B8ycCaqk.cjs.js → icon-toggle-button-DzoifEyi.cjs.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),u=require("./toggle-button-
|
|
2
|
-
//# sourceMappingURL=icon-toggle-button-
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),u=require("./toggle-button-CHZm868U.cjs.js"),t=({"aria-label":o,children:e,ref:n,...g})=>l.jsx(u.ToggleButton,{ref:n,"aria-label":o,px:0,py:0,...g,children:e});t.displayName="IconToggleButton";exports.IconToggleButton=t;
|
|
2
|
+
//# sourceMappingURL=icon-toggle-button-DzoifEyi.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-toggle-button-
|
|
1
|
+
{"version":3,"file":"icon-toggle-button-DzoifEyi.cjs.js","sources":["../../src/components/icon-toggle-button/icon-toggle-button.tsx"],"sourcesContent":["import { ToggleButton } from \"@/components/toggle-button/toggle-button\";\nimport type { IconToggleButtonProps } from \"./icon-toggle-button.types\";\n\n/**\n * # IconToggleButton\n * ============================================================\n * A toggle button with only an icon as child. It is based\n * on the regular `ToggleButton` component, but with a few adjustments.\n *\n */\nexport const IconToggleButton = ({\n \"aria-label\": ariaLabel,\n children,\n ref,\n ...props\n}: IconToggleButtonProps) => {\n return (\n <ToggleButton ref={ref} aria-label={ariaLabel} px={0} py={0} {...props}>\n {children}\n </ToggleButton>\n );\n};\n\nIconToggleButton.displayName = \"IconToggleButton\";\n"],"names":["IconToggleButton","ariaLabel","children","ref","props","jsx","ToggleButton"],"mappings":"+FAUaA,EAAmB,CAAC,CAC/B,aAAcC,EACd,SAAAC,EACA,IAAAC,EACA,GAAGC,CACL,IAEIC,EAAAA,IAACC,EAAAA,aAAA,CAAa,IAAAH,EAAU,aAAYF,EAAW,GAAI,EAAG,GAAI,EAAI,GAAGG,EAC9D,SAAAF,CAAA,CACH,EAIJF,EAAiB,YAAc"}
|