@customafk/lunas-ui 0.0.84 → 0.0.86
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/{add-new-HTqsYpR5.js → add-new-CDApqBax.js} +2 -2
- package/dist/{add-new-HTqsYpR5.js.map → add-new-CDApqBax.js.map} +1 -1
- package/dist/{add-new-CD6uW0cp.cjs → add-new-D-WSaAM3.cjs} +2 -2
- package/dist/{add-new-CD6uW0cp.cjs.map → add-new-D-WSaAM3.cjs.map} +1 -1
- package/dist/{alert-dialog-BfKVH-9l.js → alert-dialog-Di6rTULI.js} +1 -1
- package/dist/{alert-dialog-BfKVH-9l.js.map → alert-dialog-Di6rTULI.js.map} +1 -1
- package/dist/{alert-dialog-mR3avgRt.cjs → alert-dialog-DmsZNeeJ.cjs} +1 -1
- package/dist/{alert-dialog-mR3avgRt.cjs.map → alert-dialog-DmsZNeeJ.cjs.map} +1 -1
- package/dist/{avatar-DmMCBvb6.cjs → avatar-96dXWrWU.cjs} +1 -1
- package/dist/{avatar-DmMCBvb6.cjs.map → avatar-96dXWrWU.cjs.map} +1 -1
- package/dist/{avatar-iX5Jhj8E.js → avatar-CcbiQ1mq.js} +1 -1
- package/dist/{avatar-iX5Jhj8E.js.map → avatar-CcbiQ1mq.js.map} +1 -1
- package/dist/{badge-AM9m3CFI.cjs → badge-B1y6KFfh.cjs} +1 -1
- package/dist/{badge-AM9m3CFI.cjs.map → badge-B1y6KFfh.cjs.map} +1 -1
- package/dist/{badge-tjlLdDGl.js → badge-DWc4Idn2.js} +1 -1
- package/dist/{badge-tjlLdDGl.js.map → badge-DWc4Idn2.js.map} +1 -1
- package/dist/{button-DW8t4_Xa.d.cts → button-BR2WmoAo.d.cts} +4 -4
- package/dist/{button-B6RxJ31O.d.ts → button-CIP-EkY5.d.ts} +6 -6
- package/dist/{calendar-Brdd41FH.cjs → calendar-D_C_Qeu7.cjs} +1 -1
- package/dist/{calendar-Brdd41FH.cjs.map → calendar-D_C_Qeu7.cjs.map} +1 -1
- package/dist/{calendar-Diid0R3S.js → calendar-et-igmiY.js} +1 -1
- package/dist/{calendar-Diid0R3S.js.map → calendar-et-igmiY.js.map} +1 -1
- package/dist/cards/simple-card.d.cts +2 -2
- package/dist/cards/simple-card.d.ts +2 -2
- package/dist/{command-UXLmHGja.js → command-BvHe__3s.js} +2 -2
- package/dist/{command-UXLmHGja.js.map → command-BvHe__3s.js.map} +1 -1
- package/dist/{command-C13pL2M3.cjs → command-CevqI1YQ.cjs} +2 -2
- package/dist/{command-C13pL2M3.cjs.map → command-CevqI1YQ.cjs.map} +1 -1
- package/dist/{command-dOuGzMZQ.d.ts → command-DKXFheVV.d.ts} +12 -12
- package/dist/{command-DBkTh6gn.d.cts → command-GmjW1L4_.d.cts} +12 -12
- package/dist/data-display/country.cjs +1 -1
- package/dist/data-display/country.js +1 -1
- package/dist/data-display/data-list.cjs +1 -1
- package/dist/data-display/data-list.js +1 -1
- package/dist/data-display/date-tooltip.cjs +1 -1
- package/dist/data-display/date-tooltip.js +1 -1
- package/dist/data-display/date.cjs +1 -1
- package/dist/data-display/date.js +1 -1
- package/dist/data-display/empty.cjs +1 -1
- package/dist/data-display/empty.d.cts +2 -2
- package/dist/data-display/empty.d.ts +2 -2
- package/dist/data-display/empty.js +1 -1
- package/dist/data-display/name.cjs +1 -1
- package/dist/data-display/name.js +1 -1
- package/dist/data-display/phone-number.cjs +1 -1
- package/dist/data-display/phone-number.js +1 -1
- package/dist/data-display/role-badge.cjs +1 -1
- package/dist/data-display/role-badge.js +1 -1
- package/dist/data-display/statistic.cjs +1 -1
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/data-display/statistic.d.ts +2 -2
- package/dist/data-display/statistic.js +1 -1
- package/dist/data-display/user.cjs +1 -1
- package/dist/data-display/user.js +1 -1
- package/dist/{date-CgzMwDPN.js → date-4JlD-xYj.js} +1 -1
- package/dist/{date-CgzMwDPN.js.map → date-4JlD-xYj.js.map} +1 -1
- package/dist/{date-BEyT-xKi.cjs → date-vWvu4M91.cjs} +1 -1
- package/dist/{date-BEyT-xKi.cjs.map → date-vWvu4M91.cjs.map} +1 -1
- package/dist/{dialog-kBWafGWT.d.cts → dialog-BHDL777e.d.ts} +12 -12
- package/dist/{dialog-BBODhbxh.cjs → dialog-Bd723gV6.cjs} +1 -1
- package/dist/dialog-Bd723gV6.cjs.map +1 -0
- package/dist/{dialog-JtlljVFY.d.ts → dialog-Dbdaspqo.d.cts} +12 -12
- package/dist/{dialog-BAlJ18xi.js → dialog-OTHc6G5i.js} +1 -1
- package/dist/dialog-OTHc6G5i.js.map +1 -0
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.js +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.d.cts +4 -4
- package/dist/dialogs/detail-dialog/component/sidebar.d.ts +3 -3
- package/dist/dialogs/detail-dialog/component/sidebar.js +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.js +1 -1
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.js +1 -1
- package/dist/dialogs/form-dialog.cjs +1 -1
- package/dist/dialogs/form-dialog.d.cts +2 -2
- package/dist/dialogs/form-dialog.d.ts +2 -2
- package/dist/dialogs/form-dialog.js +1 -1
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.js +1 -1
- package/dist/{drawer-BT0osH1O.js → drawer-C6IT7ONM.js} +1 -1
- package/dist/{drawer-BT0osH1O.js.map → drawer-C6IT7ONM.js.map} +1 -1
- package/dist/{drawer-C3vvvU_D.cjs → drawer-Dc432Nt9.cjs} +1 -1
- package/dist/{drawer-C3vvvU_D.cjs.map → drawer-Dc432Nt9.cjs.map} +1 -1
- package/dist/{dropdown-menu-DtEPAmMV.js → dropdown-menu-0CtZazkY.js} +1 -1
- package/dist/{dropdown-menu-DtEPAmMV.js.map → dropdown-menu-0CtZazkY.js.map} +1 -1
- package/dist/{dropdown-menu-Bb68Wd6J.cjs → dropdown-menu-C3SGlEd2.cjs} +1 -1
- package/dist/{dropdown-menu-Bb68Wd6J.cjs.map → dropdown-menu-C3SGlEd2.cjs.map} +1 -1
- package/dist/{error-dialog-DMGVy3dG.js → error-dialog-_FqKuIY6.js} +2 -2
- package/dist/{error-dialog-DMGVy3dG.js.map → error-dialog-_FqKuIY6.js.map} +1 -1
- package/dist/{error-dialog-BVTB1EEF.cjs → error-dialog-pTwyWIE5.cjs} +2 -2
- package/dist/{error-dialog-BVTB1EEF.cjs.map → error-dialog-pTwyWIE5.cjs.map} +1 -1
- package/dist/{field-A43YZ5Wj.cjs → field-B_qC62YD.cjs} +2 -2
- package/dist/{field-A43YZ5Wj.cjs.map → field-B_qC62YD.cjs.map} +1 -1
- package/dist/{field-CGacT8J3.js → field-DSScKMdZ.js} +2 -2
- package/dist/{field-CGacT8J3.js.map → field-DSScKMdZ.js.map} +1 -1
- package/dist/{flex-D6XrXRQW.js → flex-BJgsQWLI.js} +1 -1
- package/dist/{flex-D6XrXRQW.js.map → flex-BJgsQWLI.js.map} +1 -1
- package/dist/{flex-B4klVEz9.cjs → flex-DgmCJ9Bz.cjs} +1 -1
- package/dist/{flex-B4klVEz9.cjs.map → flex-DgmCJ9Bz.cjs.map} +1 -1
- package/dist/{form-B_tL9lO4.js → form-DbknMHac.js} +2 -2
- package/dist/{form-B_tL9lO4.js.map → form-DbknMHac.js.map} +1 -1
- package/dist/{form-DV9tQbiO.cjs → form-t4WaMbFV.cjs} +2 -2
- package/dist/{form-DV9tQbiO.cjs.map → form-t4WaMbFV.cjs.map} +1 -1
- package/dist/{form-wrapper-BYwaFsJd.js → form-wrapper-BbZebVv0.js} +2 -2
- package/dist/{form-wrapper-BYwaFsJd.js.map → form-wrapper-BbZebVv0.js.map} +1 -1
- package/dist/{form-wrapper-CODuD3w6.cjs → form-wrapper-DImTyC_E.cjs} +2 -2
- package/dist/{form-wrapper-CODuD3w6.cjs.map → form-wrapper-DImTyC_E.cjs.map} +1 -1
- package/dist/forms/combobox-field.cjs +1 -1
- package/dist/forms/combobox-field.d.ts +2 -2
- package/dist/forms/combobox-field.js +1 -1
- package/dist/forms/date-field.cjs +1 -1
- package/dist/forms/date-field.d.cts +2 -2
- package/dist/forms/date-field.d.ts +2 -2
- package/dist/forms/date-field.js +1 -1
- package/dist/forms/form-wrapper.cjs +1 -1
- package/dist/forms/form-wrapper.d.cts +2 -2
- package/dist/forms/form-wrapper.d.ts +2 -2
- package/dist/forms/form-wrapper.js +1 -1
- package/dist/forms/multi-select-field.cjs +1 -1
- package/dist/forms/multi-select-field.cjs.map +1 -1
- package/dist/forms/multi-select-field.d.cts +2 -2
- package/dist/forms/multi-select-field.d.ts +2 -2
- package/dist/forms/multi-select-field.js +1 -1
- package/dist/forms/number-field.cjs +1 -1
- package/dist/forms/number-field.d.cts +2 -2
- package/dist/forms/number-field.d.ts +2 -2
- package/dist/forms/number-field.js +1 -1
- package/dist/forms/password-field.cjs +1 -1
- package/dist/forms/password-field.d.cts +2 -2
- package/dist/forms/password-field.d.ts +2 -2
- package/dist/forms/password-field.js +1 -1
- package/dist/forms/select-field.cjs +1 -1
- package/dist/forms/select-field.d.cts +2 -2
- package/dist/forms/select-field.d.ts +2 -2
- package/dist/forms/select-field.js +1 -1
- package/dist/forms/switch-field.cjs +1 -1
- package/dist/forms/switch-field.d.cts +2 -2
- package/dist/forms/switch-field.d.ts +2 -2
- package/dist/forms/switch-field.js +1 -1
- package/dist/forms/text-field.cjs +1 -1
- package/dist/forms/text-field.d.cts +2 -2
- package/dist/forms/text-field.d.ts +2 -2
- package/dist/forms/text-field.js +1 -1
- package/dist/forms/textarea-field.cjs +1 -1
- package/dist/forms/textarea-field.d.cts +2 -2
- package/dist/forms/textarea-field.d.ts +2 -2
- package/dist/forms/textarea-field.js +1 -1
- package/dist/{input-BStypTnq.js → input-B-l6tT_9.js} +1 -1
- package/dist/{input-BStypTnq.js.map → input-B-l6tT_9.js.map} +1 -1
- package/dist/{input-Dmh4Wn9f.d.ts → input-C-dBPJHZ.d.ts} +3 -3
- package/dist/{input-Bxd1DBt6.d.cts → input-C29DSPln.d.cts} +3 -3
- package/dist/{input-D_tClptL.cjs → input-D7aXVX7j.cjs} +1 -1
- package/dist/{input-D_tClptL.cjs.map → input-D7aXVX7j.cjs.map} +1 -1
- package/dist/{label-D6mAvVmw.cjs → label-BMBHBFRY.cjs} +1 -1
- package/dist/{label-D6mAvVmw.cjs.map → label-BMBHBFRY.cjs.map} +1 -1
- package/dist/{label-CdrxlBJ8.js → label-CRhvNQY4.js} +1 -1
- package/dist/{label-CdrxlBJ8.js.map → label-CRhvNQY4.js.map} +1 -1
- package/dist/label-y7zRrP2w.d.cts +11 -0
- package/dist/layouts/app-layout/index.cjs +1 -1
- package/dist/layouts/app-layout/index.d.cts +28 -28
- package/dist/layouts/app-layout/index.d.ts +27 -27
- package/dist/layouts/app-layout/index.js +1 -1
- package/dist/layouts/flex.cjs +1 -1
- package/dist/layouts/flex.d.cts +2 -2
- package/dist/layouts/flex.d.ts +2 -2
- package/dist/layouts/flex.js +1 -1
- package/dist/layouts/service-layout/index.cjs +1 -1
- package/dist/layouts/service-layout/index.d.cts +13 -13
- package/dist/layouts/service-layout/index.d.ts +14 -14
- package/dist/layouts/service-layout/index.js +1 -1
- package/dist/layouts/service-layout/index.js.map +1 -1
- package/dist/{multi-select-Bqqk4Tiu.js → multi-select-CQdR0wzH.js} +2 -2
- package/dist/{multi-select-Bqqk4Tiu.js.map → multi-select-CQdR0wzH.js.map} +1 -1
- package/dist/{multi-select-DFaIxSYQ.cjs → multi-select-Dl54UfMM.cjs} +2 -2
- package/dist/{multi-select-DFaIxSYQ.cjs.map → multi-select-Dl54UfMM.cjs.map} +1 -1
- package/dist/{paragraph-B9fp9JaI.js → paragraph-BuE9WF5p.js} +1 -1
- package/dist/{paragraph-B9fp9JaI.js.map → paragraph-BuE9WF5p.js.map} +1 -1
- package/dist/{paragraph-Q7vk3BSp.cjs → paragraph-GYX6NlXZ.cjs} +1 -1
- package/dist/{paragraph-Q7vk3BSp.cjs.map → paragraph-GYX6NlXZ.cjs.map} +1 -1
- package/dist/{popover-D6vyPDKA.cjs → popover-DODAZTiX.cjs} +1 -1
- package/dist/{popover-D6vyPDKA.cjs.map → popover-DODAZTiX.cjs.map} +1 -1
- package/dist/{popover-BnzoeyDG.js → popover-l3a5exlI.js} +1 -1
- package/dist/{popover-BnzoeyDG.js.map → popover-l3a5exlI.js.map} +1 -1
- package/dist/products/add-cart-button.cjs +2 -0
- package/dist/products/add-cart-button.cjs.map +1 -0
- package/dist/products/add-cart-button.d.cts +48 -0
- package/dist/products/add-cart-button.d.ts +48 -0
- package/dist/products/add-cart-button.js +2 -0
- package/dist/products/add-cart-button.js.map +1 -0
- package/dist/products/product-loading-page.cjs +2 -0
- package/dist/products/product-loading-page.cjs.map +1 -0
- package/dist/products/product-loading-page.d.cts +9 -0
- package/dist/products/product-loading-page.d.ts +9 -0
- package/dist/products/product-loading-page.js +2 -0
- package/dist/products/product-loading-page.js.map +1 -0
- package/dist/products/product-quantity-control.cjs +1 -1
- package/dist/products/product-quantity-control.cjs.map +1 -1
- package/dist/products/product-quantity-control.d.cts +2 -2
- package/dist/products/product-quantity-control.d.ts +2 -2
- package/dist/products/product-quantity-control.js +1 -1
- package/dist/products/product-quantity-control.js.map +1 -1
- package/dist/{progress-BUlcGaLz.cjs → progress-D57hgs0G.cjs} +1 -1
- package/dist/{progress-BUlcGaLz.cjs.map → progress-D57hgs0G.cjs.map} +1 -1
- package/dist/{progress-DwLEMPaO.js → progress-DDifyTI1.js} +1 -1
- package/dist/{progress-DwLEMPaO.js.map → progress-DDifyTI1.js.map} +1 -1
- package/dist/{refresh-xkWxJ-m0.js → refresh-CNiYCRLZ.js} +2 -2
- package/dist/{refresh-xkWxJ-m0.js.map → refresh-CNiYCRLZ.js.map} +1 -1
- package/dist/{refresh-Be---CBQ.cjs → refresh-CfPFo89K.cjs} +2 -2
- package/dist/{refresh-Be---CBQ.cjs.map → refresh-CfPFo89K.cjs.map} +1 -1
- package/dist/{scroll-area-DFENklE1.js → scroll-area-CEVoMs6W.js} +1 -1
- package/dist/{scroll-area-DFENklE1.js.map → scroll-area-CEVoMs6W.js.map} +1 -1
- package/dist/{scroll-area-C_MkdpKg.cjs → scroll-area-CcLtG_m0.cjs} +1 -1
- package/dist/{scroll-area-C_MkdpKg.cjs.map → scroll-area-CcLtG_m0.cjs.map} +1 -1
- package/dist/{search-input-BI1RjMuQ.js → search-input-CMNLrUk0.js} +2 -2
- package/dist/{search-input-BI1RjMuQ.js.map → search-input-CMNLrUk0.js.map} +1 -1
- package/dist/{search-input-ryU0Mvaa.cjs → search-input-p1W5kb6R.cjs} +2 -2
- package/dist/{search-input-ryU0Mvaa.cjs.map → search-input-p1W5kb6R.cjs.map} +1 -1
- package/dist/{select-BD7dul2u.cjs → select-DfJYL2rL.cjs} +1 -1
- package/dist/{select-BD7dul2u.cjs.map → select-DfJYL2rL.cjs.map} +1 -1
- package/dist/{select-B8sXsuUI.js → select-czrPwYWJ.js} +1 -1
- package/dist/{select-B8sXsuUI.js.map → select-czrPwYWJ.js.map} +1 -1
- package/dist/{separator-DMMoR-d2.cjs → separator-BAyL2IIW.cjs} +1 -1
- package/dist/{separator-DMMoR-d2.cjs.map → separator-BAyL2IIW.cjs.map} +1 -1
- package/dist/{separator-C6Moqffa.d.cts → separator-BC_ytI76.d.ts} +3 -3
- package/dist/{separator-D2SRPIPb.d.ts → separator-BvLD0phP.d.cts} +1 -1
- package/dist/{separator-D17HxS2f.js → separator-C5dPRhYx.js} +1 -1
- package/dist/{separator-D17HxS2f.js.map → separator-C5dPRhYx.js.map} +1 -1
- package/dist/{sheet-Bua5MlcG.cjs → sheet-DueP7VvE.cjs} +1 -1
- package/dist/{sheet-Bua5MlcG.cjs.map → sheet-DueP7VvE.cjs.map} +1 -1
- package/dist/{sheet-BhyEuJtA.js → sheet-QlP3aQXc.js} +1 -1
- package/dist/{sheet-BhyEuJtA.js.map → sheet-QlP3aQXc.js.map} +1 -1
- package/dist/{sidebar-64G8kwkB.js → sidebar-9ODHuW8Q.js} +2 -2
- package/dist/{sidebar-64G8kwkB.js.map → sidebar-9ODHuW8Q.js.map} +1 -1
- package/dist/{sidebar-CyRoNNDp.cjs → sidebar-ChCtr6kn.cjs} +2 -2
- package/dist/{sidebar-CyRoNNDp.cjs.map → sidebar-ChCtr6kn.cjs.map} +1 -1
- package/dist/{switch-DwBg-iL4.js → switch-B5eIeKX7.js} +1 -1
- package/dist/{switch-DwBg-iL4.js.map → switch-B5eIeKX7.js.map} +1 -1
- package/dist/{switch-o_YbWKw4.cjs → switch-C6peIJVm.cjs} +1 -1
- package/dist/{switch-o_YbWKw4.cjs.map → switch-C6peIJVm.cjs.map} +1 -1
- package/dist/table/index.cjs +1 -1
- package/dist/table/index.cjs.map +1 -1
- package/dist/table/index.d.cts +2 -2
- package/dist/table/index.d.ts +2 -2
- package/dist/table/index.js +1 -1
- package/dist/{table-Cd75vfQ4.js → table-Co0GM3Ej.js} +1 -1
- package/dist/{table-Cd75vfQ4.js.map → table-Co0GM3Ej.js.map} +1 -1
- package/dist/{table-fp-VtGFA.cjs → table-DrocTqs4.cjs} +1 -1
- package/dist/{table-fp-VtGFA.cjs.map → table-DrocTqs4.cjs.map} +1 -1
- package/dist/{tabs-D7oadnxg.cjs → tabs-CtTEY1sg.cjs} +1 -1
- package/dist/{tabs-D7oadnxg.cjs.map → tabs-CtTEY1sg.cjs.map} +1 -1
- package/dist/{tabs-BVCzl3vY.js → tabs-DVHFEz9m.js} +1 -1
- package/dist/{tabs-BVCzl3vY.js.map → tabs-DVHFEz9m.js.map} +1 -1
- package/dist/{textarea-TGDtYde1.js → textarea-BVj6PCYB.js} +1 -1
- package/dist/{textarea-TGDtYde1.js.map → textarea-BVj6PCYB.js.map} +1 -1
- package/dist/{textarea-BHME8i5L.cjs → textarea-C3ZQALlB.cjs} +1 -1
- package/dist/{textarea-BHME8i5L.cjs.map → textarea-C3ZQALlB.cjs.map} +1 -1
- package/dist/{title-Zqs6skyV.js → title-B5WswPuk.js} +1 -1
- package/dist/{title-Zqs6skyV.js.map → title-B5WswPuk.js.map} +1 -1
- package/dist/{title-Wrzpw9RM.cjs → title-D6FYxJj1.cjs} +1 -1
- package/dist/{title-Wrzpw9RM.cjs.map → title-D6FYxJj1.cjs.map} +1 -1
- package/dist/{toggle-BPiYX50f.d.ts → toggle-CMYTXtd1.d.cts} +4 -4
- package/dist/{toggle-Dr5qQygc.d.cts → toggle-Mb-P3MuO.d.ts} +5 -5
- package/dist/{tooltip-BNynBa87.d.cts → tooltip-CX0O7o4v.d.cts} +6 -6
- package/dist/{tooltip-BTrjCwd8.js → tooltip-DHD6S-vH.js} +1 -1
- package/dist/{tooltip-BTrjCwd8.js.map → tooltip-DHD6S-vH.js.map} +1 -1
- package/dist/{tooltip-uaF-pxx8.cjs → tooltip-v0ikl3om.cjs} +1 -1
- package/dist/{tooltip-uaF-pxx8.cjs.map → tooltip-v0ikl3om.cjs.map} +1 -1
- package/dist/{types-BiiGENwa.js → types-BfVUsI26.js} +1 -1
- package/dist/{types-BiiGENwa.js.map → types-BfVUsI26.js.map} +1 -1
- package/dist/{types-D32qXHff.cjs → types-_t74BXO1.cjs} +1 -1
- package/dist/{types-D32qXHff.cjs.map → types-_t74BXO1.cjs.map} +1 -1
- package/dist/typography/paragraph.cjs +1 -1
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.ts +2 -2
- package/dist/typography/paragraph.js +1 -1
- package/dist/typography/title.cjs +1 -1
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.ts +2 -2
- package/dist/typography/title.js +1 -1
- package/dist/ui/alert-dialog.cjs +1 -1
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.ts +12 -12
- package/dist/ui/alert-dialog.js +1 -1
- package/dist/ui/alert.d.cts +7 -7
- package/dist/ui/alert.d.ts +7 -7
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/avatar.cjs +1 -1
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/avatar.js +1 -1
- package/dist/ui/badge.cjs +1 -1
- package/dist/ui/badge.d.cts +2 -2
- package/dist/ui/badge.d.ts +2 -2
- package/dist/ui/badge.js +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/button-group.cjs +1 -1
- package/dist/ui/button-group.d.cts +7 -7
- package/dist/ui/button-group.d.ts +5 -5
- package/dist/ui/button-group.js +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.js +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.js +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.ts +4 -4
- package/dist/ui/calendar.js +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.ts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.ts +7 -7
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +2 -2
- package/dist/ui/command.d.ts +2 -2
- package/dist/ui/command.js +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.ts +16 -16
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.ts +1 -1
- package/dist/ui/dialog.js +1 -1
- package/dist/ui/drawer.cjs +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.ts +11 -11
- package/dist/ui/drawer.js +1 -1
- package/dist/ui/dropdown-menu.cjs +1 -1
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/dropdown-menu.js +1 -1
- package/dist/ui/empty.d.cts +7 -7
- package/dist/ui/empty.d.ts +9 -9
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +14 -14
- package/dist/ui/field.d.ts +13 -13
- package/dist/ui/field.js +1 -1
- package/dist/ui/file-uploader.cjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.ts +2 -2
- package/dist/ui/file-uploader.js +1 -1
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/form.js +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.ts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input.cjs +1 -1
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.ts +1 -1
- package/dist/ui/input.js +1 -1
- package/dist/ui/inputs/search-input.cjs +1 -1
- package/dist/ui/inputs/search-input.d.cts +1 -1
- package/dist/ui/inputs/search-input.d.ts +1 -1
- package/dist/ui/inputs/search-input.js +1 -1
- package/dist/ui/item.cjs +1 -1
- package/dist/ui/item.d.cts +12 -12
- package/dist/ui/item.d.ts +1 -1
- package/dist/ui/item.js +1 -1
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +1 -1
- package/dist/ui/label.js +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.ts +2 -2
- package/dist/ui/multi-select.js +1 -1
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.ts +9 -9
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.ts +9 -9
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.d.cts +5 -5
- package/dist/ui/popover.d.ts +5 -5
- package/dist/ui/popover.js +1 -1
- package/dist/ui/progress.cjs +1 -1
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/progress.js +1 -1
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.ts +4 -4
- package/dist/ui/scroll-area.cjs +1 -1
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.ts +3 -3
- package/dist/ui/scroll-area.js +1 -1
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.ts +11 -11
- package/dist/ui/select.js +1 -1
- package/dist/ui/separator.cjs +1 -1
- package/dist/ui/separator.d.cts +1 -1
- package/dist/ui/separator.d.ts +1 -1
- package/dist/ui/separator.js +1 -1
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.ts +9 -9
- package/dist/ui/sheet.js +1 -1
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.ts +29 -29
- package/dist/ui/sidebar.js +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.ts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.ts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.ts +2 -2
- package/dist/ui/switch.cjs +1 -1
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/switch.js +1 -1
- package/dist/ui/table.cjs +1 -1
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/table.js +1 -1
- package/dist/ui/tabs.cjs +1 -1
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.ts +5 -5
- package/dist/ui/tabs.js +1 -1
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.ts +2 -2
- package/dist/ui/textarea.js +1 -1
- package/dist/ui/toggle-group.d.cts +4 -4
- package/dist/ui/toggle-group.d.ts +4 -4
- package/dist/ui/toggle.d.cts +1 -1
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/tooltip.cjs +1 -1
- package/dist/ui/tooltip.d.cts +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/package.json +9 -1
- package/dist/dialog-BAlJ18xi.js.map +0 -1
- package/dist/dialog-BBODhbxh.cjs.map +0 -1
- package/dist/label-DTWNKTQu.d.cts +0 -11
package/dist/ui/drawer.d.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
2
2
|
import { Drawer as Drawer$1 } from "vaul";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/drawer.d.ts
|
|
5
5
|
declare function Drawer({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Drawer$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime84.JSX.Element;
|
|
8
8
|
declare function DrawerTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Drawer$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime84.JSX.Element;
|
|
11
11
|
declare function DrawerPortal({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Drawer$1.Portal>):
|
|
13
|
+
}: React.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime84.JSX.Element;
|
|
14
14
|
declare function DrawerClose({
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Drawer$1.Close>):
|
|
16
|
+
}: React.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime84.JSX.Element;
|
|
17
17
|
declare function DrawerOverlay({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Drawer$1.Overlay>):
|
|
20
|
+
}: React.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime84.JSX.Element;
|
|
21
21
|
declare function DrawerContent({
|
|
22
22
|
className,
|
|
23
23
|
children,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<typeof Drawer$1.Content>):
|
|
25
|
+
}: React.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime84.JSX.Element;
|
|
26
26
|
declare function DrawerHeader({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'>):
|
|
29
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime84.JSX.Element;
|
|
30
30
|
declare function DrawerFooter({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime84.JSX.Element;
|
|
34
34
|
declare function DrawerTitle({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Drawer$1.Title>):
|
|
37
|
+
}: React.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime84.JSX.Element;
|
|
38
38
|
declare function DrawerDescription({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof Drawer$1.Description>):
|
|
41
|
+
}: React.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime84.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
44
44
|
//# sourceMappingURL=drawer.d.ts.map
|
package/dist/ui/drawer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{Drawer as e,DrawerClose as t,DrawerContent as n,DrawerDescription as r,DrawerFooter as i,DrawerHeader as a,DrawerOverlay as o,DrawerPortal as s,DrawerTitle as c,DrawerTrigger as l}from"../drawer-
|
|
1
|
+
"use client";import{Drawer as e,DrawerClose as t,DrawerContent as n,DrawerDescription as r,DrawerFooter as i,DrawerHeader as a,DrawerOverlay as o,DrawerPortal as s,DrawerTitle as c,DrawerTrigger as l}from"../drawer-C6IT7ONM.js";export{e as Drawer,t as DrawerClose,n as DrawerContent,r as DrawerDescription,i as DrawerFooter,a as DrawerHeader,o as DrawerOverlay,s as DrawerPortal,c as DrawerTitle,l as DrawerTrigger};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../dropdown-menu-
|
|
1
|
+
"use client";const e=require(`../dropdown-menu-C3SGlEd2.cjs`);exports.DropdownMenu=e.DropdownMenu,exports.DropdownMenuCheckboxItem=e.DropdownMenuCheckboxItem,exports.DropdownMenuContent=e.DropdownMenuContent,exports.DropdownMenuGroup=e.DropdownMenuGroup,exports.DropdownMenuItem=e.DropdownMenuItem,exports.DropdownMenuLabel=e.DropdownMenuLabel,exports.DropdownMenuPortal=e.DropdownMenuPortal,exports.DropdownMenuRadioGroup=e.DropdownMenuRadioGroup,exports.DropdownMenuRadioItem=e.DropdownMenuRadioItem,exports.DropdownMenuSeparator=e.DropdownMenuSeparator,exports.DropdownMenuShortcut=e.DropdownMenuShortcut,exports.DropdownMenuSub=e.DropdownMenuSub,exports.DropdownMenuSubContent=e.DropdownMenuSubContent,exports.DropdownMenuSubTrigger=e.DropdownMenuSubTrigger,exports.DropdownMenuTrigger=e.DropdownMenuTrigger;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
2
2
|
import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dropdown-menu.d.ts
|
|
5
5
|
declare function DropdownMenu({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime105.JSX.Element;
|
|
8
8
|
declare function DropdownMenuPortal({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Portal>):
|
|
10
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime105.JSX.Element;
|
|
11
11
|
declare function DropdownMenuTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>):
|
|
13
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime105.JSX.Element;
|
|
14
14
|
declare function DropdownMenuContent({
|
|
15
15
|
className,
|
|
16
16
|
sideOffset,
|
|
17
17
|
align,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Content>):
|
|
19
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime105.JSX.Element;
|
|
20
20
|
declare function DropdownMenuGroup({
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Group>):
|
|
22
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime105.JSX.Element;
|
|
23
23
|
declare function DropdownMenuItem({
|
|
24
24
|
className,
|
|
25
25
|
inset,
|
|
@@ -28,39 +28,39 @@ declare function DropdownMenuItem({
|
|
|
28
28
|
}: React.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
29
29
|
inset?: boolean;
|
|
30
30
|
variant?: 'default' | 'destructive';
|
|
31
|
-
}):
|
|
31
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
32
32
|
declare function DropdownMenuCheckboxItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
checked,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>):
|
|
37
|
+
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime105.JSX.Element;
|
|
38
38
|
declare function DropdownMenuRadioGroup({
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>):
|
|
40
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime105.JSX.Element;
|
|
41
41
|
declare function DropdownMenuRadioItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>):
|
|
45
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime105.JSX.Element;
|
|
46
46
|
declare function DropdownMenuLabel({
|
|
47
47
|
className,
|
|
48
48
|
inset,
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
51
51
|
inset?: boolean;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
53
53
|
declare function DropdownMenuSeparator({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Separator>):
|
|
56
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime105.JSX.Element;
|
|
57
57
|
declare function DropdownMenuShortcut({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<'span'>):
|
|
60
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime105.JSX.Element;
|
|
61
61
|
declare function DropdownMenuSub({
|
|
62
62
|
...props
|
|
63
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Sub>):
|
|
63
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime105.JSX.Element;
|
|
64
64
|
declare function DropdownMenuSubTrigger({
|
|
65
65
|
className,
|
|
66
66
|
inset,
|
|
@@ -68,11 +68,11 @@ declare function DropdownMenuSubTrigger({
|
|
|
68
68
|
...props
|
|
69
69
|
}: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
70
70
|
inset?: boolean;
|
|
71
|
-
}):
|
|
71
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
72
72
|
declare function DropdownMenuSubContent({
|
|
73
73
|
className,
|
|
74
74
|
...props
|
|
75
|
-
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>):
|
|
75
|
+
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime105.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
78
78
|
//# sourceMappingURL=dropdown-menu.d.cts.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime100 from "react/jsx-runtime";
|
|
2
2
|
import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dropdown-menu.d.ts
|
|
5
5
|
declare function DropdownMenu({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime100.JSX.Element;
|
|
8
8
|
declare function DropdownMenuPortal({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Portal>):
|
|
10
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime100.JSX.Element;
|
|
11
11
|
declare function DropdownMenuTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>):
|
|
13
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime100.JSX.Element;
|
|
14
14
|
declare function DropdownMenuContent({
|
|
15
15
|
className,
|
|
16
16
|
sideOffset,
|
|
17
17
|
align,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Content>):
|
|
19
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime100.JSX.Element;
|
|
20
20
|
declare function DropdownMenuGroup({
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Group>):
|
|
22
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime100.JSX.Element;
|
|
23
23
|
declare function DropdownMenuItem({
|
|
24
24
|
className,
|
|
25
25
|
inset,
|
|
@@ -28,39 +28,39 @@ declare function DropdownMenuItem({
|
|
|
28
28
|
}: React.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
29
29
|
inset?: boolean;
|
|
30
30
|
variant?: 'default' | 'destructive';
|
|
31
|
-
}):
|
|
31
|
+
}): react_jsx_runtime100.JSX.Element;
|
|
32
32
|
declare function DropdownMenuCheckboxItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
checked,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>):
|
|
37
|
+
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime100.JSX.Element;
|
|
38
38
|
declare function DropdownMenuRadioGroup({
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>):
|
|
40
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime100.JSX.Element;
|
|
41
41
|
declare function DropdownMenuRadioItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>):
|
|
45
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime100.JSX.Element;
|
|
46
46
|
declare function DropdownMenuLabel({
|
|
47
47
|
className,
|
|
48
48
|
inset,
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
51
51
|
inset?: boolean;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime100.JSX.Element;
|
|
53
53
|
declare function DropdownMenuSeparator({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Separator>):
|
|
56
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime100.JSX.Element;
|
|
57
57
|
declare function DropdownMenuShortcut({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<'span'>):
|
|
60
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime100.JSX.Element;
|
|
61
61
|
declare function DropdownMenuSub({
|
|
62
62
|
...props
|
|
63
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Sub>):
|
|
63
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime100.JSX.Element;
|
|
64
64
|
declare function DropdownMenuSubTrigger({
|
|
65
65
|
className,
|
|
66
66
|
inset,
|
|
@@ -68,11 +68,11 @@ declare function DropdownMenuSubTrigger({
|
|
|
68
68
|
...props
|
|
69
69
|
}: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
70
70
|
inset?: boolean;
|
|
71
|
-
}):
|
|
71
|
+
}): react_jsx_runtime100.JSX.Element;
|
|
72
72
|
declare function DropdownMenuSubContent({
|
|
73
73
|
className,
|
|
74
74
|
...props
|
|
75
|
-
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>):
|
|
75
|
+
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime100.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
78
78
|
//# sourceMappingURL=dropdown-menu.d.ts.map
|
package/dist/ui/dropdown-menu.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{DropdownMenu as e,DropdownMenuCheckboxItem as t,DropdownMenuContent as n,DropdownMenuGroup as r,DropdownMenuItem as i,DropdownMenuLabel as a,DropdownMenuPortal as o,DropdownMenuRadioGroup as s,DropdownMenuRadioItem as c,DropdownMenuSeparator as l,DropdownMenuShortcut as u,DropdownMenuSub as d,DropdownMenuSubContent as f,DropdownMenuSubTrigger as p,DropdownMenuTrigger as m}from"../dropdown-menu-
|
|
1
|
+
"use client";import{DropdownMenu as e,DropdownMenuCheckboxItem as t,DropdownMenuContent as n,DropdownMenuGroup as r,DropdownMenuItem as i,DropdownMenuLabel as a,DropdownMenuPortal as o,DropdownMenuRadioGroup as s,DropdownMenuRadioItem as c,DropdownMenuSeparator as l,DropdownMenuShortcut as u,DropdownMenuSub as d,DropdownMenuSubContent as f,DropdownMenuSubTrigger as p,DropdownMenuTrigger as m}from"../dropdown-menu-0CtZazkY.js";export{e as DropdownMenu,t as DropdownMenuCheckboxItem,n as DropdownMenuContent,r as DropdownMenuGroup,i as DropdownMenuItem,a as DropdownMenuLabel,o as DropdownMenuPortal,s as DropdownMenuRadioGroup,c as DropdownMenuRadioItem,l as DropdownMenuSeparator,u as DropdownMenuShortcut,d as DropdownMenuSub,f as DropdownMenuSubContent,p as DropdownMenuSubTrigger,m as DropdownMenuTrigger};
|
package/dist/ui/empty.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
2
2
|
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
@@ -6,11 +6,11 @@ import { VariantProps } from "class-variance-authority";
|
|
|
6
6
|
declare function Empty({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<'div'>):
|
|
9
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
10
10
|
declare function EmptyHeader({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<'div'>):
|
|
13
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
14
14
|
declare const emptyMediaVariants: (props?: ({
|
|
15
15
|
variant?: "default" | "icon" | null | undefined;
|
|
16
16
|
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
@@ -18,19 +18,19 @@ declare function EmptyMedia({
|
|
|
18
18
|
className,
|
|
19
19
|
variant,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>):
|
|
21
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime99.JSX.Element;
|
|
22
22
|
declare function EmptyTitle({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
26
26
|
declare function EmptyDescription({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'p'>):
|
|
29
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime99.JSX.Element;
|
|
30
30
|
declare function EmptyContent({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
36
36
|
//# sourceMappingURL=empty.d.cts.map
|
package/dist/ui/empty.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime144 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/empty.d.ts
|
|
6
6
|
declare function Empty({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<'div'>):
|
|
9
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime144.JSX.Element;
|
|
10
10
|
declare function EmptyHeader({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<'div'>):
|
|
13
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime144.JSX.Element;
|
|
14
14
|
declare const emptyMediaVariants: (props?: ({
|
|
15
15
|
variant?: "default" | "icon" | null | undefined;
|
|
16
|
-
} &
|
|
16
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
17
17
|
declare function EmptyMedia({
|
|
18
18
|
className,
|
|
19
19
|
variant,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>):
|
|
21
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime144.JSX.Element;
|
|
22
22
|
declare function EmptyTitle({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime144.JSX.Element;
|
|
26
26
|
declare function EmptyDescription({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'p'>):
|
|
29
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime144.JSX.Element;
|
|
30
30
|
declare function EmptyContent({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime144.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
36
36
|
//# sourceMappingURL=empty.d.ts.map
|
package/dist/ui/field.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../label-
|
|
1
|
+
"use client";require(`../label-BMBHBFRY.cjs`),require(`../separator-BAyL2IIW.cjs`);const e=require(`../field-B_qC62YD.cjs`);exports.Field=e.Field,exports.FieldContent=e.FieldContent,exports.FieldDescription=e.FieldDescription,exports.FieldError=e.FieldError,exports.FieldGroup=e.FieldGroup,exports.FieldLabel=e.FieldLabel,exports.FieldLegend=e.FieldLegend,exports.FieldSeparator=e.FieldSeparator,exports.FieldSet=e.FieldSet,exports.FieldTitle=e.FieldTitle;
|
package/dist/ui/field.d.cts
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { Label } from "../label-
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
1
|
+
import { Label } from "../label-y7zRrP2w.cjs";
|
|
2
|
+
import * as react_jsx_runtime136 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/field.d.ts
|
|
7
7
|
declare function FieldSet({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'fieldset'>):
|
|
10
|
+
}: React.ComponentProps<'fieldset'>): react_jsx_runtime136.JSX.Element;
|
|
11
11
|
declare function FieldLegend({
|
|
12
12
|
className,
|
|
13
13
|
variant,
|
|
14
14
|
...props
|
|
15
15
|
}: React.ComponentProps<'legend'> & {
|
|
16
16
|
variant?: 'legend' | 'label';
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime136.JSX.Element;
|
|
18
18
|
declare function FieldGroup({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<'div'>):
|
|
21
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime136.JSX.Element;
|
|
22
22
|
declare const fieldVariants: (props?: ({
|
|
23
23
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
24
|
-
} &
|
|
24
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
25
25
|
declare function Field({
|
|
26
26
|
className,
|
|
27
27
|
orientation,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>):
|
|
29
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>): react_jsx_runtime136.JSX.Element;
|
|
30
30
|
declare function FieldContent({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime136.JSX.Element;
|
|
34
34
|
declare function FieldLabel({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Label>):
|
|
37
|
+
}: React.ComponentProps<typeof Label>): react_jsx_runtime136.JSX.Element;
|
|
38
38
|
declare function FieldTitle({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'div'>):
|
|
41
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime136.JSX.Element;
|
|
42
42
|
declare function FieldDescription({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<'p'>):
|
|
45
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime136.JSX.Element;
|
|
46
46
|
declare function FieldSeparator({
|
|
47
47
|
children,
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<'div'> & {
|
|
51
51
|
children?: React.ReactNode;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime136.JSX.Element;
|
|
53
53
|
declare function FieldError({
|
|
54
54
|
className,
|
|
55
55
|
children,
|
|
@@ -59,7 +59,7 @@ declare function FieldError({
|
|
|
59
59
|
errors?: Array<{
|
|
60
60
|
message?: string;
|
|
61
61
|
} | undefined>;
|
|
62
|
-
}):
|
|
62
|
+
}): react_jsx_runtime136.JSX.Element | null;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
65
65
|
//# sourceMappingURL=field.d.cts.map
|
package/dist/ui/field.d.ts
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import { Label } from "../label-2SrK79Ib.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime119 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/field.d.ts
|
|
7
7
|
declare function FieldSet({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'fieldset'>):
|
|
10
|
+
}: React.ComponentProps<'fieldset'>): react_jsx_runtime119.JSX.Element;
|
|
11
11
|
declare function FieldLegend({
|
|
12
12
|
className,
|
|
13
13
|
variant,
|
|
14
14
|
...props
|
|
15
15
|
}: React.ComponentProps<'legend'> & {
|
|
16
16
|
variant?: 'legend' | 'label';
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime119.JSX.Element;
|
|
18
18
|
declare function FieldGroup({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<'div'>):
|
|
21
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
|
|
22
22
|
declare const fieldVariants: (props?: ({
|
|
23
23
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
24
|
-
} &
|
|
24
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
25
25
|
declare function Field({
|
|
26
26
|
className,
|
|
27
27
|
orientation,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>):
|
|
29
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>): react_jsx_runtime119.JSX.Element;
|
|
30
30
|
declare function FieldContent({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
|
|
34
34
|
declare function FieldLabel({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Label>):
|
|
37
|
+
}: React.ComponentProps<typeof Label>): react_jsx_runtime119.JSX.Element;
|
|
38
38
|
declare function FieldTitle({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'div'>):
|
|
41
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
|
|
42
42
|
declare function FieldDescription({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<'p'>):
|
|
45
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime119.JSX.Element;
|
|
46
46
|
declare function FieldSeparator({
|
|
47
47
|
children,
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<'div'> & {
|
|
51
51
|
children?: React.ReactNode;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime119.JSX.Element;
|
|
53
53
|
declare function FieldError({
|
|
54
54
|
className,
|
|
55
55
|
children,
|
|
@@ -59,7 +59,7 @@ declare function FieldError({
|
|
|
59
59
|
errors?: Array<{
|
|
60
60
|
message?: string;
|
|
61
61
|
} | undefined>;
|
|
62
|
-
}):
|
|
62
|
+
}): react_jsx_runtime119.JSX.Element | null;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
65
65
|
//# sourceMappingURL=field.d.ts.map
|
package/dist/ui/field.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../label-
|
|
1
|
+
"use client";import"../label-CRhvNQY4.js";import"../separator-C5dPRhYx.js";import{Field as e,FieldContent as t,FieldDescription as n,FieldError as r,FieldGroup as i,FieldLabel as a,FieldLegend as o,FieldSeparator as s,FieldSet as c,FieldTitle as l}from"../field-DSScKMdZ.js";export{e as Field,t as FieldContent,n as FieldDescription,r as FieldError,i as FieldGroup,a as FieldLabel,o as FieldLegend,s as FieldSeparator,c as FieldSet,l as FieldTitle};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-CUT6urMc.cjs`);require(`../dist-CAevLI5t.cjs`),require(`../button-variants-BHDyMRNh.cjs`);const t=require(`../button-BCahPWI8.cjs`),n=require(`../progress-
|
|
1
|
+
"use client";const e=require(`../chunk-CUT6urMc.cjs`);require(`../dist-CAevLI5t.cjs`),require(`../button-variants-BHDyMRNh.cjs`);const t=require(`../button-BCahPWI8.cjs`),n=require(`../progress-D57hgs0G.cjs`);let r=require(`lucide-react`);r=e.__toESM(r);let i=require(`@customafk/react-toolkit/utils`);i=e.__toESM(i);let a=require(`react`);a=e.__toESM(a);let o=require(`react/jsx-runtime`);o=e.__toESM(o);let s=require(`react-dropzone`);s=e.__toESM(s);let c=require(`@customafk/react-toolkit/hooks/useControllableState`);c=e.__toESM(c);let l=require(`sonner`);l=e.__toESM(l);function u(e){let{value:t,onValueChange:n,onUpload:u,progresses:p,accept:m={"image/*":[]},maxSize:h=1024*1024*2,maxFileCount:g=1,multiple:_=!1,disabled:v=!1,showText:y=!0,iconSize:b,className:x,...S}=e,[C,w]=(0,c.useControllableState)({prop:t,onChange:n}),T=(0,a.useCallback)((e,t)=>{if(!_&&g===1&&e.length>1){l.toast.error(`Cannot upload more than 1 file at a time`);return}if((C?.length??0)+e.length>g){l.toast.error(`Cannot upload more than ${g} files`);return}let n=e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})),r=C?[...C,...n]:n;if(w(r),t.length>0&&t.forEach(({file:e})=>{l.toast.error(`File ${e.name} was rejected`)}),u&&r.length>0&&r.length<=g){let e=r.length>0?`${r.length} files`:`file`;u(r).then(()=>{w([]),(0,l.toast)(`${e} uploaded`)})}},[C,g,_,u,w]);function E(e){if(!C)return;f(C[e])&&URL.revokeObjectURL(C[e].preview);let t=C.filter((t,n)=>n!==e);w(t),n?.(t)}(0,a.useEffect)(()=>()=>{C&&C.forEach(e=>{f(e)&&URL.revokeObjectURL(e.preview)})},[]);let D=v||(C?.length??0)>=g;return(0,o.jsxs)(`div`,{className:`relative flex w-full flex-col gap-6`,children:[(0,o.jsx)(s.default,{onDrop:T,accept:m,maxSize:h,maxFiles:g,multiple:g>1||_,disabled:D,children:({getRootProps:e,getInputProps:t,isDragActive:n})=>(0,o.jsxs)(`div`,{...e(),className:(0,i.cn)(`group`,`border-border-weak`,`hover:bg-border-weak/20`,`relative grid h-52 w-full cursor-pointer place-items-center rounded-lg border-2 border-dashed px-5 py-2.5 text-center transition`,`ring-offset-background`,`focus-visible:ring-primary-weak`,`focus-visible:ring-2`,`focus-visible:ring-offset-2`,`focus-visible:outline-hidden`,n&&`border-border-primary-strong bg-border-weak/40`,D&&`pointer-events-none opacity-60`,x),...S,children:[(0,o.jsx)(`input`,{...t()}),n?(0,o.jsxs)(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[(0,o.jsx)(`div`,{className:`rounded-full border border-dashed p-3`,children:(0,o.jsx)(r.Upload,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),(0,o.jsx)(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):(0,o.jsxs)(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[(0,o.jsx)(`div`,{className:`rounded-full border border-dashed p-3`,children:(0,o.jsx)(r.Upload,{size:b||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),y&&(0,o.jsxs)(`div`,{className:`flex flex-col gap-px`,children:[(0,o.jsxs)(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),(0,o.jsxs)(`p`,{className:`text-text-positive-muted text-xs`,children:[`You can upload`,g>1?` ${g===1/0?`multiple`:g}
|
|
2
2
|
files (up to ${(0,i.formatBytes)(h)} each)`:` a file with ${(0,i.formatBytes)(h)}`]})]})]})]})}),C?.length?(0,o.jsxs)(`div`,{className:`h-fit w-full overflow-y-auto`,children:[(0,o.jsxs)(`div`,{className:`flex items-center justify-between px-3 py-2.5`,children:[(0,o.jsxs)(`div`,{className:`text-text-positive-weak flex items-center gap-1`,children:[(0,o.jsx)(r.Image,{size:16,"aria-hidden":`true`}),(0,o.jsxs)(`p`,{className:`text-sm`,children:[`Ảnh đã tải lên (`,C.length,`)`]})]}),(0,o.jsxs)(`button`,{className:`hover:text-text-positive text-text-positive-muted flex cursor-pointer items-center gap-1 transition-colors duration-200`,onClick:()=>{C&&(C.forEach(e=>{f(e)&&URL.revokeObjectURL(e.preview)}),w([]),n?.([]))},children:[(0,o.jsx)(r.Trash2,{size:16,"aria-hidden":`true`}),(0,o.jsx)(`p`,{className:`text-sm`,children:`Xóa tất cả`})]})]}),(0,o.jsx)(`div`,{className:`flex flex-col gap-2.5`,children:C?.map((e,t)=>(0,o.jsx)(d,{file:e,onRemove:()=>E(t),progress:p?.[e.name]},t))})]}):null]})}function d({file:e,progress:a,onRemove:s}){return(0,o.jsxs)(`div`,{className:`border-border-weak hover:border-border relative flex items-center gap-4 rounded-md border py-2 pr-3 pl-2 shadow-xs transition-colors`,children:[(0,o.jsxs)(`div`,{className:`flex flex-1 gap-2.5`,children:[f(e)?(0,o.jsx)(p,{file:e}):null,(0,o.jsxs)(`div`,{className:`flex w-full flex-col gap-2`,children:[(0,o.jsxs)(`div`,{className:`flex flex-col gap-y-0.5`,children:[(0,o.jsx)(`p`,{className:`text-text-positive line-clamp-1 text-sm`,children:e.name}),(0,o.jsx)(`p`,{className:`text-text-positive-muted text-xs`,children:(0,i.formatBytes)(e.size)})]}),a?(0,o.jsx)(n.Progress,{value:a}):null]})]}),(0,o.jsx)(`div`,{className:`flex items-center gap-2`,children:(0,o.jsxs)(t.Button,{type:`button`,variant:`ghost`,color:`secondary`,size:`icon`,className:`size-7`,onClick:s,children:[(0,o.jsx)(r.Trash2,{size:16,className:`text-text-positive-muted`,"aria-hidden":`true`}),(0,o.jsx)(`span`,{className:`sr-only`,children:`Remove file`})]})})]})}function f(e){return`preview`in e&&typeof e.preview==`string`}function p({file:e}){return e.type.startsWith(`image/`)?(0,o.jsx)(`img`,{src:e.preview,className:`border-border aspect-square size-10 shrink-0 rounded border object-cover object-top shadow-sm`}):(0,o.jsx)(r.FileText,{className:`text-text-positive-muted size-10 border`,"aria-hidden":`true`})}exports.FileUploader=u;
|
|
3
3
|
//# sourceMappingURL=file-uploader.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime158 from "react/jsx-runtime";
|
|
2
2
|
import { DropzoneProps } from "react-dropzone";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/file-uploader.d.ts
|
|
@@ -72,7 +72,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
72
72
|
showText?: boolean;
|
|
73
73
|
iconSize?: number;
|
|
74
74
|
}
|
|
75
|
-
declare function FileUploader(props: FileUploaderProps):
|
|
75
|
+
declare function FileUploader(props: FileUploaderProps): react_jsx_runtime158.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { FileUploader };
|
|
78
78
|
//# sourceMappingURL=file-uploader.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime165 from "react/jsx-runtime";
|
|
2
2
|
import { DropzoneProps } from "react-dropzone";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/file-uploader.d.ts
|
|
@@ -72,7 +72,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
72
72
|
showText?: boolean;
|
|
73
73
|
iconSize?: number;
|
|
74
74
|
}
|
|
75
|
-
declare function FileUploader(props: FileUploaderProps):
|
|
75
|
+
declare function FileUploader(props: FileUploaderProps): react_jsx_runtime165.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { FileUploader };
|
|
78
78
|
//# sourceMappingURL=file-uploader.d.ts.map
|
package/dist/ui/file-uploader.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use client";import"../dist-BgkALM7U.js";import"../button-variants-aFWCWUvu.js";import{Button as e}from"../button-CriBqo8S.js";import{Progress as t}from"../progress-
|
|
1
|
+
"use client";import"../dist-BgkALM7U.js";import"../button-variants-aFWCWUvu.js";import{Button as e}from"../button-CriBqo8S.js";import{Progress as t}from"../progress-DDifyTI1.js";import{FileText as n,Image as r,Trash2 as i,Upload as a}from"lucide-react";import{cn as o,formatBytes as s}from"@customafk/react-toolkit/utils";import{useCallback as c,useEffect as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";import f from"react-dropzone";import{useControllableState as p}from"@customafk/react-toolkit/hooks/useControllableState";import{toast as m}from"sonner";function h(e){let{value:t,onValueChange:n,onUpload:h,progresses:v,accept:y={"image/*":[]},maxSize:b=1024*1024*2,maxFileCount:x=1,multiple:S=!1,disabled:C=!1,showText:w=!0,iconSize:T,className:E,...D}=e,[O,k]=p({prop:t,onChange:n}),A=c((e,t)=>{if(!S&&x===1&&e.length>1){m.error(`Cannot upload more than 1 file at a time`);return}if((O?.length??0)+e.length>x){m.error(`Cannot upload more than ${x} files`);return}let n=e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})),r=O?[...O,...n]:n;if(k(r),t.length>0&&t.forEach(({file:e})=>{m.error(`File ${e.name} was rejected`)}),h&&r.length>0&&r.length<=x){let e=r.length>0?`${r.length} files`:`file`;h(r).then(()=>{k([]),m(`${e} uploaded`)})}},[O,x,S,h,k]);function j(e){if(!O)return;_(O[e])&&URL.revokeObjectURL(O[e].preview);let t=O.filter((t,n)=>n!==e);k(t),n?.(t)}l(()=>()=>{O&&O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)})},[]);let M=C||(O?.length??0)>=x;return d(`div`,{className:`relative flex w-full flex-col gap-6`,children:[u(f,{onDrop:A,accept:y,maxSize:b,maxFiles:x,multiple:x>1||S,disabled:M,children:({getRootProps:e,getInputProps:t,isDragActive:n})=>d(`div`,{...e(),className:o(`group`,`border-border-weak`,`hover:bg-border-weak/20`,`relative grid h-52 w-full cursor-pointer place-items-center rounded-lg border-2 border-dashed px-5 py-2.5 text-center transition`,`ring-offset-background`,`focus-visible:ring-primary-weak`,`focus-visible:ring-2`,`focus-visible:ring-offset-2`,`focus-visible:outline-hidden`,n&&`border-border-primary-strong bg-border-weak/40`,M&&`pointer-events-none opacity-60`,E),...D,children:[u(`input`,{...t()}),n?d(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[u(`div`,{className:`rounded-full border border-dashed p-3`,children:u(a,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),u(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):d(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[u(`div`,{className:`rounded-full border border-dashed p-3`,children:u(a,{size:T||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),w&&d(`div`,{className:`flex flex-col gap-px`,children:[d(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),d(`p`,{className:`text-text-positive-muted text-xs`,children:[`You can upload`,x>1?` ${x===1/0?`multiple`:x}
|
|
2
2
|
files (up to ${s(b)} each)`:` a file with ${s(b)}`]})]})]})]})}),O?.length?d(`div`,{className:`h-fit w-full overflow-y-auto`,children:[d(`div`,{className:`flex items-center justify-between px-3 py-2.5`,children:[d(`div`,{className:`text-text-positive-weak flex items-center gap-1`,children:[u(r,{size:16,"aria-hidden":`true`}),d(`p`,{className:`text-sm`,children:[`Ảnh đã tải lên (`,O.length,`)`]})]}),d(`button`,{className:`hover:text-text-positive text-text-positive-muted flex cursor-pointer items-center gap-1 transition-colors duration-200`,onClick:()=>{O&&(O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)}),k([]),n?.([]))},children:[u(i,{size:16,"aria-hidden":`true`}),u(`p`,{className:`text-sm`,children:`Xóa tất cả`})]})]}),u(`div`,{className:`flex flex-col gap-2.5`,children:O?.map((e,t)=>u(g,{file:e,onRemove:()=>j(t),progress:v?.[e.name]},t))})]}):null]})}function g({file:n,progress:r,onRemove:a}){return d(`div`,{className:`border-border-weak hover:border-border relative flex items-center gap-4 rounded-md border py-2 pr-3 pl-2 shadow-xs transition-colors`,children:[d(`div`,{className:`flex flex-1 gap-2.5`,children:[_(n)?u(v,{file:n}):null,d(`div`,{className:`flex w-full flex-col gap-2`,children:[d(`div`,{className:`flex flex-col gap-y-0.5`,children:[u(`p`,{className:`text-text-positive line-clamp-1 text-sm`,children:n.name}),u(`p`,{className:`text-text-positive-muted text-xs`,children:s(n.size)})]}),r?u(t,{value:r}):null]})]}),u(`div`,{className:`flex items-center gap-2`,children:d(e,{type:`button`,variant:`ghost`,color:`secondary`,size:`icon`,className:`size-7`,onClick:a,children:[u(i,{size:16,className:`text-text-positive-muted`,"aria-hidden":`true`}),u(`span`,{className:`sr-only`,children:`Remove file`})]})})]})}function _(e){return`preview`in e&&typeof e.preview==`string`}function v({file:e}){return e.type.startsWith(`image/`)?u(`img`,{src:e.preview,className:`border-border aspect-square size-10 shrink-0 rounded border object-cover object-top shadow-sm`}):u(n,{className:`text-text-positive-muted size-10 border`,"aria-hidden":`true`})}export{h as FileUploader};
|
|
3
3
|
//# sourceMappingURL=file-uploader.js.map
|
package/dist/ui/form.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../label-
|
|
1
|
+
"use client";require(`../label-BMBHBFRY.cjs`),require(`../separator-BAyL2IIW.cjs`),require(`../field-B_qC62YD.cjs`);const e=require(`../form-t4WaMbFV.cjs`);exports.Form=e.Form,exports.FormControl=e.FormControl,exports.FormDescription=e.FormDescription,exports.FormField=e.FormField,exports.FormItem=e.FormItem,exports.FormLabel=e.FormLabel,exports.FormMessage=e.FormMessage,exports.useFormField=e.useFormField;
|