@commercetools/nimbus 3.3.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{Button-FcraQeen.esm.js → Button-B5g2BgY8.esm.js} +2 -2
- package/dist/chunks/{Button-FcraQeen.esm.js.map → Button-B5g2BgY8.esm.js.map} +1 -1
- package/dist/chunks/{Button-z5JjDtpy.cjs → Button-CZDjIKB1.cjs} +2 -2
- package/dist/chunks/{Button-z5JjDtpy.cjs.map → Button-CZDjIKB1.cjs.map} +1 -1
- package/dist/chunks/{Calendar-1qYv3Pn9.cjs → Calendar-B-gzTAl8.cjs} +2 -2
- package/dist/chunks/{Calendar-1qYv3Pn9.cjs.map → Calendar-B-gzTAl8.cjs.map} +1 -1
- package/dist/chunks/{Calendar-oiqHeWzY.esm.js → Calendar-B6F41FfL.esm.js} +2 -2
- package/dist/chunks/{Calendar-oiqHeWzY.esm.js.map → Calendar-B6F41FfL.esm.js.map} +1 -1
- package/dist/chunks/Collection-CgMG1nwQ.esm.js +53 -0
- package/dist/chunks/Collection-CgMG1nwQ.esm.js.map +1 -0
- package/dist/chunks/Collection-yMt_pwdK.cjs +2 -0
- package/dist/chunks/Collection-yMt_pwdK.cjs.map +1 -0
- package/dist/chunks/DateField-CHfV6zH4.cjs +2 -0
- package/dist/chunks/{DateField-DI1RhZqo.cjs.map → DateField-CHfV6zH4.cjs.map} +1 -1
- package/dist/chunks/{DateField-DUetJOyf.esm.js → DateField-C_r7fpt5.esm.js} +49 -48
- package/dist/chunks/{DateField-DUetJOyf.esm.js.map → DateField-C_r7fpt5.esm.js.map} +1 -1
- package/dist/chunks/{DatePicker-DRwvjTID.cjs → DatePicker--pX-2Qq-.cjs} +2 -2
- package/dist/chunks/{DatePicker-DRwvjTID.cjs.map → DatePicker--pX-2Qq-.cjs.map} +1 -1
- package/dist/chunks/{DatePicker-DeVufONT.esm.js → DatePicker-xQCOjOZ5.esm.js} +6 -6
- package/dist/chunks/{DatePicker-DeVufONT.esm.js.map → DatePicker-xQCOjOZ5.esm.js.map} +1 -1
- package/dist/chunks/{Dialog-tQOfG_On.esm.js → Dialog-Dy3vyR1i.esm.js} +488 -487
- package/dist/chunks/{Dialog-tQOfG_On.esm.js.map → Dialog-Dy3vyR1i.esm.js.map} +1 -1
- package/dist/chunks/Dialog-UjK50qiN.cjs +6 -0
- package/dist/chunks/{Dialog-s5tFTj72.cjs.map → Dialog-UjK50qiN.cjs.map} +1 -1
- package/dist/chunks/{Header-Cmmm6XZs.cjs → Header-Bp89-vFq.cjs} +2 -2
- package/dist/chunks/{Header-Cmmm6XZs.cjs.map → Header-Bp89-vFq.cjs.map} +1 -1
- package/dist/chunks/{Header-CdFIlJp5.esm.js → Header-CwBpRO8i.esm.js} +2 -2
- package/dist/chunks/{Header-CdFIlJp5.esm.js.map → Header-CwBpRO8i.esm.js.map} +1 -1
- package/dist/chunks/Link-BmoXcCA3.cjs +2 -0
- package/dist/chunks/Link-BmoXcCA3.cjs.map +1 -0
- package/dist/chunks/Link-D_CNmmCC.esm.js +41 -0
- package/dist/chunks/Link-D_CNmmCC.esm.js.map +1 -0
- package/dist/chunks/{ListBox-DlI6zwM7.esm.js → ListBox-B8JwiURT.esm.js} +62 -61
- package/dist/chunks/{ListBox-DlI6zwM7.esm.js.map → ListBox-B8JwiURT.esm.js.map} +1 -1
- package/dist/chunks/ListBox-Ccgvv13w.cjs +2 -0
- package/dist/chunks/{ListBox-CXgfDQSn.cjs.map → ListBox-Ccgvv13w.cjs.map} +1 -1
- package/dist/chunks/{Modal-BG58sEN8.esm.js → Modal-B0a1NTkk.esm.js} +3 -3
- package/dist/chunks/{Modal-BG58sEN8.esm.js.map → Modal-B0a1NTkk.esm.js.map} +1 -1
- package/dist/chunks/{Modal-B5d_4wBp.cjs → Modal-BhGqV2ga.cjs} +2 -2
- package/dist/chunks/{Modal-B5d_4wBp.cjs.map → Modal-BhGqV2ga.cjs.map} +1 -1
- package/dist/chunks/{ProgressBar-BleovkZ3.esm.js → ProgressBar-6_KRPPYN.esm.js} +2 -2
- package/dist/chunks/{ProgressBar-BleovkZ3.esm.js.map → ProgressBar-6_KRPPYN.esm.js.map} +1 -1
- package/dist/chunks/{ProgressBar-DAbyWfVX.cjs → ProgressBar-nd1ahEJC.cjs} +2 -2
- package/dist/chunks/{ProgressBar-DAbyWfVX.cjs.map → ProgressBar-nd1ahEJC.cjs.map} +1 -1
- package/dist/chunks/{accordion-BYfM5qEG.cjs → accordion-BJQKQHIG.cjs} +2 -2
- package/dist/chunks/{accordion-BYfM5qEG.cjs.map → accordion-BJQKQHIG.cjs.map} +1 -1
- package/dist/chunks/{accordion-BqlBCwmN.esm.js → accordion-DPnhySdl.esm.js} +2 -2
- package/dist/chunks/{accordion-BqlBCwmN.esm.js.map → accordion-DPnhySdl.esm.js.map} +1 -1
- package/dist/chunks/{alert-C4J2fv__.esm.js → alert-Coz95VgD.esm.js} +2 -2
- package/dist/chunks/{alert-C4J2fv__.esm.js.map → alert-Coz95VgD.esm.js.map} +1 -1
- package/dist/chunks/{alert-BeQzAjMf.cjs → alert-GP75E0QV.cjs} +2 -2
- package/dist/chunks/{alert-BeQzAjMf.cjs.map → alert-GP75E0QV.cjs.map} +1 -1
- package/dist/chunks/breadcrumbs-1MAxlCTS.esm.js +322 -0
- package/dist/chunks/breadcrumbs-1MAxlCTS.esm.js.map +1 -0
- package/dist/chunks/breadcrumbs-TP5PrTuN.cjs +2 -0
- package/dist/chunks/breadcrumbs-TP5PrTuN.cjs.map +1 -0
- package/dist/chunks/{button-Dc_J_PNN.cjs → button-D6f5OX0h.cjs} +2 -2
- package/dist/chunks/{button-Dc_J_PNN.cjs.map → button-D6f5OX0h.cjs.map} +1 -1
- package/dist/chunks/{button-BhvlZrT2.esm.js → button-DyM-iqBq.esm.js} +3 -3
- package/dist/chunks/{button-BhvlZrT2.esm.js.map → button-DyM-iqBq.esm.js.map} +1 -1
- package/dist/chunks/{calendar-DS0rNrhj.cjs → calendar-YtVTt0Tm.cjs} +2 -2
- package/dist/chunks/{calendar-DS0rNrhj.cjs.map → calendar-YtVTt0Tm.cjs.map} +1 -1
- package/dist/chunks/{calendar-C5GZoGge.esm.js → calendar-bydCjK4Q.esm.js} +5 -5
- package/dist/chunks/{calendar-C5GZoGge.esm.js.map → calendar-bydCjK4Q.esm.js.map} +1 -1
- package/dist/chunks/{chat-message-DW8IO5YJ.cjs → chat-message-BcuYfXqe.cjs} +2 -2
- package/dist/chunks/{chat-message-DW8IO5YJ.cjs.map → chat-message-BcuYfXqe.cjs.map} +1 -1
- package/dist/chunks/{chat-message-CDLvkgaw.esm.js → chat-message-D9947sio.esm.js} +2 -2
- package/dist/chunks/{chat-message-CDLvkgaw.esm.js.map → chat-message-D9947sio.esm.js.map} +1 -1
- package/dist/chunks/chat-message-list-BEQEQzhV.cjs +2 -0
- package/dist/chunks/chat-message-list-BEQEQzhV.cjs.map +1 -0
- package/dist/chunks/{chat-message-list-BhWZEg4l.esm.js → chat-message-list-D_4ZLopT.esm.js} +10 -10
- package/dist/chunks/chat-message-list-D_4ZLopT.esm.js.map +1 -0
- package/dist/chunks/{checkbox-CZCLSrFV.cjs → checkbox-DCVW3K9i.cjs} +2 -2
- package/dist/chunks/{checkbox-CZCLSrFV.cjs.map → checkbox-DCVW3K9i.cjs.map} +1 -1
- package/dist/chunks/{checkbox-Bto3lCdU.esm.js → checkbox-dSuozQvl.esm.js} +4 -4
- package/dist/chunks/{checkbox-Bto3lCdU.esm.js.map → checkbox-dSuozQvl.esm.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-C5-B_qO-.cjs → collapsible-motion-BW3mF74f.cjs} +2 -2
- package/dist/chunks/{collapsible-motion-C5-B_qO-.cjs.map → collapsible-motion-BW3mF74f.cjs.map} +1 -1
- package/dist/chunks/{collapsible-motion-5Y-srpM4.esm.js → collapsible-motion-CKrXIpgY.esm.js} +3 -3
- package/dist/chunks/{collapsible-motion-5Y-srpM4.esm.js.map → collapsible-motion-CKrXIpgY.esm.js.map} +1 -1
- package/dist/chunks/{combobox-ot7fVTI7.cjs → combobox-3_YvuwlN.cjs} +2 -2
- package/dist/chunks/{combobox-ot7fVTI7.cjs.map → combobox-3_YvuwlN.cjs.map} +1 -1
- package/dist/chunks/{combobox-BW_VrIHV.esm.js → combobox-C9gMnokj.esm.js} +11 -11
- package/dist/chunks/{combobox-BW_VrIHV.esm.js.map → combobox-C9gMnokj.esm.js.map} +1 -1
- package/dist/chunks/{components-BaZ6iHgw.esm.js → components-DJj34Iqi.esm.js} +3 -3
- package/dist/chunks/{components-BaZ6iHgw.esm.js.map → components-DJj34Iqi.esm.js.map} +1 -1
- package/dist/chunks/{components-DHYEVZM_.cjs → components-tMYnGsnG.cjs} +2 -2
- package/dist/chunks/{components-DHYEVZM_.cjs.map → components-tMYnGsnG.cjs.map} +1 -1
- package/dist/chunks/{confirmation-dialog-JqWYM_7U.cjs → confirmation-dialog-DGV0mgM8.cjs} +2 -2
- package/dist/chunks/{confirmation-dialog-JqWYM_7U.cjs.map → confirmation-dialog-DGV0mgM8.cjs.map} +1 -1
- package/dist/chunks/{confirmation-dialog-CHUQLqNJ.esm.js → confirmation-dialog-EiNUlhQA.esm.js} +4 -4
- package/dist/chunks/{confirmation-dialog-CHUQLqNJ.esm.js.map → confirmation-dialog-EiNUlhQA.esm.js.map} +1 -1
- package/dist/chunks/{data-table-LoaR2VL5.esm.js → data-table-BjU1lBAt.esm.js} +715 -714
- package/dist/chunks/{data-table-LoaR2VL5.esm.js.map → data-table-BjU1lBAt.esm.js.map} +1 -1
- package/dist/chunks/data-table-DnlEkUhO.cjs +2 -0
- package/dist/chunks/{data-table-CHpJecej.cjs.map → data-table-DnlEkUhO.cjs.map} +1 -1
- package/dist/chunks/{date-input-BfCEzDBX.esm.js → date-input-BIMZk2u6.esm.js} +4 -4
- package/dist/chunks/{date-input-BfCEzDBX.esm.js.map → date-input-BIMZk2u6.esm.js.map} +1 -1
- package/dist/chunks/{date-input-B5yBTSm8.cjs → date-input-DbikA3Az.cjs} +2 -2
- package/dist/chunks/{date-input-B5yBTSm8.cjs.map → date-input-DbikA3Az.cjs.map} +1 -1
- package/dist/chunks/{date-picker-CcmAJYux.esm.js → date-picker--voC39id.esm.js} +11 -11
- package/dist/chunks/{date-picker-CcmAJYux.esm.js.map → date-picker--voC39id.esm.js.map} +1 -1
- package/dist/chunks/{date-picker-BYUOjbCN.cjs → date-picker-Dhb3cRFN.cjs} +2 -2
- package/dist/chunks/{date-picker-BYUOjbCN.cjs.map → date-picker-Dhb3cRFN.cjs.map} +1 -1
- package/dist/chunks/{date-range-picker-CD6CmAlq.esm.js → date-range-picker-B02yjYC_.esm.js} +11 -11
- package/dist/chunks/{date-range-picker-CD6CmAlq.esm.js.map → date-range-picker-B02yjYC_.esm.js.map} +1 -1
- package/dist/chunks/{date-range-picker-BladYzh3.cjs → date-range-picker-oFS0SF97.cjs} +2 -2
- package/dist/chunks/{date-range-picker-BladYzh3.cjs.map → date-range-picker-oFS0SF97.cjs.map} +1 -1
- package/dist/chunks/{default-page-B5bFn9gJ.cjs → default-page-BW66R099.cjs} +2 -2
- package/dist/chunks/{default-page-B5bFn9gJ.cjs.map → default-page-BW66R099.cjs.map} +1 -1
- package/dist/chunks/{default-page-De3ZyX7n.esm.js → default-page-oB4oiflC.esm.js} +2 -2
- package/dist/chunks/{default-page-De3ZyX7n.esm.js.map → default-page-oB4oiflC.esm.js.map} +1 -1
- package/dist/chunks/{dialog-Y4HKBxUr.cjs → dialog-CwCG4NKh.cjs} +2 -2
- package/dist/chunks/{dialog-Y4HKBxUr.cjs.map → dialog-CwCG4NKh.cjs.map} +1 -1
- package/dist/chunks/{dialog-XeM4qOa_.esm.js → dialog-lxgomHvu.esm.js} +6 -6
- package/dist/chunks/{dialog-XeM4qOa_.esm.js.map → dialog-lxgomHvu.esm.js.map} +1 -1
- package/dist/chunks/draggable-list-CAGO6acz.cjs +2 -0
- package/dist/chunks/{draggable-list-CKKl6A_a.cjs.map → draggable-list-CAGO6acz.cjs.map} +1 -1
- package/dist/chunks/{draggable-list-C5aulsay.esm.js → draggable-list-DKGfS4ob.esm.js} +243 -243
- package/dist/chunks/{draggable-list-C5aulsay.esm.js.map → draggable-list-DKGfS4ob.esm.js.map} +1 -1
- package/dist/chunks/{drawer-BKPP4f5K.cjs → drawer-Cj7eGaLQ.cjs} +2 -2
- package/dist/chunks/{drawer-BKPP4f5K.cjs.map → drawer-Cj7eGaLQ.cjs.map} +1 -1
- package/dist/chunks/{drawer-I6J9g1l4.esm.js → drawer-Dsnrsu2k.esm.js} +7 -7
- package/dist/chunks/{drawer-I6J9g1l4.esm.js.map → drawer-Dsnrsu2k.esm.js.map} +1 -1
- package/dist/chunks/{drop-zone-vRl7IFzc.esm.js → drop-zone-BKJQrFGG.esm.js} +6 -6
- package/dist/chunks/{drop-zone-vRl7IFzc.esm.js.map → drop-zone-BKJQrFGG.esm.js.map} +1 -1
- package/dist/chunks/{drop-zone-Dr4VzY5B.cjs → drop-zone-N7k0XExn.cjs} +2 -2
- package/dist/chunks/{drop-zone-Dr4VzY5B.cjs.map → drop-zone-N7k0XExn.cjs.map} +1 -1
- package/dist/chunks/{extract-style-props-BPnHKmWR.esm.js → extract-style-props-D519tVOc.esm.js} +2 -2
- package/dist/chunks/{extract-style-props-BPnHKmWR.esm.js.map → extract-style-props-D519tVOc.esm.js.map} +1 -1
- package/dist/chunks/{extract-style-props-CA1O0IF2.cjs → extract-style-props-WNdpT-ME.cjs} +2 -2
- package/dist/chunks/{extract-style-props-CA1O0IF2.cjs.map → extract-style-props-WNdpT-ME.cjs.map} +1 -1
- package/dist/chunks/{form-action-bar-C8wkuLiF.esm.js → form-action-bar-CfJjVyeS.esm.js} +3 -3
- package/dist/chunks/{form-action-bar-C8wkuLiF.esm.js.map → form-action-bar-CfJjVyeS.esm.js.map} +1 -1
- package/dist/chunks/{form-action-bar-C_pQubyB.cjs → form-action-bar-DhmjijBw.cjs} +2 -2
- package/dist/chunks/{form-action-bar-C_pQubyB.cjs.map → form-action-bar-DhmjijBw.cjs.map} +1 -1
- package/dist/chunks/{form-dialog-D14UuUnS.cjs → form-dialog-CLrL718p.cjs} +2 -2
- package/dist/chunks/{form-dialog-D14UuUnS.cjs.map → form-dialog-CLrL718p.cjs.map} +1 -1
- package/dist/chunks/{form-dialog-BaD03TZo.esm.js → form-dialog-D86jNeIZ.esm.js} +4 -4
- package/dist/chunks/{form-dialog-BaD03TZo.esm.js.map → form-dialog-D86jNeIZ.esm.js.map} +1 -1
- package/dist/chunks/{form-field-DRhB7O5k.esm.js → form-field-B5H98u7s.esm.js} +3 -3
- package/dist/chunks/{form-field-DRhB7O5k.esm.js.map → form-field-B5H98u7s.esm.js.map} +1 -1
- package/dist/chunks/{form-field-CrSE8x3q.cjs → form-field-CaTJgt57.cjs} +2 -2
- package/dist/chunks/{form-field-CrSE8x3q.cjs.map → form-field-CaTJgt57.cjs.map} +1 -1
- package/dist/chunks/{icon-button-CSlFdpjB.cjs → icon-button-BG5cQycc.cjs} +2 -2
- package/dist/chunks/{icon-button-CSlFdpjB.cjs.map → icon-button-BG5cQycc.cjs.map} +1 -1
- package/dist/chunks/{icon-button-6dtfz6Yf.esm.js → icon-button-CyhrlrIv.esm.js} +2 -2
- package/dist/chunks/{icon-button-6dtfz6Yf.esm.js.map → icon-button-CyhrlrIv.esm.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-DJbu9dBg.cjs → icon-toggle-button-CH90F1eK.cjs} +2 -2
- package/dist/chunks/{icon-toggle-button-DJbu9dBg.cjs.map → icon-toggle-button-CH90F1eK.cjs.map} +1 -1
- package/dist/chunks/{icon-toggle-button-Cesx6J1H.esm.js → icon-toggle-button-DzYb5JyL.esm.js} +2 -2
- package/dist/chunks/{icon-toggle-button-Cesx6J1H.esm.js.map → icon-toggle-button-DzYb5JyL.esm.js.map} +1 -1
- package/dist/chunks/item-DW8Z2EjT.cjs +2 -0
- package/dist/chunks/item-DW8Z2EjT.cjs.map +1 -0
- package/dist/chunks/item-YJDIjMGY.esm.js +132 -0
- package/dist/chunks/item-YJDIjMGY.esm.js.map +1 -0
- package/dist/chunks/item-group-BA2CvxjT.cjs +2 -0
- package/dist/chunks/item-group-BA2CvxjT.cjs.map +1 -0
- package/dist/chunks/item-group-Bu78JFep.esm.js +35 -0
- package/dist/chunks/item-group-Bu78JFep.esm.js.map +1 -0
- package/dist/chunks/{list-DpS1s3Ww.cjs → list-ClGk4Q7n.cjs} +2 -2
- package/dist/chunks/{list-DpS1s3Ww.cjs.map → list-ClGk4Q7n.cjs.map} +1 -1
- package/dist/chunks/{list-CuA_gr8m.esm.js → list-CvVw2FgQ.esm.js} +2 -2
- package/dist/chunks/{list-CuA_gr8m.esm.js.map → list-CvVw2FgQ.esm.js.map} +1 -1
- package/dist/chunks/{loading-spinner-CTPm1sYC.esm.js → loading-spinner-DZoySVDH.esm.js} +2 -2
- package/dist/chunks/{loading-spinner-CTPm1sYC.esm.js.map → loading-spinner-DZoySVDH.esm.js.map} +1 -1
- package/dist/chunks/{loading-spinner-DAZGwhe6.cjs → loading-spinner-p_cYuGNg.cjs} +2 -2
- package/dist/chunks/{loading-spinner-DAZGwhe6.cjs.map → loading-spinner-p_cYuGNg.cjs.map} +1 -1
- package/dist/chunks/{localized-field-tpT6376o.cjs → localized-field-CQ8GkZKo.cjs} +2 -2
- package/dist/chunks/{localized-field-tpT6376o.cjs.map → localized-field-CQ8GkZKo.cjs.map} +1 -1
- package/dist/chunks/{localized-field-rPZczTNY.esm.js → localized-field-edbtofV6.esm.js} +10 -10
- package/dist/chunks/{localized-field-rPZczTNY.esm.js.map → localized-field-edbtofV6.esm.js.map} +1 -1
- package/dist/chunks/{markdown-CxE72YNo.esm.js → markdown-C1aT-ZDT.esm.js} +34 -34
- package/dist/chunks/{markdown-CxE72YNo.esm.js.map → markdown-C1aT-ZDT.esm.js.map} +1 -1
- package/dist/chunks/{markdown-Dvf4iLu2.cjs → markdown-RayGWo-B.cjs} +2 -2
- package/dist/chunks/{markdown-Dvf4iLu2.cjs.map → markdown-RayGWo-B.cjs.map} +1 -1
- package/dist/chunks/{menu-tAepHyH2.esm.js → menu-C2ZLfnJM.esm.js} +5 -5
- package/dist/chunks/{menu-tAepHyH2.esm.js.map → menu-C2ZLfnJM.esm.js.map} +1 -1
- package/dist/chunks/{menu-WFLbN6in.cjs → menu-sokBButj.cjs} +2 -2
- package/dist/chunks/{menu-WFLbN6in.cjs.map → menu-sokBButj.cjs.map} +1 -1
- package/dist/chunks/{modal-page-BRDY8JIO.cjs → modal-page-BGs7DHvn.cjs} +2 -2
- package/dist/chunks/{modal-page-BRDY8JIO.cjs.map → modal-page-BGs7DHvn.cjs.map} +1 -1
- package/dist/chunks/{modal-page-CH6Dlz-D.esm.js → modal-page-BZGoeMPR.esm.js} +3 -3
- package/dist/chunks/{modal-page-CH6Dlz-D.esm.js.map → modal-page-BZGoeMPR.esm.js.map} +1 -1
- package/dist/chunks/{money-input-D-h6tlpV.cjs → money-input-3_CQxVa3.cjs} +2 -2
- package/dist/chunks/{money-input-D-h6tlpV.cjs.map → money-input-3_CQxVa3.cjs.map} +1 -1
- package/dist/chunks/{money-input-field-Dy6VCxeQ.esm.js → money-input-field-DMZMbP9B.esm.js} +3 -3
- package/dist/chunks/{money-input-field-Dy6VCxeQ.esm.js.map → money-input-field-DMZMbP9B.esm.js.map} +1 -1
- package/dist/chunks/{money-input-field-DeajMPme.cjs → money-input-field-Deavtpts.cjs} +2 -2
- package/dist/chunks/{money-input-field-DeajMPme.cjs.map → money-input-field-Deavtpts.cjs.map} +1 -1
- package/dist/chunks/{money-input-CKNrFSKT.esm.js → money-input-hdeI43mM.esm.js} +5 -5
- package/dist/chunks/{money-input-CKNrFSKT.esm.js.map → money-input-hdeI43mM.esm.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-BZU8t53J.esm.js → multiline-text-input-BlQChE3E.esm.js} +4 -4
- package/dist/chunks/{multiline-text-input-BZU8t53J.esm.js.map → multiline-text-input-BlQChE3E.esm.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-ipy-1vwz.cjs → multiline-text-input-BnbYMYjn.cjs} +2 -2
- package/dist/chunks/{multiline-text-input-ipy-1vwz.cjs.map → multiline-text-input-BnbYMYjn.cjs.map} +1 -1
- package/dist/chunks/{multiline-text-input-field-DDzHc9t0.cjs → multiline-text-input-field-Dmrep7c1.cjs} +2 -2
- package/dist/chunks/{multiline-text-input-field-DDzHc9t0.cjs.map → multiline-text-input-field-Dmrep7c1.cjs.map} +1 -1
- package/dist/chunks/{multiline-text-input-field-Dj3yuO2D.esm.js → multiline-text-input-field-DtKT6KA3.esm.js} +3 -3
- package/dist/chunks/{multiline-text-input-field-Dj3yuO2D.esm.js.map → multiline-text-input-field-DtKT6KA3.esm.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-DcYjdMwh.cjs → nimbus-provider-DyiUPBgB.cjs} +2 -2
- package/dist/chunks/{nimbus-provider-DcYjdMwh.cjs.map → nimbus-provider-DyiUPBgB.cjs.map} +1 -1
- package/dist/chunks/{nimbus-provider-qYnfenns.esm.js → nimbus-provider-TxuMyLri.esm.js} +3 -3
- package/dist/chunks/{nimbus-provider-qYnfenns.esm.js.map → nimbus-provider-TxuMyLri.esm.js.map} +1 -1
- package/dist/chunks/number-input-DTS_KQVk.cjs +2 -0
- package/dist/chunks/{number-input-DU3522fK.cjs.map → number-input-DTS_KQVk.cjs.map} +1 -1
- package/dist/chunks/{number-input-D5jL0iW-.esm.js → number-input-Gpg_2UbB.esm.js} +23 -22
- package/dist/chunks/{number-input-D5jL0iW-.esm.js.map → number-input-Gpg_2UbB.esm.js.map} +1 -1
- package/dist/chunks/{number-input-field-C5DhaRwc.cjs → number-input-field-C0XJ94dJ.cjs} +2 -2
- package/dist/chunks/{number-input-field-C5DhaRwc.cjs.map → number-input-field-C0XJ94dJ.cjs.map} +1 -1
- package/dist/chunks/{number-input-field-BKAb5VQ2.esm.js → number-input-field-Da0Hux_Q.esm.js} +3 -3
- package/dist/chunks/{number-input-field-BKAb5VQ2.esm.js.map → number-input-field-Da0Hux_Q.esm.js.map} +1 -1
- package/dist/chunks/{pagination-ZSf9r9bz.esm.js → pagination-FtHeZ5vD.esm.js} +4 -4
- package/dist/chunks/{pagination-ZSf9r9bz.esm.js.map → pagination-FtHeZ5vD.esm.js.map} +1 -1
- package/dist/chunks/{pagination-CmXQNDbp.cjs → pagination-Teyq3Fc-.cjs} +2 -2
- package/dist/chunks/{pagination-CmXQNDbp.cjs.map → pagination-Teyq3Fc-.cjs.map} +1 -1
- package/dist/chunks/{password-input-DMJGpUt6.cjs → password-input-B6xQTVt3.cjs} +2 -2
- package/dist/chunks/{password-input-DMJGpUt6.cjs.map → password-input-B6xQTVt3.cjs.map} +1 -1
- package/dist/chunks/{password-input-B2OHc-gn.esm.js → password-input-ZHMvWFue.esm.js} +3 -3
- package/dist/chunks/{password-input-B2OHc-gn.esm.js.map → password-input-ZHMvWFue.esm.js.map} +1 -1
- package/dist/chunks/{password-input-field-BFj95JMU.esm.js → password-input-field-B6I17gLd.esm.js} +3 -3
- package/dist/chunks/{password-input-field-BFj95JMU.esm.js.map → password-input-field-B6I17gLd.esm.js.map} +1 -1
- package/dist/chunks/{password-input-field-Cf-zBu2O.cjs → password-input-field-Bh-LmgfF.cjs} +2 -2
- package/dist/chunks/{password-input-field-Cf-zBu2O.cjs.map → password-input-field-Bh-LmgfF.cjs.map} +1 -1
- package/dist/chunks/{popover-eUvkAe8L.cjs → popover-B4aHN9qY.cjs} +2 -2
- package/dist/chunks/{popover-eUvkAe8L.cjs.map → popover-B4aHN9qY.cjs.map} +1 -1
- package/dist/chunks/{popover-CwdOyGHr.esm.js → popover-biPpujsV.esm.js} +2 -2
- package/dist/chunks/{popover-CwdOyGHr.esm.js.map → popover-biPpujsV.esm.js.map} +1 -1
- package/dist/chunks/{progress-bar-DhZVJqY_.cjs → progress-bar-D_PAUwhj.cjs} +2 -2
- package/dist/chunks/{progress-bar-DhZVJqY_.cjs.map → progress-bar-D_PAUwhj.cjs.map} +1 -1
- package/dist/chunks/{progress-bar-Be7o97DL.esm.js → progress-bar-PjyuiZvS.esm.js} +3 -3
- package/dist/chunks/{progress-bar-Be7o97DL.esm.js.map → progress-bar-PjyuiZvS.esm.js.map} +1 -1
- package/dist/chunks/{radio-input-Cj03oX72.esm.js → radio-input-CZNQh41n.esm.js} +10 -9
- package/dist/chunks/{radio-input-Cj03oX72.esm.js.map → radio-input-CZNQh41n.esm.js.map} +1 -1
- package/dist/chunks/radio-input-FRyDwoTk.cjs +2 -0
- package/dist/chunks/{radio-input-_eEv0K2W.cjs.map → radio-input-FRyDwoTk.cjs.map} +1 -1
- package/dist/chunks/{range-calendar-B0U51wMd.cjs → range-calendar-D1yls6jq.cjs} +2 -2
- package/dist/chunks/{range-calendar-B0U51wMd.cjs.map → range-calendar-D1yls6jq.cjs.map} +1 -1
- package/dist/chunks/{range-calendar-DA5hJpYL.esm.js → range-calendar-DhgT-Y8T.esm.js} +6 -6
- package/dist/chunks/{range-calendar-DA5hJpYL.esm.js.map → range-calendar-DhgT-Y8T.esm.js.map} +1 -1
- package/dist/chunks/range-slider-Ch4kXVc3.cjs +2 -0
- package/dist/chunks/range-slider-Ch4kXVc3.cjs.map +1 -0
- package/dist/chunks/range-slider-CiNJCiKg.esm.js +600 -0
- package/dist/chunks/range-slider-CiNJCiKg.esm.js.map +1 -0
- package/dist/chunks/{rich-text-input-PYMjw5DQ.esm.js → rich-text-input-CLwl2b63.esm.js} +8 -8
- package/dist/chunks/{rich-text-input-PYMjw5DQ.esm.js.map → rich-text-input-CLwl2b63.esm.js.map} +1 -1
- package/dist/chunks/{rich-text-input-C0UU1Uoq.cjs → rich-text-input-D9MMIdJJ.cjs} +3 -3
- package/dist/chunks/{rich-text-input-C0UU1Uoq.cjs.map → rich-text-input-D9MMIdJJ.cjs.map} +1 -1
- package/dist/chunks/{scoped-search-input-D80PFOdN.esm.js → scoped-search-input-BzTmH7Ms.esm.js} +5 -5
- package/dist/chunks/{scoped-search-input-D80PFOdN.esm.js.map → scoped-search-input-BzTmH7Ms.esm.js.map} +1 -1
- package/dist/chunks/{scoped-search-input-Kj-JJpvo.cjs → scoped-search-input-C9PJWoSh.cjs} +2 -2
- package/dist/chunks/{scoped-search-input-Kj-JJpvo.cjs.map → scoped-search-input-C9PJWoSh.cjs.map} +1 -1
- package/dist/chunks/{search-input-yUmma36U.cjs → search-input-Cocic3Im.cjs} +2 -2
- package/dist/chunks/{search-input-yUmma36U.cjs.map → search-input-Cocic3Im.cjs.map} +1 -1
- package/dist/chunks/{search-input-BMq6pRov.esm.js → search-input-DLixG2wL.esm.js} +6 -6
- package/dist/chunks/{search-input-BMq6pRov.esm.js.map → search-input-DLixG2wL.esm.js.map} +1 -1
- package/dist/chunks/{select-D39rm0xA.esm.js → select-CZzyQOhP.esm.js} +17 -16
- package/dist/chunks/{select-D39rm0xA.esm.js.map → select-CZzyQOhP.esm.js.map} +1 -1
- package/dist/chunks/select-g5OICT61.cjs +2 -0
- package/dist/chunks/{select-DdeLYdJ3.cjs.map → select-g5OICT61.cjs.map} +1 -1
- package/dist/chunks/{separator-CRFMcKYe.cjs → separator-DW1Lj5oz.cjs} +2 -2
- package/dist/chunks/{separator-CRFMcKYe.cjs.map → separator-DW1Lj5oz.cjs.map} +1 -1
- package/dist/chunks/{separator-AUEVwjXs.esm.js → separator-DYgOOvtr.esm.js} +3 -3
- package/dist/chunks/{separator-AUEVwjXs.esm.js.map → separator-DYgOOvtr.esm.js.map} +1 -1
- package/dist/chunks/skeleton-C-MXf-Vh.esm.js +16 -0
- package/dist/chunks/skeleton-C-MXf-Vh.esm.js.map +1 -0
- package/dist/chunks/skeleton-SWjnk1LM.cjs +2 -0
- package/dist/chunks/skeleton-SWjnk1LM.cjs.map +1 -0
- package/dist/chunks/skeleton-circle-C5RFsv29.esm.js +18 -0
- package/dist/chunks/skeleton-circle-C5RFsv29.esm.js.map +1 -0
- package/dist/chunks/skeleton-circle-CbqEiVJ8.cjs +2 -0
- package/dist/chunks/skeleton-circle-CbqEiVJ8.cjs.map +1 -0
- package/dist/chunks/skeleton-text-B-r_Iovw.esm.js +33 -0
- package/dist/chunks/skeleton-text-B-r_Iovw.esm.js.map +1 -0
- package/dist/chunks/skeleton-text-CEr3QStr.cjs +2 -0
- package/dist/chunks/skeleton-text-CEr3QStr.cjs.map +1 -0
- package/dist/chunks/slider-CE2eEViT.esm.js +9 -0
- package/dist/chunks/slider-CE2eEViT.esm.js.map +1 -0
- package/dist/chunks/slider-CxvxZzOB.cjs +2 -0
- package/dist/chunks/slider-CxvxZzOB.cjs.map +1 -0
- package/dist/chunks/{split-button-DelUgBth.cjs → split-button-Dr_RsxyR.cjs} +2 -2
- package/dist/chunks/{split-button-DelUgBth.cjs.map → split-button-Dr_RsxyR.cjs.map} +1 -1
- package/dist/chunks/{split-button-C9MIlSe4.esm.js → split-button-lLEz3Ddi.esm.js} +4 -4
- package/dist/chunks/{split-button-C9MIlSe4.esm.js.map → split-button-lLEz3Ddi.esm.js.map} +1 -1
- package/dist/chunks/{steps-BLrpE2PL.cjs → steps-BvqxvDfJ.cjs} +2 -2
- package/dist/chunks/{steps-BLrpE2PL.cjs.map → steps-BvqxvDfJ.cjs.map} +1 -1
- package/dist/chunks/{steps-OnZi-T9x.esm.js → steps-DIRtxFO6.esm.js} +2 -2
- package/dist/chunks/{steps-OnZi-T9x.esm.js.map → steps-DIRtxFO6.esm.js.map} +1 -1
- package/dist/chunks/{switch-D1rdYruG.esm.js → switch-B351GNnT.esm.js} +4 -4
- package/dist/chunks/{switch-D1rdYruG.esm.js.map → switch-B351GNnT.esm.js.map} +1 -1
- package/dist/chunks/{switch-BPk30JYZ.cjs → switch-BSws2Bn9.cjs} +2 -2
- package/dist/chunks/{switch-BPk30JYZ.cjs.map → switch-BSws2Bn9.cjs.map} +1 -1
- package/dist/chunks/tab-nav-BMNdumQw.esm.js +66 -0
- package/dist/chunks/tab-nav-BMNdumQw.esm.js.map +1 -0
- package/dist/chunks/tab-nav-Dy6pg3Cf.cjs +2 -0
- package/dist/chunks/tab-nav-Dy6pg3Cf.cjs.map +1 -0
- package/dist/chunks/{table-DEKXq5nE.cjs → table-BF5v-4YU.cjs} +2 -2
- package/dist/chunks/{table-DEKXq5nE.cjs.map → table-BF5v-4YU.cjs.map} +1 -1
- package/dist/chunks/{table-O8T8871k.esm.js → table-OZDDVGWu.esm.js} +2 -2
- package/dist/chunks/{table-O8T8871k.esm.js.map → table-OZDDVGWu.esm.js.map} +1 -1
- package/dist/chunks/{tabs-IjuTjmW5.esm.js → tabs-C7zLoP1D.esm.js} +101 -100
- package/dist/chunks/{tabs-IjuTjmW5.esm.js.map → tabs-C7zLoP1D.esm.js.map} +1 -1
- package/dist/chunks/tabs-DLr47HN_.cjs +2 -0
- package/dist/chunks/{tabs-BbC8to5L.cjs.map → tabs-DLr47HN_.cjs.map} +1 -1
- package/dist/chunks/{tag-group-DJ2Eyzr6.esm.js → tag-group-DKiwZtum.esm.js} +160 -160
- package/dist/chunks/{tag-group-DJ2Eyzr6.esm.js.map → tag-group-DKiwZtum.esm.js.map} +1 -1
- package/dist/chunks/tag-group-JEE8r8Jl.cjs +2 -0
- package/dist/chunks/{tag-group-t9CCZs9w.cjs.map → tag-group-JEE8r8Jl.cjs.map} +1 -1
- package/dist/chunks/{text-input-DzHnlufM.esm.js → text-input-4YjslLxr.esm.js} +4 -4
- package/dist/chunks/{text-input-DzHnlufM.esm.js.map → text-input-4YjslLxr.esm.js.map} +1 -1
- package/dist/chunks/{text-input-Bc2XftOM.cjs → text-input-BttCyWCt.cjs} +2 -2
- package/dist/chunks/{text-input-Bc2XftOM.cjs.map → text-input-BttCyWCt.cjs.map} +1 -1
- package/dist/chunks/{theme-BR3bc6tH.esm.js → theme-CFqa_6UM.esm.js} +710 -195
- package/dist/chunks/theme-CFqa_6UM.esm.js.map +1 -0
- package/dist/chunks/theme-DA63MDZQ.cjs +34 -0
- package/dist/chunks/theme-DA63MDZQ.cjs.map +1 -0
- package/dist/chunks/{time-input--A7teyZm.esm.js → time-input-CJcXuGHH.esm.js} +4 -4
- package/dist/chunks/{time-input--A7teyZm.esm.js.map → time-input-CJcXuGHH.esm.js.map} +1 -1
- package/dist/chunks/{time-input-CnqA54LG.cjs → time-input-Cv-8dl-n.cjs} +2 -2
- package/dist/chunks/{time-input-CnqA54LG.cjs.map → time-input-Cv-8dl-n.cjs.map} +1 -1
- package/dist/chunks/{toast.outlet-CiElRAMb.cjs → toast.outlet-BGy4NZoL.cjs} +2 -2
- package/dist/chunks/{toast.outlet-CiElRAMb.cjs.map → toast.outlet-BGy4NZoL.cjs.map} +1 -1
- package/dist/chunks/{toast.outlet-DfFHdsij.esm.js → toast.outlet-DQ7Z1sG7.esm.js} +4 -4
- package/dist/chunks/{toast.outlet-DfFHdsij.esm.js.map → toast.outlet-DQ7Z1sG7.esm.js.map} +1 -1
- package/dist/chunks/{toggle-button-szYkDbB4.cjs → toggle-button-B9m2DON6.cjs} +2 -2
- package/dist/chunks/{toggle-button-szYkDbB4.cjs.map → toggle-button-B9m2DON6.cjs.map} +1 -1
- package/dist/chunks/{toggle-button-DnjpkkaG.esm.js → toggle-button-D3UZNm_4.esm.js} +3 -3
- package/dist/chunks/{toggle-button-DnjpkkaG.esm.js.map → toggle-button-D3UZNm_4.esm.js.map} +1 -1
- package/dist/chunks/{toolbar-BTl4PMN6.esm.js → toolbar-BUb2xcXt.esm.js} +3 -3
- package/dist/chunks/{toolbar-BTl4PMN6.esm.js.map → toolbar-BUb2xcXt.esm.js.map} +1 -1
- package/dist/chunks/{toolbar-CDuqJw86.cjs → toolbar-CxYGox-m.cjs} +2 -2
- package/dist/chunks/{toolbar-CDuqJw86.cjs.map → toolbar-CxYGox-m.cjs.map} +1 -1
- package/dist/chunks/{use-responsive-splitter-sizes-CO-POrVJ.esm.js → use-responsive-splitter-sizes-BgEYraHy.esm.js} +2 -2
- package/dist/chunks/{use-responsive-splitter-sizes-CO-POrVJ.esm.js.map → use-responsive-splitter-sizes-BgEYraHy.esm.js.map} +1 -1
- package/dist/chunks/{use-responsive-splitter-sizes-DApY1vey.cjs → use-responsive-splitter-sizes-CzfdjEjf.cjs} +2 -2
- package/dist/chunks/{use-responsive-splitter-sizes-DApY1vey.cjs.map → use-responsive-splitter-sizes-CzfdjEjf.cjs.map} +1 -1
- package/dist/chunks/{use-tree-wsHR3c7J.esm.js → use-tree-BFKFaiiu.esm.js} +147 -147
- package/dist/chunks/{use-tree-wsHR3c7J.esm.js.map → use-tree-BFKFaiiu.esm.js.map} +1 -1
- package/dist/chunks/use-tree-NiiqPu0M.cjs +2 -0
- package/dist/chunks/{use-tree-CrwSJhB8.cjs.map → use-tree-NiiqPu0M.cjs.map} +1 -1
- package/dist/chunks/{useCollection-CGf4ZguH.esm.js → useCollection-BCbt2V3u.esm.js} +258 -307
- package/dist/chunks/useCollection-BCbt2V3u.esm.js.map +1 -0
- package/dist/chunks/useCollection-BjHtDvt-.cjs +2 -0
- package/dist/chunks/useCollection-BjHtDvt-.cjs.map +1 -0
- package/dist/chunks/{useDragAndDrop-CoNOA7E9.cjs → useDragAndDrop-B8UfdCMX.cjs} +2 -2
- package/dist/chunks/{useDragAndDrop-CoNOA7E9.cjs.map → useDragAndDrop-B8UfdCMX.cjs.map} +1 -1
- package/dist/chunks/{useDragAndDrop-D_i3CWeg.esm.js → useDragAndDrop-BAyAtCYg.esm.js} +2 -2
- package/dist/chunks/{useDragAndDrop-D_i3CWeg.esm.js.map → useDragAndDrop-BAyAtCYg.esm.js.map} +1 -1
- package/dist/chunks/useFormReset-C6H3spHM.cjs +2 -0
- package/dist/chunks/useFormReset-C6H3spHM.cjs.map +1 -0
- package/dist/chunks/useFormReset-CAZratNG.esm.js +18 -0
- package/dist/chunks/useFormReset-CAZratNG.esm.js.map +1 -0
- package/dist/chunks/useFormValidationState-CMK07tQk.cjs +2 -0
- package/dist/chunks/useFormValidationState-CMK07tQk.cjs.map +1 -0
- package/dist/chunks/{useFormValidationState-rjMRhdnd.esm.js → useFormValidationState-hfa069v5.esm.js} +40 -53
- package/dist/chunks/useFormValidationState-hfa069v5.esm.js.map +1 -0
- package/dist/chunks/{useGridListItem-DVNb2d76.esm.js → useGridListItem-C6LMK1Mv.esm.js} +3 -3
- package/dist/chunks/{useGridListItem-DVNb2d76.esm.js.map → useGridListItem-C6LMK1Mv.esm.js.map} +1 -1
- package/dist/chunks/{useGridListItem-d-i-pqAt.cjs → useGridListItem-CmLWoZGe.cjs} +2 -2
- package/dist/chunks/{useGridListItem-d-i-pqAt.cjs.map → useGridListItem-CmLWoZGe.cjs.map} +1 -1
- package/dist/chunks/{useListState-6F4go-kc.cjs → useListState-BBQE4IFG.cjs} +2 -2
- package/dist/chunks/{useListState-6F4go-kc.cjs.map → useListState-BBQE4IFG.cjs.map} +1 -1
- package/dist/chunks/{useListState-BiT-W669.esm.js → useListState-TSrPXjzi.esm.js} +2 -2
- package/dist/chunks/{useListState-BiT-W669.esm.js.map → useListState-TSrPXjzi.esm.js.map} +1 -1
- package/dist/chunks/useNumberFormatter-Drsf_lwe.cjs +2 -0
- package/dist/chunks/useNumberFormatter-Drsf_lwe.cjs.map +1 -0
- package/dist/chunks/useNumberFormatter-L64UBjdR.esm.js +12 -0
- package/dist/chunks/useNumberFormatter-L64UBjdR.esm.js.map +1 -0
- package/dist/chunks/useProgressBar-C-UZQWBC.cjs +2 -0
- package/dist/chunks/useProgressBar-C-UZQWBC.cjs.map +1 -0
- package/dist/chunks/useProgressBar-DVPx9_dg.esm.js +33 -0
- package/dist/chunks/useProgressBar-DVPx9_dg.esm.js.map +1 -0
- package/dist/chunks/{useSelectableList-DDytBtRR.cjs → useSelectableList-Bgv2nxTX.cjs} +2 -2
- package/dist/chunks/{useSelectableList-DDytBtRR.cjs.map → useSelectableList-Bgv2nxTX.cjs.map} +1 -1
- package/dist/chunks/{useSelectableList-umEtkxYN.esm.js → useSelectableList-gohzq7dg.esm.js} +2 -2
- package/dist/chunks/{useSelectableList-umEtkxYN.esm.js.map → useSelectableList-gohzq7dg.esm.js.map} +1 -1
- package/dist/chunks/useTextField-ABtLd27L.cjs +2 -0
- package/dist/chunks/{useTextField-CzF6gZ6-.cjs.map → useTextField-ABtLd27L.cjs.map} +1 -1
- package/dist/chunks/{useTextField-CdCrgSsV.esm.js → useTextField-FAMJ18ah.esm.js} +5 -4
- package/dist/chunks/{useTextField-CdCrgSsV.esm.js.map → useTextField-FAMJ18ah.esm.js.map} +1 -1
- package/dist/chunks/{useToggle-oUUHIEEp.esm.js → useToggle-B9oH7p52.esm.js} +7 -6
- package/dist/chunks/{useToggle-oUUHIEEp.esm.js.map → useToggle-B9oH7p52.esm.js.map} +1 -1
- package/dist/chunks/useToggle-WawJgKE5.cjs +2 -0
- package/dist/chunks/{useToggle-DOG2OJN_.cjs.map → useToggle-WawJgKE5.cjs.map} +1 -1
- package/dist/chunks/{useTreeState-Bi7rvUKr.cjs → useTreeState-C5z4FPeF.cjs} +2 -2
- package/dist/chunks/{useTreeState-Bi7rvUKr.cjs.map → useTreeState-C5z4FPeF.cjs.map} +1 -1
- package/dist/chunks/{useTreeState-BlJtuLmC.esm.js → useTreeState-DuW0JMo8.esm.js} +2 -2
- package/dist/chunks/{useTreeState-BlJtuLmC.esm.js.map → useTreeState-DuW0JMo8.esm.js.map} +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +2 -2
- package/dist/components/actions.cjs +1 -1
- package/dist/components/actions.es.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +71 -0
- package/dist/components/breadcrumbs/breadcrumbs.recipe.d.ts +31 -0
- package/dist/components/breadcrumbs/breadcrumbs.slots.d.ts +27 -0
- package/dist/components/breadcrumbs/breadcrumbs.types.d.ts +142 -0
- package/dist/components/breadcrumbs/components/breadcrumbs.context.d.ts +13 -0
- package/dist/components/breadcrumbs/components/breadcrumbs.item.d.ts +20 -0
- package/dist/components/breadcrumbs/components/breadcrumbs.root.d.ts +19 -0
- package/dist/components/breadcrumbs/components/index.d.ts +2 -0
- package/dist/components/breadcrumbs/index.d.ts +2 -0
- package/dist/components/breadcrumbs.cjs +1 -0
- package/dist/components/breadcrumbs.es.js +2 -0
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/chat-message-list.cjs +1 -1
- package/dist/components/chat-message-list.es.js +1 -1
- package/dist/components/chat-message.cjs +1 -1
- package/dist/components/chat-message.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/confirmation-dialog.cjs +1 -1
- package/dist/components/confirmation-dialog.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-field.cjs +1 -1
- package/dist/components/date-range-picker-field.es.js +2 -2
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/default-page.cjs +1 -1
- package/dist/components/default-page.es.js +1 -1
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/dialogs.cjs +1 -1
- package/dist/components/dialogs.es.js +2 -2
- 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/drop-zone.cjs +1 -1
- package/dist/components/drop-zone.es.js +1 -1
- package/dist/components/fields.cjs +1 -1
- package/dist/components/fields.es.js +4 -4
- package/dist/components/floating-action-button.cjs +1 -1
- package/dist/components/floating-action-button.es.js +1 -1
- package/dist/components/form-action-bar.cjs +1 -1
- package/dist/components/form-action-bar.es.js +1 -1
- package/dist/components/form-dialog.cjs +1 -1
- package/dist/components/form-dialog.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/index.d.ts +5 -0
- package/dist/components/info-dialog.cjs +1 -1
- package/dist/components/info-dialog.es.js +1 -1
- package/dist/components/item/components/index.d.ts +8 -0
- package/dist/components/item/components/item.actions.d.ts +14 -0
- package/dist/components/item/components/item.content.d.ts +11 -0
- package/dist/components/item/components/item.description.d.ts +10 -0
- package/dist/components/item/components/item.footer.d.ts +10 -0
- package/dist/components/item/components/item.header.d.ts +10 -0
- package/dist/components/item/components/item.media.d.ts +18 -0
- package/dist/components/item/components/item.root.d.ts +16 -0
- package/dist/components/item/components/item.title.d.ts +10 -0
- package/dist/components/item/index.d.ts +2 -0
- package/dist/components/item/item.d.ts +177 -0
- package/dist/components/item/item.recipe.d.ts +52 -0
- package/dist/components/item/item.slots.d.ts +15 -0
- package/dist/components/item/item.types.d.ts +81 -0
- package/dist/components/item-group/components/index.d.ts +2 -0
- package/dist/components/item-group/components/item-group.root.d.ts +22 -0
- package/dist/components/item-group/components/item-group.separator.d.ts +11 -0
- package/dist/components/item-group/index.d.ts +2 -0
- package/dist/components/item-group/item-group.d.ts +62 -0
- package/dist/components/item-group/item-group.recipe.d.ts +11 -0
- package/dist/components/item-group/item-group.slots.d.ts +11 -0
- package/dist/components/item-group/item-group.types.d.ts +14 -0
- package/dist/components/item-group.cjs +1 -0
- package/dist/components/item-group.es.js +2 -0
- package/dist/components/item.cjs +1 -0
- package/dist/components/item.es.js +2 -0
- package/dist/components/list.cjs +1 -1
- package/dist/components/list.es.js +1 -1
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/localized-field.cjs +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/markdown.cjs +1 -1
- package/dist/components/markdown.es.js +1 -1
- package/dist/components/modal-page.cjs +1 -1
- package/dist/components/modal-page.es.js +1 -1
- package/dist/components/money-input-field.cjs +1 -1
- package/dist/components/money-input-field.es.js +1 -1
- package/dist/components/money-input.cjs +1 -1
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/multiline-text-input-field.cjs +1 -1
- package/dist/components/multiline-text-input-field.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input-field.cjs +1 -1
- package/dist/components/number-input-field.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/pagination.cjs +1 -1
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/password-input-field.cjs +1 -1
- package/dist/components/password-input-field.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/patterns.cjs +1 -1
- package/dist/components/patterns.es.js +7 -7
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/range-slider.cjs +1 -0
- package/dist/components/range-slider.es.js +2 -0
- package/dist/components/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/scoped-search-input.cjs +1 -1
- package/dist/components/scoped-search-input.es.js +1 -1
- package/dist/components/search-input-field.cjs +1 -1
- package/dist/components/search-input-field.es.js +2 -2
- 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/skeleton/derivatives/skeleton-circle/index.d.ts +2 -0
- package/dist/components/skeleton/derivatives/skeleton-circle/skeleton-circle.d.ts +17 -0
- package/dist/components/skeleton/derivatives/skeleton-circle/skeleton-circle.types.d.ts +21 -0
- package/dist/components/skeleton/derivatives/skeleton-text/index.d.ts +2 -0
- package/dist/components/skeleton/derivatives/skeleton-text/skeleton-text.d.ts +16 -0
- package/dist/components/skeleton/derivatives/skeleton-text/skeleton-text.types.d.ts +45 -0
- package/dist/components/skeleton/index.d.ts +6 -0
- package/dist/components/skeleton/skeleton.d.ts +20 -0
- package/dist/components/skeleton/skeleton.recipe.d.ts +59 -0
- package/dist/components/skeleton/skeleton.slots.d.ts +7 -0
- package/dist/components/skeleton/skeleton.types.d.ts +50 -0
- package/dist/components/skeleton-circle.cjs +1 -0
- package/dist/components/skeleton-circle.es.js +2 -0
- package/dist/components/skeleton-text.cjs +1 -0
- package/dist/components/skeleton-text.es.js +2 -0
- package/dist/components/skeleton.cjs +1 -0
- package/dist/components/skeleton.es.js +6 -0
- package/dist/components/slider/derivatives/range-slider/index.d.ts +2 -0
- package/dist/components/slider/derivatives/range-slider/range-slider.d.ts +20 -0
- package/dist/components/slider/derivatives/range-slider/range-slider.types.d.ts +13 -0
- package/dist/components/slider/index.d.ts +4 -0
- package/dist/components/slider/intl/de.d.ts +10 -0
- package/dist/components/slider/intl/en.d.ts +10 -0
- package/dist/components/slider/intl/es.d.ts +10 -0
- package/dist/components/slider/intl/fr-FR.d.ts +10 -0
- package/dist/components/slider/intl/pt-BR.d.ts +10 -0
- package/dist/components/slider/slider-base.d.ts +10 -0
- package/dist/components/slider/slider.d.ts +13 -0
- package/dist/components/slider/slider.i18n.d.ts +12 -0
- package/dist/components/slider/slider.messages.d.ts +6 -0
- package/dist/components/slider/slider.recipe.d.ts +138 -0
- package/dist/components/slider/slider.slots.d.ts +9 -0
- package/dist/components/slider/slider.types.d.ts +57 -0
- package/dist/components/slider.cjs +1 -0
- package/dist/components/slider.es.js +4 -0
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/splitter.cjs +1 -1
- package/dist/components/splitter.es.js +1 -1
- package/dist/components/steps.cjs +1 -1
- package/dist/components/steps.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tab-nav.cjs +1 -1
- package/dist/components/tab-nav.es.js +1 -1
- package/dist/components/table.cjs +1 -1
- package/dist/components/table.es.js +1 -1
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.es.js +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input-field.cjs +1 -1
- package/dist/components/text-input-field.es.js +2 -2
- 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/toast.cjs +1 -1
- package/dist/components/toast.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tree.cjs +1 -1
- package/dist/components/tree.es.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +170 -162
- package/dist/index.es.js.map +1 -1
- package/dist/theme/keyframes.d.ts +11 -0
- package/dist/theme/recipes/index.d.ts +46 -0
- package/dist/theme/slot-recipes/index.d.ts +193 -0
- package/package.json +6 -6
- package/dist/chunks/DateField-DI1RhZqo.cjs +0 -2
- package/dist/chunks/Dialog-s5tFTj72.cjs +0 -6
- package/dist/chunks/ListBox-CXgfDQSn.cjs +0 -2
- package/dist/chunks/chat-message-list-BhWZEg4l.esm.js.map +0 -1
- package/dist/chunks/chat-message-list-BvzHnJHs.cjs +0 -2
- package/dist/chunks/chat-message-list-BvzHnJHs.cjs.map +0 -1
- package/dist/chunks/data-table-CHpJecej.cjs +0 -2
- package/dist/chunks/draggable-list-CKKl6A_a.cjs +0 -2
- package/dist/chunks/number-input-DU3522fK.cjs +0 -2
- package/dist/chunks/radio-input-_eEv0K2W.cjs +0 -2
- package/dist/chunks/select-DdeLYdJ3.cjs +0 -2
- package/dist/chunks/tab-nav-CunrpVeV.cjs +0 -2
- package/dist/chunks/tab-nav-CunrpVeV.cjs.map +0 -1
- package/dist/chunks/tab-nav-EHnsfeUM.esm.js +0 -99
- package/dist/chunks/tab-nav-EHnsfeUM.esm.js.map +0 -1
- package/dist/chunks/tabs-BbC8to5L.cjs +0 -2
- package/dist/chunks/tag-group-t9CCZs9w.cjs +0 -2
- package/dist/chunks/theme-BR3bc6tH.esm.js.map +0 -1
- package/dist/chunks/theme-tOoHVZZ6.cjs +0 -34
- package/dist/chunks/theme-tOoHVZZ6.cjs.map +0 -1
- package/dist/chunks/use-tree-CrwSJhB8.cjs +0 -2
- package/dist/chunks/useCollection-C04LezXC.cjs +0 -2
- package/dist/chunks/useCollection-C04LezXC.cjs.map +0 -1
- package/dist/chunks/useCollection-CGf4ZguH.esm.js.map +0 -1
- package/dist/chunks/useFormValidationState-B5e8EeJ8.cjs +0 -2
- package/dist/chunks/useFormValidationState-B5e8EeJ8.cjs.map +0 -1
- package/dist/chunks/useFormValidationState-rjMRhdnd.esm.js.map +0 -1
- package/dist/chunks/useProgressBar-DDrlZQv4.cjs +0 -2
- package/dist/chunks/useProgressBar-DDrlZQv4.cjs.map +0 -1
- package/dist/chunks/useProgressBar-DmcvqOjq.esm.js +0 -41
- package/dist/chunks/useProgressBar-DmcvqOjq.esm.js.map +0 -1
- package/dist/chunks/useTextField-CzF6gZ6-.cjs +0 -2
- package/dist/chunks/useToggle-DOG2OJN_.cjs +0 -2
|
@@ -3,16 +3,17 @@ import { t } from "./mergeProps-BJ6-Ao_L.esm.js";
|
|
|
3
3
|
import { n } from "./useFocusable-CzgpEOAv.esm.js";
|
|
4
4
|
import { t as r } from "./filterDOMProps-Dk-4zxhC.esm.js";
|
|
5
5
|
import { t as i } from "./usePress-BC0lMVus.esm.js";
|
|
6
|
-
import {
|
|
6
|
+
import { t as a } from "./useFormReset-CAZratNG.esm.js";
|
|
7
|
+
import { a as o, n as s, o as c } from "./useFormValidationState-hfa069v5.esm.js";
|
|
7
8
|
import { t as l } from "./useSlot-DouWjYNV.esm.js";
|
|
8
9
|
import { useState as u } from "react";
|
|
9
10
|
//#region ../../node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/private/toggle/useToggle.mjs
|
|
10
11
|
function d(d, f, p) {
|
|
11
|
-
let { isDisabled: m = !1, isReadOnly: h = !1, value: g, name: _, form: v, children: y, isRequired: b, validationBehavior: x = "aria", "aria-label": S, "aria-labelledby": C, "aria-describedby": w, onPressStart: T, onPressEnd: E, onPressChange: D, onPress: O, onPressUp: k, onClick: A } = d, j =
|
|
12
|
+
let { isDisabled: m = !1, isReadOnly: h = !1, value: g, name: _, form: v, children: y, isRequired: b, validationBehavior: x = "aria", "aria-label": S, "aria-labelledby": C, "aria-describedby": w, onPressStart: T, onPressEnd: E, onPressChange: D, onPress: O, onPressUp: k, onClick: A } = d, j = o({
|
|
12
13
|
...d,
|
|
13
14
|
value: f.isSelected
|
|
14
15
|
}), { isInvalid: M, validationErrors: N, validationDetails: P } = j.displayValidation;
|
|
15
|
-
|
|
16
|
+
c(d, j, p);
|
|
16
17
|
let F = (t) => {
|
|
17
18
|
t.stopPropagation(), f.setSelected(e(t).checked);
|
|
18
19
|
};
|
|
@@ -54,12 +55,12 @@ function d(d, f, p) {
|
|
|
54
55
|
return;
|
|
55
56
|
}
|
|
56
57
|
O?.(e), f.toggle(), p.current?.focus();
|
|
57
|
-
let { [
|
|
58
|
+
let { [s]: t } = d, { commitValidation: n } = t || j;
|
|
58
59
|
n();
|
|
59
60
|
},
|
|
60
61
|
isDisabled: m || h
|
|
61
62
|
}), { focusableProps: V } = n(d, p), H = t(I, V), U = r(d, { labelable: !0 });
|
|
62
|
-
|
|
63
|
+
a(p, f.defaultSelected, f.setSelected);
|
|
63
64
|
let W = l(), G = l();
|
|
64
65
|
return {
|
|
65
66
|
labelProps: t(B, { onClick: (e) => e.preventDefault() }),
|
|
@@ -98,4 +99,4 @@ function d(d, f, p) {
|
|
|
98
99
|
//#endregion
|
|
99
100
|
export { d as t };
|
|
100
101
|
|
|
101
|
-
//# sourceMappingURL=useToggle-
|
|
102
|
+
//# sourceMappingURL=useToggle-B9oH7p52.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToggle-oUUHIEEp.esm.js","names":["$jQnU8$useFormValidationState","$jQnU8$useState","$jQnU8$privateValidationStateProp"],"sources":["../../../../node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/private/toggle/useToggle.mjs"],"sourcesContent":["import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {useFormReset as $3274bf1495747a7b$export$5add1d006293d136} from \"../utils/useFormReset.mjs\";\nimport {useFormValidation as $860f7da480e22816$export$b8473d3665f3a75a} from \"../form/useFormValidation.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {useSlotId2 as $4c14b02d5228be26$export$ed2feabec4a533f4} from \"../utils/useSlot.mjs\";\nimport {useState as $jQnU8$useState} from \"react\";\nimport {useFormValidationState as $jQnU8$useFormValidationState, privateValidationStateProp as $jQnU8$privateValidationStateProp} from \"react-stately/private/form/useFormValidationState\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $876b6f32ca5a04c3$export$cbe85ee05b554577(props, state, ref) {\n let { isDisabled: isDisabled = false, isReadOnly: isReadOnly = false, value: value, name: name, form: form, children: children, isRequired: isRequired, validationBehavior: validationBehavior = 'aria', 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressChange: onPressChange, onPress: onPress, onPressUp: onPressUp, onClick: onClick } = props;\n // Create validation state here because it doesn't make sense to add to general useToggleState.\n let validationState = (0, $jQnU8$useFormValidationState)({\n ...props,\n value: state.isSelected\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;\n (0, $860f7da480e22816$export$b8473d3665f3a75a)(props, validationState, ref);\n let onChange = (e)=>{\n // since we spread props on label, onChange will end up there as well as in here.\n // so we have to stop propagation at the lowest level that we care about\n e.stopPropagation();\n state.setSelected((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).checked);\n };\n let hasChildren = children != null;\n let hasAriaLabel = ariaLabel != null || ariaLabelledby != null;\n if (!hasChildren && !hasAriaLabel && process.env.NODE_ENV !== 'production') console.warn('If you do not provide children, you must specify an aria-label for accessibility');\n // Handle press state for keyboard interactions and cases where labelProps is not used.\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled\n });\n // Handle press state on the label.\n let [isLabelPressed, setLabelPressed] = (0, $jQnU8$useState)(false);\n let { pressProps: labelProps } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart (e) {\n // Keyboard interactions are handled directly on the input.\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressStart?.(e);\n onPressChange?.(true);\n setLabelPressed(true);\n },\n onPressEnd (e) {\n // Keyboard interactions are handled directly on the input.\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressEnd?.(e);\n onPressChange?.(false);\n setLabelPressed(false);\n },\n onPressUp (e) {\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressUp?.(e);\n },\n onClick: onClick,\n onPress (e) {\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPress?.(e);\n state.toggle();\n ref.current?.focus();\n // @ts-expect-error\n let { [(0, $jQnU8$privateValidationStateProp)]: groupValidationState } = props;\n let { commitValidation: commitValidation } = groupValidationState ? groupValidationState : validationState;\n commitValidation();\n },\n isDisabled: isDisabled || isReadOnly\n });\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)(props, ref);\n let interactions = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(pressProps, focusableProps);\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n (0, $3274bf1495747a7b$export$5add1d006293d136)(ref, state.defaultSelected, state.setSelected);\n // Copied from useField because we don't want the label behavior that provides.\n let descriptionProps = (0, $4c14b02d5228be26$export$ed2feabec4a533f4)();\n let errorMessageProps = (0, $4c14b02d5228be26$export$ed2feabec4a533f4)();\n return {\n labelProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(labelProps, {\n onClick: (e)=>e.preventDefault()\n }),\n inputProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n checked: state.isSelected,\n 'aria-required': isRequired && validationBehavior === 'aria' || undefined,\n required: isRequired && validationBehavior === 'native',\n 'aria-invalid': isInvalid || props.validationState === 'invalid' || undefined,\n 'aria-errormessage': props['aria-errormessage'],\n 'aria-controls': props['aria-controls'],\n 'aria-readonly': isReadOnly || undefined,\n 'aria-describedby': [\n descriptionProps.id,\n errorMessageProps.id,\n ariaDescribedby\n ].filter(Boolean).join(' ') || undefined,\n onChange: onChange,\n disabled: isDisabled,\n ...value == null ? {} : {\n value: value\n },\n name: name,\n form: form,\n type: 'checkbox',\n ...interactions\n }),\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isSelected: state.isSelected,\n isPressed: isPressed || isLabelPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid || props.validationState === 'invalid',\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$876b6f32ca5a04c3$export$cbe85ee05b554577 as useToggle};\n//# sourceMappingURL=useToggle.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"useToggle-B9oH7p52.esm.js","names":["$jQnU8$useFormValidationState","$jQnU8$useState","$jQnU8$privateValidationStateProp"],"sources":["../../../../node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/private/toggle/useToggle.mjs"],"sourcesContent":["import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {useFormReset as $3274bf1495747a7b$export$5add1d006293d136} from \"../utils/useFormReset.mjs\";\nimport {useFormValidation as $860f7da480e22816$export$b8473d3665f3a75a} from \"../form/useFormValidation.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {useSlotId2 as $4c14b02d5228be26$export$ed2feabec4a533f4} from \"../utils/useSlot.mjs\";\nimport {useState as $jQnU8$useState} from \"react\";\nimport {useFormValidationState as $jQnU8$useFormValidationState, privateValidationStateProp as $jQnU8$privateValidationStateProp} from \"react-stately/private/form/useFormValidationState\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $876b6f32ca5a04c3$export$cbe85ee05b554577(props, state, ref) {\n let { isDisabled: isDisabled = false, isReadOnly: isReadOnly = false, value: value, name: name, form: form, children: children, isRequired: isRequired, validationBehavior: validationBehavior = 'aria', 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressChange: onPressChange, onPress: onPress, onPressUp: onPressUp, onClick: onClick } = props;\n // Create validation state here because it doesn't make sense to add to general useToggleState.\n let validationState = (0, $jQnU8$useFormValidationState)({\n ...props,\n value: state.isSelected\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;\n (0, $860f7da480e22816$export$b8473d3665f3a75a)(props, validationState, ref);\n let onChange = (e)=>{\n // since we spread props on label, onChange will end up there as well as in here.\n // so we have to stop propagation at the lowest level that we care about\n e.stopPropagation();\n state.setSelected((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).checked);\n };\n let hasChildren = children != null;\n let hasAriaLabel = ariaLabel != null || ariaLabelledby != null;\n if (!hasChildren && !hasAriaLabel && process.env.NODE_ENV !== 'production') console.warn('If you do not provide children, you must specify an aria-label for accessibility');\n // Handle press state for keyboard interactions and cases where labelProps is not used.\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled\n });\n // Handle press state on the label.\n let [isLabelPressed, setLabelPressed] = (0, $jQnU8$useState)(false);\n let { pressProps: labelProps } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart (e) {\n // Keyboard interactions are handled directly on the input.\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressStart?.(e);\n onPressChange?.(true);\n setLabelPressed(true);\n },\n onPressEnd (e) {\n // Keyboard interactions are handled directly on the input.\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressEnd?.(e);\n onPressChange?.(false);\n setLabelPressed(false);\n },\n onPressUp (e) {\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressUp?.(e);\n },\n onClick: onClick,\n onPress (e) {\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPress?.(e);\n state.toggle();\n ref.current?.focus();\n // @ts-expect-error\n let { [(0, $jQnU8$privateValidationStateProp)]: groupValidationState } = props;\n let { commitValidation: commitValidation } = groupValidationState ? groupValidationState : validationState;\n commitValidation();\n },\n isDisabled: isDisabled || isReadOnly\n });\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)(props, ref);\n let interactions = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(pressProps, focusableProps);\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n (0, $3274bf1495747a7b$export$5add1d006293d136)(ref, state.defaultSelected, state.setSelected);\n // Copied from useField because we don't want the label behavior that provides.\n let descriptionProps = (0, $4c14b02d5228be26$export$ed2feabec4a533f4)();\n let errorMessageProps = (0, $4c14b02d5228be26$export$ed2feabec4a533f4)();\n return {\n labelProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(labelProps, {\n onClick: (e)=>e.preventDefault()\n }),\n inputProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n checked: state.isSelected,\n 'aria-required': isRequired && validationBehavior === 'aria' || undefined,\n required: isRequired && validationBehavior === 'native',\n 'aria-invalid': isInvalid || props.validationState === 'invalid' || undefined,\n 'aria-errormessage': props['aria-errormessage'],\n 'aria-controls': props['aria-controls'],\n 'aria-readonly': isReadOnly || undefined,\n 'aria-describedby': [\n descriptionProps.id,\n errorMessageProps.id,\n ariaDescribedby\n ].filter(Boolean).join(' ') || undefined,\n onChange: onChange,\n disabled: isDisabled,\n ...value == null ? {} : {\n value: value\n },\n name: name,\n form: form,\n type: 'checkbox',\n ...interactions\n }),\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isSelected: state.isSelected,\n isPressed: isPressed || isLabelPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid || props.validationState === 'invalid',\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$876b6f32ca5a04c3$export$cbe85ee05b554577 as useToggle};\n//# sourceMappingURL=useToggle.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require("./utils-igUjp_4h.cjs.js"),t=require("./mergeProps-B4zz6EqI.cjs.js"),n=require("./useFocusable-OFsWUWgb.cjs.js"),r=require("./filterDOMProps-DnOwsDRm.cjs.js"),i=require("./usePress-gQardcsX.cjs.js"),a=require("./useFormReset-C6H3spHM.cjs.js"),o=require("./useFormValidationState-CMK07tQk.cjs.js"),s=require("./useSlot-DGFlNPB7.cjs.js");let c=require("react");function l(l,u,d){let{isDisabled:f=!1,isReadOnly:p=!1,value:m,name:h,form:g,children:_,isRequired:v,validationBehavior:y=`aria`,"aria-label":b,"aria-labelledby":x,"aria-describedby":S,onPressStart:C,onPressEnd:w,onPressChange:T,onPress:E,onPressUp:D,onClick:O}=l,k=o.a({...l,value:u.isSelected}),{isInvalid:A,validationErrors:j,validationDetails:M}=k.displayValidation;o.o(l,k,d);let N=t=>{t.stopPropagation(),u.setSelected(e.d(t).checked)};_==null&&!(b!=null||x!=null)&&process.env.NODE_ENV!==`production`&&console.warn(`If you do not provide children, you must specify an aria-label for accessibility`);let{pressProps:P,isPressed:F}=i.t({onPressStart:C,onPressEnd:w,onPressChange:T,onPress:E,onPressUp:D,onClick:O,isDisabled:f}),[I,L]=(0,c.useState)(!1),{pressProps:R}=i.t({onPressStart(e){if(e.pointerType===`keyboard`||e.pointerType===`virtual`){e.continuePropagation();return}C?.(e),T?.(!0),L(!0)},onPressEnd(e){if(e.pointerType===`keyboard`||e.pointerType===`virtual`){e.continuePropagation();return}w?.(e),T?.(!1),L(!1)},onPressUp(e){if(e.pointerType===`keyboard`||e.pointerType===`virtual`){e.continuePropagation();return}D?.(e)},onClick:O,onPress(e){if(e.pointerType===`keyboard`||e.pointerType===`virtual`){e.continuePropagation();return}E?.(e),u.toggle(),d.current?.focus();let{[o.n]:t}=l,{commitValidation:n}=t||k;n()},isDisabled:f||p}),{focusableProps:z}=n.n(l,d),B=t.t(P,z),V=r.t(l,{labelable:!0});a.t(d,u.defaultSelected,u.setSelected);let H=s.t(),U=s.t();return{labelProps:t.t(R,{onClick:e=>e.preventDefault()}),inputProps:t.t(V,{checked:u.isSelected,"aria-required":v&&y===`aria`||void 0,required:v&&y===`native`,"aria-invalid":A||l.validationState===`invalid`||void 0,"aria-errormessage":l[`aria-errormessage`],"aria-controls":l[`aria-controls`],"aria-readonly":p||void 0,"aria-describedby":[H.id,U.id,S].filter(Boolean).join(` `)||void 0,onChange:N,disabled:f,...m==null?{}:{value:m},name:h,form:g,type:`checkbox`,...B}),descriptionProps:H,errorMessageProps:U,isSelected:u.isSelected,isPressed:F||I,isDisabled:f,isReadOnly:p,isInvalid:A||l.validationState===`invalid`,validationErrors:j,validationDetails:M}}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return l}});
|
|
2
|
+
//# sourceMappingURL=useToggle-WawJgKE5.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToggle-DOG2OJN_.cjs.js","names":["$jQnU8$useFormValidationState","$860f7da480e22816$export$b8473d3665f3a75a","$23f2114a1b82827e$export$e58f029f0fbfdb29","$d27d541f9569d26d$export$45712eceda6fad21","$jQnU8$privateValidationStateProp","$d1116acdf220c2da$export$4c014de7c8940b4c","$bbaa08b3cd72f041$export$9d1611c77c2fe928","$8e9d2fae0ecb9001$export$457c3d6518dd4c6f","$3274bf1495747a7b$export$5add1d006293d136","$4c14b02d5228be26$export$ed2feabec4a533f4"],"sources":["../../../../node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/private/toggle/useToggle.mjs"],"sourcesContent":["import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {useFormReset as $3274bf1495747a7b$export$5add1d006293d136} from \"../utils/useFormReset.mjs\";\nimport {useFormValidation as $860f7da480e22816$export$b8473d3665f3a75a} from \"../form/useFormValidation.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {useSlotId2 as $4c14b02d5228be26$export$ed2feabec4a533f4} from \"../utils/useSlot.mjs\";\nimport {useState as $jQnU8$useState} from \"react\";\nimport {useFormValidationState as $jQnU8$useFormValidationState, privateValidationStateProp as $jQnU8$privateValidationStateProp} from \"react-stately/private/form/useFormValidationState\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $876b6f32ca5a04c3$export$cbe85ee05b554577(props, state, ref) {\n let { isDisabled: isDisabled = false, isReadOnly: isReadOnly = false, value: value, name: name, form: form, children: children, isRequired: isRequired, validationBehavior: validationBehavior = 'aria', 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressChange: onPressChange, onPress: onPress, onPressUp: onPressUp, onClick: onClick } = props;\n // Create validation state here because it doesn't make sense to add to general useToggleState.\n let validationState = (0, $jQnU8$useFormValidationState)({\n ...props,\n value: state.isSelected\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;\n (0, $860f7da480e22816$export$b8473d3665f3a75a)(props, validationState, ref);\n let onChange = (e)=>{\n // since we spread props on label, onChange will end up there as well as in here.\n // so we have to stop propagation at the lowest level that we care about\n e.stopPropagation();\n state.setSelected((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).checked);\n };\n let hasChildren = children != null;\n let hasAriaLabel = ariaLabel != null || ariaLabelledby != null;\n if (!hasChildren && !hasAriaLabel && process.env.NODE_ENV !== 'production') console.warn('If you do not provide children, you must specify an aria-label for accessibility');\n // Handle press state for keyboard interactions and cases where labelProps is not used.\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled\n });\n // Handle press state on the label.\n let [isLabelPressed, setLabelPressed] = (0, $jQnU8$useState)(false);\n let { pressProps: labelProps } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart (e) {\n // Keyboard interactions are handled directly on the input.\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressStart?.(e);\n onPressChange?.(true);\n setLabelPressed(true);\n },\n onPressEnd (e) {\n // Keyboard interactions are handled directly on the input.\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressEnd?.(e);\n onPressChange?.(false);\n setLabelPressed(false);\n },\n onPressUp (e) {\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressUp?.(e);\n },\n onClick: onClick,\n onPress (e) {\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPress?.(e);\n state.toggle();\n ref.current?.focus();\n // @ts-expect-error\n let { [(0, $jQnU8$privateValidationStateProp)]: groupValidationState } = props;\n let { commitValidation: commitValidation } = groupValidationState ? groupValidationState : validationState;\n commitValidation();\n },\n isDisabled: isDisabled || isReadOnly\n });\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)(props, ref);\n let interactions = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(pressProps, focusableProps);\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n (0, $3274bf1495747a7b$export$5add1d006293d136)(ref, state.defaultSelected, state.setSelected);\n // Copied from useField because we don't want the label behavior that provides.\n let descriptionProps = (0, $4c14b02d5228be26$export$ed2feabec4a533f4)();\n let errorMessageProps = (0, $4c14b02d5228be26$export$ed2feabec4a533f4)();\n return {\n labelProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(labelProps, {\n onClick: (e)=>e.preventDefault()\n }),\n inputProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n checked: state.isSelected,\n 'aria-required': isRequired && validationBehavior === 'aria' || undefined,\n required: isRequired && validationBehavior === 'native',\n 'aria-invalid': isInvalid || props.validationState === 'invalid' || undefined,\n 'aria-errormessage': props['aria-errormessage'],\n 'aria-controls': props['aria-controls'],\n 'aria-readonly': isReadOnly || undefined,\n 'aria-describedby': [\n descriptionProps.id,\n errorMessageProps.id,\n ariaDescribedby\n ].filter(Boolean).join(' ') || undefined,\n onChange: onChange,\n disabled: isDisabled,\n ...value == null ? {} : {\n value: value\n },\n name: name,\n form: form,\n type: 'checkbox',\n ...interactions\n }),\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isSelected: state.isSelected,\n isPressed: isPressed || isLabelPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid || props.validationState === 'invalid',\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$876b6f32ca5a04c3$export$cbe85ee05b554577 as useToggle};\n//# sourceMappingURL=useToggle.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"useToggle-WawJgKE5.cjs.js","names":["$jQnU8$useFormValidationState","$860f7da480e22816$export$b8473d3665f3a75a","$23f2114a1b82827e$export$e58f029f0fbfdb29","$d27d541f9569d26d$export$45712eceda6fad21","$jQnU8$privateValidationStateProp","$d1116acdf220c2da$export$4c014de7c8940b4c","$bbaa08b3cd72f041$export$9d1611c77c2fe928","$8e9d2fae0ecb9001$export$457c3d6518dd4c6f","$3274bf1495747a7b$export$5add1d006293d136","$4c14b02d5228be26$export$ed2feabec4a533f4"],"sources":["../../../../node_modules/.pnpm/react-aria@3.50.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria/dist/private/toggle/useToggle.mjs"],"sourcesContent":["import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {getEventTarget as $23f2114a1b82827e$export$e58f029f0fbfdb29} from \"../utils/shadowdom/DOMFunctions.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {useFormReset as $3274bf1495747a7b$export$5add1d006293d136} from \"../utils/useFormReset.mjs\";\nimport {useFormValidation as $860f7da480e22816$export$b8473d3665f3a75a} from \"../form/useFormValidation.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\nimport {useSlotId2 as $4c14b02d5228be26$export$ed2feabec4a533f4} from \"../utils/useSlot.mjs\";\nimport {useState as $jQnU8$useState} from \"react\";\nimport {useFormValidationState as $jQnU8$useFormValidationState, privateValidationStateProp as $jQnU8$privateValidationStateProp} from \"react-stately/private/form/useFormValidationState\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nfunction $876b6f32ca5a04c3$export$cbe85ee05b554577(props, state, ref) {\n let { isDisabled: isDisabled = false, isReadOnly: isReadOnly = false, value: value, name: name, form: form, children: children, isRequired: isRequired, validationBehavior: validationBehavior = 'aria', 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressChange: onPressChange, onPress: onPress, onPressUp: onPressUp, onClick: onClick } = props;\n // Create validation state here because it doesn't make sense to add to general useToggleState.\n let validationState = (0, $jQnU8$useFormValidationState)({\n ...props,\n value: state.isSelected\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;\n (0, $860f7da480e22816$export$b8473d3665f3a75a)(props, validationState, ref);\n let onChange = (e)=>{\n // since we spread props on label, onChange will end up there as well as in here.\n // so we have to stop propagation at the lowest level that we care about\n e.stopPropagation();\n state.setSelected((0, $23f2114a1b82827e$export$e58f029f0fbfdb29)(e).checked);\n };\n let hasChildren = children != null;\n let hasAriaLabel = ariaLabel != null || ariaLabelledby != null;\n if (!hasChildren && !hasAriaLabel && process.env.NODE_ENV !== 'production') console.warn('If you do not provide children, you must specify an aria-label for accessibility');\n // Handle press state for keyboard interactions and cases where labelProps is not used.\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled\n });\n // Handle press state on the label.\n let [isLabelPressed, setLabelPressed] = (0, $jQnU8$useState)(false);\n let { pressProps: labelProps } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart (e) {\n // Keyboard interactions are handled directly on the input.\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressStart?.(e);\n onPressChange?.(true);\n setLabelPressed(true);\n },\n onPressEnd (e) {\n // Keyboard interactions are handled directly on the input.\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressEnd?.(e);\n onPressChange?.(false);\n setLabelPressed(false);\n },\n onPressUp (e) {\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPressUp?.(e);\n },\n onClick: onClick,\n onPress (e) {\n if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') {\n e.continuePropagation();\n return;\n }\n onPress?.(e);\n state.toggle();\n ref.current?.focus();\n // @ts-expect-error\n let { [(0, $jQnU8$privateValidationStateProp)]: groupValidationState } = props;\n let { commitValidation: commitValidation } = groupValidationState ? groupValidationState : validationState;\n commitValidation();\n },\n isDisabled: isDisabled || isReadOnly\n });\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)(props, ref);\n let interactions = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(pressProps, focusableProps);\n let domProps = (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n });\n (0, $3274bf1495747a7b$export$5add1d006293d136)(ref, state.defaultSelected, state.setSelected);\n // Copied from useField because we don't want the label behavior that provides.\n let descriptionProps = (0, $4c14b02d5228be26$export$ed2feabec4a533f4)();\n let errorMessageProps = (0, $4c14b02d5228be26$export$ed2feabec4a533f4)();\n return {\n labelProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(labelProps, {\n onClick: (e)=>e.preventDefault()\n }),\n inputProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(domProps, {\n checked: state.isSelected,\n 'aria-required': isRequired && validationBehavior === 'aria' || undefined,\n required: isRequired && validationBehavior === 'native',\n 'aria-invalid': isInvalid || props.validationState === 'invalid' || undefined,\n 'aria-errormessage': props['aria-errormessage'],\n 'aria-controls': props['aria-controls'],\n 'aria-readonly': isReadOnly || undefined,\n 'aria-describedby': [\n descriptionProps.id,\n errorMessageProps.id,\n ariaDescribedby\n ].filter(Boolean).join(' ') || undefined,\n onChange: onChange,\n disabled: isDisabled,\n ...value == null ? {} : {\n value: value\n },\n name: name,\n form: form,\n type: 'checkbox',\n ...interactions\n }),\n descriptionProps: descriptionProps,\n errorMessageProps: errorMessageProps,\n isSelected: state.isSelected,\n isPressed: isPressed || isLabelPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid || props.validationState === 'invalid',\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$876b6f32ca5a04c3$export$cbe85ee05b554577 as useToggle};\n//# sourceMappingURL=useToggle.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"uXA+BA,SAAS,EAA0C,EAAO,EAAO,EAAK,CAClE,GAAI,CAAc,aAAa,GAAmB,aAAa,GAAc,QAAa,OAAY,OAAgB,WAAsB,aAAgC,qBAAqB,OAAQ,aAAc,EAAW,kBAAmB,EAAgB,mBAAoB,EAA+B,eAA0B,aAA2B,gBAAwB,UAAoB,YAAoB,WAAY,EAErb,EAAsBA,EAAAA,EAA+B,CACrD,GAAG,EACH,MAAO,EAAM,UACjB,CAAC,EACG,CAAa,YAA6B,mBAAqC,qBAAsB,EAAgB,kBACzH,EAAIC,EAA2C,EAAO,EAAiB,CAAG,EAC1E,IAAI,EAAY,GAAI,CAGhB,EAAE,gBAAgB,EAClB,EAAM,YAAgBC,EAAAA,EAA2C,CAAC,CAAC,CAAC,OAAO,CAC/E,EACkB,GAAY,MAEV,EADD,GAAa,MAAQ,GAAkB,OAAA,QAAA,IAAA,WACI,cAAc,QAAQ,KAAK,kFAAkF,EAE3K,GAAI,CAAc,aAAuB,aAAkBC,EAAAA,EAA2C,CACpF,eACF,aACG,gBACN,UACE,YACF,UACG,YAChB,CAAC,EAEG,CAAC,EAAgB,IAAA,EAAA,EAAA,SAAA,CAAwC,EAAK,EAC9D,CAAE,WAAY,GAAmBA,EAAAA,EAA2C,CAC5E,aAAc,EAAG,CAEb,GAAI,EAAE,cAAgB,YAAc,EAAE,cAAgB,UAAW,CAC7D,EAAE,oBAAoB,EACtB,MACJ,CACA,IAAe,CAAC,EAChB,IAAgB,EAAI,EACpB,EAAgB,EAAI,CACxB,EACA,WAAY,EAAG,CAEX,GAAI,EAAE,cAAgB,YAAc,EAAE,cAAgB,UAAW,CAC7D,EAAE,oBAAoB,EACtB,MACJ,CACA,IAAa,CAAC,EACd,IAAgB,EAAK,EACrB,EAAgB,EAAK,CACzB,EACA,UAAW,EAAG,CACV,GAAI,EAAE,cAAgB,YAAc,EAAE,cAAgB,UAAW,CAC7D,EAAE,oBAAoB,EACtB,MACJ,CACA,IAAY,CAAC,CACjB,EACS,UACT,QAAS,EAAG,CACR,GAAI,EAAE,cAAgB,YAAc,EAAE,cAAgB,UAAW,CAC7D,EAAE,oBAAoB,EACtB,MACJ,CACA,IAAU,CAAC,EACX,EAAM,OAAO,EACb,EAAI,SAAS,MAAM,EAEnB,GAAI,EAAOC,EAAAA,GAAqC,GAAyB,EACrE,CAAoB,oBAAqB,GAA8C,EAC3F,EAAiB,CACrB,EACA,WAAY,GAAc,CAC9B,CAAC,EACG,CAAkB,kBAAuBC,EAAAA,EAA2C,EAAO,CAAG,EAC9F,EAAmBC,EAAAA,EAA2C,EAAY,CAAc,EACxF,EAAeC,EAAAA,EAA2C,EAAO,CACjE,UAAW,EACf,CAAC,EACD,EAAIC,EAA2C,EAAK,EAAM,gBAAiB,EAAM,WAAW,EAE5F,IAAI,EAAuBC,EAAAA,EAA2C,EAClE,EAAwBA,EAAAA,EAA2C,EACvE,MAAO,CACH,WAAgBH,EAAAA,EAA2C,EAAY,CACnE,QAAU,GAAI,EAAE,eAAe,CACnC,CAAC,EACD,WAAgBA,EAAAA,EAA2C,EAAU,CACjE,QAAS,EAAM,WACf,gBAAiB,GAAc,IAAuB,QAAU,IAAA,GAChE,SAAU,GAAc,IAAuB,SAC/C,eAAgB,GAAa,EAAM,kBAAoB,WAAa,IAAA,GACpE,oBAAqB,EAAM,qBAC3B,gBAAiB,EAAM,iBACvB,gBAAiB,GAAc,IAAA,GAC/B,mBAAoB,CAChB,EAAiB,GACjB,EAAkB,GAClB,CACJ,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG,GAAK,IAAA,GACrB,WACV,SAAU,EACV,GAAG,GAAS,KAAO,CAAC,EAAI,CACb,OACX,EACM,OACA,OACN,KAAM,WACN,GAAG,CACP,CAAC,EACiB,mBACC,oBACnB,WAAY,EAAM,WAClB,UAAW,GAAa,EACZ,aACA,aACZ,UAAW,GAAa,EAAM,kBAAoB,UAChC,mBACC,mBACvB,CACJ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require("./useCollection-
|
|
2
|
-
//# sourceMappingURL=useTreeState-
|
|
1
|
+
const e=require("./useCollection-BjHtDvt-.cjs.js"),t=require("./useControlledState-C-8MHM79.cjs.js");let n=require("react");var r=class{constructor(e,{expandedKeys:t}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,t||=new Set;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&(e.type===`section`||t.has(e.key)))for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=null,i=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),t.type===`item`&&(t.index=i++),r=t,r.nextKey=void 0;this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}};function i(i){let{onExpandedChange:o}=i,[s,c]=t.t(i.expandedKeys?new Set(i.expandedKeys):void 0,i.defaultExpandedKeys?new Set(i.defaultExpandedKeys):new Set,o),l=e.r(i),u=(0,n.useMemo)(()=>i.disabledKeys?new Set(i.disabledKeys):new Set,[i.disabledKeys]),d=e.t(i,(0,n.useCallback)(e=>new r(e,{expandedKeys:s}),[s]),null);return(0,n.useEffect)(()=>{l.focusedKey!=null&&!d.getItem(l.focusedKey)&&l.setFocusedKey(null)},[d,l.focusedKey]),{collection:d,expandedKeys:s,disabledKeys:u,toggleKey:e=>{c(a(s,e))},setExpandedKeys:c,selectionManager:new e.n(d,l)}}function a(e,t){let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|
|
2
|
+
//# sourceMappingURL=useTreeState-C5z4FPeF.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTreeState-
|
|
1
|
+
{"version":3,"file":"useTreeState-C5z4FPeF.cjs.js","names":["$3e6197669829fe11$export$40bfa8c7b0832715","$60f19cefd567a3e4$export$253fe78d46329472","$d03379b88399b8c5$export$6cd28814d92fa9c9","$4a07ac835f260f78$export$6c8a5aaad13c9852"],"sources":["../../../../node_modules/.pnpm/react-stately@3.48.0_react@19.2.0/node_modules/react-stately/dist/private/tree/TreeCollection.mjs","../../../../node_modules/.pnpm/react-stately@3.48.0_react@19.2.0/node_modules/react-stately/dist/private/tree/useTreeState.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $df1fcc684d3b021a$export$863faf230ee2118a {\n constructor(nodes, { expandedKeys: expandedKeys } = {}){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.iterable = nodes;\n expandedKeys = expandedKeys || new Set();\n let visit = (node)=>{\n this.keyMap.set(node.key, node);\n if (node.childNodes && (node.type === 'section' || expandedKeys.has(node.key))) for (let child of node.childNodes)visit(child);\n };\n for (let node of nodes)visit(node);\n let last = null;\n let index = 0;\n for (let [key, node] of this.keyMap){\n if (last) {\n last.nextKey = key;\n node.prevKey = last.key;\n } else {\n this.firstKey = key;\n node.prevKey = undefined;\n }\n if (node.type === 'item') node.index = index++;\n last = node;\n // Set nextKey as undefined since this might be the last node\n // If it isn't the last node, last.nextKey will properly set at start of new loop\n last.nextKey = undefined;\n }\n this.lastKey = last?.key ?? null;\n }\n *[Symbol.iterator]() {\n yield* this.iterable;\n }\n get size() {\n return this.keyMap.size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n return node ? node.prevKey ?? null : null;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n return node ? node.nextKey ?? null : null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n return this.lastKey;\n }\n getItem(key) {\n return this.keyMap.get(key) ?? null;\n }\n at(idx) {\n const keys = [\n ...this.getKeys()\n ];\n return this.getItem(keys[idx]);\n }\n}\n\n\nexport {$df1fcc684d3b021a$export$863faf230ee2118a as TreeCollection};\n//# sourceMappingURL=TreeCollection.mjs.map\n","import {SelectionManager as $4a07ac835f260f78$export$6c8a5aaad13c9852} from \"../selection/SelectionManager.mjs\";\nimport {TreeCollection as $df1fcc684d3b021a$export$863faf230ee2118a} from \"./TreeCollection.mjs\";\nimport {useCollection as $d03379b88399b8c5$export$6cd28814d92fa9c9} from \"../collections/useCollection.mjs\";\nimport {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {useMultipleSelectionState as $60f19cefd567a3e4$export$253fe78d46329472} from \"../selection/useMultipleSelectionState.mjs\";\nimport {useMemo as $aXIpm$useMemo, useCallback as $aXIpm$useCallback, useEffect as $aXIpm$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\n\n\n\n\nfunction $6b915bde6cd300dd$export$728d6ba534403756(props) {\n let { onExpandedChange: onExpandedChange } = props;\n let [expandedKeys, setExpandedKeys] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.expandedKeys ? new Set(props.expandedKeys) : undefined, props.defaultExpandedKeys ? new Set(props.defaultExpandedKeys) : new Set(), onExpandedChange);\n let selectionState = (0, $60f19cefd567a3e4$export$253fe78d46329472)(props);\n let disabledKeys = (0, $aXIpm$useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [\n props.disabledKeys\n ]);\n let tree = (0, $d03379b88399b8c5$export$6cd28814d92fa9c9)(props, (0, $aXIpm$useCallback)((nodes)=>new (0, $df1fcc684d3b021a$export$863faf230ee2118a)(nodes, {\n expandedKeys: expandedKeys\n }), [\n expandedKeys\n ]), null);\n // Reset focused key if that item is deleted from the collection.\n (0, $aXIpm$useEffect)(()=>{\n if (selectionState.focusedKey != null && !tree.getItem(selectionState.focusedKey)) selectionState.setFocusedKey(null);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n tree,\n selectionState.focusedKey\n ]);\n let onToggle = (key)=>{\n setExpandedKeys($6b915bde6cd300dd$var$toggleKey(expandedKeys, key));\n };\n return {\n collection: tree,\n expandedKeys: expandedKeys,\n disabledKeys: disabledKeys,\n toggleKey: onToggle,\n setExpandedKeys: setExpandedKeys,\n selectionManager: new (0, $4a07ac835f260f78$export$6c8a5aaad13c9852)(tree, selectionState)\n };\n}\nfunction $6b915bde6cd300dd$var$toggleKey(set, key) {\n let res = new Set(set);\n if (res.has(key)) res.delete(key);\n else res.add(key);\n return res;\n}\n\n\nexport {$6b915bde6cd300dd$export$728d6ba534403756 as useTreeState};\n//# sourceMappingURL=useTreeState.mjs.map\n"],"x_google_ignoreList":[0,1],"mappings":"4HAUI,IAAM,EAAN,KAAgD,CAChD,YAAY,EAAO,CAAgB,gBAAiB,CAAC,EAAE,CACnD,KAAK,OAAS,IAAI,IAClB,KAAK,SAAW,KAChB,KAAK,QAAU,KACf,KAAK,SAAW,EAChB,IAA+B,IAAI,IACnC,IAAI,EAAS,GAAO,CAEhB,GADA,KAAK,OAAO,IAAI,EAAK,IAAK,CAAI,EAC1B,EAAK,aAAe,EAAK,OAAS,WAAa,EAAa,IAAI,EAAK,GAAG,GAAI,IAAK,IAAI,KAAS,EAAK,WAAW,EAAM,CAAK,CACjI,EACA,IAAK,IAAI,KAAQ,EAAM,EAAM,CAAI,EACjC,IAAI,EAAO,KACP,EAAQ,EACZ,IAAK,GAAI,CAAC,EAAK,KAAS,KAAK,OACrB,GACA,EAAK,QAAU,EACf,EAAK,QAAU,EAAK,MAEpB,KAAK,SAAW,EAChB,EAAK,QAAU,IAAA,IAEf,EAAK,OAAS,SAAQ,EAAK,MAAQ,KACvC,EAAO,EAGP,EAAK,QAAU,IAAA,GAEnB,KAAK,QAAU,GAAM,KAAO,IAChC,CACA,EAAE,OAAO,WAAY,CACjB,MAAO,KAAK,QAChB,CACA,IAAI,MAAO,CACP,OAAO,KAAK,OAAO,IACvB,CACA,SAAU,CACN,OAAO,KAAK,OAAO,KAAK,CAC5B,CACA,aAAa,EAAK,CACd,IAAI,EAAO,KAAK,OAAO,IAAI,CAAG,EAC9B,OAAO,EAAO,EAAK,SAAW,KAAO,IACzC,CACA,YAAY,EAAK,CACb,IAAI,EAAO,KAAK,OAAO,IAAI,CAAG,EAC9B,OAAO,EAAO,EAAK,SAAW,KAAO,IACzC,CACA,aAAc,CACV,OAAO,KAAK,QAChB,CACA,YAAa,CACT,OAAO,KAAK,OAChB,CACA,QAAQ,EAAK,CACT,OAAO,KAAK,OAAO,IAAI,CAAG,GAAK,IACnC,CACA,GAAG,EAAK,CACJ,IAAM,EAAO,CACT,GAAG,KAAK,QAAQ,CACpB,EACA,OAAO,KAAK,QAAQ,EAAK,EAAI,CACjC,CACJ,ECjDA,SAAS,EAA0C,EAAO,CACtD,GAAI,CAAoB,oBAAqB,EACzC,CAAC,EAAc,GAAuBA,EAAAA,EAA2C,EAAM,aAAe,IAAI,IAAI,EAAM,YAAY,EAAI,IAAA,GAAW,EAAM,oBAAsB,IAAI,IAAI,EAAM,mBAAmB,EAAI,IAAI,IAAO,CAAgB,EAC3O,EAAqBC,EAAAA,EAA2C,CAAK,EACrE,GAAA,EAAA,EAAA,QAAA,KAAuC,EAAM,aAAe,IAAI,IAAI,EAAM,YAAY,EAAI,IAAI,IAAO,CACrG,EAAM,YACV,CAAC,EACG,EAAWC,EAAAA,EAA2C,GAAA,EAAA,EAAA,YAAA,CAAgC,GAAQ,IAAQ,EAA2C,EAAO,CACtI,cAClB,CAAC,EAAG,CACJ,CACJ,CAAC,EAAG,IAAI,EAYR,OAVA,EAAA,EAAA,UAAA,KAA0B,CAClB,EAAe,YAAc,MAAQ,CAAC,EAAK,QAAQ,EAAe,UAAU,GAAG,EAAe,cAAc,IAAI,CAExH,EAAG,CACC,EACA,EAAe,UACnB,CAAC,EAIM,CACH,WAAY,EACE,eACA,eACd,UAPY,GAAM,CAClB,EAAgB,EAAgC,EAAc,CAAG,CAAC,CACtE,EAMqB,kBACjB,iBAAkB,IAAQC,EAAAA,EAA2C,EAAM,CAAc,CAC7F,CACJ,CACA,SAAS,EAAgC,EAAK,EAAK,CAC/C,IAAI,EAAM,IAAI,IAAI,CAAG,EAGrB,OAFI,EAAI,IAAI,CAAG,EAAG,EAAI,OAAO,CAAG,EAC3B,EAAI,IAAI,CAAG,EACT,CACX"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./useCollection-
|
|
1
|
+
import { n as e, r as t, t as n } from "./useCollection-BCbt2V3u.esm.js";
|
|
2
2
|
import { t as r } from "./useControlledState-DH1pZlhP.esm.js";
|
|
3
3
|
import { useCallback as i, useEffect as a, useMemo as o } from "react";
|
|
4
4
|
//#region ../../node_modules/.pnpm/react-stately@3.48.0_react@19.2.0/node_modules/react-stately/dist/private/tree/TreeCollection.mjs
|
|
@@ -68,4 +68,4 @@ function l(e, t) {
|
|
|
68
68
|
//#endregion
|
|
69
69
|
export { c as t };
|
|
70
70
|
|
|
71
|
-
//# sourceMappingURL=useTreeState-
|
|
71
|
+
//# sourceMappingURL=useTreeState-DuW0JMo8.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTreeState-
|
|
1
|
+
{"version":3,"file":"useTreeState-DuW0JMo8.esm.js","names":["$aXIpm$useMemo","$aXIpm$useCallback","$aXIpm$useEffect"],"sources":["../../../../node_modules/.pnpm/react-stately@3.48.0_react@19.2.0/node_modules/react-stately/dist/private/tree/TreeCollection.mjs","../../../../node_modules/.pnpm/react-stately@3.48.0_react@19.2.0/node_modules/react-stately/dist/private/tree/useTreeState.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $df1fcc684d3b021a$export$863faf230ee2118a {\n constructor(nodes, { expandedKeys: expandedKeys } = {}){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.iterable = nodes;\n expandedKeys = expandedKeys || new Set();\n let visit = (node)=>{\n this.keyMap.set(node.key, node);\n if (node.childNodes && (node.type === 'section' || expandedKeys.has(node.key))) for (let child of node.childNodes)visit(child);\n };\n for (let node of nodes)visit(node);\n let last = null;\n let index = 0;\n for (let [key, node] of this.keyMap){\n if (last) {\n last.nextKey = key;\n node.prevKey = last.key;\n } else {\n this.firstKey = key;\n node.prevKey = undefined;\n }\n if (node.type === 'item') node.index = index++;\n last = node;\n // Set nextKey as undefined since this might be the last node\n // If it isn't the last node, last.nextKey will properly set at start of new loop\n last.nextKey = undefined;\n }\n this.lastKey = last?.key ?? null;\n }\n *[Symbol.iterator]() {\n yield* this.iterable;\n }\n get size() {\n return this.keyMap.size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n return node ? node.prevKey ?? null : null;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n return node ? node.nextKey ?? null : null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n return this.lastKey;\n }\n getItem(key) {\n return this.keyMap.get(key) ?? null;\n }\n at(idx) {\n const keys = [\n ...this.getKeys()\n ];\n return this.getItem(keys[idx]);\n }\n}\n\n\nexport {$df1fcc684d3b021a$export$863faf230ee2118a as TreeCollection};\n//# sourceMappingURL=TreeCollection.mjs.map\n","import {SelectionManager as $4a07ac835f260f78$export$6c8a5aaad13c9852} from \"../selection/SelectionManager.mjs\";\nimport {TreeCollection as $df1fcc684d3b021a$export$863faf230ee2118a} from \"./TreeCollection.mjs\";\nimport {useCollection as $d03379b88399b8c5$export$6cd28814d92fa9c9} from \"../collections/useCollection.mjs\";\nimport {useControlledState as $3e6197669829fe11$export$40bfa8c7b0832715} from \"../utils/useControlledState.mjs\";\nimport {useMultipleSelectionState as $60f19cefd567a3e4$export$253fe78d46329472} from \"../selection/useMultipleSelectionState.mjs\";\nimport {useMemo as $aXIpm$useMemo, useCallback as $aXIpm$useCallback, useEffect as $aXIpm$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\n\n\n\n\nfunction $6b915bde6cd300dd$export$728d6ba534403756(props) {\n let { onExpandedChange: onExpandedChange } = props;\n let [expandedKeys, setExpandedKeys] = (0, $3e6197669829fe11$export$40bfa8c7b0832715)(props.expandedKeys ? new Set(props.expandedKeys) : undefined, props.defaultExpandedKeys ? new Set(props.defaultExpandedKeys) : new Set(), onExpandedChange);\n let selectionState = (0, $60f19cefd567a3e4$export$253fe78d46329472)(props);\n let disabledKeys = (0, $aXIpm$useMemo)(()=>props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [\n props.disabledKeys\n ]);\n let tree = (0, $d03379b88399b8c5$export$6cd28814d92fa9c9)(props, (0, $aXIpm$useCallback)((nodes)=>new (0, $df1fcc684d3b021a$export$863faf230ee2118a)(nodes, {\n expandedKeys: expandedKeys\n }), [\n expandedKeys\n ]), null);\n // Reset focused key if that item is deleted from the collection.\n (0, $aXIpm$useEffect)(()=>{\n if (selectionState.focusedKey != null && !tree.getItem(selectionState.focusedKey)) selectionState.setFocusedKey(null);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n tree,\n selectionState.focusedKey\n ]);\n let onToggle = (key)=>{\n setExpandedKeys($6b915bde6cd300dd$var$toggleKey(expandedKeys, key));\n };\n return {\n collection: tree,\n expandedKeys: expandedKeys,\n disabledKeys: disabledKeys,\n toggleKey: onToggle,\n setExpandedKeys: setExpandedKeys,\n selectionManager: new (0, $4a07ac835f260f78$export$6c8a5aaad13c9852)(tree, selectionState)\n };\n}\nfunction $6b915bde6cd300dd$var$toggleKey(set, key) {\n let res = new Set(set);\n if (res.has(key)) res.delete(key);\n else res.add(key);\n return res;\n}\n\n\nexport {$6b915bde6cd300dd$export$728d6ba534403756 as useTreeState};\n//# sourceMappingURL=useTreeState.mjs.map\n"],"x_google_ignoreList":[0,1],"mappings":";;;;AAUI,IAAM,IAAN,MAAgD;CAChD,YAAY,GAAO,EAAgB,oBAAiB,CAAC,GAAE;EAKnD,AAJA,KAAK,yBAAS,IAAI,IAAI,GACtB,KAAK,WAAW,MAChB,KAAK,UAAU,MACf,KAAK,WAAW,GAChB,sBAA+B,IAAI,IAAI;EACvC,IAAI,KAAS,MAAO;GAEhB,IADA,KAAK,OAAO,IAAI,EAAK,KAAK,CAAI,GAC1B,EAAK,eAAe,EAAK,SAAS,aAAa,EAAa,IAAI,EAAK,GAAG,IAAI,KAAK,IAAI,KAAS,EAAK,YAAW,EAAM,CAAK;EACjI;EACA,KAAK,IAAI,KAAQ,GAAM,EAAM,CAAI;EACjC,IAAI,IAAO,MACP,IAAQ;EACZ,KAAK,IAAI,CAAC,GAAK,MAAS,KAAK,QAYzB,AAXI,KACA,EAAK,UAAU,GACf,EAAK,UAAU,EAAK,QAEpB,KAAK,WAAW,GAChB,EAAK,UAAU,KAAA,IAEf,EAAK,SAAS,WAAQ,EAAK,QAAQ,MACvC,IAAO,GAGP,EAAK,UAAU,KAAA;EAEnB,KAAK,UAAU,GAAM,OAAO;CAChC;CACA,EAAE,OAAO,YAAY;EACjB,OAAO,KAAK;CAChB;CACA,IAAI,OAAO;EACP,OAAO,KAAK,OAAO;CACvB;CACA,UAAU;EACN,OAAO,KAAK,OAAO,KAAK;CAC5B;CACA,aAAa,GAAK;EACd,IAAI,IAAO,KAAK,OAAO,IAAI,CAAG;EAC9B,OAAO,IAAO,EAAK,WAAW,OAAO;CACzC;CACA,YAAY,GAAK;EACb,IAAI,IAAO,KAAK,OAAO,IAAI,CAAG;EAC9B,OAAO,IAAO,EAAK,WAAW,OAAO;CACzC;CACA,cAAc;EACV,OAAO,KAAK;CAChB;CACA,aAAa;EACT,OAAO,KAAK;CAChB;CACA,QAAQ,GAAK;EACT,OAAO,KAAK,OAAO,IAAI,CAAG,KAAK;CACnC;CACA,GAAG,GAAK;EACJ,IAAM,IAAO,CACT,GAAG,KAAK,QAAQ,CACpB;EACA,OAAO,KAAK,QAAQ,EAAK,EAAI;CACjC;AACJ;;;ACjDA,SAAS,EAA0C,GAAO;CACtD,IAAI,EAAoB,wBAAqB,GACzC,CAAC,GAAc,KAAuB,EAA2C,EAAM,eAAe,IAAI,IAAI,EAAM,YAAY,IAAI,KAAA,GAAW,EAAM,sBAAsB,IAAI,IAAI,EAAM,mBAAmB,oBAAI,IAAI,IAAI,GAAG,CAAgB,GAC3O,IAAqB,EAA2C,CAAK,GACrE,IAAmBA,QAAoB,EAAM,eAAe,IAAI,IAAI,EAAM,YAAY,oBAAI,IAAI,IAAI,GAAG,CACrG,EAAM,YACV,CAAC,GACG,IAAW,EAA2C,GAAWC,GAAqB,MAAQ,IAAQ,EAA2C,GAAO,EACtI,gBAClB,CAAC,GAAG,CACJ,CACJ,CAAC,GAAG,IAAI;CAYR,OAVA,QAA0B;EACtB,AAAI,EAAe,cAAc,QAAQ,CAAC,EAAK,QAAQ,EAAe,UAAU,KAAG,EAAe,cAAc,IAAI;CAExH,GAAG,CACC,GACA,EAAe,UACnB,CAAC,GAIM;EACH,YAAY;EACE;EACA;EACd,YAPY,MAAM;GAClB,EAAgB,EAAgC,GAAc,CAAG,CAAC;EACtE;EAMqB;EACjB,kBAAkB,IAAQ,EAA2C,GAAM,CAAc;CAC7F;AACJ;AACA,SAAS,EAAgC,GAAK,GAAK;CAC/C,IAAI,IAAM,IAAI,IAAI,CAAG;CAGrB,OAFI,EAAI,IAAI,CAAG,IAAG,EAAI,OAAO,CAAG,IAC3B,EAAI,IAAI,CAAG,GACT;AACX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../chunks/components-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../chunks/components-tMYnGsnG.cjs.js"),t=require("../chunks/accordion-BJQKQHIG.cjs.js");exports.Accordion=t.t,exports._AccordionContent=e.t,exports._AccordionHeader=e.n,exports._AccordionHeaderRightContent=e.r,exports._AccordionItem=e.i,exports._AccordionRoot=e.a;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "../chunks/components-
|
|
2
|
-
import { t as a } from "../chunks/accordion-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "../chunks/components-DJj34Iqi.esm.js";
|
|
2
|
+
import { t as a } from "../chunks/accordion-DPnhySdl.esm.js";
|
|
3
3
|
export { a as Accordion, i as _AccordionContent, n as _AccordionHeader, r as _AccordionHeaderRightContent, t as _AccordionItem, e as _AccordionRoot };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../chunks/form-action-bar-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../chunks/form-action-bar-DhmjijBw.cjs.js");exports.FormActionBar=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/form-action-bar-
|
|
1
|
+
import { t as e } from "../chunks/form-action-bar-CfJjVyeS.esm.js";
|
|
2
2
|
export { e as FormActionBar };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../chunks/alert-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../chunks/alert-GP75E0QV.cjs.js");exports.Alert=e.t,exports._AlertActions=e.r,exports._AlertDescription=e.i,exports._AlertDismissButton=e.n,exports._AlertRoot=e.o,exports._AlertTitle=e.a;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/alert-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/alert-Coz95VgD.esm.js";
|
|
2
2
|
export { a as Alert, i as _AlertActions, t as _AlertDescription, n as _AlertDismissButton, r as _AlertRoot, e as _AlertTitle };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { BreadcrumbsRoot, BreadcrumbsItem } from './components/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Breadcrumbs
|
|
4
|
+
* ============================================================
|
|
5
|
+
* A navigation component that displays the hierarchical path to the current
|
|
6
|
+
* page as an ordered list of links. Built on React Aria Components'
|
|
7
|
+
* `Breadcrumbs`/`Breadcrumb`; the last item is treated as the current page
|
|
8
|
+
* automatically (non-interactive text with `aria-current="page"`).
|
|
9
|
+
*
|
|
10
|
+
* Renders proper navigation semantics (`<nav>` landmark, `<ol>`/`<li>`
|
|
11
|
+
* structure, `<a>` elements, `aria-current="page"`) for WCAG 2.1 AA compliant
|
|
12
|
+
* page navigation.
|
|
13
|
+
*
|
|
14
|
+
* @see {@link https://nimbus-documentation.vercel.app/components/navigation/breadcrumbs}
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* <Breadcrumbs.Root aria-label="Breadcrumb">
|
|
19
|
+
* <Breadcrumbs.Item href="/">Home</Breadcrumbs.Item>
|
|
20
|
+
* <Breadcrumbs.Item href="/orders">Orders</Breadcrumbs.Item>
|
|
21
|
+
* <Breadcrumbs.Item>Order #123</Breadcrumbs.Item>
|
|
22
|
+
* </Breadcrumbs.Root>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare const Breadcrumbs: {
|
|
26
|
+
/**
|
|
27
|
+
* # Breadcrumbs.Root
|
|
28
|
+
*
|
|
29
|
+
* The root container for the breadcrumbs. Renders a `<nav>` landmark wrapping
|
|
30
|
+
* an ordered list of `Breadcrumbs.Item` links. Provide an `aria-label` (e.g.
|
|
31
|
+
* `"Breadcrumb"`) and an optional `separator` node. Accepts compound
|
|
32
|
+
* `Breadcrumbs.Item` children or a declarative `items` array.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```tsx
|
|
36
|
+
* <Breadcrumbs.Root aria-label="Breadcrumb" separator="/">
|
|
37
|
+
* <Breadcrumbs.Item href="/">Home</Breadcrumbs.Item>
|
|
38
|
+
* <Breadcrumbs.Item>Settings</Breadcrumbs.Item>
|
|
39
|
+
* </Breadcrumbs.Root>
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
Root: {
|
|
43
|
+
(props: import('./breadcrumbs.types.js').BreadcrumbsProps): import("react").JSX.Element;
|
|
44
|
+
displayName: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* # Breadcrumbs.Item
|
|
48
|
+
*
|
|
49
|
+
* An individual breadcrumb. Renders an `<li>` containing an `<a>` link. The
|
|
50
|
+
* last item in a `Breadcrumbs.Root` automatically becomes the current page
|
|
51
|
+
* (non-interactive text with `aria-current="page"`) — there is no `isCurrent`
|
|
52
|
+
* prop.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```tsx
|
|
56
|
+
* <Breadcrumbs.Item href="/orders">Orders</Breadcrumbs.Item>
|
|
57
|
+
* <Breadcrumbs.Item>Order #123</Breadcrumbs.Item>
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
Item: {
|
|
61
|
+
({ children, id, href, isDisabled, target, rel, routerOptions, ref, ...rest }: import('./breadcrumbs.types.js').BreadcrumbsItemProps): import("react").JSX.Element;
|
|
62
|
+
displayName: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export type { BreadcrumbsProps, BreadcrumbsItemProps, } from './breadcrumbs.types.js';
|
|
66
|
+
/**
|
|
67
|
+
* todo: get rid of this, this is needed for the react-docgen-typescript script
|
|
68
|
+
* that is parsing the typescript types for our documentation. The _ underscores
|
|
69
|
+
* serve as a reminder that this exports are awkward and should not be used.
|
|
70
|
+
*/
|
|
71
|
+
export { BreadcrumbsRoot as _BreadcrumbsRoot, BreadcrumbsItem as _BreadcrumbsItem, };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Recipe configuration for the Breadcrumbs component.
|
|
3
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
4
|
+
*
|
|
5
|
+
* Renders navigation semantics (`<nav>` landmark + ordered list of `<a>`
|
|
6
|
+
* elements) for the path to the current page. The last item represents the
|
|
7
|
+
* current page and is rendered as non-interactive text with
|
|
8
|
+
* `aria-current="page"`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const breadcrumbsSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"root" | "link" | "list" | "separator" | "item", {
|
|
11
|
+
size: {
|
|
12
|
+
sm: {
|
|
13
|
+
item: {
|
|
14
|
+
textStyle: "sm";
|
|
15
|
+
"--breadcrumbs-gap": "{spacing.100}";
|
|
16
|
+
};
|
|
17
|
+
list: {
|
|
18
|
+
"--breadcrumbs-gap": "{spacing.100}";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
md: {
|
|
22
|
+
item: {
|
|
23
|
+
textStyle: "md";
|
|
24
|
+
"--breadcrumbs-gap": "{spacing.200}";
|
|
25
|
+
};
|
|
26
|
+
list: {
|
|
27
|
+
"--breadcrumbs-gap": "{spacing.200}";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SlotComponent } from '../../type-utils/index.js';
|
|
2
|
+
import { BreadcrumbsRootSlotProps, BreadcrumbsListSlotProps, BreadcrumbsItemSlotProps, BreadcrumbsLinkSlotProps, BreadcrumbsSeparatorSlotProps } from './breadcrumbs.types.js';
|
|
3
|
+
/**
|
|
4
|
+
* Root slot component providing the styling context for the Breadcrumbs
|
|
5
|
+
* component. Renders a `<nav>` landmark element.
|
|
6
|
+
*/
|
|
7
|
+
export declare const BreadcrumbsRootSlot: SlotComponent<HTMLElement, BreadcrumbsRootSlotProps>;
|
|
8
|
+
/**
|
|
9
|
+
* List slot component for the ordered list of breadcrumbs.
|
|
10
|
+
* Renders as an `<ol>` element.
|
|
11
|
+
*/
|
|
12
|
+
export declare const BreadcrumbsListSlot: SlotComponent<HTMLOListElement, BreadcrumbsListSlotProps>;
|
|
13
|
+
/**
|
|
14
|
+
* Item slot component for an individual breadcrumb.
|
|
15
|
+
* Renders as an `<li>` element.
|
|
16
|
+
*/
|
|
17
|
+
export declare const BreadcrumbsItemSlot: SlotComponent<HTMLLIElement, BreadcrumbsItemSlotProps>;
|
|
18
|
+
/**
|
|
19
|
+
* Link slot component for an individual breadcrumb link.
|
|
20
|
+
* Renders as an `<a>` element.
|
|
21
|
+
*/
|
|
22
|
+
export declare const BreadcrumbsLinkSlot: SlotComponent<HTMLAnchorElement, BreadcrumbsLinkSlotProps>;
|
|
23
|
+
/**
|
|
24
|
+
* Separator slot component rendered between breadcrumb items.
|
|
25
|
+
* Renders as a decorative `<span>` element.
|
|
26
|
+
*/
|
|
27
|
+
export declare const BreadcrumbsSeparatorSlot: SlotComponent<HTMLSpanElement, BreadcrumbsSeparatorSlotProps>;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { OmitInternalProps } from '../../type-utils/omit-props.js';
|
|
2
|
+
import { HTMLChakraProps, SlotRecipeProps, UnstyledProp } from '@chakra-ui/react/styled-system';
|
|
3
|
+
import { RouterOptions } from '../nimbus-provider/nimbus-provider.types.js';
|
|
4
|
+
type BreadcrumbsRecipeProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Size of the breadcrumb items.
|
|
7
|
+
* @default "md"
|
|
8
|
+
*/
|
|
9
|
+
size?: SlotRecipeProps<"nimbusBreadcrumbs">["size"];
|
|
10
|
+
} & UnstyledProp;
|
|
11
|
+
export type BreadcrumbsRootSlotProps = HTMLChakraProps<"nav", BreadcrumbsRecipeProps>;
|
|
12
|
+
export type BreadcrumbsListSlotProps = HTMLChakraProps<"ol", BreadcrumbsRecipeProps>;
|
|
13
|
+
export type BreadcrumbsItemSlotProps = HTMLChakraProps<"li", BreadcrumbsRecipeProps>;
|
|
14
|
+
export type BreadcrumbsLinkSlotProps = HTMLChakraProps<"a", BreadcrumbsRecipeProps>;
|
|
15
|
+
export type BreadcrumbsSeparatorSlotProps = HTMLChakraProps<"span", BreadcrumbsRecipeProps>;
|
|
16
|
+
/**
|
|
17
|
+
* A single entry for the declarative, data-driven `items` API of
|
|
18
|
+
* `Breadcrumbs.Root`. The last entry in the array is treated as the current
|
|
19
|
+
* page automatically.
|
|
20
|
+
*/
|
|
21
|
+
export type BreadcrumbItem = {
|
|
22
|
+
/**
|
|
23
|
+
* A unique key for the breadcrumb, passed to `Breadcrumbs.Root`'s `onAction`
|
|
24
|
+
* handler when the breadcrumb is activated.
|
|
25
|
+
*/
|
|
26
|
+
id: string | number;
|
|
27
|
+
/**
|
|
28
|
+
* The label content displayed inside the breadcrumb.
|
|
29
|
+
*/
|
|
30
|
+
label: React.ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* The URL this breadcrumb links to. Ignored for the last (current) item.
|
|
33
|
+
*/
|
|
34
|
+
href?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The target window for the link.
|
|
37
|
+
*/
|
|
38
|
+
target?: React.HTMLAttributeAnchorTarget;
|
|
39
|
+
/**
|
|
40
|
+
* The relationship between the current document and the linked URL.
|
|
41
|
+
*/
|
|
42
|
+
rel?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Whether this breadcrumb is disabled (non-interactive, dimmed, skipped in
|
|
45
|
+
* the tab sequence).
|
|
46
|
+
*
|
|
47
|
+
* Note: disabling the *last* item is not recommended. The last item is
|
|
48
|
+
* already treated as the current page (non-interactive), and a disabled item
|
|
49
|
+
* renders as a plain `<span>` that bypasses React Aria's collection context —
|
|
50
|
+
* so a disabled final item will not carry `aria-current="page"`.
|
|
51
|
+
*/
|
|
52
|
+
isDisabled?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Options forwarded to the client-side router for this link.
|
|
55
|
+
*/
|
|
56
|
+
routerOptions?: RouterOptions;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Props for the Breadcrumbs.Root component.
|
|
60
|
+
* Renders a `<nav>` landmark containing an ordered list of breadcrumb links.
|
|
61
|
+
* The last item is treated as the current page automatically.
|
|
62
|
+
*/
|
|
63
|
+
export type BreadcrumbsProps = OmitInternalProps<BreadcrumbsRootSlotProps> & {
|
|
64
|
+
/**
|
|
65
|
+
* The visible separator rendered between breadcrumb items. Accepts any
|
|
66
|
+
* React node (e.g. a string like "/" or an icon). The separator is
|
|
67
|
+
* decorative and hidden from assistive technologies.
|
|
68
|
+
* @default "›"
|
|
69
|
+
*/
|
|
70
|
+
separator?: React.ReactNode;
|
|
71
|
+
/**
|
|
72
|
+
* Data-driven list of breadcrumbs. When provided, one `Breadcrumbs.Item` is
|
|
73
|
+
* rendered per entry (in order) and `children` is ignored. The last entry is
|
|
74
|
+
* the current page. Prefer this for trails built from data; use compound
|
|
75
|
+
* `Breadcrumbs.Item` children for static trails.
|
|
76
|
+
*/
|
|
77
|
+
items?: BreadcrumbItem[];
|
|
78
|
+
/**
|
|
79
|
+
* Handler called with a breadcrumb's `id` when it is activated (clicked or
|
|
80
|
+
* via keyboard). Useful for client-side routing.
|
|
81
|
+
*/
|
|
82
|
+
onAction?: (key: string | number) => void;
|
|
83
|
+
/**
|
|
84
|
+
* The breadcrumb items. Provide `Breadcrumbs.Item` children for a static
|
|
85
|
+
* trail. Ignored when `items` is provided.
|
|
86
|
+
*/
|
|
87
|
+
children?: React.ReactNode;
|
|
88
|
+
/**
|
|
89
|
+
* A ref to the root `<nav>` element.
|
|
90
|
+
*/
|
|
91
|
+
ref?: React.Ref<HTMLElement>;
|
|
92
|
+
[key: `data-${string}`]: unknown;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Props for the Breadcrumbs.Item component.
|
|
96
|
+
* Renders an `<li>` containing a navigation link. The last item rendered inside
|
|
97
|
+
* a `Breadcrumbs.Root` automatically represents the current page (non-interactive
|
|
98
|
+
* text with `aria-current="page"`, removed from the tab sequence) — there is no
|
|
99
|
+
* `isCurrent` prop.
|
|
100
|
+
*/
|
|
101
|
+
export type BreadcrumbsItemProps = Omit<OmitInternalProps<BreadcrumbsLinkSlotProps>, "id"> & {
|
|
102
|
+
/**
|
|
103
|
+
* A unique key for the breadcrumb, passed to `Breadcrumbs.Root`'s `onAction`
|
|
104
|
+
* handler when this item is activated.
|
|
105
|
+
*/
|
|
106
|
+
id?: string | number;
|
|
107
|
+
/**
|
|
108
|
+
* The URL this breadcrumb links to. Ignored for the last (current) item,
|
|
109
|
+
* which renders as non-interactive text.
|
|
110
|
+
*/
|
|
111
|
+
href?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Whether the item is disabled. Disabled items cannot be interacted with,
|
|
114
|
+
* are visually dimmed, and are removed from the tab sequence.
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
isDisabled?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* The target window for the link.
|
|
120
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target
|
|
121
|
+
*/
|
|
122
|
+
target?: React.HTMLAttributeAnchorTarget;
|
|
123
|
+
/**
|
|
124
|
+
* The relationship between the current document and the linked URL.
|
|
125
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#rel
|
|
126
|
+
*/
|
|
127
|
+
rel?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Options forwarded to the client-side router for this link.
|
|
130
|
+
*/
|
|
131
|
+
routerOptions?: RouterOptions;
|
|
132
|
+
/**
|
|
133
|
+
* The label content displayed inside the breadcrumb.
|
|
134
|
+
*/
|
|
135
|
+
children?: React.ReactNode;
|
|
136
|
+
/**
|
|
137
|
+
* A ref to the underlying `<a>` element.
|
|
138
|
+
*/
|
|
139
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
140
|
+
[key: `data-${string}`]: unknown;
|
|
141
|
+
};
|
|
142
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Carries the decorative separator node configured on `Breadcrumbs.Root` down
|
|
3
|
+
* to each `Breadcrumbs.Item`, so the same separator is shared by both the
|
|
4
|
+
* compound (`Breadcrumbs.Item` children) and declarative (`items`) APIs.
|
|
5
|
+
*
|
|
6
|
+
* Defaults to `›` when an item is rendered without a surrounding
|
|
7
|
+
* `Breadcrumbs.Root` provider.
|
|
8
|
+
*/
|
|
9
|
+
export declare const BreadcrumbsSeparatorContext: import('react').Context<import('react').ReactNode>;
|
|
10
|
+
/**
|
|
11
|
+
* Returns the decorative separator node provided by `Breadcrumbs.Root`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const useBreadcrumbsSeparator: () => React.ReactNode;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BreadcrumbsItemProps } from '../breadcrumbs.types.js';
|
|
2
|
+
/**
|
|
3
|
+
* # Breadcrumbs.Item
|
|
4
|
+
*
|
|
5
|
+
* An individual breadcrumb. Renders an `<li>` (via React Aria's `Breadcrumb`)
|
|
6
|
+
* containing a navigation link (via React Aria's `Link`). The decorative
|
|
7
|
+
* separator configured on `Breadcrumbs.Root` is rendered before every item
|
|
8
|
+
* except the first.
|
|
9
|
+
*
|
|
10
|
+
* When this is the last item in a `Breadcrumbs.Root`, React Aria marks it as the
|
|
11
|
+
* current page automatically: it becomes non-interactive text with
|
|
12
|
+
* `aria-current="page"` and is removed from the tab sequence. There is no
|
|
13
|
+
* `isCurrent` prop — currentness is derived from position.
|
|
14
|
+
*
|
|
15
|
+
* @supportsStyleProps
|
|
16
|
+
*/
|
|
17
|
+
export declare const BreadcrumbsItem: {
|
|
18
|
+
({ children, id, href, isDisabled, target, rel, routerOptions, ref, ...rest }: BreadcrumbsItemProps): import("react").JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|