@customafk/lunas-ui 0.0.28 → 0.0.30
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-B44gmXH4.js +2 -0
- package/dist/add-new-B44gmXH4.js.map +1 -0
- package/dist/add-new-D9PgI4z-.cjs +2 -0
- package/dist/add-new-D9PgI4z-.cjs.map +1 -0
- package/dist/{alert-dialog-26JyobJb.cjs → alert-dialog-DTGhE9eE.cjs} +2 -2
- package/dist/{alert-dialog-26JyobJb.cjs.map → alert-dialog-DTGhE9eE.cjs.map} +1 -1
- package/dist/{alert-dialog-Dv0cgymS.js → alert-dialog-Dj-AZiuo.js} +2 -2
- package/dist/{alert-dialog-Dv0cgymS.js.map → alert-dialog-Dj-AZiuo.js.map} +1 -1
- package/dist/{badge-D4NxkKeN.cjs → badge-DHRQ-uwY.cjs} +1 -1
- package/dist/{badge-D4NxkKeN.cjs.map → badge-DHRQ-uwY.cjs.map} +1 -1
- package/dist/{badge-DzKUgC8v.js → badge-bLqn3EB9.js} +1 -1
- package/dist/{badge-DzKUgC8v.js.map → badge-bLqn3EB9.js.map} +1 -1
- package/dist/{button-CPBLm_02.d.ts → button-BGdpEKfJ.d.cts} +5 -5
- package/dist/{button-CnMfXTBU.js → button-Bvj7CJrA.js} +2 -2
- package/dist/{button-CnMfXTBU.js.map → button-Bvj7CJrA.js.map} +1 -1
- package/dist/{button-ghXW1WTr.d.cts → button-CcHoaGqq.d.ts} +5 -5
- package/dist/{button-BSGNpclh.cjs → button-CrbbsPfF.cjs} +2 -2
- package/dist/{button-BSGNpclh.cjs.map → button-CrbbsPfF.cjs.map} +1 -1
- package/dist/{calendar-B66UT_fu.js → calendar-D9fvi_0R.js} +2 -2
- package/dist/{calendar-B66UT_fu.js.map → calendar-D9fvi_0R.js.map} +1 -1
- package/dist/{calendar-DXegnGRJ.cjs → calendar-quj5auud.cjs} +2 -2
- package/dist/{calendar-DXegnGRJ.cjs.map → calendar-quj5auud.cjs.map} +1 -1
- package/dist/{command-CE_Qcgo7.d.ts → command-C2l3hJPZ.d.ts} +12 -12
- package/dist/{command-Dbkg10QA.js → command-CISAX79b.js} +2 -2
- package/dist/{command-Dbkg10QA.js.map → command-CISAX79b.js.map} +1 -1
- package/dist/{command-CiEjoEnP.d.cts → command-Cnlve_5K.d.cts} +12 -12
- package/dist/{command-IL3ogESu.cjs → command-EoZTr9rZ.cjs} +2 -2
- package/dist/{command-IL3ogESu.cjs.map → command-EoZTr9rZ.cjs.map} +1 -1
- 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/{date-BMq_DNsv.js → date-B1g1OMYc.js} +1 -1
- package/dist/{date-BMq_DNsv.js.map → date-B1g1OMYc.js.map} +1 -1
- package/dist/{date-nd8WkPlx.cjs → date-Cw6Jf7k6.cjs} +1 -1
- package/dist/{date-nd8WkPlx.cjs.map → date-Cw6Jf7k6.cjs.map} +1 -1
- package/dist/{dialog-Bw_T5aco.d.cts → dialog-C-DYoapJ.d.ts} +12 -12
- package/dist/{dialog-C4oHnJNN.cjs → dialog-DC692QO6.cjs} +2 -2
- package/dist/{dialog-C4oHnJNN.cjs.map → dialog-DC692QO6.cjs.map} +1 -1
- package/dist/{dialog-CoH1pTBH.d.ts → dialog-DI0dG1nN.d.cts} +12 -12
- package/dist/{dialog-BEdMA5Lp.js → dialog-DRy8_ncT.js} +2 -2
- package/dist/{dialog-BEdMA5Lp.js.map → dialog-DRy8_ncT.js.map} +1 -1
- 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 +4 -4
- 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.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/{dropdown-menu-D5uG4HZA.js → dropdown-menu-D7EGmhwP.js} +2 -2
- package/dist/{dropdown-menu-D5uG4HZA.js.map → dropdown-menu-D7EGmhwP.js.map} +1 -1
- package/dist/{dropdown-menu-BnfaOPEM.cjs → dropdown-menu-DAKBQ6Kb.cjs} +2 -2
- package/dist/{dropdown-menu-BnfaOPEM.cjs.map → dropdown-menu-DAKBQ6Kb.cjs.map} +1 -1
- package/dist/{error-dialog-C0PDn-pj.cjs → error-dialog-CIjefl0s.cjs} +2 -2
- package/dist/{error-dialog-C0PDn-pj.cjs.map → error-dialog-CIjefl0s.cjs.map} +1 -1
- package/dist/{error-dialog-CCdQ8zbQ.js → error-dialog-CNl7iWC2.js} +2 -2
- package/dist/{error-dialog-CCdQ8zbQ.js.map → error-dialog-CNl7iWC2.js.map} +1 -1
- package/dist/{flex-CNA_SId-.cjs → flex-B5MQmxX8.cjs} +1 -1
- package/dist/{flex-CNA_SId-.cjs.map → flex-B5MQmxX8.cjs.map} +1 -1
- package/dist/{flex-ILvQrYMJ.js → flex-CBAzUoXK.js} +1 -1
- package/dist/{flex-ILvQrYMJ.js.map → flex-CBAzUoXK.js.map} +1 -1
- package/dist/{form-CHs85hm6.cjs → form-D13wOyun.cjs} +2 -2
- package/dist/{form-CHs85hm6.cjs.map → form-D13wOyun.cjs.map} +1 -1
- package/dist/{form-tabDlutX.js → form-DZqGhxta.js} +2 -2
- package/dist/{form-tabDlutX.js.map → form-DZqGhxta.js.map} +1 -1
- package/dist/{form-wrapper-Cd8c5MIL.cjs → form-wrapper-BBWW9lmj.cjs} +2 -2
- package/dist/{form-wrapper-Cd8c5MIL.cjs.map → form-wrapper-BBWW9lmj.cjs.map} +1 -1
- package/dist/{form-wrapper-DntbFqN1.js → form-wrapper-BoiiM9r2.js} +2 -2
- package/dist/{form-wrapper-DntbFqN1.js.map → form-wrapper-BoiiM9r2.js.map} +1 -1
- package/dist/forms/combobox-field.cjs +1 -1
- package/dist/forms/combobox-field.d.cts +2 -2
- 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.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--6vqz8UI.js → input-BJeCqZVs.js} +1 -1
- package/dist/{input--6vqz8UI.js.map → input-BJeCqZVs.js.map} +1 -1
- package/dist/{input-VZiryzkl.cjs → input-Cv7gHIMB.cjs} +1 -1
- package/dist/{input-VZiryzkl.cjs.map → input-Cv7gHIMB.cjs.map} +1 -1
- package/dist/{input-CUDclgoU.d.ts → input-I0UFVeRe.d.cts} +2 -2
- package/dist/{input-y_n-XGys.d.cts → input-ixyBDLIa.d.ts} +3 -3
- package/dist/{label-B_2ZQn0X.cjs → label-CW94D639.cjs} +1 -1
- package/dist/{label-B_2ZQn0X.cjs.map → label-CW94D639.cjs.map} +1 -1
- package/dist/{label-D1XmKlc3.js → label-DuddAB1p.js} +1 -1
- package/dist/{label-D1XmKlc3.js.map → label-DuddAB1p.js.map} +1 -1
- package/dist/layouts/app-layout/index.cjs +1 -1
- package/dist/layouts/app-layout/index.cjs.map +1 -1
- package/dist/layouts/app-layout/index.d.cts +146 -7
- package/dist/layouts/app-layout/index.d.ts +148 -9
- package/dist/layouts/app-layout/index.js +1 -1
- package/dist/layouts/app-layout/index.js.map +1 -1
- package/dist/layouts/flex.cjs +1 -1
- package/dist/layouts/flex.d.ts +2 -2
- package/dist/layouts/flex.js +1 -1
- package/dist/layouts/main/index.cjs +1 -1
- package/dist/layouts/main/index.cjs.map +1 -1
- package/dist/layouts/main/index.d.cts +4 -4
- package/dist/layouts/main/index.d.ts +4 -4
- package/dist/layouts/main/index.js +1 -1
- package/dist/{multi-select-Cb07NlA7.js → multi-select-CslsZ7yw.js} +2 -2
- package/dist/{multi-select-Cb07NlA7.js.map → multi-select-CslsZ7yw.js.map} +1 -1
- package/dist/{multi-select-3yxD9gbY.cjs → multi-select-Djn-5l_V.cjs} +2 -2
- package/dist/{multi-select-3yxD9gbY.cjs.map → multi-select-Djn-5l_V.cjs.map} +1 -1
- package/dist/{paragraph-B4cQhLhW.js → paragraph-C0KfolV0.js} +1 -1
- package/dist/{paragraph-B4cQhLhW.js.map → paragraph-C0KfolV0.js.map} +1 -1
- package/dist/{paragraph-DcRBcRhQ.cjs → paragraph-JXci2Ihg.cjs} +1 -1
- package/dist/{paragraph-DcRBcRhQ.cjs.map → paragraph-JXci2Ihg.cjs.map} +1 -1
- package/dist/{popover-Dd0acCEk.cjs → popover-ByzBl1kH.cjs} +1 -1
- package/dist/{popover-Dd0acCEk.cjs.map → popover-ByzBl1kH.cjs.map} +1 -1
- package/dist/{popover-CqAD7HNo.js → popover-DyoAfuhi.js} +1 -1
- package/dist/{popover-CqAD7HNo.js.map → popover-DyoAfuhi.js.map} +1 -1
- package/dist/refresh-BeUSiOSY.js +2 -0
- package/dist/refresh-BeUSiOSY.js.map +1 -0
- package/dist/refresh-CqZky9T5.cjs +2 -0
- package/dist/refresh-CqZky9T5.cjs.map +1 -0
- package/dist/{search-input-DqcwkgsY.js → search-input-DG3ivvbv.js} +2 -2
- package/dist/{search-input-DqcwkgsY.js.map → search-input-DG3ivvbv.js.map} +1 -1
- package/dist/{search-input-yweS9EMM.cjs → search-input-Donhb2DT.cjs} +2 -2
- package/dist/{search-input-yweS9EMM.cjs.map → search-input-Donhb2DT.cjs.map} +1 -1
- package/dist/{select-BHjk6yT3.cjs → select-C0ZL0jnr.cjs} +2 -2
- package/dist/{select-BHjk6yT3.cjs.map → select-C0ZL0jnr.cjs.map} +1 -1
- package/dist/{select-C6N3CXuY.js → select-D8FXzl09.js} +2 -2
- package/dist/{select-C6N3CXuY.js.map → select-D8FXzl09.js.map} +1 -1
- package/dist/{separator-BLYi41aC.d.ts → separator-CW0zOdc9.d.ts} +3 -3
- package/dist/{separator-ClGBPiYE.d.cts → separator-DHBhn7Y8.d.cts} +3 -3
- package/dist/{sheet-DqPtcv9H.js → sheet-7EAzHejw.js} +2 -2
- package/dist/{sheet-DqPtcv9H.js.map → sheet-7EAzHejw.js.map} +1 -1
- package/dist/{sheet-CX3PajAc.cjs → sheet-C1xD7y3c.cjs} +2 -2
- package/dist/{sheet-CX3PajAc.cjs.map → sheet-C1xD7y3c.cjs.map} +1 -1
- package/dist/{sidebar-DWuOHlvn.cjs → sidebar-B5wjGpGo.cjs} +2 -2
- package/dist/{sidebar-DWuOHlvn.cjs.map → sidebar-B5wjGpGo.cjs.map} +1 -1
- package/dist/{sidebar-BbcOcECD.cjs → sidebar-CU17j7pR.cjs} +2 -2
- package/dist/{sidebar-BbcOcECD.cjs.map → sidebar-CU17j7pR.cjs.map} +1 -1
- package/dist/{sidebar-CospqUDX.js → sidebar-CeON7EMu.js} +2 -2
- package/dist/{sidebar-CospqUDX.js.map → sidebar-CeON7EMu.js.map} +1 -1
- package/dist/{sidebar-BDDG3PeD.js → sidebar-jBc9MX3P.js} +2 -2
- package/dist/{sidebar-BDDG3PeD.js.map → sidebar-jBc9MX3P.js.map} +1 -1
- package/dist/{switch-965kHdW_.js → switch-B9LmV-PS.js} +1 -1
- package/dist/{switch-965kHdW_.js.map → switch-B9LmV-PS.js.map} +1 -1
- package/dist/{switch-C3igCoxt.cjs → switch-bfoTi9s3.cjs} +1 -1
- package/dist/{switch-C3igCoxt.cjs.map → switch-bfoTi9s3.cjs.map} +1 -1
- package/dist/table/index.cjs +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/{textarea-CQ6gAnm5.js → textarea-C20eiWs-.js} +1 -1
- package/dist/{textarea-CQ6gAnm5.js.map → textarea-C20eiWs-.js.map} +1 -1
- package/dist/{textarea-3XRFTUZ8.cjs → textarea-D6-c1GVU.cjs} +1 -1
- package/dist/{textarea-3XRFTUZ8.cjs.map → textarea-D6-c1GVU.cjs.map} +1 -1
- package/dist/{toggle-A6eGkFij.js → toggle-BNtw9z70.js} +2 -2
- package/dist/{toggle-A6eGkFij.js.map → toggle-BNtw9z70.js.map} +1 -1
- package/dist/{toggle-DnGvFJh8.d.cts → toggle-DvJddJPj.d.cts} +3 -3
- package/dist/{toggle-BWQWsKMA.d.ts → toggle-Xkrjwemb.d.ts} +6 -6
- package/dist/{toggle-B7nXBZ9r.cjs → toggle-eio6M2Fc.cjs} +2 -2
- package/dist/{toggle-B7nXBZ9r.cjs.map → toggle-eio6M2Fc.cjs.map} +1 -1
- package/dist/{tooltip-Bk8VwHdM.d.ts → tooltip-Bt6pSZ4o.d.ts} +6 -6
- package/dist/{tooltip-DLnAwybV.cjs → tooltip-Ci6WUOcz.cjs} +1 -1
- package/dist/{tooltip-DLnAwybV.cjs.map → tooltip-Ci6WUOcz.cjs.map} +1 -1
- package/dist/{tooltip-cisSpCHG.d.cts → tooltip-D3FsnWny.d.cts} +6 -6
- package/dist/{tooltip-B8KdfOeT.js → tooltip-DkB0gnp9.js} +1 -1
- package/dist/{tooltip-B8KdfOeT.js.map → tooltip-DkB0gnp9.js.map} +1 -1
- package/dist/{types-DaIHddx7.js → types-BVNbk1ZN.js} +1 -1
- package/dist/{types-DaIHddx7.js.map → types-BVNbk1ZN.js.map} +1 -1
- package/dist/{types-CrbWxjnp.cjs → types-CnMfjcgO.cjs} +1 -1
- package/dist/{types-CrbWxjnp.cjs.map → types-CnMfjcgO.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.d.cts +2 -2
- package/dist/typography/title.d.ts +2 -2
- 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 +6 -6
- package/dist/ui/alert.d.ts +6 -6
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/badge.cjs +1 -1
- package/dist/ui/badge.d.cts +2 -2
- package/dist/ui/badge.d.ts +4 -4
- package/dist/ui/badge.js +1 -1
- package/dist/ui/breadcrumb.cjs +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/breadcrumb.js +1 -1
- package/dist/ui/button.cjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/button.js +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.js +1 -1
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.cjs.map +1 -1
- package/dist/ui/buttons/edit.js +1 -1
- package/dist/ui/buttons/edit.js.map +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.js +1 -1
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.cjs.map +1 -1
- package/dist/ui/buttons/trash.js +1 -1
- package/dist/ui/buttons/trash.js.map +1 -1
- package/dist/ui/buttons/upload-image.cjs +1 -1
- package/dist/ui/buttons/upload-image.cjs.map +1 -1
- package/dist/ui/buttons/upload-image.js +1 -1
- package/dist/ui/buttons/upload-image.js.map +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.cjs +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.ts +7 -7
- package/dist/ui/carousel.js +1 -1
- 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.cjs +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.ts +16 -16
- package/dist/ui/context-menu.js +1 -1
- 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/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/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-otp.d.ts +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 +3 -3
- package/dist/ui/inputs/search-input.d.ts +3 -3
- package/dist/ui/inputs/search-input.js +1 -1
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/label.js +1 -1
- package/dist/ui/menubar.cjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/menubar.js +1 -1
- 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.cjs +1 -1
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.ts +11 -11
- package/dist/ui/navigation-menu.js +1 -1
- package/dist/ui/pagination.cjs +1 -1
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.ts +9 -9
- package/dist/ui/pagination.js +1 -1
- 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.d.cts +2 -2
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/radio-group.js +1 -1
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.ts +4 -4
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.ts +3 -3
- 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.d.cts +1 -1
- package/dist/ui/separator.d.ts +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 +30 -30
- 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/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.d.cts +9 -9
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.ts +5 -5
- 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.cjs +1 -1
- package/dist/ui/toggle-group.d.cts +4 -4
- package/dist/ui/toggle-group.d.ts +5 -5
- package/dist/ui/toggle-group.js +1 -1
- package/dist/ui/toggle.cjs +1 -1
- package/dist/ui/toggle.d.cts +1 -1
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/toggle.js +1 -1
- package/dist/ui/tooltip.cjs +1 -1
- package/dist/ui/tooltip.d.cts +1 -1
- package/dist/ui/tooltip.d.ts +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/package.json +1 -1
- package/styles/base.css +1 -1
- package/styles/loader.css +1 -69
- package/dist/add-new-CVQQRkB9.js +0 -2
- package/dist/add-new-CVQQRkB9.js.map +0 -1
- package/dist/add-new-CmzfSaTJ.cjs +0 -2
- package/dist/add-new-CmzfSaTJ.cjs.map +0 -1
- package/dist/refresh-CYCzbKVl.js +0 -2
- package/dist/refresh-CYCzbKVl.js.map +0 -1
- package/dist/refresh-DMj_wur3.cjs +0 -2
- package/dist/refresh-DMj_wur3.cjs.map +0 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime122 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_runtime122.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_runtime122.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_runtime122.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_runtime122.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_runtime122.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_runtime122.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_runtime122.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_runtime122.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_runtime122.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_runtime122.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_runtime122.JSX.Element;
|
|
57
57
|
declare function DropdownMenuShortcut({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<'span'>):
|
|
60
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime122.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_runtime122.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_runtime122.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_runtime122.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"../utils-D9AH0PUV.js";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"../utils-D9AH0PUV.js";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-D7EGmhwP.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};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-CUT6urMc.cjs`),t=require(`../utils-BsjVK5EW.cjs`),n=require(`../button-
|
|
1
|
+
"use client";const e=require(`../chunk-CUT6urMc.cjs`),t=require(`../utils-BsjVK5EW.cjs`),n=require(`../button-CrbbsPfF.cjs`),r=require(`../progress-DLxh7x1P.cjs`),i=e.__toESM(require(`react`)),a=e.__toESM(require(`react/jsx-runtime`)),o=e.__toESM(require(`lucide-react`)),s=e.__toESM(require(`react-dropzone`)),c=e.__toESM(require(`sonner`));function l(e){let t=i.default.useRef(e);return i.default.useEffect(()=>{t.current=e}),i.default.useMemo(()=>((...e)=>t.current?.(...e)),[])}function u({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,a]=d({defaultProp:t,onChange:n}),o=e!==void 0,s=o?e:r,c=l(n),u=i.default.useCallback(t=>{if(o){let n=t,r=typeof t==`function`?n(e):t;r!==e&&c(r)}else a(t)},[o,e,a,c]);return[s,u]}function d({defaultProp:e,onChange:t}){let n=i.default.useState(e),[r]=n,a=i.default.useRef(r),o=l(t);return i.default.useEffect(()=>{a.current!==r&&(o(r),a.current=r)},[r,a,o]),n}function f(e){let{value:n,onValueChange:r,onUpload:l,progresses:d,accept:f={"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]=u({prop:n,onChange:r}),T=i.default.useCallback((e,t)=>{if(!_&&g===1&&e.length>1){c.toast.error(`Cannot upload more than 1 file at a time`);return}if((C?.length??0)+e.length>g){c.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})=>{c.toast.error(`File ${e.name} was rejected`)}),l&&r.length>0&&r.length<=g){let e=r.length>0?`${r.length} files`:`file`;l(r).then(()=>{w([]),(0,c.toast)(`${e} uploaded`)})}},[C,g,_,l,w]);function E(e){if(!C)return;m(C[e])&&URL.revokeObjectURL(C[e].preview);let t=C.filter((t,n)=>n!==e);w(t),r?.(t)}i.default.useEffect(()=>()=>{C&&C.forEach(e=>{m(e)&&URL.revokeObjectURL(e.preview)})},[]);let D=v||(C?.length??0)>=g;return(0,a.jsxs)(`div`,{className:`relative flex w-full flex-col gap-6`,children:[(0,a.jsx)(s.default,{onDrop:T,accept:f,maxSize:h,maxFiles:g,multiple:g>1||_,disabled:D,children:({getRootProps:e,getInputProps:n,isDragActive:r})=>(0,a.jsxs)(`div`,{...e(),className:t.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`,r&&`border-border-primary-strong bg-border-weak/40`,D&&`pointer-events-none opacity-60`,x),...S,children:[(0,a.jsx)(`input`,{...n()}),r?(0,a.jsxs)(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[(0,a.jsx)(`div`,{className:`rounded-full border border-dashed p-3`,children:(0,a.jsx)(o.Upload,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),(0,a.jsx)(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):(0,a.jsxs)(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[(0,a.jsx)(`div`,{className:`rounded-full border border-dashed p-3`,children:(0,a.jsx)(o.Upload,{size:b||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),y&&(0,a.jsxs)(`div`,{className:`flex flex-col gap-px`,children:[(0,a.jsxs)(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),(0,a.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 ${t.formatBytes(h)} each)`:` a file with ${t.formatBytes(h)}`]})]})]})]})}),C?.length?(0,a.jsxs)(`div`,{className:`h-fit w-full overflow-y-auto`,children:[(0,a.jsxs)(`div`,{className:`flex items-center justify-between px-3 py-2.5`,children:[(0,a.jsxs)(`div`,{className:`text-text-positive-weak flex items-center gap-1`,children:[(0,a.jsx)(o.Image,{size:16,"aria-hidden":`true`}),(0,a.jsxs)(`p`,{className:`text-sm`,children:[`Ảnh đã tải lên (`,C.length,`)`]})]}),(0,a.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=>{m(e)&&URL.revokeObjectURL(e.preview)}),w([]),r?.([]))},children:[(0,a.jsx)(o.Trash2,{size:16,"aria-hidden":`true`}),(0,a.jsx)(`p`,{className:`text-sm`,children:`Xóa tất cả`})]})]}),(0,a.jsx)(`div`,{className:`flex flex-col gap-2.5`,children:C?.map((e,t)=>(0,a.jsx)(p,{file:e,onRemove:()=>E(t),progress:d?.[e.name]},t))})]}):null]})}function p({file:e,progress:i,onRemove:s}){return(0,a.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,a.jsxs)(`div`,{className:`flex flex-1 gap-2.5`,children:[m(e)?(0,a.jsx)(h,{file:e}):null,(0,a.jsxs)(`div`,{className:`flex w-full flex-col gap-2`,children:[(0,a.jsxs)(`div`,{className:`flex flex-col gap-y-0.5`,children:[(0,a.jsx)(`p`,{className:`text-text-positive line-clamp-1 text-sm`,children:e.name}),(0,a.jsx)(`p`,{className:`text-text-positive-muted text-xs`,children:t.formatBytes(e.size)})]}),i?(0,a.jsx)(r.Progress,{value:i}):null]})]}),(0,a.jsx)(`div`,{className:`flex items-center gap-2`,children:(0,a.jsxs)(n.Button,{type:`button`,variant:`ghost`,color:`secondary`,size:`icon`,className:`size-7`,onClick:s,children:[(0,a.jsx)(o.Trash2,{size:16,className:`text-text-positive-muted`,"aria-hidden":`true`}),(0,a.jsx)(`span`,{className:`sr-only`,children:`Remove file`})]})})]})}function m(e){return`preview`in e&&typeof e.preview==`string`}function h({file:e}){return e.type.startsWith(`image/`)?(0,a.jsx)(`img`,{src:e.preview,className:`border-border aspect-square size-10 shrink-0 rounded border object-cover object-top shadow-sm`}):(0,a.jsx)(o.FileText,{className:`text-text-positive-muted size-10 border`,"aria-hidden":`true`})}exports.FileUploader=f;
|
|
3
3
|
//# sourceMappingURL=file-uploader.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime119 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { DropzoneProps } from "react-dropzone";
|
|
4
4
|
|
|
@@ -73,7 +73,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
73
73
|
showText?: boolean;
|
|
74
74
|
iconSize?: number;
|
|
75
75
|
}
|
|
76
|
-
declare function FileUploader(props: FileUploaderProps):
|
|
76
|
+
declare function FileUploader(props: FileUploaderProps): react_jsx_runtime119.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { FileUploader };
|
|
79
79
|
//# sourceMappingURL=file-uploader.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime258 from "react/jsx-runtime";
|
|
3
3
|
import { DropzoneProps } from "react-dropzone";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/file-uploader.d.ts
|
|
@@ -73,7 +73,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
73
73
|
showText?: boolean;
|
|
74
74
|
iconSize?: number;
|
|
75
75
|
}
|
|
76
|
-
declare function FileUploader(props: FileUploaderProps):
|
|
76
|
+
declare function FileUploader(props: FileUploaderProps): react_jsx_runtime258.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { FileUploader };
|
|
79
79
|
//# sourceMappingURL=file-uploader.d.ts.map
|
package/dist/ui/file-uploader.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use client";import{cn as e,formatBytes as t}from"../utils-D9AH0PUV.js";import{Button as n}from"../button-
|
|
1
|
+
"use client";import{cn as e,formatBytes as t}from"../utils-D9AH0PUV.js";import{Button as n}from"../button-Bvj7CJrA.js";import{Progress as r}from"../progress-DWrtxJv0.js";import i from"react";import{jsx as a,jsxs as o}from"react/jsx-runtime";import{FileText as s,Image as c,Trash2 as l,Upload as u}from"lucide-react";import d from"react-dropzone";import{toast as f}from"sonner";function p(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>((...e)=>t.current?.(...e)),[])}function m({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,a]=h({defaultProp:t,onChange:n}),o=e!==void 0,s=o?e:r,c=p(n),l=i.useCallback(t=>{if(o){let n=t,r=typeof t==`function`?n(e):t;r!==e&&c(r)}else a(t)},[o,e,a,c]);return[s,l]}function h({defaultProp:e,onChange:t}){let n=i.useState(e),[r]=n,a=i.useRef(r),o=p(t);return i.useEffect(()=>{a.current!==r&&(o(r),a.current=r)},[r,a,o]),n}function g(n){let{value:r,onValueChange:s,onUpload:p,progresses:h,accept:g={"image/*":[]},maxSize:y=1024*1024*2,maxFileCount:b=1,multiple:x=!1,disabled:S=!1,showText:C=!0,iconSize:w,className:T,...E}=n,[D,O]=m({prop:r,onChange:s}),k=i.useCallback((e,t)=>{if(!x&&b===1&&e.length>1){f.error(`Cannot upload more than 1 file at a time`);return}if((D?.length??0)+e.length>b){f.error(`Cannot upload more than ${b} files`);return}let n=e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})),r=D?[...D,...n]:n;if(O(r),t.length>0&&t.forEach(({file:e})=>{f.error(`File ${e.name} was rejected`)}),p&&r.length>0&&r.length<=b){let e=r.length>0?`${r.length} files`:`file`;p(r).then(()=>{O([]),f(`${e} uploaded`)})}},[D,b,x,p,O]);function A(e){if(!D)return;v(D[e])&&URL.revokeObjectURL(D[e].preview);let t=D.filter((t,n)=>n!==e);O(t),s?.(t)}i.useEffect(()=>()=>{D&&D.forEach(e=>{v(e)&&URL.revokeObjectURL(e.preview)})},[]);let j=S||(D?.length??0)>=b;return o(`div`,{className:`relative flex w-full flex-col gap-6`,children:[a(d,{onDrop:k,accept:g,maxSize:y,maxFiles:b,multiple:b>1||x,disabled:j,children:({getRootProps:n,getInputProps:r,isDragActive:i})=>o(`div`,{...n(),className:e(`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`,i&&`border-border-primary-strong bg-border-weak/40`,j&&`pointer-events-none opacity-60`,T),...E,children:[a(`input`,{...r()}),i?o(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[a(`div`,{className:`rounded-full border border-dashed p-3`,children:a(u,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),a(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):o(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[a(`div`,{className:`rounded-full border border-dashed p-3`,children:a(u,{size:w||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),C&&o(`div`,{className:`flex flex-col gap-px`,children:[o(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),o(`p`,{className:`text-text-positive-muted text-xs`,children:[`You can upload`,b>1?` ${b===1/0?`multiple`:b}
|
|
2
2
|
files (up to ${t(y)} each)`:` a file with ${t(y)}`]})]})]})]})}),D?.length?o(`div`,{className:`h-fit w-full overflow-y-auto`,children:[o(`div`,{className:`flex items-center justify-between px-3 py-2.5`,children:[o(`div`,{className:`text-text-positive-weak flex items-center gap-1`,children:[a(c,{size:16,"aria-hidden":`true`}),o(`p`,{className:`text-sm`,children:[`Ảnh đã tải lên (`,D.length,`)`]})]}),o(`button`,{className:`hover:text-text-positive text-text-positive-muted flex cursor-pointer items-center gap-1 transition-colors duration-200`,onClick:()=>{D&&(D.forEach(e=>{v(e)&&URL.revokeObjectURL(e.preview)}),O([]),s?.([]))},children:[a(l,{size:16,"aria-hidden":`true`}),a(`p`,{className:`text-sm`,children:`Xóa tất cả`})]})]}),a(`div`,{className:`flex flex-col gap-2.5`,children:D?.map((e,t)=>a(_,{file:e,onRemove:()=>A(t),progress:h?.[e.name]},t))})]}):null]})}function _({file:e,progress:i,onRemove:s}){return o(`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:[o(`div`,{className:`flex flex-1 gap-2.5`,children:[v(e)?a(y,{file:e}):null,o(`div`,{className:`flex w-full flex-col gap-2`,children:[o(`div`,{className:`flex flex-col gap-y-0.5`,children:[a(`p`,{className:`text-text-positive line-clamp-1 text-sm`,children:e.name}),a(`p`,{className:`text-text-positive-muted text-xs`,children:t(e.size)})]}),i?a(r,{value:i}):null]})]}),a(`div`,{className:`flex items-center gap-2`,children:o(n,{type:`button`,variant:`ghost`,color:`secondary`,size:`icon`,className:`size-7`,onClick:s,children:[a(l,{size:16,className:`text-text-positive-muted`,"aria-hidden":`true`}),a(`span`,{className:`sr-only`,children:`Remove file`})]})})]})}function v(e){return`preview`in e&&typeof e.preview==`string`}function y({file:e}){return e.type.startsWith(`image/`)?a(`img`,{src:e.preview,className:`border-border aspect-square size-10 shrink-0 rounded border object-cover object-top shadow-sm`}):a(s,{className:`text-text-positive-muted size-10 border`,"aria-hidden":`true`})}export{g as FileUploader};
|
|
3
3
|
//# sourceMappingURL=file-uploader.js.map
|
package/dist/ui/form.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../utils-BsjVK5EW.cjs`),require(`../label-
|
|
1
|
+
"use client";require(`../utils-BsjVK5EW.cjs`),require(`../label-CW94D639.cjs`);const e=require(`../form-D13wOyun.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;
|
package/dist/ui/form.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime120 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Label, Slot } from "radix-ui";
|
|
4
4
|
import * as react_hook_form0 from "react-hook-form";
|
|
@@ -8,7 +8,7 @@ import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
|
8
8
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
9
9
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
10
10
|
...props
|
|
11
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
11
|
+
}: ControllerProps<TFieldValues, TName>) => react_jsx_runtime120.JSX.Element;
|
|
12
12
|
declare const useFormField: () => {
|
|
13
13
|
invalid: boolean;
|
|
14
14
|
isDirty: boolean;
|
|
@@ -26,23 +26,23 @@ declare const useFormField: () => {
|
|
|
26
26
|
declare function FormItem({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'>):
|
|
29
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime120.JSX.Element;
|
|
30
30
|
declare function FormLabel({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Label.Root>):
|
|
33
|
+
}: React.ComponentProps<typeof Label.Root>): react_jsx_runtime120.JSX.Element;
|
|
34
34
|
declare function FormControl({
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Slot.Slot>):
|
|
36
|
+
}: React.ComponentProps<typeof Slot.Slot>): react_jsx_runtime120.JSX.Element;
|
|
37
37
|
declare function FormDescription({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<'p'>):
|
|
40
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime120.JSX.Element;
|
|
41
41
|
declare function FormMessage({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<'p'>):
|
|
45
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime120.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
48
48
|
//# sourceMappingURL=form.d.cts.map
|
package/dist/ui/form.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
3
|
import { Label, Slot } from "radix-ui";
|
|
4
4
|
import * as react_hook_form0 from "react-hook-form";
|
|
5
5
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
@@ -8,7 +8,7 @@ import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
|
8
8
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
9
9
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
10
10
|
...props
|
|
11
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
11
|
+
}: ControllerProps<TFieldValues, TName>) => react_jsx_runtime17.JSX.Element;
|
|
12
12
|
declare const useFormField: () => {
|
|
13
13
|
invalid: boolean;
|
|
14
14
|
isDirty: boolean;
|
|
@@ -26,23 +26,23 @@ declare const useFormField: () => {
|
|
|
26
26
|
declare function FormItem({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'>):
|
|
29
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime17.JSX.Element;
|
|
30
30
|
declare function FormLabel({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Label.Root>):
|
|
33
|
+
}: React.ComponentProps<typeof Label.Root>): react_jsx_runtime17.JSX.Element;
|
|
34
34
|
declare function FormControl({
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Slot.Slot>):
|
|
36
|
+
}: React.ComponentProps<typeof Slot.Slot>): react_jsx_runtime17.JSX.Element;
|
|
37
37
|
declare function FormDescription({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<'p'>):
|
|
40
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime17.JSX.Element;
|
|
41
41
|
declare function FormMessage({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<'p'>):
|
|
45
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime17.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
48
48
|
//# sourceMappingURL=form.d.ts.map
|
package/dist/ui/form.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../utils-D9AH0PUV.js";import"../label-
|
|
1
|
+
"use client";import"../utils-D9AH0PUV.js";import"../label-DuddAB1p.js";import{Form as e,FormControl as t,FormDescription as n,FormField as r,FormItem as i,FormLabel as a,FormMessage as o,useFormField as s}from"../form-DZqGhxta.js";export{e as Form,t as FormControl,n as FormDescription,r as FormField,i as FormItem,a as FormLabel,o as FormMessage,s as useFormField};
|
package/dist/ui/hover-card.d.cts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/hover-card.d.ts
|
|
6
6
|
declare function HoverCard({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof HoverCard$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime99.JSX.Element;
|
|
9
9
|
declare function HoverCardTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof HoverCard$1.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime99.JSX.Element;
|
|
12
12
|
declare function HoverCardContent({
|
|
13
13
|
className,
|
|
14
14
|
align,
|
|
15
15
|
sideOffset,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof HoverCard$1.Content>):
|
|
17
|
+
}: React.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime99.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
20
20
|
//# sourceMappingURL=hover-card.d.cts.map
|
package/dist/ui/hover-card.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime199 from "react/jsx-runtime";
|
|
3
3
|
import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/hover-card.d.ts
|
|
6
6
|
declare function HoverCard({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof HoverCard$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime199.JSX.Element;
|
|
9
9
|
declare function HoverCardTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof HoverCard$1.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime199.JSX.Element;
|
|
12
12
|
declare function HoverCardContent({
|
|
13
13
|
className,
|
|
14
14
|
align,
|
|
15
15
|
sideOffset,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof HoverCard$1.Content>):
|
|
17
|
+
}: React.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime199.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
20
20
|
//# sourceMappingURL=hover-card.d.ts.map
|
package/dist/ui/input-otp.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime102 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { OTPInput } from "input-otp";
|
|
4
4
|
|
|
@@ -9,21 +9,21 @@ declare function InputOTP({
|
|
|
9
9
|
...props
|
|
10
10
|
}: React.ComponentProps<typeof OTPInput> & {
|
|
11
11
|
containerClassName?: string;
|
|
12
|
-
}):
|
|
12
|
+
}): react_jsx_runtime102.JSX.Element;
|
|
13
13
|
declare function InputOTPGroup({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<'div'>):
|
|
16
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime102.JSX.Element;
|
|
17
17
|
declare function InputOTPSlot({
|
|
18
18
|
index,
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
21
|
}: React.ComponentProps<'div'> & {
|
|
22
22
|
index: number;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime102.JSX.Element;
|
|
24
24
|
declare function InputOTPSeparator({
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime102.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
29
29
|
//# sourceMappingURL=input-otp.d.cts.map
|
package/dist/ui/input-otp.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime118 from "react/jsx-runtime";
|
|
3
3
|
import { OTPInput } from "input-otp";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/input-otp.d.ts
|
|
@@ -9,21 +9,21 @@ declare function InputOTP({
|
|
|
9
9
|
...props
|
|
10
10
|
}: React.ComponentProps<typeof OTPInput> & {
|
|
11
11
|
containerClassName?: string;
|
|
12
|
-
}):
|
|
12
|
+
}): react_jsx_runtime118.JSX.Element;
|
|
13
13
|
declare function InputOTPGroup({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<'div'>):
|
|
16
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime118.JSX.Element;
|
|
17
17
|
declare function InputOTPSlot({
|
|
18
18
|
index,
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
21
|
}: React.ComponentProps<'div'> & {
|
|
22
22
|
index: number;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime118.JSX.Element;
|
|
24
24
|
declare function InputOTPSeparator({
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime118.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
29
29
|
//# sourceMappingURL=input-otp.d.ts.map
|
package/dist/ui/input.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../utils-BsjVK5EW.cjs`);const e=require(`../input-
|
|
1
|
+
"use client";require(`../utils-BsjVK5EW.cjs`);const e=require(`../input-Cv7gHIMB.cjs`);exports.Input=e.Input;
|
package/dist/ui/input.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Input } from "../input-
|
|
1
|
+
import { Input } from "../input-I0UFVeRe.cjs";
|
|
2
2
|
export { Input };
|
package/dist/ui/input.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Input } from "../input-
|
|
1
|
+
import { Input } from "../input-ixyBDLIa.js";
|
|
2
2
|
export { Input };
|
package/dist/ui/input.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../utils-D9AH0PUV.js";import{Input as e}from"../input
|
|
1
|
+
"use client";import"../utils-D9AH0PUV.js";import{Input as e}from"../input-BJeCqZVs.js";export{e as Input};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`../../utils-BsjVK5EW.cjs`),require(`../../input-
|
|
1
|
+
require(`../../utils-BsjVK5EW.cjs`),require(`../../input-Cv7gHIMB.cjs`);const e=require(`../../search-input-Donhb2DT.cjs`);exports.SearchInput=e.SearchInput;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Input } from "../../input-
|
|
2
|
-
import * as
|
|
1
|
+
import { Input } from "../../input-I0UFVeRe.cjs";
|
|
2
|
+
import * as react_jsx_runtime235 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/inputs/search-input.d.ts
|
|
5
5
|
type Props = React.ComponentPropsWithoutRef<typeof Input>;
|
|
6
6
|
declare const SearchInput: ({
|
|
7
7
|
className,
|
|
8
8
|
...rest
|
|
9
|
-
}: Props) =>
|
|
9
|
+
}: Props) => react_jsx_runtime235.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SearchInput };
|
|
12
12
|
//# sourceMappingURL=search-input.d.cts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Input } from "../../input-
|
|
2
|
-
import * as
|
|
1
|
+
import { Input } from "../../input-ixyBDLIa.js";
|
|
2
|
+
import * as react_jsx_runtime204 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/inputs/search-input.d.ts
|
|
5
5
|
type Props = React.ComponentPropsWithoutRef<typeof Input>;
|
|
6
6
|
declare const SearchInput: ({
|
|
7
7
|
className,
|
|
8
8
|
...rest
|
|
9
|
-
}: Props) =>
|
|
9
|
+
}: Props) => react_jsx_runtime204.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SearchInput };
|
|
12
12
|
//# sourceMappingURL=search-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../utils-D9AH0PUV.js";import"../../input
|
|
1
|
+
import"../../utils-D9AH0PUV.js";import"../../input-BJeCqZVs.js";import{SearchInput as e}from"../../search-input-DG3ivvbv.js";export{e as SearchInput};
|
package/dist/ui/label.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../utils-BsjVK5EW.cjs`);const e=require(`../label-
|
|
1
|
+
"use client";require(`../utils-BsjVK5EW.cjs`);const e=require(`../label-CW94D639.cjs`);exports.Label=e.Label;
|
package/dist/ui/label.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime118 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Label as Label$1 } from "radix-ui";
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import { Label as Label$1 } from "radix-ui";
|
|
|
6
6
|
declare function Label({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Label$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Label$1.Root>): react_jsx_runtime118.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Label };
|
|
12
12
|
//# sourceMappingURL=label.d.cts.map
|
package/dist/ui/label.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
3
3
|
import { Label as Label$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/label.d.ts
|
|
6
6
|
declare function Label({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Label$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Label$1.Root>): react_jsx_runtime105.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Label };
|
|
12
12
|
//# sourceMappingURL=label.d.ts.map
|
package/dist/ui/label.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../utils-D9AH0PUV.js";import{Label as e}from"../label-
|
|
1
|
+
"use client";import"../utils-D9AH0PUV.js";import{Label as e}from"../label-DuddAB1p.js";export{e as Label};
|
package/dist/ui/menubar.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-CUT6urMc.cjs`),t=require(`../utils-BsjVK5EW.cjs`),n=e.__toESM(require(`react`)),r=e.__toESM(require(`react/jsx-runtime`)),i=e.__toESM(require(`
|
|
1
|
+
"use client";const e=require(`../chunk-CUT6urMc.cjs`),t=require(`../utils-BsjVK5EW.cjs`),n=e.__toESM(require(`react`)),r=e.__toESM(require(`react/jsx-runtime`)),i=e.__toESM(require(`lucide-react`)),a=e.__toESM(require(`radix-ui`));function o({className:e,...n}){return(0,r.jsx)(a.Menubar.Root,{"data-slot":`menubar`,className:t.cn(`bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs`,e),...n})}function s({...e}){return(0,r.jsx)(a.Menubar.Menu,{"data-slot":`menubar-menu`,...e})}function c({...e}){return(0,r.jsx)(a.Menubar.Group,{"data-slot":`menubar-group`,...e})}function l({...e}){return(0,r.jsx)(a.Menubar.Portal,{"data-slot":`menubar-portal`,...e})}function u({...e}){return(0,r.jsx)(a.Menubar.RadioGroup,{"data-slot":`menubar-radio-group`,...e})}function d({className:e,...n}){return(0,r.jsx)(a.Menubar.Trigger,{"data-slot":`menubar-trigger`,className:t.cn(`focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none`,e),...n})}function f({className:e,align:n=`start`,alignOffset:i=-4,sideOffset:o=8,...s}){return(0,r.jsx)(l,{children:(0,r.jsx)(a.Menubar.Content,{"data-slot":`menubar-content`,align:n,alignOffset:i,sideOffset:o,className:t.cn(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md`,e),...s})})}function p({className:e,inset:n,variant:i=`default`,...o}){return(0,r.jsx)(a.Menubar.Item,{"data-slot":`menubar-item`,"data-inset":n,"data-variant":i,className:t.cn(`focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...o})}function m({className:e,children:n,checked:o,...s}){return(0,r.jsxs)(a.Menubar.CheckboxItem,{"data-slot":`menubar-checkbox-item`,className:t.cn(`focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),checked:o,...s,children:[(0,r.jsx)(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:(0,r.jsx)(a.Menubar.ItemIndicator,{children:(0,r.jsx)(i.CheckIcon,{className:`size-4`})})}),n]})}function h({className:e,children:n,...o}){return(0,r.jsxs)(a.Menubar.RadioItem,{"data-slot":`menubar-radio-item`,className:t.cn(`focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...o,children:[(0,r.jsx)(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:(0,r.jsx)(a.Menubar.ItemIndicator,{children:(0,r.jsx)(i.CircleIcon,{className:`size-2 fill-current`})})}),n]})}function g({className:e,inset:n,...i}){return(0,r.jsx)(a.Menubar.Label,{"data-slot":`menubar-label`,"data-inset":n,className:t.cn(`px-2 py-1.5 text-sm font-medium data-[inset]:pl-8`,e),...i})}function _({className:e,...n}){return(0,r.jsx)(a.Menubar.Separator,{"data-slot":`menubar-separator`,className:t.cn(`bg-border -mx-1 my-1 h-px`,e),...n})}function v({className:e,...n}){return(0,r.jsx)(`span`,{"data-slot":`menubar-shortcut`,className:t.cn(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...n})}function y({...e}){return(0,r.jsx)(a.Menubar.Sub,{"data-slot":`menubar-sub`,...e})}function b({className:e,inset:n,children:o,...s}){return(0,r.jsxs)(a.Menubar.SubTrigger,{"data-slot":`menubar-sub-trigger`,"data-inset":n,className:t.cn(`focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8`,e),...s,children:[o,(0,r.jsx)(i.ChevronRightIcon,{className:`ml-auto h-4 w-4`})]})}function x({className:e,...n}){return(0,r.jsx)(a.Menubar.SubContent,{"data-slot":`menubar-sub-content`,className:t.cn(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg`,e),...n})}exports.Menubar=o,exports.MenubarCheckboxItem=m,exports.MenubarContent=f,exports.MenubarGroup=c,exports.MenubarItem=p,exports.MenubarLabel=g,exports.MenubarMenu=s,exports.MenubarPortal=l,exports.MenubarRadioGroup=u,exports.MenubarRadioItem=h,exports.MenubarSeparator=_,exports.MenubarShortcut=v,exports.MenubarSub=y,exports.MenubarSubContent=x,exports.MenubarSubTrigger=b,exports.MenubarTrigger=d;
|
|
2
2
|
//# sourceMappingURL=menubar.cjs.map
|