@commercetools/nimbus 2.0.1-rc4 → 2.0.1
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/{DateField-DmPAxSnT.es.js → DateField-DZwn3cIj.es.js} +8 -8
- package/dist/chunks/{DateField-DmPAxSnT.es.js.map → DateField-DZwn3cIj.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-D8m8YbnD.es.js → DatePicker-B2Nf_0Sq.es.js} +6 -6
- package/dist/chunks/{DatePicker-D8m8YbnD.es.js.map → DatePicker-B2Nf_0Sq.es.js.map} +1 -1
- package/dist/chunks/{Heading-lYSFVV4F.es.js → Heading-DFiVmZUR.es.js} +2 -2
- package/dist/chunks/{Heading-lYSFVV4F.es.js.map → Heading-DFiVmZUR.es.js.map} +1 -1
- package/dist/chunks/{accordion-CKDnNkVv.es.js → accordion-CrISuCHH.es.js} +2 -2
- package/dist/chunks/accordion-CrISuCHH.es.js.map +1 -0
- package/dist/chunks/accordion-D7a9HHSH.cjs.js +2 -0
- package/dist/chunks/{accordion-B2FLWAh5.cjs.js.map → accordion-D7a9HHSH.cjs.js.map} +1 -1
- package/dist/chunks/calendar-0Tr21POc.cjs.js +2 -0
- package/dist/chunks/{calendar-V0KeNCQ3.cjs.js.map → calendar-0Tr21POc.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-BkGJAIae.es.js → calendar-okvAi9qK.es.js} +4 -4
- package/dist/chunks/{calendar-BkGJAIae.es.js.map → calendar-okvAi9qK.es.js.map} +1 -1
- package/dist/chunks/{checkbox-BB-WJdal.es.js → checkbox-Bp0eyZ6q.es.js} +2 -2
- package/dist/chunks/{checkbox-BB-WJdal.es.js.map → checkbox-Bp0eyZ6q.es.js.map} +1 -1
- package/dist/chunks/checkbox-QQkdNVJO.cjs.js +2 -0
- package/dist/chunks/{checkbox-Dod-yTj4.cjs.js.map → checkbox-QQkdNVJO.cjs.js.map} +1 -1
- package/dist/chunks/collapsible-motion-CykDlHn3.cjs.js +2 -0
- package/dist/chunks/collapsible-motion-CykDlHn3.cjs.js.map +1 -0
- package/dist/chunks/{collapsible-motion-CSrKjF8X.es.js → collapsible-motion-DPqgzRWq.es.js} +2 -2
- package/dist/chunks/collapsible-motion-DPqgzRWq.es.js.map +1 -0
- package/dist/chunks/combobox-Bntl4sYo.cjs.js +2 -0
- package/dist/chunks/{combobox-B5UxZWSX.cjs.js.map → combobox-Bntl4sYo.cjs.js.map} +1 -1
- package/dist/chunks/{combobox-D_7gr3DY.es.js → combobox-DYREbkL7.es.js} +2 -2
- package/dist/chunks/{combobox-D_7gr3DY.es.js.map → combobox-DYREbkL7.es.js.map} +1 -1
- package/dist/chunks/data-table-BhV1DJXJ.cjs.js +2 -0
- package/dist/chunks/{data-table-C51WU0Cc.cjs.js.map → data-table-BhV1DJXJ.cjs.js.map} +1 -1
- package/dist/chunks/{data-table-ClMivKY1.es.js → data-table-TSza8b10.es.js} +4 -4
- package/dist/chunks/{data-table-ClMivKY1.es.js.map → data-table-TSza8b10.es.js.map} +1 -1
- package/dist/chunks/date-input-B84sXbjL.cjs.js +2 -0
- package/dist/chunks/date-input-B84sXbjL.cjs.js.map +1 -0
- package/dist/chunks/{date-input-B_EuP5sc.es.js → date-input-BiOdvpWz.es.js} +3 -3
- package/dist/chunks/date-input-BiOdvpWz.es.js.map +1 -0
- package/dist/chunks/date-picker-2SDD5gY9.cjs.js +2 -0
- package/dist/chunks/{date-picker-CZAoPNsT.cjs.js.map → date-picker-2SDD5gY9.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-DFpgLG1U.es.js → date-picker-EuMU6RtR.es.js} +7 -7
- package/dist/chunks/{date-picker-DFpgLG1U.es.js.map → date-picker-EuMU6RtR.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-DVuIeQQd.es.js → date-range-picker-CL-QH8BW.es.js} +7 -7
- package/dist/chunks/{date-range-picker-DVuIeQQd.es.js.map → date-range-picker-CL-QH8BW.es.js.map} +1 -1
- package/dist/chunks/date-range-picker-DmHmhMvU.cjs.js +2 -0
- package/dist/chunks/{date-range-picker-iENzosfN.cjs.js.map → date-range-picker-DmHmhMvU.cjs.js.map} +1 -1
- package/dist/chunks/{dialog-CKwC3dk3.cjs.js → dialog-BeKbQUsU.cjs.js} +2 -2
- package/dist/chunks/{dialog-CKwC3dk3.cjs.js.map → dialog-BeKbQUsU.cjs.js.map} +1 -1
- package/dist/chunks/{dialog-BwtIcIvd.es.js → dialog-C9Dn6GoU.es.js} +2 -2
- package/dist/chunks/{dialog-BwtIcIvd.es.js.map → dialog-C9Dn6GoU.es.js.map} +1 -1
- package/dist/chunks/{dialog.title-CP_ZeiK4.es.js → dialog.title-CfBfNT9q.es.js} +2 -2
- package/dist/chunks/dialog.title-CfBfNT9q.es.js.map +1 -0
- package/dist/chunks/dialog.title-CynBe3KN.cjs.js +2 -0
- package/dist/chunks/dialog.title-CynBe3KN.cjs.js.map +1 -0
- package/dist/chunks/{draggable-list-s43baxoM.es.js → draggable-list-3KlajQgQ.es.js} +3 -3
- package/dist/chunks/{draggable-list-s43baxoM.es.js.map → draggable-list-3KlajQgQ.es.js.map} +1 -1
- package/dist/chunks/{draggable-list-MGvr5-A-.cjs.js → draggable-list-uMR8JUsT.cjs.js} +2 -2
- package/dist/chunks/{draggable-list-MGvr5-A-.cjs.js.map → draggable-list-uMR8JUsT.cjs.js.map} +1 -1
- package/dist/chunks/{drawer-BJ4qvGnj.es.js → drawer-CT5qAdLo.es.js} +2 -2
- package/dist/chunks/drawer-CT5qAdLo.es.js.map +1 -0
- package/dist/chunks/drawer-vgDYdzlq.cjs.js +2 -0
- package/dist/chunks/drawer-vgDYdzlq.cjs.js.map +1 -0
- package/dist/chunks/{extractStyleProps-DYXEhLtq.es.js → extract-style-props-DYXEhLtq.es.js} +1 -1
- package/dist/chunks/extract-style-props-DYXEhLtq.es.js.map +1 -0
- package/dist/chunks/{extractStyleProps-Dk3fpLyQ.cjs.js → extract-style-props-Dk3fpLyQ.cjs.js} +1 -1
- package/dist/chunks/extract-style-props-Dk3fpLyQ.cjs.js.map +1 -0
- package/dist/chunks/{icon-toggle-button-Bi-9Obfx.es.js → icon-toggle-button-Bt_1Mdus.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-Bi-9Obfx.es.js.map → icon-toggle-button-Bt_1Mdus.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-eLrsWehe.cjs.js → icon-toggle-button-Bv-FwWwz.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-eLrsWehe.cjs.js.map → icon-toggle-button-Bv-FwWwz.cjs.js.map} +1 -1
- package/dist/chunks/{localized-field-D3G0Uy7Z.es.js → localized-field-Bp4N2Mvl.es.js} +5 -5
- package/dist/chunks/{localized-field-D3G0Uy7Z.es.js.map → localized-field-Bp4N2Mvl.es.js.map} +1 -1
- package/dist/chunks/{localized-field-C7Vribb2.cjs.js → localized-field-Cmwb6fmQ.cjs.js} +2 -2
- package/dist/chunks/{localized-field-C7Vribb2.cjs.js.map → localized-field-Cmwb6fmQ.cjs.js.map} +1 -1
- package/dist/chunks/menu-SXtkybBB.cjs.js +2 -0
- package/dist/chunks/menu-SXtkybBB.cjs.js.map +1 -0
- package/dist/chunks/{menu-D-vE6ZpM.es.js → menu-XKnGXngu.es.js} +2 -2
- package/dist/chunks/menu-XKnGXngu.es.js.map +1 -0
- package/dist/chunks/{money-input-sk0Slpeu.es.js → money-input-BqYBGLzc.es.js} +4 -4
- package/dist/chunks/{money-input-sk0Slpeu.es.js.map → money-input-BqYBGLzc.es.js.map} +1 -1
- package/dist/chunks/money-input-Cz8E18lq.cjs.js +2 -0
- package/dist/chunks/{money-input-Cu_J86Eu.cjs.js.map → money-input-Cz8E18lq.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-CilSJJaO.es.js → multiline-text-input-AyyHGKY2.es.js} +2 -2
- package/dist/chunks/multiline-text-input-AyyHGKY2.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-jGidPD3q.cjs.js +2 -0
- package/dist/chunks/multiline-text-input-jGidPD3q.cjs.js.map +1 -0
- package/dist/chunks/number-input-CynG_F-c.cjs.js +2 -0
- package/dist/chunks/{number-input-wMW-o4di.cjs.js.map → number-input-CynG_F-c.cjs.js.map} +1 -1
- package/dist/chunks/{number-input-CktMxOdZ.es.js → number-input-rotBI7ui.es.js} +2 -2
- package/dist/chunks/{number-input-CktMxOdZ.es.js.map → number-input-rotBI7ui.es.js.map} +1 -1
- package/dist/chunks/{pagination-BWdg8s6g.cjs.js → pagination-DdMhz-Ka.cjs.js} +2 -2
- package/dist/chunks/{pagination-BWdg8s6g.cjs.js.map → pagination-DdMhz-Ka.cjs.js.map} +1 -1
- package/dist/chunks/{pagination-Bcq69Nv3.es.js → pagination-Dqt0f5WQ.es.js} +3 -3
- package/dist/chunks/{pagination-Bcq69Nv3.es.js.map → pagination-Dqt0f5WQ.es.js.map} +1 -1
- package/dist/chunks/{password-input-6SMjhXSO.cjs.js → password-input-BVHKD6s2.cjs.js} +2 -2
- package/dist/chunks/{password-input-6SMjhXSO.cjs.js.map → password-input-BVHKD6s2.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-6MO4I-2j.es.js → password-input-DRmX3C3I.es.js} +2 -2
- package/dist/chunks/{password-input-6MO4I-2j.es.js.map → password-input-DRmX3C3I.es.js.map} +1 -1
- package/dist/chunks/progress-bar-CmQaITmw.cjs.js +2 -0
- package/dist/chunks/progress-bar-CmQaITmw.cjs.js.map +1 -0
- package/dist/chunks/{progress-bar-DwuOjOcH.es.js → progress-bar-DGFMl3Vg.es.js} +2 -2
- package/dist/chunks/progress-bar-DGFMl3Vg.es.js.map +1 -0
- package/dist/chunks/radio-input-Cg5MZ21w.cjs.js +2 -0
- package/dist/chunks/{radio-input-Dp05SXja.cjs.js.map → radio-input-Cg5MZ21w.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-4jw6HUjC.es.js → radio-input-DPwU5M16.es.js} +2 -2
- package/dist/chunks/{radio-input-4jw6HUjC.es.js.map → radio-input-DPwU5M16.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-D55DTDbA.es.js → range-calendar-PUt59Hda.es.js} +4 -4
- package/dist/chunks/{range-calendar-D55DTDbA.es.js.map → range-calendar-PUt59Hda.es.js.map} +1 -1
- package/dist/chunks/range-calendar-lhmomEF_.cjs.js +2 -0
- package/dist/chunks/{range-calendar-_dZfAsdG.cjs.js.map → range-calendar-lhmomEF_.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-BC8CBVio.es.js → rich-text-input-Cm0M04n-.es.js} +6 -6
- package/dist/chunks/{rich-text-input-BC8CBVio.es.js.map → rich-text-input-Cm0M04n-.es.js.map} +1 -1
- package/dist/chunks/{rich-text-input-Da5WFZ3l.cjs.js → rich-text-input-DqwZD5Di.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-Da5WFZ3l.cjs.js.map → rich-text-input-DqwZD5Di.cjs.js.map} +1 -1
- package/dist/chunks/search-input-BvJKOCVM.cjs.js +2 -0
- package/dist/chunks/{search-input-BefkmgPy.cjs.js.map → search-input-BvJKOCVM.cjs.js.map} +1 -1
- package/dist/chunks/{search-input-DJy2NHYW.es.js → search-input-C8cD1bnn.es.js} +2 -2
- package/dist/chunks/{search-input-DJy2NHYW.es.js.map → search-input-C8cD1bnn.es.js.map} +1 -1
- package/dist/chunks/select-DfuSGQSs.cjs.js +2 -0
- package/dist/chunks/{select-DMsU6bk9.cjs.js.map → select-DfuSGQSs.cjs.js.map} +1 -1
- package/dist/chunks/{select-BmMhTBo-.es.js → select-X1qJU5Yn.es.js} +2 -2
- package/dist/chunks/{select-BmMhTBo-.es.js.map → select-X1qJU5Yn.es.js.map} +1 -1
- package/dist/chunks/{separator-DJGUFG-o.es.js → separator-BHD3Ztot.es.js} +2 -2
- package/dist/chunks/separator-BHD3Ztot.es.js.map +1 -0
- package/dist/chunks/separator-FEY8A05K.cjs.js +2 -0
- package/dist/chunks/separator-FEY8A05K.cjs.js.map +1 -0
- package/dist/chunks/{split-button-BxyZmuNi.es.js → split-button-LENwoBTF.es.js} +2 -2
- package/dist/chunks/{split-button-BxyZmuNi.es.js.map → split-button-LENwoBTF.es.js.map} +1 -1
- package/dist/chunks/{split-button-BO52sL7h.cjs.js → split-button-go3Ez6Ea.cjs.js} +2 -2
- package/dist/chunks/{split-button-BO52sL7h.cjs.js.map → split-button-go3Ez6Ea.cjs.js.map} +1 -1
- package/dist/chunks/{switch-01hEhL9A.es.js → switch-BDRu376G.es.js} +2 -2
- package/dist/chunks/switch-BDRu376G.es.js.map +1 -0
- package/dist/chunks/switch-RPIMfaqs.cjs.js +2 -0
- package/dist/chunks/switch-RPIMfaqs.cjs.js.map +1 -0
- package/dist/chunks/{tabs-Dhte-RCe.es.js → tabs-BtWK-J_p.es.js} +2 -2
- package/dist/chunks/{tabs-Dhte-RCe.es.js.map → tabs-BtWK-J_p.es.js.map} +1 -1
- package/dist/chunks/tabs-CEB3Dfex.cjs.js +2 -0
- package/dist/chunks/{tabs-CJ0OAUSR.cjs.js.map → tabs-CEB3Dfex.cjs.js.map} +1 -1
- package/dist/chunks/text-input-CKGfCx6k.cjs.js +2 -0
- package/dist/chunks/text-input-CKGfCx6k.cjs.js.map +1 -0
- package/dist/chunks/{text-input-CSAODlCw.es.js → text-input-DNorjU50.es.js} +2 -2
- package/dist/chunks/text-input-DNorjU50.es.js.map +1 -0
- package/dist/chunks/{time-input-CUEnTp-4.es.js → time-input-B6we5H7C.es.js} +3 -3
- package/dist/chunks/time-input-B6we5H7C.es.js.map +1 -0
- package/dist/chunks/time-input-CweVZv1Q.cjs.js +2 -0
- package/dist/chunks/time-input-CweVZv1Q.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-CLEgCPGX.cjs.js +2 -0
- package/dist/chunks/toggle-button-CLEgCPGX.cjs.js.map +1 -0
- package/dist/chunks/{toggle-button-awb1jBf8.es.js → toggle-button-D3M4e72c.es.js} +2 -2
- package/dist/chunks/toggle-button-D3M4e72c.es.js.map +1 -0
- package/dist/chunks/{toolbar-Dduysqqi.es.js → toolbar-Bn9pAwjU.es.js} +2 -2
- package/dist/chunks/toolbar-Bn9pAwjU.es.js.map +1 -0
- package/dist/chunks/toolbar-D3Jj83mp.cjs.js +2 -0
- package/dist/chunks/{toolbar-DV0l5MqA.cjs.js.map → toolbar-D3Jj83mp.cjs.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-4Wq50fMI.es.js → useDateFormatter-C4zVAL_K.es.js} +3 -3
- package/dist/chunks/{useDateFormatter-4Wq50fMI.es.js.map → useDateFormatter-C4zVAL_K.es.js.map} +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.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.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/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/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- 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/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/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.cjs.map +1 -1
- package/dist/components/scoped-search-input.es.js +3 -3
- package/dist/components/scoped-search-input.es.js.map +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.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/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.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.es.js +35 -35
- package/dist/utils/extract-aria-attributes.d.ts +6 -0
- package/dist/utils/index.d.ts +3 -2
- package/package.json +5 -5
- package/dist/chunks/accordion-B2FLWAh5.cjs.js +0 -2
- package/dist/chunks/accordion-CKDnNkVv.es.js.map +0 -1
- package/dist/chunks/calendar-V0KeNCQ3.cjs.js +0 -2
- package/dist/chunks/checkbox-Dod-yTj4.cjs.js +0 -2
- package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js +0 -2
- package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +0 -1
- package/dist/chunks/collapsible-motion-CSrKjF8X.es.js.map +0 -1
- package/dist/chunks/combobox-B5UxZWSX.cjs.js +0 -2
- package/dist/chunks/data-table-C51WU0Cc.cjs.js +0 -2
- package/dist/chunks/date-input-B_EuP5sc.es.js.map +0 -1
- package/dist/chunks/date-input-DvOM0DLT.cjs.js +0 -2
- package/dist/chunks/date-input-DvOM0DLT.cjs.js.map +0 -1
- package/dist/chunks/date-picker-CZAoPNsT.cjs.js +0 -2
- package/dist/chunks/date-range-picker-iENzosfN.cjs.js +0 -2
- package/dist/chunks/dialog.title-CP_ZeiK4.es.js.map +0 -1
- package/dist/chunks/dialog.title-DOPP47Zy.cjs.js +0 -2
- package/dist/chunks/dialog.title-DOPP47Zy.cjs.js.map +0 -1
- package/dist/chunks/drawer-BJ4qvGnj.es.js.map +0 -1
- package/dist/chunks/drawer-DzW9wBMk.cjs.js +0 -2
- package/dist/chunks/drawer-DzW9wBMk.cjs.js.map +0 -1
- package/dist/chunks/extractStyleProps-DYXEhLtq.es.js.map +0 -1
- package/dist/chunks/extractStyleProps-Dk3fpLyQ.cjs.js.map +0 -1
- package/dist/chunks/menu-D-vE6ZpM.es.js.map +0 -1
- package/dist/chunks/menu-DIepV2KZ.cjs.js +0 -2
- package/dist/chunks/menu-DIepV2KZ.cjs.js.map +0 -1
- package/dist/chunks/money-input-Cu_J86Eu.cjs.js +0 -2
- package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js +0 -2
- package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-CilSJJaO.es.js.map +0 -1
- package/dist/chunks/number-input-wMW-o4di.cjs.js +0 -2
- package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js +0 -2
- package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js.map +0 -1
- package/dist/chunks/progress-bar-DwuOjOcH.es.js.map +0 -1
- package/dist/chunks/radio-input-Dp05SXja.cjs.js +0 -2
- package/dist/chunks/range-calendar-_dZfAsdG.cjs.js +0 -2
- package/dist/chunks/search-input-BefkmgPy.cjs.js +0 -2
- package/dist/chunks/select-DMsU6bk9.cjs.js +0 -2
- package/dist/chunks/separator-CvRn_J0r.cjs.js +0 -2
- package/dist/chunks/separator-CvRn_J0r.cjs.js.map +0 -1
- package/dist/chunks/separator-DJGUFG-o.es.js.map +0 -1
- package/dist/chunks/switch-01hEhL9A.es.js.map +0 -1
- package/dist/chunks/switch-CdLhBEPq.cjs.js +0 -2
- package/dist/chunks/switch-CdLhBEPq.cjs.js.map +0 -1
- package/dist/chunks/tabs-CJ0OAUSR.cjs.js +0 -2
- package/dist/chunks/text-input-CSAODlCw.es.js.map +0 -1
- package/dist/chunks/text-input-DZdkCbdd.cjs.js +0 -2
- package/dist/chunks/text-input-DZdkCbdd.cjs.js.map +0 -1
- package/dist/chunks/time-input-CUEnTp-4.es.js.map +0 -1
- package/dist/chunks/time-input-zXykDANk.cjs.js +0 -2
- package/dist/chunks/time-input-zXykDANk.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-DxMZsem4.cjs.js +0 -2
- package/dist/chunks/toggle-button-DxMZsem4.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-awb1jBf8.es.js.map +0 -1
- package/dist/chunks/toolbar-DV0l5MqA.cjs.js +0 -2
- package/dist/chunks/toolbar-Dduysqqi.es.js.map +0 -1
- /package/dist/utils/{extractStyleProps.d.ts → extract-style-props.d.ts} +0 -0
- /package/dist/utils/{noop.d.ts → no-op.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs-CJ0OAUSR.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTab.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTabPanel.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/TabsKeyboardDelegate.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTabList.mjs","../../../../node_modules/.pnpm/@react-stately+tabs@3.8.6_react@19.1.0/node_modules/@react-stately/tabs/dist/useTabListState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.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/extractStyleProps\";\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":"m4BAUUA,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,EA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A,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-CEB3Dfex.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTab.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTabPanel.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/TabsKeyboardDelegate.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTabList.mjs","../../../../node_modules/.pnpm/@react-stately+tabs@3.8.6_react@19.1.0/node_modules/@react-stately/tabs/dist/useTabListState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.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":"q4BAUUA,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,CAAS,EAASC,4CAA0B,CAC/E,iBAAkBN,EAClB,IAAKR,EACL,IAAKK,EACL,WAAYM,EACZ,sBAAuBJ,EACvB,aAAc,WACtB,CAAK,EACGQ,EAAYjB,EAA2CC,EAAOC,EAAK,KAAK,EACxEgB,EAAiBlB,EAA2CC,EA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ime"),s=require("react"),p=require("@chakra-ui/react"),q=require("@chakra-ui/react/styled-system"),v=require("./Input-_6sPm9s0.cjs.js"),E=require("./extract-style-props-Dk3fpLyQ.cjs.js"),T=require("./index-CRFg4Mhx.cjs.js"),$=require("./useObjectRef-dXOJdONs.cjs.js"),b=require("./useTextField-0jWzqKW2.cjs.js"),{withProvider:j,withContext:c}=p.createSlotRecipeContext({key:"textInput"}),y=j("div","root"),k=c("div","leadingElement"),C=c("input","input"),w=c("div","trailingElement"),f=o=>{const{leadingElement:i,trailingElement:l,ref:x,...m}=o,R=q.useSlotRecipe({recipe:T.textInputSlotRecipe}),[I,P]=R.splitVariantProps(m),r=s.useRef(null),t=s.useRef(null),u=$.$df56164dff5785e2$export$4338b53315abf666(p.mergeRefs(t,x)),[g,S]=E.extractStyleProps(P),{inputProps:n}=b.$2d73ec29415bd339$export$712718f7aec83d5(S,u),h={"data-disabled":n.disabled?"true":void 0,"data-invalid":n["aria-invalid"]?"true":"false"};return s.useEffect(()=>{const a=d=>{r.current&&r.current.contains(d.target)&&t.current&&d.target!==t.current&&t.current.focus()};return document.addEventListener("click",a),()=>{document.removeEventListener("click",a)}},[]),e.jsxs(y,{ref:r,className:o?.className,...I,...g,...h,children:[i&&e.jsx(k,{children:i}),e.jsx(C,{asChild:!0,children:e.jsx(v.$3985021b0ad6602f$export$f5b8910cec6cf069,{ref:u,...n})}),l&&e.jsx(w,{children:l})]})};f.displayName="TextInput";exports.TextInput=f;
|
|
2
|
+
//# sourceMappingURL=text-input-CKGfCx6k.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-input-CKGfCx6k.cjs.js","sources":["../../src/components/text-input/text-input.slots.tsx","../../src/components/text-input/text-input.tsx"],"sourcesContent":["import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type {\n TextInputRootSlotProps,\n TextInputLeadingElementSlotProps,\n TextInputInputSlotProps,\n TextInputTrailingElementSlotProps,\n} from \"./text-input.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"textInput\",\n});\n\nexport const TextInputRootSlot = withProvider<\n HTMLDivElement,\n TextInputRootSlotProps\n>(\"div\", \"root\");\n\nexport const TextInputLeadingElementSlot = withContext<\n HTMLDivElement,\n TextInputLeadingElementSlotProps\n>(\"div\", \"leadingElement\");\n\nexport const TextInputInputSlot = withContext<\n HTMLInputElement,\n TextInputInputSlotProps\n>(\"input\", \"input\");\n\nexport const TextInputTrailingElementSlot = withContext<\n HTMLDivElement,\n TextInputTrailingElementSlotProps\n>(\"div\", \"trailingElement\");\n","import { useEffect, useRef } from \"react\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { useObjectRef, useTextField } from \"react-aria\";\nimport { Input } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils\";\nimport { textInputSlotRecipe } from \"./text-input.recipe\";\nimport {\n TextInputRootSlot,\n TextInputLeadingElementSlot,\n TextInputInputSlot,\n TextInputTrailingElementSlot,\n} from \"./text-input.slots\";\nimport type { TextInputProps } from \"./text-input.types\";\n\n/**\n * # TextInput\n *\n * An input component that takes in a text as input\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/textinput}\n */\nexport const TextInput = (props: TextInputProps) => {\n const {\n leadingElement,\n trailingElement,\n ref: forwardedRef,\n ...restProps\n } = props;\n\n const recipe = useSlotRecipe({ recipe: textInputSlotRecipe });\n const [recipeProps, remainingProps] = recipe.splitVariantProps(restProps);\n\n const rootRef = useRef<HTMLDivElement>(null);\n const localRef = useRef<HTMLInputElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const [styleProps, otherProps] = extractStyleProps(remainingProps);\n const { inputProps } = useTextField(otherProps, ref);\n\n const stateProps = {\n \"data-disabled\": inputProps.disabled ? \"true\" : undefined,\n \"data-invalid\": inputProps[\"aria-invalid\"] ? \"true\" : \"false\",\n };\n\n // Using a useEffect instead of \"onClick\" on the element, to preserve\n // the `onClick` prop for consumers.\n useEffect(() => {\n const handleRootClick = (event: MouseEvent) => {\n // Only focus if the click is inside the root element,\n // not on the input itself, and not on an interactive element\n if (\n rootRef.current &&\n rootRef.current.contains(event.target as Node) &&\n localRef.current &&\n event.target !== localRef.current\n ) {\n localRef.current.focus();\n }\n };\n document.addEventListener(\"click\", handleRootClick);\n return () => {\n document.removeEventListener(\"click\", handleRootClick);\n };\n }, []);\n\n return (\n <TextInputRootSlot\n ref={rootRef}\n className={props?.className as string}\n {...recipeProps}\n {...styleProps}\n {...stateProps}\n >\n {leadingElement && (\n <TextInputLeadingElementSlot>\n {leadingElement}\n </TextInputLeadingElementSlot>\n )}\n <TextInputInputSlot asChild>\n <Input ref={ref} {...inputProps} />\n </TextInputInputSlot>\n {trailingElement && (\n <TextInputTrailingElementSlot>\n {trailingElement}\n </TextInputTrailingElementSlot>\n )}\n </TextInputRootSlot>\n );\n};\n\nTextInput.displayName = \"TextInput\";\n"],"names":["withProvider","withContext","createSlotRecipeContext","TextInputRootSlot","TextInputLeadingElementSlot","TextInputInputSlot","TextInputTrailingElementSlot","TextInput","props","leadingElement","trailingElement","forwardedRef","restProps","recipe","useSlotRecipe","textInputSlotRecipe","recipeProps","remainingProps","rootRef","useRef","localRef","ref","useObjectRef","mergeRefs","styleProps","otherProps","extractStyleProps","inputProps","useTextField","stateProps","useEffect","handleRootClick","event","jsxs","jsx","Input"],"mappings":"oWAQM,CAAE,aAAAA,EAAc,YAAAC,CAAA,EAAgBC,0BAAwB,CAC5D,IAAK,WACP,CAAC,EAEYC,EAAoBH,EAG/B,MAAO,MAAM,EAEFI,EAA8BH,EAGzC,MAAO,gBAAgB,EAEZI,EAAqBJ,EAGhC,QAAS,OAAO,EAELK,EAA+BL,EAG1C,MAAO,iBAAiB,ECRbM,EAAaC,GAA0B,CAClD,KAAM,CACJ,eAAAC,EACA,gBAAAC,EACA,IAAKC,EACL,GAAGC,CAAA,EACDJ,EAEEK,EAASC,EAAAA,cAAc,CAAE,OAAQC,EAAAA,oBAAqB,EACtD,CAACC,EAAaC,CAAc,EAAIJ,EAAO,kBAAkBD,CAAS,EAElEM,EAAUC,EAAAA,OAAuB,IAAI,EACrCC,EAAWD,EAAAA,OAAyB,IAAI,EACxCE,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUH,EAAUT,CAAY,CAAC,EAEpD,CAACa,EAAYC,CAAU,EAAIC,EAAAA,kBAAkBT,CAAc,EAC3D,CAAE,WAAAU,CAAA,EAAeC,2CAAaH,EAAYJ,CAAG,EAE7CQ,EAAa,CACjB,gBAAiBF,EAAW,SAAW,OAAS,OAChD,eAAgBA,EAAW,cAAc,EAAI,OAAS,OAAA,EAKxDG,OAAAA,EAAAA,UAAU,IAAM,CACd,MAAMC,EAAmBC,GAAsB,CAI3Cd,EAAQ,SACRA,EAAQ,QAAQ,SAASc,EAAM,MAAc,GAC7CZ,EAAS,SACTY,EAAM,SAAWZ,EAAS,SAE1BA,EAAS,QAAQ,MAAA,CAErB,EACA,gBAAS,iBAAiB,QAASW,CAAe,EAC3C,IAAM,CACX,SAAS,oBAAoB,QAASA,CAAe,CACvD,CACF,EAAG,CAAA,CAAE,EAGHE,EAAAA,KAAC9B,EAAA,CACC,IAAKe,EACL,UAAWV,GAAO,UACjB,GAAGQ,EACH,GAAGQ,EACH,GAAGK,EAEH,SAAA,CAAApB,GACCyB,EAAAA,IAAC9B,GACE,SAAAK,CAAA,CACH,EAEFyB,EAAAA,IAAC7B,GAAmB,QAAO,GACzB,eAAC8B,EAAAA,0CAAA,CAAM,IAAAd,EAAW,GAAGM,CAAA,CAAY,CAAA,CACnC,EACCjB,GACCwB,EAAAA,IAAC5B,EAAA,CACE,SAAAI,CAAA,CACH,CAAA,CAAA,CAAA,CAIR,EAEAH,EAAU,YAAc"}
|
|
@@ -3,7 +3,7 @@ import { useRef as d, useEffect as v } from "react";
|
|
|
3
3
|
import { createSlotRecipeContext as E, mergeRefs as I } from "@chakra-ui/react";
|
|
4
4
|
import { useSlotRecipe as S } from "@chakra-ui/react/styled-system";
|
|
5
5
|
import { $ as T } from "./Input-Da2oLmEN.es.js";
|
|
6
|
-
import { e as b } from "./
|
|
6
|
+
import { e as b } from "./extract-style-props-DYXEhLtq.es.js";
|
|
7
7
|
import { a as k } from "./index-CtB71yr7.es.js";
|
|
8
8
|
import { $ as y } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
9
9
|
import { $ as C } from "./useTextField-CT9tuc9X.es.js";
|
|
@@ -46,4 +46,4 @@ q.displayName = "TextInput";
|
|
|
46
46
|
export {
|
|
47
47
|
q as T
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=text-input-
|
|
49
|
+
//# sourceMappingURL=text-input-DNorjU50.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-input-DNorjU50.es.js","sources":["../../src/components/text-input/text-input.slots.tsx","../../src/components/text-input/text-input.tsx"],"sourcesContent":["import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type {\n TextInputRootSlotProps,\n TextInputLeadingElementSlotProps,\n TextInputInputSlotProps,\n TextInputTrailingElementSlotProps,\n} from \"./text-input.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"textInput\",\n});\n\nexport const TextInputRootSlot = withProvider<\n HTMLDivElement,\n TextInputRootSlotProps\n>(\"div\", \"root\");\n\nexport const TextInputLeadingElementSlot = withContext<\n HTMLDivElement,\n TextInputLeadingElementSlotProps\n>(\"div\", \"leadingElement\");\n\nexport const TextInputInputSlot = withContext<\n HTMLInputElement,\n TextInputInputSlotProps\n>(\"input\", \"input\");\n\nexport const TextInputTrailingElementSlot = withContext<\n HTMLDivElement,\n TextInputTrailingElementSlotProps\n>(\"div\", \"trailingElement\");\n","import { useEffect, useRef } from \"react\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { useObjectRef, useTextField } from \"react-aria\";\nimport { Input } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils\";\nimport { textInputSlotRecipe } from \"./text-input.recipe\";\nimport {\n TextInputRootSlot,\n TextInputLeadingElementSlot,\n TextInputInputSlot,\n TextInputTrailingElementSlot,\n} from \"./text-input.slots\";\nimport type { TextInputProps } from \"./text-input.types\";\n\n/**\n * # TextInput\n *\n * An input component that takes in a text as input\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/textinput}\n */\nexport const TextInput = (props: TextInputProps) => {\n const {\n leadingElement,\n trailingElement,\n ref: forwardedRef,\n ...restProps\n } = props;\n\n const recipe = useSlotRecipe({ recipe: textInputSlotRecipe });\n const [recipeProps, remainingProps] = recipe.splitVariantProps(restProps);\n\n const rootRef = useRef<HTMLDivElement>(null);\n const localRef = useRef<HTMLInputElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const [styleProps, otherProps] = extractStyleProps(remainingProps);\n const { inputProps } = useTextField(otherProps, ref);\n\n const stateProps = {\n \"data-disabled\": inputProps.disabled ? \"true\" : undefined,\n \"data-invalid\": inputProps[\"aria-invalid\"] ? \"true\" : \"false\",\n };\n\n // Using a useEffect instead of \"onClick\" on the element, to preserve\n // the `onClick` prop for consumers.\n useEffect(() => {\n const handleRootClick = (event: MouseEvent) => {\n // Only focus if the click is inside the root element,\n // not on the input itself, and not on an interactive element\n if (\n rootRef.current &&\n rootRef.current.contains(event.target as Node) &&\n localRef.current &&\n event.target !== localRef.current\n ) {\n localRef.current.focus();\n }\n };\n document.addEventListener(\"click\", handleRootClick);\n return () => {\n document.removeEventListener(\"click\", handleRootClick);\n };\n }, []);\n\n return (\n <TextInputRootSlot\n ref={rootRef}\n className={props?.className as string}\n {...recipeProps}\n {...styleProps}\n {...stateProps}\n >\n {leadingElement && (\n <TextInputLeadingElementSlot>\n {leadingElement}\n </TextInputLeadingElementSlot>\n )}\n <TextInputInputSlot asChild>\n <Input ref={ref} {...inputProps} />\n </TextInputInputSlot>\n {trailingElement && (\n <TextInputTrailingElementSlot>\n {trailingElement}\n </TextInputTrailingElementSlot>\n )}\n </TextInputRootSlot>\n );\n};\n\nTextInput.displayName = \"TextInput\";\n"],"names":["withProvider","withContext","createSlotRecipeContext","TextInputRootSlot","TextInputLeadingElementSlot","TextInputInputSlot","TextInputTrailingElementSlot","TextInput","props","leadingElement","trailingElement","forwardedRef","restProps","recipe","useSlotRecipe","textInputSlotRecipe","recipeProps","remainingProps","rootRef","useRef","localRef","ref","useObjectRef","mergeRefs","styleProps","otherProps","extractStyleProps","inputProps","useTextField","stateProps","useEffect","handleRootClick","event","jsxs","jsx","Input"],"mappings":";;;;;;;;;AAQA,MAAM,EAAE,cAAAA,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,KAAK;AACP,CAAC,GAEYC,IAAoB,gBAAAH,EAG/B,OAAO,MAAM,GAEFI,IAA8B,gBAAAH,EAGzC,OAAO,gBAAgB,GAEZI,IAAqB,gBAAAJ,EAGhC,SAAS,OAAO,GAELK,IAA+B,gBAAAL,EAG1C,OAAO,iBAAiB,GCRbM,IAAY,CAACC,MAA0B;AAClD,QAAM;AAAA,IACJ,gBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,KAAKC;AAAA,IACL,GAAGC;AAAA,EAAA,IACDJ,GAEEK,IAASC,EAAc,EAAE,QAAQC,GAAqB,GACtD,CAACC,GAAaC,CAAc,IAAIJ,EAAO,kBAAkBD,CAAS,GAElEM,IAAUC,EAAuB,IAAI,GACrCC,IAAWD,EAAyB,IAAI,GACxCE,IAAMC,EAAaC,EAAUH,GAAUT,CAAY,CAAC,GAEpD,CAACa,GAAYC,CAAU,IAAIC,EAAkBT,CAAc,GAC3D,EAAE,YAAAU,EAAA,IAAeC,EAAaH,GAAYJ,CAAG,GAE7CQ,IAAa;AAAA,IACjB,iBAAiBF,EAAW,WAAW,SAAS;AAAA,IAChD,gBAAgBA,EAAW,cAAc,IAAI,SAAS;AAAA,EAAA;AAKxD,SAAAG,EAAU,MAAM;AACd,UAAMC,IAAkB,CAACC,MAAsB;AAG7C,MACEd,EAAQ,WACRA,EAAQ,QAAQ,SAASc,EAAM,MAAc,KAC7CZ,EAAS,WACTY,EAAM,WAAWZ,EAAS,WAE1BA,EAAS,QAAQ,MAAA;AAAA,IAErB;AACA,oBAAS,iBAAiB,SAASW,CAAe,GAC3C,MAAM;AACX,eAAS,oBAAoB,SAASA,CAAe;AAAA,IACvD;AAAA,EACF,GAAG,CAAA,CAAE,GAGH,gBAAAE;AAAA,IAAC9B;AAAA,IAAA;AAAA,MACC,KAAKe;AAAA,MACL,WAAWV,GAAO;AAAA,MACjB,GAAGQ;AAAA,MACH,GAAGQ;AAAA,MACH,GAAGK;AAAA,MAEH,UAAA;AAAA,QAAApB,KACC,gBAAAyB,EAAC9B,KACE,UAAAK,EAAA,CACH;AAAA,QAEF,gBAAAyB,EAAC7B,KAAmB,SAAO,IACzB,4BAAC8B,GAAA,EAAM,KAAAd,GAAW,GAAGM,EAAA,CAAY,EAAA,CACnC;AAAA,QACCjB,KACC,gBAAAwB,EAAC5B,GAAA,EACE,UAAAI,EAAA,CACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR;AAEAH,EAAU,cAAc;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import { createSlotRecipeContext as u } from "@chakra-ui/react";
|
|
3
|
-
import { $ as f, a as h, b as g } from "./DateField-
|
|
3
|
+
import { $ as f, a as h, b as g } from "./DateField-DZwn3cIj.es.js";
|
|
4
4
|
import { useRecipe as $ } from "@chakra-ui/react/styled-system";
|
|
5
5
|
import { t as x } from "./index-CtB71yr7.es.js";
|
|
6
|
-
import { e as I } from "./
|
|
6
|
+
import { e as I } from "./extract-style-props-DYXEhLtq.es.js";
|
|
7
7
|
const { withProvider: S, withContext: t } = /* @__PURE__ */ u({
|
|
8
8
|
key: "timeInput"
|
|
9
9
|
}), T = /* @__PURE__ */ S("div", "root"), b = /* @__PURE__ */ t("div", "leadingElement"), P = /* @__PURE__ */ t("div", "trailingElement"), v = /* @__PURE__ */ t("div", "segmentGroup"), E = /* @__PURE__ */ t("div", "segment"), C = (n) => {
|
|
@@ -18,4 +18,4 @@ C.displayName = "TimeInput";
|
|
|
18
18
|
export {
|
|
19
19
|
C as T
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=time-input-
|
|
21
|
+
//# sourceMappingURL=time-input-B6we5H7C.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time-input-B6we5H7C.es.js","sources":["../../src/components/time-input/time-input.slots.tsx","../../src/components/time-input/time-input.tsx"],"sourcesContent":["import {\n type HTMLChakraProps,\n createSlotRecipeContext,\n} from \"@chakra-ui/react\";\nimport type {\n TimeInputRootSlotProps,\n TimeInputLeadingElementSlotProps,\n TimeInputTrailingElementSlotProps,\n} from \"./time-input.types\";\n\n// Correctly destructure from createSlotRecipeContext based on project examples\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"timeInput\",\n});\n\n/**\n * Root component that provides the styling context for the TimeInput component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TimeInputRootSlot = withProvider<\n HTMLDivElement,\n TimeInputRootSlotProps\n>(\"div\", \"root\");\n\nexport const TimeInputLeadingElementSlot = withContext<\n HTMLDivElement,\n TimeInputLeadingElementSlotProps\n>(\"div\", \"leadingElement\");\n\nexport const TimeInputTrailingElementSlot = withContext<\n HTMLDivElement,\n TimeInputTrailingElementSlotProps\n>(\"div\", \"trailingElement\");\n\n/**\n * Slot component for the TimeField part of the TimeInput.\n */\nexport const TimeInputSegmentGroupSlot = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"segmentGroup\");\n\n/**\n * Slot component for the TimeField part of the TimeInput.\n */\nexport const TimeInputSegmentSlot = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"segment\");\n","import {\n TimeInputRootSlot,\n TimeInputLeadingElementSlot,\n TimeInputTrailingElementSlot,\n TimeInputSegmentGroupSlot,\n TimeInputSegmentSlot,\n} from \"./time-input.slots\";\n\nimport { TimeField, DateInput, DateSegment } from \"react-aria-components\";\nimport { useRecipe } from \"@chakra-ui/react/styled-system\";\nimport { timeInputRecipe } from \"./time-input.recipe\";\nimport type { TimeInputProps } from \"./time-input.types\";\nimport { extractStyleProps } from \"@/utils\";\n/**\n * TimeInput\n * ============================================================\n * allows entering a time in the currently selected locale\n */\nexport const TimeInput = (props: TimeInputProps) => {\n const recipe = useRecipe({ recipe: timeInputRecipe });\n const { leadingElement, trailingElement, ...rest } = props;\n const [recipeProps, remainingProps] = recipe.splitVariantProps({ ...rest });\n const [styleProps, otherProps] = extractStyleProps(remainingProps);\n\n return (\n <TimeInputRootSlot asChild {...recipeProps} {...styleProps}>\n <TimeField {...otherProps}>\n {leadingElement && (\n <TimeInputLeadingElementSlot>\n {leadingElement}\n </TimeInputLeadingElementSlot>\n )}\n <TimeInputSegmentGroupSlot asChild>\n <DateInput>\n {(segment) => (\n <TimeInputSegmentSlot asChild>\n <DateSegment segment={segment} />\n </TimeInputSegmentSlot>\n )}\n </DateInput>\n </TimeInputSegmentGroupSlot>\n {trailingElement && (\n <TimeInputTrailingElementSlot>\n {trailingElement}\n </TimeInputTrailingElementSlot>\n )}\n </TimeField>\n </TimeInputRootSlot>\n );\n};\n\nTimeInput.displayName = \"TimeInput\";\n"],"names":["withProvider","withContext","createSlotRecipeContext","TimeInputRootSlot","TimeInputLeadingElementSlot","TimeInputTrailingElementSlot","TimeInputSegmentGroupSlot","TimeInputSegmentSlot","TimeInput","props","recipe","useRecipe","timeInputRecipe","leadingElement","trailingElement","rest","recipeProps","remainingProps","styleProps","otherProps","extractStyleProps","jsx","jsxs","TimeField","DateInput","segment","DateSegment"],"mappings":";;;;;;AAWA,MAAM,EAAE,cAAAA,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,KAAK;AACP,CAAC,GAMYC,IAAoB,gBAAAH,EAG/B,OAAO,MAAM,GAEFI,IAA8B,gBAAAH,EAGzC,OAAO,gBAAgB,GAEZI,IAA+B,gBAAAJ,EAG1C,OAAO,iBAAiB,GAKbK,IAA4B,gBAAAL,EAGvC,OAAO,cAAc,GAKVM,IAAuB,gBAAAN,EAGlC,OAAO,SAAS,GC9BLO,IAAY,CAACC,MAA0B;AAClD,QAAMC,IAASC,EAAU,EAAE,QAAQC,GAAiB,GAC9C,EAAE,gBAAAC,GAAgB,iBAAAC,GAAiB,GAAGC,MAASN,GAC/C,CAACO,GAAaC,CAAc,IAAIP,EAAO,kBAAkB,EAAE,GAAGK,GAAM,GACpE,CAACG,GAAYC,CAAU,IAAIC,EAAkBH,CAAc;AAEjE,SACE,gBAAAI,EAAClB,GAAA,EAAkB,SAAO,IAAE,GAAGa,GAAc,GAAGE,GAC9C,UAAA,gBAAAI,EAACC,GAAA,EAAW,GAAGJ,GACZ,UAAA;AAAA,IAAAN,KACC,gBAAAQ,EAACjB,KACE,UAAAS,EAAA,CACH;AAAA,sBAEDP,GAAA,EAA0B,SAAO,IAChC,UAAA,gBAAAe,EAACG,KACE,UAAA,CAACC,MACA,gBAAAJ,EAACd,GAAA,EAAqB,SAAO,IAC3B,UAAA,gBAAAc,EAACK,KAAY,SAAAD,EAAA,CAAkB,GACjC,GAEJ,EAAA,CACF;AAAA,IACCX,KACC,gBAAAO,EAAChB,GAAA,EACE,UAAAS,EAAA,CACH;AAAA,EAAA,EAAA,CAEJ,EAAA,CACF;AAEJ;AAEAN,EAAU,cAAc;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),x=require("@chakra-ui/react"),i=require("./DateField-CDTSjqvQ.cjs.js"),h=require("@chakra-ui/react/styled-system"),g=require("./index-CRFg4Mhx.cjs.js"),S=require("./extract-style-props-Dk3fpLyQ.cjs.js"),{withProvider:I,withContext:t}=x.createSlotRecipeContext({key:"timeInput"}),j=I("div","root"),T=t("div","leadingElement"),$=t("div","trailingElement"),P=t("div","segmentGroup"),b=t("div","segment"),s=o=>{const c=h.useRecipe({recipe:g.timeInputRecipe}),{leadingElement:n,trailingElement:r,...l}=o,[p,d]=c.splitVariantProps({...l}),[u,m]=S.extractStyleProps(d);return e.jsx(j,{asChild:!0,...p,...u,children:e.jsxs(i.$40825cdb76e74f70$export$5eaee2322dd727eb,{...m,children:[n&&e.jsx(T,{children:n}),e.jsx(P,{asChild:!0,children:e.jsx(i.$40825cdb76e74f70$export$7edc06cf1783b30f,{children:a=>e.jsx(b,{asChild:!0,children:e.jsx(i.$40825cdb76e74f70$export$336ab7fa954c4b5f,{segment:a})})})}),r&&e.jsx($,{children:r})]})})};s.displayName="TimeInput";exports.TimeInput=s;
|
|
2
|
+
//# sourceMappingURL=time-input-CweVZv1Q.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time-input-CweVZv1Q.cjs.js","sources":["../../src/components/time-input/time-input.slots.tsx","../../src/components/time-input/time-input.tsx"],"sourcesContent":["import {\n type HTMLChakraProps,\n createSlotRecipeContext,\n} from \"@chakra-ui/react\";\nimport type {\n TimeInputRootSlotProps,\n TimeInputLeadingElementSlotProps,\n TimeInputTrailingElementSlotProps,\n} from \"./time-input.types\";\n\n// Correctly destructure from createSlotRecipeContext based on project examples\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"timeInput\",\n});\n\n/**\n * Root component that provides the styling context for the TimeInput component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TimeInputRootSlot = withProvider<\n HTMLDivElement,\n TimeInputRootSlotProps\n>(\"div\", \"root\");\n\nexport const TimeInputLeadingElementSlot = withContext<\n HTMLDivElement,\n TimeInputLeadingElementSlotProps\n>(\"div\", \"leadingElement\");\n\nexport const TimeInputTrailingElementSlot = withContext<\n HTMLDivElement,\n TimeInputTrailingElementSlotProps\n>(\"div\", \"trailingElement\");\n\n/**\n * Slot component for the TimeField part of the TimeInput.\n */\nexport const TimeInputSegmentGroupSlot = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"segmentGroup\");\n\n/**\n * Slot component for the TimeField part of the TimeInput.\n */\nexport const TimeInputSegmentSlot = withContext<\n HTMLDivElement,\n HTMLChakraProps<\"div\">\n>(\"div\", \"segment\");\n","import {\n TimeInputRootSlot,\n TimeInputLeadingElementSlot,\n TimeInputTrailingElementSlot,\n TimeInputSegmentGroupSlot,\n TimeInputSegmentSlot,\n} from \"./time-input.slots\";\n\nimport { TimeField, DateInput, DateSegment } from \"react-aria-components\";\nimport { useRecipe } from \"@chakra-ui/react/styled-system\";\nimport { timeInputRecipe } from \"./time-input.recipe\";\nimport type { TimeInputProps } from \"./time-input.types\";\nimport { extractStyleProps } from \"@/utils\";\n/**\n * TimeInput\n * ============================================================\n * allows entering a time in the currently selected locale\n */\nexport const TimeInput = (props: TimeInputProps) => {\n const recipe = useRecipe({ recipe: timeInputRecipe });\n const { leadingElement, trailingElement, ...rest } = props;\n const [recipeProps, remainingProps] = recipe.splitVariantProps({ ...rest });\n const [styleProps, otherProps] = extractStyleProps(remainingProps);\n\n return (\n <TimeInputRootSlot asChild {...recipeProps} {...styleProps}>\n <TimeField {...otherProps}>\n {leadingElement && (\n <TimeInputLeadingElementSlot>\n {leadingElement}\n </TimeInputLeadingElementSlot>\n )}\n <TimeInputSegmentGroupSlot asChild>\n <DateInput>\n {(segment) => (\n <TimeInputSegmentSlot asChild>\n <DateSegment segment={segment} />\n </TimeInputSegmentSlot>\n )}\n </DateInput>\n </TimeInputSegmentGroupSlot>\n {trailingElement && (\n <TimeInputTrailingElementSlot>\n {trailingElement}\n </TimeInputTrailingElementSlot>\n )}\n </TimeField>\n </TimeInputRootSlot>\n );\n};\n\nTimeInput.displayName = \"TimeInput\";\n"],"names":["withProvider","withContext","createSlotRecipeContext","TimeInputRootSlot","TimeInputLeadingElementSlot","TimeInputTrailingElementSlot","TimeInputSegmentGroupSlot","TimeInputSegmentSlot","TimeInput","props","recipe","useRecipe","timeInputRecipe","leadingElement","trailingElement","rest","recipeProps","remainingProps","styleProps","otherProps","extractStyleProps","jsx","jsxs","TimeField","DateInput","segment","DateSegment"],"mappings":"6PAWM,CAAE,aAAAA,EAAc,YAAAC,CAAA,EAAgBC,0BAAwB,CAC5D,IAAK,WACP,CAAC,EAMYC,EAAoBH,EAG/B,MAAO,MAAM,EAEFI,EAA8BH,EAGzC,MAAO,gBAAgB,EAEZI,EAA+BJ,EAG1C,MAAO,iBAAiB,EAKbK,EAA4BL,EAGvC,MAAO,cAAc,EAKVM,EAAuBN,EAGlC,MAAO,SAAS,EC9BLO,EAAaC,GAA0B,CAClD,MAAMC,EAASC,EAAAA,UAAU,CAAE,OAAQC,EAAAA,gBAAiB,EAC9C,CAAE,eAAAC,EAAgB,gBAAAC,EAAiB,GAAGC,GAASN,EAC/C,CAACO,EAAaC,CAAc,EAAIP,EAAO,kBAAkB,CAAE,GAAGK,EAAM,EACpE,CAACG,EAAYC,CAAU,EAAIC,EAAAA,kBAAkBH,CAAc,EAEjE,OACEI,EAAAA,IAAClB,EAAA,CAAkB,QAAO,GAAE,GAAGa,EAAc,GAAGE,EAC9C,SAAAI,EAAAA,KAACC,EAAAA,0CAAA,CAAW,GAAGJ,EACZ,SAAA,CAAAN,GACCQ,EAAAA,IAACjB,GACE,SAAAS,CAAA,CACH,QAEDP,EAAA,CAA0B,QAAO,GAChC,SAAAe,EAAAA,IAACG,6CACE,SAACC,GACAJ,EAAAA,IAACd,EAAA,CAAqB,QAAO,GAC3B,SAAAc,EAAAA,IAACK,6CAAY,QAAAD,CAAA,CAAkB,EACjC,EAEJ,CAAA,CACF,EACCX,GACCO,EAAAA,IAAChB,EAAA,CACE,SAAAS,CAAA,CACH,CAAA,CAAA,CAEJ,CAAA,CACF,CAEJ,EAEAN,EAAU,YAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("@chakra-ui/react/styled-system"),a=require("./ToggleButton-1I5cetxI.cjs.js"),d=require("./extract-style-props-Dk3fpLyQ.cjs.js"),p=require("@chakra-ui/react"),g=require("./emotion-is-prop-valid.esm-ux_11lix.cjs.js"),P=require("./index-CRFg4Mhx.cjs.js"),{withContext:y}=p.createRecipeContext({key:"toggleButton"}),x=y("button",{defaultProps:{type:"button"},shouldForwardProp(e,t){const o=!t?.includes(e)&&!P.system.isValidProperty(e);return g.isPropValid(e)&&o&&!e.includes("onPress")}}),s=({ref:e,...t})=>{const o=l.useRecipe({key:"toggleButton"}),[n,i]=o.splitVariantProps(t),[c,u]=d.extractStyleProps(i);return r.jsx(x,{...n,...c,asChild:!0,children:r.jsx(a.$efde0372d7a700fe$export$d2b052e7b4be1756,{ref:e,...u})})};s.displayName="ToggleButton";exports.ToggleButton=s;
|
|
2
|
+
//# sourceMappingURL=toggle-button-CLEgCPGX.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle-button-CLEgCPGX.cjs.js","sources":["../../src/components/toggle-button/toggle-button.slots.tsx","../../src/components/toggle-button/toggle-button.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport shouldForwardProp from \"@emotion/is-prop-valid\";\nimport { system } from \"@/theme\";\nimport type { ToggleButtonRootSlotProps } from \"./toggle-button.types\";\n\nconst { withContext } = createRecipeContext({\n key: \"toggleButton\",\n});\n\n/**\n * Root component that provides the styling context for the ToggleButton component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ToggleButtonRoot = withContext<\n HTMLButtonElement,\n ToggleButtonRootSlotProps\n>(\"button\", {\n defaultProps: {\n type: \"button\",\n },\n /** make sure the `onPress` properties won't end up as attribute on the rendered DOM element */\n shouldForwardProp(prop, variantKeys) {\n const chakraSfp =\n !variantKeys?.includes(prop) && !system.isValidProperty(prop);\n return shouldForwardProp(prop) && chakraSfp && !prop.includes(\"onPress\");\n },\n});\n","import { useRecipe } from \"@chakra-ui/react/styled-system\";\nimport { ToggleButton as RaToggleButton } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils\";\n\nimport { ToggleButtonRoot } from \"./toggle-button.slots\";\nimport type { ToggleButtonProps } from \"./toggle-button.types\";\n\n/**\n * # ToggleButton\n *\n * A toggleable button component that can be pressed to switch between\n * selected and unselected states.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/togglebutton}\n */\nexport const ToggleButton = ({\n ref: forwardedRef,\n ...props\n}: ToggleButtonProps) => {\n const recipe = useRecipe({ key: \"toggleButton\" });\n const [recipeProps, restRecipeProps] = recipe.splitVariantProps(props);\n const [styleProps, functionalProps] = extractStyleProps(restRecipeProps);\n\n return (\n <ToggleButtonRoot {...recipeProps} {...styleProps} asChild>\n <RaToggleButton ref={forwardedRef} {...functionalProps} />\n </ToggleButtonRoot>\n );\n};\n\nToggleButton.displayName = \"ToggleButton\";\n"],"names":["withContext","createRecipeContext","ToggleButtonRoot","prop","variantKeys","chakraSfp","system","shouldForwardProp","ToggleButton","forwardedRef","props","recipe","useRecipe","recipeProps","restRecipeProps","styleProps","functionalProps","extractStyleProps","jsx","RaToggleButton"],"mappings":"yTAKM,CAAE,YAAAA,CAAA,EAAgBC,sBAAoB,CAC1C,IAAK,cACP,CAAC,EAMYC,EAAmBF,EAG9B,SAAU,CACV,aAAc,CACZ,KAAM,QAAA,EAGR,kBAAkBG,EAAMC,EAAa,CACnC,MAAMC,EACJ,CAACD,GAAa,SAASD,CAAI,GAAK,CAACG,EAAAA,OAAO,gBAAgBH,CAAI,EAC9D,OAAOI,EAAAA,YAAkBJ,CAAI,GAAKE,GAAa,CAACF,EAAK,SAAS,SAAS,CACzE,CACF,CAAC,ECXYK,EAAe,CAAC,CAC3B,IAAKC,EACL,GAAGC,CACL,IAAyB,CACvB,MAAMC,EAASC,EAAAA,UAAU,CAAE,IAAK,eAAgB,EAC1C,CAACC,EAAaC,CAAe,EAAIH,EAAO,kBAAkBD,CAAK,EAC/D,CAACK,EAAYC,CAAe,EAAIC,EAAAA,kBAAkBH,CAAe,EAEvE,OACEI,EAAAA,IAAChB,EAAA,CAAkB,GAAGW,EAAc,GAAGE,EAAY,QAAO,GACxD,SAAAG,EAAAA,IAACC,EAAAA,0CAAA,CAAe,IAAKV,EAAe,GAAGO,EAAiB,EAC1D,CAEJ,EAEAR,EAAa,YAAc"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useRecipe as a } from "@chakra-ui/react/styled-system";
|
|
3
3
|
import { $ as c } from "./ToggleButton-881iW8P_.es.js";
|
|
4
|
-
import { e as l } from "./
|
|
4
|
+
import { e as l } from "./extract-style-props-DYXEhLtq.es.js";
|
|
5
5
|
import { createRecipeContext as m } from "@chakra-ui/react";
|
|
6
6
|
import { i as u } from "./emotion-is-prop-valid.esm-BUuA3iy8.es.js";
|
|
7
7
|
import { s as f } from "./index-CtB71yr7.es.js";
|
|
@@ -27,4 +27,4 @@ g.displayName = "ToggleButton";
|
|
|
27
27
|
export {
|
|
28
28
|
g as T
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=toggle-button-
|
|
30
|
+
//# sourceMappingURL=toggle-button-D3M4e72c.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle-button-D3M4e72c.es.js","sources":["../../src/components/toggle-button/toggle-button.slots.tsx","../../src/components/toggle-button/toggle-button.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport shouldForwardProp from \"@emotion/is-prop-valid\";\nimport { system } from \"@/theme\";\nimport type { ToggleButtonRootSlotProps } from \"./toggle-button.types\";\n\nconst { withContext } = createRecipeContext({\n key: \"toggleButton\",\n});\n\n/**\n * Root component that provides the styling context for the ToggleButton component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ToggleButtonRoot = withContext<\n HTMLButtonElement,\n ToggleButtonRootSlotProps\n>(\"button\", {\n defaultProps: {\n type: \"button\",\n },\n /** make sure the `onPress` properties won't end up as attribute on the rendered DOM element */\n shouldForwardProp(prop, variantKeys) {\n const chakraSfp =\n !variantKeys?.includes(prop) && !system.isValidProperty(prop);\n return shouldForwardProp(prop) && chakraSfp && !prop.includes(\"onPress\");\n },\n});\n","import { useRecipe } from \"@chakra-ui/react/styled-system\";\nimport { ToggleButton as RaToggleButton } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils\";\n\nimport { ToggleButtonRoot } from \"./toggle-button.slots\";\nimport type { ToggleButtonProps } from \"./toggle-button.types\";\n\n/**\n * # ToggleButton\n *\n * A toggleable button component that can be pressed to switch between\n * selected and unselected states.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/togglebutton}\n */\nexport const ToggleButton = ({\n ref: forwardedRef,\n ...props\n}: ToggleButtonProps) => {\n const recipe = useRecipe({ key: \"toggleButton\" });\n const [recipeProps, restRecipeProps] = recipe.splitVariantProps(props);\n const [styleProps, functionalProps] = extractStyleProps(restRecipeProps);\n\n return (\n <ToggleButtonRoot {...recipeProps} {...styleProps} asChild>\n <RaToggleButton ref={forwardedRef} {...functionalProps} />\n </ToggleButtonRoot>\n );\n};\n\nToggleButton.displayName = \"ToggleButton\";\n"],"names":["withContext","createRecipeContext","ToggleButtonRoot","prop","variantKeys","chakraSfp","system","shouldForwardProp","ToggleButton","forwardedRef","props","recipe","useRecipe","recipeProps","restRecipeProps","styleProps","functionalProps","extractStyleProps","jsx","RaToggleButton"],"mappings":";;;;;;;AAKA,MAAM,EAAE,aAAAA,EAAA,IAAgB,gBAAAC,EAAoB;AAAA,EAC1C,KAAK;AACP,CAAC,GAMYC,IAAmB,gBAAAF,EAG9B,UAAU;AAAA,EACV,cAAc;AAAA,IACZ,MAAM;AAAA,EAAA;AAAA;AAAA,EAGR,kBAAkBG,GAAMC,GAAa;AACnC,UAAMC,IACJ,CAACD,GAAa,SAASD,CAAI,KAAK,CAACG,EAAO,gBAAgBH,CAAI;AAC9D,WAAOI,EAAkBJ,CAAI,KAAKE,KAAa,CAACF,EAAK,SAAS,SAAS;AAAA,EACzE;AACF,CAAC,GCXYK,IAAe,CAAC;AAAA,EAC3B,KAAKC;AAAA,EACL,GAAGC;AACL,MAAyB;AACvB,QAAMC,IAASC,EAAU,EAAE,KAAK,gBAAgB,GAC1C,CAACC,GAAaC,CAAe,IAAIH,EAAO,kBAAkBD,CAAK,GAC/D,CAACK,GAAYC,CAAe,IAAIC,EAAkBH,CAAe;AAEvE,SACE,gBAAAI,EAAChB,GAAA,EAAkB,GAAGW,GAAc,GAAGE,GAAY,SAAO,IACxD,UAAA,gBAAAG,EAACC,GAAA,EAAe,KAAKV,GAAe,GAAGO,GAAiB,GAC1D;AAEJ;AAEAR,EAAa,cAAc;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { createRecipeContext as d, useRecipe as $, useChakraContext as m, useBreakpointValue as p } from "@chakra-ui/react";
|
|
3
|
-
import { e as b } from "./
|
|
3
|
+
import { e as b } from "./extract-style-props-DYXEhLtq.es.js";
|
|
4
4
|
import { c as u } from "./index-CtB71yr7.es.js";
|
|
5
5
|
import { $ as x, a as P } from "./utils-Cyja2WdR.es.js";
|
|
6
6
|
import { $ as h } from "./useToolbar-CnYu1bn9.es.js";
|
|
@@ -58,4 +58,4 @@ const v = /* @__PURE__ */ T({}), k = /* @__PURE__ */ y(function(o, t) {
|
|
|
58
58
|
export {
|
|
59
59
|
S as T
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=toolbar-
|
|
61
|
+
//# sourceMappingURL=toolbar-Bn9pAwjU.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-Bn9pAwjU.es.js","sources":["../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Toolbar.mjs","../../src/components/toolbar/toolbar.slots.tsx","../../src/components/toolbar/toolbar.tsx"],"sourcesContent":["import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {useToolbar as $8qPHH$useToolbar} from \"@react-aria/toolbar\";\nimport {filterDOMProps as $8qPHH$filterDOMProps, mergeProps as $8qPHH$mergeProps} from \"@react-aria/utils\";\nimport $8qPHH$react, {createContext as $8qPHH$createContext, forwardRef as $8qPHH$forwardRef} from \"react\";\n\n/*\n * Copyright 2023 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\nconst $13c3c67164f4d5be$export$6311e7ab80ef752f = /*#__PURE__*/ (0, $8qPHH$createContext)({});\nconst $13c3c67164f4d5be$export$4c260019440d418f = /*#__PURE__*/ (0, $8qPHH$forwardRef)(function Toolbar(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $13c3c67164f4d5be$export$6311e7ab80ef752f);\n let { toolbarProps: toolbarProps } = (0, $8qPHH$useToolbar)(props, ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n orientation: props.orientation || 'horizontal'\n },\n defaultClassName: 'react-aria-Toolbar'\n });\n let DOMProps = (0, $8qPHH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8qPHH$react).createElement(\"div\", {\n ...(0, $8qPHH$mergeProps)(DOMProps, renderProps, toolbarProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-orientation\": props.orientation || 'horizontal'\n }, renderProps.children);\n});\n\n\nexport {$13c3c67164f4d5be$export$6311e7ab80ef752f as ToolbarContext, $13c3c67164f4d5be$export$4c260019440d418f as Toolbar};\n//# sourceMappingURL=Toolbar.module.js.map\n","import { createRecipeContext } from \"@chakra-ui/react\";\nimport type { ToolbarRootSlotProps } from \"./toolbar.types\";\n\nconst { withContext } = createRecipeContext({\n key: \"toolbar\",\n});\n\n/**\n * Slot component that provides the styling context for the Group component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ToolbarRoot = withContext<HTMLDivElement, ToolbarRootSlotProps>(\n \"div\"\n);\n","import { ToolbarRoot } from \"./toolbar.slots.tsx\";\nimport type { ToolbarComponent, ToolbarProps } from \"./toolbar.types.ts\";\nimport {\n useBreakpointValue,\n useChakraContext,\n useRecipe,\n} from \"@chakra-ui/react\";\nimport { extractStyleProps } from \"@/utils\";\nimport { toolbarRecipe } from \"./toolbar.recipe.ts\";\nimport { Toolbar as RaToolbar } from \"react-aria-components\";\n\nexport const Toolbar: ToolbarComponent = ({\n ref: forwardedRef,\n orientation = \"horizontal\",\n ...props\n}: ToolbarProps) => {\n const recipe = useRecipe({ recipe: toolbarRecipe });\n const [recipeProps, variantFreeProps] = recipe.splitVariantProps({\n orientation,\n ...props,\n });\n const [styleProps, functionalProps] = extractStyleProps(variantFreeProps);\n\n const sysCtx = useChakraContext();\n\n // The react-aria Toolbar does not support responsive values for the\n // `orientation` prop. We normalize `orientation` to a string\n // (\"horizontal\" or \"vertical\") using `system.normalizeValue` and\n // `useBreakpointValue` to ensure a concrete value is passed.\n\n const normalizedOrientation = sysCtx.normalizeValue(orientation);\n const computedOrientation: \"horizontal\" | \"vertical\" =\n useBreakpointValue(normalizedOrientation) ?? \"horizontal\";\n\n return (\n <ToolbarRoot\n orientation={orientation}\n {...recipeProps}\n {...styleProps}\n asChild\n >\n <RaToolbar\n ref={forwardedRef}\n orientation={computedOrientation}\n {...functionalProps}\n />\n </ToolbarRoot>\n );\n};\n"],"names":["$13c3c67164f4d5be$export$6311e7ab80ef752f","$8qPHH$createContext","$13c3c67164f4d5be$export$4c260019440d418f","$8qPHH$forwardRef","props","ref","$64fa3d84918910a7$export$29f1550f4b0d4415","toolbarProps","$8qPHH$useToolbar","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$8qPHH$filterDOMProps","$8qPHH$react","$8qPHH$mergeProps","withContext","createRecipeContext","ToolbarRoot","Toolbar","forwardedRef","orientation","recipe","useRecipe","toolbarRecipe","recipeProps","variantFreeProps","styleProps","functionalProps","extractStyleProps","normalizedOrientation","useChakraContext","computedOrientation","useBreakpointValue","jsx","RaToolbar"],"mappings":";;;;;;;;;AAmBA,MAAMA,IAA8DC,gBAAAA,EAAsB,EAAE,GACtFC,IAA8DC,gBAAAA,EAAmB,SAAiBC,GAAOC,GAAK;AAChH,GAACD,GAAOC,CAAG,IAAQC,EAA2CF,GAAOC,GAAKL,CAAyC;AACnH,MAAI,EAAE,cAAcO,EAAY,IAASC,EAAmBJ,GAAOC,CAAG,GAClEI,IAAkBC,EAAyC;AAAA,IAC3D,GAAGN;AAAA,IACH,QAAQ;AAAA,MACJ,aAAaA,EAAM,eAAe;AAAA,IAC9C;AAAA,IACQ,kBAAkB;AAAA,EAC1B,CAAK,GACGO,IAAeC,EAAuBR,GAAO;AAAA,IAC7C,QAAQ;AAAA,EAChB,CAAK;AACD,gBAAOO,EAAS,IACSE,gBAAAA,EAAc,cAAc,OAAO;AAAA,IACxD,GAAOC,EAAmBH,GAAUF,GAAaF,CAAY;AAAA,IAC7D,KAAKF;AAAA,IACL,MAAMD,EAAM,QAAQ;AAAA,IACpB,oBAAoBA,EAAM,eAAe;AAAA,EACjD,GAAOK,EAAY,QAAQ;AAC3B,CAAC,GCrCK,EAAE,aAAAM,EAAA,IAAgB,gBAAAC,EAAoB;AAAA,EAC1C,KAAK;AACP,CAAC,GAMYC,IAAc,gBAAAF;AAAA,EACzB;AACF,GCFaG,IAA4B,CAAC;AAAA,EACxC,KAAKC;AAAA,EACL,aAAAC,IAAc;AAAA,EACd,GAAGhB;AACL,MAAoB;AAClB,QAAMiB,IAASC,EAAU,EAAE,QAAQC,GAAe,GAC5C,CAACC,GAAaC,CAAgB,IAAIJ,EAAO,kBAAkB;AAAA,IAC/D,aAAAD;AAAA,IACA,GAAGhB;AAAA,EAAA,CACJ,GACK,CAACsB,GAAYC,CAAe,IAAIC,EAAkBH,CAAgB,GASlEI,IAPSC,EAAA,EAOsB,eAAeV,CAAW,GACzDW,IACJC,EAAmBH,CAAqB,KAAK;AAE/C,SACE,gBAAAI;AAAA,IAAChB;AAAA,IAAA;AAAA,MACC,aAAAG;AAAA,MACC,GAAGI;AAAA,MACH,GAAGE;AAAA,MACJ,SAAO;AAAA,MAEP,UAAA,gBAAAO;AAAA,QAACC;AAAAA,QAAA;AAAA,UACC,KAAKf;AAAA,UACL,aAAaY;AAAA,UACZ,GAAGJ;AAAA,QAAA;AAAA,MAAA;AAAA,IACN;AAAA,EAAA;AAGN;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),n=require("@chakra-ui/react"),$=require("./extract-style-props-Dk3fpLyQ.cjs.js"),x=require("./index-CRFg4Mhx.cjs.js"),l=require("./utils-BHdR5Nww.cjs.js"),p=require("./useToolbar-iBRLn7DA.cjs.js"),P=require("./mergeProps-BA5Cwf5w.cjs.js"),h=require("./filterDOMProps-WUskt27c.cjs.js"),c=require("react"),q=c.createContext({}),C=c.forwardRef(function(e,t){[e,t]=l.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,q);let{toolbarProps:a}=p.$2680b1829e803644$export$fa142eb1681c520(e,t),o=l.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{orientation:e.orientation||"horizontal"},defaultClassName:"react-aria-Toolbar"}),r=h.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return delete r.id,c.createElement("div",{...P.$3ef42575df84b30b$export$9d1611c77c2fe928(r,o,a),ref:t,slot:e.slot||void 0,"data-orientation":e.orientation||"horizontal"},o.children)}),{withContext:m}=n.createRecipeContext({key:"toolbar"}),R=m("div"),y=({ref:i,orientation:e="horizontal",...t})=>{const a=n.useRecipe({recipe:x.toolbarRecipe}),[o,r]=a.splitVariantProps({orientation:e,...t}),[d,u]=$.extractStyleProps(r),f=n.useChakraContext().normalizeValue(e),b=n.useBreakpointValue(f)??"horizontal";return s.jsx(R,{orientation:e,...o,...d,asChild:!0,children:s.jsx(C,{ref:i,orientation:b,...u})})};exports.Toolbar=y;
|
|
2
|
+
//# sourceMappingURL=toolbar-D3Jj83mp.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar-
|
|
1
|
+
{"version":3,"file":"toolbar-D3Jj83mp.cjs.js","sources":["../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Toolbar.mjs","../../src/components/toolbar/toolbar.slots.tsx","../../src/components/toolbar/toolbar.tsx"],"sourcesContent":["import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {useToolbar as $8qPHH$useToolbar} from \"@react-aria/toolbar\";\nimport {filterDOMProps as $8qPHH$filterDOMProps, mergeProps as $8qPHH$mergeProps} from \"@react-aria/utils\";\nimport $8qPHH$react, {createContext as $8qPHH$createContext, forwardRef as $8qPHH$forwardRef} from \"react\";\n\n/*\n * Copyright 2023 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\nconst $13c3c67164f4d5be$export$6311e7ab80ef752f = /*#__PURE__*/ (0, $8qPHH$createContext)({});\nconst $13c3c67164f4d5be$export$4c260019440d418f = /*#__PURE__*/ (0, $8qPHH$forwardRef)(function Toolbar(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $13c3c67164f4d5be$export$6311e7ab80ef752f);\n let { toolbarProps: toolbarProps } = (0, $8qPHH$useToolbar)(props, ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n orientation: props.orientation || 'horizontal'\n },\n defaultClassName: 'react-aria-Toolbar'\n });\n let DOMProps = (0, $8qPHH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8qPHH$react).createElement(\"div\", {\n ...(0, $8qPHH$mergeProps)(DOMProps, renderProps, toolbarProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-orientation\": props.orientation || 'horizontal'\n }, renderProps.children);\n});\n\n\nexport {$13c3c67164f4d5be$export$6311e7ab80ef752f as ToolbarContext, $13c3c67164f4d5be$export$4c260019440d418f as Toolbar};\n//# sourceMappingURL=Toolbar.module.js.map\n","import { createRecipeContext } from \"@chakra-ui/react\";\nimport type { ToolbarRootSlotProps } from \"./toolbar.types\";\n\nconst { withContext } = createRecipeContext({\n key: \"toolbar\",\n});\n\n/**\n * Slot component that provides the styling context for the Group component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ToolbarRoot = withContext<HTMLDivElement, ToolbarRootSlotProps>(\n \"div\"\n);\n","import { ToolbarRoot } from \"./toolbar.slots.tsx\";\nimport type { ToolbarComponent, ToolbarProps } from \"./toolbar.types.ts\";\nimport {\n useBreakpointValue,\n useChakraContext,\n useRecipe,\n} from \"@chakra-ui/react\";\nimport { extractStyleProps } from \"@/utils\";\nimport { toolbarRecipe } from \"./toolbar.recipe.ts\";\nimport { Toolbar as RaToolbar } from \"react-aria-components\";\n\nexport const Toolbar: ToolbarComponent = ({\n ref: forwardedRef,\n orientation = \"horizontal\",\n ...props\n}: ToolbarProps) => {\n const recipe = useRecipe({ recipe: toolbarRecipe });\n const [recipeProps, variantFreeProps] = recipe.splitVariantProps({\n orientation,\n ...props,\n });\n const [styleProps, functionalProps] = extractStyleProps(variantFreeProps);\n\n const sysCtx = useChakraContext();\n\n // The react-aria Toolbar does not support responsive values for the\n // `orientation` prop. We normalize `orientation` to a string\n // (\"horizontal\" or \"vertical\") using `system.normalizeValue` and\n // `useBreakpointValue` to ensure a concrete value is passed.\n\n const normalizedOrientation = sysCtx.normalizeValue(orientation);\n const computedOrientation: \"horizontal\" | \"vertical\" =\n useBreakpointValue(normalizedOrientation) ?? \"horizontal\";\n\n return (\n <ToolbarRoot\n orientation={orientation}\n {...recipeProps}\n {...styleProps}\n asChild\n >\n <RaToolbar\n ref={forwardedRef}\n orientation={computedOrientation}\n {...functionalProps}\n />\n </ToolbarRoot>\n );\n};\n"],"names":["$13c3c67164f4d5be$export$6311e7ab80ef752f","$8qPHH$createContext","$13c3c67164f4d5be$export$4c260019440d418f","$8qPHH$forwardRef","props","ref","$64fa3d84918910a7$export$29f1550f4b0d4415","toolbarProps","$8qPHH$useToolbar","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$8qPHH$filterDOMProps","$8qPHH$react","$8qPHH$mergeProps","withContext","createRecipeContext","ToolbarRoot","Toolbar","forwardedRef","orientation","recipe","useRecipe","toolbarRecipe","recipeProps","variantFreeProps","styleProps","functionalProps","extractStyleProps","normalizedOrientation","useChakraContext","computedOrientation","useBreakpointValue","jsx","RaToolbar"],"mappings":"kWAmBMA,EAA8DC,EAAAA,cAAsB,EAAE,EACtFC,EAA8DC,EAAAA,WAAmB,SAAiBC,EAAOC,EAAK,CAChH,CAACD,EAAOC,CAAG,EAAQC,EAAAA,0CAA2CF,EAAOC,EAAKL,CAAyC,EACnH,GAAI,CA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