@commercetools/nimbus 0.0.0-canary-20250901065956 → 0.0.0-canary-20250902075758
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-wUEF0Zow.es.js → Button--gemnXF8.es.js} +7 -7
- package/dist/chunks/{Button-wUEF0Zow.es.js.map → Button--gemnXF8.es.js.map} +1 -1
- package/dist/chunks/{Button-MmwT6xpw.cjs.js → Button-Bh-FLo_8.cjs.js} +2 -2
- package/dist/chunks/{Button-MmwT6xpw.cjs.js.map → Button-Bh-FLo_8.cjs.js.map} +1 -1
- package/dist/chunks/Collection-BYX373AD.cjs.js +18 -0
- package/dist/chunks/Collection-BYX373AD.cjs.js.map +1 -0
- package/dist/chunks/{Collection-CDJ_uFKV.es.js → Collection-Df3FPouy.es.js} +337 -366
- package/dist/chunks/Collection-Df3FPouy.es.js.map +1 -0
- package/dist/chunks/{DateField-Cg2n5ili.es.js → DateField-DVzmD_D6.es.js} +39 -40
- package/dist/chunks/{DateField-Cg2n5ili.es.js.map → DateField-DVzmD_D6.es.js.map} +1 -1
- package/dist/chunks/DateField-Dh2hoOBr.cjs.js +2 -0
- package/dist/chunks/{DateField-BRw4EOOA.cjs.js.map → DateField-Dh2hoOBr.cjs.js.map} +1 -1
- package/dist/chunks/{DatePicker-CqbnVxIC.cjs.js → DatePicker-C0NXSwOw.cjs.js} +2 -2
- package/dist/chunks/{DatePicker-CqbnVxIC.cjs.js.map → DatePicker-C0NXSwOw.cjs.js.map} +1 -1
- package/dist/chunks/{DatePicker-DVtAIdlj.es.js → DatePicker-_A7-hp_b.es.js} +17 -17
- package/dist/chunks/{DatePicker-DVtAIdlj.es.js.map → DatePicker-_A7-hp_b.es.js.map} +1 -1
- package/dist/chunks/Dialog-BnIvgMq1.cjs.js +2 -0
- package/dist/chunks/{Dialog-ljK75Ezb.cjs.js.map → Dialog-BnIvgMq1.cjs.js.map} +1 -1
- package/dist/chunks/{Dialog-BTicQJXP.es.js → Dialog-C3wKnoBH.es.js} +430 -431
- package/dist/chunks/{Dialog-BTicQJXP.es.js.map → Dialog-C3wKnoBH.es.js.map} +1 -1
- package/dist/chunks/{DragAndDrop-xhP_Ei7N.es.js → DragAndDrop-ChYb3tCX.es.js} +3 -3
- package/dist/chunks/{DragAndDrop-xhP_Ei7N.es.js.map → DragAndDrop-ChYb3tCX.es.js.map} +1 -1
- package/dist/chunks/{DragAndDrop-QpvgGL4C.cjs.js → DragAndDrop-cOfUfFj8.cjs.js} +2 -2
- package/dist/chunks/{DragAndDrop-QpvgGL4C.cjs.js.map → DragAndDrop-cOfUfFj8.cjs.js.map} +1 -1
- package/dist/chunks/FocusScope-CNO0fzPs.es.js +625 -0
- package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +1 -0
- package/dist/chunks/FocusScope-DPn5XtSy.cjs.js +2 -0
- package/dist/chunks/FocusScope-DPn5XtSy.cjs.js.map +1 -0
- package/dist/chunks/{Group-CU1nz0u2.es.js → Group-Cfixd-fh.es.js} +5 -5
- package/dist/chunks/{Group-CU1nz0u2.es.js.map → Group-Cfixd-fh.es.js.map} +1 -1
- package/dist/chunks/{Group-DxD-SZdK.cjs.js → Group-MdeByg6t.cjs.js} +2 -2
- package/dist/chunks/{Group-DxD-SZdK.cjs.js.map → Group-MdeByg6t.cjs.js.map} +1 -1
- package/dist/chunks/Heading-BI5vqfiY.cjs.js +2 -0
- package/dist/chunks/{Heading-BorDTn_V.cjs.js.map → Heading-BI5vqfiY.cjs.js.map} +1 -1
- package/dist/chunks/{Heading-CXKMd84h.es.js → Heading-sepFdCCa.es.js} +26 -27
- package/dist/chunks/{Heading-CXKMd84h.es.js.map → Heading-sepFdCCa.es.js.map} +1 -1
- package/dist/chunks/{Input-B7Cnwv00.es.js → Input-BiHwUBo4.es.js} +5 -5
- package/dist/chunks/{Input-B7Cnwv00.es.js.map → Input-BiHwUBo4.es.js.map} +1 -1
- package/dist/chunks/{Input-DK49tQti.cjs.js → Input-HBDt7LmM.cjs.js} +2 -2
- package/dist/chunks/{Input-DK49tQti.cjs.js.map → Input-HBDt7LmM.cjs.js.map} +1 -1
- package/dist/chunks/{Label-CXgc_ps9.es.js → Label-B2YyCdLl.es.js} +2 -2
- package/dist/chunks/{Label-CXgc_ps9.es.js.map → Label-B2YyCdLl.es.js.map} +1 -1
- package/dist/chunks/{Label-DSG_MTc3.cjs.js → Label-BgrYyYXn.cjs.js} +2 -2
- package/dist/chunks/{Label-DSG_MTc3.cjs.js.map → Label-BgrYyYXn.cjs.js.map} +1 -1
- package/dist/chunks/{ListBox-DETV_5At.cjs.js → ListBox-B2Z13FyL.cjs.js} +2 -2
- package/dist/chunks/{ListBox-DETV_5At.cjs.js.map → ListBox-B2Z13FyL.cjs.js.map} +1 -1
- package/dist/chunks/{ListBox-CGw4-iNr.es.js → ListBox-BzuLanGT.es.js} +14 -14
- package/dist/chunks/{ListBox-CGw4-iNr.es.js.map → ListBox-BzuLanGT.es.js.map} +1 -1
- package/dist/chunks/{OverlayArrow-C_SkpQbf.cjs.js → OverlayArrow-C5Ymp9MC.cjs.js} +2 -2
- package/dist/chunks/{OverlayArrow-C_SkpQbf.cjs.js.map → OverlayArrow-C5Ymp9MC.cjs.js.map} +1 -1
- package/dist/chunks/{OverlayArrow-DbPNbnKm.es.js → OverlayArrow-ERS8ZqL3.es.js} +3 -3
- package/dist/chunks/{OverlayArrow-DbPNbnKm.es.js.map → OverlayArrow-ERS8ZqL3.es.js.map} +1 -1
- package/dist/chunks/{ProgressBar-Bm7vfOk4.cjs.js → ProgressBar-BNPexoD9.cjs.js} +2 -2
- package/dist/chunks/{ProgressBar-Bm7vfOk4.cjs.js.map → ProgressBar-BNPexoD9.cjs.js.map} +1 -1
- package/dist/chunks/{ProgressBar-DNmmtJsB.es.js → ProgressBar-BnGsEC_2.es.js} +5 -5
- package/dist/chunks/{ProgressBar-DNmmtJsB.es.js.map → ProgressBar-BnGsEC_2.es.js.map} +1 -1
- package/dist/chunks/Separator-QdyS03-E.cjs.js +2 -0
- package/dist/chunks/{Separator-CinA2hg4.cjs.js.map → Separator-QdyS03-E.cjs.js.map} +1 -1
- package/dist/chunks/{Separator-Ahj2J22_.es.js → Separator-T5Cc3sUj.es.js} +25 -26
- package/dist/chunks/{Separator-Ahj2J22_.es.js.map → Separator-T5Cc3sUj.es.js.map} +1 -1
- package/dist/chunks/{TextArea-DTir64d8.es.js → TextArea-BmpgvS0R.es.js} +5 -5
- package/dist/chunks/{TextArea-DTir64d8.es.js.map → TextArea-BmpgvS0R.es.js.map} +1 -1
- package/dist/chunks/{TextArea-p1OqtLgN.cjs.js → TextArea-D3FFXnUy.cjs.js} +2 -2
- package/dist/chunks/{TextArea-p1OqtLgN.cjs.js.map → TextArea-D3FFXnUy.cjs.js.map} +1 -1
- package/dist/chunks/{ToggleButton-CmN8Ay9u.es.js → ToggleButton-BoIyPi3U.es.js} +7 -7
- package/dist/chunks/{ToggleButton-CmN8Ay9u.es.js.map → ToggleButton-BoIyPi3U.es.js.map} +1 -1
- package/dist/chunks/{ToggleButton-DWTy3juF.cjs.js → ToggleButton-By3cqA7R.cjs.js} +2 -2
- package/dist/chunks/{ToggleButton-DWTy3juF.cjs.js.map → ToggleButton-By3cqA7R.cjs.js.map} +1 -1
- package/dist/chunks/{VisuallyHidden-DFP8AIDZ.cjs.js → VisuallyHidden-Bv_AJXZ7.cjs.js} +2 -2
- package/dist/chunks/{VisuallyHidden-DFP8AIDZ.cjs.js.map → VisuallyHidden-Bv_AJXZ7.cjs.js.map} +1 -1
- package/dist/chunks/{VisuallyHidden-BY2z9PpP.es.js → VisuallyHidden-VHEPK04F.es.js} +3 -3
- package/dist/chunks/{VisuallyHidden-BY2z9PpP.es.js.map → VisuallyHidden-VHEPK04F.es.js.map} +1 -1
- package/dist/chunks/{accordion-DF0by3UE.es.js → accordion-8XmJkF18.es.js} +5 -5
- package/dist/chunks/{accordion-DF0by3UE.es.js.map → accordion-8XmJkF18.es.js.map} +1 -1
- package/dist/chunks/{accordion-Db0ZaAwE.cjs.js → accordion-CAC36XIK.cjs.js} +2 -2
- package/dist/chunks/{accordion-Db0ZaAwE.cjs.js.map → accordion-CAC36XIK.cjs.js.map} +1 -1
- package/dist/chunks/{alert-DfnvHvbA.es.js → alert-CbAPX3xQ.es.js} +2 -2
- package/dist/chunks/{alert-DfnvHvbA.es.js.map → alert-CbAPX3xQ.es.js.map} +1 -1
- package/dist/chunks/{alert-Ck60ax0h.cjs.js → alert-STlW7NU8.cjs.js} +2 -2
- package/dist/chunks/{alert-Ck60ax0h.cjs.js.map → alert-STlW7NU8.cjs.js.map} +1 -1
- package/dist/chunks/{badge-B58WR_nK.es.js → badge-C2elCKPp.es.js} +2 -2
- package/dist/chunks/{badge-B58WR_nK.es.js.map → badge-C2elCKPp.es.js.map} +1 -1
- package/dist/chunks/{badge-D3iqhdY4.cjs.js → badge-HHzfG1BI.cjs.js} +2 -2
- package/dist/chunks/{badge-D3iqhdY4.cjs.js.map → badge-HHzfG1BI.cjs.js.map} +1 -1
- package/dist/chunks/{button-N0fUFhvD.cjs.js → button-CtWoT2k5.cjs.js} +2 -2
- package/dist/chunks/{button-N0fUFhvD.cjs.js.map → button-CtWoT2k5.cjs.js.map} +1 -1
- package/dist/chunks/{button-Nd45zL1x.es.js → button-_TqIjVy-.es.js} +5 -5
- package/dist/chunks/{button-Nd45zL1x.es.js.map → button-_TqIjVy-.es.js.map} +1 -1
- package/dist/chunks/{calendar-kDDTW9QY.es.js → calendar-Cgm2jctu.es.js} +8 -8
- package/dist/chunks/{calendar-kDDTW9QY.es.js.map → calendar-Cgm2jctu.es.js.map} +1 -1
- package/dist/chunks/{calendar-Cj6tlZEj.cjs.js → calendar-DFhIC3YS.cjs.js} +2 -2
- package/dist/chunks/{calendar-Cj6tlZEj.cjs.js.map → calendar-DFhIC3YS.cjs.js.map} +1 -1
- package/dist/chunks/{card-DFkYZ6Cs.cjs.js → card-CHfjhPF8.cjs.js} +2 -2
- package/dist/chunks/{card-DFkYZ6Cs.cjs.js.map → card-CHfjhPF8.cjs.js.map} +1 -1
- package/dist/chunks/{card-33QKPI9V.es.js → card-R8oaAKgo.es.js} +3 -3
- package/dist/chunks/{card-33QKPI9V.es.js.map → card-R8oaAKgo.es.js.map} +1 -1
- package/dist/chunks/{checkbox-D2tsRAy1.es.js → checkbox-Ce37pKIe.es.js} +9 -9
- package/dist/chunks/{checkbox-D2tsRAy1.es.js.map → checkbox-Ce37pKIe.es.js.map} +1 -1
- package/dist/chunks/{checkbox-g5gMaiLJ.cjs.js → checkbox-pYAJn7HX.cjs.js} +2 -2
- package/dist/chunks/{checkbox-g5gMaiLJ.cjs.js.map → checkbox-pYAJn7HX.cjs.js.map} +1 -1
- package/dist/chunks/{combobox-C1nOP0Qh.es.js → combobox-C3FEfver.es.js} +403 -423
- package/dist/chunks/combobox-C3FEfver.es.js.map +1 -0
- package/dist/chunks/combobox-CnUfDGC-.cjs.js +2 -0
- package/dist/chunks/combobox-CnUfDGC-.cjs.js.map +1 -0
- package/dist/chunks/data-table-BvTXYpZB.cjs.js +2 -0
- package/dist/chunks/{data-table-CgICAQC9.cjs.js.map → data-table-BvTXYpZB.cjs.js.map} +1 -1
- package/dist/chunks/{data-table-DlBw5XeS.es.js → data-table-BvYN1Stn.es.js} +426 -427
- package/dist/chunks/{data-table-DlBw5XeS.es.js.map → data-table-BvYN1Stn.es.js.map} +1 -1
- package/dist/chunks/{date-input-CHWJMf4Y.cjs.js → date-input-BmKSBIL2.cjs.js} +2 -2
- package/dist/chunks/{date-input-CHWJMf4Y.cjs.js.map → date-input-BmKSBIL2.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-DBd91qhQ.es.js → date-input-DFx77xwE.es.js} +2 -2
- package/dist/chunks/{date-input-DBd91qhQ.es.js.map → date-input-DFx77xwE.es.js.map} +1 -1
- package/dist/chunks/{date-picker-DkegHUiZ.es.js → date-picker-BzkAJfXO.es.js} +12 -12
- package/dist/chunks/{date-picker-DkegHUiZ.es.js.map → date-picker-BzkAJfXO.es.js.map} +1 -1
- package/dist/chunks/{date-picker-W70bKrmU.cjs.js → date-picker-CsGYO3HW.cjs.js} +2 -2
- package/dist/chunks/{date-picker-W70bKrmU.cjs.js.map → date-picker-CsGYO3HW.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-vzDrtZ94.es.js → date-range-picker-B1Sxvj0C.es.js} +12 -12
- package/dist/chunks/{date-range-picker-vzDrtZ94.es.js.map → date-range-picker-B1Sxvj0C.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-Cqdj51fV.cjs.js → date-range-picker-uomzPtYK.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-Cqdj51fV.cjs.js.map → date-range-picker-uomzPtYK.cjs.js.map} +1 -1
- package/dist/chunks/{divider-BZkfiFj5.cjs.js → divider-CTTExmLv.cjs.js} +2 -2
- package/dist/chunks/{divider-BZkfiFj5.cjs.js.map → divider-CTTExmLv.cjs.js.map} +1 -1
- package/dist/chunks/{divider-Vtnb6QbI.es.js → divider-CpctZ_-U.es.js} +2 -2
- package/dist/chunks/{divider-Vtnb6QbI.es.js.map → divider-CpctZ_-U.es.js.map} +1 -1
- package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -1
- package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -1
- package/dist/chunks/{focusSafely-D8bIeV7X.es.js → focusSafely-DJpphVHF.es.js} +6 -5
- package/dist/chunks/{focusSafely-D8bIeV7X.es.js.map → focusSafely-DJpphVHF.es.js.map} +1 -1
- package/dist/chunks/focusSafely-jDMW9aEx.cjs.js +2 -0
- package/dist/chunks/{focusSafely-CgVjbH-x.cjs.js.map → focusSafely-jDMW9aEx.cjs.js.map} +1 -1
- package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
- package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
- package/dist/chunks/{form-field-CS9GGlbl.cjs.js → form-field-6_jyAhgo.cjs.js} +2 -2
- package/dist/chunks/{form-field-CS9GGlbl.cjs.js.map → form-field-6_jyAhgo.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-DcQW2A1i.es.js → form-field-B1B4BtvO.es.js} +4 -4
- package/dist/chunks/{form-field-DcQW2A1i.es.js.map → form-field-B1B4BtvO.es.js.map} +1 -1
- package/dist/chunks/{group-DgCuvf_U.cjs.js → group-Buy-O6Mr.cjs.js} +2 -2
- package/dist/chunks/{group-DgCuvf_U.cjs.js.map → group-Buy-O6Mr.cjs.js.map} +1 -1
- package/dist/chunks/{group-CYRXn-NO.es.js → group-CqfSQXe7.es.js} +2 -2
- package/dist/chunks/{group-CYRXn-NO.es.js.map → group-CqfSQXe7.es.js.map} +1 -1
- package/dist/chunks/{icon-button-Cs41MKV5.cjs.js → icon-button-Dqhm4rBI.cjs.js} +2 -2
- package/dist/chunks/{icon-button-Cs41MKV5.cjs.js.map → icon-button-Dqhm4rBI.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-BkjZ1Pq8.es.js → icon-button-oIKucbza.es.js} +2 -2
- package/dist/chunks/{icon-button-BkjZ1Pq8.es.js.map → icon-button-oIKucbza.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-CEGHh-JB.es.js → icon-toggle-button-BYKHQRsq.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-CEGHh-JB.es.js.map → icon-toggle-button-BYKHQRsq.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-BljNXaJy.cjs.js → icon-toggle-button-DIfDVDd4.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-BljNXaJy.cjs.js.map → icon-toggle-button-DIfDVDd4.cjs.js.map} +1 -1
- package/dist/chunks/{kbd-BjfxBIWW.es.js → kbd-CDEXQyg2.es.js} +2 -2
- package/dist/chunks/{kbd-BjfxBIWW.es.js.map → kbd-CDEXQyg2.es.js.map} +1 -1
- package/dist/chunks/{kbd-DxwHwPaF.cjs.js → kbd-DP3lZ80W.cjs.js} +2 -2
- package/dist/chunks/{kbd-DxwHwPaF.cjs.js.map → kbd-DP3lZ80W.cjs.js.map} +1 -1
- package/dist/chunks/{link-D0XhkPu6.es.js → link-BoUhLeO-.es.js} +5 -5
- package/dist/chunks/{link-D0XhkPu6.es.js.map → link-BoUhLeO-.es.js.map} +1 -1
- package/dist/chunks/{link-CNe7kOhA.cjs.js → link-DTUiEXYJ.cjs.js} +2 -2
- package/dist/chunks/{link-CNe7kOhA.cjs.js.map → link-DTUiEXYJ.cjs.js.map} +1 -1
- package/dist/chunks/{loading-spinner-C_1gCLzP.cjs.js → loading-spinner-BLDpwNFm.cjs.js} +2 -2
- package/dist/chunks/{loading-spinner-C_1gCLzP.cjs.js.map → loading-spinner-BLDpwNFm.cjs.js.map} +1 -1
- package/dist/chunks/{loading-spinner-COTpElt8.es.js → loading-spinner-C7yZE-QF.es.js} +3 -3
- package/dist/chunks/{loading-spinner-COTpElt8.es.js.map → loading-spinner-C7yZE-QF.es.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-DS5T93TG.es.js → make-element-focusable-C4ZHUSEU.es.js} +3 -3
- package/dist/chunks/{make-element-focusable-DS5T93TG.es.js.map → make-element-focusable-C4ZHUSEU.es.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-Cj8VL4H4.cjs.js → make-element-focusable-bPAMXt4D.cjs.js} +2 -2
- package/dist/chunks/{make-element-focusable-Cj8VL4H4.cjs.js.map → make-element-focusable-bPAMXt4D.cjs.js.map} +1 -1
- package/dist/chunks/{menu-DKTon-Vn.es.js → menu-BZWMAG92.es.js} +5 -5
- package/dist/chunks/{menu-DKTon-Vn.es.js.map → menu-BZWMAG92.es.js.map} +1 -1
- package/dist/chunks/{menu-BaTd4n0a.cjs.js → menu-C41LRy4b.cjs.js} +2 -2
- package/dist/chunks/{menu-BaTd4n0a.cjs.js.map → menu-C41LRy4b.cjs.js.map} +1 -1
- package/dist/chunks/{mergeProps-DRkWdaVg.cjs.js → mergeProps-BA5Cwf5w.cjs.js} +2 -2
- package/dist/chunks/{mergeProps-DRkWdaVg.cjs.js.map → mergeProps-BA5Cwf5w.cjs.js.map} +1 -1
- package/dist/chunks/{mergeProps-CtwSzqnr.es.js → mergeProps-B_9syxhT.es.js} +4 -5
- package/dist/chunks/{mergeProps-CtwSzqnr.es.js.map → mergeProps-B_9syxhT.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-DufrCFhg.cjs.js → multiline-text-input-B5XtIAAO.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-DufrCFhg.cjs.js.map → multiline-text-input-B5XtIAAO.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-Bsazfavw.es.js → multiline-text-input-Dy6gbL7T.es.js} +3 -3
- package/dist/chunks/{multiline-text-input-Bsazfavw.es.js.map → multiline-text-input-Dy6gbL7T.es.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-BinjIRf7.es.js → nimbus-provider-C68IpiXi.es.js} +2 -2
- package/dist/chunks/{nimbus-provider-BinjIRf7.es.js.map → nimbus-provider-C68IpiXi.es.js.map} +1 -1
- package/dist/chunks/{number-input-l32lWVbX.es.js → number-input-BxLU6AgG.es.js} +192 -208
- package/dist/chunks/number-input-BxLU6AgG.es.js.map +1 -0
- package/dist/chunks/number-input-Dm2FFtQx.cjs.js +2 -0
- package/dist/chunks/number-input-Dm2FFtQx.cjs.js.map +1 -0
- package/dist/chunks/{openLink-BwkmFekP.es.js → openLink-Ctl0AdAy.es.js} +2 -2
- package/dist/chunks/{openLink-BwkmFekP.es.js.map → openLink-Ctl0AdAy.es.js.map} +1 -1
- package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -1
- package/dist/chunks/{password-input-q1cxpiOP.cjs.js → password-input-CwWWxcly.cjs.js} +2 -2
- package/dist/chunks/{password-input-q1cxpiOP.cjs.js.map → password-input-CwWWxcly.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-B9Uv-ybv.es.js → password-input-DJjAz3TP.es.js} +4 -4
- package/dist/chunks/{password-input-B9Uv-ybv.es.js.map → password-input-DJjAz3TP.es.js.map} +1 -1
- package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -1
- package/dist/chunks/{platform-BOO1jCtB.es.js → platform-Z5fvtFmM.es.js} +4 -4
- package/dist/chunks/{platform-BOO1jCtB.es.js.map → platform-Z5fvtFmM.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-C8onDqV2.es.js → progress-bar-CDRI279T.es.js} +3 -3
- package/dist/chunks/{progress-bar-C8onDqV2.es.js.map → progress-bar-CDRI279T.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-BGTJgcWE.cjs.js → progress-bar-nQCcdv_4.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-BGTJgcWE.cjs.js.map → progress-bar-nQCcdv_4.cjs.js.map} +1 -1
- package/dist/chunks/radio-input-BXFY8CaT.cjs.js +2 -0
- package/dist/chunks/{radio-input-BlE9GNwl.cjs.js.map → radio-input-BXFY8CaT.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-uMVsYeTe.es.js → radio-input-CAogtJP7.es.js} +15 -15
- package/dist/chunks/{radio-input-uMVsYeTe.es.js.map → radio-input-CAogtJP7.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-CvTT4HY-.cjs.js → range-calendar-BuzvPCc1.cjs.js} +2 -2
- package/dist/chunks/{range-calendar-CvTT4HY-.cjs.js.map → range-calendar-BuzvPCc1.cjs.js.map} +1 -1
- package/dist/chunks/{range-calendar-YuvY8LUd.es.js → range-calendar-D-CvB2-1.es.js} +8 -8
- package/dist/chunks/{range-calendar-YuvY8LUd.es.js.map → range-calendar-D-CvB2-1.es.js.map} +1 -1
- package/dist/chunks/{rich-text-input-C7EK9LsN.cjs.js → rich-text-input-Dmp5hx2t.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-C7EK9LsN.cjs.js.map → rich-text-input-Dmp5hx2t.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-CVqiVHV1.es.js → rich-text-input-Dv7OofX2.es.js} +11 -11
- package/dist/chunks/{rich-text-input-CVqiVHV1.es.js.map → rich-text-input-Dv7OofX2.es.js.map} +1 -1
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +94 -0
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +2 -0
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +1 -0
- package/dist/chunks/{select-CgapbY3S.es.js → select-Dlg0m5Ww.es.js} +18 -18
- package/dist/chunks/{select-CgapbY3S.es.js.map → select-Dlg0m5Ww.es.js.map} +1 -1
- package/dist/chunks/{select-Dd2f6hd1.cjs.js → select-IUEop3i7.cjs.js} +2 -2
- package/dist/chunks/{select-Dd2f6hd1.cjs.js.map → select-IUEop3i7.cjs.js.map} +1 -1
- package/dist/chunks/{split-button-Blbr2czN.cjs.js → split-button-B4Wp7H3n.cjs.js} +2 -2
- package/dist/chunks/{split-button-Blbr2czN.cjs.js.map → split-button-B4Wp7H3n.cjs.js.map} +1 -1
- package/dist/chunks/{split-button-DoRlks-p.es.js → split-button-Dpj44F6g.es.js} +4 -4
- package/dist/chunks/{split-button-DoRlks-p.es.js.map → split-button-Dpj44F6g.es.js.map} +1 -1
- package/dist/chunks/{switch-Cb0mCIEe.es.js → switch-Ba9WXDDP.es.js} +5 -5
- package/dist/chunks/{switch-Cb0mCIEe.es.js.map → switch-Ba9WXDDP.es.js.map} +1 -1
- package/dist/chunks/{switch-Cha1HMzo.cjs.js → switch-CeNcr608.cjs.js} +2 -2
- package/dist/chunks/{switch-Cha1HMzo.cjs.js.map → switch-CeNcr608.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-CvKA8ufC.es.js → tag-group-BY7yGmmv.es.js} +22 -23
- package/dist/chunks/{tag-group-CvKA8ufC.es.js.map → tag-group-BY7yGmmv.es.js.map} +1 -1
- package/dist/chunks/tag-group-DXKC_JuG.cjs.js +2 -0
- package/dist/chunks/{tag-group-5uAuEquc.cjs.js.map → tag-group-DXKC_JuG.cjs.js.map} +1 -1
- package/dist/chunks/{text-DkO9mfur.es.js → text-B2wziCK6.es.js} +2 -2
- package/dist/chunks/{text-DkO9mfur.es.js.map → text-B2wziCK6.es.js.map} +1 -1
- package/dist/chunks/{text-BOdnmoaN.cjs.js → text-hUMahKuA.cjs.js} +2 -2
- package/dist/chunks/{text-BOdnmoaN.cjs.js.map → text-hUMahKuA.cjs.js.map} +1 -1
- package/dist/chunks/{text-input-C3q-zUxw.es.js → text-input-82882hyq.es.js} +3 -3
- package/dist/chunks/{text-input-C3q-zUxw.es.js.map → text-input-82882hyq.es.js.map} +1 -1
- package/dist/chunks/{text-input-eShRYnI3.cjs.js → text-input-CBcEG79G.cjs.js} +2 -2
- package/dist/chunks/{text-input-eShRYnI3.cjs.js.map → text-input-CBcEG79G.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-CkNODZOE.cjs.js → time-input-CCnD_SWq.cjs.js} +2 -2
- package/dist/chunks/{time-input-CkNODZOE.cjs.js.map → time-input-CCnD_SWq.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-ZZK92O_5.es.js → time-input-DAA-IK0I.es.js} +2 -2
- package/dist/chunks/{time-input-ZZK92O_5.es.js.map → time-input-DAA-IK0I.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-Bfo8opbK.es.js → toggle-button-163ZMcpk.es.js} +2 -2
- package/dist/chunks/{toggle-button-Bfo8opbK.es.js.map → toggle-button-163ZMcpk.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-BEOCbO0O.cjs.js → toggle-button-BTYd563-.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-BEOCbO0O.cjs.js.map → toggle-button-BTYd563-.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-yB5nqdV3.es.js → toggle-button-group-D-sGsuZ_.es.js} +2 -2
- package/dist/chunks/{toggle-button-group-yB5nqdV3.es.js.map → toggle-button-group-D-sGsuZ_.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-B_C5ly_4.cjs.js → toggle-button-group-Dq51N27j.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-group-B_C5ly_4.cjs.js.map → toggle-button-group-Dq51N27j.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-DvkcbAsl.es.js → toolbar-Ch-bOLkm.es.js} +4 -4
- package/dist/chunks/{toolbar-DvkcbAsl.es.js.map → toolbar-Ch-bOLkm.es.js.map} +1 -1
- package/dist/chunks/{toolbar-BZkvVoAw.cjs.js → toolbar-CzXpYEbP.cjs.js} +2 -2
- package/dist/chunks/{toolbar-BZkvVoAw.cjs.js.map → toolbar-CzXpYEbP.cjs.js.map} +1 -1
- package/dist/chunks/{tooltip-D7QmPw5W.cjs.js → tooltip-BFuuQNa4.cjs.js} +2 -2
- package/dist/chunks/{tooltip-D7QmPw5W.cjs.js.map → tooltip-BFuuQNa4.cjs.js.map} +1 -1
- package/dist/chunks/{tooltip-Bb_I4Owj.es.js → tooltip-BpUbO0NA.es.js} +7 -7
- package/dist/chunks/{tooltip-Bb_I4Owj.es.js.map → tooltip-BpUbO0NA.es.js.map} +1 -1
- package/dist/chunks/{useButton-6DDhTkQ5.cjs.js → useButton-C8n_NtBu.cjs.js} +2 -2
- package/dist/chunks/{useButton-6DDhTkQ5.cjs.js.map → useButton-C8n_NtBu.cjs.js.map} +1 -1
- package/dist/chunks/{useButton-CKkFEBt0.es.js → useButton-M3_syr-Y.es.js} +4 -4
- package/dist/chunks/{useButton-CKkFEBt0.es.js.map → useButton-M3_syr-Y.es.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-DGeAh0SC.es.js → useDateFormatter-BqJA667a.es.js} +2 -2
- package/dist/chunks/{useDateFormatter-DGeAh0SC.es.js.map → useDateFormatter-BqJA667a.es.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-BIkv89ta.cjs.js → useDateFormatter-Dq2Ly1Je.cjs.js} +2 -2
- package/dist/chunks/{useDateFormatter-BIkv89ta.cjs.js.map → useDateFormatter-Dq2Ly1Je.cjs.js.map} +1 -1
- package/dist/chunks/{useEvent-AOCWMUCu.cjs.js → useEvent-CuUOU5WV.cjs.js} +2 -2
- package/dist/chunks/{useEvent-AOCWMUCu.cjs.js.map → useEvent-CuUOU5WV.cjs.js.map} +1 -1
- package/dist/chunks/{useEvent-k0_MYJWL.es.js → useEvent-YHhqZvpU.es.js} +7 -7
- package/dist/chunks/{useEvent-k0_MYJWL.es.js.map → useEvent-YHhqZvpU.es.js.map} +1 -1
- package/dist/chunks/{useField-9-dizG-T.es.js → useField-Ce9zQxmx.es.js} +3 -3
- package/dist/chunks/{useField-9-dizG-T.es.js.map → useField-Ce9zQxmx.es.js.map} +1 -1
- package/dist/chunks/{useField-D5vZhNS3.cjs.js → useField-DmqO9k7a.cjs.js} +2 -2
- package/dist/chunks/{useField-D5vZhNS3.cjs.js.map → useField-DmqO9k7a.cjs.js.map} +1 -1
- package/dist/chunks/{useFocus-DpnjsJ3H.cjs.js → useFocus-BtJ38vev.cjs.js} +2 -2
- package/dist/chunks/{useFocus-DpnjsJ3H.cjs.js.map → useFocus-BtJ38vev.cjs.js.map} +1 -1
- package/dist/chunks/{useFocus-Lq2Mmyje.es.js → useFocus-DkWJ2TJC.es.js} +6 -6
- package/dist/chunks/{useFocus-Lq2Mmyje.es.js.map → useFocus-DkWJ2TJC.es.js.map} +1 -1
- package/dist/chunks/{useFocusRing-DjMwdeTr.cjs.js → useFocusRing-CzFer4bD.cjs.js} +2 -2
- package/dist/chunks/{useFocusRing-DjMwdeTr.cjs.js.map → useFocusRing-CzFer4bD.cjs.js.map} +1 -1
- package/dist/chunks/{useFocusRing-BFWuvq6P.es.js → useFocusRing-updnkDQg.es.js} +4 -4
- package/dist/chunks/{useFocusRing-BFWuvq6P.es.js.map → useFocusRing-updnkDQg.es.js.map} +1 -1
- package/dist/chunks/useFocusVisible-CWDaG0ze.es.js +111 -0
- package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +1 -0
- package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js +2 -0
- package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +1 -0
- package/dist/chunks/{useFocusWithin-BcxLc412.cjs.js → useFocusWithin-BDSWp3rw.cjs.js} +2 -2
- package/dist/chunks/{useFocusWithin-BcxLc412.cjs.js.map → useFocusWithin-BDSWp3rw.cjs.js.map} +1 -1
- package/dist/chunks/{useFocusWithin-QIERmzTm.es.js → useFocusWithin-ByYlHjju.es.js} +6 -6
- package/dist/chunks/{useFocusWithin-QIERmzTm.es.js.map → useFocusWithin-ByYlHjju.es.js.map} +1 -1
- package/dist/chunks/useFocusable-CrsD8ZcF.es.js +77 -0
- package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +1 -0
- package/dist/chunks/useFocusable-DCgmQxS1.cjs.js +2 -0
- package/dist/chunks/useFocusable-DCgmQxS1.cjs.js.map +1 -0
- package/dist/chunks/{useFormReset-7-vYPDFJ.cjs.js → useFormReset--wPlnEOl.cjs.js} +2 -2
- package/dist/chunks/{useFormReset-7-vYPDFJ.cjs.js.map → useFormReset--wPlnEOl.cjs.js.map} +1 -1
- package/dist/chunks/{useFormReset-C27nadG4.es.js → useFormReset-DurgUJL-.es.js} +2 -2
- package/dist/chunks/{useFormReset-C27nadG4.es.js.map → useFormReset-DurgUJL-.es.js.map} +1 -1
- package/dist/chunks/{useFormValidation-Chwu6llz.es.js → useFormValidation-4hZ1_a6w.es.js} +3 -3
- package/dist/chunks/{useFormValidation-Chwu6llz.es.js.map → useFormValidation-4hZ1_a6w.es.js.map} +1 -1
- package/dist/chunks/{useFormValidation-B5jwexNB.cjs.js → useFormValidation-BEaCuNx1.cjs.js} +2 -2
- package/dist/chunks/{useFormValidation-B5jwexNB.cjs.js.map → useFormValidation-BEaCuNx1.cjs.js.map} +1 -1
- package/dist/chunks/{useHighlightSelectionDescription-C7xYnRNQ.es.js → useHighlightSelectionDescription-CsL0QM95.es.js} +5 -5
- package/dist/chunks/{useHighlightSelectionDescription-C7xYnRNQ.es.js.map → useHighlightSelectionDescription-CsL0QM95.es.js.map} +1 -1
- package/dist/chunks/{useHighlightSelectionDescription-DbT86zJE.cjs.js → useHighlightSelectionDescription-DwBGGESb.cjs.js} +2 -2
- package/dist/chunks/{useHighlightSelectionDescription-DbT86zJE.cjs.js.map → useHighlightSelectionDescription-DwBGGESb.cjs.js.map} +1 -1
- package/dist/chunks/{useHover-BmNjdf-e.cjs.js → useHover-CiP9jMFy.cjs.js} +2 -2
- package/dist/chunks/{useHover-BmNjdf-e.cjs.js.map → useHover-CiP9jMFy.cjs.js.map} +1 -1
- package/dist/chunks/{useHover-C5D2lV7p.es.js → useHover-DhoE75lX.es.js} +2 -2
- package/dist/chunks/{useHover-C5D2lV7p.es.js.map → useHover-DhoE75lX.es.js.map} +1 -1
- package/dist/chunks/{useLabel-DHa3lVYx.es.js → useLabel-BBmkkrPP.es.js} +2 -2
- package/dist/chunks/{useLabel-DHa3lVYx.es.js.map → useLabel-BBmkkrPP.es.js.map} +1 -1
- package/dist/chunks/{useLabel-BvIA-VYU.cjs.js → useLabel-Y8tWagLu.cjs.js} +2 -2
- package/dist/chunks/{useLabel-BvIA-VYU.cjs.js.map → useLabel-Y8tWagLu.cjs.js.map} +1 -1
- package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
- package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -1
- package/dist/chunks/usePress-C8-hLXJw.cjs.js +8 -0
- package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +1 -0
- package/dist/chunks/usePress-DHhWHfMz.es.js +456 -0
- package/dist/chunks/usePress-DHhWHfMz.es.js.map +1 -0
- package/dist/chunks/{useProgressBar-DPrqCXGF.cjs.js → useProgressBar-8ZyM2_T3.cjs.js} +2 -2
- package/dist/chunks/{useProgressBar-DPrqCXGF.cjs.js.map → useProgressBar-8ZyM2_T3.cjs.js.map} +1 -1
- package/dist/chunks/{useProgressBar-DjpcXNXW.es.js → useProgressBar-BgURyN6q.es.js} +3 -3
- package/dist/chunks/{useProgressBar-DjpcXNXW.es.js.map → useProgressBar-BgURyN6q.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-CVyCydEV.cjs.js → useSingleSelectListState-8Jfm9Pr1.cjs.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-CVyCydEV.cjs.js.map → useSingleSelectListState-8Jfm9Pr1.cjs.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-C71okNUJ.es.js → useSingleSelectListState-CYqW_Fx5.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-C71okNUJ.es.js.map → useSingleSelectListState-CYqW_Fx5.es.js.map} +1 -1
- package/dist/chunks/{useSpinButton-BmgSsr4J.es.js → useSpinButton-C-tpK-T9.es.js} +181 -210
- package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +1 -0
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +2 -0
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +1 -0
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js +13 -0
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +1 -0
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js +2 -0
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -0
- package/dist/chunks/useTextField-BcthGRd8.cjs.js +2 -0
- package/dist/chunks/{useTextField-DvU8XT6q.cjs.js.map → useTextField-BcthGRd8.cjs.js.map} +1 -1
- package/dist/chunks/{useTextField-D0VFuWqP.es.js → useTextField-BnL6tOdd.es.js} +7 -7
- package/dist/chunks/{useTextField-D0VFuWqP.es.js.map → useTextField-BnL6tOdd.es.js.map} +1 -1
- package/dist/chunks/{useToggle-C9HpNiZE.es.js → useToggle-DqruaaTq.es.js} +5 -5
- package/dist/chunks/{useToggle-C9HpNiZE.es.js.map → useToggle-DqruaaTq.es.js.map} +1 -1
- package/dist/chunks/{useToggle-ChOojvWq.cjs.js → useToggle-VJWgbeCC.cjs.js} +2 -2
- package/dist/chunks/{useToggle-ChOojvWq.cjs.js.map → useToggle-VJWgbeCC.cjs.js.map} +1 -1
- package/dist/chunks/{useToolbar-Dzap6P-D.es.js → useToolbar-9B43whQM.es.js} +3 -3
- package/dist/chunks/{useToolbar-Dzap6P-D.es.js.map → useToolbar-9B43whQM.es.js.map} +1 -1
- package/dist/chunks/{useToolbar-DfnAHPrS.cjs.js → useToolbar-Coi7qK2U.cjs.js} +2 -2
- package/dist/chunks/{useToolbar-DfnAHPrS.cjs.js.map → useToolbar-Coi7qK2U.cjs.js.map} +1 -1
- package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -1
- package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
- package/dist/chunks/utils-BGHwK7fd.cjs.js +2 -0
- package/dist/chunks/utils-BGHwK7fd.cjs.js.map +1 -0
- package/dist/chunks/{utils-CB9xZl-T.cjs.js → utils-BHdR5Nww.cjs.js} +2 -2
- package/dist/chunks/{utils-CB9xZl-T.cjs.js.map → utils-BHdR5Nww.cjs.js.map} +1 -1
- package/dist/chunks/{utils-emYDjcZU.es.js → utils-BkdW_cdL.es.js} +2 -2
- package/dist/chunks/{utils-emYDjcZU.es.js.map → utils-BkdW_cdL.es.js.map} +1 -1
- package/dist/chunks/utils-jpfA6kxk.es.js +188 -0
- package/dist/chunks/utils-jpfA6kxk.es.js.map +1 -0
- package/dist/chunks/{visually-hidden-CQBnuJLY.cjs.js → visually-hidden-Bh-G5QHv.cjs.js} +2 -2
- package/dist/chunks/{visually-hidden-CQBnuJLY.cjs.js.map → visually-hidden-Bh-G5QHv.cjs.js.map} +1 -1
- package/dist/chunks/{visually-hidden-Bw4WH-b1.es.js → visually-hidden-BluyWhUI.es.js} +2 -2
- package/dist/chunks/{visually-hidden-Bw4WH-b1.es.js.map → visually-hidden-BluyWhUI.es.js.map} +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/badge.cjs +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/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 +42 -42
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/divider.cjs +1 -1
- package/dist/components/divider.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/group.cjs +1 -1
- package/dist/components/group.es.js +1 -1
- package/dist/components/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/kbd.cjs +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/link.cjs +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.es.js +1 -1
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button-group.cjs +1 -1
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.es.js +2 -2
- package/dist/components/visually-hidden.cjs +1 -1
- package/dist/components/visually-hidden.es.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +43 -43
- package/package.json +11 -11
- package/dist/chunks/Collection-CDJ_uFKV.es.js.map +0 -1
- package/dist/chunks/Collection-D_q1hY13.cjs.js +0 -18
- package/dist/chunks/Collection-D_q1hY13.cjs.js.map +0 -1
- package/dist/chunks/DateField-BRw4EOOA.cjs.js +0 -2
- package/dist/chunks/Dialog-ljK75Ezb.cjs.js +0 -2
- package/dist/chunks/FocusScope-B5Aod9bV.es.js +0 -696
- package/dist/chunks/FocusScope-B5Aod9bV.es.js.map +0 -1
- package/dist/chunks/FocusScope-sU1ErK5w.cjs.js +0 -2
- package/dist/chunks/FocusScope-sU1ErK5w.cjs.js.map +0 -1
- package/dist/chunks/Heading-BorDTn_V.cjs.js +0 -2
- package/dist/chunks/Separator-CinA2hg4.cjs.js +0 -2
- package/dist/chunks/combobox-C1nOP0Qh.es.js.map +0 -1
- package/dist/chunks/combobox-D1AqzXjA.cjs.js +0 -2
- package/dist/chunks/combobox-D1AqzXjA.cjs.js.map +0 -1
- package/dist/chunks/data-table-CgICAQC9.cjs.js +0 -2
- package/dist/chunks/domHelpers-InH3T0qs.es.js +0 -16
- package/dist/chunks/domHelpers-InH3T0qs.es.js.map +0 -1
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +0 -2
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-CgVjbH-x.cjs.js +0 -2
- package/dist/chunks/number-input-2C9g1Xgr.cjs.js +0 -2
- package/dist/chunks/number-input-2C9g1Xgr.cjs.js.map +0 -1
- package/dist/chunks/number-input-l32lWVbX.es.js.map +0 -1
- package/dist/chunks/radio-input-BlE9GNwl.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +0 -1
- package/dist/chunks/scrollIntoView-CdmKMaOn.es.js +0 -64
- package/dist/chunks/scrollIntoView-CdmKMaOn.es.js.map +0 -1
- package/dist/chunks/tag-group-5uAuEquc.cjs.js +0 -2
- package/dist/chunks/useDescription-CVIOL3si.es.js +0 -33
- package/dist/chunks/useDescription-CVIOL3si.es.js.map +0 -1
- package/dist/chunks/useDescription-Dwd7oLGP.cjs.js +0 -2
- package/dist/chunks/useDescription-Dwd7oLGP.cjs.js.map +0 -1
- package/dist/chunks/useFocusVisible-CCKx2EYu.cjs.js +0 -2
- package/dist/chunks/useFocusVisible-CCKx2EYu.cjs.js.map +0 -1
- package/dist/chunks/useFocusVisible-DGwGbqVH.es.js +0 -148
- package/dist/chunks/useFocusVisible-DGwGbqVH.es.js.map +0 -1
- package/dist/chunks/useFocusable-BKWax3sD.cjs.js +0 -2
- package/dist/chunks/useFocusable-BKWax3sD.cjs.js.map +0 -1
- package/dist/chunks/useFocusable-ZY85zm7p.es.js +0 -101
- package/dist/chunks/useFocusable-ZY85zm7p.es.js.map +0 -1
- package/dist/chunks/usePress-CEcydhMs.es.js +0 -473
- package/dist/chunks/usePress-CEcydhMs.es.js.map +0 -1
- package/dist/chunks/usePress-_EFFCs1n.cjs.js +0 -8
- package/dist/chunks/usePress-_EFFCs1n.cjs.js.map +0 -1
- package/dist/chunks/useSpinButton-BmgSsr4J.es.js.map +0 -1
- package/dist/chunks/useSpinButton-CjLHguQd.cjs.js +0 -2
- package/dist/chunks/useSpinButton-CjLHguQd.cjs.js.map +0 -1
- package/dist/chunks/useSyncRef-Cey7oI1w.cjs.js +0 -2
- package/dist/chunks/useSyncRef-Cey7oI1w.cjs.js.map +0 -1
- package/dist/chunks/useSyncRef-KqQTqZax.es.js +0 -47
- package/dist/chunks/useSyncRef-KqQTqZax.es.js.map +0 -1
- package/dist/chunks/useTextField-DvU8XT6q.cjs.js +0 -2
- package/dist/chunks/utils-3xKI25I1.cjs.js +0 -2
- package/dist/chunks/utils-3xKI25I1.cjs.js.map +0 -1
- package/dist/chunks/utils-4CfAFtL7.es.js +0 -242
- package/dist/chunks/utils-4CfAFtL7.es.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"number-input-l32lWVbX.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useEvent.mjs","../../../../node_modules/.pnpm/@react-aria+interactions@3.25.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/useScrollWheel.mjs","../../../../node_modules/.pnpm/@react-stately+numberfield@3.10.0_react@19.1.0/node_modules/@react-stately/numberfield/dist/useNumberFieldState.mjs","../../../../node_modules/.pnpm/@react-aria+textfield@3.18.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/textfield/dist/useFormattedTextField.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/ar-AE.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/bg-BG.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/cs-CZ.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/da-DK.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/de-DE.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/el-GR.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/en-US.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/es-ES.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/et-EE.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/fi-FI.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/fr-FR.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/he-IL.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/hr-HR.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/hu-HU.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/it-IT.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/ja-JP.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/ko-KR.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/lt-LT.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/lv-LV.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/nb-NO.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/nl-NL.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/pl-PL.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/pt-BR.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/pt-PT.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/ro-RO.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/ru-RU.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/sk-SK.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/sl-SI.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/sr-SP.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/sv-SE.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/tr-TR.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/uk-UA.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/zh-CN.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/zh-TW.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/intlStrings.mjs","../../../../node_modules/.pnpm/@react-aria+numberfield@3.12.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/numberfield/dist/useNumberField.mjs","../../src/components/number-input/number-input.slots.tsx","../../src/components/number-input/number-input.tsx"],"sourcesContent":["import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useEffect as $ceQd6$useEffect} from \"react\";\n\n/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $e9faafb641e167db$export$90fc3a17d93f704c(ref, event, handler, options) {\n let handleEvent = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(handler);\n let isDisabled = handler == null;\n (0, $ceQd6$useEffect)(()=>{\n if (isDisabled || !ref.current) return;\n let element = ref.current;\n element.addEventListener(event, handleEvent, options);\n return ()=>{\n element.removeEventListener(event, handleEvent, options);\n };\n }, [\n ref,\n event,\n options,\n isDisabled,\n handleEvent\n ]);\n}\n\n\nexport {$e9faafb641e167db$export$90fc3a17d93f704c as useEvent};\n//# sourceMappingURL=useEvent.module.js.map\n","import {useCallback as $nrdL2$useCallback} from \"react\";\nimport {useEvent as $nrdL2$useEvent} from \"@react-aria/utils\";\n\n/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $7d0a636d7a4dcefd$export$2123ff2b87c81ca(props, ref) {\n let { onScroll: onScroll, isDisabled: isDisabled } = props;\n let onScrollHandler = (0, $nrdL2$useCallback)((e)=>{\n // If the ctrlKey is pressed, this is a zoom event, do nothing.\n if (e.ctrlKey) return;\n // stop scrolling the page\n e.preventDefault();\n e.stopPropagation();\n if (onScroll) onScroll({\n deltaX: e.deltaX,\n deltaY: e.deltaY\n });\n }, [\n onScroll\n ]);\n (0, $nrdL2$useEvent)(ref, 'wheel', isDisabled ? undefined : onScrollHandler);\n}\n\n\nexport {$7d0a636d7a4dcefd$export$2123ff2b87c81ca as useScrollWheel};\n//# sourceMappingURL=useScrollWheel.module.js.map\n","import {snapValueToStep as $kNCPO$snapValueToStep, clamp as $kNCPO$clamp, useControlledState as $kNCPO$useControlledState} from \"@react-stately/utils\";\nimport {useFormValidationState as $kNCPO$useFormValidationState} from \"@react-stately/form\";\nimport {NumberFormatter as $kNCPO$NumberFormatter, NumberParser as $kNCPO$NumberParser} from \"@internationalized/number\";\nimport {useState as $kNCPO$useState, useMemo as $kNCPO$useMemo, useCallback as $kNCPO$useCallback} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $de67e98908f0c6ee$export$7f629e9dc1ecf37c(props) {\n let { minValue: minValue, maxValue: maxValue, step: step, formatOptions: formatOptions, value: value, defaultValue: defaultValue = NaN, onChange: onChange, locale: locale, isDisabled: isDisabled, isReadOnly: isReadOnly } = props;\n if (value === null) value = NaN;\n if (value !== undefined && !isNaN(value)) {\n if (step !== undefined && !isNaN(step)) value = (0, $kNCPO$snapValueToStep)(value, minValue, maxValue, step);\n else value = (0, $kNCPO$clamp)(value, minValue, maxValue);\n }\n if (!isNaN(defaultValue)) {\n if (step !== undefined && !isNaN(step)) defaultValue = (0, $kNCPO$snapValueToStep)(defaultValue, minValue, maxValue, step);\n else defaultValue = (0, $kNCPO$clamp)(defaultValue, minValue, maxValue);\n }\n let [numberValue, setNumberValue] = (0, $kNCPO$useControlledState)(value, isNaN(defaultValue) ? NaN : defaultValue, onChange);\n let [initialValue] = (0, $kNCPO$useState)(numberValue);\n let [inputValue, setInputValue] = (0, $kNCPO$useState)(()=>isNaN(numberValue) ? '' : new (0, $kNCPO$NumberFormatter)(locale, formatOptions).format(numberValue));\n let numberParser = (0, $kNCPO$useMemo)(()=>new (0, $kNCPO$NumberParser)(locale, formatOptions), [\n locale,\n formatOptions\n ]);\n let numberingSystem = (0, $kNCPO$useMemo)(()=>numberParser.getNumberingSystem(inputValue), [\n numberParser,\n inputValue\n ]);\n let formatter = (0, $kNCPO$useMemo)(()=>new (0, $kNCPO$NumberFormatter)(locale, {\n ...formatOptions,\n numberingSystem: numberingSystem\n }), [\n locale,\n formatOptions,\n numberingSystem\n ]);\n let intlOptions = (0, $kNCPO$useMemo)(()=>formatter.resolvedOptions(), [\n formatter\n ]);\n let format = (0, $kNCPO$useCallback)((value)=>isNaN(value) || value === null ? '' : formatter.format(value), [\n formatter\n ]);\n let validation = (0, $kNCPO$useFormValidationState)({\n ...props,\n value: numberValue\n });\n let clampStep = step !== undefined && !isNaN(step) ? step : 1;\n if (intlOptions.style === 'percent' && (step === undefined || isNaN(step))) clampStep = 0.01;\n // Update the input value when the number value or format options change. This is done\n // in a useEffect so that the controlled behavior is correct and we only update the\n // textfield after prop changes.\n let [prevValue, setPrevValue] = (0, $kNCPO$useState)(numberValue);\n let [prevLocale, setPrevLocale] = (0, $kNCPO$useState)(locale);\n let [prevFormatOptions, setPrevFormatOptions] = (0, $kNCPO$useState)(formatOptions);\n if (!Object.is(numberValue, prevValue) || locale !== prevLocale || formatOptions !== prevFormatOptions) {\n setInputValue(format(numberValue));\n setPrevValue(numberValue);\n setPrevLocale(locale);\n setPrevFormatOptions(formatOptions);\n }\n let parsedValue = (0, $kNCPO$useMemo)(()=>numberParser.parse(inputValue), [\n numberParser,\n inputValue\n ]);\n let commit = ()=>{\n // Set to empty state if input value is empty\n if (!inputValue.length) {\n setNumberValue(NaN);\n setInputValue(value === undefined ? '' : format(numberValue));\n return;\n }\n // if it failed to parse, then reset input to formatted version of current number\n if (isNaN(parsedValue)) {\n setInputValue(format(numberValue));\n return;\n }\n // Clamp to min and max, round to the nearest step, and round to specified number of digits\n let clampedValue;\n if (step === undefined || isNaN(step)) clampedValue = (0, $kNCPO$clamp)(parsedValue, minValue, maxValue);\n else clampedValue = (0, $kNCPO$snapValueToStep)(parsedValue, minValue, maxValue, step);\n clampedValue = numberParser.parse(format(clampedValue));\n setNumberValue(clampedValue);\n // in a controlled state, the numberValue won't change, so we won't go back to our old input without help\n setInputValue(format(value === undefined ? clampedValue : numberValue));\n validation.commitValidation();\n };\n let safeNextStep = (operation, minMax = 0)=>{\n let prev = parsedValue;\n if (isNaN(prev)) {\n // if the input is empty, start from the min/max value when incrementing/decrementing,\n // or zero if there is no min/max value defined.\n let newValue = isNaN(minMax) ? 0 : minMax;\n return (0, $kNCPO$snapValueToStep)(newValue, minValue, maxValue, clampStep);\n } else {\n // otherwise, first snap the current value to the nearest step. if it moves in the direction\n // we're going, use that value, otherwise add the step and snap that value.\n let newValue = (0, $kNCPO$snapValueToStep)(prev, minValue, maxValue, clampStep);\n if (operation === '+' && newValue > prev || operation === '-' && newValue < prev) return newValue;\n return (0, $kNCPO$snapValueToStep)($de67e98908f0c6ee$var$handleDecimalOperation(operation, prev, clampStep), minValue, maxValue, clampStep);\n }\n };\n let increment = ()=>{\n let newValue = safeNextStep('+', minValue);\n // if we've arrived at the same value that was previously in the state, the\n // input value should be updated to match\n // ex type 4, press increment, highlight the number in the input, type 4 again, press increment\n // you'd be at 5, then incrementing to 5 again, so no re-render would happen and 4 would be left in the input\n if (newValue === numberValue) setInputValue(format(newValue));\n setNumberValue(newValue);\n validation.commitValidation();\n };\n let decrement = ()=>{\n let newValue = safeNextStep('-', maxValue);\n if (newValue === numberValue) setInputValue(format(newValue));\n setNumberValue(newValue);\n validation.commitValidation();\n };\n let incrementToMax = ()=>{\n if (maxValue != null) {\n setNumberValue((0, $kNCPO$snapValueToStep)(maxValue, minValue, maxValue, clampStep));\n validation.commitValidation();\n }\n };\n let decrementToMin = ()=>{\n if (minValue != null) {\n setNumberValue(minValue);\n validation.commitValidation();\n }\n };\n let canIncrement = (0, $kNCPO$useMemo)(()=>!isDisabled && !isReadOnly && (isNaN(parsedValue) || maxValue === undefined || isNaN(maxValue) || (0, $kNCPO$snapValueToStep)(parsedValue, minValue, maxValue, clampStep) > parsedValue || $de67e98908f0c6ee$var$handleDecimalOperation('+', parsedValue, clampStep) <= maxValue), [\n isDisabled,\n isReadOnly,\n minValue,\n maxValue,\n clampStep,\n parsedValue\n ]);\n let canDecrement = (0, $kNCPO$useMemo)(()=>!isDisabled && !isReadOnly && (isNaN(parsedValue) || minValue === undefined || isNaN(minValue) || (0, $kNCPO$snapValueToStep)(parsedValue, minValue, maxValue, clampStep) < parsedValue || $de67e98908f0c6ee$var$handleDecimalOperation('-', parsedValue, clampStep) >= minValue), [\n isDisabled,\n isReadOnly,\n minValue,\n maxValue,\n clampStep,\n parsedValue\n ]);\n let validate = (value)=>numberParser.isValidPartialNumber(value, minValue, maxValue);\n return {\n ...validation,\n validate: validate,\n increment: increment,\n incrementToMax: incrementToMax,\n decrement: decrement,\n decrementToMin: decrementToMin,\n canIncrement: canIncrement,\n canDecrement: canDecrement,\n minValue: minValue,\n maxValue: maxValue,\n numberValue: parsedValue,\n defaultNumberValue: isNaN(defaultValue) ? initialValue : defaultValue,\n setNumberValue: setNumberValue,\n setInputValue: setInputValue,\n inputValue: inputValue,\n commit: commit\n };\n}\nfunction $de67e98908f0c6ee$var$handleDecimalOperation(operator, value1, value2) {\n let result = operator === '+' ? value1 + value2 : value1 - value2;\n // Check if we have decimals\n if (value1 % 1 !== 0 || value2 % 1 !== 0) {\n const value1Decimal = value1.toString().split('.');\n const value2Decimal = value2.toString().split('.');\n const value1DecimalLength = value1Decimal[1] && value1Decimal[1].length || 0;\n const value2DecimalLength = value2Decimal[1] && value2Decimal[1].length || 0;\n const multiplier = Math.pow(10, Math.max(value1DecimalLength, value2DecimalLength));\n // Transform the decimals to integers based on the precision\n value1 = Math.round(value1 * multiplier);\n value2 = Math.round(value2 * multiplier);\n // Perform the operation on integers values to make sure we don't get a fancy decimal value\n result = operator === '+' ? value1 + value2 : value1 - value2;\n // Transform the integer result back to decimal\n result /= multiplier;\n }\n return result;\n}\n\n\nexport {$de67e98908f0c6ee$export$7f629e9dc1ecf37c as useNumberFieldState};\n//# sourceMappingURL=useNumberFieldState.module.js.map\n","import {useTextField as $2d73ec29415bd339$export$712718f7aec83d5} from \"./useTextField.mjs\";\nimport {useEffectEvent as $jyGKS$useEffectEvent, mergeProps as $jyGKS$mergeProps} from \"@react-aria/utils\";\nimport {useEffect as $jyGKS$useEffect, useRef as $jyGKS$useRef} from \"react\";\n\n/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $d841c8010a73d545$var$supportsNativeBeforeInputEvent() {\n return typeof window !== 'undefined' && window.InputEvent && typeof InputEvent.prototype.getTargetRanges === 'function';\n}\nfunction $d841c8010a73d545$export$4f384c9210e583c3(props, state, inputRef) {\n // All browsers implement the 'beforeinput' event natively except Firefox\n // (currently behind a flag as of Firefox 84). React's polyfill does not\n // run in all cases that the native event fires, e.g. when deleting text.\n // Use the native event if available so that we can prevent invalid deletions.\n // We do not attempt to polyfill this in Firefox since it would be very complicated,\n // the benefit of doing so is fairly minor, and it's going to be natively supported soon.\n let onBeforeInputFallback = (0, $jyGKS$useEffectEvent)((e)=>{\n let input = inputRef.current;\n if (!input) return;\n // Compute the next value of the input if the event is allowed to proceed.\n // See https://www.w3.org/TR/input-events-2/#interface-InputEvent-Attributes for a full list of input types.\n let nextValue = null;\n switch(e.inputType){\n case 'historyUndo':\n case 'historyRedo':\n // Explicitly allow undo/redo. e.data is null in this case, but there's no need to validate,\n // because presumably the input would have already been validated previously.\n return;\n case 'insertLineBreak':\n // Explicitly allow \"insertLineBreak\" event, to allow onSubmit for \"enter\" key. e.data is null in this case.\n return;\n case 'deleteContent':\n case 'deleteByCut':\n case 'deleteByDrag':\n nextValue = input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);\n break;\n case 'deleteContentForward':\n // This is potentially incorrect, since the browser may actually delete more than a single UTF-16\n // character. In reality, a full Unicode grapheme cluster consisting of multiple UTF-16 characters\n // or code points may be deleted. However, in our currently supported locales, there are no such cases.\n // If we support additional locales in the future, this may need to change.\n nextValue = input.selectionEnd === input.selectionStart ? input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd + 1) : input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);\n break;\n case 'deleteContentBackward':\n nextValue = input.selectionEnd === input.selectionStart ? input.value.slice(0, input.selectionStart - 1) + input.value.slice(input.selectionStart) : input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);\n break;\n case 'deleteSoftLineBackward':\n case 'deleteHardLineBackward':\n nextValue = input.value.slice(input.selectionStart);\n break;\n default:\n if (e.data != null) nextValue = input.value.slice(0, input.selectionStart) + e.data + input.value.slice(input.selectionEnd);\n break;\n }\n // If we did not compute a value, or the new value is invalid, prevent the event\n // so that the browser does not update the input text, move the selection, or add to\n // the undo/redo stack.\n if (nextValue == null || !state.validate(nextValue)) e.preventDefault();\n });\n (0, $jyGKS$useEffect)(()=>{\n if (!$d841c8010a73d545$var$supportsNativeBeforeInputEvent() || !inputRef.current) return;\n let input = inputRef.current;\n input.addEventListener('beforeinput', onBeforeInputFallback, false);\n return ()=>{\n input.removeEventListener('beforeinput', onBeforeInputFallback, false);\n };\n }, [\n inputRef,\n onBeforeInputFallback\n ]);\n let onBeforeInput = !$d841c8010a73d545$var$supportsNativeBeforeInputEvent() ? (e)=>{\n let nextValue = e.target.value.slice(0, e.target.selectionStart) + e.data + e.target.value.slice(e.target.selectionEnd);\n if (!state.validate(nextValue)) e.preventDefault();\n } : null;\n let { labelProps: labelProps, inputProps: textFieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $2d73ec29415bd339$export$712718f7aec83d5)(props, inputRef);\n let compositionStartState = (0, $jyGKS$useRef)(null);\n return {\n inputProps: (0, $jyGKS$mergeProps)(textFieldProps, {\n onBeforeInput: onBeforeInput,\n onCompositionStart () {\n // Chrome does not implement Input Events Level 2, which specifies the insertFromComposition\n // and deleteByComposition inputType values for the beforeinput event. These are meant to occur\n // at the end of a composition (e.g. Pinyin IME, Android auto correct, etc.), and crucially, are\n // cancelable. The insertCompositionText and deleteCompositionText input types are not cancelable,\n // nor would we want to cancel them because the input from the user is incomplete at that point.\n // In Safari, insertFromComposition/deleteFromComposition will fire, however, allowing us to cancel\n // the final composition result if it is invalid. As a fallback for Chrome and Firefox, which either\n // don't support Input Events Level 2, or beforeinput at all, we store the state of the input when\n // the compositionstart event fires, and undo the changes in compositionend (below) if it is invalid.\n // Unfortunately, this messes up the undo/redo stack, but until insertFromComposition/deleteByComposition\n // are implemented, there is no other way to prevent composed input.\n // See https://bugs.chromium.org/p/chromium/issues/detail?id=1022204\n let { value: value, selectionStart: selectionStart, selectionEnd: selectionEnd } = inputRef.current;\n compositionStartState.current = {\n value: value,\n selectionStart: selectionStart,\n selectionEnd: selectionEnd\n };\n },\n onCompositionEnd () {\n if (inputRef.current && !state.validate(inputRef.current.value)) {\n // Restore the input value in the DOM immediately so we can synchronously update the selection position.\n // But also update the value in React state as well so it is correct for future updates.\n let { value: value, selectionStart: selectionStart, selectionEnd: selectionEnd } = compositionStartState.current;\n inputRef.current.value = value;\n inputRef.current.setSelectionRange(selectionStart, selectionEnd);\n state.setInputValue(value);\n }\n }\n }),\n labelProps: labelProps,\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n ...validation\n };\n}\n\n\nexport {$d841c8010a73d545$export$4f384c9210e583c3 as useFormattedTextField};\n//# sourceMappingURL=useFormattedTextField.module.js.map\n","var $fb78e0f6ab6349ed$exports = {};\n$fb78e0f6ab6349ed$exports = {\n \"decrease\": (args)=>`\\u{62E}\\u{641}\\u{636} ${args.fieldLabel}`,\n \"increase\": (args)=>`\\u{632}\\u{64A}\\u{627}\\u{62F}\\u{629} ${args.fieldLabel}`,\n \"numberField\": `\\u{62D}\\u{642}\\u{644} \\u{631}\\u{642}\\u{645}\\u{64A}`\n};\n\n\nexport {$fb78e0f6ab6349ed$exports as default};\n//# sourceMappingURL=ar-AE.module.js.map\n","var $2776acdd9959a647$exports = {};\n$2776acdd9959a647$exports = {\n \"decrease\": (args)=>`\\u{41D}\\u{430}\\u{43C}\\u{430}\\u{43B}\\u{44F}\\u{432}\\u{430}\\u{43D}\\u{435} ${args.fieldLabel}`,\n \"increase\": (args)=>`\\u{423}\\u{441}\\u{438}\\u{43B}\\u{432}\\u{430}\\u{43D}\\u{435} ${args.fieldLabel}`,\n \"numberField\": `\\u{41D}\\u{43E}\\u{43C}\\u{435}\\u{440} \\u{43D}\\u{430} \\u{43F}\\u{43E}\\u{43B}\\u{435}\\u{442}\\u{43E}`\n};\n\n\nexport {$2776acdd9959a647$exports as default};\n//# sourceMappingURL=bg-BG.module.js.map\n","var $741954410a365ad3$exports = {};\n$741954410a365ad3$exports = {\n \"decrease\": (args)=>`Sn\\xed\\u{17E}it ${args.fieldLabel}`,\n \"increase\": (args)=>`Zv\\xfd\\u{161}it ${args.fieldLabel}`,\n \"numberField\": `\\u{10C}\\xedseln\\xe9 pole`\n};\n\n\nexport {$741954410a365ad3$exports as default};\n//# sourceMappingURL=cs-CZ.module.js.map\n","var $8321ed0f8ab642f0$exports = {};\n$8321ed0f8ab642f0$exports = {\n \"decrease\": (args)=>`Reducer ${args.fieldLabel}`,\n \"increase\": (args)=>`\\xd8g ${args.fieldLabel}`,\n \"numberField\": `Talfelt`\n};\n\n\nexport {$8321ed0f8ab642f0$exports as default};\n//# sourceMappingURL=da-DK.module.js.map\n","var $92978e0c4ecafa32$exports = {};\n$92978e0c4ecafa32$exports = {\n \"decrease\": (args)=>`${args.fieldLabel} verringern`,\n \"increase\": (args)=>`${args.fieldLabel} erh\\xf6hen`,\n \"numberField\": `Nummernfeld`\n};\n\n\nexport {$92978e0c4ecafa32$exports as default};\n//# sourceMappingURL=de-DE.module.js.map\n","var $ac5ff71962864a84$exports = {};\n$ac5ff71962864a84$exports = {\n \"decrease\": (args)=>`\\u{39C}\\u{3B5}\\u{3AF}\\u{3C9}\\u{3C3}\\u{3B7} ${args.fieldLabel}`,\n \"increase\": (args)=>`\\u{391}\\u{3CD}\\u{3BE}\\u{3B7}\\u{3C3}\\u{3B7} ${args.fieldLabel}`,\n \"numberField\": `\\u{3A0}\\u{3B5}\\u{3B4}\\u{3AF}\\u{3BF} \\u{3B1}\\u{3C1}\\u{3B9}\\u{3B8}\\u{3BC}\\u{3BF}\\u{3CD}`\n};\n\n\nexport {$ac5ff71962864a84$exports as default};\n//# sourceMappingURL=el-GR.module.js.map\n","var $efe4685e2440d8be$exports = {};\n$efe4685e2440d8be$exports = {\n \"decrease\": (args)=>`Decrease ${args.fieldLabel}`,\n \"increase\": (args)=>`Increase ${args.fieldLabel}`,\n \"numberField\": `Number field`\n};\n\n\nexport {$efe4685e2440d8be$exports as default};\n//# sourceMappingURL=en-US.module.js.map\n","var $e50a9a48739b90e1$exports = {};\n$e50a9a48739b90e1$exports = {\n \"decrease\": (args)=>`Reducir ${args.fieldLabel}`,\n \"increase\": (args)=>`Aumentar ${args.fieldLabel}`,\n \"numberField\": `Campo de n\\xfamero`\n};\n\n\nexport {$e50a9a48739b90e1$exports as default};\n//# sourceMappingURL=es-ES.module.js.map\n","var $6e0d5294ecbb8ab6$exports = {};\n$6e0d5294ecbb8ab6$exports = {\n \"decrease\": (args)=>`V\\xe4henda ${args.fieldLabel}`,\n \"increase\": (args)=>`Suurenda ${args.fieldLabel}`,\n \"numberField\": `Numbri v\\xe4li`\n};\n\n\nexport {$6e0d5294ecbb8ab6$exports as default};\n//# sourceMappingURL=et-EE.module.js.map\n","var $e7129d65f607f77f$exports = {};\n$e7129d65f607f77f$exports = {\n \"decrease\": (args)=>`V\\xe4henn\\xe4 ${args.fieldLabel}`,\n \"increase\": (args)=>`Lis\\xe4\\xe4 ${args.fieldLabel}`,\n \"numberField\": `Numerokentt\\xe4`\n};\n\n\nexport {$e7129d65f607f77f$exports as default};\n//# sourceMappingURL=fi-FI.module.js.map\n","var $d72adf5b20573e34$exports = {};\n$d72adf5b20573e34$exports = {\n \"decrease\": (args)=>`Diminuer ${args.fieldLabel}`,\n \"increase\": (args)=>`Augmenter ${args.fieldLabel}`,\n \"numberField\": `Champ de nombre`\n};\n\n\nexport {$d72adf5b20573e34$exports as default};\n//# sourceMappingURL=fr-FR.module.js.map\n","var $a25c707e88b844a7$exports = {};\n$a25c707e88b844a7$exports = {\n \"decrease\": (args)=>`\\u{5D4}\\u{5E7}\\u{5D8}\\u{5DF} ${args.fieldLabel}`,\n \"increase\": (args)=>`\\u{5D4}\\u{5D2}\\u{5D3}\\u{5DC} ${args.fieldLabel}`,\n \"numberField\": `\\u{5E9}\\u{5D3}\\u{5D4} \\u{5DE}\\u{5E1}\\u{5E4}\\u{5E8}`\n};\n\n\nexport {$a25c707e88b844a7$exports as default};\n//# sourceMappingURL=he-IL.module.js.map\n","var $69b41140b9a4ca54$exports = {};\n$69b41140b9a4ca54$exports = {\n \"decrease\": (args)=>`Smanji ${args.fieldLabel}`,\n \"increase\": (args)=>`Pove\\u{107}aj ${args.fieldLabel}`,\n \"numberField\": `Polje broja`\n};\n\n\nexport {$69b41140b9a4ca54$exports as default};\n//# sourceMappingURL=hr-HR.module.js.map\n","var $81dab28f37f59d1a$exports = {};\n$81dab28f37f59d1a$exports = {\n \"decrease\": (args)=>`${args.fieldLabel} cs\\xf6kkent\\xe9se`,\n \"increase\": (args)=>`${args.fieldLabel} n\\xf6vel\\xe9se`,\n \"numberField\": `Sz\\xe1mmez\\u{151}`\n};\n\n\nexport {$81dab28f37f59d1a$exports as default};\n//# sourceMappingURL=hu-HU.module.js.map\n","var $866555b31f2d7711$exports = {};\n$866555b31f2d7711$exports = {\n \"decrease\": (args)=>`Riduci ${args.fieldLabel}`,\n \"increase\": (args)=>`Aumenta ${args.fieldLabel}`,\n \"numberField\": `Campo numero`\n};\n\n\nexport {$866555b31f2d7711$exports as default};\n//# sourceMappingURL=it-IT.module.js.map\n","var $dafcd55d52b9d371$exports = {};\n$dafcd55d52b9d371$exports = {\n \"decrease\": (args)=>`${args.fieldLabel}\\u{3092}\\u{7E2E}\\u{5C0F}`,\n \"increase\": (args)=>`${args.fieldLabel}\\u{3092}\\u{62E1}\\u{5927}`,\n \"numberField\": `\\u{6570}\\u{5024}\\u{30D5}\\u{30A3}\\u{30FC}\\u{30EB}\\u{30C9}`\n};\n\n\nexport {$dafcd55d52b9d371$exports as default};\n//# sourceMappingURL=ja-JP.module.js.map\n","var $f090c1f8c5da0145$exports = {};\n$f090c1f8c5da0145$exports = {\n \"decrease\": (args)=>`${args.fieldLabel} \\u{AC10}\\u{C18C}`,\n \"increase\": (args)=>`${args.fieldLabel} \\u{C99D}\\u{AC00}`,\n \"numberField\": `\\u{BC88}\\u{D638} \\u{D544}\\u{B4DC}`\n};\n\n\nexport {$f090c1f8c5da0145$exports as default};\n//# sourceMappingURL=ko-KR.module.js.map\n","var $6f10f3a13360a75c$exports = {};\n$6f10f3a13360a75c$exports = {\n \"decrease\": (args)=>`Suma\\u{17E}inti ${args.fieldLabel}`,\n \"increase\": (args)=>`Padidinti ${args.fieldLabel}`,\n \"numberField\": `Numerio laukas`\n};\n\n\nexport {$6f10f3a13360a75c$exports as default};\n//# sourceMappingURL=lt-LT.module.js.map\n","var $47432cefd4b7bd1b$exports = {};\n$47432cefd4b7bd1b$exports = {\n \"decrease\": (args)=>`Samazin\\u{101}\\u{161}ana ${args.fieldLabel}`,\n \"increase\": (args)=>`Palielin\\u{101}\\u{161}ana ${args.fieldLabel}`,\n \"numberField\": `Skait\\u{13C}u lauks`\n};\n\n\nexport {$47432cefd4b7bd1b$exports as default};\n//# sourceMappingURL=lv-LV.module.js.map\n","var $dc578a950a2bf23d$exports = {};\n$dc578a950a2bf23d$exports = {\n \"decrease\": (args)=>`Reduser ${args.fieldLabel}`,\n \"increase\": (args)=>`\\xd8k ${args.fieldLabel}`,\n \"numberField\": `Tallfelt`\n};\n\n\nexport {$dc578a950a2bf23d$exports as default};\n//# sourceMappingURL=nb-NO.module.js.map\n","var $353f1bfca4dc395a$exports = {};\n$353f1bfca4dc395a$exports = {\n \"decrease\": (args)=>`${args.fieldLabel} verlagen`,\n \"increase\": (args)=>`${args.fieldLabel} verhogen`,\n \"numberField\": `Getalveld`\n};\n\n\nexport {$353f1bfca4dc395a$exports as default};\n//# sourceMappingURL=nl-NL.module.js.map\n","var $241bc0bbd870e982$exports = {};\n$241bc0bbd870e982$exports = {\n \"decrease\": (args)=>`Zmniejsz ${args.fieldLabel}`,\n \"increase\": (args)=>`Zwi\\u{119}ksz ${args.fieldLabel}`,\n \"numberField\": `Pole numeru`\n};\n\n\nexport {$241bc0bbd870e982$exports as default};\n//# sourceMappingURL=pl-PL.module.js.map\n","var $da3005c7bd72b0a8$exports = {};\n$da3005c7bd72b0a8$exports = {\n \"decrease\": (args)=>`Diminuir ${args.fieldLabel}`,\n \"increase\": (args)=>`Aumentar ${args.fieldLabel}`,\n \"numberField\": `Campo de n\\xfamero`\n};\n\n\nexport {$da3005c7bd72b0a8$exports as default};\n//# sourceMappingURL=pt-BR.module.js.map\n","var $cf48bfc540882310$exports = {};\n$cf48bfc540882310$exports = {\n \"decrease\": (args)=>`Diminuir ${args.fieldLabel}`,\n \"increase\": (args)=>`Aumentar ${args.fieldLabel}`,\n \"numberField\": `Campo num\\xe9rico`\n};\n\n\nexport {$cf48bfc540882310$exports as default};\n//# sourceMappingURL=pt-PT.module.js.map\n","var $b63a28c481ab9ee3$exports = {};\n$b63a28c481ab9ee3$exports = {\n \"decrease\": (args)=>`Sc\\u{103}dere ${args.fieldLabel}`,\n \"increase\": (args)=>`Cre\\u{219}tere ${args.fieldLabel}`,\n \"numberField\": `C\\xe2mp numeric`\n};\n\n\nexport {$b63a28c481ab9ee3$exports as default};\n//# sourceMappingURL=ro-RO.module.js.map\n","var $19f9df95c2464ab6$exports = {};\n$19f9df95c2464ab6$exports = {\n \"decrease\": (args)=>`\\u{423}\\u{43C}\\u{435}\\u{43D}\\u{44C}\\u{448}\\u{435}\\u{43D}\\u{438}\\u{435} ${args.fieldLabel}`,\n \"increase\": (args)=>`\\u{423}\\u{432}\\u{435}\\u{43B}\\u{438}\\u{447}\\u{435}\\u{43D}\\u{438}\\u{435} ${args.fieldLabel}`,\n \"numberField\": `\\u{427}\\u{438}\\u{441}\\u{43B}\\u{43E}\\u{432}\\u{43E}\\u{435} \\u{43F}\\u{43E}\\u{43B}\\u{435}`\n};\n\n\nexport {$19f9df95c2464ab6$exports as default};\n//# sourceMappingURL=ru-RU.module.js.map\n","var $b272932a685e8482$exports = {};\n$b272932a685e8482$exports = {\n \"decrease\": (args)=>`Zn\\xed\\u{17E}i\\u{165} ${args.fieldLabel}`,\n \"increase\": (args)=>`Zv\\xfd\\u{161}i\\u{165} ${args.fieldLabel}`,\n \"numberField\": `\\u{10C}\\xedseln\\xe9 pole`\n};\n\n\nexport {$b272932a685e8482$exports as default};\n//# sourceMappingURL=sk-SK.module.js.map\n","var $cbaf8b5b61f9e544$exports = {};\n$cbaf8b5b61f9e544$exports = {\n \"decrease\": (args)=>`Upadati ${args.fieldLabel}`,\n \"increase\": (args)=>`Pove\\u{10D}ajte ${args.fieldLabel}`,\n \"numberField\": `\\u{160}tevil\\u{10D}no polje`\n};\n\n\nexport {$cbaf8b5b61f9e544$exports as default};\n//# sourceMappingURL=sl-SI.module.js.map\n","var $e0a3af6ac1449b2f$exports = {};\n$e0a3af6ac1449b2f$exports = {\n \"decrease\": (args)=>`Smanji ${args.fieldLabel}`,\n \"increase\": (args)=>`Pove\\u{107}aj ${args.fieldLabel}`,\n \"numberField\": `Polje broja`\n};\n\n\nexport {$e0a3af6ac1449b2f$exports as default};\n//# sourceMappingURL=sr-SP.module.js.map\n","var $71e167d2458a6019$exports = {};\n$71e167d2458a6019$exports = {\n \"decrease\": (args)=>`Minska ${args.fieldLabel}`,\n \"increase\": (args)=>`\\xd6ka ${args.fieldLabel}`,\n \"numberField\": `Nummerf\\xe4lt`\n};\n\n\nexport {$71e167d2458a6019$exports as default};\n//# sourceMappingURL=sv-SE.module.js.map\n","var $3719245abc082946$exports = {};\n$3719245abc082946$exports = {\n \"decrease\": (args)=>`${args.fieldLabel} azalt`,\n \"increase\": (args)=>`${args.fieldLabel} artt\\u{131}r`,\n \"numberField\": `Say\\u{131} alan\\u{131}`\n};\n\n\nexport {$3719245abc082946$exports as default};\n//# sourceMappingURL=tr-TR.module.js.map\n","var $2ccc589e2f51824d$exports = {};\n$2ccc589e2f51824d$exports = {\n \"decrease\": (args)=>`\\u{417}\\u{43C}\\u{435}\\u{43D}\\u{448}\\u{438}\\u{442}\\u{438} ${args.fieldLabel}`,\n \"increase\": (args)=>`\\u{417}\\u{431}\\u{456}\\u{43B}\\u{44C}\\u{448}\\u{438}\\u{442}\\u{438} ${args.fieldLabel}`,\n \"numberField\": `\\u{41F}\\u{43E}\\u{43B}\\u{435} \\u{43D}\\u{43E}\\u{43C}\\u{435}\\u{440}\\u{430}`\n};\n\n\nexport {$2ccc589e2f51824d$exports as default};\n//# sourceMappingURL=uk-UA.module.js.map\n","var $e1103cb9b4c13942$exports = {};\n$e1103cb9b4c13942$exports = {\n \"decrease\": (args)=>`\\u{964D}\\u{4F4E} ${args.fieldLabel}`,\n \"increase\": (args)=>`\\u{63D0}\\u{9AD8} ${args.fieldLabel}`,\n \"numberField\": `\\u{6570}\\u{5B57}\\u{5B57}\\u{6BB5}`\n};\n\n\nexport {$e1103cb9b4c13942$exports as default};\n//# sourceMappingURL=zh-CN.module.js.map\n","var $448607634f80dccb$exports = {};\n$448607634f80dccb$exports = {\n \"decrease\": (args)=>`\\u{7E2E}\\u{5C0F} ${args.fieldLabel}`,\n \"increase\": (args)=>`\\u{653E}\\u{5927} ${args.fieldLabel}`,\n \"numberField\": `\\u{6578}\\u{5B57}\\u{6B04}\\u{4F4D}`\n};\n\n\nexport {$448607634f80dccb$exports as default};\n//# sourceMappingURL=zh-TW.module.js.map\n","import $aC4gS$arAEmodulejs from \"./ar-AE.mjs\";\nimport $aC4gS$bgBGmodulejs from \"./bg-BG.mjs\";\nimport $aC4gS$csCZmodulejs from \"./cs-CZ.mjs\";\nimport $aC4gS$daDKmodulejs from \"./da-DK.mjs\";\nimport $aC4gS$deDEmodulejs from \"./de-DE.mjs\";\nimport $aC4gS$elGRmodulejs from \"./el-GR.mjs\";\nimport $aC4gS$enUSmodulejs from \"./en-US.mjs\";\nimport $aC4gS$esESmodulejs from \"./es-ES.mjs\";\nimport $aC4gS$etEEmodulejs from \"./et-EE.mjs\";\nimport $aC4gS$fiFImodulejs from \"./fi-FI.mjs\";\nimport $aC4gS$frFRmodulejs from \"./fr-FR.mjs\";\nimport $aC4gS$heILmodulejs from \"./he-IL.mjs\";\nimport $aC4gS$hrHRmodulejs from \"./hr-HR.mjs\";\nimport $aC4gS$huHUmodulejs from \"./hu-HU.mjs\";\nimport $aC4gS$itITmodulejs from \"./it-IT.mjs\";\nimport $aC4gS$jaJPmodulejs from \"./ja-JP.mjs\";\nimport $aC4gS$koKRmodulejs from \"./ko-KR.mjs\";\nimport $aC4gS$ltLTmodulejs from \"./lt-LT.mjs\";\nimport $aC4gS$lvLVmodulejs from \"./lv-LV.mjs\";\nimport $aC4gS$nbNOmodulejs from \"./nb-NO.mjs\";\nimport $aC4gS$nlNLmodulejs from \"./nl-NL.mjs\";\nimport $aC4gS$plPLmodulejs from \"./pl-PL.mjs\";\nimport $aC4gS$ptBRmodulejs from \"./pt-BR.mjs\";\nimport $aC4gS$ptPTmodulejs from \"./pt-PT.mjs\";\nimport $aC4gS$roROmodulejs from \"./ro-RO.mjs\";\nimport $aC4gS$ruRUmodulejs from \"./ru-RU.mjs\";\nimport $aC4gS$skSKmodulejs from \"./sk-SK.mjs\";\nimport $aC4gS$slSImodulejs from \"./sl-SI.mjs\";\nimport $aC4gS$srSPmodulejs from \"./sr-SP.mjs\";\nimport $aC4gS$svSEmodulejs from \"./sv-SE.mjs\";\nimport $aC4gS$trTRmodulejs from \"./tr-TR.mjs\";\nimport $aC4gS$ukUAmodulejs from \"./uk-UA.mjs\";\nimport $aC4gS$zhCNmodulejs from \"./zh-CN.mjs\";\nimport $aC4gS$zhTWmodulejs from \"./zh-TW.mjs\";\n\nvar $280a227d7cb94b92$exports = {};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$280a227d7cb94b92$exports = {\n \"ar-AE\": $aC4gS$arAEmodulejs,\n \"bg-BG\": $aC4gS$bgBGmodulejs,\n \"cs-CZ\": $aC4gS$csCZmodulejs,\n \"da-DK\": $aC4gS$daDKmodulejs,\n \"de-DE\": $aC4gS$deDEmodulejs,\n \"el-GR\": $aC4gS$elGRmodulejs,\n \"en-US\": $aC4gS$enUSmodulejs,\n \"es-ES\": $aC4gS$esESmodulejs,\n \"et-EE\": $aC4gS$etEEmodulejs,\n \"fi-FI\": $aC4gS$fiFImodulejs,\n \"fr-FR\": $aC4gS$frFRmodulejs,\n \"he-IL\": $aC4gS$heILmodulejs,\n \"hr-HR\": $aC4gS$hrHRmodulejs,\n \"hu-HU\": $aC4gS$huHUmodulejs,\n \"it-IT\": $aC4gS$itITmodulejs,\n \"ja-JP\": $aC4gS$jaJPmodulejs,\n \"ko-KR\": $aC4gS$koKRmodulejs,\n \"lt-LT\": $aC4gS$ltLTmodulejs,\n \"lv-LV\": $aC4gS$lvLVmodulejs,\n \"nb-NO\": $aC4gS$nbNOmodulejs,\n \"nl-NL\": $aC4gS$nlNLmodulejs,\n \"pl-PL\": $aC4gS$plPLmodulejs,\n \"pt-BR\": $aC4gS$ptBRmodulejs,\n \"pt-PT\": $aC4gS$ptPTmodulejs,\n \"ro-RO\": $aC4gS$roROmodulejs,\n \"ru-RU\": $aC4gS$ruRUmodulejs,\n \"sk-SK\": $aC4gS$skSKmodulejs,\n \"sl-SI\": $aC4gS$slSImodulejs,\n \"sr-SP\": $aC4gS$srSPmodulejs,\n \"sv-SE\": $aC4gS$svSEmodulejs,\n \"tr-TR\": $aC4gS$trTRmodulejs,\n \"uk-UA\": $aC4gS$ukUAmodulejs,\n \"zh-CN\": $aC4gS$zhCNmodulejs,\n \"zh-TW\": $aC4gS$zhTWmodulejs\n};\n\n\nexport {$280a227d7cb94b92$exports as default};\n//# sourceMappingURL=intlStrings.module.js.map\n","import $jvaNJ$intlStringsmodulejs from \"./intlStrings.mjs\";\nimport {useId as $jvaNJ$useId, isIPhone as $jvaNJ$isIPhone, isAndroid as $jvaNJ$isAndroid, filterDOMProps as $jvaNJ$filterDOMProps, chain as $jvaNJ$chain, useFormReset as $jvaNJ$useFormReset, mergeProps as $jvaNJ$mergeProps, isIOS as $jvaNJ$isIOS} from \"@react-aria/utils\";\nimport {useMemo as $jvaNJ$useMemo, useState as $jvaNJ$useState, useCallback as $jvaNJ$useCallback} from \"react\";\nimport {privateValidationStateProp as $jvaNJ$privateValidationStateProp} from \"@react-stately/form\";\nimport {useFocus as $jvaNJ$useFocus, useFocusWithin as $jvaNJ$useFocusWithin, useScrollWheel as $jvaNJ$useScrollWheel} from \"@react-aria/interactions\";\nimport {useFormattedTextField as $jvaNJ$useFormattedTextField} from \"@react-aria/textfield\";\nimport {useLocalizedStringFormatter as $jvaNJ$useLocalizedStringFormatter, useNumberFormatter as $jvaNJ$useNumberFormatter} from \"@react-aria/i18n\";\nimport {useSpinButton as $jvaNJ$useSpinButton} from \"@react-aria/spinbutton\";\n\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\nfunction $81397a9303501bda$export$23f548e970bdf099(props, state, inputRef) {\n let { id: id, decrementAriaLabel: decrementAriaLabel, incrementAriaLabel: incrementAriaLabel, isDisabled: isDisabled, isReadOnly: isReadOnly, isRequired: isRequired, minValue: minValue, maxValue: maxValue, autoFocus: autoFocus, label: label, formatOptions: formatOptions, onBlur: onBlur = ()=>{}, onFocus: onFocus, onFocusChange: onFocusChange, onKeyDown: onKeyDown, onKeyUp: onKeyUp, description: description, errorMessage: errorMessage, isWheelDisabled: isWheelDisabled, ...otherProps } = props;\n let { increment: increment, incrementToMax: incrementToMax, decrement: decrement, decrementToMin: decrementToMin, numberValue: numberValue, inputValue: inputValue, commit: commit, commitValidation: commitValidation } = state;\n const stringFormatter = (0, $jvaNJ$useLocalizedStringFormatter)((0, ($parcel$interopDefault($jvaNJ$intlStringsmodulejs))), '@react-aria/numberfield');\n let inputId = (0, $jvaNJ$useId)(id);\n let { focusProps: focusProps } = (0, $jvaNJ$useFocus)({\n onBlur () {\n // Set input value to normalized valid value\n commit();\n }\n });\n let numberFormatter = (0, $jvaNJ$useNumberFormatter)(formatOptions);\n let intlOptions = (0, $jvaNJ$useMemo)(()=>numberFormatter.resolvedOptions(), [\n numberFormatter\n ]);\n // Replace negative textValue formatted using currencySign: 'accounting'\n // with a textValue that can be announced using a minus sign.\n let textValueFormatter = (0, $jvaNJ$useNumberFormatter)({\n ...formatOptions,\n currencySign: undefined\n });\n let textValue = (0, $jvaNJ$useMemo)(()=>isNaN(numberValue) ? '' : textValueFormatter.format(numberValue), [\n textValueFormatter,\n numberValue\n ]);\n let { spinButtonProps: spinButtonProps, incrementButtonProps: incButtonProps, decrementButtonProps: decButtonProps } = (0, $jvaNJ$useSpinButton)({\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isRequired: isRequired,\n maxValue: maxValue,\n minValue: minValue,\n onIncrement: increment,\n onIncrementToMax: incrementToMax,\n onDecrement: decrement,\n onDecrementToMin: decrementToMin,\n value: numberValue,\n textValue: textValue\n });\n let [focusWithin, setFocusWithin] = (0, $jvaNJ$useState)(false);\n let { focusWithinProps: focusWithinProps } = (0, $jvaNJ$useFocusWithin)({\n isDisabled: isDisabled,\n onFocusWithinChange: setFocusWithin\n });\n let onWheel = (0, $jvaNJ$useCallback)((e)=>{\n // if on a trackpad, users can scroll in both X and Y at once, check the magnitude of the change\n // if it's mostly in the X direction, then just return, the user probably doesn't mean to inc/dec\n // this isn't perfect, events come in fast with small deltas and a part of the scroll may give a false indication\n // especially if the user is scrolling near 45deg\n if (Math.abs(e.deltaY) <= Math.abs(e.deltaX)) return;\n if (e.deltaY > 0) increment();\n else if (e.deltaY < 0) decrement();\n }, [\n decrement,\n increment\n ]);\n // If the input isn't supposed to receive input, disable scrolling.\n let scrollingDisabled = isWheelDisabled || isDisabled || isReadOnly || !focusWithin;\n (0, $jvaNJ$useScrollWheel)({\n onScroll: onWheel,\n isDisabled: scrollingDisabled\n }, inputRef);\n var _intlOptions_maximumFractionDigits;\n // The inputMode attribute influences the software keyboard that is shown on touch devices.\n // Browsers and operating systems are quite inconsistent about what keys are available, however.\n // We choose between numeric and decimal based on whether we allow negative and fractional numbers,\n // and based on testing on various devices to determine what keys are available in each inputMode.\n let hasDecimals = ((_intlOptions_maximumFractionDigits = intlOptions.maximumFractionDigits) !== null && _intlOptions_maximumFractionDigits !== void 0 ? _intlOptions_maximumFractionDigits : 0) > 0;\n let hasNegative = state.minValue === undefined || isNaN(state.minValue) || state.minValue < 0;\n let inputMode = 'numeric';\n if ((0, $jvaNJ$isIPhone)()) {\n // iPhone doesn't have a minus sign in either numeric or decimal.\n // Note this is only for iPhone, not iPad, which always has both\n // minus and decimal in numeric.\n if (hasNegative) inputMode = 'text';\n else if (hasDecimals) inputMode = 'decimal';\n } else if ((0, $jvaNJ$isAndroid)()) {\n // Android numeric has both a decimal point and minus key.\n // decimal does not have a minus key.\n if (hasNegative) inputMode = 'numeric';\n else if (hasDecimals) inputMode = 'decimal';\n }\n let onChange = (value)=>{\n if (state.validate(value)) state.setInputValue(value);\n };\n let domProps = (0, $jvaNJ$filterDOMProps)(props);\n let onKeyDownEnter = (0, $jvaNJ$useCallback)((e)=>{\n if (e.nativeEvent.isComposing) return;\n if (e.key === 'Enter') {\n commit();\n commitValidation();\n } else e.continuePropagation();\n }, [\n commit,\n commitValidation\n ]);\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;\n let { labelProps: labelProps, inputProps: textFieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $jvaNJ$useFormattedTextField)({\n ...otherProps,\n ...domProps,\n // These props are added to a hidden input rather than the formatted textfield.\n name: undefined,\n form: undefined,\n label: label,\n autoFocus: autoFocus,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isRequired: isRequired,\n validate: undefined,\n [(0, $jvaNJ$privateValidationStateProp)]: state,\n value: inputValue,\n defaultValue: '!',\n autoComplete: 'off',\n 'aria-label': props['aria-label'] || undefined,\n 'aria-labelledby': props['aria-labelledby'] || undefined,\n id: inputId,\n type: 'text',\n inputMode: inputMode,\n onChange: onChange,\n onBlur: onBlur,\n onFocus: onFocus,\n onFocusChange: onFocusChange,\n onKeyDown: (0, $jvaNJ$useMemo)(()=>(0, $jvaNJ$chain)(onKeyDownEnter, onKeyDown), [\n onKeyDownEnter,\n onKeyDown\n ]),\n onKeyUp: onKeyUp,\n description: description,\n errorMessage: errorMessage\n }, state, inputRef);\n (0, $jvaNJ$useFormReset)(inputRef, state.defaultNumberValue, state.setNumberValue);\n let inputProps = (0, $jvaNJ$mergeProps)(spinButtonProps, focusProps, textFieldProps, {\n // override the spinbutton role, we can't focus a spin button with VO\n role: null,\n // ignore aria-roledescription on iOS so that required state will announce when it is present\n 'aria-roledescription': !(0, $jvaNJ$isIOS)() ? stringFormatter.format('numberField') : null,\n 'aria-valuemax': null,\n 'aria-valuemin': null,\n 'aria-valuenow': null,\n 'aria-valuetext': null,\n autoCorrect: 'off',\n spellCheck: 'false'\n });\n if (props.validationBehavior === 'native') inputProps['aria-required'] = undefined;\n let onButtonPressStart = (e)=>{\n var _inputRef_current;\n // If focus is already on the input, keep it there so we don't hide the\n // software keyboard when tapping the increment/decrement buttons.\n if (document.activeElement === inputRef.current) return;\n // Otherwise, when using a mouse, move focus to the input.\n // On touch, or with a screen reader, focus the button so that the software\n // keyboard does not appear and the screen reader cursor is not moved off the button.\n if (e.pointerType === 'mouse') (_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.focus();\n else e.target.focus();\n };\n // Determine the label for the increment and decrement buttons. There are 4 cases:\n //\n // 1. With a visible label that is a string: aria-label: `Increase ${props.label}`\n // 2. With a visible label that is JSX: aria-label: 'Increase', aria-labelledby: '${incrementId} ${labelId}'\n // 3. With an aria-label: aria-label: `Increase ${props['aria-label']}`\n // 4. With an aria-labelledby: aria-label: 'Increase', aria-labelledby: `${incrementId} ${props['aria-labelledby']}`\n //\n // (1) and (2) could possibly be combined and both use aria-labelledby. However, placing the label in\n // the aria-label string rather than using aria-labelledby gives more flexibility to translators to change\n // the order or add additional words around the label if needed.\n let fieldLabel = props['aria-label'] || (typeof props.label === 'string' ? props.label : '');\n let ariaLabelledby;\n if (!fieldLabel) ariaLabelledby = props.label != null ? labelProps.id : props['aria-labelledby'];\n let incrementId = (0, $jvaNJ$useId)();\n let decrementId = (0, $jvaNJ$useId)();\n let incrementButtonProps = (0, $jvaNJ$mergeProps)(incButtonProps, {\n 'aria-label': incrementAriaLabel || stringFormatter.format('increase', {\n fieldLabel: fieldLabel\n }).trim(),\n id: ariaLabelledby && !incrementAriaLabel ? incrementId : null,\n 'aria-labelledby': ariaLabelledby && !incrementAriaLabel ? `${incrementId} ${ariaLabelledby}` : null,\n 'aria-controls': inputId,\n excludeFromTabOrder: true,\n preventFocusOnPress: true,\n allowFocusWhenDisabled: true,\n isDisabled: !state.canIncrement,\n onPressStart: onButtonPressStart\n });\n let decrementButtonProps = (0, $jvaNJ$mergeProps)(decButtonProps, {\n 'aria-label': decrementAriaLabel || stringFormatter.format('decrease', {\n fieldLabel: fieldLabel\n }).trim(),\n id: ariaLabelledby && !decrementAriaLabel ? decrementId : null,\n 'aria-labelledby': ariaLabelledby && !decrementAriaLabel ? `${decrementId} ${ariaLabelledby}` : null,\n 'aria-controls': inputId,\n excludeFromTabOrder: true,\n preventFocusOnPress: true,\n allowFocusWhenDisabled: true,\n isDisabled: !state.canDecrement,\n onPressStart: onButtonPressStart\n });\n return {\n groupProps: {\n ...focusWithinProps,\n role: 'group',\n 'aria-disabled': isDisabled,\n 'aria-invalid': isInvalid ? 'true' : undefined\n },\n labelProps: labelProps,\n inputProps: inputProps,\n incrementButtonProps: incrementButtonProps,\n decrementButtonProps: decrementButtonProps,\n errorMessageProps: errorMessageProps,\n descriptionProps: descriptionProps,\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$81397a9303501bda$export$23f548e970bdf099 as useNumberField};\n//# sourceMappingURL=useNumberField.module.js.map\n","import {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\nimport { Button as RaButton } from \"react-aria-components\";\nimport type { AriaButtonProps } from \"react-aria\";\n\nimport { numberInputRecipe } from \"./number-input.recipe\";\n\nexport interface NumberInputRecipeProps\n extends RecipeVariantProps<typeof numberInputRecipe>,\n UnstyledProp {}\n\nexport type NumberInputRootSlotProps = HTMLChakraProps<\n \"div\",\n NumberInputRecipeProps\n>;\n\nexport type NumberInputInputSlotProps = HTMLChakraProps<\n \"input\",\n NumberInputRecipeProps\n>;\n\nexport type NumberInputIncrementButtonSlotProps = HTMLChakraProps<\n \"button\",\n NumberInputRecipeProps\n> &\n AriaButtonProps;\n\nexport type NumberInputDecrementButtonSlotProps = HTMLChakraProps<\n \"button\",\n NumberInputRecipeProps\n> &\n AriaButtonProps;\n\nconst { withContext, withProvider } = createSlotRecipeContext({\n key: \"numberInput\",\n});\n\n/**\n * Root component that provides the styling context for the NumberInput component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const NumberInputRootSlot = withProvider<\n HTMLDivElement,\n NumberInputRootSlotProps\n>(\"div\", \"root\");\n\n/**\n * Input slot for NumberInput component.\n * Receives the styled classes for the actual input element.\n */\nexport const NumberInputInputSlot = withContext<\n HTMLInputElement,\n NumberInputInputSlotProps\n>(\"input\", \"input\");\n\n/**\n * Increment button slot for NumberInput component.\n * Uses react-aria Button for accessibility and interaction handling.\n */\nexport const NumberInputIncrementButtonSlot = withContext<\n typeof RaButton,\n NumberInputIncrementButtonSlotProps\n>(RaButton, \"incrementButton\");\n\n/**\n * Decrement button slot for NumberInput component.\n * Uses react-aria Button for accessibility and interaction handling.\n */\nexport const NumberInputDecrementButtonSlot = withContext<\n typeof RaButton,\n NumberInputDecrementButtonSlotProps\n>(RaButton, \"decrementButton\");\n","import { useRef } from \"react\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { useObjectRef, useNumberField, useLocale } from \"react-aria\";\nimport { useNumberFieldState } from \"react-stately\";\nimport { Box } from \"@/components\";\nimport {\n KeyboardArrowUp,\n KeyboardArrowDown,\n} from \"@commercetools/nimbus-icons\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport {\n NumberInputRootSlot,\n NumberInputInputSlot,\n NumberInputIncrementButtonSlot,\n NumberInputDecrementButtonSlot,\n} from \"./number-input.slots\";\nimport type { NumberInputProps } from \"./number-input.types\";\nimport { numberInputRecipe } from \"./number-input.recipe\";\n/**\n * # NumberInput\n *\n * A number input allows users to enter numerical values and adjust them incrementally.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/number-input}\n */\nexport const NumberInput = (props: NumberInputProps) => {\n const { size, ref: forwardedRef, ...restProps } = props;\n const { locale } = useLocale();\n\n const localRef = useRef<HTMLInputElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Split recipe props first\n const recipe = useSlotRecipe({ recipe: numberInputRecipe });\n const [recipeProps, recipeLessProps] = recipe.splitVariantProps(restProps);\n\n // Extract style props\n const [styleProps, functionalProps] = extractStyleProps(recipeLessProps);\n\n // Pass only functional props to react-aria\n const state = useNumberFieldState({ locale, ...functionalProps });\n const { inputProps, incrementButtonProps, decrementButtonProps } =\n useNumberField(functionalProps, state, ref);\n\n const stateProps = {\n \"data-invalid\": props.isInvalid,\n \"data-disabled\": props.isDisabled,\n };\n\n return (\n <NumberInputRootSlot {...recipeProps} {...styleProps} size={size}>\n <NumberInputInputSlot\n ref={ref}\n {...inputProps}\n {...stateProps}\n size={size}\n />\n <Box\n position=\"absolute\"\n top=\"0\"\n right=\"0\"\n display=\"flex\"\n flexDirection=\"column\"\n height=\"full\"\n >\n <NumberInputIncrementButtonSlot\n aria-label=\"Increment\"\n {...incrementButtonProps}\n {...stateProps}\n >\n <KeyboardArrowUp />\n </NumberInputIncrementButtonSlot>\n <NumberInputDecrementButtonSlot\n aria-label=\"Decrement\"\n {...decrementButtonProps}\n {...stateProps}\n >\n <KeyboardArrowDown />\n </NumberInputDecrementButtonSlot>\n </Box>\n </NumberInputRootSlot>\n );\n};\n\nNumberInput.displayName = \"NumberInput\";\n"],"names":["$e9faafb641e167db$export$90fc3a17d93f704c","ref","event","handler","options","handleEvent","$8ae05eaa5c114e9c$export$7f54fc3180508a52","isDisabled","$ceQd6$useEffect","element","$7d0a636d7a4dcefd$export$2123ff2b87c81ca","props","onScroll","onScrollHandler","$nrdL2$useCallback","e","$nrdL2$useEvent","$de67e98908f0c6ee$export$7f629e9dc1ecf37c","minValue","maxValue","step","formatOptions","value","defaultValue","onChange","locale","isReadOnly","$kNCPO$snapValueToStep","$kNCPO$clamp","numberValue","setNumberValue","$kNCPO$useControlledState","initialValue","$kNCPO$useState","inputValue","setInputValue","$kNCPO$NumberFormatter","numberParser","$kNCPO$useMemo","$kNCPO$NumberParser","numberingSystem","formatter","intlOptions","format","$kNCPO$useCallback","validation","$kNCPO$useFormValidationState","clampStep","prevValue","setPrevValue","prevLocale","setPrevLocale","prevFormatOptions","setPrevFormatOptions","parsedValue","commit","clampedValue","safeNextStep","operation","minMax","prev","newValue","$de67e98908f0c6ee$var$handleDecimalOperation","increment","decrement","incrementToMax","decrementToMin","canIncrement","canDecrement","operator","value1","value2","result","value1Decimal","value2Decimal","value1DecimalLength","value2DecimalLength","multiplier","$d841c8010a73d545$var$supportsNativeBeforeInputEvent","$d841c8010a73d545$export$4f384c9210e583c3","state","inputRef","onBeforeInputFallback","$jyGKS$useEffectEvent","input","nextValue","$jyGKS$useEffect","onBeforeInput","labelProps","textFieldProps","descriptionProps","errorMessageProps","$2d73ec29415bd339$export$712718f7aec83d5","compositionStartState","$jyGKS$useRef","$jyGKS$mergeProps","selectionStart","selectionEnd","$fb78e0f6ab6349ed$exports","args","$2776acdd9959a647$exports","$741954410a365ad3$exports","$8321ed0f8ab642f0$exports","$92978e0c4ecafa32$exports","$ac5ff71962864a84$exports","$efe4685e2440d8be$exports","$e50a9a48739b90e1$exports","$6e0d5294ecbb8ab6$exports","$e7129d65f607f77f$exports","$d72adf5b20573e34$exports","$a25c707e88b844a7$exports","$69b41140b9a4ca54$exports","$81dab28f37f59d1a$exports","$866555b31f2d7711$exports","$dafcd55d52b9d371$exports","$f090c1f8c5da0145$exports","$6f10f3a13360a75c$exports","$47432cefd4b7bd1b$exports","$dc578a950a2bf23d$exports","$353f1bfca4dc395a$exports","$241bc0bbd870e982$exports","$da3005c7bd72b0a8$exports","$cf48bfc540882310$exports","$b63a28c481ab9ee3$exports","$19f9df95c2464ab6$exports","$b272932a685e8482$exports","$cbaf8b5b61f9e544$exports","$e0a3af6ac1449b2f$exports","$71e167d2458a6019$exports","$3719245abc082946$exports","$2ccc589e2f51824d$exports","$e1103cb9b4c13942$exports","$448607634f80dccb$exports","$280a227d7cb94b92$exports","$aC4gS$arAEmodulejs","$aC4gS$bgBGmodulejs","$aC4gS$csCZmodulejs","$aC4gS$daDKmodulejs","$aC4gS$deDEmodulejs","$aC4gS$elGRmodulejs","$aC4gS$enUSmodulejs","$aC4gS$esESmodulejs","$aC4gS$etEEmodulejs","$aC4gS$fiFImodulejs","$aC4gS$frFRmodulejs","$aC4gS$heILmodulejs","$aC4gS$hrHRmodulejs","$aC4gS$huHUmodulejs","$aC4gS$itITmodulejs","$aC4gS$jaJPmodulejs","$aC4gS$koKRmodulejs","$aC4gS$ltLTmodulejs","$aC4gS$lvLVmodulejs","$aC4gS$nbNOmodulejs","$aC4gS$nlNLmodulejs","$aC4gS$plPLmodulejs","$aC4gS$ptBRmodulejs","$aC4gS$ptPTmodulejs","$aC4gS$roROmodulejs","$aC4gS$ruRUmodulejs","$aC4gS$skSKmodulejs","$aC4gS$slSImodulejs","$aC4gS$srSPmodulejs","$aC4gS$svSEmodulejs","$aC4gS$trTRmodulejs","$aC4gS$ukUAmodulejs","$aC4gS$zhCNmodulejs","$aC4gS$zhTWmodulejs","$parcel$interopDefault","a","$81397a9303501bda$export$23f548e970bdf099","id","decrementAriaLabel","incrementAriaLabel","isRequired","autoFocus","label","onBlur","onFocus","onFocusChange","onKeyDown","onKeyUp","description","errorMessage","isWheelDisabled","otherProps","commitValidation","stringFormatter","$jvaNJ$useLocalizedStringFormatter","$jvaNJ$intlStringsmodulejs","inputId","$jvaNJ$useId","focusProps","$jvaNJ$useFocus","numberFormatter","$jvaNJ$useNumberFormatter","$jvaNJ$useMemo","textValueFormatter","textValue","spinButtonProps","incButtonProps","decButtonProps","$jvaNJ$useSpinButton","focusWithin","setFocusWithin","$jvaNJ$useState","focusWithinProps","$jvaNJ$useFocusWithin","onWheel","$jvaNJ$useCallback","$jvaNJ$useScrollWheel","_intlOptions_maximumFractionDigits","hasDecimals","hasNegative","inputMode","$jvaNJ$isIPhone","$jvaNJ$isAndroid","domProps","$jvaNJ$filterDOMProps","onKeyDownEnter","isInvalid","validationErrors","validationDetails","$jvaNJ$useFormattedTextField","$jvaNJ$privateValidationStateProp","$jvaNJ$chain","$jvaNJ$useFormReset","inputProps","$jvaNJ$mergeProps","$jvaNJ$isIOS","onButtonPressStart","_inputRef_current","fieldLabel","ariaLabelledby","incrementId","decrementId","incrementButtonProps","decrementButtonProps","withContext","withProvider","createSlotRecipeContext","NumberInputRootSlot","NumberInputInputSlot","NumberInputIncrementButtonSlot","RaButton","NumberInputDecrementButtonSlot","NumberInput","size","forwardedRef","restProps","useLocale","localRef","useRef","useObjectRef","mergeRefs","recipe","useSlotRecipe","numberInputRecipe","recipeProps","recipeLessProps","styleProps","functionalProps","extractStyleProps","useNumberFieldState","useNumberField","stateProps","jsx","jsxs","Box","KeyboardArrowUp","KeyboardArrow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AAA,cACV,GAAGR;AAAA,cACH,GAAG4B;AAAA,cAEJ,4BAACK,IAAA,CAAA,CAAkB;AAAA,YAAA;AAAA,UAAA;AAAA,QACrB;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;AAEAxB,GAAY,cAAc;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const I=require("react/jsx-runtime"),z=require("./index-COhQ_99G.cjs.js"),h=require("./utils-CB9xZl-T.cjs.js"),J=require("./FieldError-DyGFfqST.cjs.js"),Q=require("./Form-BuOomA4T.cjs.js"),X=require("./Label-DSG_MTc3.cjs.js"),Y=require("./Text-BWSfeB9p.cjs.js"),m=require("./mergeProps-DRkWdaVg.cjs.js"),F=require("./filterDOMProps-WUskt27c.cjs.js"),Z=require("./useObjectRef-dXOJdONs.cjs.js"),n=require("react"),ee=require("./useFormReset-7-vYPDFJ.cjs.js"),w=require("./usePress-_EFFCs1n.cjs.js"),ae=require("./useFocusable-BKWax3sD.cjs.js"),L=require("./useFormValidation-B5jwexNB.cjs.js"),ie=require("./domHelpers-YAYZ9fE9.cjs.js"),re=require("./FocusScope-sU1ErK5w.cjs.js"),de=require("./useFocusWithin-BcxLc412.cjs.js"),te=require("./useField-D5vZhNS3.cjs.js"),oe=require("./context-D0_cRaDZ.cjs.js"),N=require("./useFocusRing-DjMwdeTr.cjs.js"),le=require("./useHover-BmNjdf-e.cjs.js"),ne=require("./VisuallyHidden-DFP8AIDZ.cjs.js"),se=require("./useControlledState-D0L6S_5r.cjs.js"),j=require("./extractStyleProps-yFm0qaXg.cjs.js"),T=require("./create-slot-recipe-context-HIF51Igr.cjs.js"),_=require("@commercetools/nimbus-icons"),H=new WeakMap;function ce(a,e,r){let{value:d,children:o,"aria-label":t,"aria-labelledby":u,onPressStart:i,onPressEnd:s,onPressChange:$,onPress:l,onPressUp:c,onClick:p}=a;const b=a.isDisabled||e.isDisabled;let V=o!=null,x=t!=null||u!=null;!V&&!x&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let R=e.selectedValue===d,S=C=>{C.stopPropagation(),e.setSelectedValue(d)},{pressProps:D,isPressed:g}=w.$f6c31cce2adf654f$export$45712eceda6fad21({onPressStart:i,onPressEnd:s,onPressChange:$,onPress:l,onPressUp:c,onClick:p,isDisabled:b}),{pressProps:O,isPressed:P}=w.$f6c31cce2adf654f$export$45712eceda6fad21({onPressStart:i,onPressEnd:s,onPressChange:$,onPressUp:c,onClick:p,isDisabled:b,onPress(C){var M;l?.(C),e.setSelectedValue(d),(M=r.current)===null||M===void 0||M.focus()}}),{focusableProps:f}=ae.$f645667febf57a63$export$4c014de7c8940b4c(m.$3ef42575df84b30b$export$9d1611c77c2fe928(a,{onFocus:()=>e.setLastFocusedValue(d)}),r),y=m.$3ef42575df84b30b$export$9d1611c77c2fe928(D,f),v=F.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a,{labelable:!0}),q=-1;e.selectedValue!=null?e.selectedValue===d&&(q=0):(e.lastFocusedValue===d||e.lastFocusedValue==null)&&(q=0),b&&(q=void 0);let{name:U,form:A,descriptionId:G,errorMessageId:K,validationBehavior:E}=H.get(e);return ee.$99facab73266f662$export$5add1d006293d136(r,e.defaultSelectedValue,e.setSelectedValue),L.$e93e671b31057976$export$b8473d3665f3a75a({validationBehavior:E},e,r),{labelProps:m.$3ef42575df84b30b$export$9d1611c77c2fe928(O,{onClick:C=>C.preventDefault()}),inputProps:m.$3ef42575df84b30b$export$9d1611c77c2fe928(v,{...y,type:"radio",name:U,form:A,tabIndex:q,disabled:b,required:e.isRequired&&E==="native",checked:R,value:d,onChange:S,"aria-describedby":[a["aria-describedby"],e.isInvalid?K:null,G].filter(Boolean).join(" ")||void 0}),isDisabled:b,isSelected:R,isPressed:g||P}}function ue(a,e){let{name:r,form:d,isReadOnly:o,isRequired:t,isDisabled:u,orientation:i="vertical",validationBehavior:s="aria"}=a,{direction:$}=oe.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),{isInvalid:l,validationErrors:c,validationDetails:p}=e.displayValidation,{labelProps:b,fieldProps:V,descriptionProps:x,errorMessageProps:R}=te.$2baaea4c71418dea$export$294aa081a6c6f55d({...a,labelElementType:"span",isInvalid:e.isInvalid,errorMessage:a.errorMessage||c}),S=F.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a,{labelable:!0}),{focusWithinProps:D}=de.$9ab94262bd0047c7$export$420e68273165f4ec({onBlurWithin(P){var f;(f=a.onBlur)===null||f===void 0||f.call(a,P),e.selectedValue||e.setLastFocusedValue(null)},onFocusWithin:a.onFocus,onFocusWithinChange:a.onFocusChange}),g=P=>{let f;switch(P.key){case"ArrowRight":$==="rtl"&&i!=="vertical"?f="prev":f="next";break;case"ArrowLeft":$==="rtl"&&i!=="vertical"?f="next":f="prev";break;case"ArrowDown":f="next";break;case"ArrowUp":f="prev";break;default:return}P.preventDefault();let y=re.$9bf71ea28793e738$export$2d6ec8fc375ceafa(P.currentTarget,{from:P.target,accept:q=>q instanceof ie.$431fbd86ca7dc216$export$f21a1ffae260145a(q).HTMLInputElement&&q.type==="radio"}),v;f==="next"?(v=y.nextNode(),v||(y.currentNode=P.currentTarget,v=y.firstChild())):(v=y.previousNode(),v||(y.currentNode=P.currentTarget,v=y.lastChild())),v&&(v.focus(),e.setSelectedValue(v.value))},O=m.$bdb11010cef70236$export$f680877a34711e37(r);return H.set(e,{name:O,form:d,descriptionId:x.id,errorMessageId:R.id,validationBehavior:s}),{radioGroupProps:m.$3ef42575df84b30b$export$9d1611c77c2fe928(S,{role:"radiogroup",onKeyDown:g,"aria-invalid":e.isInvalid||void 0,"aria-errormessage":a["aria-errormessage"],"aria-readonly":o||void 0,"aria-required":t||void 0,"aria-disabled":u||void 0,"aria-orientation":i,...V,...D}),labelProps:b,descriptionProps:x,errorMessageProps:R,isInvalid:l,validationErrors:c,validationDetails:p}}let fe=Math.round(Math.random()*1e10),$e=0;function be(a){let e=n.useMemo(()=>a.name||`radio-group-${fe}-${++$e}`,[a.name]);var r;let[d,o]=se.$458b0a5536c1a7cf$export$40bfa8c7b0832715(a.value,(r=a.defaultValue)!==null&&r!==void 0?r:null,a.onChange),[t]=n.useState(d),[u,i]=n.useState(null),s=L.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...a,value:d}),$=p=>{!a.isReadOnly&&!a.isDisabled&&(o(p),s.commitValidation())},l=s.displayValidation.isInvalid;var c;return{...s,name:e,selectedValue:d,defaultSelectedValue:a.value!==void 0?t:(c=a.defaultValue)!==null&&c!==void 0?c:null,setSelectedValue:$,lastFocusedValue:u,setLastFocusedValue:i,isDisabled:a.isDisabled||!1,isReadOnly:a.isReadOnly||!1,isRequired:a.isRequired||!1,validationState:a.validationState||(l?"invalid":null),isInvalid:l}}const pe=n.createContext(null),ve=n.createContext(null),W=n.createContext(null),Pe=n.forwardRef(function(e,r){[e,r]=h.$64fa3d84918910a7$export$29f1550f4b0d4415(e,r,pe);let{validationBehavior:d}=h.$64fa3d84918910a7$export$fabf2dc03a41866e(Q.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var o,t;let u=(t=(o=e.validationBehavior)!==null&&o!==void 0?o:d)!==null&&t!==void 0?t:"native",i=be({...e,validationBehavior:u}),[s,$]=h.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{radioGroupProps:l,labelProps:c,descriptionProps:p,errorMessageProps:b,...V}=ue({...e,label:$,validationBehavior:u},i),x=h.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{orientation:e.orientation||"vertical",isDisabled:i.isDisabled,isReadOnly:i.isReadOnly,isRequired:i.isRequired,isInvalid:i.isInvalid,state:i},defaultClassName:"react-aria-RadioGroup"}),R=F.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return n.createElement("div",{...m.$3ef42575df84b30b$export$9d1611c77c2fe928(R,x,l),ref:r,slot:e.slot||void 0,"data-orientation":e.orientation||"vertical","data-invalid":i.isInvalid||void 0,"data-disabled":i.isDisabled||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":i.isRequired||void 0},n.createElement(h.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[W,i],[X.$01b77f81d0f07f68$export$75b6ee27786ba447,{...c,ref:s,elementType:"span"}],[Y.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:p,errorMessage:b}}],[J.$ee014567cb39d3f0$export$ff05c3ac10437e03,V]]},x.children))}),xe=n.forwardRef(function(e,r){let{inputRef:d=null,...o}=e;[e,r]=h.$64fa3d84918910a7$export$29f1550f4b0d4415(o,r,ve);let t=n.useContext(W),u=Z.$df56164dff5785e2$export$4338b53315abf666(n.useMemo(()=>h.$5dc95899b306f630$export$c9058316764c140e(d,e.inputRef!==void 0?e.inputRef:null),[d,e.inputRef])),{labelProps:i,inputProps:s,isSelected:$,isDisabled:l,isPressed:c}=ce({...h.$64fa3d84918910a7$export$ef03459518577ad4(e),children:typeof e.children=="function"?!0:e.children},t,u),{isFocused:p,isFocusVisible:b,focusProps:V}=N.$f7dceffc5ad7768b$export$4e328f61c538687f(),x=l||t.isReadOnly,{hoverProps:R,isHovered:S}=le.$6179b936705e76d3$export$ae780daf29e6d456({...e,isDisabled:x}),D=h.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-Radio",values:{isSelected:$,isPressed:c,isHovered:S,isFocused:p,isFocusVisible:b,isDisabled:l,isReadOnly:t.isReadOnly,isInvalid:t.isInvalid,isRequired:t.isRequired}}),g=F.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return delete g.id,delete g.onClick,n.createElement("label",{...m.$3ef42575df84b30b$export$9d1611c77c2fe928(g,i,R,D),ref:r,"data-selected":$||void 0,"data-pressed":c||void 0,"data-hovered":S||void 0,"data-focused":p||void 0,"data-focus-visible":b||void 0,"data-disabled":l||void 0,"data-readonly":t.isReadOnly||void 0,"data-invalid":t.isInvalid||void 0,"data-required":t.isRequired||void 0},n.createElement(ne.$5c3e21d68f1c4674$export$439d29a4e110a164,{elementType:"span"},n.createElement("input",{...m.$3ef42575df84b30b$export$9d1611c77c2fe928(s,V),ref:u})),D.children)}),{withProvider:Re,withContext:he}=T.createSlotRecipeContext({key:"radioInput"}),me=Re("div","root"),ye=he("span","option"),B=a=>{const e=T.useSlotRecipe({recipe:z.radioInputSlotRecipe}),[r,d]=e.splitVariantProps(a),[o,t]=j.extractStyleProps(d);return I.jsx(me,{...r,...o,asChild:!0,children:I.jsx(Pe,{...t,children:a.children})})};B.displayName="RadioInputRoot";const k=({children:a,value:e,...r})=>{const[d,o]=j.extractStyleProps(r),{isFocused:t,focusProps:u}=N.$f7dceffc5ad7768b$export$4e328f61c538687f();return I.jsx(ye,{...d,...u,"data-focus":t||void 0,asChild:!0,children:I.jsx(xe,{value:e,...o,children:i=>{const s=typeof a=="function"?a({...i}):a;return I.jsxs(I.Fragment,{children:[i.isSelected?I.jsx(_.RadioButtonChecked,{}):I.jsx(_.RadioButtonUnchecked,{}),s]})}})})};k.displayName="RadioInputOption";const qe={Root:B,Option:k};exports.RadioInput=qe;exports.RadioInputOption=k;exports.RadioInputRoot=B;
|
|
2
|
-
//# sourceMappingURL=radio-input-BlE9GNwl.cjs.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";function s(e,l){if(!e)return!1;let t=window.getComputedStyle(e),o=/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY);return o&&l&&(o=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),o}function S(e,l){let t=e;for(s(t,l)&&(t=t.parentElement);t&&!s(t,l);)t=t.parentElement;return t||document.scrollingElement||document.documentElement}function y(e,l){const t=[];for(;e&&e!==document.documentElement;)s(e,l)&&t.push(e),e=e.parentElement;return t}function L(e,l){let t=x(e,l,"left"),o=x(e,l,"top"),d=l.offsetWidth,r=l.offsetHeight,f=e.scrollLeft,n=e.scrollTop,{borderTopWidth:c,borderLeftWidth:i,scrollPaddingTop:u,scrollPaddingRight:a,scrollPaddingBottom:T,scrollPaddingLeft:m}=getComputedStyle(e),W=f+parseInt(i,10),b=n+parseInt(c,10),p=W+e.clientWidth,$=b+e.clientHeight,v=parseInt(u,10)||0,P=parseInt(T,10)||0,h=parseInt(a,10)||0,g=parseInt(m,10)||0;t<=f+g?f=t-parseInt(i,10)-g:t+d>p-h&&(f+=t+d-p+h),o<=b+v?n=o-parseInt(c,10)-v:o+r>$-P&&(n+=o+r-$+P),e.scrollLeft=f,e.scrollTop=n}function x(e,l,t){const o=t==="left"?"offsetLeft":"offsetTop";let d=0;for(;l.offsetParent&&(d+=l[o],l.offsetParent!==e);){if(l.offsetParent.contains(e)){d-=e[o];break}l=l.offsetParent}return d}function B(e,l){if(e&&document.contains(e)){let f=document.scrollingElement||document.documentElement;if(window.getComputedStyle(f).overflow==="hidden"){let c=y(e);for(let i of c)L(i,e)}else{var t;let{left:c,top:i}=e.getBoundingClientRect();e==null||(t=e.scrollIntoView)===null||t===void 0||t.call(e,{block:"nearest"});let{left:u,top:a}=e.getBoundingClientRect();if(Math.abs(c-u)>1||Math.abs(i-a)>1){var o,d,r;l==null||(d=l.containingElement)===null||d===void 0||(o=d.scrollIntoView)===null||o===void 0||o.call(d,{block:"center",inline:"center"}),(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"})}}}}exports.$2f04cbc44ee30ce0$export$53a0910f038337bd=L;exports.$2f04cbc44ee30ce0$export$c826860796309d1b=B;exports.$62d8ded9296f3872$export$cfa2225e87938781=S;exports.$cc38e7bd3fc7b213$export$2bb74740c4e19def=s;
|
|
2
|
-
//# sourceMappingURL=scrollIntoView-B2eLOBfw.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scrollIntoView-B2eLOBfw.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/isScrollable.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/getScrollParent.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/getScrollParents.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/scrollIntoView.mjs"],"sourcesContent":["/*\n * Copyright 2024 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 */ function $cc38e7bd3fc7b213$export$2bb74740c4e19def(node, checkForOverflow) {\n if (!node) return false;\n let style = window.getComputedStyle(node);\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n return isScrollable;\n}\n\n\nexport {$cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable};\n//# sourceMappingURL=isScrollable.module.js.map\n","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","import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\n\n/*\n * Copyright 2024 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 $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(node, checkForOverflow) {\n const scrollParents = [];\n while(node && node !== document.documentElement){\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(node, checkForOverflow)) scrollParents.push(node);\n node = node.parentElement;\n }\n return scrollParents;\n}\n\n\nexport {$a40c673dc9f6d9c7$export$94ed1c92c7beeb22 as getScrollParents};\n//# sourceMappingURL=getScrollParents.module.js.map\n","import {getScrollParents as $a40c673dc9f6d9c7$export$94ed1c92c7beeb22} from \"./getScrollParents.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 $2f04cbc44ee30ce0$export$53a0910f038337bd(scrollView, element) {\n let offsetX = $2f04cbc44ee30ce0$var$relativeOffset(scrollView, element, 'left');\n let offsetY = $2f04cbc44ee30ce0$var$relativeOffset(scrollView, element, 'top');\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n let x = scrollView.scrollLeft;\n let y = scrollView.scrollTop;\n // Account for top/left border offsetting the scroll top/Left + scroll padding\n let { borderTopWidth: borderTopWidth, borderLeftWidth: borderLeftWidth, scrollPaddingTop: scrollPaddingTop, scrollPaddingRight: scrollPaddingRight, scrollPaddingBottom: scrollPaddingBottom, scrollPaddingLeft: scrollPaddingLeft } = getComputedStyle(scrollView);\n let borderAdjustedX = x + parseInt(borderLeftWidth, 10);\n let borderAdjustedY = y + parseInt(borderTopWidth, 10);\n // Ignore end/bottom border via clientHeight/Width instead of offsetHeight/Width\n let maxX = borderAdjustedX + scrollView.clientWidth;\n let maxY = borderAdjustedY + scrollView.clientHeight;\n // Get scroll padding values as pixels - defaults to 0 if no scroll padding\n // is used.\n let scrollPaddingTopNumber = parseInt(scrollPaddingTop, 10) || 0;\n let scrollPaddingBottomNumber = parseInt(scrollPaddingBottom, 10) || 0;\n let scrollPaddingRightNumber = parseInt(scrollPaddingRight, 10) || 0;\n let scrollPaddingLeftNumber = parseInt(scrollPaddingLeft, 10) || 0;\n if (offsetX <= x + scrollPaddingLeftNumber) x = offsetX - parseInt(borderLeftWidth, 10) - scrollPaddingLeftNumber;\n else if (offsetX + width > maxX - scrollPaddingRightNumber) x += offsetX + width - maxX + scrollPaddingRightNumber;\n if (offsetY <= borderAdjustedY + scrollPaddingTopNumber) y = offsetY - parseInt(borderTopWidth, 10) - scrollPaddingTopNumber;\n else if (offsetY + height > maxY - scrollPaddingBottomNumber) y += offsetY + height - maxY + scrollPaddingBottomNumber;\n scrollView.scrollLeft = x;\n scrollView.scrollTop = y;\n}\n/**\n * Computes the offset left or top from child to ancestor by accumulating\n * offsetLeft or offsetTop through intervening offsetParents.\n */ function $2f04cbc44ee30ce0$var$relativeOffset(ancestor, child, axis) {\n const prop = axis === 'left' ? 'offsetLeft' : 'offsetTop';\n let sum = 0;\n while(child.offsetParent){\n sum += child[prop];\n if (child.offsetParent === ancestor) break;\n else if (child.offsetParent.contains(ancestor)) {\n // If the ancestor is not `position:relative`, then we stop at\n // _its_ offset parent, and we subtract off _its_ offset, so that\n // we end up with the proper offset from child to ancestor.\n sum -= ancestor[prop];\n break;\n }\n child = child.offsetParent;\n }\n return sum;\n}\nfunction $2f04cbc44ee30ce0$export$c826860796309d1b(targetElement, opts) {\n if (targetElement && document.contains(targetElement)) {\n let root = document.scrollingElement || document.documentElement;\n let isScrollPrevented = window.getComputedStyle(root).overflow === 'hidden';\n // If scrolling is not currently prevented then we aren’t in a overlay nor is a overlay open, just use element.scrollIntoView to bring the element into view\n if (!isScrollPrevented) {\n var // use scrollIntoView({block: 'nearest'}) instead of .focus to check if the element is fully in view or not since .focus()\n // won't cause a scroll if the element is already focused and doesn't behave consistently when an element is partially out of view horizontally vs vertically\n _targetElement_scrollIntoView;\n let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n targetElement === null || targetElement === void 0 ? void 0 : (_targetElement_scrollIntoView = targetElement.scrollIntoView) === null || _targetElement_scrollIntoView === void 0 ? void 0 : _targetElement_scrollIntoView.call(targetElement, {\n block: 'nearest'\n });\n let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();\n // Account for sub pixel differences from rounding\n if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {\n var _opts_containingElement_scrollIntoView, _opts_containingElement, _targetElement_scrollIntoView1;\n opts === null || opts === void 0 ? void 0 : (_opts_containingElement = opts.containingElement) === null || _opts_containingElement === void 0 ? void 0 : (_opts_containingElement_scrollIntoView = _opts_containingElement.scrollIntoView) === null || _opts_containingElement_scrollIntoView === void 0 ? void 0 : _opts_containingElement_scrollIntoView.call(_opts_containingElement, {\n block: 'center',\n inline: 'center'\n });\n (_targetElement_scrollIntoView1 = targetElement.scrollIntoView) === null || _targetElement_scrollIntoView1 === void 0 ? void 0 : _targetElement_scrollIntoView1.call(targetElement, {\n block: 'nearest'\n });\n }\n } else {\n let scrollParents = (0, $a40c673dc9f6d9c7$export$94ed1c92c7beeb22)(targetElement);\n // If scrolling is prevented, we don't want to scroll the body since it might move the overlay partially offscreen and the user can't scroll it back into view.\n for (let scrollParent of scrollParents)$2f04cbc44ee30ce0$export$53a0910f038337bd(scrollParent, targetElement);\n }\n }\n}\n\n\nexport {$2f04cbc44ee30ce0$export$53a0910f038337bd as scrollIntoView, $2f04cbc44ee30ce0$export$c826860796309d1b as scrollIntoViewport};\n//# sourceMappingURL=scrollIntoView.module.js.map\n"],"names":["$cc38e7bd3fc7b213$export$2bb74740c4e19def","node","checkForOverflow","style","isScrollable","$62d8ded9296f3872$export$cfa2225e87938781","scrollableNode","$a40c673dc9f6d9c7$export$94ed1c92c7beeb22","scrollParents","$2f04cbc44ee30ce0$export$53a0910f038337bd","scrollView","element","offsetX","$2f04cbc44ee30ce0$var$relativeOffset","offsetY","width","height","x","y","borderTopWidth","borderLeftWidth","scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft","borderAdjustedX","borderAdjustedY","maxX","maxY","scrollPaddingTopNumber","scrollPaddingBottomNumber","scrollPaddingRightNumber","scrollPaddingLeftNumber","ancestor","child","axis","prop","sum","$2f04cbc44ee30ce0$export$c826860796309d1b","targetElement","opts","root","scrollParent","_targetElement_scrollIntoView","originalLeft","originalTop","newLeft","newTop","_opts_containingElement_scrollIntoView","_opts_containingElement","_targetElement_scroll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SACvB,CAAa,EACD,GAAI,CAAE,KAAMO,EAAS,IAAKC,CAAM,EAAKR,EAAc,sBAAqB,EAExE,GAAI,KAAK,IAAIK,EAAeE,CAAO,EAAI,GAAK,KAAK,IAAID,EAAcE,CAAM,EAAI,EAAG,CAC5E,IAAIC,EAAwCC,EAAyBC,EACrEV,GAAS,OAAoCS,EAA0BT,EAAK,qBAAuB,MAAQS,IAA4B,SAAmBD,EAAyCC,EAAwB,kBAAoB,MAAQD,IAA2C,QAAkBA,EAAuC,KAAKC,EAAyB,CACrX,MAAO,SACP,OAAQ,QAC5B,CAAiB,GACAC,EAAiCX,EAAc,kBAAoB,MAAQW,IAAmC,QAAkBA,EAA+B,KAAKX,EAAe,CAChL,MAAO,SAC3B,CAAiB,CACL,CACJ,CAKJ,CACJ","x_google_ignoreList":[0,1,2,3]}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
function u(e, l) {
|
|
2
|
-
if (!e) return !1;
|
|
3
|
-
let t = window.getComputedStyle(e), o = /(auto|scroll)/.test(t.overflow + t.overflowX + t.overflowY);
|
|
4
|
-
return o && l && (o = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), o;
|
|
5
|
-
}
|
|
6
|
-
function y(e, l) {
|
|
7
|
-
let t = e;
|
|
8
|
-
for (u(t, l) && (t = t.parentElement); t && !u(t, l); ) t = t.parentElement;
|
|
9
|
-
return t || document.scrollingElement || document.documentElement;
|
|
10
|
-
}
|
|
11
|
-
function W(e, l) {
|
|
12
|
-
const t = [];
|
|
13
|
-
for (; e && e !== document.documentElement; )
|
|
14
|
-
u(e, l) && t.push(e), e = e.parentElement;
|
|
15
|
-
return t;
|
|
16
|
-
}
|
|
17
|
-
function S(e, l) {
|
|
18
|
-
let t = L(e, l, "left"), o = L(e, l, "top"), d = l.offsetWidth, r = l.offsetHeight, f = e.scrollLeft, n = e.scrollTop, { borderTopWidth: i, borderLeftWidth: c, scrollPaddingTop: s, scrollPaddingRight: a, scrollPaddingBottom: T, scrollPaddingLeft: x } = getComputedStyle(e), m = f + parseInt(c, 10), b = n + parseInt(i, 10), p = m + e.clientWidth, v = b + e.clientHeight, P = parseInt(s, 10) || 0, h = parseInt(T, 10) || 0, $ = parseInt(a, 10) || 0, g = parseInt(x, 10) || 0;
|
|
19
|
-
t <= f + g ? f = t - parseInt(c, 10) - g : t + d > p - $ && (f += t + d - p + $), o <= b + P ? n = o - parseInt(i, 10) - P : o + r > v - h && (n += o + r - v + h), e.scrollLeft = f, e.scrollTop = n;
|
|
20
|
-
}
|
|
21
|
-
function L(e, l, t) {
|
|
22
|
-
const o = t === "left" ? "offsetLeft" : "offsetTop";
|
|
23
|
-
let d = 0;
|
|
24
|
-
for (; l.offsetParent && (d += l[o], l.offsetParent !== e); ) {
|
|
25
|
-
if (l.offsetParent.contains(e)) {
|
|
26
|
-
d -= e[o];
|
|
27
|
-
break;
|
|
28
|
-
}
|
|
29
|
-
l = l.offsetParent;
|
|
30
|
-
}
|
|
31
|
-
return d;
|
|
32
|
-
}
|
|
33
|
-
function B(e, l) {
|
|
34
|
-
if (e && document.contains(e)) {
|
|
35
|
-
let f = document.scrollingElement || document.documentElement;
|
|
36
|
-
if (window.getComputedStyle(f).overflow === "hidden") {
|
|
37
|
-
let i = W(e);
|
|
38
|
-
for (let c of i) S(c, e);
|
|
39
|
-
} else {
|
|
40
|
-
var t;
|
|
41
|
-
let { left: i, top: c } = e.getBoundingClientRect();
|
|
42
|
-
e == null || (t = e.scrollIntoView) === null || t === void 0 || t.call(e, {
|
|
43
|
-
block: "nearest"
|
|
44
|
-
});
|
|
45
|
-
let { left: s, top: a } = e.getBoundingClientRect();
|
|
46
|
-
if (Math.abs(i - s) > 1 || Math.abs(c - a) > 1) {
|
|
47
|
-
var o, d, r;
|
|
48
|
-
l == null || (d = l.containingElement) === null || d === void 0 || (o = d.scrollIntoView) === null || o === void 0 || o.call(d, {
|
|
49
|
-
block: "center",
|
|
50
|
-
inline: "center"
|
|
51
|
-
}), (r = e.scrollIntoView) === null || r === void 0 || r.call(e, {
|
|
52
|
-
block: "nearest"
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export {
|
|
59
|
-
y as $,
|
|
60
|
-
S as a,
|
|
61
|
-
B as b,
|
|
62
|
-
u as c
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=scrollIntoView-CdmKMaOn.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scrollIntoView-CdmKMaOn.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/isScrollable.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/getScrollParent.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/getScrollParents.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/scrollIntoView.mjs"],"sourcesContent":["/*\n * Copyright 2024 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 */ function $cc38e7bd3fc7b213$export$2bb74740c4e19def(node, checkForOverflow) {\n if (!node) return false;\n let style = window.getComputedStyle(node);\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n return isScrollable;\n}\n\n\nexport {$cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable};\n//# sourceMappingURL=isScrollable.module.js.map\n","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","import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\n\n/*\n * Copyright 2024 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 $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(node, checkForOverflow) {\n const scrollParents = [];\n while(node && node !== document.documentElement){\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(node, checkForOverflow)) scrollParents.push(node);\n node = node.parentElement;\n }\n return scrollParents;\n}\n\n\nexport {$a40c673dc9f6d9c7$export$94ed1c92c7beeb22 as getScrollParents};\n//# sourceMappingURL=getScrollParents.module.js.map\n","import {getScrollParents as $a40c673dc9f6d9c7$export$94ed1c92c7beeb22} from \"./getScrollParents.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 $2f04cbc44ee30ce0$export$53a0910f038337bd(scrollView, element) {\n let offsetX = $2f04cbc44ee30ce0$var$relativeOffset(scrollView, element, 'left');\n let offsetY = $2f04cbc44ee30ce0$var$relativeOffset(scrollView, element, 'top');\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n let x = scrollView.scrollLeft;\n let y = scrollView.scrollTop;\n // Account for top/left border offsetting the scroll top/Left + scroll padding\n let { borderTopWidth: borderTopWidth, borderLeftWidth: borderLeftWidth, scrollPaddingTop: scrollPaddingTop, scrollPaddingRight: scrollPaddingRight, scrollPaddingBottom: scrollPaddingBottom, scrollPaddingLeft: scrollPaddingLeft } = getComputedStyle(scrollView);\n let borderAdjustedX = x + parseInt(borderLeftWidth, 10);\n let borderAdjustedY = y + parseInt(borderTopWidth, 10);\n // Ignore end/bottom border via clientHeight/Width instead of offsetHeight/Width\n let maxX = borderAdjustedX + scrollView.clientWidth;\n let maxY = borderAdjustedY + scrollView.clientHeight;\n // Get scroll padding values as pixels - defaults to 0 if no scroll padding\n // is used.\n let scrollPaddingTopNumber = parseInt(scrollPaddingTop, 10) || 0;\n let scrollPaddingBottomNumber = parseInt(scrollPaddingBottom, 10) || 0;\n let scrollPaddingRightNumber = parseInt(scrollPaddingRight, 10) || 0;\n let scrollPaddingLeftNumber = parseInt(scrollPaddingLeft, 10) || 0;\n if (offsetX <= x + scrollPaddingLeftNumber) x = offsetX - parseInt(borderLeftWidth, 10) - scrollPaddingLeftNumber;\n else if (offsetX + width > maxX - scrollPaddingRightNumber) x += offsetX + width - maxX + scrollPaddingRightNumber;\n if (offsetY <= borderAdjustedY + scrollPaddingTopNumber) y = offsetY - parseInt(borderTopWidth, 10) - scrollPaddingTopNumber;\n else if (offsetY + height > maxY - scrollPaddingBottomNumber) y += offsetY + height - maxY + scrollPaddingBottomNumber;\n scrollView.scrollLeft = x;\n scrollView.scrollTop = y;\n}\n/**\n * Computes the offset left or top from child to ancestor by accumulating\n * offsetLeft or offsetTop through intervening offsetParents.\n */ function $2f04cbc44ee30ce0$var$relativeOffset(ancestor, child, axis) {\n const prop = axis === 'left' ? 'offsetLeft' : 'offsetTop';\n let sum = 0;\n while(child.offsetParent){\n sum += child[prop];\n if (child.offsetParent === ancestor) break;\n else if (child.offsetParent.contains(ancestor)) {\n // If the ancestor is not `position:relative`, then we stop at\n // _its_ offset parent, and we subtract off _its_ offset, so that\n // we end up with the proper offset from child to ancestor.\n sum -= ancestor[prop];\n break;\n }\n child = child.offsetParent;\n }\n return sum;\n}\nfunction $2f04cbc44ee30ce0$export$c826860796309d1b(targetElement, opts) {\n if (targetElement && document.contains(targetElement)) {\n let root = document.scrollingElement || document.documentElement;\n let isScrollPrevented = window.getComputedStyle(root).overflow === 'hidden';\n // If scrolling is not currently prevented then we aren’t in a overlay nor is a overlay open, just use element.scrollIntoView to bring the element into view\n if (!isScrollPrevented) {\n var // use scrollIntoView({block: 'nearest'}) instead of .focus to check if the element is fully in view or not since .focus()\n // won't cause a scroll if the element is already focused and doesn't behave consistently when an element is partially out of view horizontally vs vertically\n _targetElement_scrollIntoView;\n let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n targetElement === null || targetElement === void 0 ? void 0 : (_targetElement_scrollIntoView = targetElement.scrollIntoView) === null || _targetElement_scrollIntoView === void 0 ? void 0 : _targetElement_scrollIntoView.call(targetElement, {\n block: 'nearest'\n });\n let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();\n // Account for sub pixel differences from rounding\n if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {\n var _opts_containingElement_scrollIntoView, _opts_containingElement, _targetElement_scrollIntoView1;\n opts === null || opts === void 0 ? void 0 : (_opts_containingElement = opts.containingElement) === null || _opts_containingElement === void 0 ? void 0 : (_opts_containingElement_scrollIntoView = _opts_containingElement.scrollIntoView) === null || _opts_containingElement_scrollIntoView === void 0 ? void 0 : _opts_containingElement_scrollIntoView.call(_opts_containingElement, {\n block: 'center',\n inline: 'center'\n });\n (_targetElement_scrollIntoView1 = targetElement.scrollIntoView) === null || _targetElement_scrollIntoView1 === void 0 ? void 0 : _targetElement_scrollIntoView1.call(targetElement, {\n block: 'nearest'\n });\n }\n } else {\n let scrollParents = (0, $a40c673dc9f6d9c7$export$94ed1c92c7beeb22)(targetElement);\n // If scrolling is prevented, we don't want to scroll the body since it might move the overlay partially offscreen and the user can't scroll it back into view.\n for (let scrollParent of scrollParents)$2f04cbc44ee30ce0$export$53a0910f038337bd(scrollParent, targetElement);\n }\n }\n}\n\n\nexport {$2f04cbc44ee30ce0$export$53a0910f038337bd as scrollIntoView, $2f04cbc44ee30ce0$export$c826860796309d1b as scrollIntoViewport};\n//# sourceMappingURL=scrollIntoView.module.js.map\n"],"names":["$cc38e7bd3fc7b213$export$2bb74740c4e19def","node","checkForOverflow","style","isScrollable","$62d8ded9296f3872$export$cfa2225e87938781","scrollableNode","$a40c673dc9f6d9c7$export$94ed1c92c7beeb22","scrollParents","$2f04cbc44ee30ce0$export$53a0910f038337bd","scrollView","element","offsetX","$2f04cbc44ee30ce0$var$relativeOffset","offsetY","width","height","x","y","borderTopWidth","borderLeftWidth","scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft","borderAdjustedX","borderAdjustedY","maxX","maxY","scrollPaddingTopNumber","scrollPaddingBottomNumber","scrollPaddingRightNumber","scrollPaddingLeftNumber","ancestor","child","axis","prop","sum","$2f04cbc44ee30ce0$export$c826860796309d1b","targetElement","opts","root","scrollParent","_targetElement_scrollIntoView","originalLeft","originalTop","newLeft","newTop","_opts_containingElement_scrollIntoView","_opts_containingElement","_targetElement_scrollIntoView1"],"mappings":"AAUI,SAASA,EAA0CC,GAAMC,GAAkB;AAC3E,MAAI,CAACD,EAAM,QAAO;AAClB,MAAIE,IAAQ,OAAO,iBAAiBF,CAAI,GACpCG,IAAe,gBAAgB,KAAKD,EAAM,WAAWA,EAAM,YAAYA,EAAM,SAAS;AAC1F,SAAIC,KAAgBF,MAAkBE,IAAeH,EAAK,iBAAiBA,EAAK,gBAAgBA,EAAK,gBAAgBA,EAAK,cACnHG;AACX;ACHA,SAASC,EAA0CJ,GAAMC,GAAkB;AACvE,MAAII,IAAiBL;AAErB,OADQD,EAA2CM,GAAgBJ,CAAgB,MAAGI,IAAiBA,EAAe,gBAChHA,KAAkB,CAAKN,EAA2CM,GAAgBJ,CAAgB,IAAE,CAAAI,IAAiBA,EAAe;AAC1I,SAAOA,KAAkB,SAAS,oBAAoB,SAAS;AACnE;ACLA,SAASC,EAA0CN,GAAMC,GAAkB;AACvE,QAAMM,IAAgB,CAAA;AACtB,SAAMP,KAAQA,MAAS,SAAS;AAC5B,IAAQD,EAA2CC,GAAMC,CAAgB,KAAGM,EAAc,KAAKP,CAAI,GACnGA,IAAOA,EAAK;AAEhB,SAAOO;AACX;ACPA,SAASC,EAA0CC,GAAYC,GAAS;AACpE,MAAIC,IAAUC,EAAqCH,GAAYC,GAAS,MAAM,GAC1EG,IAAUD,EAAqCH,GAAYC,GAAS,KAAK,GACzEI,IAAQ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iB,SAAS,SAASA,CAAa,GAAG;AACnD,QAAIE,IAAO,SAAS,oBAAoB,SAAS;AAGjD,QAFwB,OAAO,iBAAiBA,CAAI,EAAE,aAAa,UAsB5D;AACH,UAAIjC,IAAoBD,EAA2CgC,CAAa;AAEhF,eAASG,KAAgBlC,EAAc,CAAAC,EAA0CiC,GAAcH,CAAa;AAAA,IAChH,OAxBwB;AACpB,UAEAI;AACA,UAAI,EAAE,MAAMC,GAAc,KAAKC,EAAW,IAAKN,EAAc,sBAAqB;AAClF,MAAAA,KAAkB,SAA6CI,IAAgCJ,EAAc,oBAAoB,QAAQI,MAAkC,UAAkBA,EAA8B,KAAKJ,GAAe;AAAA,QAC3O,OAAO;AAAA,MACvB,CAAa;AACD,UAAI,EAAE,MAAMO,GAAS,KAAKC,EAAM,IAAKR,EAAc,sBAAqB;AAExE,UAAI,KAAK,IAAIK,IAAeE,CAAO,IAAI,KAAK,KAAK,IAAID,IAAcE,CAAM,IAAI,GAAG;AAC5E,YAAIC,GAAwCC,GAAyBC;AACrE,QAAAV,KAAS,SAAoCS,IAA0BT,EAAK,uBAAuB,QAAQS,MAA4B,WAAmBD,IAAyCC,EAAwB,oBAAoB,QAAQD,MAA2C,UAAkBA,EAAuC,KAAKC,GAAyB;AAAA,UACrX,OAAO;AAAA,UACP,QAAQ;AAAA,QAC5B,CAAiB,IACAC,IAAiCX,EAAc,oBAAoB,QAAQW,MAAmC,UAAkBA,EAA+B,KAAKX,GAAe;AAAA,UAChL,OAAO;AAAA,QAC3B,CAAiB;AAAA,MACL;AAAA,IACJ;AAAA,EAKJ;AACJ;","x_google_ignoreList":[0,1,2,3]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const h=require("react/jsx-runtime"),Ie=require("./Button-MmwT6xpw.cjs.js"),B=require("./Collection-D_q1hY13.cjs.js"),w=require("./utils-CB9xZl-T.cjs.js"),Ge=require("./Label-DSG_MTc3.cjs.js"),M=require("./ListBox-DETV_5At.cjs.js"),Ue=require("./Text-BWSfeB9p.cjs.js"),D=require("./mergeProps-DRkWdaVg.cjs.js"),T=require("./filterDOMProps-WUskt27c.cjs.js"),We=require("./useObjectRef-dXOJdONs.cjs.js"),u=require("react"),U=require("./useFocusRing-DjMwdeTr.cjs.js"),He=require("./useHover-BmNjdf-e.cjs.js"),z=require("./useHighlightSelectionDescription-DbT86zJE.cjs.js"),Je=require("./Separator-CinA2hg4.cjs.js"),Qe=require("./useField-D5vZhNS3.cjs.js"),Xe=require("./useFocusWithin-BcxLc412.cjs.js"),W=require("./context-D0_cRaDZ.cjs.js"),H=require("./openLink-DkCJYbzq.cjs.js"),Ye=require("./useDescription-Dwd7oLGP.cjs.js"),J=require("./useFocusVisible-CCKx2EYu.cjs.js"),Ze=require("./useFocusable-BKWax3sD.cjs.js"),g=require("./scrollIntoView-B2eLOBfw.cjs.js"),j=require("./FocusScope-sU1ErK5w.cjs.js"),C=require("./focusSafely-CgVjbH-x.cjs.js"),_e=require("./useLocalizedStringFormatter-fJnbqb2x.cjs.js"),eo=require("./create-slot-recipe-context-HIF51Igr.cjs.js"),oo=require("@commercetools/nimbus-icons"),ro=require("./icon-button-Cs41MKV5.cjs.js"),q=new WeakMap;function O(r,e){var o;let{id:a}=(o=q.get(r))!==null&&o!==void 0?o:{};if(!a)throw new Error("Unknown list");return`${a}-${to(e)}`}function to(r){return typeof r=="string"?r.replace(/\s*/g,""):""+r}function ao(r,e,o){let{isVirtualized:a,keyboardDelegate:c,layoutDelegate:t,onAction:n,disallowTypeAhead:s,linkBehavior:d="action",keyboardNavigationBehavior:v="arrow",escapeKeyBehavior:l="clearSelection",shouldSelectOnPressUp:x}=r;!r["aria-label"]&&!r["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:f}=Je.$982254629710d113$export$b95089534ab7c1fd({selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,ref:o,keyboardDelegate:c,layoutDelegate:t,isVirtualized:a,selectOnFocus:e.selectionManager.selectionBehavior==="replace",shouldFocusWrap:r.shouldFocusWrap,linkBehavior:d,disallowTypeAhead:s,autoFocus:r.autoFocus,escapeKeyBehavior:l}),b=D.$bdb11010cef70236$export$f680877a34711e37(r.id);q.set(e,{id:b,onAction:n,linkBehavior:d,keyboardNavigationBehavior:v,shouldSelectOnPressUp:x});let p=z.$5b9b5b5723db6ae1$export$be42ebdab07ae4c2({selectionManager:e.selectionManager,hasItemActions:!!n}),L=z.$83013635b024ae3d$export$eac1895992b9f3d6(o,{isDisabled:e.collection.size!==0}),y=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(r,{labelable:!0}),E=D.$3ef42575df84b30b$export$9d1611c77c2fe928(y,{role:"grid",id:b,"aria-multiselectable":e.selectionManager.selectionMode==="multiple"?"true":void 0},e.collection.size===0?{tabIndex:L?-1:0}:f,p);return a&&(E["aria-rowcount"]=e.collection.size,E["aria-colcount"]=1),z.$92599c3fd427b763$export$137e594ef3218a10({},e),{gridProps:E}}const I={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function io(r,e,o){var a,c;let{node:t,isVirtualized:n}=r,{direction:s}=W.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),{onAction:d,linkBehavior:v,keyboardNavigationBehavior:l,shouldSelectOnPressUp:x}=q.get(e),f=D.$bdb11010cef70236$export$b4cc09c592e8fdb8(),b=u.useRef(null),p=()=>{var i;o.current!==null&&(b.current!=null&&t.key!==b.current||!(!((i=o.current)===null||i===void 0)&&i.contains(document.activeElement)))&&C.$3ad3f6e1647bc98d$export$80f3e147d781571c(o.current)},L={},y=r.hasChildItems,E=e.selectionManager.isLink(t.key);if(t!=null&&"expandedKeys"in e){var S,F;let i=(S=(F=e.collection).getChildren)===null||S===void 0?void 0:S.call(F,t.key);y=y||[...i??[]].length>1,d==null&&!E&&e.selectionManager.selectionMode==="none"&&y&&(d=()=>e.toggleKey(t.key));let $=y?e.expandedKeys.has(t.key):void 0,P=1;if(t.level>0&&t?.parentKey!=null){let m=e.collection.getItem(t.parentKey);if(m){var R,K;P=[...(R=(K=e.collection).getChildren)===null||R===void 0?void 0:R.call(K,m.key)].filter(Oe=>Oe.type==="item").length}}else P=[...e.collection].filter(m=>m.level===0&&m.type==="item").length;L={"aria-expanded":$,"aria-level":t.level+1,"aria-posinset":t?.index+1,"aria-setsize":P}}let{itemProps:N,...A}=B.$880e95eb8b93ba9a$export$ecf600387e221c37({selectionManager:e.selectionManager,key:t.key,ref:o,isVirtualized:n,shouldSelectOnPressUp:r.shouldSelectOnPressUp||x,onAction:d||!((a=t.props)===null||a===void 0)&&a.onAction?D.$ff5963eb1fccf552$export$e08e3b67e392101e((c=t.props)===null||c===void 0?void 0:c.onAction,d?()=>d(t.key):void 0):void 0,focus:p,linkBehavior:v}),Ke=i=>{if(!i.currentTarget.contains(i.target)||!o.current||!document.activeElement)return;let $=j.$9bf71ea28793e738$export$2d6ec8fc375ceafa(o.current);if($.currentNode=document.activeElement,"expandedKeys"in e&&document.activeElement===o.current){if(i.key===I.expand[s]&&e.selectionManager.focusedKey===t.key&&y&&!e.expandedKeys.has(t.key)){e.toggleKey(t.key),i.stopPropagation();return}else if(i.key===I.collapse[s]&&e.selectionManager.focusedKey===t.key&&y&&e.expandedKeys.has(t.key)){e.toggleKey(t.key),i.stopPropagation();return}}switch(i.key){case"ArrowLeft":if(l==="arrow"){let m=s==="rtl"?$.nextNode():$.previousNode();if(m)i.preventDefault(),i.stopPropagation(),C.$3ad3f6e1647bc98d$export$80f3e147d781571c(m),g.$2f04cbc44ee30ce0$export$c826860796309d1b(m,{containingElement:g.$62d8ded9296f3872$export$cfa2225e87938781(o.current)});else if(i.preventDefault(),i.stopPropagation(),s==="rtl")C.$3ad3f6e1647bc98d$export$80f3e147d781571c(o.current),g.$2f04cbc44ee30ce0$export$c826860796309d1b(o.current,{containingElement:g.$62d8ded9296f3872$export$cfa2225e87938781(o.current)});else{$.currentNode=o.current;let k=G($);k&&(C.$3ad3f6e1647bc98d$export$80f3e147d781571c(k),g.$2f04cbc44ee30ce0$export$c826860796309d1b(k,{containingElement:g.$62d8ded9296f3872$export$cfa2225e87938781(o.current)}))}}break;case"ArrowRight":if(l==="arrow"){let m=s==="rtl"?$.previousNode():$.nextNode();if(m)i.preventDefault(),i.stopPropagation(),C.$3ad3f6e1647bc98d$export$80f3e147d781571c(m),g.$2f04cbc44ee30ce0$export$c826860796309d1b(m,{containingElement:g.$62d8ded9296f3872$export$cfa2225e87938781(o.current)});else if(i.preventDefault(),i.stopPropagation(),s==="ltr")C.$3ad3f6e1647bc98d$export$80f3e147d781571c(o.current),g.$2f04cbc44ee30ce0$export$c826860796309d1b(o.current,{containingElement:g.$62d8ded9296f3872$export$cfa2225e87938781(o.current)});else{$.currentNode=o.current;let k=G($);k&&(C.$3ad3f6e1647bc98d$export$80f3e147d781571c(k),g.$2f04cbc44ee30ce0$export$c826860796309d1b(k,{containingElement:g.$62d8ded9296f3872$export$cfa2225e87938781(o.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!i.altKey&&o.current.contains(i.target)){var P;i.stopPropagation(),i.preventDefault(),(P=o.current.parentElement)===null||P===void 0||P.dispatchEvent(new KeyboardEvent(i.nativeEvent.type,i.nativeEvent))}break}},Ne=i=>{if(b.current=t.key,i.target!==o.current){J.$507fabe10e71c6fb$export$b9b3dfddab17db27()||e.selectionManager.setFocusedKey(t.key);return}},ze=i=>{if(!(!i.currentTarget.contains(i.target)||!o.current||!document.activeElement))switch(i.key){case"Tab":if(l==="tab"){let $=j.$9bf71ea28793e738$export$2d6ec8fc375ceafa(o.current,{tabbable:!0});$.currentNode=document.activeElement,(i.shiftKey?$.previousNode():$.nextNode())&&i.stopPropagation()}}},qe=H.$ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6(t.props),Ve=A.hasAction?qe:{},V=D.$3ef42575df84b30b$export$9d1611c77c2fe928(N,Ve,{role:"row",onKeyDownCapture:Ke,onKeyDown:ze,onFocus:Ne,"aria-label":t.textValue||void 0,"aria-selected":e.selectionManager.canSelectItem(t.key)?e.selectionManager.isSelected(t.key):void 0,"aria-disabled":e.selectionManager.isDisabled(t.key)||void 0,"aria-labelledby":f&&t.textValue?`${O(e,t.key)} ${f}`:void 0,id:O(e,t.key)});n&&(V["aria-rowindex"]=t.index+1);let je={role:"gridcell","aria-colindex":1};return{rowProps:{...D.$3ef42575df84b30b$export$9d1611c77c2fe928(V,L)},gridCellProps:je,descriptionProps:{id:f},...A}}function G(r){let e=null,o=null;do o=r.lastChild(),o&&(e=o);while(o);return e}const Q=new WeakMap;function no(r,e,o){let{direction:a}=W.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),c=r.keyboardDelegate||new B.$2a25aae57d74318e$export$a05409b8bb224a5a({collection:e.collection,ref:o,orientation:"horizontal",direction:a,disabledKeys:e.disabledKeys,disabledBehavior:e.selectionManager.disabledBehavior}),{labelProps:t,fieldProps:n,descriptionProps:s,errorMessageProps:d}=Qe.$2baaea4c71418dea$export$294aa081a6c6f55d({...r,labelElementType:"span"}),{gridProps:v}=ao({...r,...n,keyboardDelegate:c,shouldFocusWrap:!0,linkBehavior:"override",keyboardNavigationBehavior:"tab"},e,o),[l,x]=u.useState(!1),{focusWithinProps:f}=Xe.$9ab94262bd0047c7$export$420e68273165f4ec({onFocusWithinChange:x}),b=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(r),p=u.useRef(e.collection.size);return u.useEffect(()=>{o.current&&p.current>0&&e.collection.size===0&&l&&o.current.focus(),p.current=e.collection.size},[e.collection.size,l,o]),Q.set(e,{onRemove:r.onRemove}),{gridProps:D.$3ef42575df84b30b$export$9d1611c77c2fe928(v,b,{role:e.collection.size?"grid":null,"aria-atomic":!1,"aria-relevant":"additions","aria-live":l?"polite":"off",...f,...n}),labelProps:t,descriptionProps:s,errorMessageProps:d}}var X={};X={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var Y={};Y={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var Z={};Z={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var _={};_={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var ee={};ee={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var oe={};oe={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var re={};re={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var te={};te={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var ae={};ae={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var ie={};ie={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var ne={};ne={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var ue={};ue={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var le={};le={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var ce={};ce={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var se={};se={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var de={};de={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var fe={};fe={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var be={};be={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var pe={};pe={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var $e={};$e={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var ve={};ve={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var xe={};xe={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var me={};me={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var ge={};ge={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var De={};De={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var ye={};ye={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Be={};Be={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var Pe={};Pe={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var ke={};ke={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var he={};he={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var Ee={};Ee={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var Ce={};Ce={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var we={};we={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var Le={};Le={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var Ae={};Ae={"ar-AE":X,"bg-BG":Y,"cs-CZ":Z,"da-DK":_,"de-DE":ee,"el-GR":oe,"en-US":re,"es-ES":te,"et-EE":ae,"fi-FI":ie,"fr-FR":ne,"he-IL":ue,"hr-HR":le,"hu-HU":ce,"it-IT":se,"ja-JP":de,"ko-KR":fe,"lt-LT":be,"lv-LV":pe,"nb-NO":$e,"nl-NL":ve,"pl-PL":xe,"pt-BR":me,"pt-PT":ge,"ro-RO":De,"ru-RU":ye,"sk-SK":Be,"sl-SI":Pe,"sr-SP":ke,"sv-SE":he,"tr-TR":Ee,"uk-UA":Ce,"zh-CN":we,"zh-TW":Le};function uo(r){return r&&r.__esModule?r.default:r}function lo(r,e,o){let{item:a}=r,c=_e.$fca6afa0e843324b$export$f12b703ca79dfbb1(uo(Ae),"@react-aria/tag"),t=D.$bdb11010cef70236$export$f680877a34711e37(),{onRemove:n}=Q.get(e)||{},{rowProps:s,gridCellProps:d,...v}=io({node:a},e,o),{descriptionProps:l,...x}=v,f=e.disabledKeys.has(a.key)||a.props.isDisabled,b=A=>{if(A.key==="Delete"||A.key==="Backspace"){if(f)return;A.preventDefault(),e.selectionManager.isSelected(a.key)?n?.(new Set(e.selectionManager.selectedKeys)):n?.(new Set([a.key]))}},p=J.$507fabe10e71c6fb$export$98e20ec92f614cfe();p==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(p="pointer");let L=n&&(p==="keyboard"||p==="virtual")?c.format("removeDescription"):"",y=Ye.$ef06256079686ba0$export$f8aeda7b10753fa1(L),E=a.key===e.selectionManager.focusedKey,S=e.selectionManager.focusedKey!=null,F=-1;!f&&(E||!S)&&(F=0);let R=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a.props),K=H.$ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6(a.props),{focusableProps:N}=Ze.$f645667febf57a63$export$4c014de7c8940b4c({isDisabled:f},o);return{removeButtonProps:{"aria-label":c.format("removeButtonLabel"),"aria-labelledby":`${t} ${s.id}`,isDisabled:f,id:t,onPress:()=>n?n(new Set([a.key])):null},rowProps:D.$3ef42575df84b30b$export$9d1611c77c2fe928(N,s,R,K,{tabIndex:F,onKeyDown:n?b:void 0,"aria-describedby":y["aria-describedby"]}),gridCellProps:D.$3ef42575df84b30b$export$9d1611c77c2fe928(d,{"aria-errormessage":r["aria-errormessage"],"aria-label":r["aria-label"]}),...x,allowsRemoving:!!n}}const co=u.createContext(null),Te=u.createContext(null),so=u.forwardRef(function(e,o){return[e,o]=w.$64fa3d84918910a7$export$29f1550f4b0d4415(e,o,co),u.createElement(B.$e1995378a142960e$export$bf788dd355e3a401,{content:e.children},a=>u.createElement(fo,{props:e,forwardedRef:o,collection:a}))});function fo({props:r,forwardedRef:e,collection:o}){let a=u.useRef(null),[c,t]=w.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!r["aria-label"]&&!r["aria-labelledby"]),n=M.$e72dd72e1c76a225$export$2f645645f7bca764({...r,children:void 0,collection:o}),s=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(r,{global:!0}),d=Object.fromEntries(Object.entries(s).map(([p])=>[p,void 0])),{gridProps:v,labelProps:l,descriptionProps:x,errorMessageProps:f}=no({...r,...d,label:t},n,a);var b;return u.createElement("div",{...s,ref:e,slot:r.slot||void 0,className:(b=r.className)!==null&&b!==void 0?b:"react-aria-TagGroup",style:r.style},u.createElement(w.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Ge.$01b77f81d0f07f68$export$75b6ee27786ba447,{...l,elementType:"span",ref:c}],[Te,{...v,ref:a}],[M.$eed445e0843c11d0$export$7c5906fe4f1f2af2,n],[Ue.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:x,errorMessage:f}}]]},r.children))}const bo=u.forwardRef(function(e,o){return u.useContext(M.$eed445e0843c11d0$export$7c5906fe4f1f2af2)?u.createElement(po,{props:e,forwardedRef:o}):u.createElement(B.$e1995378a142960e$export$fb8073518f34e6ec,e)});function po({props:r,forwardedRef:e}){let o=u.useContext(M.$eed445e0843c11d0$export$7c5906fe4f1f2af2),{CollectionRoot:a}=u.useContext(B.$7135fc7d473fd974$export$4feb769f8ddf26c5),[c,t]=w.$64fa3d84918910a7$export$29f1550f4b0d4415({},e,Te),{focusProps:n,isFocused:s,isFocusVisible:d}=U.$f7dceffc5ad7768b$export$4e328f61c538687f(),v={isEmpty:o.collection.size===0,isFocused:s,isFocusVisible:d,state:o},l=w.$64fa3d84918910a7$export$4d86445c2cf5e3({className:r.className,style:r.style,defaultClassName:"react-aria-TagList",values:v}),x=B.$7135fc7d473fd974$export$90e00781bc59d8f9(o.selectionManager.focusedKey),f=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(r,{global:!0});return u.createElement("div",{...D.$3ef42575df84b30b$export$9d1611c77c2fe928(f,l,c,n),ref:t,"data-empty":o.collection.size===0||void 0,"data-focused":s||void 0,"data-focus-visible":d||void 0},o.collection.size===0&&r.renderEmptyState?r.renderEmptyState(v):u.createElement(a,{collection:o.collection,persistedKeys:x}))}const $o=B.$e1995378a142960e$export$18af5c7a9e9b3664("item",(r,e,o)=>{let a=u.useContext(M.$eed445e0843c11d0$export$7c5906fe4f1f2af2),c=We.$df56164dff5785e2$export$4338b53315abf666(e),{focusProps:t,isFocusVisible:n}=U.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!1}),{rowProps:s,gridCellProps:d,removeButtonProps:v,...l}=lo({item:o},a,c),{hoverProps:x,isHovered:f}=He.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:!l.allowsSelection,onHoverStart:o.props.onHoverStart,onHoverChange:o.props.onHoverChange,onHoverEnd:o.props.onHoverEnd}),b=w.$64fa3d84918910a7$export$4d86445c2cf5e3({...r,id:void 0,children:o.rendered,defaultClassName:"react-aria-Tag",values:{...l,isFocusVisible:n,isHovered:f,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior}});u.useEffect(()=>{!o.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.")},[o.textValue]);let p=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(r,{global:!0});return delete p.id,delete p.onClick,u.createElement("div",{ref:c,...D.$3ef42575df84b30b$export$9d1611c77c2fe928(p,b,s,t,x),"data-selected":l.isSelected||void 0,"data-disabled":l.isDisabled||void 0,"data-hovered":f||void 0,"data-focused":l.isFocused||void 0,"data-focus-visible":n||void 0,"data-pressed":l.isPressed||void 0,"data-allows-removing":l.allowsRemoving||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},u.createElement("div",{...d,style:{display:"contents"}},u.createElement(w.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Ie.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{slots:{remove:v}}],[B.$7135fc7d473fd974$export$4feb769f8ddf26c5,B.$7135fc7d473fd974$export$a164736487e3f0ae]]},b.children)))}),{withProvider:vo,withContext:Se}=eo.createSlotRecipeContext({key:"taggroup"}),xo=vo(so,"root"),mo=r=>{const{ref:e,...o}=r,a=Se(bo,"tagList");return h.jsx(a,{...o,ref:e})},go=Se($o,"tag"),Fe=({children:r,onRemove:e,selectionMode:o,ref:a,...c})=>(e&&(o==="multiple"||o==="single")&&console.warn('Nimbus TagGroup: when "selectionMode" is "single" or "mutiple", Tags cannot be removed'),h.jsx(xo,{ref:a,onRemove:e,selectionMode:o,...c,children:r}));Fe.displayName="TagGroup.Root";const Re=({children:r,ref:e,...o})=>h.jsx(mo,{ref:e,...o,children:r});Re.displayName="TagGroup.TagList";const Me=({children:r,ref:e,...o})=>{const a=typeof r=="string"?r:void 0;return h.jsx(go,{ref:e,textValue:a,...o,children:({allowsRemoving:c,isSelected:t,selectionMode:n})=>h.jsxs(h.Fragment,{children:[r,c&&n!=="multiple"&&n!=="single"&&h.jsx(ro.IconButton,{size:"2xs",variant:t?"solid":"ghost",slot:"remove",tone:t?void 0:"neutral",children:h.jsx(oo.Close,{})})]})})};Me.displayName="TagGroup.Tag";const Do={Root:Fe,TagList:Re,Tag:Me};exports.TagGroup=Do;
|
|
2
|
-
//# sourceMappingURL=tag-group-5uAuEquc.cjs.js.map
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { d as o } from "./mergeProps-CtwSzqnr.es.js";
|
|
2
|
-
import { useState as l } from "react";
|
|
3
|
-
let $ = 0;
|
|
4
|
-
const a = /* @__PURE__ */ new Map();
|
|
5
|
-
function u(t) {
|
|
6
|
-
let [f, n] = l();
|
|
7
|
-
return o(() => {
|
|
8
|
-
if (!t) return;
|
|
9
|
-
let e = a.get(t);
|
|
10
|
-
if (e)
|
|
11
|
-
n(e.element.id);
|
|
12
|
-
else {
|
|
13
|
-
let r = `react-aria-description-${$++}`;
|
|
14
|
-
n(r);
|
|
15
|
-
let d = document.createElement("div");
|
|
16
|
-
d.id = r, d.style.display = "none", d.textContent = t, document.body.appendChild(d), e = {
|
|
17
|
-
refCount: 0,
|
|
18
|
-
element: d
|
|
19
|
-
}, a.set(t, e);
|
|
20
|
-
}
|
|
21
|
-
return e.refCount++, () => {
|
|
22
|
-
e && --e.refCount === 0 && (e.element.remove(), a.delete(t));
|
|
23
|
-
};
|
|
24
|
-
}, [
|
|
25
|
-
t
|
|
26
|
-
]), {
|
|
27
|
-
"aria-describedby": t ? f : void 0
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
u as $
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=useDescription-CVIOL3si.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDescription-CVIOL3si.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useDescription.mjs"],"sourcesContent":["import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $hQ5Hp$useState} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nlet $ef06256079686ba0$var$descriptionId = 0;\nconst $ef06256079686ba0$var$descriptionNodes = new Map();\nfunction $ef06256079686ba0$export$f8aeda7b10753fa1(description) {\n let [id, setId] = (0, $hQ5Hp$useState)();\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (!description) return;\n let desc = $ef06256079686ba0$var$descriptionNodes.get(description);\n if (!desc) {\n let id = `react-aria-description-${$ef06256079686ba0$var$descriptionId++}`;\n setId(id);\n let node = document.createElement('div');\n node.id = id;\n node.style.display = 'none';\n node.textContent = description;\n document.body.appendChild(node);\n desc = {\n refCount: 0,\n element: node\n };\n $ef06256079686ba0$var$descriptionNodes.set(description, desc);\n } else setId(desc.element.id);\n desc.refCount++;\n return ()=>{\n if (desc && --desc.refCount === 0) {\n desc.element.remove();\n $ef06256079686ba0$var$descriptionNodes.delete(description);\n }\n };\n }, [\n description\n ]);\n return {\n 'aria-describedby': description ? id : undefined\n };\n}\n\n\nexport {$ef06256079686ba0$export$f8aeda7b10753fa1 as useDescription};\n//# sourceMappingURL=useDescription.module.js.map\n"],"names":["$ef06256079686ba0$var$descriptionId","$ef06256079686ba0$var$descriptionNodes","$ef06256079686ba0$export$f8aeda7b10753fa1","description","id","setId","$hQ5Hp$useState","$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","desc","node"],"mappings":";;AAeA,IAAIA,IAAsC;AAC1C,MAAMC,IAAyC,oBAAI,IAAG;AACtD,SAASC,EAA0CC,GAAa;AAC5D,MAAI,CAACC,GAAIC,CAAK,IAAQC,EAAe;AACrC,SAAIC,EAA2C,MAAI;AAC/C,QAAI,CAACJ,EAAa;AAClB,QAAIK,IAAOP,EAAuC,IAAIE,CAAW;AACjE,QAAKK;AAaE,MAAAH,EAAMG,EAAK,QAAQ,EAAE;AAAA,SAbjB;AACP,UAAIJ,IAAK,0BAA0BJ,GAAqC;AACxE,MAAAK,EAAMD,CAAE;AACR,UAAIK,IAAO,SAAS,cAAc,KAAK;AACvC,MAAAA,EAAK,KAAKL,GACVK,EAAK,MAAM,UAAU,QACrBA,EAAK,cAAcN,GACnB,SAAS,KAAK,YAAYM,CAAI,GAC9BD,IAAO;AAAA,QACH,UAAU;AAAA,QACV,SAASC;AAAA,MACzB,GACYR,EAAuC,IAAIE,GAAaK,CAAI;AAAA,IAChE;AACA,WAAAA,EAAK,YACE,MAAI;AACP,MAAIA,KAAQ,EAAEA,EAAK,aAAa,MAC5BA,EAAK,QAAQ,OAAM,GACnBP,EAAuC,OAAOE,CAAW;AAAA,IAEjE;AAAA,EACJ,GAAG;AAAA,IACCA;AAAA,EACR,CAAK,GACM;AAAA,IACH,oBAAoBA,IAAcC,IAAK;AAAA,EAC/C;AACA;","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./mergeProps-DRkWdaVg.cjs.js"),$=require("react");let l=0;const d=new Map;function u(t){let[f,r]=$.useState();return o.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(!t)return;let e=d.get(t);if(e)r(e.element.id);else{let n=`react-aria-description-${l++}`;r(n);let a=document.createElement("div");a.id=n,a.style.display="none",a.textContent=t,document.body.appendChild(a),e={refCount:0,element:a},d.set(t,e)}return e.refCount++,()=>{e&&--e.refCount===0&&(e.element.remove(),d.delete(t))}},[t]),{"aria-describedby":t?f:void 0}}exports.$ef06256079686ba0$export$f8aeda7b10753fa1=u;
|
|
2
|
-
//# sourceMappingURL=useDescription-Dwd7oLGP.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDescription-Dwd7oLGP.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useDescription.mjs"],"sourcesContent":["import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $hQ5Hp$useState} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nlet $ef06256079686ba0$var$descriptionId = 0;\nconst $ef06256079686ba0$var$descriptionNodes = new Map();\nfunction $ef06256079686ba0$export$f8aeda7b10753fa1(description) {\n let [id, setId] = (0, $hQ5Hp$useState)();\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (!description) return;\n let desc = $ef06256079686ba0$var$descriptionNodes.get(description);\n if (!desc) {\n let id = `react-aria-description-${$ef06256079686ba0$var$descriptionId++}`;\n setId(id);\n let node = document.createElement('div');\n node.id = id;\n node.style.display = 'none';\n node.textContent = description;\n document.body.appendChild(node);\n desc = {\n refCount: 0,\n element: node\n };\n $ef06256079686ba0$var$descriptionNodes.set(description, desc);\n } else setId(desc.element.id);\n desc.refCount++;\n return ()=>{\n if (desc && --desc.refCount === 0) {\n desc.element.remove();\n $ef06256079686ba0$var$descriptionNodes.delete(description);\n }\n };\n }, [\n description\n ]);\n return {\n 'aria-describedby': description ? id : undefined\n };\n}\n\n\nexport {$ef06256079686ba0$export$f8aeda7b10753fa1 as useDescription};\n//# sourceMappingURL=useDescription.module.js.map\n"],"names":["$ef06256079686ba0$var$descriptionId","$ef06256079686ba0$var$descriptionNodes","$ef06256079686ba0$export$f8aeda7b10753fa1","description","id","setId","$hQ5Hp$useState","$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","desc","node"],"mappings":"gFAeA,IAAIA,EAAsC,EAC1C,MAAMC,EAAyC,IAAI,IACnD,SAASC,EAA0CC,EAAa,CAC5D,GAAI,CAACC,EAAIC,CAAK,EAAQC,EAAAA,SAAe,EACrC,OAAIC,EAAAA,0CAA2C,IAAI,CAC/C,GAAI,CAACJ,EAAa,OAClB,IAAIK,EAAOP,EAAuC,IAAIE,CAAW,EACjE,GAAKK,EAaEH,EAAMG,EAAK,QAAQ,EAAE,MAbjB,CACP,IAAIJ,EAAK,0BAA0BJ,GAAqC,GACxEK,EAAMD,CAAE,EACR,IAAIK,EAAO,SAAS,cAAc,KAAK,EACvCA,EAAK,GAAKL,EACVK,EAAK,MAAM,QAAU,OACrBA,EAAK,YAAcN,EACnB,SAAS,KAAK,YAAYM,CAAI,EAC9BD,EAAO,CACH,SAAU,EACV,QAASC,CACzB,EACYR,EAAuC,IAAIE,EAAaK,CAAI,CAChE,CACA,OAAAA,EAAK,WACE,IAAI,CACHA,GAAQ,EAAEA,EAAK,WAAa,IAC5BA,EAAK,QAAQ,OAAM,EACnBP,EAAuC,OAAOE,CAAW,EAEjE,CACJ,EAAG,CACCA,CACR,CAAK,EACM,CACH,mBAAoBA,EAAcC,EAAK,MAC/C,CACA","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./utils-3xKI25I1.cjs.js"),v=require("react"),_=require("./SSRProvider-Bc-sMhsT.cjs.js");function b(e){var n;if(typeof window>"u"||window.navigator==null)return!1;let t=(n=window.navigator.userAgentData)===null||n===void 0?void 0:n.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function w(e){var n;return typeof window<"u"&&window.navigator!=null?e.test(((n=window.navigator.userAgentData)===null||n===void 0?void 0:n.platform)||window.navigator.platform):!1}function c(e){if(process.env.NODE_ENV==="test")return e;let n=null;return()=>(n==null&&(n=e()),n)}const m=c(function(){return w(/^Mac/i)}),K=c(function(){return w(/^iPhone/i)}),y=c(function(){return w(/^iPad/i)||m()&&navigator.maxTouchPoints>1}),O=c(function(){return K()||y()}),D=c(function(){return b(/AppleWebKit/i)&&!I()}),I=c(function(){return b(/Chrome/i)}),x=c(function(){return b(/Android/i)}),S=c(function(){return b(/Firefox/i)});function L(e){return e.pointerType===""&&e.isTrusted?!0:x()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function P(e){return!x()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}let f=null,$=new Set,i=new Map,d=!1,E=!1;const C={Tab:!0,Escape:!0};function s(e,n){for(let t of $)t(e,n)}function F(e){return!(e.metaKey||!m()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function u(e){d=!0,F(e)&&(f="keyboard",s("keyboard",e))}function a(e){f="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(d=!0,s("pointer",e))}function g(e){L(e)&&(d=!0,f="virtual")}function h(e){e.target===window||e.target===document||o.$8a9cb279dc87e130$export$fda7da73ab5d4c48||!e.isTrusted||(!d&&!E&&(f="virtual",s("virtual",e)),d=!1,E=!1)}function T(){o.$8a9cb279dc87e130$export$fda7da73ab5d4c48||(d=!1,E=!0)}function M(e){if(typeof window>"u"||typeof document>"u"||i.get(o.$431fbd86ca7dc216$export$f21a1ffae260145a(e)))return;const n=o.$431fbd86ca7dc216$export$f21a1ffae260145a(e),t=o.$431fbd86ca7dc216$export$b204af158042fbac(e);let r=n.HTMLElement.prototype.focus;n.HTMLElement.prototype.focus=function(){d=!0,r.apply(this,arguments)},t.addEventListener("keydown",u,!0),t.addEventListener("keyup",u,!0),t.addEventListener("click",g,!0),n.addEventListener("focus",h,!0),n.addEventListener("blur",T,!1),typeof PointerEvent<"u"?(t.addEventListener("pointerdown",a,!0),t.addEventListener("pointermove",a,!0),t.addEventListener("pointerup",a,!0)):process.env.NODE_ENV==="test"&&(t.addEventListener("mousedown",a,!0),t.addEventListener("mousemove",a,!0),t.addEventListener("mouseup",a,!0)),n.addEventListener("beforeunload",()=>{N(e)},{once:!0}),i.set(n,{focus:r})}const N=(e,n)=>{const t=o.$431fbd86ca7dc216$export$f21a1ffae260145a(e),r=o.$431fbd86ca7dc216$export$b204af158042fbac(e);n&&r.removeEventListener("DOMContentLoaded",n),i.has(t)&&(t.HTMLElement.prototype.focus=i.get(t).focus,r.removeEventListener("keydown",u,!0),r.removeEventListener("keyup",u,!0),r.removeEventListener("click",g,!0),t.removeEventListener("focus",h,!0),t.removeEventListener("blur",T,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",a,!0),r.removeEventListener("pointermove",a,!0),r.removeEventListener("pointerup",a,!0)):process.env.NODE_ENV==="test"&&(r.removeEventListener("mousedown",a,!0),r.removeEventListener("mousemove",a,!0),r.removeEventListener("mouseup",a,!0)),i.delete(t))};function k(){return f!=="pointer"}function j(){return f}function V(e){f=e,s(e,null)}function B(){M();let[e,n]=v.useState(f);return v.useEffect(()=>{let t=()=>{n(f)};return $.add(t),()=>{$.delete(t)}},[]),_.$b5e257d569688ac6$export$535bd6ca7f90a273()?null:e}const W=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function q(e,n,t){let r=o.$431fbd86ca7dc216$export$b204af158042fbac(t?.target);const l=typeof window<"u"?o.$431fbd86ca7dc216$export$f21a1ffae260145a(t?.target).HTMLInputElement:HTMLInputElement,p=typeof window<"u"?o.$431fbd86ca7dc216$export$f21a1ffae260145a(t?.target).HTMLTextAreaElement:HTMLTextAreaElement,H=typeof window<"u"?o.$431fbd86ca7dc216$export$f21a1ffae260145a(t?.target).HTMLElement:HTMLElement,A=typeof window<"u"?o.$431fbd86ca7dc216$export$f21a1ffae260145a(t?.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof l&&!W.has(r.activeElement.type)||r.activeElement instanceof p||r.activeElement instanceof H&&r.activeElement.isContentEditable,!(e&&n==="keyboard"&&t instanceof A&&!C[t.key])}function R(e,n,t){M(),v.useEffect(()=>{let r=(l,p)=>{q(!!t?.isTextInput,l,p)&&e(k())};return $.add(r),()=>{$.delete(r)}},n)}exports.$507fabe10e71c6fb$export$630ff653c5ada6a9=j;exports.$507fabe10e71c6fb$export$8397ddfc504fdb9a=V;exports.$507fabe10e71c6fb$export$98e20ec92f614cfe=B;exports.$507fabe10e71c6fb$export$b9b3dfddab17db27=k;exports.$507fabe10e71c6fb$export$ec71b4b83ac08ec3=R;exports.$6a7db85432448f7f$export$29bf1b5f2c56cf63=P;exports.$6a7db85432448f7f$export$60278871457622de=L;exports.$c87311424ea30a05$export$78551043582a6a98=D;exports.$c87311424ea30a05$export$7bef049ce92e4224=y;exports.$c87311424ea30a05$export$9ac100e40613ea10=m;exports.$c87311424ea30a05$export$b7d78993b74f766d=S;exports.$c87311424ea30a05$export$fedb369cb70207f1=O;
|
|
2
|
-
//# sourceMappingURL=useFocusVisible-CCKx2EYu.cjs.js.map
|