@commercetools/nimbus 0.0.0-canary-20260114153122 → 0.0.0-canary-20260116085607
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-DMHI1uyM.es.js} +672 -642
- package/dist/chunks/DateField-DMHI1uyM.es.js.map +1 -0
- package/dist/chunks/DateField-D_ywBfBB.cjs.js +2 -0
- package/dist/chunks/DateField-D_ywBfBB.cjs.js.map +1 -0
- package/dist/chunks/{DatePicker-BGFu7oAQ.cjs.js → DatePicker-DdoSCY92.cjs.js} +2 -2
- package/dist/chunks/{DatePicker-BGFu7oAQ.cjs.js.map → DatePicker-DdoSCY92.cjs.js.map} +1 -1
- package/dist/chunks/{DatePicker-CUW1A5A8.es.js → DatePicker-VyVWP-2-.es.js} +17 -17
- package/dist/chunks/{DatePicker-CUW1A5A8.es.js.map → DatePicker-VyVWP-2-.es.js.map} +1 -1
- package/dist/chunks/{Dialog-BYVU-i0Y.es.js → Dialog-BZs_dKan.es.js} +24 -24
- package/dist/chunks/{Dialog-BYVU-i0Y.es.js.map → Dialog-BZs_dKan.es.js.map} +1 -1
- package/dist/chunks/{Dialog-flHBRP1h.cjs.js → Dialog-DilDtCFc.cjs.js} +2 -2
- package/dist/chunks/{Dialog-flHBRP1h.cjs.js.map → Dialog-DilDtCFc.cjs.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-2KETI4X9.es.js} +5 -5
- package/dist/chunks/{Header-CNoClAau.es.js.map → Header-2KETI4X9.es.js.map} +1 -1
- package/dist/chunks/{Header-CyskU0rw.cjs.js → Header-BXEPjypM.cjs.js} +2 -2
- package/dist/chunks/{Header-CyskU0rw.cjs.js.map → Header-BXEPjypM.cjs.js.map} +1 -1
- package/dist/chunks/{Heading-D804NNml.es.js → Heading-DDEPjNlF.es.js} +14 -14
- package/dist/chunks/{Heading-D804NNml.es.js.map → Heading-DDEPjNlF.es.js.map} +1 -1
- package/dist/chunks/{Heading-kcnZ-PKv.cjs.js → Heading-UZcOiBkN.cjs.js} +2 -2
- package/dist/chunks/{Heading-kcnZ-PKv.cjs.js.map → Heading-UZcOiBkN.cjs.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-DkaySjTS.es.js} +42 -44
- package/dist/chunks/{ListBox-DYbGAoet.es.js.map → ListBox-DkaySjTS.es.js.map} +1 -1
- package/dist/chunks/{ListBox-BjV-0DWh.cjs.js → ListBox-rm_vuzPg.cjs.js} +2 -2
- package/dist/chunks/{ListBox-BjV-0DWh.cjs.js.map → ListBox-rm_vuzPg.cjs.js.map} +1 -1
- package/dist/chunks/{Modal-mFYEMNT-.cjs.js → Modal-CSjx-pPv.cjs.js} +2 -2
- package/dist/chunks/{Modal-mFYEMNT-.cjs.js.map → Modal-CSjx-pPv.cjs.js.map} +1 -1
- package/dist/chunks/{Modal-2TttSPy4.es.js → Modal-DcbaiE5l.es.js} +7 -7
- package/dist/chunks/{Modal-2TttSPy4.es.js.map → Modal-DcbaiE5l.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-D9tuw16C.cjs.js → SelectionManager-5YkuhVau.cjs.js} +2 -2
- package/dist/chunks/{SelectionManager-D9tuw16C.cjs.js.map → SelectionManager-5YkuhVau.cjs.js.map} +1 -1
- package/dist/chunks/{SelectionManager-CXicxYqF.es.js → SelectionManager-XpKaZHOS.es.js} +29 -36
- package/dist/chunks/{SelectionManager-CXicxYqF.es.js.map → SelectionManager-XpKaZHOS.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/{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-DyT6wHaS.es.js → accordion-C0MESyjK.es.js} +2 -2
- package/dist/chunks/{accordion-DyT6wHaS.es.js.map → accordion-C0MESyjK.es.js.map} +1 -1
- package/dist/chunks/{accordion-DC6-b7zR.cjs.js → accordion-CVpg-FdJ.cjs.js} +2 -2
- package/dist/chunks/{accordion-DC6-b7zR.cjs.js.map → accordion-CVpg-FdJ.cjs.js.map} +1 -1
- package/dist/chunks/accordion.content-Cqet9SQ-.cjs.js +2 -0
- package/dist/chunks/{accordion.content-FJHilptY.cjs.js.map → accordion.content-Cqet9SQ-.cjs.js.map} +1 -1
- package/dist/chunks/{accordion.content-DGmcqSw2.es.js → accordion.content-DxOsZTFV.es.js} +23 -24
- package/dist/chunks/{accordion.content-DGmcqSw2.es.js.map → accordion.content-DxOsZTFV.es.js.map} +1 -1
- package/dist/chunks/{alert-Xo-ZelFk.cjs.js → alert-D4tX-OcR.cjs.js} +2 -2
- package/dist/chunks/{alert-Xo-ZelFk.cjs.js.map → alert-D4tX-OcR.cjs.js.map} +1 -1
- package/dist/chunks/{alert-Ct33v894.es.js → alert-DVNh9ZZh.es.js} +2 -2
- package/dist/chunks/{alert-Ct33v894.es.js.map → alert-DVNh9ZZh.es.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-Dsn0E1zm.cjs.js → button-BR4fvcmi.cjs.js} +2 -2
- package/dist/chunks/{button-Dsn0E1zm.cjs.js.map → button-BR4fvcmi.cjs.js.map} +1 -1
- package/dist/chunks/{button-BZh9bW4s.es.js → button-CGhRXrYT.es.js} +6 -6
- package/dist/chunks/{button-BZh9bW4s.es.js.map → button-CGhRXrYT.es.js.map} +1 -1
- package/dist/chunks/{calendar-BdCLSYto.es.js → calendar-B8v5EUVK.es.js} +9 -9
- package/dist/chunks/calendar-B8v5EUVK.es.js.map +1 -0
- package/dist/chunks/{calendar-DDnw9kFK.cjs.js → calendar-CiVIhTnF.cjs.js} +2 -2
- package/dist/chunks/{calendar-DDnw9kFK.cjs.js.map → calendar-CiVIhTnF.cjs.js.map} +1 -1
- package/dist/chunks/{card-7NQQgazK.es.js → card-BClQfyiK.es.js} +2 -2
- package/dist/chunks/{card-7NQQgazK.es.js.map → card-BClQfyiK.es.js.map} +1 -1
- package/dist/chunks/{card-E0UakdVy.cjs.js → card-Bk3xHlo2.cjs.js} +2 -2
- package/dist/chunks/{card-E0UakdVy.cjs.js.map → card-Bk3xHlo2.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-liOQ38Lq.cjs.js → checkbox-BJANm94D.cjs.js} +2 -2
- package/dist/chunks/{checkbox-liOQ38Lq.cjs.js.map → checkbox-BJANm94D.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-CbC44pzl.es.js → checkbox-C714rIb1.es.js} +10 -10
- package/dist/chunks/{checkbox-CbC44pzl.es.js.map → checkbox-C714rIb1.es.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-BvDqvpXr.cjs.js → collapsible-motion-Biq0QGUr.cjs.js} +2 -2
- package/dist/chunks/{collapsible-motion-BvDqvpXr.cjs.js.map → collapsible-motion-Biq0QGUr.cjs.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-AqWVXx14.es.js → collapsible-motion-CfzVnfFa.es.js} +5 -5
- package/dist/chunks/{collapsible-motion-AqWVXx14.es.js.map → collapsible-motion-CfzVnfFa.es.js.map} +1 -1
- package/dist/chunks/combobox-B_Qx3gRo.es.js +1539 -0
- package/dist/chunks/combobox-B_Qx3gRo.es.js.map +1 -0
- package/dist/chunks/combobox-DInM9yq3.cjs.js +2 -0
- package/dist/chunks/combobox-DInM9yq3.cjs.js.map +1 -0
- package/dist/chunks/{data-table-gIAF1X6S.es.js → data-table-4Q4HP9cz.es.js} +37 -37
- package/dist/chunks/{data-table-gIAF1X6S.es.js.map → data-table-4Q4HP9cz.es.js.map} +1 -1
- package/dist/chunks/{data-table-C-ZzSV8h.cjs.js → data-table-BIRJ5k7_.cjs.js} +2 -2
- package/dist/chunks/{data-table-C-ZzSV8h.cjs.js.map → data-table-BIRJ5k7_.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-Bedz2W6o.es.js → date-input-BYwVUYj2.es.js} +4 -4
- package/dist/chunks/{date-input-Bedz2W6o.es.js.map → date-input-BYwVUYj2.es.js.map} +1 -1
- package/dist/chunks/{date-input-CTqenZT8.cjs.js → date-input-DnFinTEI.cjs.js} +2 -2
- package/dist/chunks/{date-input-CTqenZT8.cjs.js.map → date-input-DnFinTEI.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-DfrGHG9E.es.js → date-picker-BpjiOuWS.es.js} +14 -14
- package/dist/chunks/{date-picker-DfrGHG9E.es.js.map → date-picker-BpjiOuWS.es.js.map} +1 -1
- package/dist/chunks/{date-picker-C3LVP_As.cjs.js → date-picker-Dut8OHjl.cjs.js} +2 -2
- package/dist/chunks/{date-picker-C3LVP_As.cjs.js.map → date-picker-Dut8OHjl.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-DETK48Pc.cjs.js → date-range-picker-CHZHQHZe.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-DETK48Pc.cjs.js.map → date-range-picker-CHZHQHZe.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-Ksk-z9HJ.es.js → date-range-picker-f-_fag4t.es.js} +14 -14
- package/dist/chunks/{date-range-picker-Ksk-z9HJ.es.js.map → date-range-picker-f-_fag4t.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-field-BIdB2by0.es.js → date-range-picker-field-DDfKxFxE.es.js} +3 -3
- package/dist/chunks/{date-range-picker-field-BIdB2by0.es.js.map → date-range-picker-field-DDfKxFxE.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-field-svri_Owt.cjs.js → date-range-picker-field-EKBwiCfz.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-field-svri_Owt.cjs.js.map → date-range-picker-field-EKBwiCfz.cjs.js.map} +1 -1
- package/dist/chunks/{dialog-CXr8CpSH.cjs.js → dialog-CJIPm3PE.cjs.js} +2 -2
- package/dist/chunks/{dialog-CXr8CpSH.cjs.js.map → dialog-CJIPm3PE.cjs.js.map} +1 -1
- package/dist/chunks/{dialog-BoFaWn1d.es.js → dialog-D70n2Z4v.es.js} +7 -7
- package/dist/chunks/{dialog-BoFaWn1d.es.js.map → dialog-D70n2Z4v.es.js.map} +1 -1
- package/dist/chunks/{draggable-list-QBq9crbo.es.js → draggable-list-C5rPnMr8.es.js} +1419 -1624
- package/dist/chunks/{draggable-list-D0DFEUg2.cjs.js.map → draggable-list-C5rPnMr8.es.js.map} +1 -1
- package/dist/chunks/{draggable-list-D0DFEUg2.cjs.js → draggable-list-hEe1Td1r.cjs.js} +3 -3
- package/dist/chunks/draggable-list-hEe1Td1r.cjs.js.map +1 -0
- package/dist/chunks/{drawer-Bbhab1KW.cjs.js → drawer-Bl0M98va.cjs.js} +2 -2
- package/dist/chunks/{drawer-Bbhab1KW.cjs.js.map → drawer-Bl0M98va.cjs.js.map} +1 -1
- package/dist/chunks/{drawer-BlBu2Y5A.es.js → drawer-CyVQICgN.es.js} +8 -8
- package/dist/chunks/{drawer-BlBu2Y5A.es.js.map → drawer-CyVQICgN.es.js.map} +1 -1
- package/dist/chunks/{extract-style-props-BlWe3cXY.cjs.js → extract-style-props-B4hqila-.cjs.js} +2 -2
- package/dist/chunks/{extract-style-props-BlWe3cXY.cjs.js.map → extract-style-props-B4hqila-.cjs.js.map} +1 -1
- package/dist/chunks/{extract-style-props-BHk9sqwi.es.js → extract-style-props-BUbbGs7l.es.js} +2 -2
- package/dist/chunks/{extract-style-props-BHk9sqwi.es.js.map → extract-style-props-BUbbGs7l.es.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-JXnTuPmY.cjs.js → form-field-Cjpw2GQw.cjs.js} +2 -2
- package/dist/chunks/{form-field-JXnTuPmY.cjs.js.map → form-field-Cjpw2GQw.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-WwYTknYs.es.js → form-field-m9PmNrgJ.es.js} +4 -4
- package/dist/chunks/{form-field-WwYTknYs.es.js.map → form-field-m9PmNrgJ.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-DJsVh7VR.es.js +19 -0
- package/dist/chunks/{icon-CenxuChf.es.js.map → icon-DJsVh7VR.es.js.map} +1 -1
- package/dist/chunks/icon-RyFjTAmU.cjs.js +2 -0
- package/dist/chunks/{icon-D39U--jA.cjs.js.map → icon-RyFjTAmU.cjs.js.map} +1 -1
- package/dist/chunks/icon-button-CXRvSNxO.es.js +28 -0
- package/dist/chunks/icon-button-CXRvSNxO.es.js.map +1 -0
- package/dist/chunks/icon-button-CeB8_Yyr.cjs.js +2 -0
- package/dist/chunks/icon-button-CeB8_Yyr.cjs.js.map +1 -0
- package/dist/chunks/{icon-toggle-button-CbPnVXev.es.js → icon-toggle-button-BhzKiS9U.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-CbPnVXev.es.js.map → icon-toggle-button-BhzKiS9U.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-CC2TWXzm.cjs.js → icon-toggle-button-C4Tnlt4t.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-CC2TWXzm.cjs.js.map → icon-toggle-button-C4Tnlt4t.cjs.js.map} +1 -1
- package/dist/chunks/index-CVXB9mwf.cjs.js +34 -0
- package/dist/chunks/index-CVXB9mwf.cjs.js.map +1 -0
- package/dist/chunks/{index-2XcTax28.es.js → index-UVW-kSPu.es.js} +597 -540
- package/dist/chunks/index-UVW-kSPu.es.js.map +1 -0
- package/dist/chunks/inline-svg-BzzKpbrB.cjs.js +2 -0
- package/dist/chunks/{inline-svg-Yb2OyzRw.cjs.js.map → inline-svg-BzzKpbrB.cjs.js.map} +1 -1
- package/dist/chunks/inline-svg-Cwl9dFvu.es.js +21 -0
- package/dist/chunks/{inline-svg-CbSC6O5X.es.js.map → inline-svg-Cwl9dFvu.es.js.map} +1 -1
- 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-OBNwBbsI.es.js → localized-field-B1qPoFn3.es.js} +26 -26
- package/dist/chunks/{localized-field-OBNwBbsI.es.js.map → localized-field-B1qPoFn3.es.js.map} +1 -1
- package/dist/chunks/{localized-field-rzqXotTu.cjs.js → localized-field-DYJRI5TY.cjs.js} +2 -2
- package/dist/chunks/{localized-field-rzqXotTu.cjs.js.map → localized-field-DYJRI5TY.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-C5pCTTl8.es.js → menu-BMnaUtPU.es.js} +7 -7
- package/dist/chunks/{menu-C5pCTTl8.es.js.map → menu-BMnaUtPU.es.js.map} +1 -1
- package/dist/chunks/{menu-Bm87G7Za.cjs.js → menu-Bb7wAuM8.cjs.js} +2 -2
- package/dist/chunks/{menu-Bm87G7Za.cjs.js.map → menu-Bb7wAuM8.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-DIYFuPZg.cjs.js → money-input-0nJup2NP.cjs.js} +2 -2
- package/dist/chunks/{money-input-DIYFuPZg.cjs.js.map → money-input-0nJup2NP.cjs.js.map} +1 -1
- package/dist/chunks/{money-input-YKD1mp8v.es.js → money-input-D876xwrm.es.js} +9 -9
- package/dist/chunks/{money-input-YKD1mp8v.es.js.map → money-input-D876xwrm.es.js.map} +1 -1
- package/dist/chunks/{money-input-field-D6rxX9mh.cjs.js → money-input-field-CkUVFul7.cjs.js} +2 -2
- package/dist/chunks/{money-input-field-D6rxX9mh.cjs.js.map → money-input-field-CkUVFul7.cjs.js.map} +1 -1
- package/dist/chunks/{money-input-field-D8qRDhJ2.es.js → money-input-field-DsnyL34_.es.js} +3 -3
- package/dist/chunks/{money-input-field-D8qRDhJ2.es.js.map → money-input-field-DsnyL34_.es.js.map} +1 -1
- package/dist/chunks/multiline-text-input-CHtsHJ-Y.es.js +98 -0
- package/dist/chunks/multiline-text-input-CHtsHJ-Y.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-CULLuZBp.cjs.js +2 -0
- package/dist/chunks/multiline-text-input-CULLuZBp.cjs.js.map +1 -0
- package/dist/chunks/{multiline-text-input-field-CjrL0nA5.cjs.js → multiline-text-input-field-Czy-oJel.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-field-CjrL0nA5.cjs.js.map → multiline-text-input-field-Czy-oJel.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-field-D09mUQTX.es.js → multiline-text-input-field-D5goi-7i.es.js} +3 -3
- package/dist/chunks/{multiline-text-input-field-D09mUQTX.es.js.map → multiline-text-input-field-D5goi-7i.es.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-DaQ9Tjdj.es.js → nimbus-provider-CRTp8MQ2.es.js} +8 -8
- package/dist/chunks/nimbus-provider-CRTp8MQ2.es.js.map +1 -0
- package/dist/chunks/{nimbus-provider-D7gI8pm5.cjs.js → nimbus-provider-pE_RwP9a.cjs.js} +2 -2
- package/dist/chunks/nimbus-provider-pE_RwP9a.cjs.js.map +1 -0
- package/dist/chunks/{number-input--QENxBN_.es.js → number-input-BVq6t7j1.es.js} +14 -14
- package/dist/chunks/{number-input--QENxBN_.es.js.map → number-input-BVq6t7j1.es.js.map} +1 -1
- package/dist/chunks/{number-input-CERwiTkq.cjs.js → number-input-ClPH8jSw.cjs.js} +2 -2
- package/dist/chunks/{number-input-CERwiTkq.cjs.js.map → number-input-ClPH8jSw.cjs.js.map} +1 -1
- package/dist/chunks/{number-input-field-Kh2oHBGm.es.js → number-input-field-BqBsmhZg.es.js} +3 -3
- package/dist/chunks/{number-input-field-Kh2oHBGm.es.js.map → number-input-field-BqBsmhZg.es.js.map} +1 -1
- package/dist/chunks/{number-input-field-BIyVUWc7.cjs.js → number-input-field-D8feRNKH.cjs.js} +2 -2
- package/dist/chunks/{number-input-field-BIyVUWc7.cjs.js.map → number-input-field-D8feRNKH.cjs.js.map} +1 -1
- package/dist/chunks/{pagination-DPwMY8Tk.es.js → pagination-BxHJknCr.es.js} +5 -5
- package/dist/chunks/{pagination-DPwMY8Tk.es.js.map → pagination-BxHJknCr.es.js.map} +1 -1
- package/dist/chunks/{pagination-BrdiYc5r.cjs.js → pagination-DCC0XyhX.cjs.js} +2 -2
- package/dist/chunks/{pagination-BrdiYc5r.cjs.js.map → pagination-DCC0XyhX.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-COyTHC2W.cjs.js → password-input-DSv5pS26.cjs.js} +2 -2
- package/dist/chunks/{password-input-COyTHC2W.cjs.js.map → password-input-DSv5pS26.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-CaaBngSh.es.js → password-input-NQVqLKTo.es.js} +4 -4
- package/dist/chunks/{password-input-CaaBngSh.es.js.map → password-input-NQVqLKTo.es.js.map} +1 -1
- package/dist/chunks/{password-input-field-C2iW_Kwy.cjs.js → password-input-field-2myF6wdP.cjs.js} +2 -2
- package/dist/chunks/{password-input-field-C2iW_Kwy.cjs.js.map → password-input-field-2myF6wdP.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-field-DJqYN-q2.es.js → password-input-field-CgkfaI7E.es.js} +3 -3
- package/dist/chunks/{password-input-field-DJqYN-q2.es.js.map → password-input-field-CgkfaI7E.es.js.map} +1 -1
- package/dist/chunks/popover-2KxMEf0s.cjs.js +2 -0
- package/dist/chunks/popover-2KxMEf0s.cjs.js.map +1 -0
- package/dist/chunks/popover-MW_SlCEP.es.js +11 -0
- package/dist/chunks/popover-MW_SlCEP.es.js.map +1 -0
- package/dist/chunks/{progress-bar-xZ8tG7GQ.es.js → progress-bar-QL-876RP.es.js} +4 -4
- package/dist/chunks/{progress-bar-xZ8tG7GQ.es.js.map → progress-bar-QL-876RP.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-BR9Ny1-I.cjs.js → progress-bar-dRKyuT1-.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-BR9Ny1-I.cjs.js.map → progress-bar-dRKyuT1-.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-BTRq7sSa.cjs.js → radio-input-BecbxXcF.cjs.js} +2 -2
- package/dist/chunks/{radio-input-BTRq7sSa.cjs.js.map → radio-input-BecbxXcF.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-DlR-OTvl.es.js → radio-input-CjJwVVHd.es.js} +42 -42
- package/dist/chunks/{radio-input-DlR-OTvl.es.js.map → radio-input-CjJwVVHd.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-B3RLxyiG.es.js → range-calendar-BybIyx-9.es.js} +10 -10
- package/dist/chunks/range-calendar-BybIyx-9.es.js.map +1 -0
- package/dist/chunks/{range-calendar-1kY30zRJ.cjs.js → range-calendar-DFs8cfYP.cjs.js} +2 -2
- package/dist/chunks/range-calendar-DFs8cfYP.cjs.js.map +1 -0
- package/dist/chunks/{rich-text-input-BiO1nbH7.cjs.js → rich-text-input-CJuQruOT.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-BiO1nbH7.cjs.js.map → rich-text-input-CJuQruOT.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-Br7atu-e.es.js → rich-text-input-DTaul6rg.es.js} +13 -13
- package/dist/chunks/{rich-text-input-Br7atu-e.es.js.map → rich-text-input-DTaul6rg.es.js.map} +1 -1
- package/dist/chunks/{scoped-search-input-DyHgXV1D.es.js → scoped-search-input-C87JBFtg.es.js} +5 -5
- package/dist/chunks/{scoped-search-input-DyHgXV1D.es.js.map → scoped-search-input-C87JBFtg.es.js.map} +1 -1
- package/dist/chunks/{scoped-search-input-DGQbvgcz.cjs.js → scoped-search-input-Ck7qrfBS.cjs.js} +2 -2
- package/dist/chunks/{scoped-search-input-DGQbvgcz.cjs.js.map → scoped-search-input-Ck7qrfBS.cjs.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-0zxtnjP2.es.js → search-input-CdiPpvIA.es.js} +11 -11
- package/dist/chunks/{search-input-0zxtnjP2.es.js.map → search-input-CdiPpvIA.es.js.map} +1 -1
- package/dist/chunks/{search-input-CiJJlG9i.cjs.js → search-input-CkVlnfvh.cjs.js} +2 -2
- package/dist/chunks/{search-input-CiJJlG9i.cjs.js.map → search-input-CkVlnfvh.cjs.js.map} +1 -1
- package/dist/chunks/{search-input-field-DKwiJus7.cjs.js → search-input-field-CBzwVEI3.cjs.js} +2 -2
- package/dist/chunks/{search-input-field-DKwiJus7.cjs.js.map → search-input-field-CBzwVEI3.cjs.js.map} +1 -1
- package/dist/chunks/{search-input-field-DCrpO97A.es.js → search-input-field-CxbiRQfV.es.js} +3 -3
- package/dist/chunks/{search-input-field-DCrpO97A.es.js.map → search-input-field-CxbiRQfV.es.js.map} +1 -1
- package/dist/chunks/{select-BU2kFBJK.cjs.js → select-DqTNXz4B.cjs.js} +2 -2
- package/dist/chunks/{select-BU2kFBJK.cjs.js.map → select-DqTNXz4B.cjs.js.map} +1 -1
- package/dist/chunks/{select-BauqJFhh.es.js → select-DrkplYbs.es.js} +60 -60
- package/dist/chunks/{select-BauqJFhh.es.js.map → select-DrkplYbs.es.js.map} +1 -1
- package/dist/chunks/{separator-IzE3lT8Q.es.js → separator-CN_ly_kW.es.js} +4 -4
- package/dist/chunks/{separator-IzE3lT8Q.es.js.map → separator-CN_ly_kW.es.js.map} +1 -1
- package/dist/chunks/{separator-Cw6rbNsq.cjs.js → separator-u_4por07.cjs.js} +2 -2
- package/dist/chunks/{separator-Cw6rbNsq.cjs.js.map → separator-u_4por07.cjs.js.map} +1 -1
- package/dist/chunks/{split-button-B0B7FCVO.es.js → split-button--8mZUaqB.es.js} +5 -5
- package/dist/chunks/{split-button-B0B7FCVO.es.js.map → split-button--8mZUaqB.es.js.map} +1 -1
- package/dist/chunks/{split-button-CfSM5KIV.cjs.js → split-button-CN_kydZc.cjs.js} +2 -2
- package/dist/chunks/{split-button-CfSM5KIV.cjs.js.map → split-button-CN_kydZc.cjs.js.map} +1 -1
- package/dist/chunks/{switch-8VXS3kFt.es.js → switch-B_xUN9Bs.es.js} +7 -7
- package/dist/chunks/{switch-8VXS3kFt.es.js.map → switch-B_xUN9Bs.es.js.map} +1 -1
- package/dist/chunks/{switch-Di9AZR-u.cjs.js → switch-CsiG41ZR.cjs.js} +2 -2
- package/dist/chunks/{switch-Di9AZR-u.cjs.js.map → switch-CsiG41ZR.cjs.js.map} +1 -1
- package/dist/chunks/tabs-CkZr6Jmu.es.js +516 -0
- package/dist/chunks/tabs-CkZr6Jmu.es.js.map +1 -0
- package/dist/chunks/tabs-iV08OTqG.cjs.js +2 -0
- package/dist/chunks/tabs-iV08OTqG.cjs.js.map +1 -0
- package/dist/chunks/{tag-group-DEGYH-Lz.cjs.js → tag-group-CVLufmbd.cjs.js} +2 -2
- package/dist/chunks/{tag-group-DEGYH-Lz.cjs.js.map → tag-group-CVLufmbd.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-CtLuJHpW.es.js → tag-group-DrXuPS-n.es.js} +23 -22
- package/dist/chunks/{tag-group-CtLuJHpW.es.js.map → tag-group-DrXuPS-n.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-C1doUdAX.es.js → text-input-BJzS6xDD.es.js} +7 -7
- package/dist/chunks/{text-input-C1doUdAX.es.js.map → text-input-BJzS6xDD.es.js.map} +1 -1
- package/dist/chunks/{text-input-CJEMSrIO.cjs.js → text-input-BlxK2Naj.cjs.js} +2 -2
- package/dist/chunks/{text-input-CJEMSrIO.cjs.js.map → text-input-BlxK2Naj.cjs.js.map} +1 -1
- package/dist/chunks/{text-input-field-BO3rTUes.es.js → text-input-field-D5-C6-_a.es.js} +3 -3
- package/dist/chunks/{text-input-field-BO3rTUes.es.js.map → text-input-field-D5-C6-_a.es.js.map} +1 -1
- package/dist/chunks/{text-input-field-CzlUoiBa.cjs.js → text-input-field-ecy-VdRB.cjs.js} +2 -2
- package/dist/chunks/{text-input-field-CzlUoiBa.cjs.js.map → text-input-field-ecy-VdRB.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-B2JTtH-9.es.js → time-input-DbWrpALN.es.js} +4 -4
- package/dist/chunks/{time-input-B2JTtH-9.es.js.map → time-input-DbWrpALN.es.js.map} +1 -1
- package/dist/chunks/{time-input-DV0sPwso.cjs.js → time-input-v2Tg1CRp.cjs.js} +2 -2
- package/dist/chunks/{time-input-DV0sPwso.cjs.js.map → time-input-v2Tg1CRp.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-BIY7H2mB.es.js → toggle-button-DsGaTWXb.es.js} +4 -4
- package/dist/chunks/{toggle-button-BIY7H2mB.es.js.map → toggle-button-DsGaTWXb.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-DenoF2YI.cjs.js → toggle-button-L7i1XaWg.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-DenoF2YI.cjs.js.map → toggle-button-L7i1XaWg.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-CLCqv15v.es.js → toolbar-CyVt8Wsi.es.js} +6 -6
- package/dist/chunks/{toolbar-CLCqv15v.es.js.map → toolbar-CyVt8Wsi.es.js.map} +1 -1
- package/dist/chunks/{toolbar-Cxdz7FMq.cjs.js → toolbar-D4fLFiSb.cjs.js} +2 -2
- package/dist/chunks/{toolbar-Cxdz7FMq.cjs.js.map → toolbar-D4fLFiSb.cjs.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-9juUpmrj.es.js} +247 -245
- package/dist/chunks/useDateFormatter-9juUpmrj.es.js.map +1 -0
- package/dist/chunks/useDateFormatter-Bq98mt4A.cjs.js +2 -0
- package/dist/chunks/useDateFormatter-Bq98mt4A.cjs.js.map +1 -0
- 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-BghCdwwN.es.js} +10 -10
- package/dist/chunks/{useGridListItem-DTjO497o.es.js.map → useGridListItem-BghCdwwN.es.js.map} +1 -1
- package/dist/chunks/{useGridListItem-Ck5JPksV.cjs.js → useGridListItem-CoQB2TMS.cjs.js} +2 -2
- package/dist/chunks/{useGridListItem-Ck5JPksV.cjs.js.map → useGridListItem-CoQB2TMS.cjs.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/useListData-BGzhnkuO.cjs.js +2 -0
- package/dist/chunks/useListData-BGzhnkuO.cjs.js.map +1 -0
- package/dist/chunks/useListData-CX8_NxJv.es.js +211 -0
- package/dist/chunks/useListData-CX8_NxJv.es.js.map +1 -0
- package/dist/chunks/{useListState-D9k6HiWm.es.js → useListState-6ejgSjM7.es.js} +17 -18
- package/dist/chunks/{useListState-D9k6HiWm.es.js.map → useListState-6ejgSjM7.es.js.map} +1 -1
- package/dist/chunks/useListState-BjCb6LLO.cjs.js +2 -0
- package/dist/chunks/{useListState-BSrUXH20.cjs.js.map → useListState-BjCb6LLO.cjs.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/{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.d.ts +203 -27
- package/dist/components/combobox/combobox.i18n.d.ts +3 -13
- package/dist/components/combobox/combobox.recipe.d.ts +18 -17
- package/dist/components/combobox/combobox.slots.d.ts +15 -29
- package/dist/components/combobox/combobox.types.d.ts +704 -105
- package/dist/components/combobox/components/combobox.hidden-input.d.ts +17 -0
- package/dist/components/combobox/components/combobox.input.d.ts +20 -0
- package/dist/components/combobox/components/combobox.leading-element.d.ts +5 -5
- package/dist/components/combobox/components/combobox.listbox.d.ts +27 -0
- package/dist/components/combobox/components/combobox.option.d.ts +29 -5
- package/dist/components/combobox/components/combobox.popover.d.ts +27 -0
- package/dist/components/combobox/components/combobox.root-context.d.ts +13 -0
- package/dist/components/combobox/components/combobox.root.d.ts +26 -6
- package/dist/components/combobox/components/combobox.section.d.ts +32 -0
- package/dist/components/combobox/components/combobox.tag-group.d.ts +26 -0
- package/dist/components/combobox/components/combobox.trigger.d.ts +26 -0
- package/dist/components/combobox/components/index.d.ts +4 -9
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/utils/collection.d.ts +13 -0
- package/dist/components/combobox/utils/filters.d.ts +339 -0
- package/dist/components/combobox/utils/selection.d.ts +10 -0
- package/dist/components/combobox/utils/test-data.d.ts +6 -0
- package/dist/components/combobox/utils/test-utils.d.ts +30 -0
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +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/icon-button.types.d.ts +14 -2
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/icon.cjs +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/inline-svg/inline-svg.slots.d.ts +1 -1
- package/dist/components/inline-svg.cjs +1 -1
- package/dist/components/inline-svg.es.js +1 -1
- package/dist/components/kbd.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/popover.d.ts +1 -1
- package/dist/components/popover/popover.slots.d.ts +2 -4
- package/dist/components/popover/popover.types.d.ts +12 -2
- package/dist/components/popover.cjs +1 -1
- 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.recipe.d.ts +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 +66 -66
- package/dist/theme/slot-recipes/index.d.ts +26 -25
- package/package.json +21 -19
- package/dist/chunks/DateField-B5u8QZFY.cjs.js +0 -2
- package/dist/chunks/DateField-B5u8QZFY.cjs.js.map +0 -1
- package/dist/chunks/DateField-Bpk0AwB2.es.js.map +0 -1
- package/dist/chunks/TextArea-2QJpeMJq.cjs.js +0 -2
- package/dist/chunks/TextArea-2QJpeMJq.cjs.js.map +0 -1
- package/dist/chunks/TextArea-JHqAZ7HD.es.js +0 -42
- package/dist/chunks/TextArea-JHqAZ7HD.es.js.map +0 -1
- package/dist/chunks/accordion.content-FJHilptY.cjs.js +0 -2
- package/dist/chunks/badge-DUiqk6w9.es.js +0 -17
- package/dist/chunks/calendar-BdCLSYto.es.js.map +0 -1
- package/dist/chunks/combobox-BL-yt5AS.cjs.js +0 -2
- package/dist/chunks/combobox-BL-yt5AS.cjs.js.map +0 -1
- package/dist/chunks/combobox-YXYH4TBY.es.js +0 -2497
- package/dist/chunks/combobox-YXYH4TBY.es.js.map +0 -1
- package/dist/chunks/draggable-list-QBq9crbo.es.js.map +0 -1
- package/dist/chunks/icon-CenxuChf.es.js +0 -11
- package/dist/chunks/icon-D39U--jA.cjs.js +0 -2
- package/dist/chunks/icon-button-CHDxKs9d.cjs.js +0 -2
- package/dist/chunks/icon-button-CHDxKs9d.cjs.js.map +0 -1
- package/dist/chunks/icon-button-ColKoTiY.es.js +0 -14
- package/dist/chunks/icon-button-ColKoTiY.es.js.map +0 -1
- package/dist/chunks/index-2XcTax28.es.js.map +0 -1
- package/dist/chunks/index-Bg-QoBZW.cjs.js +0 -34
- package/dist/chunks/index-Bg-QoBZW.cjs.js.map +0 -1
- package/dist/chunks/inline-svg-CbSC6O5X.es.js +0 -21
- package/dist/chunks/inline-svg-Yb2OyzRw.cjs.js +0 -2
- package/dist/chunks/multiline-text-input-CrI5ej-8.cjs.js +0 -2
- package/dist/chunks/multiline-text-input-CrI5ej-8.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-D3vZmjQ_.es.js +0 -64
- package/dist/chunks/multiline-text-input-D3vZmjQ_.es.js.map +0 -1
- package/dist/chunks/nimbus-provider-D7gI8pm5.cjs.js.map +0 -1
- package/dist/chunks/nimbus-provider-DaQ9Tjdj.es.js.map +0 -1
- package/dist/chunks/popover-B1aRr1CU.es.js +0 -14
- package/dist/chunks/popover-B1aRr1CU.es.js.map +0 -1
- package/dist/chunks/popover-DHeke7qU.cjs.js +0 -2
- package/dist/chunks/popover-DHeke7qU.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-1kY30zRJ.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-B3RLxyiG.es.js.map +0 -1
- package/dist/chunks/tabs-Bj_4uX0M.cjs.js +0 -2
- package/dist/chunks/tabs-Bj_4uX0M.cjs.js.map +0 -1
- package/dist/chunks/tabs-Cog1Axaa.es.js +0 -488
- package/dist/chunks/tabs-Cog1Axaa.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-CO08GpLe.es.js.map +0 -1
- package/dist/chunks/useDateFormatter-WCaFojul.cjs.js +0 -2
- package/dist/chunks/useDateFormatter-WCaFojul.cjs.js.map +0 -1
- package/dist/chunks/useFilter-BgT0isJK.es.js +0 -36
- package/dist/chunks/useFilter-BgT0isJK.es.js.map +0 -1
- package/dist/chunks/useFilter-CAVKltBB.cjs.js +0 -2
- package/dist/chunks/useFilter-CAVKltBB.cjs.js.map +0 -1
- package/dist/chunks/useListState-BSrUXH20.cjs.js +0 -2
- package/dist/chunks/useSingleSelectListState-C_tE7a5E.es.js +0 -35
- package/dist/chunks/useSingleSelectListState-C_tE7a5E.es.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-DnlbcBEG.cjs.js +0 -2
- package/dist/chunks/useSingleSelectListState-DnlbcBEG.cjs.js.map +0 -1
- package/dist/components/combobox/components/combobox.multi-select-button-group.d.ts +0 -7
- package/dist/components/combobox/components/combobox.multi-select-root.d.ts +0 -7
- package/dist/components/combobox/components/combobox.multi-select-tag-group.d.ts +0 -7
- package/dist/components/combobox/components/combobox.option-group.d.ts +0 -11
- package/dist/components/combobox/components/combobox.options.d.ts +0 -10
- package/dist/components/combobox/components/combobox.single-select-button-group.d.ts +0 -7
- package/dist/components/combobox/components/combobox.single-select-input.d.ts +0 -7
- package/dist/components/combobox/components/combobox.single-select-root.d.ts +0 -7
|
@@ -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 D, useContext as u } from "react";
|
|
2
2
|
import { jsx as n, jsxs as m } from "react/jsx-runtime";
|
|
3
3
|
import { createSlotRecipeContext as G, mergeRefs as J } from "@chakra-ui/react";
|
|
4
|
-
import { k as K, $ as O, h as Q } from "./Dialog-
|
|
4
|
+
import { k as K, $ as O, h as Q } from "./Dialog-BZs_dKan.es.js";
|
|
5
5
|
import { HelpOutline as R, 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-CXRvSNxO.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-m9PmNrgJ.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-WwYTknYs.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} data-required={isRequired}>\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","desc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B,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-m9PmNrgJ.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} data-required={isRequired}>\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":";;;;;;;;;AA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AAA;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,4 +1,4 @@
|
|
|
1
|
-
import { $ as n } from "./scrollIntoView-
|
|
1
|
+
import { $ as n } from "./scrollIntoView-B7D07fJk.es.js";
|
|
2
2
|
function c(l, t) {
|
|
3
3
|
let e = l;
|
|
4
4
|
for (n(e, t) && (e = 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;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { createRecipeContext as r } from "@chakra-ui/react";
|
|
3
|
+
const { withContext: c } = /* @__PURE__ */ r({ key: "icon" }), i = /* @__PURE__ */ c("svg"), a = (t) => {
|
|
4
|
+
const { ref: s, slot: e, ...o } = t;
|
|
5
|
+
return /* @__PURE__ */ n(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
ref: s,
|
|
9
|
+
asChild: !o.as,
|
|
10
|
+
slot: e ?? void 0,
|
|
11
|
+
...o
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
};
|
|
15
|
+
a.displayName = "Icon";
|
|
16
|
+
export {
|
|
17
|
+
a as I
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=icon-DJsVh7VR.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-
|
|
1
|
+
{"version":3,"file":"icon-DJsVh7VR.es.js","sources":["../../src/components/icon/icon.slots.tsx","../../src/components/icon/icon.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type { IconRootSlotProps } from \"./icon.types\";\n\nconst { withContext } = createRecipeContext({ key: \"icon\" });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const IconRootSlot: SlotComponent<SVGSVGElement, IconRootSlotProps> =\n withContext<SVGSVGElement, IconRootSlotProps>(\"svg\");\n","import { IconRootSlot } from \"./icon.slots\";\nimport type { IconProps } from \"./icon.types\";\n\n/**\n * # Icon\n *\n * displays icon components\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/icon}\n */\nexport const Icon = (props: IconProps) => {\n const { ref, slot, ...restProps } = props;\n return (\n <IconRootSlot\n ref={ref}\n asChild={!restProps.as}\n slot={slot ?? undefined}\n {...restProps}\n />\n );\n};\n\nIcon.displayName = \"Icon\";\n"],"names":["withContext","createRecipeContext","IconRootSlot","Icon","props","ref","slot","restProps","jsx"],"mappings":";;AAIA,MAAM,EAAE,aAAAA,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,KAAK,QAAQ,GAM9CC,IACX,gBAAAF,EAA8C,KAAK,GCDxCG,IAAO,CAACC,MAAqB;AACxC,QAAM,EAAE,KAAAC,GAAK,MAAAC,GAAM,GAAGC,MAAcH;AACpC,SACE,gBAAAI;AAAA,IAACN;AAAA,IAAA;AAAA,MACC,KAAAG;AAAA,MACA,SAAS,CAACE,EAAU;AAAA,MACpB,MAAMD,KAAQ;AAAA,MACb,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEAJ,EAAK,cAAc;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),r=require("@chakra-ui/react"),{withContext:i}=r.createRecipeContext({key:"icon"}),a=i("svg"),o=e=>{const{ref:s,slot:c,...t}=e;return n.jsx(a,{ref:s,asChild:!t.as,slot:c??void 0,...t})};o.displayName="Icon";exports.Icon=o;
|
|
2
|
+
//# sourceMappingURL=icon-RyFjTAmU.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-
|
|
1
|
+
{"version":3,"file":"icon-RyFjTAmU.cjs.js","sources":["../../src/components/icon/icon.slots.tsx","../../src/components/icon/icon.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type { IconRootSlotProps } from \"./icon.types\";\n\nconst { withContext } = createRecipeContext({ key: \"icon\" });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const IconRootSlot: SlotComponent<SVGSVGElement, IconRootSlotProps> =\n withContext<SVGSVGElement, IconRootSlotProps>(\"svg\");\n","import { IconRootSlot } from \"./icon.slots\";\nimport type { IconProps } from \"./icon.types\";\n\n/**\n * # Icon\n *\n * displays icon components\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/icon}\n */\nexport const Icon = (props: IconProps) => {\n const { ref, slot, ...restProps } = props;\n return (\n <IconRootSlot\n ref={ref}\n asChild={!restProps.as}\n slot={slot ?? undefined}\n {...restProps}\n />\n );\n};\n\nIcon.displayName = \"Icon\";\n"],"names":["withContext","createRecipeContext","IconRootSlot","Icon","props","ref","slot","restProps","jsx"],"mappings":"gFAIM,CAAE,YAAAA,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,IAAK,OAAQ,EAM9CC,EACXF,EAA8C,KAAK,ECDxCG,EAAQC,GAAqB,CACxC,KAAM,CAAE,IAAAC,EAAK,KAAAC,EAAM,GAAGC,GAAcH,EACpC,OACEI,EAAAA,IAACN,EAAA,CACC,IAAAG,EACA,QAAS,CAACE,EAAU,GACpB,KAAMD,GAAQ,OACb,GAAGC,CAAA,CAAA,CAGV,EAEAJ,EAAK,YAAc"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as u, useEffect as m } from "react";
|
|
3
|
+
import { mergeRefs as p } from "@chakra-ui/react";
|
|
4
|
+
import { $ as b } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
5
|
+
import { B as d } from "./button-CGhRXrYT.es.js";
|
|
6
|
+
const h = (e) => {
|
|
7
|
+
const { children: a, ref: s, ...o } = e, r = u(null), i = b(p(r, s));
|
|
8
|
+
return m(() => {
|
|
9
|
+
if (process.env.NODE_ENV !== "production") {
|
|
10
|
+
const n = setTimeout(() => {
|
|
11
|
+
const t = r.current;
|
|
12
|
+
if (t) {
|
|
13
|
+
const l = t.hasAttribute("aria-label") || t.hasAttribute("aria-labelledby"), c = t.hasAttribute("slot");
|
|
14
|
+
!l && !c && console.warn(
|
|
15
|
+
`Nimbus: IconButton requires an accessible label. Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot="clear" in ComboBox).`,
|
|
16
|
+
t
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
}, 0);
|
|
20
|
+
return () => clearTimeout(n);
|
|
21
|
+
}
|
|
22
|
+
}, [e["aria-label"], o.slot]), /* @__PURE__ */ f(d, { px: 0, py: 0, ...o, ref: i, children: a });
|
|
23
|
+
};
|
|
24
|
+
h.displayName = "IconButton";
|
|
25
|
+
export {
|
|
26
|
+
h as I
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=icon-button-CXRvSNxO.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-button-CXRvSNxO.es.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef, useEffect } 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 // Runtime accessibility check\n // Use setTimeout to defer check until after React Aria applies context props\n useEffect(() => {\n if (process.env.NODE_ENV !== \"production\") {\n const timeoutId = setTimeout(() => {\n const element = localRef.current;\n if (element) {\n const hasAriaLabel =\n element.hasAttribute(\"aria-label\") ||\n element.hasAttribute(\"aria-labelledby\");\n\n // Skip warning if component is using slot-based context (Button will handle it)\n const isUsingSlot = element.hasAttribute(\"slot\");\n\n if (!hasAriaLabel && !isUsingSlot) {\n console.warn(\n \"Nimbus: IconButton requires an accessible label. \" +\n \"Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot=\\\"clear\\\" in ComboBox).\",\n element\n );\n }\n }\n }, 0);\n\n return () => clearTimeout(timeoutId);\n }\n }, [props[\"aria-label\"], restProps.slot]);\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","useEffect","timeoutId","element","hasAriaLabel","isUsingSlot","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;AAI1D,SAAAO,EAAU,MAAM;AACd,QAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,YAAMC,IAAY,WAAW,MAAM;AACjC,cAAMC,IAAUP,EAAS;AACzB,YAAIO,GAAS;AACX,gBAAMC,IACJD,EAAQ,aAAa,YAAY,KACjCA,EAAQ,aAAa,iBAAiB,GAGlCE,IAAcF,EAAQ,aAAa,MAAM;AAE/C,UAAI,CAACC,KAAgB,CAACC,KACpB,QAAQ;AAAA,YACN;AAAA,YAEAF;AAAA,UAAA;AAAA,QAGN;AAAA,MACF,GAAG,CAAC;AAEJ,aAAO,MAAM,aAAaD,CAAS;AAAA,IACrC;AAAA,EACF,GAAG,CAACV,EAAM,YAAY,GAAGG,EAAU,IAAI,CAAC,GAGtC,gBAAAW,EAACC,KAAO,IAAI,GAAG,IAAI,GAAI,GAAGZ,GAAW,KAAAG,GAClC,UAAAL,EAAA,CACH;AAEJ;AAEAF,EAAW,cAAc;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const f=require("react/jsx-runtime"),n=require("react"),d=require("@chakra-ui/react"),m=require("./useObjectRef-4v2MxSjQ.cjs.js"),p=require("./button-BR4fvcmi.cjs.js"),s=t=>{const{children:i,ref:a,...o}=t,r=n.useRef(null),c=m.$df56164dff5785e2$export$4338b53315abf666(d.mergeRefs(r,a));return n.useEffect(()=>{if(process.env.NODE_ENV!=="production"){const u=setTimeout(()=>{const e=r.current;if(e){const l=e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby"),b=e.hasAttribute("slot");!l&&!b&&console.warn(`Nimbus: IconButton requires an accessible label. Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot="clear" in ComboBox).`,e)}},0);return()=>clearTimeout(u)}},[t["aria-label"],o.slot]),f.jsx(p.Button,{px:0,py:0,...o,ref:c,children:i})};s.displayName="IconButton";exports.IconButton=s;
|
|
2
|
+
//# sourceMappingURL=icon-button-CeB8_Yyr.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-button-CeB8_Yyr.cjs.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef, useEffect } 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 // Runtime accessibility check\n // Use setTimeout to defer check until after React Aria applies context props\n useEffect(() => {\n if (process.env.NODE_ENV !== \"production\") {\n const timeoutId = setTimeout(() => {\n const element = localRef.current;\n if (element) {\n const hasAriaLabel =\n element.hasAttribute(\"aria-label\") ||\n element.hasAttribute(\"aria-labelledby\");\n\n // Skip warning if component is using slot-based context (Button will handle it)\n const isUsingSlot = element.hasAttribute(\"slot\");\n\n if (!hasAriaLabel && !isUsingSlot) {\n console.warn(\n \"Nimbus: IconButton requires an accessible label. \" +\n \"Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot=\\\"clear\\\" in ComboBox).\",\n element\n );\n }\n }\n }, 0);\n\n return () => clearTimeout(timeoutId);\n }\n }, [props[\"aria-label\"], restProps.slot]);\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","useEffect","timeoutId","element","hasAriaLabel","isUsingSlot","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,EAI1DO,OAAAA,EAAAA,UAAU,IAAM,CACd,GAAI,QAAQ,IAAI,WAAa,aAAc,CACzC,MAAMC,EAAY,WAAW,IAAM,CACjC,MAAMC,EAAUP,EAAS,QACzB,GAAIO,EAAS,CACX,MAAMC,EACJD,EAAQ,aAAa,YAAY,GACjCA,EAAQ,aAAa,iBAAiB,EAGlCE,EAAcF,EAAQ,aAAa,MAAM,EAE3C,CAACC,GAAgB,CAACC,GACpB,QAAQ,KACN,gLAEAF,CAAA,CAGN,CACF,EAAG,CAAC,EAEJ,MAAO,IAAM,aAAaD,CAAS,CACrC,CACF,EAAG,CAACV,EAAM,YAAY,EAAGG,EAAU,IAAI,CAAC,EAGtCW,MAACC,EAAAA,QAAO,GAAI,EAAG,GAAI,EAAI,GAAGZ,EAAW,IAAAG,EAClC,SAAAL,CAAA,CACH,CAEJ,EAEAF,EAAW,YAAc"}
|
|
@@ -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-DsGaTWXb.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-BhzKiS9U.es.js.map
|
package/dist/chunks/{icon-toggle-button-CbPnVXev.es.js.map → icon-toggle-button-BhzKiS9U.es.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-toggle-button-
|
|
1
|
+
{"version":3,"file":"icon-toggle-button-BhzKiS9U.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-CC2TWXzm.cjs.js → icon-toggle-button-C4Tnlt4t.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-L7i1XaWg.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-C4Tnlt4t.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-toggle-button-
|
|
1
|
+
{"version":3,"file":"icon-toggle-button-C4Tnlt4t.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"}
|