@commercetools/nimbus 0.0.0-canary-20251027194157 → 0.0.0-canary-20251028202350
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-CqCJF7Kz.es.js → Button-SjGHt140.es.js} +2 -2
- package/dist/chunks/{Button-CqCJF7Kz.es.js.map → Button-SjGHt140.es.js.map} +1 -1
- package/dist/chunks/{CollectionBuilder-CoZRYV8T.es.js → CollectionBuilder-BhYUxJYI.es.js} +6 -6
- package/dist/chunks/{CollectionBuilder-CoZRYV8T.es.js.map → CollectionBuilder-BhYUxJYI.es.js.map} +1 -1
- package/dist/chunks/{DateField-ChNVEFNs.es.js → DateField-DMjgxual.es.js} +5 -5
- package/dist/chunks/{DateField-ChNVEFNs.es.js.map → DateField-DMjgxual.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-uW8Z5fWm.es.js → DatePicker-Cvad8nra.es.js} +7 -7
- package/dist/chunks/{DatePicker-uW8Z5fWm.es.js.map → DatePicker-Cvad8nra.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-Codg0QnC.cjs.js → DatePicker-DGLrUdLu.cjs.js} +2 -2
- package/dist/chunks/{DatePicker-Codg0QnC.cjs.js.map → DatePicker-DGLrUdLu.cjs.js.map} +1 -1
- package/dist/chunks/{Dialog-DyQtQIZJ.es.js → Dialog-BUtdEtlF.es.js} +11 -11
- package/dist/chunks/{Dialog-DyQtQIZJ.es.js.map → Dialog-BUtdEtlF.es.js.map} +1 -1
- package/dist/chunks/{Dialog-DINBl88u.cjs.js → Dialog-Ye_7tQZU.cjs.js} +2 -2
- package/dist/chunks/{Dialog-DINBl88u.cjs.js.map → Dialog-Ye_7tQZU.cjs.js.map} +1 -1
- package/dist/chunks/Header-Bvl-gjeR.cjs.js +2 -0
- package/dist/chunks/Header-Bvl-gjeR.cjs.js.map +1 -0
- package/dist/chunks/Header-CpF5ynyj.es.js +213 -0
- package/dist/chunks/Header-CpF5ynyj.es.js.map +1 -0
- package/dist/chunks/{Heading-C5BLc9Ds.es.js → Heading-DXod1zoy.es.js} +7 -7
- package/dist/chunks/{Heading-C5BLc9Ds.es.js.map → Heading-DXod1zoy.es.js.map} +1 -1
- package/dist/chunks/ListBox-CdtzuZzA.es.js +561 -0
- package/dist/chunks/ListBox-CdtzuZzA.es.js.map +1 -0
- package/dist/chunks/ListBox-Dcnj8pHo.cjs.js +2 -0
- package/dist/chunks/ListBox-Dcnj8pHo.cjs.js.map +1 -0
- package/dist/chunks/{Modal-DDTTtqGV.es.js → Modal-BgIeZMyG.es.js} +4 -4
- package/dist/chunks/{Modal-DDTTtqGV.es.js.map → Modal-BgIeZMyG.es.js.map} +1 -1
- package/dist/chunks/{Modal-C9uSJ3BN.cjs.js → Modal-DjOIA2BE.cjs.js} +2 -2
- package/dist/chunks/{Modal-C9uSJ3BN.cjs.js.map → Modal-DjOIA2BE.cjs.js.map} +1 -1
- package/dist/chunks/{RSPContexts-DV4cFLUV.es.js → RSPContexts-DLgb84PF.es.js} +3 -3
- package/dist/chunks/{RSPContexts-DV4cFLUV.es.js.map → RSPContexts-DLgb84PF.es.js.map} +1 -1
- package/dist/chunks/{SelectionManager-Bo1rTzWU.es.js → SelectionManager-S9Amkvfg.es.js} +9 -9
- package/dist/chunks/{SelectionManager-Bo1rTzWU.es.js.map → SelectionManager-S9Amkvfg.es.js.map} +1 -1
- package/dist/chunks/{Separator-OdAUxccH.es.js → Separator-kuF-Wo1o.es.js} +2 -2
- package/dist/chunks/{Separator-OdAUxccH.es.js.map → Separator-kuF-Wo1o.es.js.map} +1 -1
- package/dist/chunks/{ToggleButton-BlpcYfFt.es.js → ToggleButton-BIiBT_jL.es.js} +2 -2
- package/dist/chunks/{ToggleButton-BlpcYfFt.es.js.map → ToggleButton-BIiBT_jL.es.js.map} +1 -1
- package/dist/chunks/{accordion-B9pzlIJn.cjs.js → accordion-DhybkUP0.cjs.js} +2 -2
- package/dist/chunks/{accordion-B9pzlIJn.cjs.js.map → accordion-DhybkUP0.cjs.js.map} +1 -1
- package/dist/chunks/{accordion-BazoFx8H.es.js → accordion-DwkpvHwM.es.js} +3 -3
- package/dist/chunks/{accordion-BazoFx8H.es.js.map → accordion-DwkpvHwM.es.js.map} +1 -1
- package/dist/chunks/alert-BlkniDy9.cjs.js +2 -0
- package/dist/chunks/alert-BlkniDy9.cjs.js.map +1 -0
- package/dist/chunks/{alert-DafE92Ep.es.js → alert-CVXQqjXr.es.js} +33 -33
- package/dist/chunks/alert-CVXQqjXr.es.js.map +1 -0
- package/dist/chunks/{button-rMTplznF.es.js → button-B1VvTs1w.es.js} +5 -5
- package/dist/chunks/{button-rMTplznF.es.js.map → button-B1VvTs1w.es.js.map} +1 -1
- package/dist/chunks/{button-DEenpJMD.cjs.js → button-CrUeW0pR.cjs.js} +2 -2
- package/dist/chunks/{button-DEenpJMD.cjs.js.map → button-CrUeW0pR.cjs.js.map} +1 -1
- package/dist/chunks/calendar-BiE914Ki.cjs.js +2 -0
- package/dist/chunks/calendar-BiE914Ki.cjs.js.map +1 -0
- package/dist/chunks/{calendar-B_6JEmid.es.js → calendar-D7pzgXqX.es.js} +27 -18
- package/dist/chunks/calendar-D7pzgXqX.es.js.map +1 -0
- package/dist/chunks/{checkbox-CBESN7DZ.cjs.js → checkbox-CVnNylPS.cjs.js} +2 -2
- package/dist/chunks/{checkbox-CBESN7DZ.cjs.js.map → checkbox-CVnNylPS.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-BAfhgr2Q.es.js → checkbox-CjR64WWv.es.js} +5 -5
- package/dist/chunks/{checkbox-BAfhgr2Q.es.js.map → checkbox-CjR64WWv.es.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-D0FWLqB-.cjs.js → collapsible-motion-CUcSKaFQ.cjs.js} +2 -2
- package/dist/chunks/{collapsible-motion-D0FWLqB-.cjs.js.map → collapsible-motion-CUcSKaFQ.cjs.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-BAHapRD_.es.js → collapsible-motion-CqJQvrAr.es.js} +3 -3
- package/dist/chunks/{collapsible-motion-BAHapRD_.es.js.map → collapsible-motion-CqJQvrAr.es.js.map} +1 -1
- package/dist/chunks/combobox-Bm_d6SaB.cjs.js +2 -0
- package/dist/chunks/{combobox-CJEs8K1H.cjs.js.map → combobox-Bm_d6SaB.cjs.js.map} +1 -1
- package/dist/chunks/{combobox-Dcaw-Scl.es.js → combobox-g3cCFSMZ.es.js} +127 -128
- package/dist/chunks/{combobox-Dcaw-Scl.es.js.map → combobox-g3cCFSMZ.es.js.map} +1 -1
- package/dist/chunks/data-table--7Qxgjb7.cjs.js +2 -0
- package/dist/chunks/data-table--7Qxgjb7.cjs.js.map +1 -0
- package/dist/chunks/data-table-Dnp2C_pq.es.js +4176 -0
- package/dist/chunks/data-table-Dnp2C_pq.es.js.map +1 -0
- package/dist/chunks/{date-input-Edn9vWV1.es.js → date-input-CRnreBK0.es.js} +4 -4
- package/dist/chunks/{date-input-Edn9vWV1.es.js.map → date-input-CRnreBK0.es.js.map} +1 -1
- package/dist/chunks/{date-input-CbJeRnmd.cjs.js → date-input-CXFII_3C.cjs.js} +2 -2
- package/dist/chunks/{date-input-CbJeRnmd.cjs.js.map → date-input-CXFII_3C.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-Bedy6752.cjs.js → date-picker-BzSXCoJ0.cjs.js} +2 -2
- package/dist/chunks/{date-picker-Bedy6752.cjs.js.map → date-picker-BzSXCoJ0.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-DvI-NGBn.es.js → date-picker-Zz2Sp3S6.es.js} +16 -18
- package/dist/chunks/{date-picker-DvI-NGBn.es.js.map → date-picker-Zz2Sp3S6.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-BoYoffUD.es.js → date-range-picker-B2Cln3mU.es.js} +15 -17
- package/dist/chunks/{date-range-picker-BoYoffUD.es.js.map → date-range-picker-B2Cln3mU.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-odYIm4fD.cjs.js → date-range-picker-H_YtkQRE.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-odYIm4fD.cjs.js.map → date-range-picker-H_YtkQRE.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker.field-CzsXm49P.es.js → date-range-picker.field-BUaFYM2O.es.js} +3 -3
- package/dist/chunks/{date-range-picker.field-CzsXm49P.es.js.map → date-range-picker.field-BUaFYM2O.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker.field-DTWGHjdx.cjs.js → date-range-picker.field-CS0YU89_.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker.field-DTWGHjdx.cjs.js.map → date-range-picker.field-CS0YU89_.cjs.js.map} +1 -1
- package/dist/chunks/{dialog-CMGeFzws.cjs.js → dialog-D7sGE9KU.cjs.js} +2 -2
- package/dist/chunks/{dialog-CMGeFzws.cjs.js.map → dialog-D7sGE9KU.cjs.js.map} +1 -1
- package/dist/chunks/{dialog-DuiXnZGx.es.js → dialog-DPpvAxDq.es.js} +2 -2
- package/dist/chunks/{dialog-DuiXnZGx.es.js.map → dialog-DPpvAxDq.es.js.map} +1 -1
- package/dist/chunks/{dialog.close-trigger-BNvTsWOn.es.js → dialog.close-trigger-BhUQxKIh.es.js} +7 -7
- package/dist/chunks/{dialog.close-trigger-BNvTsWOn.es.js.map → dialog.close-trigger-BhUQxKIh.es.js.map} +1 -1
- package/dist/chunks/{dialog.close-trigger-Crx_OdhW.cjs.js → dialog.close-trigger-Y9dS7xOy.cjs.js} +2 -2
- package/dist/chunks/{dialog.close-trigger-Crx_OdhW.cjs.js.map → dialog.close-trigger-Y9dS7xOy.cjs.js.map} +1 -1
- package/dist/chunks/{draggable-list-DR2KKaO_.cjs.js → draggable-list-TkB0lPBh.cjs.js} +3 -3
- package/dist/chunks/draggable-list-TkB0lPBh.cjs.js.map +1 -0
- package/dist/chunks/{draggable-list-BB8IGQJ6.es.js → draggable-list-ibWoXfeJ.es.js} +332 -318
- package/dist/chunks/draggable-list-ibWoXfeJ.es.js.map +1 -0
- package/dist/chunks/{drawer-DUVlTd1F.cjs.js → drawer-DZ75mvzL.cjs.js} +2 -2
- package/dist/chunks/{drawer-DUVlTd1F.cjs.js.map → drawer-DZ75mvzL.cjs.js.map} +1 -1
- package/dist/chunks/{drawer-hKr6SpSe.es.js → drawer-ZczUeqdd.es.js} +8 -8
- package/dist/chunks/{drawer-hKr6SpSe.es.js.map → drawer-ZczUeqdd.es.js.map} +1 -1
- package/dist/chunks/{extract-style-props-CBaCGha4.cjs.js → extract-style-props-B6-o20G1.cjs.js} +2 -2
- package/dist/chunks/{extract-style-props-CBaCGha4.cjs.js.map → extract-style-props-B6-o20G1.cjs.js.map} +1 -1
- package/dist/chunks/{extract-style-props-Cw0ebuoO.es.js → extract-style-props-fH5EHRZU.es.js} +2 -2
- package/dist/chunks/{extract-style-props-Cw0ebuoO.es.js.map → extract-style-props-fH5EHRZU.es.js.map} +1 -1
- package/dist/chunks/{form-field-DBi9CFok.es.js → form-field-C25xvMEM.es.js} +4 -4
- package/dist/chunks/form-field-C25xvMEM.es.js.map +1 -0
- package/dist/chunks/form-field-CpRzgqpq.cjs.js +2 -0
- package/dist/chunks/form-field-CpRzgqpq.cjs.js.map +1 -0
- package/dist/chunks/{getScrollParent-BsNSsJla.es.js → getScrollParent-g7luwBTz.es.js} +2 -2
- package/dist/chunks/{getScrollParent-BsNSsJla.es.js.map → getScrollParent-g7luwBTz.es.js.map} +1 -1
- package/dist/chunks/{heading-Ck9HCM5P.es.js → heading-BfaL2s7d.es.js} +2 -2
- package/dist/chunks/{heading-Ck9HCM5P.es.js.map → heading-BfaL2s7d.es.js.map} +1 -1
- package/dist/chunks/{icon-button-DJZJwO7E.cjs.js → icon-button-C_itb6iA.cjs.js} +2 -2
- package/dist/chunks/{icon-button-DJZJwO7E.cjs.js.map → icon-button-C_itb6iA.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-Bvr0zLGt.es.js → icon-button-XkzBkGuJ.es.js} +2 -2
- package/dist/chunks/{icon-button-Bvr0zLGt.es.js.map → icon-button-XkzBkGuJ.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-BlY5NEmP.es.js → icon-toggle-button-D4MFHBgl.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-BlY5NEmP.es.js.map → icon-toggle-button-D4MFHBgl.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-CUmglgfA.cjs.js → icon-toggle-button-D562D8WP.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-CUmglgfA.cjs.js.map → icon-toggle-button-D562D8WP.cjs.js.map} +1 -1
- package/dist/chunks/{index-CFfbr5i_.cjs.js → index-8m2zx8YL.cjs.js} +3 -3
- package/dist/chunks/index-8m2zx8YL.cjs.js.map +1 -0
- package/dist/chunks/{index-BGkAxVw_.es.js → index-B7wlrXvj.es.js} +22 -39
- package/dist/chunks/index-B7wlrXvj.es.js.map +1 -0
- package/dist/chunks/{link-CU-7XY0h.es.js → link-CPnL46cY.es.js} +3 -3
- package/dist/chunks/{link-CU-7XY0h.es.js.map → link-CPnL46cY.es.js.map} +1 -1
- package/dist/chunks/{localized-field-Cfr2yWfg.cjs.js → localized-field-ByW-vsvR.cjs.js} +2 -2
- package/dist/chunks/{localized-field-Cfr2yWfg.cjs.js.map → localized-field-ByW-vsvR.cjs.js.map} +1 -1
- package/dist/chunks/{localized-field-CmbkpZ4q.es.js → localized-field-DyZpSuGk.es.js} +23 -23
- package/dist/chunks/{localized-field-CmbkpZ4q.es.js.map → localized-field-DyZpSuGk.es.js.map} +1 -1
- package/dist/chunks/{menu-KGSl9Em7.cjs.js → menu-CJeqjRAs.cjs.js} +2 -2
- package/dist/chunks/{menu-KGSl9Em7.cjs.js.map → menu-CJeqjRAs.cjs.js.map} +1 -1
- package/dist/chunks/{menu-DG4V0LSQ.es.js → menu-CaSPNND_.es.js} +6 -6
- package/dist/chunks/{menu-DG4V0LSQ.es.js.map → menu-CaSPNND_.es.js.map} +1 -1
- package/dist/chunks/{money-input-CGMeW-uD.cjs.js → money-input-BT3JhOpu.cjs.js} +2 -2
- package/dist/chunks/{money-input-CGMeW-uD.cjs.js.map → money-input-BT3JhOpu.cjs.js.map} +1 -1
- package/dist/chunks/{money-input-Dci2k5rg.es.js → money-input-D6_TFZB-.es.js} +5 -5
- package/dist/chunks/{money-input-Dci2k5rg.es.js.map → money-input-D6_TFZB-.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-IMPfRfkg.cjs.js → multiline-text-input-BWEsaxf_.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-IMPfRfkg.cjs.js.map → multiline-text-input-BWEsaxf_.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-DvnSJca6.es.js → multiline-text-input-DqLmTSr5.es.js} +3 -3
- package/dist/chunks/{multiline-text-input-DvnSJca6.es.js.map → multiline-text-input-DqLmTSr5.es.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-CymDVsXZ.es.js → nimbus-provider-Bap0WHRm.es.js} +9 -9
- package/dist/chunks/{nimbus-provider-CymDVsXZ.es.js.map → nimbus-provider-Bap0WHRm.es.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-DyYGXHWz.cjs.js → nimbus-provider-BarcIhYi.cjs.js} +2 -2
- package/dist/chunks/{nimbus-provider-DyYGXHWz.cjs.js.map → nimbus-provider-BarcIhYi.cjs.js.map} +1 -1
- package/dist/chunks/{number-input-D5uge6-t.cjs.js → number-input-BskHV8w5.cjs.js} +2 -2
- package/dist/chunks/{number-input-D5uge6-t.cjs.js.map → number-input-BskHV8w5.cjs.js.map} +1 -1
- package/dist/chunks/{number-input-CoVt943T.es.js → number-input-CerB7jp0.es.js} +4 -4
- package/dist/chunks/{number-input-CoVt943T.es.js.map → number-input-CerB7jp0.es.js.map} +1 -1
- package/dist/chunks/{openLink-D7--QlSJ.es.js → openLink-BNz58j4a.es.js} +7 -7
- package/dist/chunks/{openLink-D7--QlSJ.es.js.map → openLink-BNz58j4a.es.js.map} +1 -1
- package/dist/chunks/{pagination-C4_2Ov7h.es.js → pagination-dlHn3OhV.es.js} +25 -25
- package/dist/chunks/{pagination-C4_2Ov7h.es.js.map → pagination-dlHn3OhV.es.js.map} +1 -1
- package/dist/chunks/{pagination-Dbf6i8je.cjs.js → pagination-xj41eBPX.cjs.js} +2 -2
- package/dist/chunks/{pagination-Dbf6i8je.cjs.js.map → pagination-xj41eBPX.cjs.js.map} +1 -1
- package/dist/chunks/password-input-DGtJisDd.cjs.js +2 -0
- package/dist/chunks/password-input-DGtJisDd.cjs.js.map +1 -0
- package/dist/chunks/{password-input-D-WKBfJ_.es.js → password-input-Dw-m0lej.es.js} +11 -11
- package/dist/chunks/password-input-Dw-m0lej.es.js.map +1 -0
- package/dist/chunks/{popover-B5j28gJx.es.js → popover-CaE5pDl9.es.js} +2 -2
- package/dist/chunks/{popover-B5j28gJx.es.js.map → popover-CaE5pDl9.es.js.map} +1 -1
- package/dist/chunks/{popover-D0TkE271.cjs.js → popover-DY7ASSCU.cjs.js} +2 -2
- package/dist/chunks/{popover-D0TkE271.cjs.js.map → popover-DY7ASSCU.cjs.js.map} +1 -1
- package/dist/chunks/{progress-bar-DrK5bppD.es.js → progress-bar-CYd6T1Ax.es.js} +2 -2
- package/dist/chunks/{progress-bar-DrK5bppD.es.js.map → progress-bar-CYd6T1Ax.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-CJqyWOZe.cjs.js → progress-bar-Dx9Zr5Yh.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-CJqyWOZe.cjs.js.map → progress-bar-Dx9Zr5Yh.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-BL1YItkC.es.js → radio-input-Dg7PXbQa.es.js} +4 -4
- package/dist/chunks/{radio-input-BL1YItkC.es.js.map → radio-input-Dg7PXbQa.es.js.map} +1 -1
- package/dist/chunks/{radio-input-1myCCuNN.cjs.js → radio-input-yA7MF_jw.cjs.js} +2 -2
- package/dist/chunks/{radio-input-1myCCuNN.cjs.js.map → radio-input-yA7MF_jw.cjs.js.map} +1 -1
- package/dist/chunks/{range-calendar-C_2BhVos.es.js → range-calendar-D6nonjnz.es.js} +40 -31
- package/dist/chunks/range-calendar-D6nonjnz.es.js.map +1 -0
- package/dist/chunks/range-calendar-DhKTQPnz.cjs.js +2 -0
- package/dist/chunks/range-calendar-DhKTQPnz.cjs.js.map +1 -0
- package/dist/chunks/{rich-text-input-rd0Z_BZN.cjs.js → rich-text-input-CViBsj3Y.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-rd0Z_BZN.cjs.js.map → rich-text-input-CViBsj3Y.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-BH9R2Ndd.es.js → rich-text-input-hBorJHFw.es.js} +9 -9
- package/dist/chunks/{rich-text-input-BH9R2Ndd.es.js.map → rich-text-input-hBorJHFw.es.js.map} +1 -1
- package/dist/chunks/{scoped-search-input-DZYDPxMi.es.js → scoped-search-input-B7rDiJuj.es.js} +5 -5
- package/dist/chunks/{scoped-search-input-DZYDPxMi.es.js.map → scoped-search-input-B7rDiJuj.es.js.map} +1 -1
- package/dist/chunks/{scoped-search-input-DNmFeyN7.cjs.js → scoped-search-input-C6B7Szzk.cjs.js} +2 -2
- package/dist/chunks/{scoped-search-input-DNmFeyN7.cjs.js.map → scoped-search-input-C6B7Szzk.cjs.js.map} +1 -1
- package/dist/chunks/{scrollIntoView-DniANfOx.es.js → scrollIntoView-CRn_Y0bq.es.js} +4 -4
- package/dist/chunks/{scrollIntoView-DniANfOx.es.js.map → scrollIntoView-CRn_Y0bq.es.js.map} +1 -1
- package/dist/chunks/{search-input-CbKf6uv-.es.js → search-input-tna-iiqy.es.js} +7 -7
- package/dist/chunks/{search-input-CbKf6uv-.es.js.map → search-input-tna-iiqy.es.js.map} +1 -1
- package/dist/chunks/{search-input-Cuqj5Ozc.cjs.js → search-input-vq7lviez.cjs.js} +2 -2
- package/dist/chunks/{search-input-Cuqj5Ozc.cjs.js.map → search-input-vq7lviez.cjs.js.map} +1 -1
- package/dist/chunks/{select-C2lIA5hg.es.js → select-B0WZuFVc.es.js} +66 -67
- package/dist/chunks/{select-C2lIA5hg.es.js.map → select-B0WZuFVc.es.js.map} +1 -1
- package/dist/chunks/select-wD3QlanS.cjs.js +2 -0
- package/dist/chunks/{select-CWaI47Kc.cjs.js.map → select-wD3QlanS.cjs.js.map} +1 -1
- package/dist/chunks/{separator-DVnpuMAc.es.js → separator-Dng72n3L.es.js} +4 -4
- package/dist/chunks/{separator-DVnpuMAc.es.js.map → separator-Dng72n3L.es.js.map} +1 -1
- package/dist/chunks/{separator-D75V0Oga.cjs.js → separator-TrQT9Pcb.cjs.js} +2 -2
- package/dist/chunks/{separator-D75V0Oga.cjs.js.map → separator-TrQT9Pcb.cjs.js.map} +1 -1
- package/dist/chunks/split-button-BH500vls.cjs.js +2 -0
- package/dist/chunks/split-button-BH500vls.cjs.js.map +1 -0
- package/dist/chunks/{split-button-C1PFrcU6.es.js → split-button-pF0iIa_0.es.js} +10 -10
- package/dist/chunks/split-button-pF0iIa_0.es.js.map +1 -0
- package/dist/chunks/{switch-2AsRNDVU.cjs.js → switch-D3tDl7RG.cjs.js} +2 -2
- package/dist/chunks/{switch-2AsRNDVU.cjs.js.map → switch-D3tDl7RG.cjs.js.map} +1 -1
- package/dist/chunks/{switch-DVQRB0wu.es.js → switch-DJENPCZA.es.js} +4 -4
- package/dist/chunks/{switch-DVQRB0wu.es.js.map → switch-DJENPCZA.es.js.map} +1 -1
- package/dist/chunks/tabs-Bj24YiXX.cjs.js +2 -0
- package/dist/chunks/{tabs-BlcjUZnC.cjs.js.map → tabs-Bj24YiXX.cjs.js.map} +1 -1
- package/dist/chunks/{tabs-SeVATsGV.es.js → tabs-D3SqKC9V.es.js} +35 -35
- package/dist/chunks/{tabs-SeVATsGV.es.js.map → tabs-D3SqKC9V.es.js.map} +1 -1
- package/dist/chunks/{tag-group-DrCKPNqX.es.js → tag-group-DQ72dsVp.es.js} +13 -13
- package/dist/chunks/{tag-group-DrCKPNqX.es.js.map → tag-group-DQ72dsVp.es.js.map} +1 -1
- package/dist/chunks/tag-group-Djb2ouRY.cjs.js +2 -0
- package/dist/chunks/{tag-group-DexGJ8Hf.cjs.js.map → tag-group-Djb2ouRY.cjs.js.map} +1 -1
- package/dist/chunks/{text-input-Bm7-FMPR.cjs.js → text-input-B5tizBg4.cjs.js} +2 -2
- package/dist/chunks/{text-input-Bm7-FMPR.cjs.js.map → text-input-B5tizBg4.cjs.js.map} +1 -1
- package/dist/chunks/{text-input-CSkQFwGX.es.js → text-input-DBFEKmrv.es.js} +3 -3
- package/dist/chunks/{text-input-CSkQFwGX.es.js.map → text-input-DBFEKmrv.es.js.map} +1 -1
- package/dist/chunks/{time-input-ClOP5fJr.es.js → time-input-BJ1nDsyZ.es.js} +4 -4
- package/dist/chunks/{time-input-ClOP5fJr.es.js.map → time-input-BJ1nDsyZ.es.js.map} +1 -1
- package/dist/chunks/{time-input-BHyImNO3.cjs.js → time-input-DWrgu6Yp.cjs.js} +2 -2
- package/dist/chunks/{time-input-BHyImNO3.cjs.js.map → time-input-DWrgu6Yp.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-Rczis1rR.es.js → toggle-button-Dm4hPGPr.es.js} +4 -4
- package/dist/chunks/{toggle-button-Rczis1rR.es.js.map → toggle-button-Dm4hPGPr.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-TrFHgAeL.es.js → toggle-button-group-DMH0nd7S.es.js} +3 -3
- package/dist/chunks/{toggle-button-group-TrFHgAeL.es.js.map → toggle-button-group-DMH0nd7S.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-BQczQ6D_.cjs.js → toggle-button-group-Lfn3zYmC.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-group-BQczQ6D_.cjs.js.map → toggle-button-group-Lfn3zYmC.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group.recipe-DgySRvOW.cjs.js → toggle-button-group.recipe-COF-yHYR.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-group.recipe-DgySRvOW.cjs.js.map → toggle-button-group.recipe-COF-yHYR.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group.recipe-CbCnJQP3.es.js → toggle-button-group.recipe-Cl3PTeGf.es.js} +2 -16
- package/dist/chunks/toggle-button-group.recipe-Cl3PTeGf.es.js.map +1 -0
- package/dist/chunks/{toggle-button-enJHTjsJ.cjs.js → toggle-button-mL9CAReh.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-enJHTjsJ.cjs.js.map → toggle-button-mL9CAReh.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-CNqSGtQi.cjs.js → toolbar-Df-6gFqW.cjs.js} +2 -2
- package/dist/chunks/{toolbar-CNqSGtQi.cjs.js.map → toolbar-Df-6gFqW.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-CsuzuQNn.es.js → toolbar-wCiInDj2.es.js} +3 -3
- package/dist/chunks/{toolbar-CsuzuQNn.es.js.map → toolbar-wCiInDj2.es.js.map} +1 -1
- package/dist/chunks/{useButton-DEV993k7.es.js → useButton-C6AOJI9V.es.js} +2 -2
- package/dist/chunks/{useButton-DEV993k7.es.js.map → useButton-C6AOJI9V.es.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-YLMdKUmg.es.js → useDateFormatter-eE8d1TkO.es.js} +2 -2
- package/dist/chunks/{useDateFormatter-YLMdKUmg.es.js.map → useDateFormatter-eE8d1TkO.es.js.map} +1 -1
- package/dist/chunks/useGridListItem-BETI-KGO.cjs.js +2 -0
- package/dist/chunks/useGridListItem-BETI-KGO.cjs.js.map +1 -0
- package/dist/chunks/{useHighlightSelectionDescription-DH3XBG7f.es.js → useGridListItem-WBYPB9KF.es.js} +406 -163
- package/dist/chunks/useGridListItem-WBYPB9KF.es.js.map +1 -0
- package/dist/chunks/useListState-BFNT8oUW.es.js +139 -0
- package/dist/chunks/useListState-BFNT8oUW.es.js.map +1 -0
- package/dist/chunks/useListState-QQtJHpsQ.cjs.js +2 -0
- package/dist/chunks/useListState-QQtJHpsQ.cjs.js.map +1 -0
- package/dist/chunks/{usePress-D9qOoxbA.es.js → usePress-HeLch-fy.es.js} +2 -2
- package/dist/chunks/{usePress-D9qOoxbA.es.js.map → usePress-HeLch-fy.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-BawVWofI.cjs.js → useSingleSelectListState-CsD7W9nK.cjs.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-BawVWofI.cjs.js.map → useSingleSelectListState-CsD7W9nK.cjs.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-Bjn8R8w0.es.js → useSingleSelectListState-DcU-tU_H.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-Bjn8R8w0.es.js.map → useSingleSelectListState-DcU-tU_H.es.js.map} +1 -1
- package/dist/chunks/{useToggle-Cc5uCpc9.es.js → useToggle-XQtoJnll.es.js} +2 -2
- package/dist/chunks/{useToggle-Cc5uCpc9.es.js.map → useToggle-XQtoJnll.es.js.map} +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert/alert.recipe.d.ts +0 -22
- package/dist/components/alert/alert.slots.d.ts +4 -9
- package/dist/components/alert/alert.types.d.ts +5 -3
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/button/button.recipe.d.ts +0 -14
- package/dist/components/button/button.slots.d.ts +2 -2
- package/dist/components/button/button.types.d.ts +6 -5
- 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/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/collapsible-motion.cjs +1 -1
- package/dist/components/collapsible-motion.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 +1 -1
- package/dist/components/data-table/components/data-table.layout-settings-panel.d.ts +4 -0
- package/dist/components/data-table/components/data-table.manager.d.ts +9 -0
- package/dist/components/data-table/components/data-table.visible-columns-panel.d.ts +7 -0
- package/dist/components/data-table/constants.d.ts +4 -0
- package/dist/components/data-table/data-table.d.ts +24 -1
- package/dist/components/data-table/data-table.i18n.d.ts +120 -0
- package/dist/components/data-table/data-table.slots.d.ts +2 -2
- package/dist/components/data-table/data-table.types.d.ts +20 -7
- package/dist/components/data-table/index.d.ts +1 -0
- package/dist/components/data-table/test-data.d.ts +4 -1
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +10 -8
- 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-field.cjs +1 -1
- package/dist/components/date-range-picker-field.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/draggable-list.cjs +1 -1
- package/dist/components/draggable-list.es.js +1 -1
- package/dist/components/drawer.cjs +1 -1
- package/dist/components/drawer.es.js +1 -1
- package/dist/components/fields.cjs +1 -1
- package/dist/components/fields.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/heading.es.js +1 -1
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/loading-spinner/loading-spinner.recipe.d.ts +1 -1
- package/dist/components/loading-spinner/loading-spinner.slots.d.ts +5 -2
- package/dist/components/loading-spinner/loading-spinner.types.d.ts +3 -6
- package/dist/components/localized-field.cjs +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/money-input.cjs +1 -1
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/multiline-text-input.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/pagination.cjs +1 -1
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/patterns.cjs +1 -1
- package/dist/components/patterns.es.js +1 -1
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/scoped-search-input.cjs +1 -1
- package/dist/components/scoped-search-input.es.js +1 -1
- package/dist/components/search-input.cjs +1 -1
- package/dist/components/search-input.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/split-button/split-button.types.d.ts +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.es.js +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.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/toggle-button.recipe.d.ts +0 -14
- package/dist/components/toggle-button/toggle-button.slots.d.ts +4 -11
- package/dist/components/toggle-button/toggle-button.types.d.ts +5 -4
- package/dist/components/toggle-button-group/toggle-button-group.recipe.d.ts +1 -1
- package/dist/components/toggle-button-group/toggle-button-group.types.d.ts +6 -4
- package/dist/components/toggle-button-group.cjs +1 -1
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +136 -134
- package/dist/index.es.js.map +1 -1
- package/dist/theme/recipes/index.d.ts +1 -29
- package/dist/theme/slot-recipes/index.d.ts +1 -23
- package/dist/type-utils/shared-types.d.ts +3 -6
- package/package.json +5 -5
- package/dist/chunks/DragAndDrop-35iVlv_E.cjs.js +0 -2
- package/dist/chunks/DragAndDrop-35iVlv_E.cjs.js.map +0 -1
- package/dist/chunks/DragAndDrop-Cu_xjzZg.es.js +0 -76
- package/dist/chunks/DragAndDrop-Cu_xjzZg.es.js.map +0 -1
- package/dist/chunks/Header-BE5dOA7y.es.js +0 -59
- package/dist/chunks/Header-BE5dOA7y.es.js.map +0 -1
- package/dist/chunks/Header-Ba1_guwA.cjs.js +0 -2
- package/dist/chunks/Header-Ba1_guwA.cjs.js.map +0 -1
- package/dist/chunks/ListBox-DkXFmzHf.cjs.js +0 -2
- package/dist/chunks/ListBox-DkXFmzHf.cjs.js.map +0 -1
- package/dist/chunks/ListBox-DxgCeXuN.es.js +0 -493
- package/dist/chunks/ListBox-DxgCeXuN.es.js.map +0 -1
- package/dist/chunks/ListKeyboardDelegate-BEarLHjT.cjs.js +0 -2
- package/dist/chunks/ListKeyboardDelegate-BEarLHjT.cjs.js.map +0 -1
- package/dist/chunks/ListKeyboardDelegate-ekIDdehS.es.js +0 -159
- package/dist/chunks/ListKeyboardDelegate-ekIDdehS.es.js.map +0 -1
- package/dist/chunks/alert-BYw_3VgA.cjs.js +0 -2
- package/dist/chunks/alert-BYw_3VgA.cjs.js.map +0 -1
- package/dist/chunks/alert-DafE92Ep.es.js.map +0 -1
- package/dist/chunks/calendar-B_6JEmid.es.js.map +0 -1
- package/dist/chunks/calendar-Kd_2ZJIo.cjs.js +0 -2
- package/dist/chunks/calendar-Kd_2ZJIo.cjs.js.map +0 -1
- package/dist/chunks/combobox-CJEs8K1H.cjs.js +0 -2
- package/dist/chunks/data-table-DdnSEpEq.cjs.js +0 -2
- package/dist/chunks/data-table-DdnSEpEq.cjs.js.map +0 -1
- package/dist/chunks/data-table-zaE0wk1G.es.js +0 -3638
- package/dist/chunks/data-table-zaE0wk1G.es.js.map +0 -1
- package/dist/chunks/draggable-list-BB8IGQJ6.es.js.map +0 -1
- package/dist/chunks/draggable-list-DR2KKaO_.cjs.js.map +0 -1
- package/dist/chunks/form-field-DBi9CFok.es.js.map +0 -1
- package/dist/chunks/form-field-Dn5VxoQ2.cjs.js +0 -2
- package/dist/chunks/form-field-Dn5VxoQ2.cjs.js.map +0 -1
- package/dist/chunks/index-BGkAxVw_.es.js.map +0 -1
- package/dist/chunks/index-CFfbr5i_.cjs.js.map +0 -1
- package/dist/chunks/inertValue-B7loUihk.es.js +0 -9
- package/dist/chunks/inertValue-B7loUihk.es.js.map +0 -1
- package/dist/chunks/inertValue-BWmZ1afe.cjs.js +0 -2
- package/dist/chunks/inertValue-BWmZ1afe.cjs.js.map +0 -1
- package/dist/chunks/password-input-D-WKBfJ_.es.js.map +0 -1
- package/dist/chunks/password-input-DApa74CT.cjs.js +0 -2
- package/dist/chunks/password-input-DApa74CT.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-C_2BhVos.es.js.map +0 -1
- package/dist/chunks/range-calendar-M5itlXS-.cjs.js +0 -2
- package/dist/chunks/range-calendar-M5itlXS-.cjs.js.map +0 -1
- package/dist/chunks/select-CWaI47Kc.cjs.js +0 -2
- package/dist/chunks/split-button-C1PFrcU6.es.js.map +0 -1
- package/dist/chunks/split-button-DhxZShYM.cjs.js +0 -2
- package/dist/chunks/split-button-DhxZShYM.cjs.js.map +0 -1
- package/dist/chunks/tabs-BlcjUZnC.cjs.js +0 -2
- package/dist/chunks/tag-group-DexGJ8Hf.cjs.js +0 -2
- package/dist/chunks/toggle-button-group.recipe-CbCnJQP3.es.js.map +0 -1
- package/dist/chunks/useGridListItem-DSRAVcC0.es.js +0 -251
- package/dist/chunks/useGridListItem-DSRAVcC0.es.js.map +0 -1
- package/dist/chunks/useGridListItem-Dt8Kui_9.cjs.js +0 -2
- package/dist/chunks/useGridListItem-Dt8Kui_9.cjs.js.map +0 -1
- package/dist/chunks/useGridSelectionCheckbox-CB9AkcJ-.cjs.js +0 -2
- package/dist/chunks/useGridSelectionCheckbox-CB9AkcJ-.cjs.js.map +0 -1
- package/dist/chunks/useGridSelectionCheckbox-qNlOk_Zu.es.js +0 -23
- package/dist/chunks/useGridSelectionCheckbox-qNlOk_Zu.es.js.map +0 -1
- package/dist/chunks/useHighlightSelectionDescription-C37fwYgQ.cjs.js +0 -2
- package/dist/chunks/useHighlightSelectionDescription-C37fwYgQ.cjs.js.map +0 -1
- package/dist/chunks/useHighlightSelectionDescription-DH3XBG7f.es.js.map +0 -1
- package/dist/chunks/useListState-HM8Jsi0C.cjs.js +0 -2
- package/dist/chunks/useListState-HM8Jsi0C.cjs.js.map +0 -1
- package/dist/chunks/useListState-QNqJ2RZ-.es.js +0 -134
- package/dist/chunks/useListState-QNqJ2RZ-.es.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),$=require("react"),f=require("@chakra-ui/react"),x=require("@chakra-ui/react/styled-system"),R=require("./extract-style-props-
|
|
2
|
-
//# sourceMappingURL=switch-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),$=require("react"),f=require("@chakra-ui/react"),x=require("@chakra-ui/react/styled-system"),R=require("./extract-style-props-B6-o20G1.cjs.js"),q=require("./index-8m2zx8YL.cjs.js"),w=require("./useObjectRef-4v2MxSjQ.cjs.js"),y=require("./mergeProps-CxnHrnow.cjs.js"),j=require("./useToggleState-D7k4zllv.cjs.js"),m=require("./useToggle-DWRQYar0.cjs.js"),g=require("./useFocusRing-B7_ogYbr.cjs.js"),k=require("./visually-hidden-BjtXUoFK.cjs.js");function v(s,e,c){let{labelProps:i,inputProps:l,isSelected:o,isPressed:a,isDisabled:n,isReadOnly:d}=m.$d2c8e2b0480f3f34$export$cbe85ee05b554577(s,e,c);return{labelProps:i,inputProps:{...l,role:"switch",checked:o},isSelected:o,isPressed:a,isDisabled:n,isReadOnly:d}}const{withProvider:D,withContext:u}=f.createSlotRecipeContext({key:"switch"}),O=D("label","root"),T=u("span","label"),C=u("span","track"),F=u("span","thumb"),b=({ref:s,...e})=>{const c=$.useRef(null),i=w.$df56164dff5785e2$export$4338b53315abf666(s?f.mergeRefs(c,s):c),l=x.useSlotRecipe({recipe:q.switchSlotRecipe}),[o,a]=l.splitVariantProps(e),[n,d]=R.extractStyleProps(a),p=j.$3017fa7ffdddec74$export$8042c6c013fd5226(e),{inputProps:S}=v(d,p,i),{isFocused:h,focusProps:P}=g.$f7dceffc5ad7768b$export$4e328f61c538687f(),r={"data-selected":p.isSelected,"data-invalid":e.isInvalid,"data-disabled":e.isDisabled,"data-focus":h||void 0};return t.jsxs(O,{"data-slot":"root",...o,...r,...n,children:[t.jsxs(C,{"data-slot":"track",...r,children:[t.jsx(F,{"data-slot":"thumb",...r}),t.jsx(k.VisuallyHidden,{as:"span",children:t.jsx("input",{"data-slot":"input",...y.$3ef42575df84b30b$export$9d1611c77c2fe928(S,P),ref:i})})]}),e.children&&t.jsx(T,{"data-slot":"label",...r,children:e.children})]})};b.displayName="Switch";exports.Switch=b;
|
|
2
|
+
//# sourceMappingURL=switch-D3tDl7RG.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch-
|
|
1
|
+
{"version":3,"file":"switch-D3tDl7RG.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+switch@3.7.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/switch/dist/useSwitch.mjs","../../src/components/switch/switch.slots.tsx","../../src/components/switch/switch.tsx"],"sourcesContent":["import {useToggle as $ifSyJ$useToggle} from \"@react-aria/toggle\";\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 $b418ec0c85c52f27$export$d853f7095ae95f88(props, state, ref) {\n let { labelProps: labelProps, inputProps: inputProps, isSelected: isSelected, isPressed: isPressed, isDisabled: isDisabled, isReadOnly: isReadOnly } = (0, $ifSyJ$useToggle)(props, state, ref);\n return {\n labelProps: labelProps,\n inputProps: {\n ...inputProps,\n role: 'switch',\n checked: isSelected\n },\n isSelected: isSelected,\n isPressed: isPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly\n };\n}\n\n\nexport {$b418ec0c85c52f27$export$d853f7095ae95f88 as useSwitch};\n//# sourceMappingURL=useSwitch.module.js.map\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type {\n SwitchRootSlotProps,\n SwitchLabelSlotProps,\n SwitchTrackSlotProps,\n SwitchThumbSlotProps,\n} from \"./switch.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"switch\",\n});\n\nexport const SwitchRootSlot: SlotComponent<\n HTMLLabelElement,\n SwitchRootSlotProps\n> = withProvider<HTMLLabelElement, SwitchRootSlotProps>(\"label\", \"root\");\n\nexport const SwitchLabelSlot = withContext<\n HTMLSpanElement,\n SwitchLabelSlotProps\n>(\"span\", \"label\");\n\nexport const SwitchTrackSlot = withContext<\n HTMLSpanElement,\n SwitchTrackSlotProps\n>(\"span\", \"track\");\n\nexport const SwitchThumbSlot = withContext<\n HTMLSpanElement,\n SwitchThumbSlotProps\n>(\"span\", \"thumb\");\n","import { useRef } from \"react\";\nimport { useToggleState } from \"react-stately\";\nimport { useFocusRing, useSwitch, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { VisuallyHidden } from \"@/components\";\nimport { extractStyleProps } from \"@/utils\";\nimport type { SwitchProps } from \"./switch.types\";\nimport {\n SwitchRootSlot,\n SwitchTrackSlot,\n SwitchThumbSlot,\n SwitchLabelSlot,\n} from \"./switch.slots\";\nimport { switchSlotRecipe } from \"./switch.recipe\";\n\n/**\n * # Switch\n *\n * A clear, visual toggle, allowing users to activate or deactivate a setting quickly.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/switch}\n */\nexport const Switch = ({ ref: externalRef, ...props }: SwitchProps) => {\n const localRef = useRef<HTMLInputElement>(null);\n const ref = useObjectRef(\n externalRef ? mergeRefs(localRef, externalRef) : localRef\n );\n\n const recipe = useSlotRecipe({ recipe: switchSlotRecipe });\n\n const [recipeProps, recipeLessProps] = recipe.splitVariantProps(props);\n const [styleProps, functionalProps] = extractStyleProps(recipeLessProps);\n\n const state = useToggleState(props);\n const { inputProps } = useSwitch(functionalProps, state, ref);\n\n const { isFocused, focusProps } = useFocusRing();\n\n const stateProps = {\n \"data-selected\": state.isSelected,\n \"data-invalid\": props.isInvalid,\n \"data-disabled\": props.isDisabled,\n \"data-focus\": isFocused || undefined,\n };\n return (\n <SwitchRootSlot\n data-slot=\"root\"\n {...recipeProps}\n {...stateProps}\n {...styleProps}\n >\n <SwitchTrackSlot data-slot=\"track\" {...stateProps}>\n <SwitchThumbSlot data-slot=\"thumb\" {...stateProps} />\n <VisuallyHidden as=\"span\">\n <input\n data-slot=\"input\"\n {...mergeProps(inputProps, focusProps)}\n ref={ref}\n />\n </VisuallyHidden>\n </SwitchTrackSlot>\n\n {props.children && (\n <SwitchLabelSlot data-slot=\"label\" {...stateProps}>\n {props.children}\n </SwitchLabelSlot>\n )}\n </SwitchRootSlot>\n );\n};\nSwitch.displayName = \"Switch\";\n"],"names":["$b418ec0c85c52f27$export$d853f7095ae95f88","props","state","ref","labelProps","inputProps","isSelected","isPressed","isDisabled","isReadOnly","$ifSyJ$useToggle","withProvider","withContext","createSlotRecipeContext","SwitchRootSlot","SwitchLabelSlot","SwitchTrackSlot","SwitchThumbSlot","Switch","externalRef","localRef","useRef","useObjectRef","mergeRefs","recipe","useSlotRecipe","switchSlotRecipe","recipeProps","recipeLessProps","styleProps","functionalProps","extractStyleProps","useToggleState","useSwitch","isFocused","focusProps","useFocusRing","stateProps","jsxs","jsx","VisuallyHidden","mergeProps"],"mappings":"+eAaA,SAASA,EAA0CC,EAAOC,EAAOC,EAAK,CAClE,GAAI,CAAE,WAAYC,EAAY,WAAYC,EAAY,WAAYC,EAAY,UAAWC,EAAW,WAAYC,EAAY,WAAYC,CAAU,EAASC,EAAAA,0CAAkBT,EAAOC,EAAOC,CAAG,EAC9L,MAAO,CACH,WAAYC,EACZ,WAAY,CACR,GAAGC,EACH,KAAM,SACN,QAASC,CACrB,EACQ,WAAYA,EACZ,UAAWC,EACX,WAAYC,EACZ,WAAYC,CACpB,CACA,CClBA,KAAM,CAAE,aAAAE,EAAc,YAAAC,CAAA,EAAgBC,0BAAwB,CAC5D,IAAK,QACP,CAAC,EAEYC,EAGTH,EAAoD,QAAS,MAAM,EAE1DI,EAAkBH,EAG7B,OAAQ,OAAO,EAEJI,EAAkBJ,EAG7B,OAAQ,OAAO,EAEJK,EAAkBL,EAG7B,OAAQ,OAAO,ECRJM,EAAS,CAAC,CAAE,IAAKC,EAAa,GAAGlB,KAAyB,CACrE,MAAMmB,EAAWC,EAAAA,OAAyB,IAAI,EACxClB,EAAMmB,EAAAA,0CACVH,EAAcI,EAAAA,UAAUH,EAAUD,CAAW,EAAIC,CAAA,EAG7CI,EAASC,EAAAA,cAAc,CAAE,OAAQC,EAAAA,iBAAkB,EAEnD,CAACC,EAAaC,CAAe,EAAIJ,EAAO,kBAAkBvB,CAAK,EAC/D,CAAC4B,EAAYC,CAAe,EAAIC,EAAAA,kBAAkBH,CAAe,EAEjE1B,EAAQ8B,EAAAA,0CAAe/B,CAAK,EAC5B,CAAE,WAAAI,CAAA,EAAe4B,EAAUH,EAAiB5B,EAAOC,CAAG,EAEtD,CAAE,UAAA+B,EAAW,WAAAC,CAAA,EAAeC,4CAAA,EAE5BC,EAAa,CACjB,gBAAiBnC,EAAM,WACvB,eAAgBD,EAAM,UACtB,gBAAiBA,EAAM,WACvB,aAAciC,GAAa,MAAA,EAE7B,OACEI,EAAAA,KAACxB,EAAA,CACC,YAAU,OACT,GAAGa,EACH,GAAGU,EACH,GAAGR,EAEJ,SAAA,CAAAS,EAAAA,KAACtB,EAAA,CAAgB,YAAU,QAAS,GAAGqB,EACrC,SAAA,CAAAE,EAAAA,IAACtB,EAAA,CAAgB,YAAU,QAAS,GAAGoB,CAAA,CAAY,EACnDE,EAAAA,IAACC,EAAAA,eAAA,CAAe,GAAG,OACjB,SAAAD,EAAAA,IAAC,QAAA,CACC,YAAU,QACT,GAAGE,EAAAA,0CAAWpC,EAAY8B,CAAU,EACrC,IAAAhC,CAAA,CAAA,CACF,CACF,CAAA,EACF,EAECF,EAAM,UACLsC,MAACxB,EAAA,CAAgB,YAAU,QAAS,GAAGsB,EACpC,SAAApC,EAAM,QAAA,CACT,CAAA,CAAA,CAAA,CAIR,EACAiB,EAAO,YAAc","x_google_ignoreList":[0]}
|
|
@@ -2,12 +2,12 @@ import { jsxs as m, jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as u } from "react";
|
|
3
3
|
import { createSlotRecipeContext as P, mergeRefs as S } from "@chakra-ui/react";
|
|
4
4
|
import { useSlotRecipe as w } from "@chakra-ui/react/styled-system";
|
|
5
|
-
import { e as x } from "./extract-style-props-
|
|
6
|
-
import { e as R } from "./index-
|
|
5
|
+
import { e as x } from "./extract-style-props-fH5EHRZU.es.js";
|
|
6
|
+
import { e as R } from "./index-B7wlrXvj.es.js";
|
|
7
7
|
import { $ as y } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
8
8
|
import { $ as k } from "./mergeProps-DtKAFxbD.es.js";
|
|
9
9
|
import { $ as v } from "./useToggleState-Uh0wTgdI.es.js";
|
|
10
|
-
import { $ as D } from "./useToggle-
|
|
10
|
+
import { $ as D } from "./useToggle-XQtoJnll.es.js";
|
|
11
11
|
import { $ as O } from "./useFocusRing-4xTd5aPf.es.js";
|
|
12
12
|
import { V } from "./visually-hidden-BmFEAQP9.es.js";
|
|
13
13
|
function j(t, e, s) {
|
|
@@ -64,4 +64,4 @@ H.displayName = "Switch";
|
|
|
64
64
|
export {
|
|
65
65
|
H as S
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=switch-
|
|
67
|
+
//# sourceMappingURL=switch-DJENPCZA.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch-
|
|
1
|
+
{"version":3,"file":"switch-DJENPCZA.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+switch@3.7.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/switch/dist/useSwitch.mjs","../../src/components/switch/switch.slots.tsx","../../src/components/switch/switch.tsx"],"sourcesContent":["import {useToggle as $ifSyJ$useToggle} from \"@react-aria/toggle\";\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 $b418ec0c85c52f27$export$d853f7095ae95f88(props, state, ref) {\n let { labelProps: labelProps, inputProps: inputProps, isSelected: isSelected, isPressed: isPressed, isDisabled: isDisabled, isReadOnly: isReadOnly } = (0, $ifSyJ$useToggle)(props, state, ref);\n return {\n labelProps: labelProps,\n inputProps: {\n ...inputProps,\n role: 'switch',\n checked: isSelected\n },\n isSelected: isSelected,\n isPressed: isPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly\n };\n}\n\n\nexport {$b418ec0c85c52f27$export$d853f7095ae95f88 as useSwitch};\n//# sourceMappingURL=useSwitch.module.js.map\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type {\n SwitchRootSlotProps,\n SwitchLabelSlotProps,\n SwitchTrackSlotProps,\n SwitchThumbSlotProps,\n} from \"./switch.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"switch\",\n});\n\nexport const SwitchRootSlot: SlotComponent<\n HTMLLabelElement,\n SwitchRootSlotProps\n> = withProvider<HTMLLabelElement, SwitchRootSlotProps>(\"label\", \"root\");\n\nexport const SwitchLabelSlot = withContext<\n HTMLSpanElement,\n SwitchLabelSlotProps\n>(\"span\", \"label\");\n\nexport const SwitchTrackSlot = withContext<\n HTMLSpanElement,\n SwitchTrackSlotProps\n>(\"span\", \"track\");\n\nexport const SwitchThumbSlot = withContext<\n HTMLSpanElement,\n SwitchThumbSlotProps\n>(\"span\", \"thumb\");\n","import { useRef } from \"react\";\nimport { useToggleState } from \"react-stately\";\nimport { useFocusRing, useSwitch, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { VisuallyHidden } from \"@/components\";\nimport { extractStyleProps } from \"@/utils\";\nimport type { SwitchProps } from \"./switch.types\";\nimport {\n SwitchRootSlot,\n SwitchTrackSlot,\n SwitchThumbSlot,\n SwitchLabelSlot,\n} from \"./switch.slots\";\nimport { switchSlotRecipe } from \"./switch.recipe\";\n\n/**\n * # Switch\n *\n * A clear, visual toggle, allowing users to activate or deactivate a setting quickly.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/switch}\n */\nexport const Switch = ({ ref: externalRef, ...props }: SwitchProps) => {\n const localRef = useRef<HTMLInputElement>(null);\n const ref = useObjectRef(\n externalRef ? mergeRefs(localRef, externalRef) : localRef\n );\n\n const recipe = useSlotRecipe({ recipe: switchSlotRecipe });\n\n const [recipeProps, recipeLessProps] = recipe.splitVariantProps(props);\n const [styleProps, functionalProps] = extractStyleProps(recipeLessProps);\n\n const state = useToggleState(props);\n const { inputProps } = useSwitch(functionalProps, state, ref);\n\n const { isFocused, focusProps } = useFocusRing();\n\n const stateProps = {\n \"data-selected\": state.isSelected,\n \"data-invalid\": props.isInvalid,\n \"data-disabled\": props.isDisabled,\n \"data-focus\": isFocused || undefined,\n };\n return (\n <SwitchRootSlot\n data-slot=\"root\"\n {...recipeProps}\n {...stateProps}\n {...styleProps}\n >\n <SwitchTrackSlot data-slot=\"track\" {...stateProps}>\n <SwitchThumbSlot data-slot=\"thumb\" {...stateProps} />\n <VisuallyHidden as=\"span\">\n <input\n data-slot=\"input\"\n {...mergeProps(inputProps, focusProps)}\n ref={ref}\n />\n </VisuallyHidden>\n </SwitchTrackSlot>\n\n {props.children && (\n <SwitchLabelSlot data-slot=\"label\" {...stateProps}>\n {props.children}\n </SwitchLabelSlot>\n )}\n </SwitchRootSlot>\n );\n};\nSwitch.displayName = \"Switch\";\n"],"names":["$b418ec0c85c52f27$export$d853f7095ae95f88","props","state","ref","labelProps","inputProps","isSelected","isPressed","isDisabled","isReadOnly","$ifSyJ$useToggle","withProvider","withContext","createSlotRecipeContext","SwitchRootSlot","SwitchLabelSlot","SwitchTrackSlot","SwitchThumbSlot","Switch","externalRef","localRef","useRef","useObjectRef","mergeRefs","recipe","useSlotRecipe","switchSlotRecipe","recipeProps","recipeLessProps","styleProps","functionalProps","extractStyleProps","useToggleState","useSwitch","isFocused","focusProps","useFocusRing","stateProps","jsxs","jsx","VisuallyHidden","mergeProps"],"mappings":";;;;;;;;;;;;AAaA,SAASA,EAA0CC,GAAOC,GAAOC,GAAK;AAClE,MAAI,EAAE,YAAYC,GAAY,YAAYC,GAAY,YAAYC,GAAY,WAAWC,GAAW,YAAYC,GAAY,YAAYC,EAAU,IAASC,EAAkBT,GAAOC,GAAOC,CAAG;AAC9L,SAAO;AAAA,IACH,YAAYC;AAAA,IACZ,YAAY;AAAA,MACR,GAAGC;AAAA,MACH,MAAM;AAAA,MACN,SAASC;AAAA,IACrB;AAAA,IACQ,YAAYA;AAAA,IACZ,WAAWC;AAAA,IACX,YAAYC;AAAA,IACZ,YAAYC;AAAA,EACpB;AACA;AClBA,MAAM,EAAE,cAAAE,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,KAAK;AACP,CAAC,GAEYC,IAGT,gBAAAH,EAAoD,SAAS,MAAM,GAE1DI,IAAkB,gBAAAH,EAG7B,QAAQ,OAAO,GAEJI,IAAkB,gBAAAJ,EAG7B,QAAQ,OAAO,GAEJK,IAAkB,gBAAAL,EAG7B,QAAQ,OAAO,GCRJM,IAAS,CAAC,EAAE,KAAKC,GAAa,GAAGlB,QAAyB;AACrE,QAAMmB,IAAWC,EAAyB,IAAI,GACxClB,IAAMmB;AAAAA,IACVH,IAAcI,EAAUH,GAAUD,CAAW,IAAIC;AAAA,EAAA,GAG7CI,IAASC,EAAc,EAAE,QAAQC,GAAkB,GAEnD,CAACC,GAAaC,CAAe,IAAIJ,EAAO,kBAAkBvB,CAAK,GAC/D,CAAC4B,GAAYC,CAAe,IAAIC,EAAkBH,CAAe,GAEjE1B,IAAQ8B,EAAe/B,CAAK,GAC5B,EAAE,YAAAI,EAAA,IAAe4B,EAAUH,GAAiB5B,GAAOC,CAAG,GAEtD,EAAE,WAAA+B,GAAW,YAAAC,EAAA,IAAeC,EAAA,GAE5BC,IAAa;AAAA,IACjB,iBAAiBnC,EAAM;AAAA,IACvB,gBAAgBD,EAAM;AAAA,IACtB,iBAAiBA,EAAM;AAAA,IACvB,cAAciC,KAAa;AAAA,EAAA;AAE7B,SACE,gBAAAI;AAAA,IAACxB;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACT,GAAGa;AAAA,MACH,GAAGU;AAAA,MACH,GAAGR;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAS,EAACtB,GAAA,EAAgB,aAAU,SAAS,GAAGqB,GACrC,UAAA;AAAA,UAAA,gBAAAE,EAACtB,GAAA,EAAgB,aAAU,SAAS,GAAGoB,EAAA,CAAY;AAAA,UACnD,gBAAAE,EAACC,GAAA,EAAe,IAAG,QACjB,UAAA,gBAAAD;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,aAAU;AAAA,cACT,GAAGE,EAAWpC,GAAY8B,CAAU;AAAA,cACrC,KAAAhC;AAAA,YAAA;AAAA,UAAA,EACF,CACF;AAAA,QAAA,GACF;AAAA,QAECF,EAAM,YACL,gBAAAsC,EAACxB,GAAA,EAAgB,aAAU,SAAS,GAAGsB,GACpC,UAAApC,EAAM,SAAA,CACT;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR;AACAiB,EAAO,cAAc;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const f=require("react/jsx-runtime"),g=require("./SelectionManager-CCETIs4l.cjs.js"),x=require("./utils-DVb3jcp5.cjs.js"),k=require("./SelectionIndicator-Du7-bvy3.cjs.js"),m=require("./CollectionBuilder-BipvtvSl.cjs.js"),z=require("./Hidden-CNJIJ63M.cjs.js"),h=require("./mergeProps-CxnHrnow.cjs.js"),S=require("./filterDOMProps-WUskt27c.cjs.js"),R=require("./useObjectRef-4v2MxSjQ.cjs.js"),j=require("./useListState-QQtJHpsQ.cjs.js"),s=require("react"),I=require("./useLabels-C_UIaxmz.cjs.js"),B=require("./useHasTabbableChild-ytnnMmC_.cjs.js"),U=require("./openLink-DkCJYbzq.cjs.js"),W=require("./useFocusable-C7VjcJHL.cjs.js"),G=require("./context-CyT9C4U4.cjs.js"),q=require("./useFocusRing-B7_ogYbr.cjs.js"),J=require("./useHover-xrdh1GG9.cjs.js"),Q=require("./useSingleSelectListState-CsD7W9nK.cjs.js"),X=require("@chakra-ui/react"),Y=require("./extract-style-props-B6-o20G1.cjs.js"),O=new WeakMap;function T(i,e,t){if(!i)return"";typeof e=="string"&&(e=e.replace(/\s+/g,""));let a=O.get(i);return process.env.NODE_ENV!=="production"&&!a&&console.error("There is no tab id, please check if you have rendered the tab panel before the tab list."),`${a}-${t}-${e}`}function Z(i,e,t){let{key:a,isDisabled:d,shouldSelectOnPressUp:r}=i,{selectionManager:l,selectedKey:c}=e,o=a===c,n=d||e.isDisabled||e.selectionManager.isDisabled(a),{itemProps:u,isPressed:b}=g.$880e95eb8b93ba9a$export$ecf600387e221c37({selectionManager:l,key:a,ref:t,isDisabled:n,shouldSelectOnPressUp:r,linkBehavior:"selection"}),$=T(e,a,"tab"),v=T(e,a,"tabpanel"),{tabIndex:y}=u,p=e.collection.getItem(a),P=S.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(p?.props,{labelable:!0});delete P.id;let V=U.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(p?.props),{focusableProps:A}=W.$f645667febf57a63$export$4c014de7c8940b4c({isDisabled:n},t);return{tabProps:h.$3ef42575df84b30b$export$9d1611c77c2fe928(P,A,V,u,{id:$,"aria-selected":o,"aria-disabled":n||void 0,"aria-controls":o?v:void 0,tabIndex:n?void 0:y,role:"tab"}),isSelected:o,isDisabled:n,isPressed:b}}function _(i,e,t){let a=B.$83013635b024ae3d$export$eac1895992b9f3d6(t)?void 0:0;var d;const r=T(e,(d=i.id)!==null&&d!==void 0?d:e?.selectedKey,"tabpanel"),l=I.$313b98861ee5dd6c$export$d6875122194c7b44({...i,id:r,"aria-labelledby":T(e,e?.selectedKey,"tab")});return{tabPanelProps:h.$3ef42575df84b30b$export$9d1611c77c2fe928(l,{tabIndex:a,role:"tabpanel","aria-describedby":i["aria-describedby"],"aria-details":i["aria-details"]})}}class ee{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var t,a;return this.disabledKeys.has(e)||!!(!((a=this.collection.getItem(e))===null||a===void 0||(t=a.props)===null||t===void 0)&&t.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(t!=null&&this.isDisabled(t));return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(t!=null&&this.isDisabled(t));return t}constructor(e,t,a,d=new Set){this.collection=e,this.flipDirection=t==="rtl"&&a==="horizontal",this.disabledKeys=d,this.tabDirection=a==="horizontal"}}function te(i,e,t){let{orientation:a="horizontal",keyboardActivation:d="automatic"}=i,{collection:r,selectionManager:l,disabledKeys:c}=e,{direction:o}=G.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),n=s.useMemo(()=>new ee(r,o,a,c),[r,c,a,o]),{collectionProps:u}=g.$ae20dd8cbca75726$export$d6daf82dcd84e87c({ref:t,selectionManager:l,keyboardDelegate:n,selectOnFocus:d==="automatic",disallowEmptySelection:!0,scrollRef:t,linkBehavior:"selection"}),b=h.$bdb11010cef70236$export$f680877a34711e37();O.set(e,b);let $=I.$313b98861ee5dd6c$export$d6875122194c7b44({...i,id:b});return{tabListProps:{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(u,$),role:"tablist","aria-orientation":a,tabIndex:void 0}}}function ie(i){var e,t;let a=Q.$a0d645289fe9b86b$export$e7f05e985daf4b5f({...i,onSelectionChange:i.onSelectionChange?o=>{var n;o!=null&&((n=i.onSelectionChange)===null||n===void 0||n.call(i,o))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:(t=(e=i.defaultSelectedKey)!==null&&e!==void 0?e:N(i.collection,i.disabledKeys?new Set(i.disabledKeys):new Set))!==null&&t!==void 0?t:void 0}),{selectionManager:d,collection:r,selectedKey:l}=a,c=s.useRef(l);return s.useEffect(()=>{let o=l;i.selectedKey==null&&(d.isEmpty||o==null||!r.getItem(o))&&(o=N(r,a.disabledKeys),o!=null&&d.setSelectedKeys([o])),(o!=null&&d.focusedKey==null||!d.isFocused&&o!==c.current)&&d.setFocusedKey(o),c.current=o}),{...a,isDisabled:i.isDisabled||!1}}function N(i,e){let t=null;if(i){var a,d,r,l;for(t=i.getFirstKey();t!=null&&(e.has(t)||!((d=i.getItem(t))===null||d===void 0||(a=d.props)===null||a===void 0)&&a.isDisabled)&&t!==i.getLastKey();)t=i.getKeyAfter(t);t!=null&&(e.has(t)||!((l=i.getItem(t))===null||l===void 0||(r=l.props)===null||r===void 0)&&r.isDisabled)&&t===i.getLastKey()&&(t=i.getFirstKey())}return t}const D=s.createContext(null),K=s.createContext(null),ae=s.forwardRef(function(e,t){[e,t]=x.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,D);let{children:a,orientation:d="horizontal"}=e;return a=s.useMemo(()=>typeof a=="function"?a({orientation:d,defaultChildren:null}):a,[a,d]),s.createElement(m.$e1995378a142960e$export$bf788dd355e3a401,{content:a},r=>s.createElement(de,{props:e,collection:r,tabsRef:t}))});function de({props:i,tabsRef:e,collection:t}){let{orientation:a="horizontal"}=i,d=ie({...i,collection:t,children:void 0}),{focusProps:r,isFocused:l,isFocusVisible:c}=q.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),o=s.useMemo(()=>({orientation:a,isFocusWithin:l,isFocusVisible:c}),[a,l,c]),n=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...i,defaultClassName:"react-aria-Tabs",values:o}),u=S.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(i,{global:!0});return s.createElement("div",{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(u,n,r),ref:e,slot:i.slot||void 0,"data-focused":l||void 0,"data-orientation":a,"data-focus-visible":c||void 0,"data-disabled":d.isDisabled||void 0},s.createElement(x.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[D,i],[K,d]]},n.children))}const re=s.forwardRef(function(e,t){return s.useContext(K)?s.createElement(se,{props:e,forwardedRef:t}):s.createElement(m.$e1995378a142960e$export$fb8073518f34e6ec,e)});function se({props:i,forwardedRef:e}){let t=s.useContext(K),{CollectionRoot:a}=s.useContext(g.$7135fc7d473fd974$export$4feb769f8ddf26c5),{orientation:d="horizontal",keyboardActivation:r="automatic"}=x.$64fa3d84918910a7$export$fabf2dc03a41866e(D),l=R.$df56164dff5785e2$export$4338b53315abf666(e),{tabListProps:c}=te({...i,orientation:d,keyboardActivation:r},t,l),o=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...i,children:null,defaultClassName:"react-aria-TabList",values:{orientation:d,state:t}}),n=S.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(i,{global:!0});return delete n.id,s.createElement("div",{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(n,o,c),ref:l,"data-orientation":d||void 0},s.createElement(k.$c8a5a149f625efcf$export$758399f318e6385a,null,s.createElement(a,{collection:t.collection,persistedKeys:g.$7135fc7d473fd974$export$90e00781bc59d8f9(t.selectionManager.focusedKey)})))}class H extends m.$23b9f4fcf0fe224b$export$d68d59712b04d9d1{}H.type="item";const oe=m.$e1995378a142960e$export$18af5c7a9e9b3664(H,(i,e,t)=>{let a=s.useContext(K),d=R.$df56164dff5785e2$export$4338b53315abf666(e),{tabProps:r,isSelected:l,isDisabled:c,isPressed:o}=Z({key:t.key,...i},a,d),{focusProps:n,isFocused:u,isFocusVisible:b}=q.$f7dceffc5ad7768b$export$4e328f61c538687f(),{hoverProps:$,isHovered:v}=J.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:c,onHoverStart:i.onHoverStart,onHoverEnd:i.onHoverEnd,onHoverChange:i.onHoverChange}),y=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...i,id:void 0,children:t.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:l,isDisabled:c,isFocused:u,isFocusVisible:b,isPressed:o,isHovered:v}}),p=t.props.href?"a":"div",P=S.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(i,{global:!0});return delete P.id,delete P.onClick,s.createElement(p,{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(P,y,r,n,$),ref:d,"data-selected":l||void 0,"data-disabled":c||void 0,"data-focused":u||void 0,"data-focus-visible":b||void 0,"data-pressed":o||void 0,"data-hovered":v||void 0},s.createElement(k.$1d5b8b8664671ef2$export$c9549807523555e0.Provider,{value:{isSelected:l}},y.children))}),le=z.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,t){const a=s.useContext(K);let d=R.$df56164dff5785e2$export$4338b53315abf666(t),{id:r,...l}=e,{tabPanelProps:c}=_(e,a,d),{focusProps:o,isFocused:n,isFocusVisible:u}=q.$f7dceffc5ad7768b$export$4e328f61c538687f(),b=a.selectedKey===e.id,$=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:n,isFocusVisible:u,isInert:j.$cdc5a6778b766db2$export$a9d04c5684123369(!b),state:a}});if(!b&&!e.shouldForceMount)return null;let v=S.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(l,{global:!0});delete v.id;let y=b?h.$3ef42575df84b30b$export$9d1611c77c2fe928(v,c,o,$):$;return s.createElement("div",{...y,ref:d,"data-focused":n||void 0,"data-focus-visible":u||void 0,inert:j.$cdc5a6778b766db2$export$a9d04c5684123369(!b||e.inert),"data-inert":b?void 0:"true"},s.createElement(x.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[D,null],[K,null]]},s.createElement(g.$7135fc7d473fd974$export$4feb769f8ddf26c5.Provider,{value:g.$7135fc7d473fd974$export$a164736487e3f0ae},$.children)))}),{withProvider:ne,withContext:C}=X.createSlotRecipeContext({key:"tabs"}),ce=ne("div","root"),fe=C("div","list"),be=C("button","tab"),ue=C("div","panels"),$e=C("div","panel"),F=({children:i,isDisabled:e,...t})=>f.jsx(be,{asChild:!0,...t,children:f.jsx(oe,{isDisabled:e,children:i})});F.displayName="Tabs.Tab";const E=({tabs:i,children:e,...t})=>{const[a,d]=Y.extractStyleProps(t);if(!i&&!e)throw new Error('Tabs.List: Either provide "tabs" prop or "children" must be provided');return f.jsx(fe,{...a,asChild:!0,children:f.jsx(re,{items:i,...d,children:i?r=>f.jsx(F,{id:r.id,isDisabled:r.isDisabled,children:r.tabLabel},r.id):e})})};E.displayName="Tabs.List";const L=s.forwardRef(({children:i,...e},t)=>{if(!i)throw new Error("Tabs.Panel: children prop is required");return f.jsx($e,{asChild:!0,ref:t,...e,children:f.jsx(le,{children:i})})});L.displayName="Tabs.Panel";const w=({tabs:i,children:e,...t})=>{if(!i&&!e)throw new Error('Tabs.Panels: Either provide "items" prop or "children" must be provided');return f.jsx(ue,{...t,children:i?f.jsx(m.$e1995378a142960e$export$fb8073518f34e6ec,{items:i,children:a=>f.jsx(L,{id:a.id,children:a.panelContent},a.id)}):e})};w.displayName="Tabs.Panels";const M=({children:i,orientation:e="horizontal",disabledKeys:t,placement:a="start",size:d="md",tabs:r,...l})=>f.jsx(ce,{asChild:!0,orientation:e,placement:a,size:d,...l,children:f.jsx(ae,{disabledKeys:t,...r,children:i||f.jsxs(f.Fragment,{children:[f.jsx(E,{tabs:r}),f.jsx(w,{tabs:r})]})})});M.displayName="Tabs.Root";const pe={Root:M,List:E,Tab:F,Panels:w,Panel:L};exports.Tab=F;exports.TabList=E;exports.TabPanel=L;exports.TabPanels=w;exports.Tabs=pe;exports.TabsRoot=M;
|
|
2
|
+
//# sourceMappingURL=tabs-Bj24YiXX.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-BlcjUZnC.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tabs/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tabs/dist/useTab.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tabs/dist/useTabPanel.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tabs/dist/TabsKeyboardDelegate.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tabs/dist/useTabList.mjs","../../../../node_modules/.pnpm/@react-stately+tabs@3.8.6_react@19.2.0/node_modules/@react-stately/tabs/dist/useTabListState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/Tabs.mjs","../../src/components/tabs/tabs.slots.tsx","../../src/components/tabs/components/tabs.tab.tsx","../../src/components/tabs/components/tabs.list.tsx","../../src/components/tabs/components/tabs.panel.tsx","../../src/components/tabs/components/tabs.panels.tsx","../../src/components/tabs/components/tabs.root.tsx","../../src/components/tabs/tabs.tsx"],"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 $99b62ae3ff97ec45$export$c5f62239608282b6 = new WeakMap();\nfunction $99b62ae3ff97ec45$export$567fc7097e064344(state, key, role) {\n if (!state) // this case should only happen in the first render before the tabs are registered\n return '';\n if (typeof key === 'string') key = key.replace(/\\s+/g, '');\n let baseId = $99b62ae3ff97ec45$export$c5f62239608282b6.get(state);\n if (process.env.NODE_ENV !== 'production' && !baseId) console.error('There is no tab id, please check if you have rendered the tab panel before the tab list.');\n return `${baseId}-${role}-${key}`;\n}\n\n\nexport {$99b62ae3ff97ec45$export$c5f62239608282b6 as tabsIds, $99b62ae3ff97ec45$export$567fc7097e064344 as generateId};\n//# sourceMappingURL=utils.module.js.map\n","import {generateId as $99b62ae3ff97ec45$export$567fc7097e064344} from \"./utils.mjs\";\nimport {filterDOMProps as $dObGJ$filterDOMProps, useLinkProps as $dObGJ$useLinkProps, mergeProps as $dObGJ$mergeProps} from \"@react-aria/utils\";\nimport {useFocusable as $dObGJ$useFocusable} from \"@react-aria/focus\";\nimport {useSelectableItem as $dObGJ$useSelectableItem} from \"@react-aria/selection\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $0175d55c2a017ebc$export$fdf4756d5b8ef90a(props, state, ref) {\n let { key: key, isDisabled: propsDisabled, shouldSelectOnPressUp: shouldSelectOnPressUp } = props;\n let { selectionManager: manager, selectedKey: selectedKey } = state;\n let isSelected = key === selectedKey;\n let isDisabled = propsDisabled || state.isDisabled || state.selectionManager.isDisabled(key);\n let { itemProps: itemProps, isPressed: isPressed } = (0, $dObGJ$useSelectableItem)({\n selectionManager: manager,\n key: key,\n ref: ref,\n isDisabled: isDisabled,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n linkBehavior: 'selection'\n });\n let tabId = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, key, 'tab');\n let tabPanelId = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, key, 'tabpanel');\n let { tabIndex: tabIndex } = itemProps;\n let item = state.collection.getItem(key);\n let domProps = (0, $dObGJ$filterDOMProps)(item === null || item === void 0 ? void 0 : item.props, {\n labelable: true\n });\n delete domProps.id;\n let linkProps = (0, $dObGJ$useLinkProps)(item === null || item === void 0 ? void 0 : item.props);\n let { focusableProps: focusableProps } = (0, $dObGJ$useFocusable)({\n isDisabled: isDisabled\n }, ref);\n return {\n tabProps: (0, $dObGJ$mergeProps)(domProps, focusableProps, linkProps, itemProps, {\n id: tabId,\n 'aria-selected': isSelected,\n 'aria-disabled': isDisabled || undefined,\n 'aria-controls': isSelected ? tabPanelId : undefined,\n tabIndex: isDisabled ? undefined : tabIndex,\n role: 'tab'\n }),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed\n };\n}\n\n\nexport {$0175d55c2a017ebc$export$fdf4756d5b8ef90a as useTab};\n//# sourceMappingURL=useTab.module.js.map\n","import {generateId as $99b62ae3ff97ec45$export$567fc7097e064344} from \"./utils.mjs\";\nimport {useLabels as $jik2T$useLabels, mergeProps as $jik2T$mergeProps} from \"@react-aria/utils\";\nimport {useHasTabbableChild as $jik2T$useHasTabbableChild} from \"@react-aria/focus\";\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 $34bce698202e07cb$export$fae0121b5afe572d(props, state, ref) {\n // The tabpanel should have tabIndex=0 when there are no tabbable elements within it.\n // Otherwise, tabbing from the focused tab should go directly to the first tabbable element\n // within the tabpanel.\n let tabIndex = (0, $jik2T$useHasTabbableChild)(ref) ? undefined : 0;\n var _props_id;\n const id = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : state === null || state === void 0 ? void 0 : state.selectedKey, 'tabpanel');\n const tabPanelProps = (0, $jik2T$useLabels)({\n ...props,\n id: id,\n 'aria-labelledby': (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, state === null || state === void 0 ? void 0 : state.selectedKey, 'tab')\n });\n return {\n tabPanelProps: (0, $jik2T$mergeProps)(tabPanelProps, {\n tabIndex: tabIndex,\n role: 'tabpanel',\n 'aria-describedby': props['aria-describedby'],\n 'aria-details': props['aria-details']\n })\n };\n}\n\n\nexport {$34bce698202e07cb$export$fae0121b5afe572d as useTabPanel};\n//# sourceMappingURL=useTabPanel.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 */ class $bfc6f2d60b8a4c40$export$15010ca3c1abe90b {\n getKeyLeftOf(key) {\n if (this.flipDirection) return this.getNextKey(key);\n return this.getPreviousKey(key);\n }\n getKeyRightOf(key) {\n if (this.flipDirection) return this.getPreviousKey(key);\n return this.getNextKey(key);\n }\n isDisabled(key) {\n var _this_collection_getItem_props, _this_collection_getItem;\n return this.disabledKeys.has(key) || !!((_this_collection_getItem = this.collection.getItem(key)) === null || _this_collection_getItem === void 0 ? void 0 : (_this_collection_getItem_props = _this_collection_getItem.props) === null || _this_collection_getItem_props === void 0 ? void 0 : _this_collection_getItem_props.isDisabled);\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n if (key != null && this.isDisabled(key)) key = this.getNextKey(key);\n return key;\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n if (key != null && this.isDisabled(key)) key = this.getPreviousKey(key);\n return key;\n }\n getKeyAbove(key) {\n if (this.tabDirection) return null;\n return this.getPreviousKey(key);\n }\n getKeyBelow(key) {\n if (this.tabDirection) return null;\n return this.getNextKey(key);\n }\n getNextKey(startKey) {\n let key = startKey;\n do {\n key = this.collection.getKeyAfter(key);\n if (key == null) key = this.collection.getFirstKey();\n }while (key != null && this.isDisabled(key));\n return key;\n }\n getPreviousKey(startKey) {\n let key = startKey;\n do {\n key = this.collection.getKeyBefore(key);\n if (key == null) key = this.collection.getLastKey();\n }while (key != null && this.isDisabled(key));\n return key;\n }\n constructor(collection, direction, orientation, disabledKeys = new Set()){\n this.collection = collection;\n this.flipDirection = direction === 'rtl' && orientation === 'horizontal';\n this.disabledKeys = disabledKeys;\n this.tabDirection = orientation === 'horizontal';\n }\n}\n\n\nexport {$bfc6f2d60b8a4c40$export$15010ca3c1abe90b as TabsKeyboardDelegate};\n//# sourceMappingURL=TabsKeyboardDelegate.module.js.map\n","import {tabsIds as $99b62ae3ff97ec45$export$c5f62239608282b6} from \"./utils.mjs\";\nimport {TabsKeyboardDelegate as $bfc6f2d60b8a4c40$export$15010ca3c1abe90b} from \"./TabsKeyboardDelegate.mjs\";\nimport {useId as $bQNZs$useId, useLabels as $bQNZs$useLabels, mergeProps as $bQNZs$mergeProps} from \"@react-aria/utils\";\nimport {useLocale as $bQNZs$useLocale} from \"@react-aria/i18n\";\nimport {useMemo as $bQNZs$useMemo} from \"react\";\nimport {useSelectableCollection as $bQNZs$useSelectableCollection} from \"@react-aria/selection\";\n\n/*\n* Copyright 2020 Adobe. All rights reserved.\n* This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License. You may obtain a copy\n* of the License at http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software distributed under\n* the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n* OF ANY KIND, either express or implied. See the License for the specific language\n* governing permissions and limitations under the License.\n*/ \n\n\n\n\n\nfunction $58d314389b21fa3f$export$773e389e644c5874(props, state, ref) {\n let { orientation: orientation = 'horizontal', keyboardActivation: keyboardActivation = 'automatic' } = props;\n let { collection: collection, selectionManager: manager, disabledKeys: disabledKeys } = state;\n let { direction: direction } = (0, $bQNZs$useLocale)();\n let delegate = (0, $bQNZs$useMemo)(()=>new (0, $bfc6f2d60b8a4c40$export$15010ca3c1abe90b)(collection, direction, orientation, disabledKeys), [\n collection,\n disabledKeys,\n orientation,\n direction\n ]);\n let { collectionProps: collectionProps } = (0, $bQNZs$useSelectableCollection)({\n ref: ref,\n selectionManager: manager,\n keyboardDelegate: delegate,\n selectOnFocus: keyboardActivation === 'automatic',\n disallowEmptySelection: true,\n scrollRef: ref,\n linkBehavior: 'selection'\n });\n // Compute base id for all tabs\n let tabsId = (0, $bQNZs$useId)();\n (0, $99b62ae3ff97ec45$export$c5f62239608282b6).set(state, tabsId);\n let tabListLabelProps = (0, $bQNZs$useLabels)({\n ...props,\n id: tabsId\n });\n return {\n tabListProps: {\n ...(0, $bQNZs$mergeProps)(collectionProps, tabListLabelProps),\n role: 'tablist',\n 'aria-orientation': orientation,\n tabIndex: undefined\n }\n };\n}\n\n\nexport {$58d314389b21fa3f$export$773e389e644c5874 as useTabList};\n//# sourceMappingURL=useTabList.module.js.map\n","import {useSingleSelectListState as $fgY1A$useSingleSelectListState} from \"@react-stately/list\";\nimport {useRef as $fgY1A$useRef, useEffect as $fgY1A$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $76f919a04c5a7d14$export$4ba071daf4e486(props) {\n var _props_defaultSelectedKey, _ref;\n let state = (0, $fgY1A$useSingleSelectListState)({\n ...props,\n onSelectionChange: props.onSelectionChange ? (key)=>{\n var _props_onSelectionChange;\n if (key != null) (_props_onSelectionChange = props.onSelectionChange) === null || _props_onSelectionChange === void 0 ? void 0 : _props_onSelectionChange.call(props, key);\n } : undefined,\n suppressTextValueWarning: true,\n defaultSelectedKey: (_ref = (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : $76f919a04c5a7d14$var$findDefaultSelectedKey(props.collection, props.disabledKeys ? new Set(props.disabledKeys) : new Set())) !== null && _ref !== void 0 ? _ref : undefined\n });\n let { selectionManager: selectionManager, collection: collection, selectedKey: currentSelectedKey } = state;\n let lastSelectedKey = (0, $fgY1A$useRef)(currentSelectedKey);\n (0, $fgY1A$useEffect)(()=>{\n // Ensure a tab is always selected (in case no selected key was specified or if selected item was deleted from collection)\n let selectedKey = currentSelectedKey;\n if (props.selectedKey == null && (selectionManager.isEmpty || selectedKey == null || !collection.getItem(selectedKey))) {\n selectedKey = $76f919a04c5a7d14$var$findDefaultSelectedKey(collection, state.disabledKeys);\n if (selectedKey != null) // directly set selection because replace/toggle selection won't consider disabled keys\n selectionManager.setSelectedKeys([\n selectedKey\n ]);\n }\n // If the tablist doesn't have focus and the selected key changes or if there isn't a focused key yet, change focused key to the selected key if it exists.\n if (selectedKey != null && selectionManager.focusedKey == null || !selectionManager.isFocused && selectedKey !== lastSelectedKey.current) selectionManager.setFocusedKey(selectedKey);\n lastSelectedKey.current = selectedKey;\n });\n return {\n ...state,\n isDisabled: props.isDisabled || false\n };\n}\nfunction $76f919a04c5a7d14$var$findDefaultSelectedKey(collection, disabledKeys) {\n let selectedKey = null;\n if (collection) {\n var _collection_getItem_props, _collection_getItem, _collection_getItem_props1, _collection_getItem1;\n selectedKey = collection.getFirstKey();\n // loop over tabs until we find one that isn't disabled and select that\n while(selectedKey != null && (disabledKeys.has(selectedKey) || ((_collection_getItem = collection.getItem(selectedKey)) === null || _collection_getItem === void 0 ? void 0 : (_collection_getItem_props = _collection_getItem.props) === null || _collection_getItem_props === void 0 ? void 0 : _collection_getItem_props.isDisabled)) && selectedKey !== collection.getLastKey())selectedKey = collection.getKeyAfter(selectedKey);\n // if this check is true, then every item is disabled, it makes more sense to default to the first key than the last\n if (selectedKey != null && (disabledKeys.has(selectedKey) || ((_collection_getItem1 = collection.getItem(selectedKey)) === null || _collection_getItem1 === void 0 ? void 0 : (_collection_getItem_props1 = _collection_getItem1.props) === null || _collection_getItem_props1 === void 0 ? void 0 : _collection_getItem_props1.isDisabled)) && selectedKey === collection.getLastKey()) selectedKey = collection.getFirstKey();\n }\n return selectedKey;\n}\n\n\nexport {$76f919a04c5a7d14$export$4ba071daf4e486 as useTabListState};\n//# sourceMappingURL=useTabListState.module.js.map\n","import {CollectionRendererContext as $7135fc7d473fd974$export$4feb769f8ddf26c5, DefaultCollectionRenderer as $7135fc7d473fd974$export$a164736487e3f0ae, usePersistedKeys as $7135fc7d473fd974$export$90e00781bc59d8f9} from \"./Collection.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {SelectionIndicatorContext as $1d5b8b8664671ef2$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SharedElementTransition as $c8a5a149f625efcf$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {useFocusRing as $7aSLZ$useFocusRing, mergeProps as $7aSLZ$mergeProps, useTabList as $7aSLZ$useTabList, useTab as $7aSLZ$useTab, useHover as $7aSLZ$useHover, useTabPanel as $7aSLZ$useTabPanel} from \"react-aria\";\nimport {CollectionBuilder as $7aSLZ$CollectionBuilder, Collection as $7aSLZ$Collection, CollectionNode as $7aSLZ$CollectionNode, createLeafComponent as $7aSLZ$createLeafComponent, createHideableComponent as $7aSLZ$createHideableComponent} from \"@react-aria/collections\";\nimport {filterDOMProps as $7aSLZ$filterDOMProps, useObjectRef as $7aSLZ$useObjectRef, inertValue as $7aSLZ$inertValue} from \"@react-aria/utils\";\nimport {useTabListState as $7aSLZ$useTabListState} from \"react-stately\";\nimport $7aSLZ$react, {createContext as $7aSLZ$createContext, forwardRef as $7aSLZ$forwardRef, useMemo as $7aSLZ$useMemo, useContext as $7aSLZ$useContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\nconst $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f = /*#__PURE__*/ (0, $7aSLZ$createContext)(null);\nconst $5e8ad37a45e1c704$export$364712098d2aa57c = /*#__PURE__*/ (0, $7aSLZ$createContext)(null);\nconst $5e8ad37a45e1c704$export$b2539bed5023c21c = /*#__PURE__*/ (0, $7aSLZ$forwardRef)(function Tabs(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f);\n let { children: children, orientation: orientation = 'horizontal' } = props;\n children = (0, $7aSLZ$useMemo)(()=>typeof children === 'function' ? children({\n orientation: orientation,\n defaultChildren: null\n }) : children, [\n children,\n orientation\n ]);\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7aSLZ$CollectionBuilder), {\n content: children\n }, (collection)=>/*#__PURE__*/ (0, $7aSLZ$react).createElement($5e8ad37a45e1c704$var$TabsInner, {\n props: props,\n collection: collection,\n tabsRef: ref\n }));\n});\nfunction $5e8ad37a45e1c704$var$TabsInner({ props: props, tabsRef: ref, collection: collection }) {\n let { orientation: orientation = 'horizontal' } = props;\n let state = (0, $7aSLZ$useTabListState)({\n ...props,\n collection: collection,\n children: undefined\n });\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)({\n within: true\n });\n let values = (0, $7aSLZ$useMemo)(()=>({\n orientation: orientation,\n isFocusWithin: isFocused,\n isFocusVisible: isFocusVisible\n }), [\n orientation,\n isFocused,\n isFocusVisible\n ]);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tabs',\n values: values\n });\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, focusProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-orientation\": orientation,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": state.isDisabled || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f,\n props\n ],\n [\n $5e8ad37a45e1c704$export$364712098d2aa57c,\n state\n ]\n ]\n }, renderProps.children));\n}\nconst $5e8ad37a45e1c704$export$e51a686c67fdaa2d = /*#__PURE__*/ (0, $7aSLZ$forwardRef)(function TabList(props, ref) {\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n return state ? /*#__PURE__*/ (0, $7aSLZ$react).createElement($5e8ad37a45e1c704$var$TabListInner, {\n props: props,\n forwardedRef: ref\n }) : /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7aSLZ$Collection), props);\n});\nfunction $5e8ad37a45e1c704$var$TabListInner({ props: props, forwardedRef: ref }) {\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let { CollectionRoot: CollectionRoot } = (0, $7aSLZ$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let { orientation: orientation = 'horizontal', keyboardActivation: keyboardActivation = 'automatic' } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)($5e8ad37a45e1c704$export$cfa7aa87c26e7d1f);\n let objectRef = (0, $7aSLZ$useObjectRef)(ref);\n let { tabListProps: tabListProps } = (0, $7aSLZ$useTabList)({\n ...props,\n orientation: orientation,\n keyboardActivation: keyboardActivation\n }, state, objectRef);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n children: null,\n defaultClassName: 'react-aria-TabList',\n values: {\n orientation: orientation,\n state: state\n }\n });\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, tabListProps),\n ref: objectRef,\n \"data-orientation\": orientation || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $c8a5a149f625efcf$export$758399f318e6385a), null, /*#__PURE__*/ (0, $7aSLZ$react).createElement(CollectionRoot, {\n collection: state.collection,\n persistedKeys: (0, $7135fc7d473fd974$export$90e00781bc59d8f9)(state.selectionManager.focusedKey)\n })));\n}\nclass $5e8ad37a45e1c704$var$TabItemNode extends (0, $7aSLZ$CollectionNode) {\n}\n$5e8ad37a45e1c704$var$TabItemNode.type = 'item';\nconst $5e8ad37a45e1c704$export$3e41faf802a29e71 = /*#__PURE__*/ (0, $7aSLZ$createLeafComponent)($5e8ad37a45e1c704$var$TabItemNode, (props, forwardedRef, item)=>{\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let ref = (0, $7aSLZ$useObjectRef)(forwardedRef);\n let { tabProps: tabProps, isSelected: isSelected, isDisabled: isDisabled, isPressed: isPressed } = (0, $7aSLZ$useTab)({\n key: item.key,\n ...props\n }, state, ref);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $7aSLZ$useHover)({\n isDisabled: isDisabled,\n onHoverStart: props.onHoverStart,\n onHoverEnd: props.onHoverEnd,\n onHoverChange: props.onHoverChange\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-Tab',\n values: {\n isSelected: isSelected,\n isDisabled: isDisabled,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isPressed: isPressed,\n isHovered: isHovered\n }\n });\n let ElementType = item.props.href ? 'a' : 'div';\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(ElementType, {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, tabProps, focusProps, hoverProps),\n ref: ref,\n \"data-selected\": isSelected || undefined,\n \"data-disabled\": isDisabled || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-hovered\": isHovered || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $1d5b8b8664671ef2$export$c9549807523555e0).Provider, {\n value: {\n isSelected: isSelected\n }\n }, renderProps.children));\n});\nconst $5e8ad37a45e1c704$export$3d96ec278d3efce4 = /*#__PURE__*/ (0, $7aSLZ$createHideableComponent)(function TabPanel(props, forwardedRef) {\n const state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let ref = (0, $7aSLZ$useObjectRef)(forwardedRef);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { id: id, ...otherProps } = props;\n let { tabPanelProps: tabPanelProps } = (0, $7aSLZ$useTabPanel)(props, state, ref);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)();\n let isSelected = state.selectedKey === props.id;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-TabPanel',\n values: {\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n // @ts-ignore - compatibility with React < 19\n isInert: (0, $7aSLZ$inertValue)(!isSelected),\n state: state\n }\n });\n if (!isSelected && !props.shouldForceMount) return null;\n let DOMProps = (0, $7aSLZ$filterDOMProps)(otherProps, {\n global: true\n });\n delete DOMProps.id;\n let domProps = isSelected ? (0, $7aSLZ$mergeProps)(DOMProps, tabPanelProps, focusProps, renderProps) : renderProps;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...domProps,\n ref: ref,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n // @ts-ignore\n inert: (0, $7aSLZ$inertValue)(!isSelected || props.inert),\n \"data-inert\": !isSelected ? 'true' : undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f,\n null\n ],\n [\n $5e8ad37a45e1c704$export$364712098d2aa57c,\n null\n ]\n ]\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7135fc7d473fd974$export$4feb769f8ddf26c5).Provider, {\n value: (0, $7135fc7d473fd974$export$a164736487e3f0ae)\n }, renderProps.children)));\n});\n\n\nexport {$5e8ad37a45e1c704$export$cfa7aa87c26e7d1f as TabsContext, $5e8ad37a45e1c704$export$364712098d2aa57c as TabListStateContext, $5e8ad37a45e1c704$export$b2539bed5023c21c as Tabs, $5e8ad37a45e1c704$export$e51a686c67fdaa2d as TabList, $5e8ad37a45e1c704$export$3e41faf802a29e71 as Tab, $5e8ad37a45e1c704$export$3d96ec278d3efce4 as TabPanel};\n//# sourceMappingURL=Tabs.module.js.map\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type {\n TabsRootSlotProps,\n TabsListSlotProps,\n TabsTabSlotProps,\n TabsPanelsSlotProps,\n TabsPanelSlotProps,\n} from \"./tabs.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"tabs\",\n});\n\n/**\n * Root component that provides the styling context for the Tabs component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TabsRootSlot = withProvider<HTMLDivElement, TabsRootSlotProps>(\n \"div\",\n \"root\"\n);\n\nexport const TabsListSlot = withContext<HTMLDivElement, TabsListSlotProps>(\n \"div\",\n \"list\"\n);\n\nexport const TabsTabSlot = withContext<HTMLButtonElement, TabsTabSlotProps>(\n \"button\",\n \"tab\"\n);\n\nexport const TabsPanelsSlot: SlotComponent<\n HTMLDivElement,\n TabsPanelsSlotProps\n> = withContext<HTMLDivElement, TabsPanelsSlotProps>(\"div\", \"panels\");\n\nexport const TabsPanelSlot: SlotComponent<HTMLDivElement, TabsPanelSlotProps> =\n withContext<HTMLDivElement, TabsPanelSlotProps>(\"div\", \"panel\");\n","import { Tab as RATab } from \"react-aria-components\";\nimport { TabsTabSlot } from \"../tabs.slots\";\nimport type { TabProps } from \"../tabs.types\";\n\n/**\n * # Tab\n *\n * An individual tab button that allows users to switch to a specific panel.\n */\nexport const Tab = ({ children, isDisabled, ...props }: TabProps) => {\n return (\n <TabsTabSlot asChild {...props}>\n <RATab isDisabled={isDisabled}>{children}</RATab>\n </TabsTabSlot>\n );\n};\n\nTab.displayName = \"Tabs.Tab\";\n","import { TabList as RATabList } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils\";\nimport { TabsListSlot } from \"../tabs.slots\";\nimport { Tab } from \"./tabs.tab\";\nimport type { TabListProps, TabItemProps } from \"../tabs.types\";\n\n/**\n * # TabList\n *\n * A container for the tab buttons that allows users to switch between different panels.\n */\nexport const TabList = ({ tabs, children, ...props }: TabListProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Ensure RATabList always has children - either from tabs or provided children\n if (!tabs && !children) {\n throw new Error(\n 'Tabs.List: Either provide \"tabs\" prop or \"children\" must be provided'\n );\n }\n\n return (\n <TabsListSlot {...styleProps} asChild>\n <RATabList items={tabs as TabItemProps[]} {...restProps}>\n {tabs\n ? (tab: TabItemProps) => (\n <Tab key={tab.id} id={tab.id} isDisabled={tab.isDisabled}>\n {tab.tabLabel}\n </Tab>\n )\n : children}\n </RATabList>\n </TabsListSlot>\n );\n};\n\nTabList.displayName = \"Tabs.List\";\n","import { forwardRef } from \"react\";\nimport { TabPanel as RATabPanel } from \"react-aria-components\";\nimport { TabsPanelSlot } from \"../tabs.slots\";\nimport type { TabPanelProps } from \"../tabs.types\";\n\n/**\n * # TabPanel\n *\n * An individual tab panel that displays panelContent when its corresponding tab is selected.\n */\nexport const TabPanel = forwardRef<HTMLDivElement, TabPanelProps>(\n ({ children, ...props }, ref) => {\n // Ensure TabPanel always has children\n if (!children) {\n throw new Error(\"Tabs.Panel: children prop is required\");\n }\n\n return (\n <TabsPanelSlot asChild ref={ref} {...props}>\n <RATabPanel>{children}</RATabPanel>\n </TabsPanelSlot>\n );\n }\n);\n\nTabPanel.displayName = \"Tabs.Panel\";\n","import { Collection as RaCollection } from \"react-aria-components\";\nimport { TabsPanelsSlot } from \"../tabs.slots\";\nimport { TabPanel } from \"./tabs.panel\";\nimport type { TabItemProps, TabPanelsProps } from \"../tabs.types\";\n\n/**\n * # TabPanels\n *\n * A container for the tab panels that displays panelContent based on the selected tab.\n */\nexport const TabPanels = ({ tabs, children, ...props }: TabPanelsProps) => {\n // Ensure TabPanels always has children - either from tabs or provided children\n if (!tabs && !children) {\n throw new Error(\n 'Tabs.Panels: Either provide \"items\" prop or \"children\" must be provided'\n );\n }\n\n return (\n <TabsPanelsSlot {...props}>\n {tabs ? (\n <RaCollection items={tabs as TabItemProps[]}>\n {(tab: TabItemProps) => (\n <TabPanel key={tab.id} id={tab.id}>\n {tab.panelContent}\n </TabPanel>\n )}\n </RaCollection>\n ) : (\n children\n )}\n </TabsPanelsSlot>\n );\n};\n\nTabPanels.displayName = \"Tabs.Panels\";\n","import { Tabs as RATabs } from \"react-aria-components\";\nimport { TabsRootSlot } from \"../tabs.slots\";\nimport type { TabsProps } from \"../tabs.types\";\nimport { TabList } from \"./tabs.list\";\nimport { TabPanels } from \"./tabs.panels\";\n\n/**\n * # Tabs\n *\n * A tabs component built on React Aria Components that allows users to switch between different views.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/navigation/tabs}\n */\nexport const TabsRoot = ({\n children,\n orientation = \"horizontal\",\n disabledKeys,\n placement = \"start\",\n size = \"md\",\n tabs,\n ...props\n}: TabsProps) => {\n return (\n <TabsRootSlot\n asChild\n orientation={orientation}\n placement={placement}\n size={size}\n {...props}\n >\n <RATabs disabledKeys={disabledKeys} {...tabs}>\n {children || (\n <>\n <TabList tabs={tabs} />\n <TabPanels tabs={tabs} />\n </>\n )}\n </RATabs>\n </TabsRootSlot>\n );\n};\n\nTabsRoot.displayName = \"Tabs.Root\";\n","import { TabsRoot } from \"./components/tabs.root\";\nimport { TabList } from \"./components/tabs.list\";\nimport { Tab } from \"./components/tabs.tab\";\nimport { TabPanels } from \"./components/tabs.panels\";\nimport { TabPanel } from \"./components/tabs.panel\";\n\nexport const Tabs = {\n Root: TabsRoot,\n List: TabList,\n Tab: Tab,\n Panels: TabPanels,\n Panel: TabPanel,\n};\n\nexport type { TabsProps, TabListProps, TabItemProps } from \"./tabs.types\";\n\n/**\n * todo: get rid of this, this is needed for the react-docgen-typescript script\n * that is parsing the typescript types for our documentation. The _ underscores\n * serve as a reminder that this exports are awkward and should not be used.\n */\nexport {\n TabsRoot as _TabsRoot,\n TabList as _TabList,\n Tab as _Tab,\n TabPanels as _TabPanels,\n TabPanel as _TabPanel,\n};\n"],"names":["$99b62ae3ff97ec45$export$c5f62239608282b6","$99b62ae3ff97ec45$export$567fc7097e064344","state","key","role","baseId","$0175d55c2a017ebc$export$fdf4756d5b8ef90a","props","ref","propsDisabled","shouldSelectOnPressUp","manager","selectedKey","isSelected","isDisabled","itemProps","isPressed","$dObGJ$useSelectableItem","tabId","tabPanelId","tabIndex","item","domProps","$dObGJ$filterDOMProps","linkProps","$dObGJ$useLinkProps","focusableProps","$dObGJ$useFocusable","$dObGJ$mergeProps","$34bce698202e07cb$export$fae0121b5afe572d","$jik2T$useHasTabbableChild","_props_id","id","tabPanelProps","$jik2T$useLabels","$jik2T$mergeProps","$bfc6f2d60b8a4c40$export$15010ca3c1abe90b","_this_collection_getItem_props","_this_collection_getItem","startKey","collection","direction","orientation","disabledKeys","$58d314389b21fa3f$export$773e389e644c5874","keyboardActivation","$bQNZs$useLocale","delegate","$bQNZs$useMemo","collectionProps","$bQNZs$useSelectableCollection","tabsId","$bQNZs$useId","tabListLabelProps","$bQNZs$useLabels","$bQNZs$mergeProps","$76f919a04c5a7d14$export$4ba071daf4e486","_props_defaultSelectedKey","_ref","$fgY1A$useSingleSelectListState","_props_onSelectionChange","$76f919a04c5a7d14$var$findDefaultSelectedKey","selectionManager","currentSelectedKey","lastSelectedKey","$fgY1A$useRef","$fgY1A$useEffect","_collection_getItem_props","_collection_getItem","_collection_getItem_props1","_collection_getItem1","$5e8ad37a45e1c704$export$cfa7aa87c26e7d1f","$7aSLZ$createContext","$5e8ad37a45e1c704$export$364712098d2aa57c","$5e8ad37a45e1c704$export$b2539bed5023c21c","$7aSLZ$forwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","children","$7aSLZ$useMemo","$7aSLZ$react","$7aSLZ$CollectionBuilder","$5e8ad37a45e1c704$var$TabsInner","$7aSLZ$useTabListState","focusProps","isFocused","isFocusVisible","$7aSLZ$useFocusRing","values","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$7aSLZ$filterDOMProps","$7aSLZ$mergeProps","$64fa3d84918910a7$export$2881499e37b75b9a","$5e8ad37a45e1c704$export$e51a686c67fdaa2d","$7aSLZ$useContext","$5e8ad37a45e1c704$var$TabListInner","$7aSLZ$Collection","CollectionRoot","$7135fc7d473fd974$export$4feb769f8ddf26c5","$64fa3d84918910a7$export$fabf2dc03a41866e","objectRef","$7aSLZ$useObjectRef","tabListProps","$7aSLZ$useTabList","$c8a5a149f625efcf$export$758399f318e6385a","$7135fc7d473fd974$export$90e00781bc59d8f9","$5e8ad37a45e1c704$var$TabItemNode","$7aSLZ$CollectionNode","$5e8ad37a45e1c704$export$3e41faf802a29e71","$7aSLZ$createLeafComponent","forwardedRef","tabProps","$7aSLZ$useTab","hoverProps","isHovered","$7aSLZ$useHover","ElementType","$1d5b8b8664671ef2$export$c9549807523555e0","$5e8ad37a45e1c704$export$3d96ec278d3efce4","$7aSLZ$createHideableComponent","otherProps","$7aSLZ$useTabPanel","$7aSLZ$inertValue","$7135fc7d473fd974$export$a164736487e3f0ae","withProvider","withContext","createSlotRecipeContext","TabsRootSlot","TabsListSlot","TabsTabSlot","TabsPanelsSlot","TabsPanelSlot","Tab","jsx","RATab","TabList","tabs","styleProps","restProps","extractStyleProps","RATabList","tab","TabPanel","forwardRef","RATabPanel","TabPanels","RaCollection","TabsRoot","placement","size","RATabs","jsxs","Fragment","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EAClB,SAACK,SACCC,EAAA,CAAsB,GAAID,EAAI,GAC5B,SAAAA,EAAI,cADQA,EAAI,EAEnB,CAAA,CAEJ,EAEAjE,CAAA,CAEJ,CAEJ,EAEAqE,EAAU,YAAc,cCtBjB,MAAME,EAAW,CAAC,CACvB,SAAAvE,EACA,YAAAnC,EAAc,aACd,aAAAC,EACA,UAAA0G,EAAY,QACZ,KAAAC,EAAO,KACP,KAAAb,EACA,GAAGlI,CACL,IAEI+H,EAAAA,IAACN,GAAA,CACC,QAAO,GACP,YAAAtF,EACA,UAAA2G,EACA,KAAAC,EACC,GAAG/I,EAEJ,eAACgJ,GAAA,CAAO,aAAA5G,EAA6B,GAAG8F,EACrC,YACCe,EAAAA,KAAAC,EAAAA,SAAA,CACE,SAAA,CAAAnB,MAACE,GAAQ,KAAAC,EAAY,EACrBH,MAACY,GAAU,KAAAT,CAAA,CAAY,CAAA,CAAA,CACzB,CAAA,CAEJ,CAAA,CAAA,EAKNW,EAAS,YAAc,YCpChB,MAAMM,GAAO,CAClB,KAAMN,EACN,KAAMZ,EACN,IAAAH,EACA,OAAQa,EACR,MAAOH,CACT","x_google_ignoreList":[0,1,2,3,4,5,6]}
|
|
1
|
+
{"version":3,"file":"tabs-Bj24YiXX.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tabs/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tabs/dist/useTab.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tabs/dist/useTabPanel.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tabs/dist/TabsKeyboardDelegate.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tabs/dist/useTabList.mjs","../../../../node_modules/.pnpm/@react-stately+tabs@3.8.6_react@19.2.0/node_modules/@react-stately/tabs/dist/useTabListState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/Tabs.mjs","../../src/components/tabs/tabs.slots.tsx","../../src/components/tabs/components/tabs.tab.tsx","../../src/components/tabs/components/tabs.list.tsx","../../src/components/tabs/components/tabs.panel.tsx","../../src/components/tabs/components/tabs.panels.tsx","../../src/components/tabs/components/tabs.root.tsx","../../src/components/tabs/tabs.tsx"],"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 $99b62ae3ff97ec45$export$c5f62239608282b6 = new WeakMap();\nfunction $99b62ae3ff97ec45$export$567fc7097e064344(state, key, role) {\n if (!state) // this case should only happen in the first render before the tabs are registered\n return '';\n if (typeof key === 'string') key = key.replace(/\\s+/g, '');\n let baseId = $99b62ae3ff97ec45$export$c5f62239608282b6.get(state);\n if (process.env.NODE_ENV !== 'production' && !baseId) console.error('There is no tab id, please check if you have rendered the tab panel before the tab list.');\n return `${baseId}-${role}-${key}`;\n}\n\n\nexport {$99b62ae3ff97ec45$export$c5f62239608282b6 as tabsIds, $99b62ae3ff97ec45$export$567fc7097e064344 as generateId};\n//# sourceMappingURL=utils.module.js.map\n","import {generateId as $99b62ae3ff97ec45$export$567fc7097e064344} from \"./utils.mjs\";\nimport {filterDOMProps as $dObGJ$filterDOMProps, useLinkProps as $dObGJ$useLinkProps, mergeProps as $dObGJ$mergeProps} from \"@react-aria/utils\";\nimport {useFocusable as $dObGJ$useFocusable} from \"@react-aria/focus\";\nimport {useSelectableItem as $dObGJ$useSelectableItem} from \"@react-aria/selection\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $0175d55c2a017ebc$export$fdf4756d5b8ef90a(props, state, ref) {\n let { key: key, isDisabled: propsDisabled, shouldSelectOnPressUp: shouldSelectOnPressUp } = props;\n let { selectionManager: manager, selectedKey: selectedKey } = state;\n let isSelected = key === selectedKey;\n let isDisabled = propsDisabled || state.isDisabled || state.selectionManager.isDisabled(key);\n let { itemProps: itemProps, isPressed: isPressed } = (0, $dObGJ$useSelectableItem)({\n selectionManager: manager,\n key: key,\n ref: ref,\n isDisabled: isDisabled,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n linkBehavior: 'selection'\n });\n let tabId = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, key, 'tab');\n let tabPanelId = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, key, 'tabpanel');\n let { tabIndex: tabIndex } = itemProps;\n let item = state.collection.getItem(key);\n let domProps = (0, $dObGJ$filterDOMProps)(item === null || item === void 0 ? void 0 : item.props, {\n labelable: true\n });\n delete domProps.id;\n let linkProps = (0, $dObGJ$useLinkProps)(item === null || item === void 0 ? void 0 : item.props);\n let { focusableProps: focusableProps } = (0, $dObGJ$useFocusable)({\n isDisabled: isDisabled\n }, ref);\n return {\n tabProps: (0, $dObGJ$mergeProps)(domProps, focusableProps, linkProps, itemProps, {\n id: tabId,\n 'aria-selected': isSelected,\n 'aria-disabled': isDisabled || undefined,\n 'aria-controls': isSelected ? tabPanelId : undefined,\n tabIndex: isDisabled ? undefined : tabIndex,\n role: 'tab'\n }),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed\n };\n}\n\n\nexport {$0175d55c2a017ebc$export$fdf4756d5b8ef90a as useTab};\n//# sourceMappingURL=useTab.module.js.map\n","import {generateId as $99b62ae3ff97ec45$export$567fc7097e064344} from \"./utils.mjs\";\nimport {useLabels as $jik2T$useLabels, mergeProps as $jik2T$mergeProps} from \"@react-aria/utils\";\nimport {useHasTabbableChild as $jik2T$useHasTabbableChild} from \"@react-aria/focus\";\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 $34bce698202e07cb$export$fae0121b5afe572d(props, state, ref) {\n // The tabpanel should have tabIndex=0 when there are no tabbable elements within it.\n // Otherwise, tabbing from the focused tab should go directly to the first tabbable element\n // within the tabpanel.\n let tabIndex = (0, $jik2T$useHasTabbableChild)(ref) ? undefined : 0;\n var _props_id;\n const id = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : state === null || state === void 0 ? void 0 : state.selectedKey, 'tabpanel');\n const tabPanelProps = (0, $jik2T$useLabels)({\n ...props,\n id: id,\n 'aria-labelledby': (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, state === null || state === void 0 ? void 0 : state.selectedKey, 'tab')\n });\n return {\n tabPanelProps: (0, $jik2T$mergeProps)(tabPanelProps, {\n tabIndex: tabIndex,\n role: 'tabpanel',\n 'aria-describedby': props['aria-describedby'],\n 'aria-details': props['aria-details']\n })\n };\n}\n\n\nexport {$34bce698202e07cb$export$fae0121b5afe572d as useTabPanel};\n//# sourceMappingURL=useTabPanel.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 */ class $bfc6f2d60b8a4c40$export$15010ca3c1abe90b {\n getKeyLeftOf(key) {\n if (this.flipDirection) return this.getNextKey(key);\n return this.getPreviousKey(key);\n }\n getKeyRightOf(key) {\n if (this.flipDirection) return this.getPreviousKey(key);\n return this.getNextKey(key);\n }\n isDisabled(key) {\n var _this_collection_getItem_props, _this_collection_getItem;\n return this.disabledKeys.has(key) || !!((_this_collection_getItem = this.collection.getItem(key)) === null || _this_collection_getItem === void 0 ? void 0 : (_this_collection_getItem_props = _this_collection_getItem.props) === null || _this_collection_getItem_props === void 0 ? void 0 : _this_collection_getItem_props.isDisabled);\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n if (key != null && this.isDisabled(key)) key = this.getNextKey(key);\n return key;\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n if (key != null && this.isDisabled(key)) key = this.getPreviousKey(key);\n return key;\n }\n getKeyAbove(key) {\n if (this.tabDirection) return null;\n return this.getPreviousKey(key);\n }\n getKeyBelow(key) {\n if (this.tabDirection) return null;\n return this.getNextKey(key);\n }\n getNextKey(startKey) {\n let key = startKey;\n do {\n key = this.collection.getKeyAfter(key);\n if (key == null) key = this.collection.getFirstKey();\n }while (key != null && this.isDisabled(key));\n return key;\n }\n getPreviousKey(startKey) {\n let key = startKey;\n do {\n key = this.collection.getKeyBefore(key);\n if (key == null) key = this.collection.getLastKey();\n }while (key != null && this.isDisabled(key));\n return key;\n }\n constructor(collection, direction, orientation, disabledKeys = new Set()){\n this.collection = collection;\n this.flipDirection = direction === 'rtl' && orientation === 'horizontal';\n this.disabledKeys = disabledKeys;\n this.tabDirection = orientation === 'horizontal';\n }\n}\n\n\nexport {$bfc6f2d60b8a4c40$export$15010ca3c1abe90b as TabsKeyboardDelegate};\n//# sourceMappingURL=TabsKeyboardDelegate.module.js.map\n","import {tabsIds as $99b62ae3ff97ec45$export$c5f62239608282b6} from \"./utils.mjs\";\nimport {TabsKeyboardDelegate as $bfc6f2d60b8a4c40$export$15010ca3c1abe90b} from \"./TabsKeyboardDelegate.mjs\";\nimport {useId as $bQNZs$useId, useLabels as $bQNZs$useLabels, mergeProps as $bQNZs$mergeProps} from \"@react-aria/utils\";\nimport {useLocale as $bQNZs$useLocale} from \"@react-aria/i18n\";\nimport {useMemo as $bQNZs$useMemo} from \"react\";\nimport {useSelectableCollection as $bQNZs$useSelectableCollection} from \"@react-aria/selection\";\n\n/*\n* Copyright 2020 Adobe. All rights reserved.\n* This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License. You may obtain a copy\n* of the License at http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software distributed under\n* the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n* OF ANY KIND, either express or implied. See the License for the specific language\n* governing permissions and limitations under the License.\n*/ \n\n\n\n\n\nfunction $58d314389b21fa3f$export$773e389e644c5874(props, state, ref) {\n let { orientation: orientation = 'horizontal', keyboardActivation: keyboardActivation = 'automatic' } = props;\n let { collection: collection, selectionManager: manager, disabledKeys: disabledKeys } = state;\n let { direction: direction } = (0, $bQNZs$useLocale)();\n let delegate = (0, $bQNZs$useMemo)(()=>new (0, $bfc6f2d60b8a4c40$export$15010ca3c1abe90b)(collection, direction, orientation, disabledKeys), [\n collection,\n disabledKeys,\n orientation,\n direction\n ]);\n let { collectionProps: collectionProps } = (0, $bQNZs$useSelectableCollection)({\n ref: ref,\n selectionManager: manager,\n keyboardDelegate: delegate,\n selectOnFocus: keyboardActivation === 'automatic',\n disallowEmptySelection: true,\n scrollRef: ref,\n linkBehavior: 'selection'\n });\n // Compute base id for all tabs\n let tabsId = (0, $bQNZs$useId)();\n (0, $99b62ae3ff97ec45$export$c5f62239608282b6).set(state, tabsId);\n let tabListLabelProps = (0, $bQNZs$useLabels)({\n ...props,\n id: tabsId\n });\n return {\n tabListProps: {\n ...(0, $bQNZs$mergeProps)(collectionProps, tabListLabelProps),\n role: 'tablist',\n 'aria-orientation': orientation,\n tabIndex: undefined\n }\n };\n}\n\n\nexport {$58d314389b21fa3f$export$773e389e644c5874 as useTabList};\n//# sourceMappingURL=useTabList.module.js.map\n","import {useSingleSelectListState as $fgY1A$useSingleSelectListState} from \"@react-stately/list\";\nimport {useRef as $fgY1A$useRef, useEffect as $fgY1A$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $76f919a04c5a7d14$export$4ba071daf4e486(props) {\n var _props_defaultSelectedKey, _ref;\n let state = (0, $fgY1A$useSingleSelectListState)({\n ...props,\n onSelectionChange: props.onSelectionChange ? (key)=>{\n var _props_onSelectionChange;\n if (key != null) (_props_onSelectionChange = props.onSelectionChange) === null || _props_onSelectionChange === void 0 ? void 0 : _props_onSelectionChange.call(props, key);\n } : undefined,\n suppressTextValueWarning: true,\n defaultSelectedKey: (_ref = (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : $76f919a04c5a7d14$var$findDefaultSelectedKey(props.collection, props.disabledKeys ? new Set(props.disabledKeys) : new Set())) !== null && _ref !== void 0 ? _ref : undefined\n });\n let { selectionManager: selectionManager, collection: collection, selectedKey: currentSelectedKey } = state;\n let lastSelectedKey = (0, $fgY1A$useRef)(currentSelectedKey);\n (0, $fgY1A$useEffect)(()=>{\n // Ensure a tab is always selected (in case no selected key was specified or if selected item was deleted from collection)\n let selectedKey = currentSelectedKey;\n if (props.selectedKey == null && (selectionManager.isEmpty || selectedKey == null || !collection.getItem(selectedKey))) {\n selectedKey = $76f919a04c5a7d14$var$findDefaultSelectedKey(collection, state.disabledKeys);\n if (selectedKey != null) // directly set selection because replace/toggle selection won't consider disabled keys\n selectionManager.setSelectedKeys([\n selectedKey\n ]);\n }\n // If the tablist doesn't have focus and the selected key changes or if there isn't a focused key yet, change focused key to the selected key if it exists.\n if (selectedKey != null && selectionManager.focusedKey == null || !selectionManager.isFocused && selectedKey !== lastSelectedKey.current) selectionManager.setFocusedKey(selectedKey);\n lastSelectedKey.current = selectedKey;\n });\n return {\n ...state,\n isDisabled: props.isDisabled || false\n };\n}\nfunction $76f919a04c5a7d14$var$findDefaultSelectedKey(collection, disabledKeys) {\n let selectedKey = null;\n if (collection) {\n var _collection_getItem_props, _collection_getItem, _collection_getItem_props1, _collection_getItem1;\n selectedKey = collection.getFirstKey();\n // loop over tabs until we find one that isn't disabled and select that\n while(selectedKey != null && (disabledKeys.has(selectedKey) || ((_collection_getItem = collection.getItem(selectedKey)) === null || _collection_getItem === void 0 ? void 0 : (_collection_getItem_props = _collection_getItem.props) === null || _collection_getItem_props === void 0 ? void 0 : _collection_getItem_props.isDisabled)) && selectedKey !== collection.getLastKey())selectedKey = collection.getKeyAfter(selectedKey);\n // if this check is true, then every item is disabled, it makes more sense to default to the first key than the last\n if (selectedKey != null && (disabledKeys.has(selectedKey) || ((_collection_getItem1 = collection.getItem(selectedKey)) === null || _collection_getItem1 === void 0 ? void 0 : (_collection_getItem_props1 = _collection_getItem1.props) === null || _collection_getItem_props1 === void 0 ? void 0 : _collection_getItem_props1.isDisabled)) && selectedKey === collection.getLastKey()) selectedKey = collection.getFirstKey();\n }\n return selectedKey;\n}\n\n\nexport {$76f919a04c5a7d14$export$4ba071daf4e486 as useTabListState};\n//# sourceMappingURL=useTabListState.module.js.map\n","import {CollectionRendererContext as $7135fc7d473fd974$export$4feb769f8ddf26c5, DefaultCollectionRenderer as $7135fc7d473fd974$export$a164736487e3f0ae, usePersistedKeys as $7135fc7d473fd974$export$90e00781bc59d8f9} from \"./Collection.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {SelectionIndicatorContext as $1d5b8b8664671ef2$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SharedElementTransition as $c8a5a149f625efcf$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {useFocusRing as $7aSLZ$useFocusRing, mergeProps as $7aSLZ$mergeProps, useTabList as $7aSLZ$useTabList, useTab as $7aSLZ$useTab, useHover as $7aSLZ$useHover, useTabPanel as $7aSLZ$useTabPanel} from \"react-aria\";\nimport {CollectionBuilder as $7aSLZ$CollectionBuilder, Collection as $7aSLZ$Collection, CollectionNode as $7aSLZ$CollectionNode, createLeafComponent as $7aSLZ$createLeafComponent, createHideableComponent as $7aSLZ$createHideableComponent} from \"@react-aria/collections\";\nimport {filterDOMProps as $7aSLZ$filterDOMProps, useObjectRef as $7aSLZ$useObjectRef, inertValue as $7aSLZ$inertValue} from \"@react-aria/utils\";\nimport {useTabListState as $7aSLZ$useTabListState} from \"react-stately\";\nimport $7aSLZ$react, {createContext as $7aSLZ$createContext, forwardRef as $7aSLZ$forwardRef, useMemo as $7aSLZ$useMemo, useContext as $7aSLZ$useContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\nconst $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f = /*#__PURE__*/ (0, $7aSLZ$createContext)(null);\nconst $5e8ad37a45e1c704$export$364712098d2aa57c = /*#__PURE__*/ (0, $7aSLZ$createContext)(null);\nconst $5e8ad37a45e1c704$export$b2539bed5023c21c = /*#__PURE__*/ (0, $7aSLZ$forwardRef)(function Tabs(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f);\n let { children: children, orientation: orientation = 'horizontal' } = props;\n children = (0, $7aSLZ$useMemo)(()=>typeof children === 'function' ? children({\n orientation: orientation,\n defaultChildren: null\n }) : children, [\n children,\n orientation\n ]);\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7aSLZ$CollectionBuilder), {\n content: children\n }, (collection)=>/*#__PURE__*/ (0, $7aSLZ$react).createElement($5e8ad37a45e1c704$var$TabsInner, {\n props: props,\n collection: collection,\n tabsRef: ref\n }));\n});\nfunction $5e8ad37a45e1c704$var$TabsInner({ props: props, tabsRef: ref, collection: collection }) {\n let { orientation: orientation = 'horizontal' } = props;\n let state = (0, $7aSLZ$useTabListState)({\n ...props,\n collection: collection,\n children: undefined\n });\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)({\n within: true\n });\n let values = (0, $7aSLZ$useMemo)(()=>({\n orientation: orientation,\n isFocusWithin: isFocused,\n isFocusVisible: isFocusVisible\n }), [\n orientation,\n isFocused,\n isFocusVisible\n ]);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tabs',\n values: values\n });\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, focusProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-orientation\": orientation,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": state.isDisabled || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f,\n props\n ],\n [\n $5e8ad37a45e1c704$export$364712098d2aa57c,\n state\n ]\n ]\n }, renderProps.children));\n}\nconst $5e8ad37a45e1c704$export$e51a686c67fdaa2d = /*#__PURE__*/ (0, $7aSLZ$forwardRef)(function TabList(props, ref) {\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n return state ? /*#__PURE__*/ (0, $7aSLZ$react).createElement($5e8ad37a45e1c704$var$TabListInner, {\n props: props,\n forwardedRef: ref\n }) : /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7aSLZ$Collection), props);\n});\nfunction $5e8ad37a45e1c704$var$TabListInner({ props: props, forwardedRef: ref }) {\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let { CollectionRoot: CollectionRoot } = (0, $7aSLZ$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let { orientation: orientation = 'horizontal', keyboardActivation: keyboardActivation = 'automatic' } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)($5e8ad37a45e1c704$export$cfa7aa87c26e7d1f);\n let objectRef = (0, $7aSLZ$useObjectRef)(ref);\n let { tabListProps: tabListProps } = (0, $7aSLZ$useTabList)({\n ...props,\n orientation: orientation,\n keyboardActivation: keyboardActivation\n }, state, objectRef);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n children: null,\n defaultClassName: 'react-aria-TabList',\n values: {\n orientation: orientation,\n state: state\n }\n });\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, tabListProps),\n ref: objectRef,\n \"data-orientation\": orientation || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $c8a5a149f625efcf$export$758399f318e6385a), null, /*#__PURE__*/ (0, $7aSLZ$react).createElement(CollectionRoot, {\n collection: state.collection,\n persistedKeys: (0, $7135fc7d473fd974$export$90e00781bc59d8f9)(state.selectionManager.focusedKey)\n })));\n}\nclass $5e8ad37a45e1c704$var$TabItemNode extends (0, $7aSLZ$CollectionNode) {\n}\n$5e8ad37a45e1c704$var$TabItemNode.type = 'item';\nconst $5e8ad37a45e1c704$export$3e41faf802a29e71 = /*#__PURE__*/ (0, $7aSLZ$createLeafComponent)($5e8ad37a45e1c704$var$TabItemNode, (props, forwardedRef, item)=>{\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let ref = (0, $7aSLZ$useObjectRef)(forwardedRef);\n let { tabProps: tabProps, isSelected: isSelected, isDisabled: isDisabled, isPressed: isPressed } = (0, $7aSLZ$useTab)({\n key: item.key,\n ...props\n }, state, ref);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $7aSLZ$useHover)({\n isDisabled: isDisabled,\n onHoverStart: props.onHoverStart,\n onHoverEnd: props.onHoverEnd,\n onHoverChange: props.onHoverChange\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-Tab',\n values: {\n isSelected: isSelected,\n isDisabled: isDisabled,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isPressed: isPressed,\n isHovered: isHovered\n }\n });\n let ElementType = item.props.href ? 'a' : 'div';\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(ElementType, {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, tabProps, focusProps, hoverProps),\n ref: ref,\n \"data-selected\": isSelected || undefined,\n \"data-disabled\": isDisabled || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-hovered\": isHovered || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $1d5b8b8664671ef2$export$c9549807523555e0).Provider, {\n value: {\n isSelected: isSelected\n }\n }, renderProps.children));\n});\nconst $5e8ad37a45e1c704$export$3d96ec278d3efce4 = /*#__PURE__*/ (0, $7aSLZ$createHideableComponent)(function TabPanel(props, forwardedRef) {\n const state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let ref = (0, $7aSLZ$useObjectRef)(forwardedRef);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { id: id, ...otherProps } = props;\n let { tabPanelProps: tabPanelProps } = (0, $7aSLZ$useTabPanel)(props, state, ref);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)();\n let isSelected = state.selectedKey === props.id;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-TabPanel',\n values: {\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n // @ts-ignore - compatibility with React < 19\n isInert: (0, $7aSLZ$inertValue)(!isSelected),\n state: state\n }\n });\n if (!isSelected && !props.shouldForceMount) return null;\n let DOMProps = (0, $7aSLZ$filterDOMProps)(otherProps, {\n global: true\n });\n delete DOMProps.id;\n let domProps = isSelected ? (0, $7aSLZ$mergeProps)(DOMProps, tabPanelProps, focusProps, renderProps) : renderProps;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...domProps,\n ref: ref,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n // @ts-ignore\n inert: (0, $7aSLZ$inertValue)(!isSelected || props.inert),\n \"data-inert\": !isSelected ? 'true' : undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f,\n null\n ],\n [\n $5e8ad37a45e1c704$export$364712098d2aa57c,\n null\n ]\n ]\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7135fc7d473fd974$export$4feb769f8ddf26c5).Provider, {\n value: (0, $7135fc7d473fd974$export$a164736487e3f0ae)\n }, renderProps.children)));\n});\n\n\nexport {$5e8ad37a45e1c704$export$cfa7aa87c26e7d1f as TabsContext, $5e8ad37a45e1c704$export$364712098d2aa57c as TabListStateContext, $5e8ad37a45e1c704$export$b2539bed5023c21c as Tabs, $5e8ad37a45e1c704$export$e51a686c67fdaa2d as TabList, $5e8ad37a45e1c704$export$3e41faf802a29e71 as Tab, $5e8ad37a45e1c704$export$3d96ec278d3efce4 as TabPanel};\n//# sourceMappingURL=Tabs.module.js.map\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type {\n TabsRootSlotProps,\n TabsListSlotProps,\n TabsTabSlotProps,\n TabsPanelsSlotProps,\n TabsPanelSlotProps,\n} from \"./tabs.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"tabs\",\n});\n\n/**\n * Root component that provides the styling context for the Tabs component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TabsRootSlot = withProvider<HTMLDivElement, TabsRootSlotProps>(\n \"div\",\n \"root\"\n);\n\nexport const TabsListSlot = withContext<HTMLDivElement, TabsListSlotProps>(\n \"div\",\n \"list\"\n);\n\nexport const TabsTabSlot = withContext<HTMLButtonElement, TabsTabSlotProps>(\n \"button\",\n \"tab\"\n);\n\nexport const TabsPanelsSlot: SlotComponent<\n HTMLDivElement,\n TabsPanelsSlotProps\n> = withContext<HTMLDivElement, TabsPanelsSlotProps>(\"div\", \"panels\");\n\nexport const TabsPanelSlot: SlotComponent<HTMLDivElement, TabsPanelSlotProps> =\n withContext<HTMLDivElement, TabsPanelSlotProps>(\"div\", \"panel\");\n","import { Tab as RATab } from \"react-aria-components\";\nimport { TabsTabSlot } from \"../tabs.slots\";\nimport type { TabProps } from \"../tabs.types\";\n\n/**\n * # Tab\n *\n * An individual tab button that allows users to switch to a specific panel.\n */\nexport const Tab = ({ children, isDisabled, ...props }: TabProps) => {\n return (\n <TabsTabSlot asChild {...props}>\n <RATab isDisabled={isDisabled}>{children}</RATab>\n </TabsTabSlot>\n );\n};\n\nTab.displayName = \"Tabs.Tab\";\n","import { TabList as RATabList } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils\";\nimport { TabsListSlot } from \"../tabs.slots\";\nimport { Tab } from \"./tabs.tab\";\nimport type { TabListProps, TabItemProps } from \"../tabs.types\";\n\n/**\n * # TabList\n *\n * A container for the tab buttons that allows users to switch between different panels.\n */\nexport const TabList = ({ tabs, children, ...props }: TabListProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Ensure RATabList always has children - either from tabs or provided children\n if (!tabs && !children) {\n throw new Error(\n 'Tabs.List: Either provide \"tabs\" prop or \"children\" must be provided'\n );\n }\n\n return (\n <TabsListSlot {...styleProps} asChild>\n <RATabList items={tabs as TabItemProps[]} {...restProps}>\n {tabs\n ? (tab: TabItemProps) => (\n <Tab key={tab.id} id={tab.id} isDisabled={tab.isDisabled}>\n {tab.tabLabel}\n </Tab>\n )\n : children}\n </RATabList>\n </TabsListSlot>\n );\n};\n\nTabList.displayName = \"Tabs.List\";\n","import { forwardRef } from \"react\";\nimport { TabPanel as RATabPanel } from \"react-aria-components\";\nimport { TabsPanelSlot } from \"../tabs.slots\";\nimport type { TabPanelProps } from \"../tabs.types\";\n\n/**\n * # TabPanel\n *\n * An individual tab panel that displays panelContent when its corresponding tab is selected.\n */\nexport const TabPanel = forwardRef<HTMLDivElement, TabPanelProps>(\n ({ children, ...props }, ref) => {\n // Ensure TabPanel always has children\n if (!children) {\n throw new Error(\"Tabs.Panel: children prop is required\");\n }\n\n return (\n <TabsPanelSlot asChild ref={ref} {...props}>\n <RATabPanel>{children}</RATabPanel>\n </TabsPanelSlot>\n );\n }\n);\n\nTabPanel.displayName = \"Tabs.Panel\";\n","import { Collection as RaCollection } from \"react-aria-components\";\nimport { TabsPanelsSlot } from \"../tabs.slots\";\nimport { TabPanel } from \"./tabs.panel\";\nimport type { TabItemProps, TabPanelsProps } from \"../tabs.types\";\n\n/**\n * # TabPanels\n *\n * A container for the tab panels that displays panelContent based on the selected tab.\n */\nexport const TabPanels = ({ tabs, children, ...props }: TabPanelsProps) => {\n // Ensure TabPanels always has children - either from tabs or provided children\n if (!tabs && !children) {\n throw new Error(\n 'Tabs.Panels: Either provide \"items\" prop or \"children\" must be provided'\n );\n }\n\n return (\n <TabsPanelsSlot {...props}>\n {tabs ? (\n <RaCollection items={tabs as TabItemProps[]}>\n {(tab: TabItemProps) => (\n <TabPanel key={tab.id} id={tab.id}>\n {tab.panelContent}\n </TabPanel>\n )}\n </RaCollection>\n ) : (\n children\n )}\n </TabsPanelsSlot>\n );\n};\n\nTabPanels.displayName = \"Tabs.Panels\";\n","import { Tabs as RATabs } from \"react-aria-components\";\nimport { TabsRootSlot } from \"../tabs.slots\";\nimport type { TabsProps } from \"../tabs.types\";\nimport { TabList } from \"./tabs.list\";\nimport { TabPanels } from \"./tabs.panels\";\n\n/**\n * # Tabs\n *\n * A tabs component built on React Aria Components that allows users to switch between different views.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/navigation/tabs}\n */\nexport const TabsRoot = ({\n children,\n orientation = \"horizontal\",\n disabledKeys,\n placement = \"start\",\n size = \"md\",\n tabs,\n ...props\n}: TabsProps) => {\n return (\n <TabsRootSlot\n asChild\n orientation={orientation}\n placement={placement}\n size={size}\n {...props}\n >\n <RATabs disabledKeys={disabledKeys} {...tabs}>\n {children || (\n <>\n <TabList tabs={tabs} />\n <TabPanels tabs={tabs} />\n </>\n )}\n </RATabs>\n </TabsRootSlot>\n );\n};\n\nTabsRoot.displayName = \"Tabs.Root\";\n","import { TabsRoot } from \"./components/tabs.root\";\nimport { TabList } from \"./components/tabs.list\";\nimport { Tab } from \"./components/tabs.tab\";\nimport { TabPanels } from \"./components/tabs.panels\";\nimport { TabPanel } from \"./components/tabs.panel\";\n\nexport const Tabs = {\n Root: TabsRoot,\n List: TabList,\n Tab: Tab,\n Panels: TabPanels,\n Panel: TabPanel,\n};\n\nexport type { TabsProps, TabListProps, TabItemProps } from \"./tabs.types\";\n\n/**\n * todo: get rid of this, this is needed for the react-docgen-typescript script\n * that is parsing the typescript types for our documentation. The _ underscores\n * serve as a reminder that this exports are awkward and should not be used.\n */\nexport {\n TabsRoot as _TabsRoot,\n TabList as _TabList,\n Tab as _Tab,\n TabPanels as _TabPanels,\n TabPanel as _TabPanel,\n};\n"],"names":["$99b62ae3ff97ec45$export$c5f62239608282b6","$99b62ae3ff97ec45$export$567fc7097e064344","state","key","role","baseId","$0175d55c2a017ebc$export$fdf4756d5b8ef90a","props","ref","propsDisabled","shouldSelectOnPressUp","manager","selectedKey","isSelected","isDisabled","itemProps","isPressed","$dObGJ$useSelectableItem","tabId","tabPanelId","tabIndex","item","domProps","$dObGJ$filterDOMProps","linkProps","$dObGJ$useLinkProps","focusableProps","$dObGJ$useFocusable","$dObGJ$mergeProps","$34bce698202e07cb$export$fae0121b5afe572d","$jik2T$useHasTabbableChild","_props_id","id","tabPanelProps","$jik2T$useLabels","$jik2T$mergeProps","$bfc6f2d60b8a4c40$export$15010ca3c1abe90b","_this_collection_getItem_props","_this_collection_getItem","startKey","collection","direction","orientation","disabledKeys","$58d314389b21fa3f$export$773e389e644c5874","keyboardActivation","$bQNZs$useLocale","delegate","$bQNZs$useMemo","collectionProps","$bQNZs$useSelectableCollection","tabsId","$bQNZs$useId","tabListLabelProps","$bQNZs$useLabels","$bQNZs$mergeProps","$76f919a04c5a7d14$export$4ba071daf4e486","_props_defaultSelectedKey","_ref","$fgY1A$useSingleSelectListState","_props_onSelectionChange","$76f919a04c5a7d14$var$findDefaultSelectedKey","selectionManager","currentSelectedKey","lastSelectedKey","$fgY1A$useRef","$fgY1A$useEffect","_collection_getItem_props","_collection_getItem","_collection_getItem_props1","_collection_getItem1","$5e8ad37a45e1c704$export$cfa7aa87c26e7d1f","$7aSLZ$createContext","$5e8ad37a45e1c704$export$364712098d2aa57c","$5e8ad37a45e1c704$export$b2539bed5023c21c","$7aSLZ$forwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","children","$7aSLZ$useMemo","$7aSLZ$react","$7aSLZ$CollectionBuilder","$5e8ad37a45e1c704$var$TabsInner","$7aSLZ$useTabListState","focusProps","isFocused","isFocusVisible","$7aSLZ$useFocusRing","values","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$7aSLZ$filterDOMProps","$7aSLZ$mergeProps","$64fa3d84918910a7$export$2881499e37b75b9a","$5e8ad37a45e1c704$export$e51a686c67fdaa2d","$7aSLZ$useContext","$5e8ad37a45e1c704$var$TabListInner","$7aSLZ$Collection","CollectionRoot","$7135fc7d473fd974$export$4feb769f8ddf26c5","$64fa3d84918910a7$export$fabf2dc03a41866e","objectRef","$7aSLZ$useObjectRef","tabListProps","$7aSLZ$useTabList","$c8a5a149f625efcf$export$758399f318e6385a","$7135fc7d473fd974$export$90e00781bc59d8f9","$5e8ad37a45e1c704$var$TabItemNode","$7aSLZ$CollectionNode","$5e8ad37a45e1c704$export$3e41faf802a29e71","$7aSLZ$createLeafComponent","forwardedRef","tabProps","$7aSLZ$useTab","hoverProps","isHovered","$7aSLZ$useHover","ElementType","$1d5b8b8664671ef2$export$c9549807523555e0","$5e8ad37a45e1c704$export$3d96ec278d3efce4","$7aSLZ$createHideableComponent","otherProps","$7aSLZ$useTabPanel","$7aSLZ$inertValue","$7135fc7d473fd974$export$a164736487e3f0ae","withProvider","withContext","createSlotRecipeContext","TabsRootSlot","TabsListSlot","TabsTabSlot","TabsPanelsSlot","TabsPanelSlot","Tab","jsx","RATab","TabList","tabs","styleProps","restProps","extractStyleProps","RATabList","tab","TabPanel","forwardRef","RATabPanel","TabPanels","RaCollection","TabsRoot","placement","size","RATabs","jsxs","Fragment","Tabs"],"mappings":"u4BAUUA,EAA4C,IAAI,QAC1D,SAASC,EAA0CC,EAAOC,EAAKC,EAAM,CACjE,GAAI,CAACF,EACL,MAAO,GACH,OAAOC,GAAQ,WAAUA,EAAMA,EAAI,QAAQ,OAAQ,EAAE,GACzD,IAAIE,EAASL,EAA0C,IAAIE,CAAK,EAChE,OAAI,QAAQ,IAAI,WAAa,cAAgB,CAACG,GAAQ,QAAQ,MAAM,0FAA0F,EACvJ,GAAGA,CAAM,IAAID,CAAI,IAAID,CAAG,EACnC,CCCA,SAASG,EAA0CC,EAAOL,EAAOM,EAAK,CAClE,GAAI,CAAE,IAAKL,EAAK,WAAYM,EAAe,sBAAuBC,CAAqB,EAAKH,EACxF,CAAE,iBAAkBI,EAAS,YAAaC,CAAW,EAAKV,EAC1DW,EAAaV,IAAQS,EACrBE,EAAaL,GAAiBP,EAAM,YAAcA,EAAM,iBAAiB,WAAWC,CAAG,EACvF,CAAE,UAAWY,EAAW,UAAWC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S,YAAc,YCpChB,MAAMM,GAAO,CAClB,KAAMN,EACN,KAAMZ,EACN,IAAAH,EACA,OAAQa,EACR,MAAOH,CACT","x_google_ignoreList":[0,1,2,3,4,5,6]}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsx as c, jsxs as G, Fragment as J } from "react/jsx-runtime";
|
|
2
|
-
import { g as Q,
|
|
2
|
+
import { g as Q, e as X, h as O, k as Y, l as Z } from "./SelectionManager-S9Amkvfg.es.js";
|
|
3
3
|
import { a as D, e as V, $ as _, c as ee } from "./utils-_m_bPtjI.es.js";
|
|
4
4
|
import { a as te, $ as ie } from "./SelectionIndicator-B27AsfqE.es.js";
|
|
5
|
-
import { $ as ae,
|
|
5
|
+
import { $ as ae, c as H, g as se, a as le } from "./CollectionBuilder-BhYUxJYI.es.js";
|
|
6
6
|
import { $ as re } from "./Hidden-X9vuhkMZ.es.js";
|
|
7
7
|
import { $ as v, a as oe } from "./mergeProps-DtKAFxbD.es.js";
|
|
8
8
|
import { $ as g } from "./filterDOMProps-BSVCO5jK.es.js";
|
|
9
9
|
import { $ as F } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
10
|
-
import {
|
|
10
|
+
import { b as M } from "./useListState-BFNT8oUW.es.js";
|
|
11
11
|
import f, { useMemo as E, useRef as de, useEffect as ne, forwardRef as C, useContext as x, createContext as A } from "react";
|
|
12
12
|
import { $ as z } from "./useLabels-DwkgAC0N.es.js";
|
|
13
13
|
import { $ as ce } from "./useHasTabbableChild-Dd6zlnRC.es.js";
|
|
14
|
-
import {
|
|
15
|
-
import { $ as
|
|
16
|
-
import { $ as
|
|
14
|
+
import { b as fe } from "./openLink-BNz58j4a.es.js";
|
|
15
|
+
import { $ as be } from "./useFocusable-Dhchq_tH.es.js";
|
|
16
|
+
import { $ as ue } from "./context-DW7UvQ8z.es.js";
|
|
17
17
|
import { $ as w } from "./useFocusRing-4xTd5aPf.es.js";
|
|
18
18
|
import { $ as $e } from "./useHover-B62SXQZ1.es.js";
|
|
19
|
-
import { $ as pe } from "./useSingleSelectListState-
|
|
19
|
+
import { $ as pe } from "./useSingleSelectListState-DcU-tU_H.es.js";
|
|
20
20
|
import { createSlotRecipeContext as he } from "@chakra-ui/react";
|
|
21
|
-
import { e as ve } from "./extract-style-props-
|
|
21
|
+
import { e as ve } from "./extract-style-props-fH5EHRZU.es.js";
|
|
22
22
|
const B = /* @__PURE__ */ new WeakMap();
|
|
23
23
|
function K(i, e, t) {
|
|
24
24
|
if (!i)
|
|
@@ -28,22 +28,22 @@ function K(i, e, t) {
|
|
|
28
28
|
return process.env.NODE_ENV !== "production" && !a && console.error("There is no tab id, please check if you have rendered the tab panel before the tab list."), `${a}-${t}-${e}`;
|
|
29
29
|
}
|
|
30
30
|
function me(i, e, t) {
|
|
31
|
-
let { key: a, isDisabled: s, shouldSelectOnPressUp: l } = i, { selectionManager: o, selectedKey: n } = e, r = a === n, d = s || e.isDisabled || e.selectionManager.isDisabled(a), { itemProps:
|
|
31
|
+
let { key: a, isDisabled: s, shouldSelectOnPressUp: l } = i, { selectionManager: o, selectedKey: n } = e, r = a === n, d = s || e.isDisabled || e.selectionManager.isDisabled(a), { itemProps: u, isPressed: b } = Q({
|
|
32
32
|
selectionManager: o,
|
|
33
33
|
key: a,
|
|
34
34
|
ref: t,
|
|
35
35
|
isDisabled: d,
|
|
36
36
|
shouldSelectOnPressUp: l,
|
|
37
37
|
linkBehavior: "selection"
|
|
38
|
-
}), $ = K(e, a, "tab"), h = K(e, a, "tabpanel"), { tabIndex: m } =
|
|
38
|
+
}), $ = K(e, a, "tab"), h = K(e, a, "tabpanel"), { tabIndex: m } = u, p = e.collection.getItem(a), y = g(p?.props, {
|
|
39
39
|
labelable: !0
|
|
40
40
|
});
|
|
41
41
|
delete y.id;
|
|
42
|
-
let W = fe(p?.props), { focusableProps: q } =
|
|
42
|
+
let W = fe(p?.props), { focusableProps: q } = be({
|
|
43
43
|
isDisabled: d
|
|
44
44
|
}, t);
|
|
45
45
|
return {
|
|
46
|
-
tabProps: v(y, q, W,
|
|
46
|
+
tabProps: v(y, q, W, u, {
|
|
47
47
|
id: $,
|
|
48
48
|
"aria-selected": r,
|
|
49
49
|
"aria-disabled": d || void 0,
|
|
@@ -53,7 +53,7 @@ function me(i, e, t) {
|
|
|
53
53
|
}),
|
|
54
54
|
isSelected: r,
|
|
55
55
|
isDisabled: d,
|
|
56
|
-
isPressed:
|
|
56
|
+
isPressed: b
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
function ye(i, e, t) {
|
|
@@ -117,12 +117,12 @@ class Pe {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
function xe(i, e, t) {
|
|
120
|
-
let { orientation: a = "horizontal", keyboardActivation: s = "automatic" } = i, { collection: l, selectionManager: o, disabledKeys: n } = e, { direction: r } =
|
|
120
|
+
let { orientation: a = "horizontal", keyboardActivation: s = "automatic" } = i, { collection: l, selectionManager: o, disabledKeys: n } = e, { direction: r } = ue(), d = E(() => new Pe(l, r, a, n), [
|
|
121
121
|
l,
|
|
122
122
|
n,
|
|
123
123
|
a,
|
|
124
124
|
r
|
|
125
|
-
]), { collectionProps:
|
|
125
|
+
]), { collectionProps: u } = X({
|
|
126
126
|
ref: t,
|
|
127
127
|
selectionManager: o,
|
|
128
128
|
keyboardDelegate: d,
|
|
@@ -130,15 +130,15 @@ function xe(i, e, t) {
|
|
|
130
130
|
disallowEmptySelection: !0,
|
|
131
131
|
scrollRef: t,
|
|
132
132
|
linkBehavior: "selection"
|
|
133
|
-
}),
|
|
134
|
-
B.set(e,
|
|
133
|
+
}), b = oe();
|
|
134
|
+
B.set(e, b);
|
|
135
135
|
let $ = z({
|
|
136
136
|
...i,
|
|
137
|
-
id:
|
|
137
|
+
id: b
|
|
138
138
|
});
|
|
139
139
|
return {
|
|
140
140
|
tabListProps: {
|
|
141
|
-
...v(
|
|
141
|
+
...v(u, $),
|
|
142
142
|
role: "tablist",
|
|
143
143
|
"aria-orientation": a,
|
|
144
144
|
tabIndex: void 0
|
|
@@ -211,11 +211,11 @@ function De({ props: i, tabsRef: e, collection: t }) {
|
|
|
211
211
|
...i,
|
|
212
212
|
defaultClassName: "react-aria-Tabs",
|
|
213
213
|
values: r
|
|
214
|
-
}),
|
|
214
|
+
}), u = g(i, {
|
|
215
215
|
global: !0
|
|
216
216
|
});
|
|
217
217
|
return /* @__PURE__ */ f.createElement("div", {
|
|
218
|
-
...v(
|
|
218
|
+
...v(u, d, l),
|
|
219
219
|
ref: e,
|
|
220
220
|
slot: i.slot || void 0,
|
|
221
221
|
"data-focused": o || void 0,
|
|
@@ -273,7 +273,7 @@ const Fe = /* @__PURE__ */ ae(j, (i, e, t) => {
|
|
|
273
273
|
let a = x(P), s = F(e), { tabProps: l, isSelected: o, isDisabled: n, isPressed: r } = me({
|
|
274
274
|
key: t.key,
|
|
275
275
|
...i
|
|
276
|
-
}, a, s), { focusProps: d, isFocused:
|
|
276
|
+
}, a, s), { focusProps: d, isFocused: u, isFocusVisible: b } = w(), { hoverProps: $, isHovered: h } = $e({
|
|
277
277
|
isDisabled: n,
|
|
278
278
|
onHoverStart: i.onHoverStart,
|
|
279
279
|
onHoverEnd: i.onHoverEnd,
|
|
@@ -286,8 +286,8 @@ const Fe = /* @__PURE__ */ ae(j, (i, e, t) => {
|
|
|
286
286
|
values: {
|
|
287
287
|
isSelected: o,
|
|
288
288
|
isDisabled: n,
|
|
289
|
-
isFocused:
|
|
290
|
-
isFocusVisible:
|
|
289
|
+
isFocused: u,
|
|
290
|
+
isFocusVisible: b,
|
|
291
291
|
isPressed: r,
|
|
292
292
|
isHovered: h
|
|
293
293
|
}
|
|
@@ -299,8 +299,8 @@ const Fe = /* @__PURE__ */ ae(j, (i, e, t) => {
|
|
|
299
299
|
ref: s,
|
|
300
300
|
"data-selected": o || void 0,
|
|
301
301
|
"data-disabled": n || void 0,
|
|
302
|
-
"data-focused":
|
|
303
|
-
"data-focus-visible":
|
|
302
|
+
"data-focused": u || void 0,
|
|
303
|
+
"data-focus-visible": b || void 0,
|
|
304
304
|
"data-pressed": r || void 0,
|
|
305
305
|
"data-hovered": h || void 0
|
|
306
306
|
}, /* @__PURE__ */ f.createElement(te.Provider, {
|
|
@@ -310,31 +310,31 @@ const Fe = /* @__PURE__ */ ae(j, (i, e, t) => {
|
|
|
310
310
|
}, m.children));
|
|
311
311
|
}), Ee = /* @__PURE__ */ re(function(e, t) {
|
|
312
312
|
const a = x(P);
|
|
313
|
-
let s = F(t), { id: l, ...o } = e, { tabPanelProps: n } = ye(e, a, s), { focusProps: r, isFocused: d, isFocusVisible:
|
|
313
|
+
let s = F(t), { id: l, ...o } = e, { tabPanelProps: n } = ye(e, a, s), { focusProps: r, isFocused: d, isFocusVisible: u } = w(), b = a.selectedKey === e.id, $ = D({
|
|
314
314
|
...e,
|
|
315
315
|
defaultClassName: "react-aria-TabPanel",
|
|
316
316
|
values: {
|
|
317
317
|
isFocused: d,
|
|
318
|
-
isFocusVisible:
|
|
318
|
+
isFocusVisible: u,
|
|
319
319
|
// @ts-ignore - compatibility with React < 19
|
|
320
|
-
isInert: M(!
|
|
320
|
+
isInert: M(!b),
|
|
321
321
|
state: a
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
|
-
if (!
|
|
324
|
+
if (!b && !e.shouldForceMount) return null;
|
|
325
325
|
let h = g(o, {
|
|
326
326
|
global: !0
|
|
327
327
|
});
|
|
328
328
|
delete h.id;
|
|
329
|
-
let m =
|
|
329
|
+
let m = b ? v(h, n, r, $) : $;
|
|
330
330
|
return /* @__PURE__ */ f.createElement("div", {
|
|
331
331
|
...m,
|
|
332
332
|
ref: s,
|
|
333
333
|
"data-focused": d || void 0,
|
|
334
|
-
"data-focus-visible":
|
|
334
|
+
"data-focus-visible": u || void 0,
|
|
335
335
|
// @ts-ignore
|
|
336
|
-
inert: M(!
|
|
337
|
-
"data-inert":
|
|
336
|
+
inert: M(!b || e.inert),
|
|
337
|
+
"data-inert": b ? void 0 : "true"
|
|
338
338
|
}, /* @__PURE__ */ f.createElement(V, {
|
|
339
339
|
values: [
|
|
340
340
|
[
|
|
@@ -425,4 +425,4 @@ export {
|
|
|
425
425
|
k as d,
|
|
426
426
|
R as e
|
|
427
427
|
};
|
|
428
|
-
//# sourceMappingURL=tabs-
|
|
428
|
+
//# sourceMappingURL=tabs-D3SqKC9V.es.js.map
|