@commercetools/nimbus 0.0.0-canary-20251008065712 → 0.0.0-canary-20251009112243
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-BvIjIGsV.es.js → Button-DbDspzBf.es.js} +3 -3
- package/dist/chunks/{Button-BvIjIGsV.es.js.map → Button-DbDspzBf.es.js.map} +1 -1
- package/dist/chunks/{DateField-5ys1kBci.es.js → DateField-BnqI8eDK.es.js} +5 -5
- package/dist/chunks/{DateField-5ys1kBci.es.js.map → DateField-BnqI8eDK.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-YExF9ktq.es.js → DatePicker-Df88_VwG.es.js} +9 -9
- package/dist/chunks/{DatePicker-YExF9ktq.es.js.map → DatePicker-Df88_VwG.es.js.map} +1 -1
- package/dist/chunks/{Dialog-CWqCOpjC.es.js → Dialog-FtshtbuD.es.js} +27 -27
- package/dist/chunks/{Dialog-CWqCOpjC.es.js.map → Dialog-FtshtbuD.es.js.map} +1 -1
- package/dist/chunks/{Group-BpLIGg06.es.js → Group-BBaUrRF9.es.js} +2 -2
- package/dist/chunks/{Group-BpLIGg06.es.js.map → Group-BBaUrRF9.es.js.map} +1 -1
- package/dist/chunks/{Header-LnHmzVuk.es.js → Header-_Z7cZ9Ql.es.js} +10 -10
- package/dist/chunks/{Header-LnHmzVuk.es.js.map → Header-_Z7cZ9Ql.es.js.map} +1 -1
- package/dist/chunks/{Heading-D7ETzhN-.es.js → Heading-D_yp5JbO.es.js} +3 -3
- package/dist/chunks/{Heading-D7ETzhN-.es.js.map → Heading-D_yp5JbO.es.js.map} +1 -1
- package/dist/chunks/{Input-DFGgeFov.es.js → Input-Da2oLmEN.es.js} +2 -2
- package/dist/chunks/{Input-DFGgeFov.es.js.map → Input-Da2oLmEN.es.js.map} +1 -1
- package/dist/chunks/{Label-Bnr234yV.es.js → Label-qcXzazih.es.js} +2 -2
- package/dist/chunks/{Label-Bnr234yV.es.js.map → Label-qcXzazih.es.js.map} +1 -1
- package/dist/chunks/{ListBox-C_uejm2i.es.js → ListBox-CA_ARARw.es.js} +7 -7
- package/dist/chunks/{ListBox-C_uejm2i.es.js.map → ListBox-CA_ARARw.es.js.map} +1 -1
- package/dist/chunks/{ListKeyboardDelegate-4wjSpyhj.es.js → ListKeyboardDelegate-XLAitX9C.es.js} +2 -2
- package/dist/chunks/{ListKeyboardDelegate-4wjSpyhj.es.js.map → ListKeyboardDelegate-XLAitX9C.es.js.map} +1 -1
- package/dist/chunks/Modal-CVOcKPNx.cjs.js +2 -0
- package/dist/chunks/Modal-CVOcKPNx.cjs.js.map +1 -0
- package/dist/chunks/Modal-CVRxKbK2.es.js +197 -0
- package/dist/chunks/Modal-CVRxKbK2.es.js.map +1 -0
- package/dist/chunks/{OverlayArrow-CTv6jme7.es.js → OverlayArrow-CwYMJqgj.es.js} +6 -6
- package/dist/chunks/{OverlayArrow-CTv6jme7.es.js.map → OverlayArrow-CwYMJqgj.es.js.map} +1 -1
- package/dist/chunks/{ProgressBar-8CLctnNS.es.js → ProgressBar-dYIUhB6B.es.js} +3 -3
- package/dist/chunks/{ProgressBar-8CLctnNS.es.js.map → ProgressBar-dYIUhB6B.es.js.map} +1 -1
- package/dist/chunks/{SelectionManager-CRACdKnk.es.js → SelectionManager-C9i8k50b.es.js} +8 -8
- package/dist/chunks/{SelectionManager-CRACdKnk.es.js.map → SelectionManager-C9i8k50b.es.js.map} +1 -1
- package/dist/chunks/{Separator-C9c_wOg5.es.js → Separator-DyXjJGoH.es.js} +2 -2
- package/dist/chunks/{Separator-C9c_wOg5.es.js.map → Separator-DyXjJGoH.es.js.map} +1 -1
- package/dist/chunks/{TextArea-ynzwaXdc.es.js → TextArea-DItoG16s.es.js} +2 -2
- package/dist/chunks/{TextArea-ynzwaXdc.es.js.map → TextArea-DItoG16s.es.js.map} +1 -1
- package/dist/chunks/{ToggleButton-DmBKvuoG.es.js → ToggleButton-C5u-GV4F.es.js} +2 -2
- package/dist/chunks/{ToggleButton-DmBKvuoG.es.js.map → ToggleButton-C5u-GV4F.es.js.map} +1 -1
- package/dist/chunks/{accordion-DJmN_bJq.es.js → accordion-C4MjwWsC.es.js} +4 -4
- package/dist/chunks/{accordion-DJmN_bJq.es.js.map → accordion-C4MjwWsC.es.js.map} +1 -1
- package/dist/chunks/{accordion-C2cc3Wn5.cjs.js → accordion-CxA_B4rs.cjs.js} +2 -2
- package/dist/chunks/{accordion-C2cc3Wn5.cjs.js.map → accordion-CxA_B4rs.cjs.js.map} +1 -1
- package/dist/chunks/{alert-D2CGReLt.cjs.js → alert-CA04iXvr.cjs.js} +2 -2
- package/dist/chunks/{alert-D2CGReLt.cjs.js.map → alert-CA04iXvr.cjs.js.map} +1 -1
- package/dist/chunks/{alert-DkIw1imV.es.js → alert-C_eKOpkm.es.js} +2 -2
- package/dist/chunks/{alert-DkIw1imV.es.js.map → alert-C_eKOpkm.es.js.map} +1 -1
- package/dist/chunks/{button-CN72KuLp.es.js → button-Be0U44e7.es.js} +4 -4
- package/dist/chunks/{button-CN72KuLp.es.js.map → button-Be0U44e7.es.js.map} +1 -1
- package/dist/chunks/{button-DwowuU7n.cjs.js → button-DTE97NpD.cjs.js} +2 -2
- package/dist/chunks/{button-DwowuU7n.cjs.js.map → button-DTE97NpD.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-BeLNlFT1.es.js → calendar-C33Q6JGN.es.js} +8 -8
- package/dist/chunks/{calendar-BeLNlFT1.es.js.map → calendar-C33Q6JGN.es.js.map} +1 -1
- package/dist/chunks/{calendar-CmRpEeaV.cjs.js → calendar-GA5ACIqm.cjs.js} +2 -2
- package/dist/chunks/{calendar-CmRpEeaV.cjs.js.map → calendar-GA5ACIqm.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-DPAM4M8p.es.js → checkbox-BKBd4kHr.es.js} +3 -3
- package/dist/chunks/{checkbox-DPAM4M8p.es.js.map → checkbox-BKBd4kHr.es.js.map} +1 -1
- package/dist/chunks/{checkbox-B_7h5MW8.cjs.js → checkbox-Bh5DxcKC.cjs.js} +2 -2
- package/dist/chunks/{checkbox-B_7h5MW8.cjs.js.map → checkbox-Bh5DxcKC.cjs.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-DqQSB6-D.es.js → collapsible-motion-BSsz8na-.es.js} +3 -3
- package/dist/chunks/{collapsible-motion-DqQSB6-D.es.js.map → collapsible-motion-BSsz8na-.es.js.map} +1 -1
- package/dist/chunks/{collapsible-motion-CJQJsU4W.cjs.js → collapsible-motion-hU9KTv8o.cjs.js} +2 -2
- package/dist/chunks/{collapsible-motion-CJQJsU4W.cjs.js.map → collapsible-motion-hU9KTv8o.cjs.js.map} +1 -1
- package/dist/chunks/{combobox-DxZTQoKT.cjs.js → combobox-BghQKCQt.cjs.js} +2 -2
- package/dist/chunks/{combobox-DxZTQoKT.cjs.js.map → combobox-BghQKCQt.cjs.js.map} +1 -1
- package/dist/chunks/{combobox-Ds2AjwlE.es.js → combobox-D4M76aw1.es.js} +19 -19
- package/dist/chunks/{combobox-Ds2AjwlE.es.js.map → combobox-D4M76aw1.es.js.map} +1 -1
- package/dist/chunks/{data-table-CqRdiTa7.cjs.js → data-table-BBvjFAkE.cjs.js} +2 -2
- package/dist/chunks/{data-table-CqRdiTa7.cjs.js.map → data-table-BBvjFAkE.cjs.js.map} +1 -1
- package/dist/chunks/{data-table-CkB6mGKq.es.js → data-table-CJMHQ1O2.es.js} +12 -12
- package/dist/chunks/{data-table-CkB6mGKq.es.js.map → data-table-CJMHQ1O2.es.js.map} +1 -1
- package/dist/chunks/{date-input-C7BR3eTg.cjs.js → date-input-CUWc63rA.cjs.js} +2 -2
- package/dist/chunks/{date-input-C7BR3eTg.cjs.js.map → date-input-CUWc63rA.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-DOiFNdVS.es.js → date-input-Dab_Fdrq.es.js} +4 -4
- package/dist/chunks/{date-input-DOiFNdVS.es.js.map → date-input-Dab_Fdrq.es.js.map} +1 -1
- package/dist/chunks/{date-picker-Cm9gyNP-.cjs.js → date-picker-C6A6CiIu.cjs.js} +2 -2
- package/dist/chunks/{date-picker-Cm9gyNP-.cjs.js.map → date-picker-C6A6CiIu.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-yZG8AJhH.es.js → date-picker-CT6jwApn.es.js} +18 -18
- package/dist/chunks/{date-picker-yZG8AJhH.es.js.map → date-picker-CT6jwApn.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-D-81vyFH.es.js → date-range-picker-BICRnCsn.es.js} +20 -20
- package/dist/chunks/{date-range-picker-D-81vyFH.es.js.map → date-range-picker-BICRnCsn.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-zS1_WvWT.cjs.js → date-range-picker-vER5F2HJ.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-zS1_WvWT.cjs.js.map → date-range-picker-vER5F2HJ.cjs.js.map} +1 -1
- package/dist/chunks/{dialog-DeZMe0yJ.es.js → dialog-4Rx0vFFN.es.js} +2 -2
- package/dist/chunks/dialog-4Rx0vFFN.es.js.map +1 -0
- package/dist/chunks/{dialog-BypIffa5.cjs.js → dialog-CDyF_zvK.cjs.js} +2 -2
- package/dist/chunks/dialog-CDyF_zvK.cjs.js.map +1 -0
- package/dist/chunks/dialog.title-5mHI--iF.es.js +152 -0
- package/dist/chunks/dialog.title-5mHI--iF.es.js.map +1 -0
- package/dist/chunks/dialog.title-CtQfDha4.cjs.js +2 -0
- package/dist/chunks/dialog.title-CtQfDha4.cjs.js.map +1 -0
- package/dist/chunks/drawer-DzYXHVbg.cjs.js +2 -0
- package/dist/chunks/drawer-DzYXHVbg.cjs.js.map +1 -0
- package/dist/chunks/drawer-wpiy6Y4h.es.js +304 -0
- package/dist/chunks/drawer-wpiy6Y4h.es.js.map +1 -0
- package/dist/chunks/{extractStyleProps-DikjPnnl.es.js → extractStyleProps-CNXOLneR.es.js} +2 -2
- package/dist/chunks/{extractStyleProps-DikjPnnl.es.js.map → extractStyleProps-CNXOLneR.es.js.map} +1 -1
- package/dist/chunks/{extractStyleProps-Dm0IZP1e.cjs.js → extractStyleProps-G58aSXl8.cjs.js} +2 -2
- package/dist/chunks/{extractStyleProps-Dm0IZP1e.cjs.js.map → extractStyleProps-G58aSXl8.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-BDfFWeqm.cjs.js → form-field-2NMmaZgp.cjs.js} +2 -2
- package/dist/chunks/{form-field-BDfFWeqm.cjs.js.map → form-field-2NMmaZgp.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-DWeU1qy1.es.js → form-field-BrU_qJq3.es.js} +10 -10
- package/dist/chunks/{form-field-DWeU1qy1.es.js.map → form-field-BrU_qJq3.es.js.map} +1 -1
- package/dist/chunks/{group-BOu3usq9.es.js → group-F6OwMVlM.es.js} +2 -2
- package/dist/chunks/{group-BOu3usq9.es.js.map → group-F6OwMVlM.es.js.map} +1 -1
- package/dist/chunks/{heading-DpAKPw0U.es.js → heading-BtazVUd5.es.js} +2 -2
- package/dist/chunks/{heading-DpAKPw0U.es.js.map → heading-BtazVUd5.es.js.map} +1 -1
- package/dist/chunks/{icon-button-Bwkgcdyv.cjs.js → icon-button-CkjZc6Br.cjs.js} +2 -2
- package/dist/chunks/{icon-button-Bwkgcdyv.cjs.js.map → icon-button-CkjZc6Br.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-CbjASJ_F.es.js → icon-button-D4w1XTVg.es.js} +2 -2
- package/dist/chunks/{icon-button-CbjASJ_F.es.js.map → icon-button-D4w1XTVg.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-DC2DD7q-.cjs.js → icon-toggle-button-Bsj4XLsI.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-DC2DD7q-.cjs.js.map → icon-toggle-button-Bsj4XLsI.cjs.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-1ZhwPLkv.es.js → icon-toggle-button-CqILSznm.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-1ZhwPLkv.es.js.map → icon-toggle-button-CqILSznm.es.js.map} +1 -1
- package/dist/chunks/{index-DhO4Z_an.cjs.js → index-Bx9ez6gh.cjs.js} +5 -5
- package/dist/chunks/index-Bx9ez6gh.cjs.js.map +1 -0
- package/dist/chunks/{index-D26EXIvZ.es.js → index-DthLdwMN.es.js} +289 -85
- package/dist/chunks/index-DthLdwMN.es.js.map +1 -0
- package/dist/chunks/{kbd-B-9k-UDU.es.js → kbd-B--GEgRt.es.js} +2 -2
- package/dist/chunks/{kbd-B-9k-UDU.es.js.map → kbd-B--GEgRt.es.js.map} +1 -1
- package/dist/chunks/{localized-field-BEQbGU6A.cjs.js → localized-field-BqUMaU2Z.cjs.js} +2 -2
- package/dist/chunks/{localized-field-BEQbGU6A.cjs.js.map → localized-field-BqUMaU2Z.cjs.js.map} +1 -1
- package/dist/chunks/{localized-field-9JF_RJHm.es.js → localized-field-CV69UdIU.es.js} +11 -11
- package/dist/chunks/{localized-field-9JF_RJHm.es.js.map → localized-field-CV69UdIU.es.js.map} +1 -1
- package/dist/chunks/{menu-Bmph9lXW.es.js → menu-BvZy65zm.es.js} +13 -13
- package/dist/chunks/{menu-Bmph9lXW.es.js.map → menu-BvZy65zm.es.js.map} +1 -1
- package/dist/chunks/{menu-BGmtow-5.cjs.js → menu-CW4QVk-m.cjs.js} +2 -2
- package/dist/chunks/{menu-BGmtow-5.cjs.js.map → menu-CW4QVk-m.cjs.js.map} +1 -1
- package/dist/chunks/{money-input-CUR36zLn.cjs.js → money-input-BklJuHw0.cjs.js} +2 -2
- package/dist/chunks/{money-input-CUR36zLn.cjs.js.map → money-input-BklJuHw0.cjs.js.map} +1 -1
- package/dist/chunks/{money-input-B7wnGMVu.es.js → money-input-CavdTx-o.es.js} +6 -6
- package/dist/chunks/{money-input-B7wnGMVu.es.js.map → money-input-CavdTx-o.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-CkziMMuo.cjs.js → multiline-text-input-4kwHZ5HO.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-CkziMMuo.cjs.js.map → multiline-text-input-4kwHZ5HO.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-DtDQeO0Q.es.js → multiline-text-input-BrE5zqv5.es.js} +3 -3
- package/dist/chunks/{multiline-text-input-DtDQeO0Q.es.js.map → multiline-text-input-BrE5zqv5.es.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-B8IUnP0U.cjs.js → nimbus-provider-ChOIcVt6.cjs.js} +2 -2
- package/dist/chunks/{nimbus-provider-B8IUnP0U.cjs.js.map → nimbus-provider-ChOIcVt6.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-BOlU4kA1.es.js → nimbus-provider-YB6qmSSk.es.js} +2 -2
- package/dist/chunks/{nimbus-provider-BOlU4kA1.es.js.map → nimbus-provider-YB6qmSSk.es.js.map} +1 -1
- package/dist/chunks/{number-input-C3zjMkHS.es.js → number-input-Cq95vVse.es.js} +30 -30
- package/dist/chunks/{number-input-C3zjMkHS.es.js.map → number-input-Cq95vVse.es.js.map} +1 -1
- package/dist/chunks/{number-input-C40q3d4I.cjs.js → number-input-DA_yy5BZ.cjs.js} +2 -2
- package/dist/chunks/{number-input-C40q3d4I.cjs.js.map → number-input-DA_yy5BZ.cjs.js.map} +1 -1
- package/dist/chunks/{pagination-fMz7HL5l.es.js → pagination-CBrMi7gy.es.js} +5 -5
- package/dist/chunks/{pagination-fMz7HL5l.es.js.map → pagination-CBrMi7gy.es.js.map} +1 -1
- package/dist/chunks/{pagination-BDx3pJkE.cjs.js → pagination-DUCo0L7g.cjs.js} +2 -2
- package/dist/chunks/{pagination-BDx3pJkE.cjs.js.map → pagination-DUCo0L7g.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-D94jZSI9.cjs.js → password-input-DMbxYno4.cjs.js} +2 -2
- package/dist/chunks/{password-input-D94jZSI9.cjs.js.map → password-input-DMbxYno4.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-1KfvAXxj.es.js → password-input-De29PFv6.es.js} +4 -4
- package/dist/chunks/{password-input-1KfvAXxj.es.js.map → password-input-De29PFv6.es.js.map} +1 -1
- package/dist/chunks/{popover-CiLVE71i.es.js → popover-yeZXM_2G.es.js} +2 -2
- package/dist/chunks/{popover-CiLVE71i.es.js.map → popover-yeZXM_2G.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-h-SZWJrX.es.js → progress-bar-1XrmZIIp.es.js} +4 -4
- package/dist/chunks/{progress-bar-h-SZWJrX.es.js.map → progress-bar-1XrmZIIp.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-BHCSpjRr.cjs.js → progress-bar-BBy8IR_W.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-BHCSpjRr.cjs.js.map → progress-bar-BBy8IR_W.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-DRHL2tKC.es.js → radio-input-8sawPicQ.es.js} +5 -5
- package/dist/chunks/{radio-input-DRHL2tKC.es.js.map → radio-input-8sawPicQ.es.js.map} +1 -1
- package/dist/chunks/{radio-input-B0dnF7hm.cjs.js → radio-input-DK5681L5.cjs.js} +2 -2
- package/dist/chunks/{radio-input-B0dnF7hm.cjs.js.map → radio-input-DK5681L5.cjs.js.map} +1 -1
- package/dist/chunks/{range-calendar-C6yPojX-.es.js → range-calendar-C0InkSSo.es.js} +8 -8
- package/dist/chunks/{range-calendar-C6yPojX-.es.js.map → range-calendar-C0InkSSo.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-RB6cR7Zf.cjs.js → range-calendar-CrHUTeyY.cjs.js} +2 -2
- package/dist/chunks/{range-calendar-RB6cR7Zf.cjs.js.map → range-calendar-CrHUTeyY.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-CXNeJFfO.cjs.js → rich-text-input-BygekdK5.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-CXNeJFfO.cjs.js.map → rich-text-input-BygekdK5.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-BzOdpZJX.es.js → rich-text-input-CUAI0VeV.es.js} +11 -11
- package/dist/chunks/{rich-text-input-BzOdpZJX.es.js.map → rich-text-input-CUAI0VeV.es.js.map} +1 -1
- package/dist/chunks/{search-input-C9ne8p91.es.js → search-input-DkFkEdiE.es.js} +43 -43
- package/dist/chunks/{search-input-C9ne8p91.es.js.map → search-input-DkFkEdiE.es.js.map} +1 -1
- package/dist/chunks/{search-input-Dh6MuIpa.cjs.js → search-input-r6P-vAgp.cjs.js} +2 -2
- package/dist/chunks/{search-input-Dh6MuIpa.cjs.js.map → search-input-r6P-vAgp.cjs.js.map} +1 -1
- package/dist/chunks/{select-CUjrJRUT.es.js → select-CWttUH5b.es.js} +70 -70
- package/dist/chunks/{select-CUjrJRUT.es.js.map → select-CWttUH5b.es.js.map} +1 -1
- package/dist/chunks/{select-CwAyhevQ.cjs.js → select-D_HPNSo0.cjs.js} +2 -2
- package/dist/chunks/{select-CwAyhevQ.cjs.js.map → select-D_HPNSo0.cjs.js.map} +1 -1
- package/dist/chunks/{separator-BbfyHuLb.cjs.js → separator-BBuhLJdN.cjs.js} +2 -2
- package/dist/chunks/{separator-BbfyHuLb.cjs.js.map → separator-BBuhLJdN.cjs.js.map} +1 -1
- package/dist/chunks/{separator-BoqnKRYR.es.js → separator-D7elp8bN.es.js} +3 -3
- package/dist/chunks/{separator-BoqnKRYR.es.js.map → separator-D7elp8bN.es.js.map} +1 -1
- package/dist/chunks/{split-button-jG61RIMv.es.js → split-button-Bczcosj2.es.js} +5 -5
- package/dist/chunks/{split-button-jG61RIMv.es.js.map → split-button-Bczcosj2.es.js.map} +1 -1
- package/dist/chunks/{split-button-C0suLBEJ.cjs.js → split-button-EHp7Svv4.cjs.js} +2 -2
- package/dist/chunks/{split-button-C0suLBEJ.cjs.js.map → split-button-EHp7Svv4.cjs.js.map} +1 -1
- package/dist/chunks/{switch-C_hXU6lZ.cjs.js → switch-CwJ5OFLP.cjs.js} +2 -2
- package/dist/chunks/{switch-C_hXU6lZ.cjs.js.map → switch-CwJ5OFLP.cjs.js.map} +1 -1
- package/dist/chunks/{switch-DxdWKUjM.es.js → switch-D_NMKG3Q.es.js} +3 -3
- package/dist/chunks/{switch-DxdWKUjM.es.js.map → switch-D_NMKG3Q.es.js.map} +1 -1
- package/dist/chunks/{tabs-BIfLcZNC.cjs.js → tabs-Cklmbi45.cjs.js} +2 -2
- package/dist/chunks/{tabs-BIfLcZNC.cjs.js.map → tabs-Cklmbi45.cjs.js.map} +1 -1
- package/dist/chunks/{tabs-c_3pvA8t.es.js → tabs-UlU9sGFI.es.js} +6 -6
- package/dist/chunks/{tabs-c_3pvA8t.es.js.map → tabs-UlU9sGFI.es.js.map} +1 -1
- package/dist/chunks/{tag-group-Vypgj2V2.cjs.js → tag-group-Cgs8C7Xc.cjs.js} +2 -2
- package/dist/chunks/{tag-group-Vypgj2V2.cjs.js.map → tag-group-Cgs8C7Xc.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-DrHF4Hpe.es.js → tag-group-uIKmx4eU.es.js} +31 -31
- package/dist/chunks/{tag-group-DrHF4Hpe.es.js.map → tag-group-uIKmx4eU.es.js.map} +1 -1
- package/dist/chunks/{text-hbdb3OKq.es.js → text-BgiP8ZB6.es.js} +2 -2
- package/dist/chunks/{text-hbdb3OKq.es.js.map → text-BgiP8ZB6.es.js.map} +1 -1
- package/dist/chunks/{text-input-BYpxoT5T.cjs.js → text-input-DHyVy0pg.cjs.js} +2 -2
- package/dist/chunks/{text-input-BYpxoT5T.cjs.js.map → text-input-DHyVy0pg.cjs.js.map} +1 -1
- package/dist/chunks/{text-input-BIJx8kgm.es.js → text-input-DWJ-CPVR.es.js} +4 -4
- package/dist/chunks/{text-input-BIJx8kgm.es.js.map → text-input-DWJ-CPVR.es.js.map} +1 -1
- package/dist/chunks/{time-input-BbCVYXM4.es.js → time-input-CwfMLg_y.es.js} +3 -3
- package/dist/chunks/{time-input-BbCVYXM4.es.js.map → time-input-CwfMLg_y.es.js.map} +1 -1
- package/dist/chunks/{time-input-BCBvliVc.cjs.js → time-input-UNOO6gaq.cjs.js} +2 -2
- package/dist/chunks/{time-input-BCBvliVc.cjs.js.map → time-input-UNOO6gaq.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-u8DA8u8k.cjs.js → toggle-button-BHOVooIy.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-u8DA8u8k.cjs.js.map → toggle-button-BHOVooIy.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-BlyysRNw.es.js → toggle-button-CdJftdD2.es.js} +4 -4
- package/dist/chunks/{toggle-button-BlyysRNw.es.js.map → toggle-button-CdJftdD2.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-B5PFZHXJ.es.js → toggle-button-group-D2eN4VNE.es.js} +2 -2
- package/dist/chunks/{toggle-button-group-B5PFZHXJ.es.js.map → toggle-button-group-D2eN4VNE.es.js.map} +1 -1
- package/dist/chunks/{toolbar-BJlA8UZl.cjs.js → toolbar-0yDwxKuL.cjs.js} +2 -2
- package/dist/chunks/{toolbar-BJlA8UZl.cjs.js.map → toolbar-0yDwxKuL.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-BFUzjQC7.es.js → toolbar-DXDZ5G0Q.es.js} +4 -4
- package/dist/chunks/{toolbar-BFUzjQC7.es.js.map → toolbar-DXDZ5G0Q.es.js.map} +1 -1
- package/dist/chunks/{tooltip-D0dkVEDQ.es.js → tooltip-CgzrzHZy.es.js} +3 -3
- package/dist/chunks/{tooltip-D0dkVEDQ.es.js.map → tooltip-CgzrzHZy.es.js.map} +1 -1
- package/dist/chunks/{useListState-Bdz8ihfA.es.js → useListState-wotFHS2D.es.js} +2 -2
- package/dist/chunks/{useListState-Bdz8ihfA.es.js.map → useListState-wotFHS2D.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-C0k_6pJ5.es.js → useSingleSelectListState-CYr_aJQU.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-C0k_6pJ5.es.js.map → useSingleSelectListState-CYr_aJQU.es.js.map} +1 -1
- package/dist/chunks/{utils-D5g6AoR2.es.js → utils-Cyja2WdR.es.js} +5 -5
- package/dist/chunks/{utils-D5g6AoR2.es.js.map → utils-Cyja2WdR.es.js.map} +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/collapsible-motion.cjs +1 -1
- package/dist/components/collapsible-motion.es.js +1 -1
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +1 -1
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/drawer.cjs +2 -0
- package/dist/components/drawer.cjs.map +1 -0
- package/dist/components/drawer.es.js +5 -0
- package/dist/components/drawer.es.js.map +1 -0
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/group.es.js +1 -1
- package/dist/components/heading.es.js +1 -1
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/localized-field.cjs +1 -1
- package/dist/components/localized-field.es.js +1 -1
- package/dist/components/money-input.cjs +1 -1
- package/dist/components/money-input.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/pagination.cjs +1 -1
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/scoped-search-input.cjs +1 -1
- package/dist/components/scoped-search-input.es.js +4 -4
- package/dist/components/search-input.cjs +1 -1
- package/dist/components/search-input.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.es.js +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/text.es.js +1 -1
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.es.js +1 -1
- package/dist/dialog.d.ts +1 -1
- package/dist/drawer.d.ts +577 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +56 -54
- package/dist/index.es.js.map +1 -1
- package/package.json +5 -5
- package/dist/chunks/dialog-BypIffa5.cjs.js.map +0 -1
- package/dist/chunks/dialog-DeZMe0yJ.es.js.map +0 -1
- package/dist/chunks/dialog.title-BmS1MORJ.es.js +0 -341
- package/dist/chunks/dialog.title-BmS1MORJ.es.js.map +0 -1
- package/dist/chunks/dialog.title-CsuOBAm8.cjs.js +0 -2
- package/dist/chunks/dialog.title-CsuOBAm8.cjs.js.map +0 -1
- package/dist/chunks/index-D26EXIvZ.es.js.map +0 -1
- package/dist/chunks/index-DhO4Z_an.cjs.js.map +0 -1
package/dist/drawer.d.ts
ADDED
|
@@ -0,0 +1,577 @@
|
|
|
1
|
+
import { AriaButtonProps } from 'react-aria';
|
|
2
|
+
import { DrawerBodyProps as DrawerBodyProps_2 } from './drawer.types';
|
|
3
|
+
import { DrawerCloseTriggerProps as DrawerCloseTriggerProps_2 } from './drawer.types';
|
|
4
|
+
import { DrawerContentProps as DrawerContentProps_2 } from './drawer.types';
|
|
5
|
+
import { DrawerFooterProps as DrawerFooterProps_2 } from './drawer.types';
|
|
6
|
+
import { DrawerHeaderProps as DrawerHeaderProps_2 } from './drawer.types';
|
|
7
|
+
import { DrawerRootProps as DrawerRootProps_2 } from './drawer.types';
|
|
8
|
+
import { DrawerTitleProps as DrawerTitleProps_2 } from './drawer.types';
|
|
9
|
+
import { DrawerTriggerProps as DrawerTriggerProps_2 } from './drawer.types';
|
|
10
|
+
import { HTMLChakraProps } from '@chakra-ui/react/styled-system';
|
|
11
|
+
import { JSX } from 'react/jsx-runtime';
|
|
12
|
+
import { ModalOverlayProps } from 'react-aria-components';
|
|
13
|
+
import { RecipeProps } from '@chakra-ui/react/styled-system';
|
|
14
|
+
import { RecipeVariantProps } from '@chakra-ui/react';
|
|
15
|
+
import { SlotRecipeDefinition } from '@chakra-ui/react';
|
|
16
|
+
import { UnstyledProp } from '@chakra-ui/react/styled-system';
|
|
17
|
+
|
|
18
|
+
declare interface ButtonProps extends FunctionalButtonProps {
|
|
19
|
+
slot?: string | null | undefined;
|
|
20
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Base recipe props interface that combines Chakra UI's recipe props
|
|
25
|
+
* with the unstyled prop option for the button element.
|
|
26
|
+
*/
|
|
27
|
+
declare interface ButtonRecipeProps extends RecipeProps<"button">, UnstyledProp {
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
32
|
+
* This creates a complete set of props for the root element, combining
|
|
33
|
+
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
34
|
+
*/
|
|
35
|
+
declare interface ButtonRootProps extends Omit<HTMLChakraProps<"button", ButtonRecipeProps>, "slot"> {
|
|
36
|
+
slot?: string | null | undefined;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Drawer
|
|
41
|
+
* ============================================================
|
|
42
|
+
* A foundational drawer component for overlays that require user attention.
|
|
43
|
+
* Built for accessibility and WCAG 2.1 AA compliance.
|
|
44
|
+
*
|
|
45
|
+
* Features:
|
|
46
|
+
* - Controlled and uncontrolled modes
|
|
47
|
+
* - Customizable placement, size, and animations
|
|
48
|
+
* - Focus management and keyboard navigation
|
|
49
|
+
* - Click-outside and Escape key dismissal
|
|
50
|
+
* - Portal rendering support
|
|
51
|
+
* - Backdrop overlay with animations
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```tsx
|
|
55
|
+
* <Drawer.Root>
|
|
56
|
+
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
57
|
+
* <Drawer.Content size="md" placement="center">
|
|
58
|
+
* <Drawer.Header>
|
|
59
|
+
* <Drawer.Title>Drawer Title</Drawer.Title>
|
|
60
|
+
* <Drawer.CloseTrigger>×</Drawer.CloseTrigger>
|
|
61
|
+
* </Drawer.Header>
|
|
62
|
+
* <Drawer.Body>
|
|
63
|
+
* Drawer content goes here
|
|
64
|
+
* </Drawer.Body>
|
|
65
|
+
* <Drawer.Footer>
|
|
66
|
+
* <button>Cancel</button>
|
|
67
|
+
* <button>Save</button>
|
|
68
|
+
* </Drawer.Footer>
|
|
69
|
+
* </Drawer.Content>
|
|
70
|
+
* </Drawer.Root>
|
|
71
|
+
* ```
|
|
72
|
+
* @see https://nimbus-documentation.vercel.app/components/feedback/drawer
|
|
73
|
+
*/
|
|
74
|
+
export declare const Drawer: {
|
|
75
|
+
/**
|
|
76
|
+
* # Drawer.Root
|
|
77
|
+
*
|
|
78
|
+
* The root component that provides context and state management for the drawer.
|
|
79
|
+
* Handles accessibility and keyboard interaction.
|
|
80
|
+
*
|
|
81
|
+
* This component must wrap all drawer parts (Trigger, Content, etc.) and provides
|
|
82
|
+
* the drawer open/close state and variant styling context.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```tsx
|
|
86
|
+
* <Drawer.Root>
|
|
87
|
+
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
88
|
+
* <Drawer.Content>
|
|
89
|
+
* <Drawer.Header>
|
|
90
|
+
* <Drawer.Title>Drawer Title</Drawer.Title>
|
|
91
|
+
* </Drawer.Header>
|
|
92
|
+
* <Drawer.Body>Drawer content</Drawer.Body>
|
|
93
|
+
* </Drawer.Content>
|
|
94
|
+
* </Drawer.Root>
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
Root: {
|
|
98
|
+
(props: DrawerRootProps_2): JSX.Element;
|
|
99
|
+
displayName: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* # Drawer.Trigger
|
|
103
|
+
*
|
|
104
|
+
* The trigger element that opens the drawer when activated.
|
|
105
|
+
* Provides accessibility and keyboard support.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* ```tsx
|
|
109
|
+
* <Drawer.Root>
|
|
110
|
+
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
111
|
+
* <Drawer.Content>...</Drawer.Content>
|
|
112
|
+
* </Drawer.Root>
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
Trigger: {
|
|
116
|
+
({ ref: forwardedRef, children, asChild, ...props }: DrawerTriggerProps_2): JSX.Element;
|
|
117
|
+
displayName: string;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* # Drawer.Content
|
|
121
|
+
*
|
|
122
|
+
* The main drawer content container that handles portalling, backdrop,
|
|
123
|
+
* positioning, and content styling.
|
|
124
|
+
*
|
|
125
|
+
* This component creates the drawer overlay, positions the content, and provides
|
|
126
|
+
* accessibility features like focus management and keyboard dismissal.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* ```tsx
|
|
130
|
+
* <Drawer.Root>
|
|
131
|
+
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
132
|
+
* <Drawer.Content size="md" placement="center">
|
|
133
|
+
* <Drawer.Header>
|
|
134
|
+
* <Drawer.Title>Title</Drawer.Title>
|
|
135
|
+
* </Drawer.Header>
|
|
136
|
+
* <Drawer.Body>Content</Drawer.Body>
|
|
137
|
+
* <Drawer.Footer>Actions</Drawer.Footer>
|
|
138
|
+
* </Drawer.Content>
|
|
139
|
+
* </Drawer.Root>
|
|
140
|
+
* ```
|
|
141
|
+
*/
|
|
142
|
+
Content: {
|
|
143
|
+
(props: DrawerContentProps_2): JSX.Element;
|
|
144
|
+
displayName: string;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* # Drawer.Header
|
|
148
|
+
*
|
|
149
|
+
* The header section of the drawer content.
|
|
150
|
+
* Typically contains the title and close button.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* ```tsx
|
|
154
|
+
* <Drawer.Content>
|
|
155
|
+
* <Drawer.Header>
|
|
156
|
+
* <Drawer.Title>Drawer Title</Drawer.Title>
|
|
157
|
+
* <Drawer.CloseTrigger />
|
|
158
|
+
* </Drawer.Header>
|
|
159
|
+
* <Drawer.Body>...</Drawer.Body>
|
|
160
|
+
* </Drawer.Content>
|
|
161
|
+
* ```
|
|
162
|
+
*/
|
|
163
|
+
Header: {
|
|
164
|
+
(props: DrawerHeaderProps_2): JSX.Element;
|
|
165
|
+
displayName: string;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* # Drawer.Body
|
|
169
|
+
*
|
|
170
|
+
* The main body content section of the drawer.
|
|
171
|
+
* Contains the primary drawer content and handles overflow/scrolling.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* ```tsx
|
|
175
|
+
* <Drawer.Content>
|
|
176
|
+
* <Drawer.Header>...</Drawer.Header>
|
|
177
|
+
* <Drawer.Body>
|
|
178
|
+
* <p>This is the main content of the drawer.</p>
|
|
179
|
+
* </Drawer.Body>
|
|
180
|
+
* <Drawer.Footer>...</Drawer.Footer>
|
|
181
|
+
* </Drawer.Content>
|
|
182
|
+
* ```
|
|
183
|
+
*/
|
|
184
|
+
Body: {
|
|
185
|
+
(props: DrawerBodyProps_2): JSX.Element;
|
|
186
|
+
displayName: string;
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* # Drawer.Footer
|
|
190
|
+
*
|
|
191
|
+
* The footer section of the drawer, typically containing action buttons.
|
|
192
|
+
* Provides consistent spacing and alignment for drawer actions.
|
|
193
|
+
*
|
|
194
|
+
* @example
|
|
195
|
+
* ```tsx
|
|
196
|
+
* <Drawer.Content>
|
|
197
|
+
* <Drawer.Header>...</Drawer.Header>
|
|
198
|
+
* <Drawer.Body>...</Drawer.Body>
|
|
199
|
+
* <Drawer.Footer>
|
|
200
|
+
* <Button variant="outline">Cancel</Button>
|
|
201
|
+
* <Button>Confirm</Button>
|
|
202
|
+
* </Drawer.Footer>
|
|
203
|
+
* </Drawer.Content>
|
|
204
|
+
* ```
|
|
205
|
+
*/
|
|
206
|
+
Footer: {
|
|
207
|
+
(props: DrawerFooterProps_2): JSX.Element;
|
|
208
|
+
displayName: string;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* # Drawer.Title
|
|
212
|
+
*
|
|
213
|
+
* The accessible title element for the drawer.
|
|
214
|
+
* Provides proper accessibility and screen reader support.
|
|
215
|
+
*
|
|
216
|
+
* @example
|
|
217
|
+
* ```tsx
|
|
218
|
+
* <Drawer.Content>
|
|
219
|
+
* <Drawer.Header>
|
|
220
|
+
* <Drawer.Title>Confirm Action</Drawer.Title>
|
|
221
|
+
* </Drawer.Header>
|
|
222
|
+
* <Drawer.Body>...</Drawer.Body>
|
|
223
|
+
* </Drawer.Content>
|
|
224
|
+
* ```
|
|
225
|
+
*/
|
|
226
|
+
Title: {
|
|
227
|
+
(props: DrawerTitleProps_2): JSX.Element;
|
|
228
|
+
displayName: string;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* # Drawer.CloseTrigger
|
|
232
|
+
*
|
|
233
|
+
* A button that closes the drawer when activated.
|
|
234
|
+
* Displays an IconButton with a close (X) icon by default.
|
|
235
|
+
*
|
|
236
|
+
* The component automatically handles the close behavior,
|
|
237
|
+
* so no additional onPress handler is needed.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* ```tsx
|
|
241
|
+
* <Drawer.Root>
|
|
242
|
+
* <Drawer.Trigger>Open Drawer</Drawer.Trigger>
|
|
243
|
+
* <Drawer.Content>
|
|
244
|
+
* <Drawer.Header>
|
|
245
|
+
* <Drawer.Title>Title</Drawer.Title>
|
|
246
|
+
* <Drawer.CloseTrigger aria-label="Close drawer" />
|
|
247
|
+
* </Drawer.Header>
|
|
248
|
+
* <Drawer.Body>Content</Drawer.Body>
|
|
249
|
+
* </Drawer.Content>
|
|
250
|
+
* </Drawer.Root>
|
|
251
|
+
* ```
|
|
252
|
+
*/
|
|
253
|
+
CloseTrigger: {
|
|
254
|
+
(props: DrawerCloseTriggerProps_2): JSX.Element;
|
|
255
|
+
displayName: string;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
export declare type DrawerBackdropSlotProps = HTMLChakraProps<"div">;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Props for the Drawer.Body component
|
|
263
|
+
*
|
|
264
|
+
* The main body content section of the drawer.
|
|
265
|
+
*/
|
|
266
|
+
export declare interface DrawerBodyProps extends DrawerBodySlotProps {
|
|
267
|
+
/**
|
|
268
|
+
* The body content
|
|
269
|
+
*/
|
|
270
|
+
children: React.ReactNode;
|
|
271
|
+
/**
|
|
272
|
+
* The ref to the drawer body
|
|
273
|
+
*/
|
|
274
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export declare type DrawerBodySlotProps = HTMLChakraProps<"div">;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Props for the Drawer.CloseTrigger component
|
|
281
|
+
*
|
|
282
|
+
* A button that closes the drawer when activated.
|
|
283
|
+
* Displays an IconButton with an X icon by default.
|
|
284
|
+
*/
|
|
285
|
+
export declare interface DrawerCloseTriggerProps extends Omit<IconButtonProps, "aria-label"> {
|
|
286
|
+
/**
|
|
287
|
+
* Accessible label for the close button
|
|
288
|
+
* @default "Close drawer"
|
|
289
|
+
*/
|
|
290
|
+
"aria-label"?: string;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export declare type DrawerCloseTriggerSlotProps = HTMLChakraProps<"div">;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Props for the Drawer.Content component
|
|
297
|
+
*
|
|
298
|
+
* The main drawer content container that wraps the React Aria Dialog and Dialog.
|
|
299
|
+
* Configuration (size, placement, etc.) is inherited from Drawer.Root via context.
|
|
300
|
+
*/
|
|
301
|
+
export declare interface DrawerContentProps extends DrawerBackdropSlotProps {
|
|
302
|
+
/**
|
|
303
|
+
* The drawer content
|
|
304
|
+
*/
|
|
305
|
+
children: React.ReactNode;
|
|
306
|
+
/**
|
|
307
|
+
* The ref to the drawer content
|
|
308
|
+
*/
|
|
309
|
+
ref?: React.RefObject<HTMLDivElement>;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export declare type DrawerContentSlotProps = HTMLChakraProps<"div">;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Props for the Drawer.Footer component
|
|
316
|
+
*
|
|
317
|
+
* The footer section of the drawer, typically containing action buttons.
|
|
318
|
+
*/
|
|
319
|
+
export declare interface DrawerFooterProps extends DrawerFooterSlotProps {
|
|
320
|
+
/**
|
|
321
|
+
* The footer content (usually buttons)
|
|
322
|
+
*/
|
|
323
|
+
children: React.ReactNode;
|
|
324
|
+
/**
|
|
325
|
+
* The ref to the drawer footer
|
|
326
|
+
*/
|
|
327
|
+
ref?: React.Ref<HTMLElement>;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export declare type DrawerFooterSlotProps = HTMLChakraProps<"footer">;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Props for the Drawer.Header component
|
|
334
|
+
*
|
|
335
|
+
* The header section of the drawer content.
|
|
336
|
+
*/
|
|
337
|
+
export declare interface DrawerHeaderProps extends DrawerHeaderSlotProps {
|
|
338
|
+
/**
|
|
339
|
+
* The header content
|
|
340
|
+
*/
|
|
341
|
+
children: React.ReactNode;
|
|
342
|
+
/**
|
|
343
|
+
* The ref to the drawer header
|
|
344
|
+
*/
|
|
345
|
+
ref?: React.Ref<HTMLElement>;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export declare type DrawerHeaderSlotProps = HTMLChakraProps<"header">;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Props for the Drawer.Root component
|
|
352
|
+
*
|
|
353
|
+
* The root component that provides context and state management for the drawer.
|
|
354
|
+
* Uses React Aria's DialogTrigger for accessibility and state management.
|
|
355
|
+
*
|
|
356
|
+
* This component handles configuration through recipe variants that are passed
|
|
357
|
+
* down to child components via context.
|
|
358
|
+
*/
|
|
359
|
+
export declare interface DrawerRootProps extends RecipeVariantProps<typeof drawerSlotRecipe> {
|
|
360
|
+
/**
|
|
361
|
+
* The children components (Trigger, Content, etc.)
|
|
362
|
+
*/
|
|
363
|
+
children: React.ReactNode;
|
|
364
|
+
/**
|
|
365
|
+
* Whether the drawer is open (controlled mode)
|
|
366
|
+
*/
|
|
367
|
+
isOpen?: boolean;
|
|
368
|
+
/**
|
|
369
|
+
* Whether the drawer is open by default (uncontrolled mode)
|
|
370
|
+
* @default false
|
|
371
|
+
*/
|
|
372
|
+
defaultOpen?: boolean;
|
|
373
|
+
/**
|
|
374
|
+
* Whether the drawer can be dismissed by clicking the backdrop or pressing Escape.
|
|
375
|
+
* If true, clicking outside the drawer or pressing Escape will close it.
|
|
376
|
+
* @default true
|
|
377
|
+
*/
|
|
378
|
+
isDismissable?: ModalOverlayProps["isDismissable"];
|
|
379
|
+
/**
|
|
380
|
+
* Whether keyboard dismissal (Escape key) is disabled.
|
|
381
|
+
* If true, pressing Escape will NOT close the drawer.
|
|
382
|
+
* @default false
|
|
383
|
+
*/
|
|
384
|
+
isKeyboardDismissDisabled?: ModalOverlayProps["isKeyboardDismissDisabled"];
|
|
385
|
+
/**
|
|
386
|
+
* Function to determine whether the drawer should close when interacting outside.
|
|
387
|
+
* Receives the event and returns true to allow closing, false to prevent.
|
|
388
|
+
*/
|
|
389
|
+
shouldCloseOnInteractOutside?: ModalOverlayProps["shouldCloseOnInteractOutside"];
|
|
390
|
+
/**
|
|
391
|
+
* Callback fired when the drawer open state changes
|
|
392
|
+
* @param isOpen - Whether the drawer is now open
|
|
393
|
+
*/
|
|
394
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
395
|
+
/**
|
|
396
|
+
* Whether to show the backdrop overlay behind the drawer
|
|
397
|
+
* @default false
|
|
398
|
+
*/
|
|
399
|
+
showBackdrop?: boolean;
|
|
400
|
+
/** A Title for the drawer, optional, as long as the Drawer.Title component is used
|
|
401
|
+
* or there is a Heading component used inside the Drawer with
|
|
402
|
+
* a `slot`-property set to `title`.
|
|
403
|
+
*/
|
|
404
|
+
"aria-label"?: string;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export declare type DrawerRootSlotProps = HTMLChakraProps<"div">;
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Drawer recipe - styling for Drawer component overlays
|
|
411
|
+
* Supports center positioning, various sizes, and motion presets for accessible drawer experiences
|
|
412
|
+
*/
|
|
413
|
+
declare const drawerSlotRecipe: SlotRecipeDefinition<"trigger" | "modalOverlay" | "modal" | "content" | "title" | "closeTrigger" | "header" | "body" | "footer", {
|
|
414
|
+
showBackdrop: {
|
|
415
|
+
true: {
|
|
416
|
+
modalOverlay: {
|
|
417
|
+
bg: {
|
|
418
|
+
_dark: "bg/20";
|
|
419
|
+
_light: "fg/20";
|
|
420
|
+
};
|
|
421
|
+
backdropFilter: "blur({sizes.100})";
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
false: {
|
|
425
|
+
modalOverlay: {
|
|
426
|
+
bg: "transparent";
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
placement: {
|
|
431
|
+
left: {
|
|
432
|
+
modal: {
|
|
433
|
+
justifyContent: "flex-start";
|
|
434
|
+
alignItems: "stretch";
|
|
435
|
+
"&[data-entering]": {
|
|
436
|
+
animationName: "slide-from-left-full";
|
|
437
|
+
};
|
|
438
|
+
"&[data-exiting]": {
|
|
439
|
+
animationName: "slide-to-left-full";
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
content: {
|
|
443
|
+
"--drawer-base-margin": number;
|
|
444
|
+
mx: number;
|
|
445
|
+
height: "100vh";
|
|
446
|
+
maxH: "100vh";
|
|
447
|
+
borderRadius: number;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
right: {
|
|
451
|
+
modal: {
|
|
452
|
+
justifyContent: "flex-end";
|
|
453
|
+
alignItems: "stretch";
|
|
454
|
+
"&[data-entering]": {
|
|
455
|
+
animationName: "slide-from-right-full";
|
|
456
|
+
};
|
|
457
|
+
"&[data-exiting]": {
|
|
458
|
+
animationName: "slide-to-right-full";
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
content: {
|
|
462
|
+
"--drawer-base-margin": number;
|
|
463
|
+
mx: number;
|
|
464
|
+
height: "100vh";
|
|
465
|
+
maxH: "100vh";
|
|
466
|
+
borderRadius: number;
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
top: {
|
|
470
|
+
modal: {
|
|
471
|
+
alignItems: "flex-start";
|
|
472
|
+
justifyContent: "stretch";
|
|
473
|
+
"&[data-entering]": {
|
|
474
|
+
animationName: "slide-from-top-full";
|
|
475
|
+
};
|
|
476
|
+
"&[data-exiting]": {
|
|
477
|
+
animationName: "slide-to-top-full";
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
content: {
|
|
481
|
+
"--drawer-base-margin": number;
|
|
482
|
+
mx: number;
|
|
483
|
+
width: "100vw";
|
|
484
|
+
borderRadius: number;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
bottom: {
|
|
488
|
+
modal: {
|
|
489
|
+
alignItems: "flex-end";
|
|
490
|
+
justifyContent: "stretch";
|
|
491
|
+
"&[data-entering]": {
|
|
492
|
+
animationName: "slide-from-bottom-full";
|
|
493
|
+
};
|
|
494
|
+
"&[data-exiting]": {
|
|
495
|
+
animationName: "slide-to-bottom-full";
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
content: {
|
|
499
|
+
"--drawer-base-margin": number;
|
|
500
|
+
mx: number;
|
|
501
|
+
width: "100vw";
|
|
502
|
+
borderRadius: number;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
}>;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Props for the Drawer.Title component
|
|
510
|
+
*
|
|
511
|
+
* The accessible title element for the drawer.
|
|
512
|
+
*/
|
|
513
|
+
export declare interface DrawerTitleProps extends DrawerTitleSlotProps {
|
|
514
|
+
/**
|
|
515
|
+
* The title text
|
|
516
|
+
*/
|
|
517
|
+
children: React.ReactNode;
|
|
518
|
+
/**
|
|
519
|
+
* The ref to the drawer title
|
|
520
|
+
*/
|
|
521
|
+
ref?: React.Ref<HTMLHeadingElement>;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export declare type DrawerTitleSlotProps = HTMLChakraProps<"h2">;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Props for the Drawer.Trigger component
|
|
528
|
+
*
|
|
529
|
+
* The trigger element that opens the drawer when activated.
|
|
530
|
+
*/
|
|
531
|
+
export declare interface DrawerTriggerProps extends DrawerTriggerSlotProps {
|
|
532
|
+
/**
|
|
533
|
+
* The trigger content
|
|
534
|
+
*/
|
|
535
|
+
children: React.ReactNode;
|
|
536
|
+
/**
|
|
537
|
+
* Whether to render as a child element (use children directly as the trigger)
|
|
538
|
+
* @default false
|
|
539
|
+
*/
|
|
540
|
+
asChild?: boolean;
|
|
541
|
+
/**
|
|
542
|
+
* Whether the trigger is disabled
|
|
543
|
+
* @default false
|
|
544
|
+
*/
|
|
545
|
+
isDisabled?: boolean;
|
|
546
|
+
/**
|
|
547
|
+
* The ref to the trigger html-button
|
|
548
|
+
*/
|
|
549
|
+
ref?: React.RefObject<HTMLButtonElement>;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export declare type DrawerTriggerSlotProps = HTMLChakraProps<"button">;
|
|
553
|
+
|
|
554
|
+
/** combine chakra-button props with aria-button props */
|
|
555
|
+
declare type FunctionalButtonProps = AriaButtonProps & Omit<ButtonRootProps, keyof AriaButtonProps | "slot"> & {
|
|
556
|
+
[key: `data-${string}`]: unknown;
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Main props interface for the IconButton component.
|
|
561
|
+
*/
|
|
562
|
+
declare interface IconButtonProps extends ButtonProps {
|
|
563
|
+
/** explains the intended action, required for accessibility */
|
|
564
|
+
"aria-label": string;
|
|
565
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export { }
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
declare module "slate" {
|
|
572
|
+
interface CustomTypes {
|
|
573
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
574
|
+
Element: CustomElement;
|
|
575
|
+
Text: CustomText;
|
|
576
|
+
}
|
|
577
|
+
}
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const ue=require("./chunks/index-DhO4Z_an.cjs.js"),Z=require("./chunks/rich-text-input-CXNeJFfO.cjs.js"),d=require("react"),le=require("./chunks/avatar-C2KIWewd.cjs.js"),ce=require("./chunks/box-CWni3A32.cjs.js"),se=require("./chunks/button-DwowuU7n.cjs.js"),de=require("./chunks/code-q31e3vT2.cjs.js"),F=require("./chunks/combobox-DxZTQoKT.cjs.js"),fe=require("./chunks/dialog-BypIffa5.cjs.js"),ee=require("./chunks/field-errors-Dzmxsyfu.cjs.js"),Rt=require("@chakra-ui/react/flex"),pe=require("./chunks/group-NazPMAWg.cjs.js"),me=require("./chunks/heading-BTacGwo9.cjs.js"),ge=require("./chunks/icon-button-Bwkgcdyv.cjs.js"),ye=require("./chunks/icon-toggle-button-DC2DD7q-.cjs.js"),be=require("./chunks/image-CGOYoc2s.cjs.js"),ve=require("./chunks/kbd-DFeaXiKY.cjs.js"),Ce=require("./chunks/link-iN1bhsXS.cjs.js"),L=require("./chunks/list-DJC9BmoC.cjs.js"),Te=require("./chunks/simple-grid-Cd2MJxSX.cjs.js"),_t=require("@chakra-ui/react/table"),he=require("./chunks/text-CCW9kDT_.cjs.js"),N=require("./chunks/tooltip-CH2ASPPO.cjs.js"),Se=require("./chunks/make-element-focusable-oedzOY_M.cjs.js"),te=require("./chunks/nimbus-provider-B8IUnP0U.cjs.js"),qe=require("./chunks/checkbox-B_7h5MW8.cjs.js"),Ie=require("./chunks/collapsible-motion-CJQJsU4W.cjs.js"),ke=require("./chunks/stack-CIN13EDn.cjs.js"),Re=require("./chunks/visually-hidden-tTYCAVoQ.cjs.js"),_e=require("./chunks/text-input-BYpxoT5T.cjs.js"),Ee=require("./chunks/number-input-C40q3d4I.cjs.js"),we=require("./chunks/grid-Chuw1xje.cjs.js"),w=require("./chunks/select-CwAyhevQ.cjs.js"),De=require("./chunks/separator-BbfyHuLb.cjs.js"),I=require("./chunks/accordion-C2cc3Wn5.cjs.js"),k=require("./chunks/alert-D2CGReLt.cjs.js"),xe=require("./chunks/badge-CCrBksXu.cjs.js"),M=require("./chunks/card-DREQgc6S.cjs.js"),S=require("./chunks/form-field-BDfFWeqm.cjs.js"),Ae=require("./chunks/icon-BHx0r3NL.cjs.js"),Be=require("./chunks/inline-svg-DbvmiSw9.cjs.js"),Fe=require("./chunks/loading-spinner-DDhqsR0J.cjs.js"),Le=require("./chunks/password-input-D94jZSI9.cjs.js"),Me=require("./chunks/search-input-Dh6MuIpa.cjs.js"),Pe=require("./chunks/split-button-C0suLBEJ.cjs.js"),He=require("./chunks/time-input-BCBvliVc.cjs.js"),Oe=require("./chunks/multiline-text-input-CkziMMuo.cjs.js"),Ke=require("./chunks/money-input-CUR36zLn.cjs.js"),j=require("./chunks/radio-input-B0dnF7hm.cjs.js"),Ge=require("./chunks/switch-C_hXU6lZ.cjs.js"),Ne=require("./chunks/tag-group-Vypgj2V2.cjs.js"),je=require("./chunks/toggle-button-u8DA8u8k.cjs.js"),U=require("./chunks/toggle-button-group-RAL2Cws6.cjs.js"),Ue=require("./chunks/date-input-C7BR3eTg.cjs.js"),Ve=require("./chunks/calendar-CmRpEeaV.cjs.js"),ze=require("./chunks/date-picker-Cm9gyNP-.cjs.js"),We=require("./chunks/progress-bar-BHCSpjRr.cjs.js"),$e=require("./chunks/range-calendar-RB6cR7Zf.cjs.js"),T=require("./chunks/menu-BGmtow-5.cjs.js"),Xe=require("./chunks/date-range-picker-zS1_WvWT.cjs.js"),Je=require("./chunks/toolbar-BJlA8UZl.cjs.js"),y=require("./chunks/data-table-CqRdiTa7.cjs.js"),Qe=require("./chunks/pagination-BDx3pJkE.cjs.js"),R=require("./chunks/tabs-BIfLcZNC.cjs.js"),Ye=require("./chunks/localized-field-BEQbGU6A.cjs.js");require("react/jsx-runtime");function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},G.apply(null,arguments)}var re=["shift","alt","meta","mod","ctrl"],Ze={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function B(e){return(e&&Ze[e]||e||"").trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function et(e){return re.includes(e)}function P(e,t){return t===void 0&&(t=","),e.split(t)}function H(e,t,r){t===void 0&&(t="+");var n=e.toLocaleLowerCase().split(t).map(function(i){return B(i)}),c={alt:n.includes("alt"),ctrl:n.includes("ctrl")||n.includes("control"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},a=n.filter(function(i){return!re.includes(i)});return G({},c,{keys:a,description:r,hotkey:e})}var h=new Set;function V(e){return Array.isArray(e)}function tt(e,t){t===void 0&&(t=",");var r=V(e)?e:e.split(t);return r.every(function(n){return h.has(n.trim().toLowerCase())})}function rt(e){var t=Array.isArray(e)?e:[e];h.has("meta")&&h.forEach(function(r){return!et(r)&&h.delete(r.toLowerCase())}),t.forEach(function(r){return h.add(r.toLowerCase())})}function ot(e){var t=Array.isArray(e)?e:[e];e==="meta"?h.clear():t.forEach(function(r){return h.delete(r.toLowerCase())})}function nt(e,t,r){(typeof r=="function"&&r(e,t)||r===!0)&&e.preventDefault()}function at(e,t,r){return typeof r=="function"?r(e,t):r===!0||r===void 0}function it(e){return oe(e,["input","textarea","select"])}function oe(e,t){t===void 0&&(t=!1);var r=e.target,n=e.composed,c=null;return ut(r)&&n?c=e.composedPath()[0]&&e.composedPath()[0].tagName:c=r&&r.tagName,V(t)?!!(c&&t&&t.some(function(a){var i;return a.toLowerCase()===((i=c)==null?void 0:i.toLowerCase())})):!!(c&&t&&t)}function ut(e){return!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-")}function lt(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):t?e.some(function(r){return t.includes(r)})||e.includes("*"):!0}var ct=function(t,r,n){n===void 0&&(n=!1);var c=r.alt,a=r.meta,i=r.mod,f=r.shift,u=r.ctrl,s=r.keys,C=t.key,b=t.code,l=t.ctrlKey,o=t.metaKey,_=t.shiftKey,m=t.altKey,g=B(b),v=C.toLowerCase();if(!(s!=null&&s.includes(g))&&!(s!=null&&s.includes(v))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(g))return!1;if(!n){if(c===!m&&v!=="alt"||f===!_&&v!=="shift")return!1;if(i){if(!o&&!l)return!1}else if(a===!o&&v!=="meta"&&v!=="os"||u===!l&&v!=="ctrl"&&v!=="control")return!1}return s&&s.length===1&&(s.includes(v)||s.includes(g))?!0:s?tt(s):!s},st=d.createContext(void 0),dt=function(){return d.useContext(st)};function ne(e,t){return e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce(function(r,n){return r&&ne(e[n],t[n])},!0):e===t}var ft=d.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),pt=function(){return d.useContext(ft)};function mt(e){var t=d.useRef(void 0);return ne(t.current,e)||(t.current=e),t.current}var J=function(t){t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation()},gt=typeof window<"u"?d.useLayoutEffect:d.useEffect;function yt(e,t,r,n){var c=d.useState(null),a=c[0],i=c[1],f=d.useRef(!1),u=r instanceof Array?n instanceof Array?void 0:n:r,s=V(e)?e.join(u?.splitKey):e,C=r instanceof Array?r:n instanceof Array?n:void 0,b=d.useCallback(t,C??[]),l=d.useRef(b);C?l.current=b:l.current=t;var o=mt(u),_=pt(),m=_.enabledScopes,g=dt();return gt(function(){if(!(o?.enabled===!1||!lt(m,o?.scopes))){var v=function(p,x){var $;if(x===void 0&&(x=!1),!(it(p)&&!oe(p,o?.enableOnFormTags))){if(a!==null){var A=a.getRootNode();if((A instanceof Document||A instanceof ShadowRoot)&&A.activeElement!==a&&!a.contains(A.activeElement)){J(p);return}}($=p.target)!=null&&$.isContentEditable&&!(o!=null&&o.enableOnContentEditable)||P(s,o?.splitKey).forEach(function(ie){var X,E=H(ie,o?.combinationKey);if(ct(p,E,o?.ignoreModifiers)||(X=E.keys)!=null&&X.includes("*")){if(o!=null&&o.ignoreEventWhen!=null&&o.ignoreEventWhen(p)||x&&f.current)return;if(nt(p,E,o?.preventDefault),!at(p,E,o?.enabled)){J(p);return}l.current(p,E),x||(f.current=!0)}})}},z=function(p){p.key!==void 0&&(rt(B(p.code)),(o?.keydown===void 0&&o?.keyup!==!0||o!=null&&o.keydown)&&v(p))},W=function(p){p.key!==void 0&&(ot(B(p.code)),f.current=!1,o!=null&&o.keyup&&v(p,!0))},D=a||u?.document||document;return D.addEventListener("keyup",W,u?.eventListenerOptions),D.addEventListener("keydown",z,u?.eventListenerOptions),g&&P(s,o?.splitKey).forEach(function(q){return g.addHotkey(H(q,o?.combinationKey,o?.description))}),function(){D.removeEventListener("keyup",W,u?.eventListenerOptions),D.removeEventListener("keydown",z,u?.eventListenerOptions),g&&P(s,o?.splitKey).forEach(function(q){return g.removeHotkey(H(q,o?.combinationKey,o?.description))})}}},[a,s,o,m]),i}function bt(){var e=d.useRef(!1),t=d.useCallback(function(){return e.current},[]);return d.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}var vt=function(e){e===void 0&&(e={});var t=d.useState(e),r=t[0],n=t[1],c=d.useCallback(function(a){n(function(i){return Object.assign({},i,a instanceof Function?a(i):a)})},[]);return[r,c]},O,Q;function Ct(){return Q||(Q=1,O=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(c){e.addRange(c)}),t&&t.focus()}}),O}var K,Y;function Tt(){if(Y)return K;Y=1;var e=Ct(),t={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(a){var i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return a.replace(/#{\s*key\s*}/g,i)}function c(a,i){var f,u,s,C,b,l,o=!1;i||(i={}),f=i.debug||!1;try{s=e(),C=document.createRange(),b=document.getSelection(),l=document.createElement("span"),l.textContent=a,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(m){if(m.stopPropagation(),i.format)if(m.preventDefault(),typeof m.clipboardData>"u"){f&&console.warn("unable to use e.clipboardData"),f&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var g=t[i.format]||t.default;window.clipboardData.setData(g,a)}else m.clipboardData.clearData(),m.clipboardData.setData(i.format,a);i.onCopy&&(m.preventDefault(),i.onCopy(m.clipboardData))}),document.body.appendChild(l),C.selectNodeContents(l),b.addRange(C);var _=document.execCommand("copy");if(!_)throw new Error("copy command was unsuccessful");o=!0}catch(m){f&&console.error("unable to copy using execCommand: ",m),f&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(i.format||"text",a),i.onCopy&&i.onCopy(window.clipboardData),o=!0}catch(g){f&&console.error("unable to copy using clipboardData: ",g),f&&console.error("falling back to prompt"),u=n("message"in i?i.message:r),window.prompt(u,a)}}finally{b&&(typeof b.removeRange=="function"?b.removeRange(C):b.removeAllRanges()),l&&document.body.removeChild(l),s()}return o}return K=c,K}var ht=Tt();const St=Z.getDefaultExportFromCjs(ht);var qt=function(){var e=bt(),t=vt({value:void 0,error:void 0,noUserInteraction:!0}),r=t[0],n=t[1],c=d.useCallback(function(a){if(e()){var i,f;try{if(typeof a!="string"&&typeof a!="number"){var u=new Error("Cannot copy typeof "+typeof a+" to clipboard, must be a string");process.env.NODE_ENV==="development"&&console.error(u),n({value:a,error:u,noUserInteraction:!0});return}else if(a===""){var u=new Error("Cannot copy empty string to clipboard.");process.env.NODE_ENV==="development"&&console.error(u),n({value:a,error:u,noUserInteraction:!0});return}f=a.toString(),i=St(f),n({value:f,error:void 0,noUserInteraction:i})}catch(s){n({value:f,error:s,noUserInteraction:i})}}},[]);return[r,c]};function It(){const[e,t]=d.useState(r());function r(){return document.documentElement.style.getPropertyValue("color-scheme")||localStorage.getItem("theme")||"light"}return d.useEffect(()=>{const n=document.documentElement,c=new MutationObserver(()=>{const a=r();t(a)});return c.observe(n,{attributes:!0,attributeFilter:["style"]}),()=>c.disconnect()},[]),e}function ae(){const{resolvedTheme:e,setTheme:t}=te.z();return{colorMode:e,setColorMode:t,toggleColorMode:()=>{t(e==="light"?"dark":"light")}}}function kt(e,t){const{colorMode:r}=ae();return r==="light"?e:t}exports.system=ue.system;exports.RichTextInput=Z.RichTextInput;exports.Avatar=le.Avatar;exports.Box=ce.Box;exports.Button=se.Button;exports.Code=de.Code;exports.ComboBox=F.ComboBox;exports._ComboBoxOption=F.ComboBoxOption;exports._ComboBoxOptionGroup=F.ComboBoxOptionGroup;exports._ComboBoxRoot=F.ComboBoxRoot;exports.Dialog=fe.Dialog;exports.FieldErrorTypes=ee.FieldErrorTypes;exports.FieldErrors=ee.FieldErrors;exports.Group=pe.Group;exports.Heading=me.Heading;exports.IconButton=ge.IconButton;exports.IconToggleButton=ye.IconToggleButton;exports.Image=be.Image;exports.Kbd=ve.Kbd;exports.Link=Ce.Link;exports.List=L.List;exports._ListIndicator=L.ListIndicator;exports._ListItem=L.ListItem;exports._ListRoot=L.ListRoot;exports.SimpleGrid=Te.SimpleGrid;exports.Text=he.Text;exports.Tooltip=N.Tooltip;exports._TooltipContent=N.TooltipContent;exports._TooltipRoot=N.TooltipRoot;exports.MakeElementFocusable=Se.MakeElementFocusable;exports.NimbusProvider=te.NimbusProvider;exports.Checkbox=qe.Checkbox;exports.CollapsibleMotion=Ie.CollapsibleMotion;exports.Stack=ke.Stack;exports.VisuallyHidden=Re.VisuallyHidden;exports.TextInput=_e.TextInput;exports.NumberInput=Ee.NumberInput;exports.Grid=we.Grid;exports.Select=w.Select;exports._SelectOption=w.SelectOption;exports._SelectOptionGroup=w.SelectOptionGroup;exports._SelectOptions=w.SelectOptions;exports._SelectRoot=w.SelectRoot;exports.Separator=De.Separator;exports.Accordion=I.Accordion;exports._AccordionContent=I.AccordionContent;exports._AccordionHeader=I.AccordionHeader;exports._AccordionHeaderRightContent=I.AccordionHeaderRightContentSlot;exports._AccordionItem=I.AccordionItem;exports._AccordionRoot=I.AccordionRoot;exports.Alert=k.Alert;exports._AlertActions=k.AlertActions;exports._AlertDescription=k.AlertDescription;exports._AlertDismissButton=k.AlertDismissButton;exports._AlertRoot=k.AlertRoot;exports._AlertTitle=k.AlertTitle;exports.Badge=xe.Badge;exports.Card=M.Card;exports._CardContent=M.CardContent;exports._CardHeader=M.CardHeader;exports._CardRoot=M.CardRoot;exports.FormField=S.FormField;exports._FormFieldDescription=S.FormFieldDescription;exports._FormFieldError=S.FormFieldError;exports._FormFieldInfoBox=S.FormFieldInfoBox;exports._FormFieldInput=S.FormFieldInput;exports._FormFieldLabel=S.FormFieldLabel;exports._FormFieldRoot=S.FormFieldRoot;exports.Icon=Ae.Icon;exports.InlineSvg=Be.InlineSvg;exports.LoadingSpinner=Fe.LoadingSpinner;exports.PasswordInput=Le.PasswordInput;exports.SearchInput=Me.SearchInput;exports.SplitButton=Pe.SplitButton;exports.TimeInput=He.TimeInput;exports.MultilineTextInput=Oe.MultilineTextInput;exports.MoneyInput=Ke.MoneyInput;exports.RadioInput=j.RadioInput;exports._RadioInputOption=j.RadioInputOption;exports._RadioInputRoot=j.RadioInputRoot;exports.Switch=Ge.Switch;exports.TagGroup=Ne.TagGroup;exports.ToggleButton=je.ToggleButton;exports.ToggleButtonGroup=U.ToggleButtonGroup;exports._ToggleButtonGroupButton=U.ToggleButtonGroupButton;exports._ToggleButtonGroupRoot=U.ToggleButtonGroupRoot;exports.DateInput=Ue.DateInput;exports.Calendar=Ve.Calendar;exports.DatePicker=ze.DatePicker;exports.ProgressBar=We.ProgressBar;exports.RangeCalendar=$e.RangeCalendar;exports.Menu=T.Menu;exports._MenuContent=T.MenuContent;exports._MenuItem=T.MenuItem;exports._MenuRoot=T.MenuRoot;exports._MenuSection=T.MenuSection;exports._MenuSubmenu=T.MenuSubmenu;exports._MenuSubmenuTrigger=T.MenuSubmenuTrigger;exports._MenuTrigger=T.MenuTrigger;exports.DateRangePicker=Xe.DateRangePicker;exports.Toolbar=Je.Toolbar;exports.DataTable=y.DataTable;exports._DataTableBody=y.DataTableBody;exports._DataTableCell=y.DataTableCell;exports._DataTableColumn=y.DataTableColumn;exports._DataTableExpandButton=y.DataTableExpandButton;exports._DataTableFooter=y.DataTableFooter;exports._DataTableHeader=y.DataTableHeader;exports._DataTableNestedIcon=y.DataTableNestedIcon;exports._DataTableRoot=y.DataTableRoot;exports._DataTableRow=y.DataTableRow;exports._DataTableSelectionCell=y.DataTableSelectionCell;exports._DataTableTable=y.DataTableTable;exports.Pagination=Qe.Pagination;exports.Tabs=R.Tabs;exports._Tab=R.Tab;exports._TabList=R.TabList;exports._TabPanel=R.TabPanel;exports._TabPanels=R.TabPanels;exports._TabsRoot=R.TabsRoot;exports.LocalizedField=Ye.LocalizedField;exports.useColorMode=ae;exports.useColorModeValue=kt;exports.useColorScheme=It;exports.useCopyToClipboard=qt;exports.useHotkeys=yt;
|
|
1
|
+
"use strict";const ue=require("./chunks/index-Bx9ez6gh.cjs.js"),Z=require("./chunks/rich-text-input-BygekdK5.cjs.js"),d=require("react"),le=require("./chunks/avatar-C2KIWewd.cjs.js"),ce=require("./chunks/box-CWni3A32.cjs.js"),se=require("./chunks/button-DTE97NpD.cjs.js"),de=require("./chunks/code-q31e3vT2.cjs.js"),F=require("./chunks/combobox-BghQKCQt.cjs.js"),fe=require("./chunks/dialog-CDyF_zvK.cjs.js"),ee=require("./chunks/field-errors-Dzmxsyfu.cjs.js"),_t=require("@chakra-ui/react/flex"),pe=require("./chunks/group-NazPMAWg.cjs.js"),me=require("./chunks/heading-BTacGwo9.cjs.js"),ge=require("./chunks/icon-button-CkjZc6Br.cjs.js"),ye=require("./chunks/icon-toggle-button-Bsj4XLsI.cjs.js"),be=require("./chunks/image-CGOYoc2s.cjs.js"),ve=require("./chunks/kbd-DFeaXiKY.cjs.js"),Ce=require("./chunks/link-iN1bhsXS.cjs.js"),L=require("./chunks/list-DJC9BmoC.cjs.js"),Te=require("./chunks/simple-grid-Cd2MJxSX.cjs.js"),wt=require("@chakra-ui/react/table"),he=require("./chunks/text-CCW9kDT_.cjs.js"),N=require("./chunks/tooltip-CH2ASPPO.cjs.js"),Se=require("./chunks/make-element-focusable-oedzOY_M.cjs.js"),te=require("./chunks/nimbus-provider-ChOIcVt6.cjs.js"),qe=require("./chunks/checkbox-Bh5DxcKC.cjs.js"),Ie=require("./chunks/collapsible-motion-hU9KTv8o.cjs.js"),ke=require("./chunks/stack-CIN13EDn.cjs.js"),Re=require("./chunks/visually-hidden-tTYCAVoQ.cjs.js"),_e=require("./chunks/text-input-DHyVy0pg.cjs.js"),we=require("./chunks/number-input-DA_yy5BZ.cjs.js"),De=require("./chunks/grid-Chuw1xje.cjs.js"),D=require("./chunks/select-D_HPNSo0.cjs.js"),Ee=require("./chunks/separator-BBuhLJdN.cjs.js"),I=require("./chunks/accordion-CxA_B4rs.cjs.js"),k=require("./chunks/alert-CA04iXvr.cjs.js"),xe=require("./chunks/badge-CCrBksXu.cjs.js"),M=require("./chunks/card-DREQgc6S.cjs.js"),S=require("./chunks/form-field-2NMmaZgp.cjs.js"),Ae=require("./chunks/icon-BHx0r3NL.cjs.js"),Be=require("./chunks/inline-svg-DbvmiSw9.cjs.js"),Fe=require("./chunks/loading-spinner-DDhqsR0J.cjs.js"),Le=require("./chunks/password-input-DMbxYno4.cjs.js"),Me=require("./chunks/search-input-r6P-vAgp.cjs.js"),Pe=require("./chunks/split-button-EHp7Svv4.cjs.js"),He=require("./chunks/time-input-UNOO6gaq.cjs.js"),Oe=require("./chunks/multiline-text-input-4kwHZ5HO.cjs.js"),Ke=require("./chunks/money-input-BklJuHw0.cjs.js"),j=require("./chunks/radio-input-DK5681L5.cjs.js"),Ge=require("./chunks/switch-CwJ5OFLP.cjs.js"),Ne=require("./chunks/tag-group-Cgs8C7Xc.cjs.js"),je=require("./chunks/toggle-button-BHOVooIy.cjs.js"),U=require("./chunks/toggle-button-group-RAL2Cws6.cjs.js"),Ue=require("./chunks/date-input-CUWc63rA.cjs.js"),Ve=require("./chunks/calendar-GA5ACIqm.cjs.js"),ze=require("./chunks/date-picker-C6A6CiIu.cjs.js"),We=require("./chunks/progress-bar-BBy8IR_W.cjs.js"),$e=require("./chunks/range-calendar-CrHUTeyY.cjs.js"),T=require("./chunks/menu-CW4QVk-m.cjs.js"),Xe=require("./chunks/date-range-picker-vER5F2HJ.cjs.js"),Je=require("./chunks/toolbar-0yDwxKuL.cjs.js"),y=require("./chunks/data-table-BBvjFAkE.cjs.js"),Qe=require("./chunks/pagination-DUCo0L7g.cjs.js"),Ye=require("./chunks/drawer-DzYXHVbg.cjs.js"),R=require("./chunks/tabs-Cklmbi45.cjs.js"),Ze=require("./chunks/localized-field-BqUMaU2Z.cjs.js");require("react/jsx-runtime");function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},G.apply(null,arguments)}var re=["shift","alt","meta","mod","ctrl"],et={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function B(e){return(e&&et[e]||e||"").trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function tt(e){return re.includes(e)}function P(e,t){return t===void 0&&(t=","),e.split(t)}function H(e,t,r){t===void 0&&(t="+");var n=e.toLocaleLowerCase().split(t).map(function(i){return B(i)}),c={alt:n.includes("alt"),ctrl:n.includes("ctrl")||n.includes("control"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},a=n.filter(function(i){return!re.includes(i)});return G({},c,{keys:a,description:r,hotkey:e})}var h=new Set;function V(e){return Array.isArray(e)}function rt(e,t){t===void 0&&(t=",");var r=V(e)?e:e.split(t);return r.every(function(n){return h.has(n.trim().toLowerCase())})}function ot(e){var t=Array.isArray(e)?e:[e];h.has("meta")&&h.forEach(function(r){return!tt(r)&&h.delete(r.toLowerCase())}),t.forEach(function(r){return h.add(r.toLowerCase())})}function nt(e){var t=Array.isArray(e)?e:[e];e==="meta"?h.clear():t.forEach(function(r){return h.delete(r.toLowerCase())})}function at(e,t,r){(typeof r=="function"&&r(e,t)||r===!0)&&e.preventDefault()}function it(e,t,r){return typeof r=="function"?r(e,t):r===!0||r===void 0}function ut(e){return oe(e,["input","textarea","select"])}function oe(e,t){t===void 0&&(t=!1);var r=e.target,n=e.composed,c=null;return lt(r)&&n?c=e.composedPath()[0]&&e.composedPath()[0].tagName:c=r&&r.tagName,V(t)?!!(c&&t&&t.some(function(a){var i;return a.toLowerCase()===((i=c)==null?void 0:i.toLowerCase())})):!!(c&&t&&t)}function lt(e){return!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-")}function ct(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):t?e.some(function(r){return t.includes(r)})||e.includes("*"):!0}var st=function(t,r,n){n===void 0&&(n=!1);var c=r.alt,a=r.meta,i=r.mod,f=r.shift,u=r.ctrl,s=r.keys,C=t.key,b=t.code,l=t.ctrlKey,o=t.metaKey,_=t.shiftKey,m=t.altKey,g=B(b),v=C.toLowerCase();if(!(s!=null&&s.includes(g))&&!(s!=null&&s.includes(v))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(g))return!1;if(!n){if(c===!m&&v!=="alt"||f===!_&&v!=="shift")return!1;if(i){if(!o&&!l)return!1}else if(a===!o&&v!=="meta"&&v!=="os"||u===!l&&v!=="ctrl"&&v!=="control")return!1}return s&&s.length===1&&(s.includes(v)||s.includes(g))?!0:s?rt(s):!s},dt=d.createContext(void 0),ft=function(){return d.useContext(dt)};function ne(e,t){return e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce(function(r,n){return r&&ne(e[n],t[n])},!0):e===t}var pt=d.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),mt=function(){return d.useContext(pt)};function gt(e){var t=d.useRef(void 0);return ne(t.current,e)||(t.current=e),t.current}var J=function(t){t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation()},yt=typeof window<"u"?d.useLayoutEffect:d.useEffect;function bt(e,t,r,n){var c=d.useState(null),a=c[0],i=c[1],f=d.useRef(!1),u=r instanceof Array?n instanceof Array?void 0:n:r,s=V(e)?e.join(u?.splitKey):e,C=r instanceof Array?r:n instanceof Array?n:void 0,b=d.useCallback(t,C??[]),l=d.useRef(b);C?l.current=b:l.current=t;var o=gt(u),_=mt(),m=_.enabledScopes,g=ft();return yt(function(){if(!(o?.enabled===!1||!ct(m,o?.scopes))){var v=function(p,x){var $;if(x===void 0&&(x=!1),!(ut(p)&&!oe(p,o?.enableOnFormTags))){if(a!==null){var A=a.getRootNode();if((A instanceof Document||A instanceof ShadowRoot)&&A.activeElement!==a&&!a.contains(A.activeElement)){J(p);return}}($=p.target)!=null&&$.isContentEditable&&!(o!=null&&o.enableOnContentEditable)||P(s,o?.splitKey).forEach(function(ie){var X,w=H(ie,o?.combinationKey);if(st(p,w,o?.ignoreModifiers)||(X=w.keys)!=null&&X.includes("*")){if(o!=null&&o.ignoreEventWhen!=null&&o.ignoreEventWhen(p)||x&&f.current)return;if(at(p,w,o?.preventDefault),!it(p,w,o?.enabled)){J(p);return}l.current(p,w),x||(f.current=!0)}})}},z=function(p){p.key!==void 0&&(ot(B(p.code)),(o?.keydown===void 0&&o?.keyup!==!0||o!=null&&o.keydown)&&v(p))},W=function(p){p.key!==void 0&&(nt(B(p.code)),f.current=!1,o!=null&&o.keyup&&v(p,!0))},E=a||u?.document||document;return E.addEventListener("keyup",W,u?.eventListenerOptions),E.addEventListener("keydown",z,u?.eventListenerOptions),g&&P(s,o?.splitKey).forEach(function(q){return g.addHotkey(H(q,o?.combinationKey,o?.description))}),function(){E.removeEventListener("keyup",W,u?.eventListenerOptions),E.removeEventListener("keydown",z,u?.eventListenerOptions),g&&P(s,o?.splitKey).forEach(function(q){return g.removeHotkey(H(q,o?.combinationKey,o?.description))})}}},[a,s,o,m]),i}function vt(){var e=d.useRef(!1),t=d.useCallback(function(){return e.current},[]);return d.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}var Ct=function(e){e===void 0&&(e={});var t=d.useState(e),r=t[0],n=t[1],c=d.useCallback(function(a){n(function(i){return Object.assign({},i,a instanceof Function?a(i):a)})},[]);return[r,c]},O,Q;function Tt(){return Q||(Q=1,O=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(c){e.addRange(c)}),t&&t.focus()}}),O}var K,Y;function ht(){if(Y)return K;Y=1;var e=Tt(),t={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(a){var i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return a.replace(/#{\s*key\s*}/g,i)}function c(a,i){var f,u,s,C,b,l,o=!1;i||(i={}),f=i.debug||!1;try{s=e(),C=document.createRange(),b=document.getSelection(),l=document.createElement("span"),l.textContent=a,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(m){if(m.stopPropagation(),i.format)if(m.preventDefault(),typeof m.clipboardData>"u"){f&&console.warn("unable to use e.clipboardData"),f&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var g=t[i.format]||t.default;window.clipboardData.setData(g,a)}else m.clipboardData.clearData(),m.clipboardData.setData(i.format,a);i.onCopy&&(m.preventDefault(),i.onCopy(m.clipboardData))}),document.body.appendChild(l),C.selectNodeContents(l),b.addRange(C);var _=document.execCommand("copy");if(!_)throw new Error("copy command was unsuccessful");o=!0}catch(m){f&&console.error("unable to copy using execCommand: ",m),f&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(i.format||"text",a),i.onCopy&&i.onCopy(window.clipboardData),o=!0}catch(g){f&&console.error("unable to copy using clipboardData: ",g),f&&console.error("falling back to prompt"),u=n("message"in i?i.message:r),window.prompt(u,a)}}finally{b&&(typeof b.removeRange=="function"?b.removeRange(C):b.removeAllRanges()),l&&document.body.removeChild(l),s()}return o}return K=c,K}var St=ht();const qt=Z.getDefaultExportFromCjs(St);var It=function(){var e=vt(),t=Ct({value:void 0,error:void 0,noUserInteraction:!0}),r=t[0],n=t[1],c=d.useCallback(function(a){if(e()){var i,f;try{if(typeof a!="string"&&typeof a!="number"){var u=new Error("Cannot copy typeof "+typeof a+" to clipboard, must be a string");process.env.NODE_ENV==="development"&&console.error(u),n({value:a,error:u,noUserInteraction:!0});return}else if(a===""){var u=new Error("Cannot copy empty string to clipboard.");process.env.NODE_ENV==="development"&&console.error(u),n({value:a,error:u,noUserInteraction:!0});return}f=a.toString(),i=qt(f),n({value:f,error:void 0,noUserInteraction:i})}catch(s){n({value:f,error:s,noUserInteraction:i})}}},[]);return[r,c]};function kt(){const[e,t]=d.useState(r());function r(){return document.documentElement.style.getPropertyValue("color-scheme")||localStorage.getItem("theme")||"light"}return d.useEffect(()=>{const n=document.documentElement,c=new MutationObserver(()=>{const a=r();t(a)});return c.observe(n,{attributes:!0,attributeFilter:["style"]}),()=>c.disconnect()},[]),e}function ae(){const{resolvedTheme:e,setTheme:t}=te.z();return{colorMode:e,setColorMode:t,toggleColorMode:()=>{t(e==="light"?"dark":"light")}}}function Rt(e,t){const{colorMode:r}=ae();return r==="light"?e:t}exports.system=ue.system;exports.RichTextInput=Z.RichTextInput;exports.Avatar=le.Avatar;exports.Box=ce.Box;exports.Button=se.Button;exports.Code=de.Code;exports.ComboBox=F.ComboBox;exports._ComboBoxOption=F.ComboBoxOption;exports._ComboBoxOptionGroup=F.ComboBoxOptionGroup;exports._ComboBoxRoot=F.ComboBoxRoot;exports.Dialog=fe.Dialog;exports.FieldErrorTypes=ee.FieldErrorTypes;exports.FieldErrors=ee.FieldErrors;exports.Group=pe.Group;exports.Heading=me.Heading;exports.IconButton=ge.IconButton;exports.IconToggleButton=ye.IconToggleButton;exports.Image=be.Image;exports.Kbd=ve.Kbd;exports.Link=Ce.Link;exports.List=L.List;exports._ListIndicator=L.ListIndicator;exports._ListItem=L.ListItem;exports._ListRoot=L.ListRoot;exports.SimpleGrid=Te.SimpleGrid;exports.Text=he.Text;exports.Tooltip=N.Tooltip;exports._TooltipContent=N.TooltipContent;exports._TooltipRoot=N.TooltipRoot;exports.MakeElementFocusable=Se.MakeElementFocusable;exports.NimbusProvider=te.NimbusProvider;exports.Checkbox=qe.Checkbox;exports.CollapsibleMotion=Ie.CollapsibleMotion;exports.Stack=ke.Stack;exports.VisuallyHidden=Re.VisuallyHidden;exports.TextInput=_e.TextInput;exports.NumberInput=we.NumberInput;exports.Grid=De.Grid;exports.Select=D.Select;exports._SelectOption=D.SelectOption;exports._SelectOptionGroup=D.SelectOptionGroup;exports._SelectOptions=D.SelectOptions;exports._SelectRoot=D.SelectRoot;exports.Separator=Ee.Separator;exports.Accordion=I.Accordion;exports._AccordionContent=I.AccordionContent;exports._AccordionHeader=I.AccordionHeader;exports._AccordionHeaderRightContent=I.AccordionHeaderRightContentSlot;exports._AccordionItem=I.AccordionItem;exports._AccordionRoot=I.AccordionRoot;exports.Alert=k.Alert;exports._AlertActions=k.AlertActions;exports._AlertDescription=k.AlertDescription;exports._AlertDismissButton=k.AlertDismissButton;exports._AlertRoot=k.AlertRoot;exports._AlertTitle=k.AlertTitle;exports.Badge=xe.Badge;exports.Card=M.Card;exports._CardContent=M.CardContent;exports._CardHeader=M.CardHeader;exports._CardRoot=M.CardRoot;exports.FormField=S.FormField;exports._FormFieldDescription=S.FormFieldDescription;exports._FormFieldError=S.FormFieldError;exports._FormFieldInfoBox=S.FormFieldInfoBox;exports._FormFieldInput=S.FormFieldInput;exports._FormFieldLabel=S.FormFieldLabel;exports._FormFieldRoot=S.FormFieldRoot;exports.Icon=Ae.Icon;exports.InlineSvg=Be.InlineSvg;exports.LoadingSpinner=Fe.LoadingSpinner;exports.PasswordInput=Le.PasswordInput;exports.SearchInput=Me.SearchInput;exports.SplitButton=Pe.SplitButton;exports.TimeInput=He.TimeInput;exports.MultilineTextInput=Oe.MultilineTextInput;exports.MoneyInput=Ke.MoneyInput;exports.RadioInput=j.RadioInput;exports._RadioInputOption=j.RadioInputOption;exports._RadioInputRoot=j.RadioInputRoot;exports.Switch=Ge.Switch;exports.TagGroup=Ne.TagGroup;exports.ToggleButton=je.ToggleButton;exports.ToggleButtonGroup=U.ToggleButtonGroup;exports._ToggleButtonGroupButton=U.ToggleButtonGroupButton;exports._ToggleButtonGroupRoot=U.ToggleButtonGroupRoot;exports.DateInput=Ue.DateInput;exports.Calendar=Ve.Calendar;exports.DatePicker=ze.DatePicker;exports.ProgressBar=We.ProgressBar;exports.RangeCalendar=$e.RangeCalendar;exports.Menu=T.Menu;exports._MenuContent=T.MenuContent;exports._MenuItem=T.MenuItem;exports._MenuRoot=T.MenuRoot;exports._MenuSection=T.MenuSection;exports._MenuSubmenu=T.MenuSubmenu;exports._MenuSubmenuTrigger=T.MenuSubmenuTrigger;exports._MenuTrigger=T.MenuTrigger;exports.DateRangePicker=Xe.DateRangePicker;exports.Toolbar=Je.Toolbar;exports.DataTable=y.DataTable;exports._DataTableBody=y.DataTableBody;exports._DataTableCell=y.DataTableCell;exports._DataTableColumn=y.DataTableColumn;exports._DataTableExpandButton=y.DataTableExpandButton;exports._DataTableFooter=y.DataTableFooter;exports._DataTableHeader=y.DataTableHeader;exports._DataTableNestedIcon=y.DataTableNestedIcon;exports._DataTableRoot=y.DataTableRoot;exports._DataTableRow=y.DataTableRow;exports._DataTableSelectionCell=y.DataTableSelectionCell;exports._DataTableTable=y.DataTableTable;exports.Pagination=Qe.Pagination;exports.Drawer=Ye.Drawer;exports.Tabs=R.Tabs;exports._Tab=R.Tab;exports._TabList=R.TabList;exports._TabPanel=R.TabPanel;exports._TabPanels=R.TabPanels;exports._TabsRoot=R.TabsRoot;exports.LocalizedField=Ze.LocalizedField;exports.useColorMode=ae;exports.useColorModeValue=Rt;exports.useColorScheme=kt;exports.useCopyToClipboard=It;exports.useHotkeys=bt;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|