@commercetools/nimbus 0.0.10 → 0.0.11
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-Whc4raea.cjs.js → Button-BjOgrRmH.cjs.js} +2 -2
- package/dist/chunks/{Button-Whc4raea.cjs.js.map → Button-BjOgrRmH.cjs.js.map} +1 -1
- package/dist/chunks/{Button-BOMjcccZ.es.js → Button-BsN1D5Hi.es.js} +10 -10
- package/dist/chunks/{Button-BOMjcccZ.es.js.map → Button-BsN1D5Hi.es.js.map} +1 -1
- package/dist/chunks/{DateField-DbAaUSAR.es.js → DateField-BozrMa9v.es.js} +645 -621
- package/dist/chunks/{DateField-DbAaUSAR.es.js.map → DateField-BozrMa9v.es.js.map} +1 -1
- package/dist/chunks/DateField-G0i9Cflc.cjs.js +2 -0
- package/dist/chunks/{DateField-BjIjR7y5.cjs.js.map → DateField-G0i9Cflc.cjs.js.map} +1 -1
- package/dist/chunks/DatePicker-3TZ8oKaR.es.js +762 -0
- package/dist/chunks/DatePicker-3TZ8oKaR.es.js.map +1 -0
- package/dist/chunks/DatePicker-BD8RjPSL.cjs.js +2 -0
- package/dist/chunks/DatePicker-BD8RjPSL.cjs.js.map +1 -0
- package/dist/chunks/Dialog-Btds5x4W.cjs.js +2 -0
- package/dist/chunks/Dialog-Btds5x4W.cjs.js.map +1 -0
- package/dist/chunks/Dialog-CFERgD91.es.js +1888 -0
- package/dist/chunks/Dialog-CFERgD91.es.js.map +1 -0
- package/dist/chunks/{FocusScope-BacYMT5s.es.js → FocusScope-8pBtcv8k.es.js} +196 -153
- package/dist/chunks/FocusScope-8pBtcv8k.es.js.map +1 -0
- package/dist/chunks/FocusScope-BEOPrcCH.cjs.js +2 -0
- package/dist/chunks/FocusScope-BEOPrcCH.cjs.js.map +1 -0
- package/dist/chunks/{Group-CTSushH_.es.js → Group-Brffs0pl.es.js} +7 -7
- package/dist/chunks/{Group-CTSushH_.es.js.map → Group-Brffs0pl.es.js.map} +1 -1
- package/dist/chunks/{Group-DCFj0iWW.cjs.js → Group-apcpZquv.cjs.js} +2 -2
- package/dist/chunks/{Group-DCFj0iWW.cjs.js.map → Group-apcpZquv.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-4vA2Wjuk.es.js → Heading-D143Kg6E.es.js} +658 -630
- package/dist/chunks/Heading-D143Kg6E.es.js.map +1 -0
- package/dist/chunks/Heading-DiqU5dbv.cjs.js +2 -0
- package/dist/chunks/Heading-DiqU5dbv.cjs.js.map +1 -0
- package/dist/chunks/{Hidden-CeBYiBUb.es.js → Hidden-X9vuhkMZ.es.js} +3 -3
- package/dist/chunks/{Hidden-CeBYiBUb.es.js.map → Hidden-X9vuhkMZ.es.js.map} +1 -1
- package/dist/chunks/{Input-CiHYWjLE.cjs.js → Input-BEgGe6bw.cjs.js} +2 -2
- package/dist/chunks/{Input-CiHYWjLE.cjs.js.map → Input-BEgGe6bw.cjs.js.map} +1 -1
- package/dist/chunks/{Input-DN0K3GJf.es.js → Input-Bxs2A5S-.es.js} +6 -6
- package/dist/chunks/{Input-DN0K3GJf.es.js.map → Input-Bxs2A5S-.es.js.map} +1 -1
- package/dist/chunks/Keyboard-Clnp4zAC.es.js +6 -0
- package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -0
- package/dist/chunks/Keyboard-rYf2KxZN.cjs.js +2 -0
- package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -0
- package/dist/chunks/{Label-CNMvF_U4.cjs.js → Label-DFXyfxZM.cjs.js} +2 -2
- package/dist/chunks/{Label-CNMvF_U4.cjs.js.map → Label-DFXyfxZM.cjs.js.map} +1 -1
- package/dist/chunks/{Label-DBDcs-md.es.js → Label-p7LXqne0.es.js} +3 -3
- package/dist/chunks/{Label-DBDcs-md.es.js.map → Label-p7LXqne0.es.js.map} +1 -1
- package/dist/chunks/ListBox-BEZfjFMq.cjs.js +2 -0
- package/dist/chunks/ListBox-BEZfjFMq.cjs.js.map +1 -0
- package/dist/chunks/ListBox-CiN7qgxV.es.js +645 -0
- package/dist/chunks/ListBox-CiN7qgxV.es.js.map +1 -0
- package/dist/chunks/LiveAnnouncer-BkrEjKY8.cjs.js +2 -0
- package/dist/chunks/{LiveAnnouncer-CwEWPU8b.cjs.js.map → LiveAnnouncer-BkrEjKY8.cjs.js.map} +1 -1
- package/dist/chunks/{LiveAnnouncer-B6177m92.es.js → LiveAnnouncer-CsPyaceH.es.js} +2 -2
- package/dist/chunks/{LiveAnnouncer-B6177m92.es.js.map → LiveAnnouncer-CsPyaceH.es.js.map} +1 -1
- package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -1
- package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -1
- package/dist/chunks/{OverlayArrow-BpI9oaqU.es.js → OverlayArrow-BEiPDprB.es.js} +22 -22
- package/dist/chunks/{OverlayArrow-BpI9oaqU.es.js.map → OverlayArrow-BEiPDprB.es.js.map} +1 -1
- package/dist/chunks/OverlayArrow-BcRQfR_V.cjs.js +2 -0
- package/dist/chunks/{OverlayArrow-HjwHXXDg.cjs.js.map → OverlayArrow-BcRQfR_V.cjs.js.map} +1 -1
- package/dist/chunks/{ProgressBar-DpsMzb_5.cjs.js → ProgressBar-Cot0VLjE.cjs.js} +2 -2
- package/dist/chunks/{ProgressBar-DpsMzb_5.cjs.js.map → ProgressBar-Cot0VLjE.cjs.js.map} +1 -1
- package/dist/chunks/{ProgressBar-CjzD-Z5i.es.js → ProgressBar-M-wNKpE5.es.js} +4 -4
- package/dist/chunks/{ProgressBar-CjzD-Z5i.es.js.map → ProgressBar-M-wNKpE5.es.js.map} +1 -1
- package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js.map +1 -1
- package/dist/chunks/SSRProvider-eIEwc-2s.es.js.map +1 -1
- package/dist/chunks/Separator-BFKzWOOv.cjs.js +18 -0
- package/dist/chunks/Separator-BFKzWOOv.cjs.js.map +1 -0
- package/dist/chunks/Separator-CBgksjWN.es.js +2435 -0
- package/dist/chunks/Separator-CBgksjWN.es.js.map +1 -0
- package/dist/chunks/{TextArea-BeSyeRBk.es.js → TextArea-DcFJx08j.es.js} +5 -5
- package/dist/chunks/{TextArea-BeSyeRBk.es.js.map → TextArea-DcFJx08j.es.js.map} +1 -1
- package/dist/chunks/{TextArea-C0Ozz1GB.cjs.js → TextArea-ciW_61Jv.cjs.js} +2 -2
- package/dist/chunks/{TextArea-C0Ozz1GB.cjs.js.map → TextArea-ciW_61Jv.cjs.js.map} +1 -1
- package/dist/chunks/{VisuallyHidden-D5E2DfM-.es.js → VisuallyHidden-CE-SZFGa.es.js} +3 -3
- package/dist/chunks/{VisuallyHidden-D5E2DfM-.es.js.map → VisuallyHidden-CE-SZFGa.es.js.map} +1 -1
- package/dist/chunks/{VisuallyHidden-BeFoHnz-.cjs.js → VisuallyHidden-Cqkg4RzT.cjs.js} +2 -2
- package/dist/chunks/{VisuallyHidden-BeFoHnz-.cjs.js.map → VisuallyHidden-Cqkg4RzT.cjs.js.map} +1 -1
- package/dist/chunks/{accordion-Dc0-jhj-.es.js → accordion-AFXp_v9r.es.js} +65 -65
- package/dist/chunks/{accordion-Dc0-jhj-.es.js.map → accordion-AFXp_v9r.es.js.map} +1 -1
- package/dist/chunks/accordion-CnNWyGUM.cjs.js +2 -0
- package/dist/chunks/{accordion-BqC_0cQF.cjs.js.map → accordion-CnNWyGUM.cjs.js.map} +1 -1
- package/dist/chunks/{alert-0lZycfTS.cjs.js → alert-CTdQVQEX.cjs.js} +2 -2
- package/dist/chunks/{alert-0lZycfTS.cjs.js.map → alert-CTdQVQEX.cjs.js.map} +1 -1
- package/dist/chunks/{alert-CLgnvjGx.es.js → alert-DObB3_Vi.es.js} +2 -2
- package/dist/chunks/{alert-CLgnvjGx.es.js.map → alert-DObB3_Vi.es.js.map} +1 -1
- package/dist/chunks/avatar-BLun8TXk.cjs.js.map +1 -1
- package/dist/chunks/avatar-DgvfEdwK.es.js.map +1 -1
- package/dist/chunks/{badge-BFL2bErq.cjs.js → badge-CFwI3HLf.cjs.js} +2 -2
- package/dist/chunks/{badge-BFL2bErq.cjs.js.map → badge-CFwI3HLf.cjs.js.map} +1 -1
- package/dist/chunks/{badge-C_FXV6xO.es.js → badge-DVDR3-fy.es.js} +2 -2
- package/dist/chunks/{badge-C_FXV6xO.es.js.map → badge-DVDR3-fy.es.js.map} +1 -1
- package/dist/chunks/{button-HUhEhOaq.es.js → button-DPZ4gynI.es.js} +19 -19
- package/dist/chunks/{button-HUhEhOaq.es.js.map → button-DPZ4gynI.es.js.map} +1 -1
- package/dist/chunks/{button-ByoXAf0f.cjs.js → button-DhrBalPi.cjs.js} +2 -2
- package/dist/chunks/{button-ByoXAf0f.cjs.js.map → button-DhrBalPi.cjs.js.map} +1 -1
- package/dist/chunks/calendar-BCsFBFkk.es.js +185 -0
- package/dist/chunks/calendar-BCsFBFkk.es.js.map +1 -0
- package/dist/chunks/calendar-BeUwpJo3.cjs.js +2 -0
- package/dist/chunks/calendar-BeUwpJo3.cjs.js.map +1 -0
- package/dist/chunks/{card-BlrFTWUO.es.js → card-CS_daMhq.es.js} +3 -3
- package/dist/chunks/{card-BlrFTWUO.es.js.map → card-CS_daMhq.es.js.map} +1 -1
- package/dist/chunks/{card-B9Ei2Ifh.cjs.js → card-svWLl_kS.cjs.js} +2 -2
- package/dist/chunks/{card-B9Ei2Ifh.cjs.js.map → card-svWLl_kS.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-BjNxOrz3.es.js → checkbox-BFb4vHab.es.js} +7 -7
- package/dist/chunks/{checkbox-BjNxOrz3.es.js.map → checkbox-BFb4vHab.es.js.map} +1 -1
- package/dist/chunks/{checkbox-DwrmmRar.cjs.js → checkbox-D0evM4Sv.cjs.js} +2 -2
- package/dist/chunks/{checkbox-DwrmmRar.cjs.js.map → checkbox-D0evM4Sv.cjs.js.map} +1 -1
- package/dist/chunks/combobox-D30xydJw.cjs.js +2 -0
- package/dist/chunks/combobox-D30xydJw.cjs.js.map +1 -0
- package/dist/chunks/combobox-wZEZ8t94.es.js +1916 -0
- package/dist/chunks/combobox-wZEZ8t94.es.js.map +1 -0
- package/dist/chunks/combobox.recipe-BKOsv-Im.cjs.js +2 -0
- package/dist/chunks/{combobox.recipe-BtnFn38v.cjs.js.map → combobox.recipe-BKOsv-Im.cjs.js.map} +1 -1
- package/dist/chunks/{combobox.recipe-aeARdYiV.es.js → combobox.recipe-BQy3LgVG.es.js} +17 -44
- package/dist/chunks/{combobox.recipe-aeARdYiV.es.js.map → combobox.recipe-BQy3LgVG.es.js.map} +1 -1
- package/dist/chunks/context-D3RF-nTI.es.js.map +1 -1
- package/dist/chunks/context-DURpz5en.cjs.js.map +1 -1
- package/dist/chunks/{date-input-BC-7OWJ7.cjs.js → date-input-B3VEJdpa.cjs.js} +2 -2
- package/dist/chunks/{date-input-BC-7OWJ7.cjs.js.map → date-input-B3VEJdpa.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-CB3KDtkI.es.js → date-input-TeYMF5Hb.es.js} +3 -3
- package/dist/chunks/{date-input-CB3KDtkI.es.js.map → date-input-TeYMF5Hb.es.js.map} +1 -1
- package/dist/chunks/{date-input.recipe-BtWEmJGK.es.js → date-input.recipe-BTsUgaUQ.es.js} +10 -3
- package/dist/chunks/{date-input.recipe-BtWEmJGK.es.js.map → date-input.recipe-BTsUgaUQ.es.js.map} +1 -1
- package/dist/chunks/{date-input.recipe-Cf9e8VAr.cjs.js → date-input.recipe-Onzf22sP.cjs.js} +2 -2
- package/dist/chunks/{date-input.recipe-Cf9e8VAr.cjs.js.map → date-input.recipe-Onzf22sP.cjs.js.map} +1 -1
- package/dist/chunks/date-picker-BrkP7f-J.cjs.js +2 -0
- package/dist/chunks/date-picker-BrkP7f-J.cjs.js.map +1 -0
- package/dist/chunks/date-picker-CTGHoJdV.es.js +183 -0
- package/dist/chunks/date-picker-CTGHoJdV.es.js.map +1 -0
- package/dist/chunks/date-range-picker-BZ7e2THh.cjs.js +2 -0
- package/dist/chunks/date-range-picker-BZ7e2THh.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-DYAE8hY-.es.js +273 -0
- package/dist/chunks/date-range-picker-DYAE8hY-.es.js.map +1 -0
- package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js +2 -0
- package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js +124 -0
- package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js.map +1 -0
- package/dist/chunks/divider-CifCuFCu.cjs.js +2 -0
- package/dist/chunks/divider-CifCuFCu.cjs.js.map +1 -0
- package/dist/chunks/divider-Js2LpOHh.es.js +58 -0
- package/dist/chunks/divider-Js2LpOHh.es.js.map +1 -0
- package/dist/chunks/domHelpers-InH3T0qs.es.js +16 -0
- package/dist/chunks/domHelpers-InH3T0qs.es.js.map +1 -0
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +2 -0
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +1 -0
- package/dist/chunks/extractStyleProps-CxgBrz3O.es.js.map +1 -1
- package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js.map +1 -1
- package/dist/chunks/{filterDOMProps-D6KHYVBX.es.js → filterDOMProps-HzsCnE3d.es.js} +2 -2
- package/dist/chunks/{filterDOMProps-D6KHYVBX.es.js.map → filterDOMProps-HzsCnE3d.es.js.map} +1 -1
- package/dist/chunks/{filterDOMProps-BS2lrgFA.cjs.js → filterDOMProps-_f3L9QML.cjs.js} +2 -2
- package/dist/chunks/{filterDOMProps-BS2lrgFA.cjs.js.map → filterDOMProps-_f3L9QML.cjs.js.map} +1 -1
- package/dist/chunks/focusSafely-BEP7qH8R.cjs.js +2 -0
- package/dist/chunks/focusSafely-BEP7qH8R.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-Cpgkt6WC.es.js +69 -0
- package/dist/chunks/focusSafely-Cpgkt6WC.es.js.map +1 -0
- package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
- package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
- package/dist/chunks/{form-field-DwxzvTA8.es.js → form-field-CmiwMrRv.es.js} +4 -4
- package/dist/chunks/{form-field-DwxzvTA8.es.js.map → form-field-CmiwMrRv.es.js.map} +1 -1
- package/dist/chunks/{form-field-DmlJuq9F.cjs.js → form-field-kTuQQx9G.cjs.js} +2 -2
- package/dist/chunks/{form-field-DmlJuq9F.cjs.js.map → form-field-kTuQQx9G.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-Bj1MnoDm.es.js → icon-button-CPBzhg2C.es.js} +2 -2
- package/dist/chunks/{icon-button-Bj1MnoDm.es.js.map → icon-button-CPBzhg2C.es.js.map} +1 -1
- package/dist/chunks/{icon-button-Vf2txEnP.cjs.js → icon-button-QwpNTUZ8.cjs.js} +2 -2
- package/dist/chunks/{icon-button-Vf2txEnP.cjs.js.map → icon-button-QwpNTUZ8.cjs.js.map} +1 -1
- package/dist/chunks/kbd-Bkhw9E6L.cjs.js +2 -0
- package/dist/chunks/kbd-Bkhw9E6L.cjs.js.map +1 -0
- package/dist/chunks/kbd-Gxvodc1U.es.js +15 -0
- package/dist/chunks/kbd-Gxvodc1U.es.js.map +1 -0
- package/dist/chunks/kbd.recipe-BONVaPQN.es.js +26 -0
- package/dist/chunks/kbd.recipe-BONVaPQN.es.js.map +1 -0
- package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js +2 -0
- package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js.map +1 -0
- package/dist/chunks/{link-C89khrQp.cjs.js → link-DJmmcif9.cjs.js} +2 -2
- package/dist/chunks/{link-C89khrQp.cjs.js.map → link-DJmmcif9.cjs.js.map} +1 -1
- package/dist/chunks/{link-D3Rr2RQl.es.js → link-I24WQHS6.es.js} +7 -7
- package/dist/chunks/{link-D3Rr2RQl.es.js.map → link-I24WQHS6.es.js.map} +1 -1
- package/dist/chunks/{loading-spinner-CnJDA2s5.cjs.js → loading-spinner-BQd4UVQs.cjs.js} +2 -2
- package/dist/chunks/{loading-spinner-CnJDA2s5.cjs.js.map → loading-spinner-BQd4UVQs.cjs.js.map} +1 -1
- package/dist/chunks/{loading-spinner-DBsMwy3U.es.js → loading-spinner-DwN-yshK.es.js} +3 -3
- package/dist/chunks/{loading-spinner-DBsMwy3U.es.js.map → loading-spinner-DwN-yshK.es.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-diGDWsyp.es.js → make-element-focusable-BRVwOKkK.es.js} +3 -3
- package/dist/chunks/{make-element-focusable-diGDWsyp.es.js.map → make-element-focusable-BRVwOKkK.es.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-zhwaMi8v.cjs.js → make-element-focusable-DDGKtWBN.cjs.js} +2 -2
- package/dist/chunks/{make-element-focusable-zhwaMi8v.cjs.js.map → make-element-focusable-DDGKtWBN.cjs.js.map} +1 -1
- package/dist/chunks/menu-BnUXBlRL.cjs.js +2 -0
- package/dist/chunks/menu-BnUXBlRL.cjs.js.map +1 -0
- package/dist/chunks/menu-DcEXCIN3.es.js +167 -0
- package/dist/chunks/menu-DcEXCIN3.es.js.map +1 -0
- package/dist/chunks/{mergeProps-BUo0BHVY.es.js → mergeProps-Bn6EInU5.es.js} +4 -3
- package/dist/chunks/{mergeProps-BUo0BHVY.es.js.map → mergeProps-Bn6EInU5.es.js.map} +1 -1
- package/dist/chunks/mergeProps-VvQrkhSh.cjs.js +2 -0
- package/dist/chunks/{mergeProps--cTsQeLh.cjs.js.map → mergeProps-VvQrkhSh.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-CIHvD3Oz.es.js → multiline-text-input-Be3sGtOK.es.js} +3 -3
- package/dist/chunks/{multiline-text-input-CIHvD3Oz.es.js.map → multiline-text-input-Be3sGtOK.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-AjqfDDxC.cjs.js → multiline-text-input-CzoQb5Ms.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-AjqfDDxC.cjs.js.map → multiline-text-input-CzoQb5Ms.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-BjnzjFmv.es.js → nimbus-provider-CDXyYH9f.es.js} +377 -217
- package/dist/chunks/nimbus-provider-CDXyYH9f.es.js.map +1 -0
- package/dist/chunks/nimbus-provider-zUukT3WE.cjs.js +4 -0
- package/dist/chunks/nimbus-provider-zUukT3WE.cjs.js.map +1 -0
- package/dist/chunks/number-5qMXmHyn.es.js.map +1 -1
- package/dist/chunks/number-CnrRPi4_.cjs.js.map +1 -1
- package/dist/chunks/{number-input-Da1tzQlg.es.js → number-input-B1gQD11A.es.js} +230 -214
- package/dist/chunks/number-input-B1gQD11A.es.js.map +1 -0
- package/dist/chunks/number-input-Cvy4MbJv.cjs.js +2 -0
- package/dist/chunks/number-input-Cvy4MbJv.cjs.js.map +1 -0
- package/dist/chunks/{openLink-Bb-6Z-d5.es.js → openLink-BRnXRj9w.es.js} +11 -11
- package/dist/chunks/{openLink-Bb-6Z-d5.es.js.map → openLink-BRnXRj9w.es.js.map} +1 -1
- package/dist/chunks/{openLink-COo3k75n.cjs.js → openLink-BjodHrGD.cjs.js} +2 -2
- package/dist/chunks/{openLink-COo3k75n.cjs.js.map → openLink-BjodHrGD.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-CS1tN_Tr.es.js → password-input-B1oZ6y7E.es.js} +4 -4
- package/dist/chunks/{password-input-CS1tN_Tr.es.js.map → password-input-B1oZ6y7E.es.js.map} +1 -1
- package/dist/chunks/{password-input-BBUAEOxl.cjs.js → password-input-D3wUJdjZ.cjs.js} +2 -2
- package/dist/chunks/{password-input-BBUAEOxl.cjs.js.map → password-input-D3wUJdjZ.cjs.js.map} +1 -1
- package/dist/chunks/{platform-Bc175Jt1.es.js → platform-D-bXaP3n.es.js} +3 -3
- package/dist/chunks/{platform-Bc175Jt1.es.js.map → platform-D-bXaP3n.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-oKaz0uqw.cjs.js → progress-bar-CbZY1dE1.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-oKaz0uqw.cjs.js.map → progress-bar-CbZY1dE1.cjs.js.map} +1 -1
- package/dist/chunks/{progress-bar-QwctSqZZ.es.js → progress-bar-VipTWl4r.es.js} +3 -3
- package/dist/chunks/{progress-bar-QwctSqZZ.es.js.map → progress-bar-VipTWl4r.es.js.map} +1 -1
- package/dist/chunks/{radio-input-BexkdvxD.es.js → radio-input-BSrrYcqs.es.js} +15 -15
- package/dist/chunks/{radio-input-BexkdvxD.es.js.map → radio-input-BSrrYcqs.es.js.map} +1 -1
- package/dist/chunks/{radio-input-C7QoAolu.cjs.js → radio-input-vHNjGqLS.cjs.js} +2 -2
- package/dist/chunks/{radio-input-C7QoAolu.cjs.js.map → radio-input-vHNjGqLS.cjs.js.map} +1 -1
- package/dist/chunks/range-calendar-CsS-i222.cjs.js +2 -0
- package/dist/chunks/range-calendar-CsS-i222.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-DEpcpGLw.es.js +185 -0
- package/dist/chunks/range-calendar-DEpcpGLw.es.js.map +1 -0
- package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js +129 -0
- package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js.map +1 -0
- package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js +2 -0
- package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js.map +1 -0
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +2 -0
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +1 -0
- package/dist/chunks/scrollIntoView-C5qp-va8.es.js +64 -0
- package/dist/chunks/scrollIntoView-C5qp-va8.es.js.map +1 -0
- package/dist/chunks/select-CMIJ0YjS.cjs.js +2 -0
- package/dist/chunks/{select-CwzhqF_g.cjs.js.map → select-CMIJ0YjS.cjs.js.map} +1 -1
- package/dist/chunks/{select-CU2u2b6U.es.js → select-wZ584ENo.es.js} +154 -153
- package/dist/chunks/{select-CU2u2b6U.es.js.map → select-wZ584ENo.es.js.map} +1 -1
- package/dist/chunks/select.recipe-BIox51h1.cjs.js +2 -0
- package/dist/chunks/select.recipe-BIox51h1.cjs.js.map +1 -0
- package/dist/chunks/{select.recipe-CXWsUldF.es.js → select.recipe-CNH8aWdo.es.js} +3 -3
- package/dist/chunks/select.recipe-CNH8aWdo.es.js.map +1 -0
- package/dist/chunks/{switch-CUwyaYts.cjs.js → switch-BM-A9yVv.cjs.js} +2 -2
- package/dist/chunks/{switch-CUwyaYts.cjs.js.map → switch-BM-A9yVv.cjs.js.map} +1 -1
- package/dist/chunks/{switch-DgbFw1kA.es.js → switch-Bxeo0Ktw.es.js} +5 -5
- package/dist/chunks/{switch-DgbFw1kA.es.js.map → switch-Bxeo0Ktw.es.js.map} +1 -1
- package/dist/chunks/{tag-group-Cc6S9cbR.es.js → tag-group-CWIMWAG_.es.js} +56 -55
- package/dist/chunks/{tag-group-Cc6S9cbR.es.js.map → tag-group-CWIMWAG_.es.js.map} +1 -1
- package/dist/chunks/tag-group-IJIXPuLT.cjs.js +2 -0
- package/dist/chunks/{tag-group-DCgEBbmh.cjs.js.map → tag-group-IJIXPuLT.cjs.js.map} +1 -1
- package/dist/chunks/{text-CEFwlX3E.cjs.js → text--fhvW47o.cjs.js} +2 -2
- package/dist/chunks/{text-CEFwlX3E.cjs.js.map → text--fhvW47o.cjs.js.map} +1 -1
- package/dist/chunks/{text-CYoFrI2I.es.js → text-CFsPSPPs.es.js} +2 -2
- package/dist/chunks/{text-CYoFrI2I.es.js.map → text-CFsPSPPs.es.js.map} +1 -1
- package/dist/chunks/{text-input-uhPCsxsK.es.js → text-input--62r8jAx.es.js} +3 -3
- package/dist/chunks/{text-input-uhPCsxsK.es.js.map → text-input--62r8jAx.es.js.map} +1 -1
- package/dist/chunks/{text-input-fAoATAAX.cjs.js → text-input-FGkoWybY.cjs.js} +2 -2
- package/dist/chunks/{text-input-fAoATAAX.cjs.js.map → text-input-FGkoWybY.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-BwtzFUWN.cjs.js → time-input-BH0G5PFd.cjs.js} +2 -2
- package/dist/chunks/{time-input-BwtzFUWN.cjs.js.map → time-input-BH0G5PFd.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-ClF6Qx1T.es.js → time-input-DeYvqDoa.es.js} +2 -2
- package/dist/chunks/{time-input-ClF6Qx1T.es.js.map → time-input-DeYvqDoa.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-BDzXfqxK.es.js → toggle-button-group-B5xBRXo1.es.js} +12 -24
- package/dist/chunks/{toggle-button-group-BDzXfqxK.es.js.map → toggle-button-group-B5xBRXo1.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-BOdTMLPd.cjs.js → toggle-button-group-Cvhe_K50.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-group-BOdTMLPd.cjs.js.map → toggle-button-group-Cvhe_K50.cjs.js.map} +1 -1
- package/dist/chunks/tooltip-B6mXEaGu.cjs.js +2 -0
- package/dist/chunks/{tooltip-p-s9eZWV.cjs.js.map → tooltip-B6mXEaGu.cjs.js.map} +1 -1
- package/dist/chunks/{tooltip-MQm4h_hA.es.js → tooltip-CsfjIITA.es.js} +33 -33
- package/dist/chunks/{tooltip-MQm4h_hA.es.js.map → tooltip-CsfjIITA.es.js.map} +1 -1
- package/dist/chunks/{useButton-DdY6ixlh.es.js → useButton-BGeoUZHr.es.js} +5 -5
- package/dist/chunks/{useButton-DdY6ixlh.es.js.map → useButton-BGeoUZHr.es.js.map} +1 -1
- package/dist/chunks/{useButton-Cw2i6_TH.cjs.js → useButton-Bnd1IfAy.cjs.js} +2 -2
- package/dist/chunks/{useButton-Cw2i6_TH.cjs.js.map → useButton-Bnd1IfAy.cjs.js.map} +1 -1
- package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
- package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
- package/dist/chunks/useDateFormatter-Byp_7yyY.cjs.js +2 -0
- package/dist/chunks/{useDateFormatter-CeTPxW8a.cjs.js.map → useDateFormatter-Byp_7yyY.cjs.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-DvdguFVS.es.js → useDateFormatter-CioL-RTi.es.js} +37 -37
- package/dist/chunks/{useDateFormatter-DvdguFVS.es.js.map → useDateFormatter-CioL-RTi.es.js.map} +1 -1
- package/dist/chunks/useDescription-BQV7vQ1v.es.js +33 -0
- package/dist/chunks/useDescription-BQV7vQ1v.es.js.map +1 -0
- package/dist/chunks/useDescription-Bb-vj5q6.cjs.js +2 -0
- package/dist/chunks/useDescription-Bb-vj5q6.cjs.js.map +1 -0
- package/dist/chunks/{useEvent-BFbCMsMG.cjs.js → useEvent-ZeHBdflg.cjs.js} +2 -2
- package/dist/chunks/{useEvent-BFbCMsMG.cjs.js.map → useEvent-ZeHBdflg.cjs.js.map} +1 -1
- package/dist/chunks/{useEvent-CzfHWUdv.es.js → useEvent-xlhjqVYi.es.js} +2 -2
- package/dist/chunks/{useEvent-CzfHWUdv.es.js.map → useEvent-xlhjqVYi.es.js.map} +1 -1
- package/dist/chunks/{useField-Caqfdud_.es.js → useField-BGOhsACE.es.js} +3 -3
- package/dist/chunks/{useField-Caqfdud_.es.js.map → useField-BGOhsACE.es.js.map} +1 -1
- package/dist/chunks/{useField-CNr5aECk.cjs.js → useField-Doh1_zqa.cjs.js} +2 -2
- package/dist/chunks/{useField-CNr5aECk.cjs.js.map → useField-Doh1_zqa.cjs.js.map} +1 -1
- package/dist/chunks/useFocus-CRjxQc9J.cjs.js +2 -0
- package/dist/chunks/useFocus-CRjxQc9J.cjs.js.map +1 -0
- package/dist/chunks/useFocus-DyrL604F.es.js +189 -0
- package/dist/chunks/useFocus-DyrL604F.es.js.map +1 -0
- package/dist/chunks/{useFocusRing-Bij4qXCm.es.js → useFocusRing-BOPRvfsD.es.js} +3 -3
- package/dist/chunks/{useFocusRing-Bij4qXCm.es.js.map → useFocusRing-BOPRvfsD.es.js.map} +1 -1
- package/dist/chunks/{useFocusRing-DE3LmlBK.cjs.js → useFocusRing-wD8IMPEh.cjs.js} +2 -2
- package/dist/chunks/{useFocusRing-DE3LmlBK.cjs.js.map → useFocusRing-wD8IMPEh.cjs.js.map} +1 -1
- package/dist/chunks/{useFocusWithin-CWaYFSji.cjs.js → useFocusWithin-B5GNsbfr.cjs.js} +2 -2
- package/dist/chunks/{useFocusWithin-CWaYFSji.cjs.js.map → useFocusWithin-B5GNsbfr.cjs.js.map} +1 -1
- package/dist/chunks/{useFocusWithin-BxAgY02U.es.js → useFocusWithin-DH1ei7eA.es.js} +2 -2
- package/dist/chunks/{useFocusWithin-BxAgY02U.es.js.map → useFocusWithin-DH1ei7eA.es.js.map} +1 -1
- package/dist/chunks/useFocusable-Bbz310Qf.cjs.js +2 -0
- package/dist/chunks/useFocusable-Bbz310Qf.cjs.js.map +1 -0
- package/dist/chunks/useFocusable-C_1ABg2H.es.js +100 -0
- package/dist/chunks/useFocusable-C_1ABg2H.es.js.map +1 -0
- package/dist/chunks/useFormReset-C6y6YYJp.cjs.js +2 -0
- package/dist/chunks/{useFormReset-B7JIQEba.cjs.js.map → useFormReset-C6y6YYJp.cjs.js.map} +1 -1
- package/dist/chunks/{useFormReset-j9laz3Zh.es.js → useFormReset-CC4XkaS0.es.js} +4 -4
- package/dist/chunks/{useFormReset-j9laz3Zh.es.js.map → useFormReset-CC4XkaS0.es.js.map} +1 -1
- package/dist/chunks/useFormValidation-D4duh8Fb.es.js +200 -0
- package/dist/chunks/{useFormValidation-BbPFbrIk.es.js.map → useFormValidation-D4duh8Fb.es.js.map} +1 -1
- package/dist/chunks/useFormValidation-D5EJ50gR.cjs.js +2 -0
- package/dist/chunks/{useFormValidation-WxEl8dbL.cjs.js.map → useFormValidation-D5EJ50gR.cjs.js.map} +1 -1
- package/dist/chunks/useHover-B4ryD1zd.cjs.js +2 -0
- package/dist/chunks/useHover-B4ryD1zd.cjs.js.map +1 -0
- package/dist/chunks/{useHover-DmJo2yqg.es.js → useHover-EutQBS3I.es.js} +19 -19
- package/dist/chunks/useHover-EutQBS3I.es.js.map +1 -0
- package/dist/chunks/{useLabel-CekSAnqJ.es.js → useLabel-BuEJIpWS.es.js} +2 -2
- package/dist/chunks/{useLabel-CekSAnqJ.es.js.map → useLabel-BuEJIpWS.es.js.map} +1 -1
- package/dist/chunks/{useLabel-C1BLl-NU.cjs.js → useLabel-f5x32F8v.cjs.js} +2 -2
- package/dist/chunks/{useLabel-C1BLl-NU.cjs.js.map → useLabel-f5x32F8v.cjs.js.map} +1 -1
- package/dist/chunks/{useLocalizedStringFormatter-BfWBwLjq.es.js → useLocalizedStringFormatter-B_O_C-A0.es.js} +2 -2
- package/dist/chunks/{useLocalizedStringFormatter-BfWBwLjq.es.js.map → useLocalizedStringFormatter-B_O_C-A0.es.js.map} +1 -1
- package/dist/chunks/useLocalizedStringFormatter-ZUZDzNOP.cjs.js +2 -0
- package/dist/chunks/{useLocalizedStringFormatter-CdsqKKUv.cjs.js.map → useLocalizedStringFormatter-ZUZDzNOP.cjs.js.map} +1 -1
- package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js.map +1 -1
- package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
- package/dist/chunks/{usePress-Cjh8V0gi.es.js → usePress-Bf0oV30S.es.js} +182 -165
- package/dist/chunks/usePress-Bf0oV30S.es.js.map +1 -0
- package/dist/chunks/usePress-Cqy1fzvV.cjs.js +8 -0
- package/dist/chunks/usePress-Cqy1fzvV.cjs.js.map +1 -0
- package/dist/chunks/{useProgressBar-C2d-2Fkp.cjs.js → useProgressBar-3tBtQD6p.cjs.js} +2 -2
- package/dist/chunks/{useProgressBar-C2d-2Fkp.cjs.js.map → useProgressBar-3tBtQD6p.cjs.js.map} +1 -1
- package/dist/chunks/{useProgressBar-DZT7aMNM.es.js → useProgressBar-C8j_OVKt.es.js} +4 -4
- package/dist/chunks/{useProgressBar-DZT7aMNM.es.js.map → useProgressBar-C8j_OVKt.es.js.map} +1 -1
- package/dist/chunks/useSeparator-CZKjqF0N.cjs.js +2 -0
- package/dist/chunks/useSeparator-CZKjqF0N.cjs.js.map +1 -0
- package/dist/chunks/useSeparator-g1ilWvTX.es.js +19 -0
- package/dist/chunks/useSeparator-g1ilWvTX.es.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-BLYvCKPf.cjs.js +2 -0
- package/dist/chunks/useSingleSelectListState-BLYvCKPf.cjs.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-Dtne-c12.es.js +35 -0
- package/dist/chunks/useSingleSelectListState-Dtne-c12.es.js.map +1 -0
- package/dist/chunks/{useSpinButton-D2j8iVmv.es.js → useSpinButton-DEhwpuEM.es.js} +187 -158
- package/dist/chunks/useSpinButton-DEhwpuEM.es.js.map +1 -0
- package/dist/chunks/useSpinButton-DkqZHy9E.cjs.js +2 -0
- package/dist/chunks/useSpinButton-DkqZHy9E.cjs.js.map +1 -0
- package/dist/chunks/{useTextField-CtQSL6tL.es.js → useTextField-DewF7uv9.es.js} +8 -8
- package/dist/chunks/{useTextField-CtQSL6tL.es.js.map → useTextField-DewF7uv9.es.js.map} +1 -1
- package/dist/chunks/useTextField-J5W2QB4G.cjs.js +2 -0
- package/dist/chunks/{useTextField-BMUp5FfB.cjs.js.map → useTextField-J5W2QB4G.cjs.js.map} +1 -1
- package/dist/chunks/{useToggle-CTRf6MHr.es.js → useToggle-BXsvw8Q3.es.js} +6 -6
- package/dist/chunks/{useToggle-CTRf6MHr.es.js.map → useToggle-BXsvw8Q3.es.js.map} +1 -1
- package/dist/chunks/{useToggle-CdzYIaIp.cjs.js → useToggle-VMBvyMfl.cjs.js} +2 -2
- package/dist/chunks/{useToggle-CdzYIaIp.cjs.js.map → useToggle-VMBvyMfl.cjs.js.map} +1 -1
- package/dist/chunks/useToggleState-bO90kfqG.cjs.js.map +1 -1
- package/dist/chunks/useToggleState-mKFEFD2Q.es.js.map +1 -1
- package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
- package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js.map +1 -1
- package/dist/chunks/utils-BR34o1UE.es.js +269 -0
- package/dist/chunks/utils-BR34o1UE.es.js.map +1 -0
- package/dist/chunks/{utils-DB75DiMj.es.js → utils-CEdpnSRC.es.js} +4 -4
- package/dist/chunks/{utils-DB75DiMj.es.js.map → utils-CEdpnSRC.es.js.map} +1 -1
- package/dist/chunks/utils-CThuzDqT.cjs.js +2 -0
- package/dist/chunks/utils-CThuzDqT.cjs.js.map +1 -0
- package/dist/chunks/{utils-BQD5cAKH.cjs.js → utils-sWqo2nmW.cjs.js} +2 -2
- package/dist/chunks/{utils-BQD5cAKH.cjs.js.map → utils-sWqo2nmW.cjs.js.map} +1 -1
- package/dist/chunks/{visually-hidden-DJxzCHM4.es.js → visually-hidden-CQabqCJt.es.js} +2 -2
- package/dist/chunks/{visually-hidden-DJxzCHM4.es.js.map → visually-hidden-CQabqCJt.es.js.map} +1 -1
- package/dist/chunks/{visually-hidden-XscDHjYa.cjs.js → visually-hidden-YFEW-yS7.cjs.js} +2 -2
- package/dist/chunks/{visually-hidden-XscDHjYa.cjs.js.map → visually-hidden-YFEW-yS7.cjs.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 +96 -82
- package/dist/components/components.es.js.map +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 +2 -0
- package/dist/components/date-range-picker.cjs.map +1 -0
- package/dist/components/date-range-picker.es.js +5 -0
- package/dist/components/date-range-picker.es.js.map +1 -0
- 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/icon-button.cjs +1 -1
- package/dist/components/icon-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.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.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 +2 -0
- package/dist/components/range-calendar.cjs.map +1 -0
- package/dist/components/range-calendar.es.js +5 -0
- package/dist/components/range-calendar.es.js.map +1 -0
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.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/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/components.d.ts +325 -4
- package/dist/date-input.d.ts +7 -0
- package/dist/date-picker.d.ts +21 -1
- package/dist/date-range-picker.d.ts +111 -0
- package/dist/icon.d.ts +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +325 -4
- package/dist/index.es.js +116 -102
- package/dist/index.es.js.map +1 -1
- package/dist/kbd.d.ts +13 -5
- package/dist/range-calendar.d.ts +33 -0
- package/dist/setup-jsdom-polyfills.cjs.map +1 -1
- package/dist/setup-jsdom-polyfills.es.js.map +1 -1
- package/package.json +14 -13
- package/dist/chunks/DateField-BjIjR7y5.cjs.js +0 -2
- package/dist/chunks/Dialog-B6tbMgyU.cjs.js +0 -2
- package/dist/chunks/Dialog-B6tbMgyU.cjs.js.map +0 -1
- package/dist/chunks/Dialog-Ct6jqZ14.es.js +0 -870
- package/dist/chunks/Dialog-Ct6jqZ14.es.js.map +0 -1
- package/dist/chunks/FocusScope-BUeBbhRq.cjs.js +0 -2
- package/dist/chunks/FocusScope-BUeBbhRq.cjs.js.map +0 -1
- package/dist/chunks/FocusScope-BacYMT5s.es.js.map +0 -1
- package/dist/chunks/ListBox-ABeVGjvU.es.js +0 -3007
- package/dist/chunks/ListBox-ABeVGjvU.es.js.map +0 -1
- package/dist/chunks/ListBox-DCA-jDGn.cjs.js +0 -18
- package/dist/chunks/ListBox-DCA-jDGn.cjs.js.map +0 -1
- package/dist/chunks/LiveAnnouncer-CwEWPU8b.cjs.js +0 -2
- package/dist/chunks/OverlayArrow-HjwHXXDg.cjs.js +0 -2
- package/dist/chunks/accordion-BqC_0cQF.cjs.js +0 -2
- package/dist/chunks/calendar-4vA2Wjuk.es.js.map +0 -1
- package/dist/chunks/calendar-fDyD76bv.cjs.js +0 -2
- package/dist/chunks/calendar-fDyD76bv.cjs.js.map +0 -1
- package/dist/chunks/combobox-e2_LtIV2.cjs.js +0 -2
- package/dist/chunks/combobox-e2_LtIV2.cjs.js.map +0 -1
- package/dist/chunks/combobox-yROd_YZT.es.js +0 -1898
- package/dist/chunks/combobox-yROd_YZT.es.js.map +0 -1
- package/dist/chunks/combobox.recipe-BtnFn38v.cjs.js +0 -2
- package/dist/chunks/date-picker-BO7p5VmS.cjs.js +0 -2
- package/dist/chunks/date-picker-BO7p5VmS.cjs.js.map +0 -1
- package/dist/chunks/date-picker-DJVAYEAw.es.js +0 -484
- package/dist/chunks/date-picker-DJVAYEAw.es.js.map +0 -1
- package/dist/chunks/divider-Bo7fu52f.es.js +0 -72
- package/dist/chunks/divider-Bo7fu52f.es.js.map +0 -1
- package/dist/chunks/divider-jlSUrmo7.cjs.js +0 -2
- package/dist/chunks/divider-jlSUrmo7.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-BsLdCW-M.cjs.js +0 -2
- package/dist/chunks/focusSafely-BsLdCW-M.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-CahaQIyI.es.js +0 -37
- package/dist/chunks/focusSafely-CahaQIyI.es.js.map +0 -1
- package/dist/chunks/getScrollParent-DE66eQI-.es.js +0 -15
- package/dist/chunks/getScrollParent-DE66eQI-.es.js.map +0 -1
- package/dist/chunks/getScrollParent-Dc1cnLDE.cjs.js +0 -2
- package/dist/chunks/getScrollParent-Dc1cnLDE.cjs.js.map +0 -1
- package/dist/chunks/kbd-BKH_SGCC.es.js +0 -6
- package/dist/chunks/kbd-BKH_SGCC.es.js.map +0 -1
- package/dist/chunks/kbd-Bhv8ae1I.cjs.js +0 -2
- package/dist/chunks/kbd-Bhv8ae1I.cjs.js.map +0 -1
- package/dist/chunks/mergeProps--cTsQeLh.cjs.js +0 -2
- package/dist/chunks/nimbus-provider-BjnzjFmv.es.js.map +0 -1
- package/dist/chunks/nimbus-provider-Cfpse_6n.cjs.js +0 -2
- package/dist/chunks/nimbus-provider-Cfpse_6n.cjs.js.map +0 -1
- package/dist/chunks/number-input-Da1tzQlg.es.js.map +0 -1
- package/dist/chunks/number-input-oxPP81Et.cjs.js +0 -2
- package/dist/chunks/number-input-oxPP81Et.cjs.js.map +0 -1
- package/dist/chunks/scrollIntoView-CqkKWFb6.es.js +0 -83
- package/dist/chunks/scrollIntoView-CqkKWFb6.es.js.map +0 -1
- package/dist/chunks/scrollIntoView-DJjtWQTK.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-DJjtWQTK.cjs.js.map +0 -1
- package/dist/chunks/select-CwzhqF_g.cjs.js +0 -2
- package/dist/chunks/select.recipe-CXWsUldF.es.js.map +0 -1
- package/dist/chunks/select.recipe-DUHFWlQt.cjs.js +0 -2
- package/dist/chunks/select.recipe-DUHFWlQt.cjs.js.map +0 -1
- package/dist/chunks/tag-group-DCgEBbmh.cjs.js +0 -2
- package/dist/chunks/tooltip-p-s9eZWV.cjs.js +0 -2
- package/dist/chunks/useDateFormatter-CeTPxW8a.cjs.js +0 -2
- package/dist/chunks/useFocus-3ktZKnFP.es.js +0 -135
- package/dist/chunks/useFocus-3ktZKnFP.es.js.map +0 -1
- package/dist/chunks/useFocus-D9bTLwXz.cjs.js +0 -2
- package/dist/chunks/useFocus-D9bTLwXz.cjs.js.map +0 -1
- package/dist/chunks/useFocusable-41-WL-k6.cjs.js +0 -2
- package/dist/chunks/useFocusable-41-WL-k6.cjs.js.map +0 -1
- package/dist/chunks/useFocusable-B4YfgYbi.es.js +0 -75
- package/dist/chunks/useFocusable-B4YfgYbi.es.js.map +0 -1
- package/dist/chunks/useFormReset-B7JIQEba.cjs.js +0 -2
- package/dist/chunks/useFormValidation-BbPFbrIk.es.js +0 -179
- package/dist/chunks/useFormValidation-WxEl8dbL.cjs.js +0 -2
- package/dist/chunks/useHover-ClWWazLU.cjs.js +0 -2
- package/dist/chunks/useHover-ClWWazLU.cjs.js.map +0 -1
- package/dist/chunks/useHover-DmJo2yqg.es.js.map +0 -1
- package/dist/chunks/useLocalizedStringFormatter-CdsqKKUv.cjs.js +0 -2
- package/dist/chunks/usePress-CHjHe0z6.cjs.js +0 -8
- package/dist/chunks/usePress-CHjHe0z6.cjs.js.map +0 -1
- package/dist/chunks/usePress-Cjh8V0gi.es.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-C2uPq6eE.cjs.js +0 -2
- package/dist/chunks/useSingleSelectListState-C2uPq6eE.cjs.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-NfI_d4ak.es.js +0 -269
- package/dist/chunks/useSingleSelectListState-NfI_d4ak.es.js.map +0 -1
- package/dist/chunks/useSpinButton-C2O01UxL.cjs.js +0 -2
- package/dist/chunks/useSpinButton-C2O01UxL.cjs.js.map +0 -1
- package/dist/chunks/useSpinButton-D2j8iVmv.es.js.map +0 -1
- package/dist/chunks/useTextField-BMUp5FfB.cjs.js +0 -2
- package/dist/chunks/utils-4CMfmbln.es.js +0 -187
- package/dist/chunks/utils-4CMfmbln.es.js.map +0 -1
- package/dist/chunks/utils-DDsBrWAK.cjs.js +0 -2
- package/dist/chunks/utils-DDsBrWAK.cjs.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-range-picker-DYAE8hY-.es.js","sources":["../../src/components/date-range-picker/date-range-picker.slots.tsx","../../src/components/date-range-picker/components/date-range-picker.time-input.tsx","../../src/components/date-range-picker/components/date-range-picker.custom-context.tsx","../../src/components/date-range-picker/date-range-picker.tsx"],"sourcesContent":["import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { dateRangePickerSlotRecipe } from \"./date-range-picker.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\ninterface DateRangePickerRecipeProps extends RecipeProps<\"div\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface DateRangePickerRootProps\n extends HTMLChakraProps<\"div\", DateRangePickerRecipeProps> {}\n\n// Correctly destructure from createSlotRecipeContext based on project examples\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: dateRangePickerSlotRecipe,\n});\n\n/**\n * Root component that provides the styling context for the DateRangePicker component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const DateRangePickerRootSlot = withProvider<\n HTMLDivElement,\n DateRangePickerRootProps\n>(\"div\", \"root\");\n\n/**\n * Slot component for the input group containing the DateInput and trigger button.\n */\nexport const DateRangePickerGroupSlot = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"group\");\n\n/**\n * Slot component for the trigger button that opens the calendar popover.\n */\nexport const DateRangePickerTriggerSlot = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"trigger\");\n\n/**\n * Slot component for the popover container.\n */\nexport const DateRangePickerPopoverSlot = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"popover\");\n\n/**\n * Slot component for the calendar container within the popover.\n */\nexport const DateRangePickerCalendarSlot = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"calendar\");\n\n/**\n * Slot component for the calendar header.\n */\nexport const DateRangePickerCalendarHeaderSlot = withContext<\n HTMLElement,\n HTMLChakraProps<\"header\">\n>(\"header\", \"calendarHeader\");\n\n/**\n * Slot component for the calendar grid.\n */\nexport const DateRangePickerCalendarGridSlot = withContext<\n HTMLTableElement,\n HTMLChakraProps<\"table\">\n>(\"table\", \"calendarGrid\");\n\n/**\n * Slot component for individual calendar cells.\n */\nexport const DateRangePickerCalendarCellSlot = withContext<\n HTMLTableCellElement,\n HTMLChakraProps<\"td\">\n>(\"td\", \"calendarCell\");\n","import { Flex, Text, TimeInput } from \"@/components\";\nimport { useContext, useRef, useEffect } from \"react\";\nimport { useLocale } from \"react-aria\";\nimport { DateRangePickerStateContext } from \"react-aria-components\";\nimport type { DateRangePickerTimeInputProps } from \"../date-range-picker.types\";\n\nexport const DateRangePickerTimeInput = ({\n hideTimeZone,\n hourCycle,\n}: DateRangePickerTimeInputProps) => {\n const { locale } = useLocale();\n const dateRangePickerState = useContext(DateRangePickerStateContext);\n const { granularity, value } = dateRangePickerState!;\n const timeInputRef = useRef<HTMLDivElement>(null);\n const previousValueRef = useRef(value);\n\n // do not show up to the party if you're not invited\n if (granularity === \"day\") {\n return null;\n }\n\n // DateRangePicker-specific: Focus the time input when date range changes (user selects dates from calendar)\n useEffect(() => {\n // DateRangePicker-specific: Check if date range changed by comparing start and end dates\n const hasValueChanged =\n (value?.start &&\n previousValueRef.current?.start?.compare(value.start) !== 0) ||\n (value?.end && previousValueRef.current?.end?.compare(value.end) !== 0);\n\n if (hasValueChanged) {\n // Small delay to ensure the DOM is ready\n setTimeout(() => {\n // Find the first focusable segment within the time input container\n const container = timeInputRef.current;\n if (container) {\n const firstSegment = container.querySelector(\n '[role=\"spinbutton\"]'\n ) as HTMLElement;\n\n if (firstSegment) {\n firstSegment.focus();\n }\n }\n }, 50);\n }\n\n // DateRangePicker-specific: Update previous value reference for range comparison\n previousValueRef.current = value;\n }, [value]);\n\n return (\n <Flex\n ref={timeInputRef}\n borderTop=\"solid-25\"\n borderColor=\"neutral.3\"\n py=\"300\"\n px=\"400\"\n alignItems=\"center\"\n justifyContent=\"center\"\n gap=\"200\"\n >\n {/* DateRangePicker-specific: Start DateInput with separate label */}\n <Flex alignItems=\"center\" gap=\"200\">\n {/* TODO: translate hardcoded string */}\n <Text\n textStyle=\"xs\"\n fontWeight=\"500\"\n color=\"neutral.12\"\n minWidth=\"fit-content\"\n >\n Start time\n </Text>\n <TimeInput\n slot=\"startTimeInput\"\n locale={locale}\n variant=\"ghost\"\n size=\"sm\"\n hideTimeZone={hideTimeZone}\n hourCycle={hourCycle}\n />\n </Flex>\n\n {/* DateRangePicker-specific: End DateInput with separate label */}\n <Flex alignItems=\"center\" gap=\"200\">\n {/* TODO: translate hardcoded string */}\n <Text\n textStyle=\"xs\"\n fontWeight=\"500\"\n color=\"neutral.12\"\n minWidth=\"fit-content\"\n >\n End time\n </Text>\n <TimeInput\n slot=\"endTimeInput\"\n locale={locale}\n variant=\"ghost\"\n size=\"sm\"\n hideTimeZone={hideTimeZone}\n hourCycle={hourCycle}\n />\n </Flex>\n </Flex>\n );\n};\n","import { useContext, type ReactNode } from \"react\";\nimport {\n Provider,\n ButtonContext,\n DateRangePickerStateContext,\n TimeFieldContext,\n useSlottedContext,\n} from \"react-aria-components\";\nimport type { PressEvent, TimeValue } from \"react-aria\";\n\nexport const DateRangePickerCustomContext = ({\n children,\n}: {\n children: ReactNode;\n}) => {\n const buttonContext = useSlottedContext(ButtonContext) || {};\n const dateRangePickerState = useContext(DateRangePickerStateContext);\n\n // DateRangePicker-specific: Check if both start and end values are empty for clear button state\n const noInputValue =\n !dateRangePickerState?.value ||\n (!dateRangePickerState.value.start && !dateRangePickerState.value.end);\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { granularity } = dateRangePickerState!;\n\n // DateRangePicker-specific: Extract time values from start and end dates separately\n const startTimeValue =\n dateRangePickerState?.value?.start &&\n \"hour\" in dateRangePickerState.value.start\n ? dateRangePickerState.value.start\n : null;\n const endTimeValue =\n dateRangePickerState?.value?.end && \"hour\" in dateRangePickerState.value.end\n ? dateRangePickerState.value.end\n : null;\n\n // Try to get disabled state from the button context\n const isDateRangePickerDisabled = buttonContext?.isDisabled;\n\n // Generate default aria-label based on granularity if not provided\n const getDefaultTimeInputAriaLabel = (type: \"start\" | \"end\") => {\n const prefix = type === \"start\" ? \"Start\" : \"End\";\n switch (granularity) {\n case \"hour\":\n return `${prefix} time (hour)`;\n case \"minute\":\n return `${prefix} time (hour and minute)`;\n case \"second\":\n return `${prefix} time (hour, minute, and second)`;\n default:\n return `${prefix} time`;\n }\n };\n\n /**\n * Button slots\n * ================================\n */\n const buttonSlots = {\n /** toggles the calendar popover */\n calendarToggle: {\n ...buttonContext,\n onPress: (event: PressEvent) => {\n // Ensure any active input (e.g., date picker segment) loses focus\n // because blurring the input will close the popover if it's open (or was just opened)\n const activeElement = document?.activeElement as HTMLElement | null;\n\n if (activeElement) {\n activeElement.blur();\n }\n\n buttonContext.onPress?.(event);\n },\n },\n /** clears the input value */\n clear: {\n // DateRangePicker-specific: Clear both start and end values\n onPress: () => dateRangePickerState?.setValue(null),\n \"aria-label\": \"Clear input value\",\n isDisabled: noInputValue || isDateRangePickerDisabled,\n },\n };\n\n /**\n * TimeInput slots\n * ================================\n */\n\n // DateRangePicker-specific: Separate time input slots for start and end times\n const timeInputSlots = {\n startTimeInput: {\n value: startTimeValue,\n onChange: (value: TimeValue | null) => {\n if (value !== null && dateRangePickerState?.value?.start) {\n // DateRangePicker-specific: Update the start date with the new time\n const currentValue = dateRangePickerState.value;\n const startDate = currentValue.start;\n const endDate = currentValue.end;\n if (startDate && endDate) {\n const newStartDate = startDate.set({\n hour: value.hour,\n minute: value.minute || 0,\n second: value.second || 0,\n millisecond: value.millisecond || 0,\n });\n\n dateRangePickerState.setValue({\n start: newStartDate,\n end: endDate,\n });\n }\n }\n },\n granularity: granularity === \"day\" ? undefined : granularity,\n \"aria-label\": getDefaultTimeInputAriaLabel(\"start\"),\n },\n endTimeInput: {\n value: endTimeValue,\n onChange: (value: TimeValue | null) => {\n if (value !== null && dateRangePickerState?.value?.end) {\n // DateRangePicker-specific: Update the end date with the new time\n const currentValue = dateRangePickerState.value;\n const startDate = currentValue.start;\n const endDate = currentValue.end;\n if (startDate && endDate) {\n const newEndDate = endDate.set({\n hour: value.hour,\n minute: value.minute || 0,\n second: value.second || 0,\n millisecond: value.millisecond || 0,\n });\n\n dateRangePickerState.setValue({\n start: startDate,\n end: newEndDate,\n });\n }\n }\n },\n granularity: granularity === \"day\" ? undefined : granularity,\n \"aria-label\": getDefaultTimeInputAriaLabel(\"end\"),\n },\n };\n\n return (\n <Provider\n values={[\n [\n ButtonContext,\n {\n slots: buttonSlots,\n },\n ],\n [TimeFieldContext, { slots: timeInputSlots }],\n ]}\n >\n {children}\n </Provider>\n );\n};\n","import {\n DateRangePickerRootSlot,\n DateRangePickerGroupSlot,\n DateRangePickerTriggerSlot,\n DateRangePickerPopoverSlot,\n DateRangePickerCalendarSlot,\n} from \"./date-range-picker.slots\";\n\nimport { CalendarMonth, Close } from \"@commercetools/nimbus-icons\";\n\nimport {\n DateRangePicker as ReactAriaDateRangePicker,\n Group,\n Popover,\n Dialog,\n} from \"react-aria-components\";\nimport { useSlotRecipe } from \"@chakra-ui/react\";\nimport { dateRangePickerSlotRecipe } from \"./date-range-picker.recipe\";\nimport type { DateRangePickerProps } from \"./date-range-picker.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { DateInput, RangeCalendar, IconButton, Text } from \"@/components\";\nimport { DateRangePickerTimeInput } from \"./components/date-range-picker.time-input\";\nimport { DateRangePickerCustomContext } from \"./components/date-range-picker.custom-context\";\n\n/**\n * DateRangePicker\n * ============================================================\n * Combines a DateInput with a RangeCalendar popover for date range selection.\n * Users can either type a date range directly or select from the calendar.\n */\nexport const DateRangePicker = (props: DateRangePickerProps) => {\n // Forward hideTimeZone and hourCycle to child components (footer time inputs)\n const { granularity = \"day\", hideTimeZone, hourCycle } = props;\n const recipe = useSlotRecipe({ recipe: dateRangePickerSlotRecipe });\n const [recipeProps, remainingProps] = recipe.splitVariantProps(props);\n\n const [styleProps, otherProps] = extractStyleProps(remainingProps);\n\n // Extract size and variant from recipe props to pass to DateInputs\n const { size = \"md\", variant } = recipeProps;\n\n // the size of the buttons overlaying the input\n const overlayButtonSize = size === \"md\" ? \"xs\" : \"2xs\";\n\n // When granularity is \"day\", use the prop value (defaults to true if not provided)\n // For other granularities (time-based), force to false so users can set both date and time\n const shouldCloseOnSelect =\n granularity === \"day\" ? props.shouldCloseOnSelect : false;\n\n return (\n <DateRangePickerRootSlot {...recipeProps} {...styleProps} asChild>\n <ReactAriaDateRangePicker\n {...otherProps}\n shouldCloseOnSelect={shouldCloseOnSelect}\n >\n <DateRangePickerCustomContext>\n <DateRangePickerGroupSlot asChild>\n <Group>\n <DateInput\n slot=\"start\"\n size={size}\n variant=\"plain\"\n width=\"auto\"\n hideTimeZone={hideTimeZone}\n hourCycle={hourCycle}\n />\n <Text\n as=\"span\"\n px=\"150\"\n color=\"neutral.11\"\n userSelect=\"none\"\n aria-hidden=\"true\"\n slot={null}\n >\n –\n </Text>\n <DateInput\n slot=\"end\"\n size={size}\n variant=\"plain\"\n width=\"auto\"\n hideTimeZone={hideTimeZone}\n hourCycle={hourCycle}\n />\n <DateRangePickerTriggerSlot>\n {/* @ts-expect-error react aria is adding the aria-label prop */}\n <IconButton\n tone=\"primary\"\n variant=\"ghost\"\n size={overlayButtonSize}\n slot=\"clear\"\n >\n <Close />\n </IconButton>\n {/* @ts-expect-error react aria is adding the aria-label prop */}\n <IconButton\n tone=\"primary\"\n variant=\"ghost\"\n size={overlayButtonSize}\n slot=\"calendarToggle\"\n >\n <CalendarMonth />\n </IconButton>\n </DateRangePickerTriggerSlot>\n </Group>\n </DateRangePickerGroupSlot>\n <DateRangePickerPopoverSlot asChild>\n <Popover placement=\"bottom end\">\n <Dialog>\n <DateRangePickerCalendarSlot>\n <RangeCalendar />\n </DateRangePickerCalendarSlot>\n <DateRangePickerTimeInput\n hideTimeZone={hideTimeZone}\n hourCycle={hourCycle}\n />\n </Dialog>\n </Popover>\n </DateRangePickerPopoverSlot>\n </DateRangePickerCustomContext>\n </ReactAriaDateRangePicker>\n </DateRangePickerRootSlot>\n );\n};\n\nDateRangePicker.displayName = \"DateRangePicker\";\n"],"names":["withProvider","withContext","createSlotRecipeContext","dateRangePickerSlotRecipe","DateRangePickerRootSlot","DateRangePickerGroupSlot","DateRangePickerTriggerSlot","DateRangePickerPopoverSlot","DateRangePickerCalendarSlot","DateRangePickerTimeInput","hideTimeZone","hourCycle","locale","useLocale","dateRangePickerState","useContext","DateRangePickerStateContext","granularity","value","timeInputRef","useRef","previousValueRef","useEffect","container","firstSegment","jsxs","Flex","jsx","Text","TimeInput","DateRangePickerCustomContext","children","buttonContext","useSlottedContext","ButtonContext","noInputValue","startTimeValue","endTimeValue","isDateRangePickerDisabled","getDefaultTimeInputAriaLabel","type","prefix","buttonSlots","event","activeElement","timeInputSlots","currentValue","startDate","endDate","newStartDate","newEndDate","Provider","TimeFieldContext","DateRangePicker","props","recipe","useSlotRecipe","recipeProps","remainingProps","styleProps","otherProps","extractStyleProps","size","variant","overlayButtonSize","shouldCloseOnSelect","ReactAriaDateRangePicker","Group","DateInput","IconButton","Close","CalendarMonth","Popover","Dialog","RangeCalendar"],"mappings":"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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const r=require("@chakra-ui/react"),e=r.defineSlotRecipe({className:"nimbus-date-range-picker",slots:["root","group","trigger","popover","calendar","calendarHeader","calendarGrid","calendarCell"],base:{root:{display:"inline-block"},group:{"--border-width":"{sizes.25}","--border-color":"{colors.neutral.7}",display:"flex",alignItems:"center",justifyContent:"flex-start",boxShadow:"inset 0 0 0 var(--border-width) var(--border-color)",borderRadius:"200",bg:"neutral.1",px:"300",gap:0,position:"relative",_hover:{bg:"primary.2"},_focusWithin:{outlineWidth:"var(--focus-ring-width)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style)",outlineOffset:"var(--focus-ring-offset)"},"&[data-invalid='true']":{"--border-width":"{sizes.50}","--border-color":"{colors.critical.7}",color:"critical.11",alignItems:"center"}},trigger:{position:"absolute",right:"400",top:"100"},popover:{bg:"neutral.1",boxShadow:"4",borderRadius:"300",overflow:"auto","&[data-entering]":{animationName:"fade-in, scale-in",animationDuration:"fast"},"&[data-exiting]":{animationName:"fade-out, scale-out",animationDuration:"faster"}}},variants:{size:{sm:{group:{height:"800",pr:"calc({spacing.1400} + {spacing.400})"},trigger:{top:"50"}},md:{group:{height:"1000",pr:"calc({spacing.1600} + {spacing.200} + {spacing.400})"},trigger:{top:"100"}}},variant:{solid:{},ghost:{group:{bg:"transparent",px:"300",_hover:{bg:"primary.2"}}}}},defaultVariants:{size:"md",variant:"solid"}});exports.dateRangePickerSlotRecipe=e;
|
|
2
|
+
//# sourceMappingURL=date-range-picker.recipe-BARriKKl.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-range-picker.recipe-BARriKKl.cjs.js","sources":["../../src/components/date-range-picker/date-range-picker.recipe.tsx"],"sourcesContent":["import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const dateRangePickerSlotRecipe = defineSlotRecipe({\n className: \"nimbus-date-range-picker\",\n slots: [\n \"root\",\n \"group\",\n \"trigger\",\n \"popover\",\n \"calendar\",\n \"calendarHeader\",\n \"calendarGrid\",\n \"calendarCell\",\n ],\n base: {\n root: {\n display: \"inline-block\",\n },\n\n group: {\n \"--border-width\": \"{sizes.25}\",\n \"--border-color\": \"{colors.neutral.7}\",\n // ========================================\n // BASE LAYOUT & VISUAL PROPERTIES\n // ========================================\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n boxShadow: \"inset 0 0 0 var(--border-width) var(--border-color)\",\n borderRadius: \"200\",\n bg: \"neutral.1\",\n px: \"300\",\n gap: 0,\n position: \"relative\", // Ensure stacking context for border\n\n // ========================================\n // INTERACTIVE STATES\n // ========================================\n _hover: {\n bg: \"primary.2\",\n },\n // Focus ring with transparent gap\n _focusWithin: {\n outlineWidth: \"var(--focus-ring-width)\",\n outlineColor: \"var(--focus-ring-color)\",\n outlineStyle: \"var(--focus-ring-style)\",\n outlineOffset: \"var(--focus-ring-offset)\",\n },\n\n // ========================================\n // DATA STATES\n // ========================================\n // Invalid state styling\n \"&[data-invalid='true']\": {\n \"--border-width\": \"{sizes.50}\",\n \"--border-color\": \"{colors.critical.7}\",\n color: \"critical.11\",\n alignItems: \"center\",\n },\n },\n trigger: {\n position: \"absolute\",\n right: \"400\",\n top: \"100\",\n },\n popover: {\n bg: \"neutral.1\",\n boxShadow: \"4\",\n borderRadius: \"300\",\n overflow: \"auto\",\n\n \"&[data-entering]\": {\n animationName: \"fade-in, scale-in\",\n animationDuration: \"fast\",\n },\n\n \"&[data-exiting]\": {\n animationName: \"fade-out, scale-out\",\n animationDuration: \"faster\",\n },\n },\n },\n variants: {\n size: {\n sm: {\n group: {\n height: \"800\", // Match DateInput sm height\n pr: \"calc({spacing.1400} + {spacing.400})\", // Smaller right padding for sm size\n },\n trigger: {\n top: \"50\",\n },\n },\n md: {\n group: {\n height: \"1000\", // Match DateInput md height\n pr: \"calc({spacing.1600} + {spacing.200} + {spacing.400})\", // Right padding for trigger buttons\n },\n trigger: {\n top: \"100\",\n },\n },\n },\n variant: {\n solid: {},\n ghost: {\n group: {\n bg: \"transparent\",\n px: \"300\",\n _hover: {\n bg: \"primary.2\",\n },\n },\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"solid\",\n },\n});\n"],"names":["dateRangePickerSlotRecipe","defineSlotRecipe"],"mappings":"iDAEaA,EAA4BC,EAAAA,iBAAiB,CACxD,UAAW,2BACX,MAAO,CACL,OACA,QACA,UACA,UACA,WACA,iBACA,eACA,cAAA,EAEF,KAAM,CACJ,KAAM,CACJ,QAAS,cAAA,EAGX,MAAO,CACL,iBAAkB,aAClB,iBAAkB,qBAIlB,QAAS,OACT,WAAY,SACZ,eAAgB,aAChB,UAAW,sDACX,aAAc,MACd,GAAI,YACJ,GAAI,MACJ,IAAK,EACL,SAAU,WAKV,OAAQ,CACN,GAAI,WAAA,EAGN,aAAc,CACZ,aAAc,0BACd,aAAc,0BACd,aAAc,0BACd,cAAe,0BAAA,EAOjB,yBAA0B,CACxB,iBAAkB,aAClB,iBAAkB,sBAClB,MAAO,cACP,WAAY,QAAA,CACd,EAEF,QAAS,CACP,SAAU,WACV,MAAO,MACP,IAAK,KAAA,EAEP,QAAS,CACP,GAAI,YACJ,UAAW,IACX,aAAc,MACd,SAAU,OAEV,mBAAoB,CAClB,cAAe,oBACf,kBAAmB,MAAA,EAGrB,kBAAmB,CACjB,cAAe,sBACf,kBAAmB,QAAA,CACrB,CACF,EAEF,SAAU,CACR,KAAM,CACJ,GAAI,CACF,MAAO,CACL,OAAQ,MACR,GAAI,sCAAA,EAEN,QAAS,CACP,IAAK,IAAA,CACP,EAEF,GAAI,CACF,MAAO,CACL,OAAQ,OACR,GAAI,sDAAA,EAEN,QAAS,CACP,IAAK,KAAA,CACP,CACF,EAEF,QAAS,CACP,MAAO,CAAA,EACP,MAAO,CACL,MAAO,CACL,GAAI,cACJ,GAAI,MACJ,OAAQ,CACN,GAAI,WAAA,CACN,CACF,CACF,CACF,EAEF,gBAAiB,CACf,KAAM,KACN,QAAS,OAAA,CAEb,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { defineSlotRecipe as r } from "@chakra-ui/react";
|
|
2
|
+
const o = /* @__PURE__ */ r({
|
|
3
|
+
className: "nimbus-date-range-picker",
|
|
4
|
+
slots: [
|
|
5
|
+
"root",
|
|
6
|
+
"group",
|
|
7
|
+
"trigger",
|
|
8
|
+
"popover",
|
|
9
|
+
"calendar",
|
|
10
|
+
"calendarHeader",
|
|
11
|
+
"calendarGrid",
|
|
12
|
+
"calendarCell"
|
|
13
|
+
],
|
|
14
|
+
base: {
|
|
15
|
+
root: {
|
|
16
|
+
display: "inline-block"
|
|
17
|
+
},
|
|
18
|
+
group: {
|
|
19
|
+
"--border-width": "{sizes.25}",
|
|
20
|
+
"--border-color": "{colors.neutral.7}",
|
|
21
|
+
// ========================================
|
|
22
|
+
// BASE LAYOUT & VISUAL PROPERTIES
|
|
23
|
+
// ========================================
|
|
24
|
+
display: "flex",
|
|
25
|
+
alignItems: "center",
|
|
26
|
+
justifyContent: "flex-start",
|
|
27
|
+
boxShadow: "inset 0 0 0 var(--border-width) var(--border-color)",
|
|
28
|
+
borderRadius: "200",
|
|
29
|
+
bg: "neutral.1",
|
|
30
|
+
px: "300",
|
|
31
|
+
gap: 0,
|
|
32
|
+
position: "relative",
|
|
33
|
+
// Ensure stacking context for border
|
|
34
|
+
// ========================================
|
|
35
|
+
// INTERACTIVE STATES
|
|
36
|
+
// ========================================
|
|
37
|
+
_hover: {
|
|
38
|
+
bg: "primary.2"
|
|
39
|
+
},
|
|
40
|
+
// Focus ring with transparent gap
|
|
41
|
+
_focusWithin: {
|
|
42
|
+
outlineWidth: "var(--focus-ring-width)",
|
|
43
|
+
outlineColor: "var(--focus-ring-color)",
|
|
44
|
+
outlineStyle: "var(--focus-ring-style)",
|
|
45
|
+
outlineOffset: "var(--focus-ring-offset)"
|
|
46
|
+
},
|
|
47
|
+
// ========================================
|
|
48
|
+
// DATA STATES
|
|
49
|
+
// ========================================
|
|
50
|
+
// Invalid state styling
|
|
51
|
+
"&[data-invalid='true']": {
|
|
52
|
+
"--border-width": "{sizes.50}",
|
|
53
|
+
"--border-color": "{colors.critical.7}",
|
|
54
|
+
color: "critical.11",
|
|
55
|
+
alignItems: "center"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
trigger: {
|
|
59
|
+
position: "absolute",
|
|
60
|
+
right: "400",
|
|
61
|
+
top: "100"
|
|
62
|
+
},
|
|
63
|
+
popover: {
|
|
64
|
+
bg: "neutral.1",
|
|
65
|
+
boxShadow: "4",
|
|
66
|
+
borderRadius: "300",
|
|
67
|
+
overflow: "auto",
|
|
68
|
+
"&[data-entering]": {
|
|
69
|
+
animationName: "fade-in, scale-in",
|
|
70
|
+
animationDuration: "fast"
|
|
71
|
+
},
|
|
72
|
+
"&[data-exiting]": {
|
|
73
|
+
animationName: "fade-out, scale-out",
|
|
74
|
+
animationDuration: "faster"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
variants: {
|
|
79
|
+
size: {
|
|
80
|
+
sm: {
|
|
81
|
+
group: {
|
|
82
|
+
height: "800",
|
|
83
|
+
// Match DateInput sm height
|
|
84
|
+
pr: "calc({spacing.1400} + {spacing.400})"
|
|
85
|
+
// Smaller right padding for sm size
|
|
86
|
+
},
|
|
87
|
+
trigger: {
|
|
88
|
+
top: "50"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
md: {
|
|
92
|
+
group: {
|
|
93
|
+
height: "1000",
|
|
94
|
+
// Match DateInput md height
|
|
95
|
+
pr: "calc({spacing.1600} + {spacing.200} + {spacing.400})"
|
|
96
|
+
// Right padding for trigger buttons
|
|
97
|
+
},
|
|
98
|
+
trigger: {
|
|
99
|
+
top: "100"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
variant: {
|
|
104
|
+
solid: {},
|
|
105
|
+
ghost: {
|
|
106
|
+
group: {
|
|
107
|
+
bg: "transparent",
|
|
108
|
+
px: "300",
|
|
109
|
+
_hover: {
|
|
110
|
+
bg: "primary.2"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
defaultVariants: {
|
|
117
|
+
size: "md",
|
|
118
|
+
variant: "solid"
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
export {
|
|
122
|
+
o as d
|
|
123
|
+
};
|
|
124
|
+
//# sourceMappingURL=date-range-picker.recipe-CuI7inaU.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-range-picker.recipe-CuI7inaU.es.js","sources":["../../src/components/date-range-picker/date-range-picker.recipe.tsx"],"sourcesContent":["import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const dateRangePickerSlotRecipe = defineSlotRecipe({\n className: \"nimbus-date-range-picker\",\n slots: [\n \"root\",\n \"group\",\n \"trigger\",\n \"popover\",\n \"calendar\",\n \"calendarHeader\",\n \"calendarGrid\",\n \"calendarCell\",\n ],\n base: {\n root: {\n display: \"inline-block\",\n },\n\n group: {\n \"--border-width\": \"{sizes.25}\",\n \"--border-color\": \"{colors.neutral.7}\",\n // ========================================\n // BASE LAYOUT & VISUAL PROPERTIES\n // ========================================\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n boxShadow: \"inset 0 0 0 var(--border-width) var(--border-color)\",\n borderRadius: \"200\",\n bg: \"neutral.1\",\n px: \"300\",\n gap: 0,\n position: \"relative\", // Ensure stacking context for border\n\n // ========================================\n // INTERACTIVE STATES\n // ========================================\n _hover: {\n bg: \"primary.2\",\n },\n // Focus ring with transparent gap\n _focusWithin: {\n outlineWidth: \"var(--focus-ring-width)\",\n outlineColor: \"var(--focus-ring-color)\",\n outlineStyle: \"var(--focus-ring-style)\",\n outlineOffset: \"var(--focus-ring-offset)\",\n },\n\n // ========================================\n // DATA STATES\n // ========================================\n // Invalid state styling\n \"&[data-invalid='true']\": {\n \"--border-width\": \"{sizes.50}\",\n \"--border-color\": \"{colors.critical.7}\",\n color: \"critical.11\",\n alignItems: \"center\",\n },\n },\n trigger: {\n position: \"absolute\",\n right: \"400\",\n top: \"100\",\n },\n popover: {\n bg: \"neutral.1\",\n boxShadow: \"4\",\n borderRadius: \"300\",\n overflow: \"auto\",\n\n \"&[data-entering]\": {\n animationName: \"fade-in, scale-in\",\n animationDuration: \"fast\",\n },\n\n \"&[data-exiting]\": {\n animationName: \"fade-out, scale-out\",\n animationDuration: \"faster\",\n },\n },\n },\n variants: {\n size: {\n sm: {\n group: {\n height: \"800\", // Match DateInput sm height\n pr: \"calc({spacing.1400} + {spacing.400})\", // Smaller right padding for sm size\n },\n trigger: {\n top: \"50\",\n },\n },\n md: {\n group: {\n height: \"1000\", // Match DateInput md height\n pr: \"calc({spacing.1600} + {spacing.200} + {spacing.400})\", // Right padding for trigger buttons\n },\n trigger: {\n top: \"100\",\n },\n },\n },\n variant: {\n solid: {},\n ghost: {\n group: {\n bg: \"transparent\",\n px: \"300\",\n _hover: {\n bg: \"primary.2\",\n },\n },\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"solid\",\n },\n});\n"],"names":["dateRangePickerSlotRecipe","defineSlotRecipe"],"mappings":";AAEO,MAAMA,IAA4B,gBAAAC,EAAiB;AAAA,EACxD,WAAW;AAAA,EACX,OAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAAA,EAEF,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,SAAS;AAAA,IAAA;AAAA,IAGX,OAAO;AAAA,MACL,kBAAkB;AAAA,MAClB,kBAAkB;AAAA;AAAA;AAAA;AAAA,MAIlB,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,gBAAgB;AAAA,MAChB,WAAW;AAAA,MACX,cAAc;AAAA,MACd,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,KAAK;AAAA,MACL,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,MAKV,QAAQ;AAAA,QACN,IAAI;AAAA,MAAA;AAAA;AAAA,MAGN,cAAc;AAAA,QACZ,cAAc;AAAA,QACd,cAAc;AAAA,QACd,cAAc;AAAA,QACd,eAAe;AAAA,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAOjB,0BAA0B;AAAA,QACxB,kBAAkB;AAAA,QAClB,kBAAkB;AAAA,QAClB,OAAO;AAAA,QACP,YAAY;AAAA,MAAA;AAAA,IACd;AAAA,IAEF,SAAS;AAAA,MACP,UAAU;AAAA,MACV,OAAO;AAAA,MACP,KAAK;AAAA,IAAA;AAAA,IAEP,SAAS;AAAA,MACP,IAAI;AAAA,MACJ,WAAW;AAAA,MACX,cAAc;AAAA,MACd,UAAU;AAAA,MAEV,oBAAoB;AAAA,QAClB,eAAe;AAAA,QACf,mBAAmB;AAAA,MAAA;AAAA,MAGrB,mBAAmB;AAAA,QACjB,eAAe;AAAA,QACf,mBAAmB;AAAA,MAAA;AAAA,IACrB;AAAA,EACF;AAAA,EAEF,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI;AAAA,QACF,OAAO;AAAA,UACL,QAAQ;AAAA;AAAA,UACR,IAAI;AAAA;AAAA,QAAA;AAAA,QAEN,SAAS;AAAA,UACP,KAAK;AAAA,QAAA;AAAA,MACP;AAAA,MAEF,IAAI;AAAA,QACF,OAAO;AAAA,UACL,QAAQ;AAAA;AAAA,UACR,IAAI;AAAA;AAAA,QAAA;AAAA,QAEN,SAAS;AAAA,UACP,KAAK;AAAA,QAAA;AAAA,MACP;AAAA,IACF;AAAA,IAEF,SAAS;AAAA,MACP,OAAO,CAAA;AAAA,MACP,OAAO;AAAA,QACL,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,UACJ,QAAQ;AAAA,YACN,IAAI;AAAA,UAAA;AAAA,QACN;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEF,iBAAiB;AAAA,IACf,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb,CAAC;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),p=require("react"),r=require("@chakra-ui/react"),b=require("./useObjectRef-4v2MxSjQ.cjs.js"),u=require("./mergeProps-VvQrkhSh.cjs.js"),h=require("./useSeparator-CZKjqF0N.cjs.js"),x=r.defineRecipe({className:"nimbus-divider",base:{border:"none",flexShrink:"0",color:"neutral",borderColor:"colorPalette.6"},variants:{orientation:{horizontal:{width:"100%",height:"1px",borderTopWidth:"1px",borderTopStyle:"solid",borderLeftWidth:"0"},vertical:{height:"100%",width:"1px",borderLeftWidth:"1px",borderLeftStyle:"solid",borderTopWidth:"0"}}},defaultVariants:{orientation:"horizontal"}}),{withContext:R}=r.createRecipeContext({recipe:x}),$=R("div"),o=i=>{const{ref:n,as:s,orientation:e="horizontal",...t}=i,a=p.useRef(null),d=b.$df56164dff5785e2$export$4338b53315abf666(r.mergeRefs(a,n)),c=s||"div",{separatorProps:f}=h.$f4b273590fab9f93$export$52210f68a14655d0({orientation:e,...t});return l.jsx($,{as:c,...u.$3ef42575df84b30b$export$9d1611c77c2fe928(t,{ref:d,orientation:e},f,{"aria-orientation":e})})};o.displayName="Divider";exports.Divider=o;
|
|
2
|
+
//# sourceMappingURL=divider-CifCuFCu.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider-CifCuFCu.cjs.js","sources":["../../src/components/divider/divider.recipe.ts","../../src/components/divider/divider.slots.tsx","../../src/components/divider/divider.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Divider component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const dividerRecipe = defineRecipe({\n className: \"nimbus-divider\",\n\n // Base styles applied to all instances of the component\n base: {\n border: \"none\",\n flexShrink: \"0\",\n color: \"neutral\",\n borderColor: \"colorPalette.6\",\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n orientation: {\n horizontal: {\n width: \"100%\",\n height: \"1px\",\n borderTopWidth: \"1px\",\n borderTopStyle: \"solid\",\n borderLeftWidth: \"0\",\n },\n vertical: {\n height: \"100%\",\n width: \"1px\",\n borderLeftWidth: \"1px\",\n borderLeftStyle: \"solid\",\n borderTopWidth: \"0\",\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n orientation: \"horizontal\",\n },\n});\n","import { createRecipeContext } from \"@chakra-ui/react\";\n\nimport { dividerRecipe } from \"./divider.recipe\";\nimport type { DividerRootProps } from \"./divider.types\";\n\nconst { withContext } = createRecipeContext({ recipe: dividerRecipe });\n\nexport const DividerRoot = withContext<HTMLDivElement, DividerRootProps>(\"div\");\n","import { useRef } from \"react\";\nimport { useSeparator, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { DividerRoot } from \"./divider.slots\";\nimport type { DividerProps } from \"./divider.types\";\n\n/**\n * Divider\n * ============================================================\n * A visual separator that divides content sections\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'orientation', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n * - built with React Aria for accessibility\n */\n\nexport const Divider = (props: DividerProps) => {\n const { ref: forwardedRef, as, orientation = \"horizontal\", ...rest } = props;\n\n const localRef = useRef<HTMLDivElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = as || \"div\";\n\n // Use React Aria's useSeparator hook for accessibility\n const { separatorProps } = useSeparator({\n orientation,\n ...rest,\n });\n\n return (\n <DividerRoot\n as={elementType}\n {...mergeProps(rest, { ref, orientation }, separatorProps, {\n \"aria-orientation\": orientation,\n })}\n />\n );\n};\n\nDivider.displayName = \"Divider\";\n"],"names":["dividerRecipe","defineRecipe","withContext","createRecipeContext","DividerRoot","Divider","props","forwardedRef","as","orientation","rest","localRef","useRef","ref","useObjectRef","mergeRefs","elementType","separatorProps","useSeparator","jsx","mergeProps"],"mappings":"qOAMaA,EAAgBC,EAAAA,aAAa,CACxC,UAAW,iBAGX,KAAM,CACJ,OAAQ,OACR,WAAY,IACZ,MAAO,UACP,YAAa,gBAAA,EAIf,SAAU,CACR,YAAa,CACX,WAAY,CACV,MAAO,OACP,OAAQ,MACR,eAAgB,MAChB,eAAgB,QAChB,gBAAiB,GAAA,EAEnB,SAAU,CACR,OAAQ,OACR,MAAO,MACP,gBAAiB,MACjB,gBAAiB,QACjB,eAAgB,GAAA,CAClB,CACF,EAIF,gBAAiB,CACf,YAAa,YAAA,CAEjB,CAAC,ECpCK,CAAE,YAAAC,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQH,EAAe,EAExDI,EAAcF,EAA8C,KAAK,ECcjEG,EAAWC,GAAwB,CAC9C,KAAM,CAAE,IAAKC,EAAc,GAAAC,EAAI,YAAAC,EAAc,aAAc,GAAGC,GAASJ,EAEjEK,EAAWC,EAAAA,OAAuB,IAAI,EACtCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUJ,CAAY,CAAC,EAEpDS,EAAcR,GAAM,MAGpB,CAAE,eAAAS,CAAA,EAAmBC,4CAAa,CACtC,YAAAT,EACA,GAAGC,CAAA,CACJ,EAED,OACES,EAAAA,IAACf,EAAA,CACC,GAAIY,EACH,GAAGI,EAAAA,0CAAWV,EAAM,CAAE,IAAAG,EAAK,YAAAJ,CAAA,EAAeQ,EAAgB,CACzD,mBAAoBR,CAAA,CACrB,CAAA,CAAA,CAGP,EAEAJ,EAAQ,YAAc"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as p } from "react";
|
|
3
|
+
import { defineRecipe as l, createRecipeContext as c, mergeRefs as m } from "@chakra-ui/react";
|
|
4
|
+
import { $ as b } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
5
|
+
import { $ as h } from "./mergeProps-Bn6EInU5.es.js";
|
|
6
|
+
import { $ as x } from "./useSeparator-g1ilWvTX.es.js";
|
|
7
|
+
const $ = /* @__PURE__ */ l({
|
|
8
|
+
className: "nimbus-divider",
|
|
9
|
+
// Base styles applied to all instances of the component
|
|
10
|
+
base: {
|
|
11
|
+
border: "none",
|
|
12
|
+
flexShrink: "0",
|
|
13
|
+
color: "neutral",
|
|
14
|
+
borderColor: "colorPalette.6"
|
|
15
|
+
},
|
|
16
|
+
// Available variants for customizing the component's appearance
|
|
17
|
+
variants: {
|
|
18
|
+
orientation: {
|
|
19
|
+
horizontal: {
|
|
20
|
+
width: "100%",
|
|
21
|
+
height: "1px",
|
|
22
|
+
borderTopWidth: "1px",
|
|
23
|
+
borderTopStyle: "solid",
|
|
24
|
+
borderLeftWidth: "0"
|
|
25
|
+
},
|
|
26
|
+
vertical: {
|
|
27
|
+
height: "100%",
|
|
28
|
+
width: "1px",
|
|
29
|
+
borderLeftWidth: "1px",
|
|
30
|
+
borderLeftStyle: "solid",
|
|
31
|
+
borderTopWidth: "0"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
// Default variant values when not explicitly specified
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
orientation: "horizontal"
|
|
38
|
+
}
|
|
39
|
+
}), { withContext: v } = /* @__PURE__ */ c({ recipe: $ }), R = /* @__PURE__ */ v("div"), u = (r) => {
|
|
40
|
+
const { ref: t, as: i, orientation: e = "horizontal", ...o } = r, a = p(null), d = b(m(a, t)), n = i || "div", { separatorProps: f } = x({
|
|
41
|
+
orientation: e,
|
|
42
|
+
...o
|
|
43
|
+
});
|
|
44
|
+
return /* @__PURE__ */ s(
|
|
45
|
+
R,
|
|
46
|
+
{
|
|
47
|
+
as: n,
|
|
48
|
+
...h(o, { ref: d, orientation: e }, f, {
|
|
49
|
+
"aria-orientation": e
|
|
50
|
+
})
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
u.displayName = "Divider";
|
|
55
|
+
export {
|
|
56
|
+
u as D
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=divider-Js2LpOHh.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider-Js2LpOHh.es.js","sources":["../../src/components/divider/divider.recipe.ts","../../src/components/divider/divider.slots.tsx","../../src/components/divider/divider.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Divider component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const dividerRecipe = defineRecipe({\n className: \"nimbus-divider\",\n\n // Base styles applied to all instances of the component\n base: {\n border: \"none\",\n flexShrink: \"0\",\n color: \"neutral\",\n borderColor: \"colorPalette.6\",\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n orientation: {\n horizontal: {\n width: \"100%\",\n height: \"1px\",\n borderTopWidth: \"1px\",\n borderTopStyle: \"solid\",\n borderLeftWidth: \"0\",\n },\n vertical: {\n height: \"100%\",\n width: \"1px\",\n borderLeftWidth: \"1px\",\n borderLeftStyle: \"solid\",\n borderTopWidth: \"0\",\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n orientation: \"horizontal\",\n },\n});\n","import { createRecipeContext } from \"@chakra-ui/react\";\n\nimport { dividerRecipe } from \"./divider.recipe\";\nimport type { DividerRootProps } from \"./divider.types\";\n\nconst { withContext } = createRecipeContext({ recipe: dividerRecipe });\n\nexport const DividerRoot = withContext<HTMLDivElement, DividerRootProps>(\"div\");\n","import { useRef } from \"react\";\nimport { useSeparator, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { DividerRoot } from \"./divider.slots\";\nimport type { DividerProps } from \"./divider.types\";\n\n/**\n * Divider\n * ============================================================\n * A visual separator that divides content sections\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'orientation', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n * - built with React Aria for accessibility\n */\n\nexport const Divider = (props: DividerProps) => {\n const { ref: forwardedRef, as, orientation = \"horizontal\", ...rest } = props;\n\n const localRef = useRef<HTMLDivElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = as || \"div\";\n\n // Use React Aria's useSeparator hook for accessibility\n const { separatorProps } = useSeparator({\n orientation,\n ...rest,\n });\n\n return (\n <DividerRoot\n as={elementType}\n {...mergeProps(rest, { ref, orientation }, separatorProps, {\n \"aria-orientation\": orientation,\n })}\n />\n );\n};\n\nDivider.displayName = \"Divider\";\n"],"names":["dividerRecipe","defineRecipe","withContext","createRecipeContext","DividerRoot","Divider","props","forwardedRef","as","orientation","rest","localRef","useRef","ref","useObjectRef","mergeRefs","elementType","separatorProps","useSeparator","jsx","mergeProps"],"mappings":";;;;;;AAMO,MAAMA,IAAgB,gBAAAC,EAAa;AAAA,EACxC,WAAW;AAAA;AAAA,EAGX,MAAM;AAAA,IACJ,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,EAAA;AAAA;AAAA,EAIf,UAAU;AAAA,IACR,aAAa;AAAA,MACX,YAAY;AAAA,QACV,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,gBAAgB;AAAA,QAChB,gBAAgB;AAAA,QAChB,iBAAiB;AAAA,MAAA;AAAA,MAEnB,UAAU;AAAA,QACR,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,iBAAiB;AAAA,QACjB,iBAAiB;AAAA,QACjB,gBAAgB;AAAA,MAAA;AAAA,IAClB;AAAA,EACF;AAAA;AAAA,EAIF,iBAAiB;AAAA,IACf,aAAa;AAAA,EAAA;AAEjB,CAAC,GCpCK,EAAE,aAAAC,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQH,GAAe,GAExDI,IAAc,gBAAAF,EAA8C,KAAK,GCcjEG,IAAU,CAACC,MAAwB;AAC9C,QAAM,EAAE,KAAKC,GAAc,IAAAC,GAAI,aAAAC,IAAc,cAAc,GAAGC,MAASJ,GAEjEK,IAAWC,EAAuB,IAAI,GACtCC,IAAMC,EAAaC,EAAUJ,GAAUJ,CAAY,CAAC,GAEpDS,IAAcR,KAAM,OAGpB,EAAE,gBAAAS,EAAA,IAAmBC,EAAa;AAAA,IACtC,aAAAT;AAAA,IACA,GAAGC;AAAA,EAAA,CACJ;AAED,SACE,gBAAAS;AAAA,IAACf;AAAA,IAAA;AAAA,MACC,IAAIY;AAAA,MACH,GAAGI,EAAWV,GAAM,EAAE,KAAAG,GAAK,aAAAJ,EAAA,GAAeQ,GAAgB;AAAA,QACzD,oBAAoBR;AAAA,MAAA,CACrB;AAAA,IAAA;AAAA,EAAA;AAGP;AAEAJ,EAAQ,cAAc;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const t = (o) => {
|
|
2
|
+
var n;
|
|
3
|
+
return (n = o?.ownerDocument) !== null && n !== void 0 ? n : document;
|
|
4
|
+
}, d = (o) => o && "window" in o && o.window === o ? o : t(o).defaultView || window;
|
|
5
|
+
function c(o) {
|
|
6
|
+
return o !== null && typeof o == "object" && "nodeType" in o && typeof o.nodeType == "number";
|
|
7
|
+
}
|
|
8
|
+
function f(o) {
|
|
9
|
+
return c(o) && o.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in o;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
d as $,
|
|
13
|
+
f as a,
|
|
14
|
+
t as b
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=domHelpers-InH3T0qs.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domHelpers-InH3T0qs.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/domHelpers.mjs"],"sourcesContent":["const $431fbd86ca7dc216$export$b204af158042fbac = (el)=>{\n var _el_ownerDocument;\n return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;\n};\nconst $431fbd86ca7dc216$export$f21a1ffae260145a = (el)=>{\n if (el && 'window' in el && el.window === el) return el;\n const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);\n return doc.defaultView || window;\n};\n/**\n * Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType property.\n */ function $431fbd86ca7dc216$var$isNode(value) {\n return value !== null && typeof value === 'object' && 'nodeType' in value && typeof value.nodeType === 'number';\n}\nfunction $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {\n return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'host' in node;\n}\n\n\nexport {$431fbd86ca7dc216$export$b204af158042fbac as getOwnerDocument, $431fbd86ca7dc216$export$f21a1ffae260145a as getOwnerWindow, $431fbd86ca7dc216$export$af51f0f06c0f328a as isShadowRoot};\n//# sourceMappingURL=domHelpers.module.js.map\n"],"names":["$431fbd86ca7dc216$export$b204af158042fbac","el","_el_ownerDocument","$431fbd86ca7dc216$export$f21a1ffae260145a","$431fbd86ca7dc216$var$isNode","value","$431fbd86ca7dc216$export$af51f0f06c0f328a","node"],"mappings":"AAAK,MAACA,IAA4C,CAACC,MAAK;AACpD,MAAIC;AACJ,UAAQA,IAA4DD,GAAG,mBAAmB,QAAQC,MAAsB,SAASA,IAAoB;AACzJ,GACMC,IAA4C,CAACF,MAC3CA,KAAM,YAAYA,KAAMA,EAAG,WAAWA,IAAWA,IACzCD,EAA0CC,CAAE,EAC7C,eAAe;AAI1B,SAASG,EAA6BC,GAAO;AAC7C,SAAOA,MAAU,QAAQ,OAAOA,KAAU,YAAY,cAAcA,KAAS,OAAOA,EAAM,YAAa;AAC3G;AACA,SAASC,EAA0CC,GAAM;AACrD,SAAOH,EAA6BG,CAAI,KAAKA,EAAK,aAAa,KAAK,0BAA0B,UAAUA;AAC5G;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const c=f=>{var o;return(o=f?.ownerDocument)!==null&&o!==void 0?o:document},n=f=>f&&"window"in f&&f.window===f?f:c(f).defaultView||window;function d(f){return f!==null&&typeof f=="object"&&"nodeType"in f&&typeof f.nodeType=="number"}function t(f){return d(f)&&f.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in f}exports.$431fbd86ca7dc216$export$af51f0f06c0f328a=t;exports.$431fbd86ca7dc216$export$b204af158042fbac=c;exports.$431fbd86ca7dc216$export$f21a1ffae260145a=n;
|
|
2
|
+
//# sourceMappingURL=domHelpers-YAYZ9fE9.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domHelpers-YAYZ9fE9.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/domHelpers.mjs"],"sourcesContent":["const $431fbd86ca7dc216$export$b204af158042fbac = (el)=>{\n var _el_ownerDocument;\n return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;\n};\nconst $431fbd86ca7dc216$export$f21a1ffae260145a = (el)=>{\n if (el && 'window' in el && el.window === el) return el;\n const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);\n return doc.defaultView || window;\n};\n/**\n * Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType property.\n */ function $431fbd86ca7dc216$var$isNode(value) {\n return value !== null && typeof value === 'object' && 'nodeType' in value && typeof value.nodeType === 'number';\n}\nfunction $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {\n return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'host' in node;\n}\n\n\nexport {$431fbd86ca7dc216$export$b204af158042fbac as getOwnerDocument, $431fbd86ca7dc216$export$f21a1ffae260145a as getOwnerWindow, $431fbd86ca7dc216$export$af51f0f06c0f328a as isShadowRoot};\n//# sourceMappingURL=domHelpers.module.js.map\n"],"names":["$431fbd86ca7dc216$export$b204af158042fbac","el","_el_ownerDocument","$431fbd86ca7dc216$export$f21a1ffae260145a","$431fbd86ca7dc216$var$isNode","value","$431fbd86ca7dc216$export$af51f0f06c0f328a","node"],"mappings":"aAAK,MAACA,EAA6CC,GAAK,CACpD,IAAIC,EACJ,OAAQA,EAA4DD,GAAG,iBAAmB,MAAQC,IAAsB,OAASA,EAAoB,QACzJ,EACMC,EAA6CF,GAC3CA,GAAM,WAAYA,GAAMA,EAAG,SAAWA,EAAWA,EACzCD,EAA0CC,CAAE,EAC7C,aAAe,OAI1B,SAASG,EAA6BC,EAAO,CAC7C,OAAOA,IAAU,MAAQ,OAAOA,GAAU,UAAY,aAAcA,GAAS,OAAOA,EAAM,UAAa,QAC3G,CACA,SAASC,EAA0CC,EAAM,CACrD,OAAOH,EAA6BG,CAAI,GAAKA,EAAK,WAAa,KAAK,wBAA0B,SAAUA,CAC5G","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extractStyleProps-CxgBrz3O.es.js","sources":["../../src/utils/extractStyleProps.ts"],"sourcesContent":["import { defaultSystem } from \"@chakra-ui/react\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n defaultSystem.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","defaultSystem"],"mappings":";AAOO,SAASA,EACdC,GAC4C;AAC5C,QAAMC,IAAsC,CAAA,GACtCC,IAAa,EAAE,GAAGF,EAAA;AAGxB,gBAAO,KAAKA,CAAK,EAAE,QAAQ,CAACG,MAAQ;AAClC,IACE,OAAO,UAAU,eAAe,KAAKH,GAAOG,CAAG,KAC/CC,EAAc,gBAAgBD,CAAG,MAEjCF,EAAWE,CAAG,IAAIH,EAAMG,CAAc,GACtC,OAAOD,EAAWC,CAAG;AAAA,
|
|
1
|
+
{"version":3,"file":"extractStyleProps-CxgBrz3O.es.js","sources":["../../src/utils/extractStyleProps.ts"],"sourcesContent":["import { defaultSystem } from \"@chakra-ui/react\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n defaultSystem.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","defaultSystem"],"mappings":";AAOO,SAASA,EACdC,GAC4C;AAC5C,QAAMC,IAAsC,CAAA,GACtCC,IAAa,EAAE,GAAGF,EAAA;AAGxB,gBAAO,KAAKA,CAAK,EAAE,QAAQ,CAACG,MAAQ;AAClC,IACE,OAAO,UAAU,eAAe,KAAKH,GAAOG,CAAG,KAC/CC,EAAc,gBAAgBD,CAAG,MAEjCF,EAAWE,CAAG,IAAIH,EAAMG,CAAc,GACtC,OAAOD,EAAWC,CAAG;AAAA,EAEzB,CAAC,GAEM,CAACF,GAAYC,CAA6B;AACnD;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extractStyleProps-lyk7D-zN.cjs.js","sources":["../../src/utils/extractStyleProps.ts"],"sourcesContent":["import { defaultSystem } from \"@chakra-ui/react\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n defaultSystem.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","defaultSystem"],"mappings":"iDAOO,SAASA,EACdC,EAC4C,CAC5C,MAAMC,EAAsC,CAAA,EACtCC,EAAa,CAAE,GAAGF,CAAA,EAGxB,cAAO,KAAKA,CAAK,EAAE,QAASG,GAAQ,CAEhC,OAAO,UAAU,eAAe,KAAKH,EAAOG,CAAG,GAC/CC,EAAAA,cAAc,gBAAgBD,CAAG,IAEjCF,EAAWE,CAAG,EAAIH,EAAMG,CAAc,EACtC,OAAOD,EAAWC,CAAG,
|
|
1
|
+
{"version":3,"file":"extractStyleProps-lyk7D-zN.cjs.js","sources":["../../src/utils/extractStyleProps.ts"],"sourcesContent":["import { defaultSystem } from \"@chakra-ui/react\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n defaultSystem.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","defaultSystem"],"mappings":"iDAOO,SAASA,EACdC,EAC4C,CAC5C,MAAMC,EAAsC,CAAA,EACtCC,EAAa,CAAE,GAAGF,CAAA,EAGxB,cAAO,KAAKA,CAAK,EAAE,QAASG,GAAQ,CAEhC,OAAO,UAAU,eAAe,KAAKH,EAAOG,CAAG,GAC/CC,EAAAA,cAAc,gBAAgBD,CAAG,IAEjCF,EAAWE,CAAG,EAAIH,EAAMG,CAAc,EACtC,OAAOD,EAAWC,CAAG,EAEzB,CAAC,EAEM,CAACF,EAAYC,CAA6B,CACnD"}
|
|
@@ -16,10 +16,10 @@ const b = /* @__PURE__ */ new Set([
|
|
|
16
16
|
]), s = /^(data-.*)$/;
|
|
17
17
|
function c(a, t = {}) {
|
|
18
18
|
let { labelable: d, isLink: o, propNames: r } = t, l = {};
|
|
19
|
-
for (const e in a) Object.prototype.hasOwnProperty.call(a, e) && (b.has(e) || d && i.has(e) || o && n.has(e) || r
|
|
19
|
+
for (const e in a) Object.prototype.hasOwnProperty.call(a, e) && (b.has(e) || d && i.has(e) || o && n.has(e) || r?.has(e) || s.test(e)) && (l[e] = a[e]);
|
|
20
20
|
return l;
|
|
21
21
|
}
|
|
22
22
|
export {
|
|
23
23
|
c as $
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=filterDOMProps-
|
|
25
|
+
//# sourceMappingURL=filterDOMProps-HzsCnE3d.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterDOMProps-
|
|
1
|
+
{"version":3,"file":"filterDOMProps-HzsCnE3d.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/filterDOMProps.mjs"],"sourcesContent":["/*\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 */ const $65484d02dcb7eb3e$var$DOMPropNames = new Set([\n 'id'\n]);\nconst $65484d02dcb7eb3e$var$labelablePropNames = new Set([\n 'aria-label',\n 'aria-labelledby',\n 'aria-describedby',\n 'aria-details'\n]);\n// See LinkDOMProps in dom.d.ts.\nconst $65484d02dcb7eb3e$var$linkPropNames = new Set([\n 'href',\n 'hrefLang',\n 'target',\n 'rel',\n 'download',\n 'ping',\n 'referrerPolicy'\n]);\nconst $65484d02dcb7eb3e$var$propRe = /^(data-.*)$/;\nfunction $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, opts = {}) {\n let { labelable: labelable, isLink: isLink, propNames: propNames } = opts;\n let filteredProps = {};\n for(const prop in props)if (Object.prototype.hasOwnProperty.call(props, prop) && ($65484d02dcb7eb3e$var$DOMPropNames.has(prop) || labelable && $65484d02dcb7eb3e$var$labelablePropNames.has(prop) || isLink && $65484d02dcb7eb3e$var$linkPropNames.has(prop) || (propNames === null || propNames === void 0 ? void 0 : propNames.has(prop)) || $65484d02dcb7eb3e$var$propRe.test(prop))) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$65484d02dcb7eb3e$export$457c3d6518dd4c6f as filterDOMProps};\n//# sourceMappingURL=filterDOMProps.module.js.map\n"],"names":["$65484d02dcb7eb3e$var$DOMPropNames","$65484d02dcb7eb3e$var$labelablePropNames","$65484d02dcb7eb3e$var$linkPropNames","$65484d02dcb7eb3e$var$propRe","$65484d02dcb7eb3e$export$457c3d6518dd4c6f","props","opts","labelable","isLink","propNames","filteredProps","prop"],"mappings":"AAUI,MAAMA,IAAqC,oBAAI,IAAI;AAAA,EACnD;AACJ,CAAC,GACKC,IAA2C,oBAAI,IAAI;AAAA,EACrD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,CAAC,GAEKC,IAAsC,oBAAI,IAAI;AAAA,EAChD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,CAAC,GACKC,IAA+B;AACrC,SAASC,EAA0CC,GAAOC,IAAO,IAAI;AACjE,MAAI,EAAE,WAAWC,GAAW,QAAQC,GAAQ,WAAWC,EAAS,IAAKH,GACjEI,IAAgB,CAAA;AACpB,aAAUC,KAAQN,EAAM,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAOM,CAAI,MAAMX,EAAmC,IAAIW,CAAI,KAAKJ,KAAaN,EAAyC,IAAIU,CAAI,KAAKH,KAAUN,EAAoC,IAAIS,CAAI,KAA4DF,GAAU,IAAIE,CAAI,KAAMR,EAA6B,KAAKQ,CAAI,OAAID,EAAcC,CAAI,IAAIN,EAAMM,CAAI;AACzZ,SAAOD;AACX;","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const o=new Set(["id"]),c=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),s=/^(data-.*)$/;function n(a,t={}){let{labelable:l,isLink:b,propNames:r}=t,d={};for(const e in a)Object.prototype.hasOwnProperty.call(a,e)&&(o.has(e)||l&&c.has(e)||b&&i.has(e)||r
|
|
2
|
-
//# sourceMappingURL=filterDOMProps-
|
|
1
|
+
"use strict";const o=new Set(["id"]),c=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),s=/^(data-.*)$/;function n(a,t={}){let{labelable:l,isLink:b,propNames:r}=t,d={};for(const e in a)Object.prototype.hasOwnProperty.call(a,e)&&(o.has(e)||l&&c.has(e)||b&&i.has(e)||r?.has(e)||s.test(e))&&(d[e]=a[e]);return d}exports.$65484d02dcb7eb3e$export$457c3d6518dd4c6f=n;
|
|
2
|
+
//# sourceMappingURL=filterDOMProps-_f3L9QML.cjs.js.map
|
package/dist/chunks/{filterDOMProps-BS2lrgFA.cjs.js.map → filterDOMProps-_f3L9QML.cjs.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterDOMProps-
|
|
1
|
+
{"version":3,"file":"filterDOMProps-_f3L9QML.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/filterDOMProps.mjs"],"sourcesContent":["/*\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 */ const $65484d02dcb7eb3e$var$DOMPropNames = new Set([\n 'id'\n]);\nconst $65484d02dcb7eb3e$var$labelablePropNames = new Set([\n 'aria-label',\n 'aria-labelledby',\n 'aria-describedby',\n 'aria-details'\n]);\n// See LinkDOMProps in dom.d.ts.\nconst $65484d02dcb7eb3e$var$linkPropNames = new Set([\n 'href',\n 'hrefLang',\n 'target',\n 'rel',\n 'download',\n 'ping',\n 'referrerPolicy'\n]);\nconst $65484d02dcb7eb3e$var$propRe = /^(data-.*)$/;\nfunction $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, opts = {}) {\n let { labelable: labelable, isLink: isLink, propNames: propNames } = opts;\n let filteredProps = {};\n for(const prop in props)if (Object.prototype.hasOwnProperty.call(props, prop) && ($65484d02dcb7eb3e$var$DOMPropNames.has(prop) || labelable && $65484d02dcb7eb3e$var$labelablePropNames.has(prop) || isLink && $65484d02dcb7eb3e$var$linkPropNames.has(prop) || (propNames === null || propNames === void 0 ? void 0 : propNames.has(prop)) || $65484d02dcb7eb3e$var$propRe.test(prop))) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$65484d02dcb7eb3e$export$457c3d6518dd4c6f as filterDOMProps};\n//# sourceMappingURL=filterDOMProps.module.js.map\n"],"names":["$65484d02dcb7eb3e$var$DOMPropNames","$65484d02dcb7eb3e$var$labelablePropNames","$65484d02dcb7eb3e$var$linkPropNames","$65484d02dcb7eb3e$var$propRe","$65484d02dcb7eb3e$export$457c3d6518dd4c6f","props","opts","labelable","isLink","propNames","filteredProps","prop"],"mappings":"aAUI,MAAMA,EAAqC,IAAI,IAAI,CACnD,IACJ,CAAC,EACKC,EAA2C,IAAI,IAAI,CACrD,aACA,kBACA,mBACA,cACJ,CAAC,EAEKC,EAAsC,IAAI,IAAI,CAChD,OACA,WACA,SACA,MACA,WACA,OACA,gBACJ,CAAC,EACKC,EAA+B,cACrC,SAASC,EAA0CC,EAAOC,EAAO,GAAI,CACjE,GAAI,CAAE,UAAWC,EAAW,OAAQC,EAAQ,UAAWC,CAAS,EAAKH,EACjEI,EAAgB,CAAA,EACpB,UAAUC,KAAQN,EAAU,OAAO,UAAU,eAAe,KAAKA,EAAOM,CAAI,IAAMX,EAAmC,IAAIW,CAAI,GAAKJ,GAAaN,EAAyC,IAAIU,CAAI,GAAKH,GAAUN,EAAoC,IAAIS,CAAI,GAA4DF,GAAU,IAAIE,CAAI,GAAMR,EAA6B,KAAKQ,CAAI,KAAID,EAAcC,CAAI,EAAIN,EAAMM,CAAI,GACzZ,OAAOD,CACX","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";require("react");const s=require("./mergeProps-VvQrkhSh.cjs.js"),i=require("./utils-CThuzDqT.cjs.js"),u=require("./useFocus-CRjxQc9J.cjs.js");let d=new Map;function l(e,t){if(e===t)return e;let r=d.get(e);if(r)return r.forEach(n=>n.current=t),t;let c=d.get(t);return c?(c.forEach(n=>n.current=e),e):t}function b(...e){return(...t)=>{for(let r of e)typeof r=="function"&&r(...t)}}function p(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let c=e[r];for(let n in c){let o=t[n],f=c[n];typeof o=="function"&&typeof f=="function"&&n[0]==="o"&&n[1]==="n"&&n.charCodeAt(2)>=65&&n.charCodeAt(2)<=90?t[n]=b(o,f):(n==="className"||n==="UNSAFE_className")&&typeof o=="string"&&typeof f=="string"?t[n]=s.clsx(o,f):n==="id"&&o&&f?t.id=l(o,f):t[n]=f!==void 0?f:o}}return t}let a=new Map,g=new Set;function y(){for(const[e]of a)"isConnected"in e&&!e.isConnected&&a.delete(e)}function $(e){requestAnimationFrame(()=>{y(),a.size===0?e():g.add(e)})}function m(e,t){i.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function x(e){const t=i.$431fbd86ca7dc216$export$b204af158042fbac(e),r=i.$d4ee10de306f2510$export$cd4e5573fbe2b576(t);if(u.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="virtual"){let c=r;$(()=>{i.$d4ee10de306f2510$export$cd4e5573fbe2b576(t)===c&&e.isConnected&&i.$7215afc6de606d6b$export$de79e2c695e052f3(e)})}else i.$7215afc6de606d6b$export$de79e2c695e052f3(e)}exports.$3ad3f6e1647bc98d$export$80f3e147d781571c=x;exports.$3ef42575df84b30b$export$9d1611c77c2fe928=p;exports.$bbed8b41f857bcc0$export$24490316f764c430=$;exports.$e7801be82b4b2a53$export$4debdb1a3f0fa79e=m;exports.$ff5963eb1fccf552$export$e08e3b67e392101e=b;
|
|
2
|
+
//# sourceMappingURL=focusSafely-BEP7qH8R.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focusSafely-BEP7qH8R.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/useId.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/chain.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/mergeProps.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/runAfterTransition.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/useSyncRef.mjs","../../../../node_modules/.pnpm/@react-aria+interactions@3.25.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/focusSafely.mjs"],"sourcesContent":["import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $eKkEp$useState, useRef as $eKkEp$useRef, useEffect as $eKkEp$useEffect, useCallback as $eKkEp$useCallback} from \"react\";\nimport {useSSRSafeId as $eKkEp$useSSRSafeId} from \"@react-aria/ssr\";\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// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $bdb11010cef70236$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $bdb11010cef70236$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue)=>{\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $bdb11010cef70236$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $eKkEp$useState)(defaultId);\n let nextId = (0, $eKkEp$useRef)(null);\n let res = (0, $eKkEp$useSSRSafeId)(value);\n let cleanupRef = (0, $eKkEp$useRef)(null);\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);\n if ($bdb11010cef70236$var$canUseDOM) {\n const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $eKkEp$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $bdb11010cef70236$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1dbecbe27a04f9af$export$14d238f342723f25)(id);\n let updateId = (0, $eKkEp$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$bdb11010cef70236$export$d41a04c74483c6ef as idsUpdaterMap, $bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.module.js.map\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 * Calls all functions in the order they were chained with the same arguments.\n */ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$ff5963eb1fccf552$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.module.js.map\n","import {chain as $ff5963eb1fccf552$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $bdb11010cef70236$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport $7jXr9$clsx from \"clsx\";\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\nfunction $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $7jXr9$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $bdb11010cef70236$export$cd8c9cb68f842629)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$3ef42575df84b30b$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.module.js.map\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 */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.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 $e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref) {\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (context && context.ref && ref) {\n context.ref.current = ref.current;\n return ()=>{\n if (context.ref) context.ref.current = null;\n };\n }\n });\n}\n\n\nexport {$e7801be82b4b2a53$export$4debdb1a3f0fa79e as useSyncRef};\n//# sourceMappingURL=useSyncRef.module.js.map\n","import {getInteractionModality as $507fabe10e71c6fb$export$630ff653c5ada6a9} from \"./useFocusVisible.mjs\";\nimport {getOwnerDocument as $k50bp$getOwnerDocument, getActiveElement as $k50bp$getActiveElement, runAfterTransition as $k50bp$runAfterTransition, focusWithoutScrolling as $k50bp$focusWithoutScrolling} from \"@react-aria/utils\";\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\nfunction $3ad3f6e1647bc98d$export$80f3e147d781571c(element) {\n // If the user is interacting with a virtual cursor, e.g. screen reader, then\n // wait until after any animated transitions that are currently occurring on\n // the page before shifting focus. This avoids issues with VoiceOver on iOS\n // causing the page to scroll when moving focus if the element is transitioning\n // from off the screen.\n const ownerDocument = (0, $k50bp$getOwnerDocument)(element);\n const activeElement = (0, $k50bp$getActiveElement)(ownerDocument);\n if ((0, $507fabe10e71c6fb$export$630ff653c5ada6a9)() === 'virtual') {\n let lastFocusedElement = activeElement;\n (0, $k50bp$runAfterTransition)(()=>{\n // If focus did not move and the element is still in the document, focus it.\n if ((0, $k50bp$getActiveElement)(ownerDocument) === lastFocusedElement && element.isConnected) (0, $k50bp$focusWithoutScrolling)(element);\n });\n } else (0, $k50bp$focusWithoutScrolling)(element);\n}\n\n\nexport {$3ad3f6e1647bc98d$export$80f3e147d781571c as focusSafely};\n//# sourceMappingURL=focusSafely.module.js.map\n"],"names":["$bdb11010cef70236$export$d41a04c74483c6ef","$bdb11010cef70236$export$cd8c9cb68f842629","idA","idB","setIdsA","ref","setIdsB","$ff5963eb1fccf552$export$e08e3b67e392101e","callbacks","args","callback","$3ef42575df84b30b$export$9d1611c77c2fe928","result","i","props","key","a","b","$7jXr9$clsx","$bbed8b41f857bcc0$var$transitionsByElement","$bbed8b41f857bcc0$var$transitionCallbacks","$bbed8b41f857bcc0$var$cleanupDetachedElements","eventTarget","$bbed8b41f857bcc0$export$24490316f764c430","fn","$e7801be82b4b2a53$export$4debdb1a3f0fa79e","context","$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$3ad3f6e1647bc98d$export$80f3e147d781571c","element","ownerDocument","$k50bp$getOwnerDocument","activeElement","$k50bp$getActiveElement","$507fabe10e71c6fb$export$630ff653c5ada6a9","lastFocusedElement","$k50bp$runAfterTransition","$k50bp$focusWithoutScrolling"],"mappings":"2JAqBA,IAAIA,EAA4C,IAAI,IA2CpD,SAASC,EAA0CC,EAAKC,EAAK,CACzD,GAAID,IAAQC,EAAK,OAAOD,EACxB,IAAIE,EAAUJ,EAA0C,IAAIE,CAAG,EAC/D,GAAIE,EACA,OAAAA,EAAQ,QAASC,GAAMA,EAAI,QAAUF,CAAG,EACjCA,EAEX,IAAIG,EAAUN,EAA0C,IAAIG,CAAG,EAC/D,OAAIG,GACAA,EAAQ,QAASD,GAAMA,EAAI,QAAUH,CAAG,EACjCA,GAEJC,CACX,CCjEI,SAASI,KAA6CC,EAAW,CACjE,MAAO,IAAIC,IAAO,CACd,QAASC,KAAYF,EAAc,OAAOE,GAAa,YAAYA,EAAS,GAAGD,CAAI,CACvF,CACJ,CCCA,SAASE,KAA6CF,EAAM,CAGxD,IAAIG,EAAS,CACT,GAAGH,EAAK,CAAC,CACjB,EACI,QAAQI,EAAI,EAAGA,EAAIJ,EAAK,OAAQI,IAAI,CAChC,IAAIC,EAAQL,EAAKI,CAAC,EAClB,QAAQE,KAAOD,EAAM,CACjB,IAAIE,EAAIJ,EAAOG,CAAG,EACdE,EAAIH,EAAMC,CAAG,EAEb,OAAOC,GAAM,YAAc,OAAOC,GAAM,YAC5CF,EAAI,CAAC,IAAM,KAAOA,EAAI,CAAC,IAAM,KAAOA,EAAI,WAAW,CAAC,GAAe,IAAMA,EAAI,WAAW,CAAC,GAAe,GAAIH,EAAOG,CAAG,EAAQR,EAA2CS,EAAGC,CAAC,GACnKF,IAAQ,aAAeA,IAAQ,qBAAuB,OAAOC,GAAM,UAAY,OAAOC,GAAM,SAAUL,EAAOG,CAAG,EAAQG,EAAAA,KAAaF,EAAGC,CAAC,EAC1IF,IAAQ,MAAQC,GAAKC,EAAGL,EAAO,GAASX,EAA2Ce,EAAGC,CAAC,EAC3FL,EAAOG,CAAG,EAAIE,IAAM,OAAYA,EAAID,CAC7C,CACJ,CACA,OAAOJ,CACX,CCrBA,IAAIO,EAA6C,IAAI,IAEjDC,EAA4C,IAAI,IAkDhD,SAASC,GAAgD,CACzD,SAAW,CAACC,CAAW,IAAKH,EAExB,gBAAiBG,GAAe,CAACA,EAAY,aAAaH,EAA2C,OAAOG,CAAW,CAC/H,CACA,SAASC,EAA0CC,EAAI,CAEnD,sBAAsB,IAAI,CACtBH,EAA6C,EAGzCF,EAA2C,OAAS,EAAGK,EAAE,EACxDJ,EAA0C,IAAII,CAAE,CACzD,CAAC,CACL,CCrEA,SAASC,EAA0CC,EAASrB,EAAK,CACzDsB,EAAAA,0CAA2C,IAAI,CAC/C,GAAID,GAAWA,EAAQ,KAAOrB,EAC1B,OAAAqB,EAAQ,IAAI,QAAUrB,EAAI,QACnB,IAAI,CACHqB,EAAQ,MAAKA,EAAQ,IAAI,QAAU,KAC3C,CAER,CAAC,CACL,CCPA,SAASE,EAA0CC,EAAS,CAMxD,MAAMC,EAAoBC,EAAAA,0CAAyBF,CAAO,EACpDG,EAAoBC,EAAAA,0CAAyBH,CAAa,EAChE,GAAQI,EAAAA,0CAAyC,IAAQ,UAAW,CAChE,IAAIC,EAAqBH,EACrBI,EAA2B,IAAI,CAEvBH,EAAAA,0CAAyBH,CAAa,IAAMK,GAAsBN,EAAQ,aAAiBQ,EAAAA,0CAA8BR,CAAO,CAC5I,CAAC,CACL,MAAWQ,EAAAA,0CAA8BR,CAAO,CACpD","x_google_ignoreList":[0,1,2,3,4,5]}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import { e as b } from "./mergeProps-Bn6EInU5.es.js";
|
|
3
|
+
import { k as l, a as $, d as c, l as d } from "./utils-BR34o1UE.es.js";
|
|
4
|
+
import { d as u } from "./useFocus-DyrL604F.es.js";
|
|
5
|
+
let s = /* @__PURE__ */ new Map();
|
|
6
|
+
function p(e, t) {
|
|
7
|
+
if (e === t) return e;
|
|
8
|
+
let r = s.get(e);
|
|
9
|
+
if (r)
|
|
10
|
+
return r.forEach((n) => n.current = t), t;
|
|
11
|
+
let a = s.get(t);
|
|
12
|
+
return a ? (a.forEach((n) => n.current = e), e) : t;
|
|
13
|
+
}
|
|
14
|
+
function m(...e) {
|
|
15
|
+
return (...t) => {
|
|
16
|
+
for (let r of e) typeof r == "function" && r(...t);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function h(...e) {
|
|
20
|
+
let t = {
|
|
21
|
+
...e[0]
|
|
22
|
+
};
|
|
23
|
+
for (let r = 1; r < e.length; r++) {
|
|
24
|
+
let a = e[r];
|
|
25
|
+
for (let n in a) {
|
|
26
|
+
let o = t[n], f = a[n];
|
|
27
|
+
typeof o == "function" && typeof f == "function" && // This is a lot faster than a regex.
|
|
28
|
+
n[0] === "o" && n[1] === "n" && n.charCodeAt(2) >= /* 'A' */
|
|
29
|
+
65 && n.charCodeAt(2) <= /* 'Z' */
|
|
30
|
+
90 ? t[n] = m(o, f) : (n === "className" || n === "UNSAFE_className") && typeof o == "string" && typeof f == "string" ? t[n] = b(o, f) : n === "id" && o && f ? t.id = p(o, f) : t[n] = f !== void 0 ? f : o;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return t;
|
|
34
|
+
}
|
|
35
|
+
let i = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Set();
|
|
36
|
+
function g() {
|
|
37
|
+
for (const [e] of i)
|
|
38
|
+
"isConnected" in e && !e.isConnected && i.delete(e);
|
|
39
|
+
}
|
|
40
|
+
function v(e) {
|
|
41
|
+
requestAnimationFrame(() => {
|
|
42
|
+
g(), i.size === 0 ? e() : y.add(e);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function L(e, t) {
|
|
46
|
+
l(() => {
|
|
47
|
+
if (e && e.ref && t)
|
|
48
|
+
return e.ref.current = t.current, () => {
|
|
49
|
+
e.ref && (e.ref.current = null);
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function N(e) {
|
|
54
|
+
const t = $(e), r = c(t);
|
|
55
|
+
if (u() === "virtual") {
|
|
56
|
+
let a = r;
|
|
57
|
+
v(() => {
|
|
58
|
+
c(t) === a && e.isConnected && d(e);
|
|
59
|
+
});
|
|
60
|
+
} else d(e);
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
h as $,
|
|
64
|
+
N as a,
|
|
65
|
+
L as b,
|
|
66
|
+
v as c,
|
|
67
|
+
m as d
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=focusSafely-Cpgkt6WC.es.js.map
|