@customafk/lunas-ui 0.2.37 → 0.2.39
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/alert-B2PaDJp6.cjs +2 -0
- package/dist/alert-B2PaDJp6.cjs.map +1 -0
- package/dist/alert-BzBDfGk2.js +2 -0
- package/dist/alert-BzBDfGk2.js.map +1 -0
- package/dist/alert-CNFuxKp7.d.cts +88 -0
- package/dist/alert-DOpQdSIC.d.ts +88 -0
- package/dist/avatar-Hpj8lmux.js +2 -0
- package/dist/avatar-Hpj8lmux.js.map +1 -0
- package/dist/avatar-TyOphzGo.cjs +2 -0
- package/dist/avatar-TyOphzGo.cjs.map +1 -0
- package/dist/badge-CRpRXSuO.js +2 -0
- package/dist/badge-CRpRXSuO.js.map +1 -0
- package/dist/badge-D4c9IlYD.d.cts +42 -0
- package/dist/badge-DowUoI6w.d.ts +42 -0
- package/dist/badge-KW7xu5Ca.cjs +2 -0
- package/dist/badge-KW7xu5Ca.cjs.map +1 -0
- package/dist/button-C--DAN1D.cjs +2 -0
- package/dist/button-C--DAN1D.cjs.map +1 -0
- package/dist/button-D4YMSwqK.d.ts +174 -0
- package/dist/button-IMi0bEY_.d.cts +174 -0
- package/dist/button-LMMbL-uH.js +2 -0
- package/dist/button-LMMbL-uH.js.map +1 -0
- package/dist/button.variants-4kw6plrv.cjs +2 -0
- package/dist/button.variants-4kw6plrv.cjs.map +1 -0
- package/dist/button.variants-CoSpd71B.js +2 -0
- package/dist/button.variants-CoSpd71B.js.map +1 -0
- package/dist/calendar-4weBDnXz.cjs +2 -0
- package/dist/calendar-4weBDnXz.cjs.map +1 -0
- package/dist/calendar-DzPt7b6k.js +2 -0
- package/dist/calendar-DzPt7b6k.js.map +1 -0
- package/dist/cards/grid-product-card.cjs +1 -1
- package/dist/cards/grid-product-card.d.ts +37 -0
- package/dist/cards/grid-product-card.js +2 -0
- package/dist/cards/grid-product-card.js.map +1 -0
- package/dist/cards/product-card.cjs +1 -1
- package/dist/cards/product-card.d.ts +37 -0
- package/dist/cards/product-card.js +2 -0
- package/dist/cards/product-card.js.map +1 -0
- package/dist/cards/simple-card.cjs +1 -1
- package/dist/cards/simple-card.d.ts +35 -0
- package/dist/cards/simple-card.js +2 -0
- package/dist/cards/simple-card.js.map +1 -0
- package/dist/checkbox-DLGDoU-1.js +2 -0
- package/dist/checkbox-DLGDoU-1.js.map +1 -0
- package/dist/checkbox-Dsq-MSbH.cjs +2 -0
- package/dist/checkbox-Dsq-MSbH.cjs.map +1 -0
- package/dist/chunk-350yNsax.cjs +1 -0
- package/dist/close-C0PdZGxr.js +2 -0
- package/dist/close-C0PdZGxr.js.map +1 -0
- package/dist/close-Dlo1bI8x.cjs +2 -0
- package/dist/close-Dlo1bI8x.cjs.map +1 -0
- package/dist/cms-layout-BCH4NroR.cjs +2 -0
- package/dist/cms-layout-BCH4NroR.cjs.map +1 -0
- package/dist/cms-layout-tPwrgJZc.js +2 -0
- package/dist/cms-layout-tPwrgJZc.js.map +1 -0
- package/dist/command-2gUejA6g.js +2 -0
- package/dist/command-2gUejA6g.js.map +1 -0
- package/dist/command-CsP8a1Un.cjs +2 -0
- package/dist/command-CsP8a1Un.cjs.map +1 -0
- package/dist/data-display/country.cjs +1 -1
- package/dist/data-display/country.d.ts +22 -0
- package/dist/data-display/country.js +2 -0
- package/dist/data-display/country.js.map +1 -0
- package/dist/data-display/data-list.cjs +1 -1
- package/dist/data-display/data-list.d.ts +43 -0
- package/dist/data-display/data-list.js +2 -0
- package/dist/data-display/data-list.js.map +1 -0
- package/dist/data-display/date-tooltip.cjs +1 -1
- package/dist/data-display/date-tooltip.d.ts +19 -0
- package/dist/data-display/date-tooltip.js +2 -0
- package/dist/data-display/date-tooltip.js.map +1 -0
- package/dist/data-display/date.cjs +1 -1
- package/dist/data-display/date.d.ts +39 -0
- package/dist/data-display/date.js +1 -0
- package/dist/data-display/empty.cjs +1 -1
- package/dist/data-display/empty.d.ts +21 -0
- package/dist/data-display/empty.js +2 -0
- package/dist/data-display/empty.js.map +1 -0
- package/dist/data-display/name.cjs +1 -1
- package/dist/data-display/name.d.ts +19 -0
- package/dist/data-display/name.js +2 -0
- package/dist/data-display/name.js.map +1 -0
- package/dist/data-display/phone-number.cjs +1 -1
- package/dist/data-display/phone-number.d.ts +19 -0
- package/dist/data-display/phone-number.js +2 -0
- package/dist/data-display/phone-number.js.map +1 -0
- package/dist/data-display/role-badge.cjs +1 -1
- package/dist/data-display/role-badge.d.ts +22 -0
- package/dist/data-display/role-badge.js +2 -0
- package/dist/data-display/role-badge.js.map +1 -0
- package/dist/data-display/statistic.cjs +1 -1
- package/dist/data-display/statistic.d.cts +3 -3
- package/dist/data-display/statistic.d.ts +57 -0
- package/dist/data-display/statistic.js +1 -0
- package/dist/data-display/user.cjs +1 -1
- package/dist/data-display/user.d.ts +23 -0
- package/dist/data-display/user.js +1 -0
- package/dist/date-BIqCFM1Z.js +2 -0
- package/dist/date-BIqCFM1Z.js.map +1 -0
- package/dist/date-D4NVl6C9.cjs +2 -0
- package/dist/date-D4NVl6C9.cjs.map +1 -0
- package/dist/dialog-AcOtFuF4.d.ts +90 -0
- package/dist/dialog-BLjShZci.d.cts +90 -0
- package/dist/dialog-BigPrWIj.cjs +2 -0
- package/dist/dialog-BigPrWIj.cjs.map +1 -0
- package/dist/dialog-CmutQ3rp.js +2 -0
- package/dist/dialog-CmutQ3rp.js.map +1 -0
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.d.ts +142 -0
- package/dist/dialogs/confirm-dialog.js +2 -0
- package/dist/dialogs/confirm-dialog.js.map +1 -0
- package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +24 -24
- package/dist/dialogs/detail-dialog/components/sidebar.d.ts +209 -0
- package/dist/dialogs/detail-dialog/components/sidebar.js +1 -0
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.d.ts +45 -0
- package/dist/dialogs/detail-dialog/index.js +2 -0
- package/dist/dialogs/detail-dialog/index.js.map +1 -0
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.d.ts +25 -0
- package/dist/dialogs/error-dialog.js +2 -0
- package/dist/dialogs/error-dialog.js.map +1 -0
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.d.ts +21 -0
- package/dist/dialogs/loading-dialog.js +2 -0
- package/dist/dialogs/loading-dialog.js.map +1 -0
- package/dist/dist-Cx5ufCdr.cjs +2 -0
- package/dist/dist-Cx5ufCdr.cjs.map +1 -0
- package/dist/dist-EPxjIRJp.js +2 -0
- package/dist/dist-EPxjIRJp.js.map +1 -0
- package/dist/drawer-B3qXaN5p.js +2 -0
- package/dist/drawer-B3qXaN5p.js.map +1 -0
- package/dist/drawer-BB8BZzDG.cjs +2 -0
- package/dist/drawer-BB8BZzDG.cjs.map +1 -0
- package/dist/dropdown-menu-CVh520yG.cjs +2 -0
- package/dist/dropdown-menu-CVh520yG.cjs.map +1 -0
- package/dist/dropdown-menu-DeHCVyby.js +2 -0
- package/dist/dropdown-menu-DeHCVyby.js.map +1 -0
- package/dist/features/descriptions/index.cjs +1 -1
- package/dist/features/descriptions/index.cjs.map +1 -1
- package/dist/features/descriptions/index.d.cts +1 -1
- package/dist/features/descriptions/index.d.ts +246 -0
- package/dist/features/descriptions/index.js +2 -0
- package/dist/features/descriptions/index.js.map +1 -0
- package/dist/features/search-modal/index.cjs +1 -1
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.ts +17 -0
- package/dist/features/search-modal/index.js +1 -0
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +2 -2
- package/dist/features/tables/index.d.ts +3 -0
- package/dist/features/tables/index.js +1 -0
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +2 -2
- package/dist/features/tanstack-form/index.d.ts +2 -0
- package/dist/features/tanstack-form/index.js +1 -0
- package/dist/features/text-editor/index.cjs +1 -1
- package/dist/features/text-editor/index.d.ts +2 -0
- package/dist/features/text-editor/index.js +1 -0
- package/dist/field-BrlETeXX.cjs +2 -0
- package/dist/field-BrlETeXX.cjs.map +1 -0
- package/dist/field-DpoKF1nY.js +2 -0
- package/dist/field-DpoKF1nY.js.map +1 -0
- package/dist/flex-CinRrgEy.js +2 -0
- package/dist/flex-CinRrgEy.js.map +1 -0
- package/dist/flex-DmWmOBn5.cjs +2 -0
- package/dist/flex-DmWmOBn5.cjs.map +1 -0
- package/dist/heading-Bz-hSatD.js +2 -0
- package/dist/heading-Bz-hSatD.js.map +1 -0
- package/dist/heading-tGTqk3pA.cjs +2 -0
- package/dist/heading-tGTqk3pA.cjs.map +1 -0
- package/dist/image-BpTuF_1w.js +2 -0
- package/dist/image-BpTuF_1w.js.map +1 -0
- package/dist/image-W_Yb0xTB.cjs +2 -0
- package/dist/image-W_Yb0xTB.cjs.map +1 -0
- package/dist/index-BDMEeMn4.d.ts +1093 -0
- package/dist/index-BiAWxLAj.d.ts +2348 -0
- package/dist/index-BlQGXGqt.d.ts +90 -0
- package/dist/index-BxoQxUnW.d.cts +1093 -0
- package/dist/index-C1WfBa-T.d.ts +85 -0
- package/dist/index-KO98y6L0.d.cts +90 -0
- package/dist/index-gSP59hja.d.cts +2348 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +93 -0
- package/dist/index.js +1 -0
- package/dist/input-Aa-GQW2V.d.cts +44 -0
- package/dist/input-B1Wc5jsb.d.ts +44 -0
- package/dist/input-DAfP6LZ7.js +2 -0
- package/dist/input-DAfP6LZ7.js.map +1 -0
- package/dist/input-WJ0DLHTR.cjs +2 -0
- package/dist/input-WJ0DLHTR.cjs.map +1 -0
- package/dist/label-B8cAG2kc.js +2 -0
- package/dist/label-B8cAG2kc.js.map +1 -0
- package/dist/label-CC6fXVbC.cjs +2 -0
- package/dist/label-CC6fXVbC.cjs.map +1 -0
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.d.cts +2 -76
- package/dist/layouts/cms-layout/index.d.ts +2 -0
- package/dist/layouts/cms-layout/index.js +1 -0
- package/dist/layouts/flex.cjs +1 -1
- package/dist/layouts/flex.d.cts +3 -3
- package/dist/layouts/flex.d.ts +117 -0
- package/dist/layouts/flex.js +1 -0
- package/dist/layouts/grid.cjs +1 -1
- package/dist/layouts/grid.d.ts +19 -0
- package/dist/layouts/grid.js +2 -0
- package/dist/layouts/grid.js.map +1 -0
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.d.ts +74 -0
- package/dist/layouts/payment-layout/index.js +1 -0
- package/dist/pages/FeatureDeveloping.cjs +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.ts +43 -0
- package/dist/pages/FeatureDeveloping.js +2 -0
- package/dist/pages/FeatureDeveloping.js.map +1 -0
- package/dist/pages/FeatureFixing.cjs +1 -1
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.ts +43 -0
- package/dist/pages/FeatureFixing.js +2 -0
- package/dist/pages/FeatureFixing.js.map +1 -0
- package/dist/pages/LoginPage.cjs +1 -1
- package/dist/pages/LoginPage.cjs.map +1 -1
- package/dist/pages/LoginPage.d.cts +2 -2
- package/dist/pages/LoginPage.d.ts +55 -0
- package/dist/pages/LoginPage.js +2 -0
- package/dist/pages/LoginPage.js.map +1 -0
- package/dist/pages/NotAuthorized.cjs +1 -1
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.ts +43 -0
- package/dist/pages/NotAuthorized.js +2 -0
- package/dist/pages/NotAuthorized.js.map +1 -0
- package/dist/pages/NotFound.cjs +1 -1
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.ts +43 -0
- package/dist/pages/NotFound.js +2 -0
- package/dist/pages/NotFound.js.map +1 -0
- package/dist/pages/RegisterPage.cjs +1 -1
- package/dist/pages/RegisterPage.cjs.map +1 -1
- package/dist/pages/RegisterPage.d.cts +2 -2
- package/dist/pages/RegisterPage.d.ts +52 -0
- package/dist/pages/RegisterPage.js +2 -0
- package/dist/pages/RegisterPage.js.map +1 -0
- package/dist/pages/VerifyEmailPage.cjs +1 -1
- package/dist/pages/VerifyEmailPage.d.cts +2 -2
- package/dist/pages/VerifyEmailPage.d.ts +64 -0
- package/dist/pages/VerifyEmailPage.js +2 -0
- package/dist/pages/VerifyEmailPage.js.map +1 -0
- package/dist/paragraph-Cc13ZI4d.js +2 -0
- package/dist/paragraph-Cc13ZI4d.js.map +1 -0
- package/dist/paragraph-DvTZvbzw.cjs +2 -0
- package/dist/paragraph-DvTZvbzw.cjs.map +1 -0
- package/dist/payment-layout-DyILfyVG.cjs +2 -0
- package/dist/payment-layout-DyILfyVG.cjs.map +1 -0
- package/dist/payment-layout-giaGvs8T.js +2 -0
- package/dist/payment-layout-giaGvs8T.js.map +1 -0
- package/dist/popover-6233wU1s.js +2 -0
- package/dist/popover-6233wU1s.js.map +1 -0
- package/dist/popover-DBsC8Ltp.cjs +2 -0
- package/dist/popover-DBsC8Ltp.cjs.map +1 -0
- package/dist/progress-AYknlEgK.js +2 -0
- package/dist/progress-AYknlEgK.js.map +1 -0
- package/dist/progress-gvBqNiHp.cjs +2 -0
- package/dist/progress-gvBqNiHp.cjs.map +1 -0
- package/dist/radio-group-ImoBjpqZ.js +2 -0
- package/dist/radio-group-ImoBjpqZ.js.map +1 -0
- package/dist/radio-group-_TdMkv8w.cjs +2 -0
- package/dist/radio-group-_TdMkv8w.cjs.map +1 -0
- package/dist/resizable-C-M-mu6b.js +2 -0
- package/dist/resizable-C-M-mu6b.js.map +1 -0
- package/dist/resizable-sgpaHAb8.cjs +2 -0
- package/dist/resizable-sgpaHAb8.cjs.map +1 -0
- package/dist/search-modal-B-pzGcfP.cjs +2 -0
- package/dist/search-modal-B-pzGcfP.cjs.map +1 -0
- package/dist/search-modal-b2AE5WEW.js +2 -0
- package/dist/search-modal-b2AE5WEW.js.map +1 -0
- package/dist/select-CWLQHh8x.cjs +2 -0
- package/dist/select-CWLQHh8x.cjs.map +1 -0
- package/dist/select-CryLzZA0.js +2 -0
- package/dist/select-CryLzZA0.js.map +1 -0
- package/dist/separator-BM8hA4DP.js +2 -0
- package/dist/separator-BM8hA4DP.js.map +1 -0
- package/dist/separator-KuymG9g0.cjs +2 -0
- package/dist/separator-KuymG9g0.cjs.map +1 -0
- package/dist/sheet-CvKSi0UC.cjs +2 -0
- package/dist/sheet-CvKSi0UC.cjs.map +1 -0
- package/dist/sheet-DGXXYgWB.js +2 -0
- package/dist/sheet-DGXXYgWB.js.map +1 -0
- package/dist/sidebar-BDrsbzo5.js +2 -0
- package/dist/sidebar-BDrsbzo5.js.map +1 -0
- package/dist/sidebar-D5J2gcTw.cjs +2 -0
- package/dist/sidebar-D5J2gcTw.cjs.map +1 -0
- package/dist/skeleton-CX1USu1w.cjs +2 -0
- package/dist/skeleton-CX1USu1w.cjs.map +1 -0
- package/dist/skeleton-DlRDNM97.js +2 -0
- package/dist/skeleton-DlRDNM97.js.map +1 -0
- package/dist/spinner-C1eamx3w.js +2 -0
- package/dist/spinner-C1eamx3w.js.map +1 -0
- package/dist/spinner-CFxorYEt.cjs +2 -0
- package/dist/spinner-CFxorYEt.cjs.map +1 -0
- package/dist/statistic-CYMqAYNc.js +2 -0
- package/dist/statistic-CYMqAYNc.js.map +1 -0
- package/dist/statistic-DDXilD7q.cjs +2 -0
- package/dist/statistic-DDXilD7q.cjs.map +1 -0
- package/dist/switch-BLHmdRq2.js +2 -0
- package/dist/switch-BLHmdRq2.js.map +1 -0
- package/dist/switch-DVfOV7wP.cjs +2 -0
- package/dist/switch-DVfOV7wP.cjs.map +1 -0
- package/dist/systems/google.cjs +1 -1
- package/dist/systems/google.d.ts +53 -0
- package/dist/systems/google.js +2 -0
- package/dist/systems/google.js.map +1 -0
- package/dist/tables-CPKHe3k-.cjs +4 -0
- package/dist/tables-CPKHe3k-.cjs.map +1 -0
- package/dist/tables-DWQytYNm.js +4 -0
- package/dist/tables-DWQytYNm.js.map +1 -0
- package/dist/tanstack-form-DatI41wz.cjs +12 -0
- package/dist/tanstack-form-DatI41wz.cjs.map +1 -0
- package/dist/tanstack-form-YVdm9V01.js +12 -0
- package/dist/tanstack-form-YVdm9V01.js.map +1 -0
- package/dist/text-editor-CvJN3nSL.cjs +2 -0
- package/dist/text-editor-CvJN3nSL.cjs.map +1 -0
- package/dist/text-editor-WbS7pJJs.js +2 -0
- package/dist/text-editor-WbS7pJJs.js.map +1 -0
- package/dist/textarea-Bp6VvhiA.js +2 -0
- package/dist/textarea-Bp6VvhiA.js.map +1 -0
- package/dist/textarea-Cc9CF8wD.cjs +2 -0
- package/dist/textarea-Cc9CF8wD.cjs.map +1 -0
- package/dist/tooltip-CBdoIzoM.cjs +2 -0
- package/dist/tooltip-CBdoIzoM.cjs.map +1 -0
- package/dist/tooltip-CVIl6Hln.js +2 -0
- package/dist/tooltip-CVIl6Hln.js.map +1 -0
- package/dist/types-BVSfF-1o.d.ts +24 -0
- package/dist/types-BZqffRVJ.js +2 -0
- package/dist/types-BZqffRVJ.js.map +1 -0
- package/dist/typography/paragraph.cjs +1 -1
- package/dist/typography/paragraph.d.cts +3 -3
- package/dist/typography/paragraph.d.ts +48 -0
- package/dist/typography/paragraph.js +1 -0
- package/dist/typography/title.cjs +1 -1
- package/dist/typography/title.d.ts +43 -0
- package/dist/typography/title.js +2 -0
- package/dist/typography/title.js.map +1 -0
- package/dist/ui/alert-dialog.cjs +1 -1
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.ts +90 -0
- package/dist/ui/alert-dialog.js +2 -0
- package/dist/ui/alert-dialog.js.map +1 -0
- package/dist/ui/alert.cjs +1 -1
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.ts +2 -0
- package/dist/ui/alert.js +1 -0
- package/dist/ui/aspect-ratio.cjs +1 -1
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.ts +24 -0
- package/dist/ui/aspect-ratio.js +2 -0
- package/dist/ui/aspect-ratio.js.map +1 -0
- package/dist/ui/avatar.cjs +1 -1
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.ts +35 -0
- package/dist/ui/avatar.js +1 -0
- package/dist/ui/badge.cjs +1 -1
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.ts +2 -0
- package/dist/ui/badge.js +1 -0
- package/dist/ui/breadcrumb.cjs +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.ts +72 -0
- package/dist/ui/breadcrumb.js +2 -0
- package/dist/ui/breadcrumb.js.map +1 -0
- package/dist/ui/button-group.cjs +1 -1
- package/dist/ui/button-group.d.cts +7 -7
- package/dist/ui/button-group.d.ts +50 -0
- package/dist/ui/button-group.js +2 -0
- package/dist/ui/button-group.js.map +1 -0
- package/dist/ui/button.cjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.ts +2 -0
- package/dist/ui/button.js +1 -0
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.d.ts +17 -0
- package/dist/ui/buttons/add-new.js +2 -0
- package/dist/ui/buttons/add-new.js.map +1 -0
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.d.ts +17 -0
- package/dist/ui/buttons/edit.js +2 -0
- package/dist/ui/buttons/edit.js.map +1 -0
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.d.ts +17 -0
- package/dist/ui/buttons/refresh.js +2 -0
- package/dist/ui/buttons/refresh.js.map +1 -0
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.d.ts +17 -0
- package/dist/ui/buttons/trash.js +2 -0
- package/dist/ui/buttons/trash.js.map +1 -0
- package/dist/ui/buttons/upload-image.cjs +1 -1
- package/dist/ui/buttons/upload-image.d.ts +24 -0
- package/dist/ui/buttons/upload-image.js +2 -0
- package/dist/ui/buttons/upload-image.js.map +1 -0
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.ts +45 -0
- package/dist/ui/calendar.js +1 -0
- package/dist/ui/card.cjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.ts +63 -0
- package/dist/ui/card.js +2 -0
- package/dist/ui/card.js.map +1 -0
- package/dist/ui/carousel.cjs +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.ts +71 -0
- package/dist/ui/carousel.js +2 -0
- package/dist/ui/carousel.js.map +1 -0
- package/dist/ui/checkbox.cjs +1 -1
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.ts +26 -0
- package/dist/ui/checkbox.js +1 -0
- package/dist/ui/collapsible.cjs +1 -1
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.ts +34 -0
- package/dist/ui/collapsible.js +2 -0
- package/dist/ui/collapsible.js.map +1 -0
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.ts +89 -0
- package/dist/ui/command.js +1 -0
- package/dist/ui/context-menu.cjs +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.ts +125 -0
- package/dist/ui/context-menu.js +2 -0
- package/dist/ui/context-menu.js.map +1 -0
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.ts +2 -0
- package/dist/ui/dialog.js +1 -0
- package/dist/ui/drawer.cjs +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.ts +72 -0
- package/dist/ui/drawer.js +1 -0
- package/dist/ui/dropdown-menu.cjs +1 -1
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.ts +127 -0
- package/dist/ui/dropdown-menu.js +1 -0
- package/dist/ui/empty.cjs +1 -1
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.ts +68 -0
- package/dist/ui/empty.js +2 -0
- package/dist/ui/empty.js.map +1 -0
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +24 -24
- package/dist/ui/field.d.ts +65 -0
- package/dist/ui/field.js +1 -0
- package/dist/ui/file-uploader.cjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.ts +103 -0
- package/dist/ui/file-uploader.js +3 -0
- package/dist/ui/file-uploader.js.map +1 -0
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.d.cts +10 -10
- package/dist/ui/form.d.ts +112 -0
- package/dist/ui/form.js +2 -0
- package/dist/ui/form.js.map +1 -0
- package/dist/ui/hover-card.cjs +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.ts +37 -0
- package/dist/ui/hover-card.js +2 -0
- package/dist/ui/hover-card.js.map +1 -0
- package/dist/ui/image.cjs +1 -1
- package/dist/ui/image.d.ts +36 -0
- package/dist/ui/image.js +1 -0
- package/dist/ui/input-otp.cjs +1 -1
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.ts +59 -0
- package/dist/ui/input-otp.js +2 -0
- package/dist/ui/input-otp.js.map +1 -0
- package/dist/ui/input.cjs +1 -1
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.ts +2 -0
- package/dist/ui/input.js +1 -0
- 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 +29 -0
- package/dist/ui/inputs/search-input.js +2 -0
- package/dist/ui/inputs/search-input.js.map +1 -0
- package/dist/ui/item.cjs +1 -1
- package/dist/ui/item.d.cts +14 -14
- package/dist/ui/item.d.ts +102 -0
- package/dist/ui/item.js +2 -0
- package/dist/ui/item.js.map +1 -0
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.ts +24 -0
- package/dist/ui/label.js +1 -0
- package/dist/ui/menubar.cjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.ts +135 -0
- package/dist/ui/menubar.js +2 -0
- package/dist/ui/menubar.js.map +1 -0
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.ts +118 -0
- package/dist/ui/multi-select.js +2 -0
- package/dist/ui/multi-select.js.map +1 -0
- package/dist/ui/navigation-menu.cjs +1 -1
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.ts +77 -0
- package/dist/ui/navigation-menu.js +2 -0
- package/dist/ui/navigation-menu.js.map +1 -0
- package/dist/ui/pagination.cjs +1 -1
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.ts +67 -0
- package/dist/ui/pagination.js +2 -0
- package/dist/ui/pagination.js.map +1 -0
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.ts +52 -0
- package/dist/ui/popover.js +1 -0
- package/dist/ui/progress.cjs +1 -1
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.ts +23 -0
- package/dist/ui/progress.js +1 -0
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.ts +37 -0
- package/dist/ui/radio-group.js +1 -0
- package/dist/ui/resizable.cjs +1 -1
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.ts +63 -0
- package/dist/ui/resizable.js +1 -0
- package/dist/ui/scroll-area.cjs +1 -1
- package/dist/ui/scroll-area.d.cts +5 -5
- package/dist/ui/scroll-area.d.ts +37 -0
- package/dist/ui/scroll-area.js +2 -0
- package/dist/ui/scroll-area.js.map +1 -0
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.ts +77 -0
- package/dist/ui/select.js +1 -0
- package/dist/ui/separator.cjs +1 -1
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.ts +34 -0
- package/dist/ui/separator.js +1 -0
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.ts +69 -0
- package/dist/ui/sheet.js +1 -0
- package/dist/ui/skeleton.cjs +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.ts +27 -0
- package/dist/ui/skeleton.js +1 -0
- package/dist/ui/slider.cjs +1 -1
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.ts +26 -0
- package/dist/ui/slider.js +2 -0
- package/dist/ui/slider.js.map +1 -0
- package/dist/ui/sonner.cjs +1 -1
- package/dist/ui/sonner.cjs.map +1 -1
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.ts +24 -0
- package/dist/ui/sonner.js +2 -0
- package/dist/ui/sonner.js.map +1 -0
- package/dist/ui/spinner.cjs +1 -1
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.ts +25 -0
- package/dist/ui/spinner.js +1 -0
- package/dist/ui/switch.cjs +1 -1
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.ts +26 -0
- package/dist/ui/switch.js +1 -0
- package/dist/ui/table.cjs +1 -1
- package/dist/ui/table.d.cts +17 -17
- package/dist/ui/table.d.ts +73 -0
- package/dist/ui/table.js +2 -0
- package/dist/ui/table.js.map +1 -0
- package/dist/ui/tabs.cjs +1 -1
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.ts +44 -0
- package/dist/ui/tabs.js +2 -0
- package/dist/ui/tabs.js.map +1 -0
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.ts +30 -0
- package/dist/ui/textarea.js +1 -0
- package/dist/ui/toggle-group.cjs +1 -1
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.ts +39 -0
- package/dist/ui/toggle-group.js +2 -0
- package/dist/ui/toggle-group.js.map +1 -0
- package/dist/ui/toggle.cjs +1 -1
- package/dist/ui/toggle.d.cts +4 -4
- package/dist/ui/toggle.d.ts +32 -0
- package/dist/ui/toggle.js +2 -0
- package/dist/ui/toggle.js.map +1 -0
- package/dist/ui/tooltip.cjs +1 -1
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.ts +55 -0
- package/dist/ui/tooltip.js +1 -0
- package/dist/user-BSpgswEC.js +2 -0
- package/dist/user-BSpgswEC.js.map +1 -0
- package/dist/user-ii4FBhO1.cjs +2 -0
- package/dist/user-ii4FBhO1.cjs.map +1 -0
- package/package.json +20 -5
- package/styles/spacing.css +186 -0
- package/dist/alert-BbvPwf2x.mjs +0 -2
- package/dist/alert-BbvPwf2x.mjs.map +0 -1
- package/dist/alert-CT7oAzCC.d.mts +0 -88
- package/dist/alert-DubR6Szk.cjs +0 -2
- package/dist/alert-DubR6Szk.cjs.map +0 -1
- package/dist/alert-lqPNRRvJ.d.cts +0 -88
- package/dist/avatar-CqRl9dge.cjs +0 -2
- package/dist/avatar-CqRl9dge.cjs.map +0 -1
- package/dist/avatar-m1LjDIil.mjs +0 -2
- package/dist/avatar-m1LjDIil.mjs.map +0 -1
- package/dist/badge-Bhbhmsic.mjs +0 -2
- package/dist/badge-Bhbhmsic.mjs.map +0 -1
- package/dist/badge-C4nTfJGX.d.mts +0 -42
- package/dist/badge-DMnKV_uW.cjs +0 -2
- package/dist/badge-DMnKV_uW.cjs.map +0 -1
- package/dist/badge-Dq-Yyus_.d.cts +0 -42
- package/dist/button-Bu4ejNOW.cjs +0 -2
- package/dist/button-Bu4ejNOW.cjs.map +0 -1
- package/dist/button-CYLxBCfa.d.cts +0 -174
- package/dist/button-CfPTDyoq.mjs +0 -2
- package/dist/button-CfPTDyoq.mjs.map +0 -1
- package/dist/button-DlFsSFmT.d.mts +0 -174
- package/dist/button.variants-B8aRZ52K.mjs +0 -2
- package/dist/button.variants-B8aRZ52K.mjs.map +0 -1
- package/dist/button.variants-tnhb123u.cjs +0 -2
- package/dist/button.variants-tnhb123u.cjs.map +0 -1
- package/dist/calendar-BDhIfwPP.mjs +0 -2
- package/dist/calendar-BDhIfwPP.mjs.map +0 -1
- package/dist/calendar-CMd11yg9.cjs +0 -2
- package/dist/calendar-CMd11yg9.cjs.map +0 -1
- package/dist/cards/grid-product-card.d.mts +0 -37
- package/dist/cards/grid-product-card.mjs +0 -2
- package/dist/cards/grid-product-card.mjs.map +0 -1
- package/dist/cards/product-card.d.mts +0 -37
- package/dist/cards/product-card.mjs +0 -2
- package/dist/cards/product-card.mjs.map +0 -1
- package/dist/cards/simple-card.d.mts +0 -35
- package/dist/cards/simple-card.mjs +0 -2
- package/dist/cards/simple-card.mjs.map +0 -1
- package/dist/checkbox-BwDvS4De.cjs +0 -2
- package/dist/checkbox-BwDvS4De.cjs.map +0 -1
- package/dist/checkbox-CgHaRkuU.mjs +0 -2
- package/dist/checkbox-CgHaRkuU.mjs.map +0 -1
- package/dist/chunk-Bmb41Sf3.cjs +0 -1
- package/dist/close-B7OOMSZl.mjs +0 -2
- package/dist/close-B7OOMSZl.mjs.map +0 -1
- package/dist/close-DrCUWZt0.cjs +0 -2
- package/dist/close-DrCUWZt0.cjs.map +0 -1
- package/dist/cms-layout-BrubV8D8.cjs +0 -2
- package/dist/cms-layout-BrubV8D8.cjs.map +0 -1
- package/dist/cms-layout-C2-yysO2.mjs +0 -2
- package/dist/cms-layout-C2-yysO2.mjs.map +0 -1
- package/dist/command-DiXzSGc8.cjs +0 -2
- package/dist/command-DiXzSGc8.cjs.map +0 -1
- package/dist/command-FnbrPZ7_.mjs +0 -2
- package/dist/command-FnbrPZ7_.mjs.map +0 -1
- package/dist/data-display/country.d.mts +0 -22
- package/dist/data-display/country.mjs +0 -2
- package/dist/data-display/country.mjs.map +0 -1
- package/dist/data-display/data-list.d.mts +0 -43
- package/dist/data-display/data-list.mjs +0 -2
- package/dist/data-display/data-list.mjs.map +0 -1
- package/dist/data-display/date-tooltip.d.mts +0 -19
- package/dist/data-display/date-tooltip.mjs +0 -2
- package/dist/data-display/date-tooltip.mjs.map +0 -1
- package/dist/data-display/date.d.mts +0 -39
- package/dist/data-display/date.mjs +0 -1
- package/dist/data-display/empty.d.mts +0 -21
- package/dist/data-display/empty.mjs +0 -2
- package/dist/data-display/empty.mjs.map +0 -1
- package/dist/data-display/name.d.mts +0 -19
- package/dist/data-display/name.mjs +0 -2
- package/dist/data-display/name.mjs.map +0 -1
- package/dist/data-display/phone-number.d.mts +0 -19
- package/dist/data-display/phone-number.mjs +0 -2
- package/dist/data-display/phone-number.mjs.map +0 -1
- package/dist/data-display/role-badge.d.mts +0 -22
- package/dist/data-display/role-badge.mjs +0 -2
- package/dist/data-display/role-badge.mjs.map +0 -1
- package/dist/data-display/statistic.d.mts +0 -57
- package/dist/data-display/statistic.mjs +0 -1
- package/dist/data-display/user.d.mts +0 -23
- package/dist/data-display/user.mjs +0 -1
- package/dist/date-CFgc7pK3.mjs +0 -2
- package/dist/date-CFgc7pK3.mjs.map +0 -1
- package/dist/date-DtajzNoy.cjs +0 -2
- package/dist/date-DtajzNoy.cjs.map +0 -1
- package/dist/dialog-1ArhWB8r.d.cts +0 -90
- package/dist/dialog-D1sWnn6n.cjs +0 -2
- package/dist/dialog-D1sWnn6n.cjs.map +0 -1
- package/dist/dialog-EGFZeITu.mjs +0 -2
- package/dist/dialog-EGFZeITu.mjs.map +0 -1
- package/dist/dialog-_zfOGo8B.d.mts +0 -90
- package/dist/dialogs/confirm-dialog.d.mts +0 -142
- package/dist/dialogs/confirm-dialog.mjs +0 -2
- package/dist/dialogs/confirm-dialog.mjs.map +0 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +0 -209
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +0 -1
- package/dist/dialogs/detail-dialog/index.d.mts +0 -45
- package/dist/dialogs/detail-dialog/index.mjs +0 -2
- package/dist/dialogs/detail-dialog/index.mjs.map +0 -1
- package/dist/dialogs/error-dialog.d.mts +0 -25
- package/dist/dialogs/error-dialog.mjs +0 -2
- package/dist/dialogs/error-dialog.mjs.map +0 -1
- package/dist/dialogs/loading-dialog.d.mts +0 -21
- package/dist/dialogs/loading-dialog.mjs +0 -2
- package/dist/dialogs/loading-dialog.mjs.map +0 -1
- package/dist/dist-BQGL-YKY.mjs +0 -2
- package/dist/dist-BQGL-YKY.mjs.map +0 -1
- package/dist/dist-CAeolvAH.cjs +0 -2
- package/dist/dist-CAeolvAH.cjs.map +0 -1
- package/dist/drawer-B6C8-Ndu.cjs +0 -2
- package/dist/drawer-B6C8-Ndu.cjs.map +0 -1
- package/dist/drawer-CMD7JWH8.mjs +0 -2
- package/dist/drawer-CMD7JWH8.mjs.map +0 -1
- package/dist/dropdown-menu-Bz7oMQ36.cjs +0 -2
- package/dist/dropdown-menu-Bz7oMQ36.cjs.map +0 -1
- package/dist/dropdown-menu-C6tRSumY.mjs +0 -2
- package/dist/dropdown-menu-C6tRSumY.mjs.map +0 -1
- package/dist/features/descriptions/index.d.mts +0 -246
- package/dist/features/descriptions/index.mjs +0 -2
- package/dist/features/descriptions/index.mjs.map +0 -1
- package/dist/features/search-modal/index.d.mts +0 -17
- package/dist/features/search-modal/index.mjs +0 -1
- package/dist/features/tables/index.d.mts +0 -3
- package/dist/features/tables/index.mjs +0 -1
- package/dist/features/tanstack-form/index.d.mts +0 -2
- package/dist/features/tanstack-form/index.mjs +0 -1
- package/dist/features/text-editor/index.d.mts +0 -2
- package/dist/features/text-editor/index.mjs +0 -1
- package/dist/field-DhgAIueI.mjs +0 -2
- package/dist/field-DhgAIueI.mjs.map +0 -1
- package/dist/field-pfL7RWcN.cjs +0 -2
- package/dist/field-pfL7RWcN.cjs.map +0 -1
- package/dist/flex-BAcvp4lB.mjs +0 -2
- package/dist/flex-BAcvp4lB.mjs.map +0 -1
- package/dist/flex-DYh2t8ft.cjs +0 -2
- package/dist/flex-DYh2t8ft.cjs.map +0 -1
- package/dist/heading-wUXEbicM.cjs +0 -2
- package/dist/heading-wUXEbicM.cjs.map +0 -1
- package/dist/heading-woRh-IC7.mjs +0 -2
- package/dist/heading-woRh-IC7.mjs.map +0 -1
- package/dist/image-D2U1SBw5.mjs +0 -2
- package/dist/image-D2U1SBw5.mjs.map +0 -1
- package/dist/image-Y7gCz7uE.cjs +0 -2
- package/dist/image-Y7gCz7uE.cjs.map +0 -1
- package/dist/index-9dZXIJo5.d.mts +0 -2749
- package/dist/index-C6nrbQ-E.d.cts +0 -1061
- package/dist/index-CJoz7sMc.d.mts +0 -1061
- package/dist/index-CQkuntSj.d.cts +0 -2749
- package/dist/index-DiW-62hY.d.mts +0 -85
- package/dist/index.d.mts +0 -93
- package/dist/index.mjs +0 -1
- package/dist/input-5gk-Jv1y.mjs +0 -2
- package/dist/input-5gk-Jv1y.mjs.map +0 -1
- package/dist/input-BAr0l-oA.d.cts +0 -44
- package/dist/input-BvzsfAUc.cjs +0 -2
- package/dist/input-BvzsfAUc.cjs.map +0 -1
- package/dist/input-DXO2mTgG.d.mts +0 -44
- package/dist/label-D9uNQ9b_.mjs +0 -2
- package/dist/label-D9uNQ9b_.mjs.map +0 -1
- package/dist/label-eIyGIRyw.cjs +0 -2
- package/dist/label-eIyGIRyw.cjs.map +0 -1
- package/dist/layouts/cms-layout/index.d.mts +0 -76
- package/dist/layouts/cms-layout/index.mjs +0 -1
- package/dist/layouts/flex.d.mts +0 -117
- package/dist/layouts/flex.mjs +0 -1
- package/dist/layouts/grid.d.mts +0 -19
- package/dist/layouts/grid.mjs +0 -2
- package/dist/layouts/grid.mjs.map +0 -1
- package/dist/layouts/payment-layout/index.d.mts +0 -74
- package/dist/layouts/payment-layout/index.mjs +0 -1
- package/dist/pages/FeatureDeveloping.d.mts +0 -43
- package/dist/pages/FeatureDeveloping.mjs +0 -2
- package/dist/pages/FeatureDeveloping.mjs.map +0 -1
- package/dist/pages/FeatureFixing.d.mts +0 -43
- package/dist/pages/FeatureFixing.mjs +0 -2
- package/dist/pages/FeatureFixing.mjs.map +0 -1
- package/dist/pages/LoginPage.d.mts +0 -55
- package/dist/pages/LoginPage.mjs +0 -2
- package/dist/pages/LoginPage.mjs.map +0 -1
- package/dist/pages/NotAuthorized.d.mts +0 -43
- package/dist/pages/NotAuthorized.mjs +0 -2
- package/dist/pages/NotAuthorized.mjs.map +0 -1
- package/dist/pages/NotFound.d.mts +0 -43
- package/dist/pages/NotFound.mjs +0 -2
- package/dist/pages/NotFound.mjs.map +0 -1
- package/dist/pages/RegisterPage.d.mts +0 -52
- package/dist/pages/RegisterPage.mjs +0 -2
- package/dist/pages/RegisterPage.mjs.map +0 -1
- package/dist/pages/VerifyEmailPage.d.mts +0 -64
- package/dist/pages/VerifyEmailPage.mjs +0 -2
- package/dist/pages/VerifyEmailPage.mjs.map +0 -1
- package/dist/paragraph-CjstaJFj.mjs +0 -2
- package/dist/paragraph-CjstaJFj.mjs.map +0 -1
- package/dist/paragraph-D-JHj7EP.cjs +0 -2
- package/dist/paragraph-D-JHj7EP.cjs.map +0 -1
- package/dist/payment-layout-_ZM4uBy_.mjs +0 -2
- package/dist/payment-layout-_ZM4uBy_.mjs.map +0 -1
- package/dist/payment-layout-fsYTkw3r.cjs +0 -2
- package/dist/payment-layout-fsYTkw3r.cjs.map +0 -1
- package/dist/popover-DwgdOX8a.mjs +0 -2
- package/dist/popover-DwgdOX8a.mjs.map +0 -1
- package/dist/popover-fsTCOb6a.cjs +0 -2
- package/dist/popover-fsTCOb6a.cjs.map +0 -1
- package/dist/progress-CDYA2V-W.cjs +0 -2
- package/dist/progress-CDYA2V-W.cjs.map +0 -1
- package/dist/progress-DCBKnTx0.mjs +0 -2
- package/dist/progress-DCBKnTx0.mjs.map +0 -1
- package/dist/radio-group-B-M599Ys.cjs +0 -2
- package/dist/radio-group-B-M599Ys.cjs.map +0 -1
- package/dist/radio-group-Y9bhdr55.mjs +0 -2
- package/dist/radio-group-Y9bhdr55.mjs.map +0 -1
- package/dist/resizable-DATSh0Du.cjs +0 -2
- package/dist/resizable-DATSh0Du.cjs.map +0 -1
- package/dist/resizable-DP1BQAF_.mjs +0 -2
- package/dist/resizable-DP1BQAF_.mjs.map +0 -1
- package/dist/search-modal-CYRJEDE-.cjs +0 -2
- package/dist/search-modal-CYRJEDE-.cjs.map +0 -1
- package/dist/search-modal-DWu08xkE.mjs +0 -2
- package/dist/search-modal-DWu08xkE.mjs.map +0 -1
- package/dist/select-BAlA65tZ.mjs +0 -2
- package/dist/select-BAlA65tZ.mjs.map +0 -1
- package/dist/select-Cib2aiw5.cjs +0 -2
- package/dist/select-Cib2aiw5.cjs.map +0 -1
- package/dist/separator-C6s-YvlT.mjs +0 -2
- package/dist/separator-C6s-YvlT.mjs.map +0 -1
- package/dist/separator-CBup_ah1.cjs +0 -2
- package/dist/separator-CBup_ah1.cjs.map +0 -1
- package/dist/sheet-Cj8hoftE.mjs +0 -2
- package/dist/sheet-Cj8hoftE.mjs.map +0 -1
- package/dist/sheet-DAjZ-Q6Q.cjs +0 -2
- package/dist/sheet-DAjZ-Q6Q.cjs.map +0 -1
- package/dist/sidebar-Drasn0Bx.cjs +0 -2
- package/dist/sidebar-Drasn0Bx.cjs.map +0 -1
- package/dist/sidebar-RcmDh50_.mjs +0 -2
- package/dist/sidebar-RcmDh50_.mjs.map +0 -1
- package/dist/skeleton-CHympz8k.cjs +0 -2
- package/dist/skeleton-CHympz8k.cjs.map +0 -1
- package/dist/skeleton-DupQ91XW.mjs +0 -2
- package/dist/skeleton-DupQ91XW.mjs.map +0 -1
- package/dist/spinner-BCnPYF1H.mjs +0 -2
- package/dist/spinner-BCnPYF1H.mjs.map +0 -1
- package/dist/spinner-Bdta7BMp.cjs +0 -2
- package/dist/spinner-Bdta7BMp.cjs.map +0 -1
- package/dist/statistic-Cm4nbkjQ.mjs +0 -2
- package/dist/statistic-Cm4nbkjQ.mjs.map +0 -1
- package/dist/statistic-DDDm5Om1.cjs +0 -2
- package/dist/statistic-DDDm5Om1.cjs.map +0 -1
- package/dist/switch-BP7EPatj.mjs +0 -2
- package/dist/switch-BP7EPatj.mjs.map +0 -1
- package/dist/switch-Dbc77c_D.cjs +0 -2
- package/dist/switch-Dbc77c_D.cjs.map +0 -1
- package/dist/systems/google.d.mts +0 -53
- package/dist/systems/google.mjs +0 -2
- package/dist/systems/google.mjs.map +0 -1
- package/dist/tables-B3Ald6An.cjs +0 -4
- package/dist/tables-B3Ald6An.cjs.map +0 -1
- package/dist/tables-C3asiSD4.mjs +0 -4
- package/dist/tables-C3asiSD4.mjs.map +0 -1
- package/dist/tanstack-form-Byb7E1m9.cjs +0 -2
- package/dist/tanstack-form-Byb7E1m9.cjs.map +0 -1
- package/dist/tanstack-form-Dg_0hFwX.mjs +0 -2
- package/dist/tanstack-form-Dg_0hFwX.mjs.map +0 -1
- package/dist/text-editor-Bg0Wtnt3.mjs +0 -2
- package/dist/text-editor-Bg0Wtnt3.mjs.map +0 -1
- package/dist/text-editor-DtLcsiR7.cjs +0 -2
- package/dist/text-editor-DtLcsiR7.cjs.map +0 -1
- package/dist/textarea-7HDXcaK9.mjs +0 -2
- package/dist/textarea-7HDXcaK9.mjs.map +0 -1
- package/dist/textarea-Byo8E8oi.cjs +0 -2
- package/dist/textarea-Byo8E8oi.cjs.map +0 -1
- package/dist/tooltip-BfBJRYpc.mjs +0 -2
- package/dist/tooltip-BfBJRYpc.mjs.map +0 -1
- package/dist/tooltip-DC6i1A25.cjs +0 -2
- package/dist/tooltip-DC6i1A25.cjs.map +0 -1
- package/dist/types-CFXgrpTm.mjs +0 -2
- package/dist/types-CFXgrpTm.mjs.map +0 -1
- package/dist/types-YLu40dXY.d.mts +0 -24
- package/dist/typography/paragraph.d.mts +0 -48
- package/dist/typography/paragraph.mjs +0 -1
- package/dist/typography/title.d.mts +0 -43
- package/dist/typography/title.mjs +0 -2
- package/dist/typography/title.mjs.map +0 -1
- package/dist/ui/alert-dialog.d.mts +0 -90
- package/dist/ui/alert-dialog.mjs +0 -2
- package/dist/ui/alert-dialog.mjs.map +0 -1
- package/dist/ui/alert.d.mts +0 -2
- package/dist/ui/alert.mjs +0 -1
- package/dist/ui/aspect-ratio.d.mts +0 -24
- package/dist/ui/aspect-ratio.mjs +0 -2
- package/dist/ui/aspect-ratio.mjs.map +0 -1
- package/dist/ui/avatar.d.mts +0 -35
- package/dist/ui/avatar.mjs +0 -1
- package/dist/ui/badge.d.mts +0 -2
- package/dist/ui/badge.mjs +0 -1
- package/dist/ui/breadcrumb.d.mts +0 -72
- package/dist/ui/breadcrumb.mjs +0 -2
- package/dist/ui/breadcrumb.mjs.map +0 -1
- package/dist/ui/button-group.d.mts +0 -50
- package/dist/ui/button-group.mjs +0 -2
- package/dist/ui/button-group.mjs.map +0 -1
- package/dist/ui/button.d.mts +0 -2
- package/dist/ui/button.mjs +0 -1
- package/dist/ui/buttons/add-new.d.mts +0 -17
- package/dist/ui/buttons/add-new.mjs +0 -2
- package/dist/ui/buttons/add-new.mjs.map +0 -1
- package/dist/ui/buttons/edit.d.mts +0 -17
- package/dist/ui/buttons/edit.mjs +0 -2
- package/dist/ui/buttons/edit.mjs.map +0 -1
- package/dist/ui/buttons/refresh.d.mts +0 -17
- package/dist/ui/buttons/refresh.mjs +0 -2
- package/dist/ui/buttons/refresh.mjs.map +0 -1
- package/dist/ui/buttons/trash.d.mts +0 -17
- package/dist/ui/buttons/trash.mjs +0 -2
- package/dist/ui/buttons/trash.mjs.map +0 -1
- package/dist/ui/buttons/upload-image.d.mts +0 -24
- package/dist/ui/buttons/upload-image.mjs +0 -2
- package/dist/ui/buttons/upload-image.mjs.map +0 -1
- package/dist/ui/calendar.d.mts +0 -45
- package/dist/ui/calendar.mjs +0 -1
- package/dist/ui/card.d.mts +0 -63
- package/dist/ui/card.mjs +0 -2
- package/dist/ui/card.mjs.map +0 -1
- package/dist/ui/carousel.d.mts +0 -71
- package/dist/ui/carousel.mjs +0 -2
- package/dist/ui/carousel.mjs.map +0 -1
- package/dist/ui/checkbox.d.mts +0 -26
- package/dist/ui/checkbox.mjs +0 -1
- package/dist/ui/collapsible.d.mts +0 -34
- package/dist/ui/collapsible.mjs +0 -2
- package/dist/ui/collapsible.mjs.map +0 -1
- package/dist/ui/command.d.mts +0 -89
- package/dist/ui/command.mjs +0 -1
- package/dist/ui/context-menu.d.mts +0 -125
- package/dist/ui/context-menu.mjs +0 -2
- package/dist/ui/context-menu.mjs.map +0 -1
- package/dist/ui/dialog.d.mts +0 -2
- package/dist/ui/dialog.mjs +0 -1
- package/dist/ui/drawer.d.mts +0 -72
- package/dist/ui/drawer.mjs +0 -1
- package/dist/ui/dropdown-menu.d.mts +0 -127
- package/dist/ui/dropdown-menu.mjs +0 -1
- package/dist/ui/empty.d.mts +0 -68
- package/dist/ui/empty.mjs +0 -2
- package/dist/ui/empty.mjs.map +0 -1
- package/dist/ui/field.d.mts +0 -65
- package/dist/ui/field.mjs +0 -1
- package/dist/ui/file-uploader.d.mts +0 -103
- package/dist/ui/file-uploader.mjs +0 -3
- package/dist/ui/file-uploader.mjs.map +0 -1
- package/dist/ui/form.d.mts +0 -112
- package/dist/ui/form.mjs +0 -2
- package/dist/ui/form.mjs.map +0 -1
- package/dist/ui/hover-card.d.mts +0 -37
- package/dist/ui/hover-card.mjs +0 -2
- package/dist/ui/hover-card.mjs.map +0 -1
- package/dist/ui/image.d.mts +0 -36
- package/dist/ui/image.mjs +0 -1
- package/dist/ui/input-otp.d.mts +0 -59
- package/dist/ui/input-otp.mjs +0 -2
- package/dist/ui/input-otp.mjs.map +0 -1
- package/dist/ui/input.d.mts +0 -2
- package/dist/ui/input.mjs +0 -1
- package/dist/ui/inputs/search-input.d.mts +0 -29
- package/dist/ui/inputs/search-input.mjs +0 -2
- package/dist/ui/inputs/search-input.mjs.map +0 -1
- package/dist/ui/item.d.mts +0 -102
- package/dist/ui/item.mjs +0 -2
- package/dist/ui/item.mjs.map +0 -1
- package/dist/ui/label.d.mts +0 -24
- package/dist/ui/label.mjs +0 -1
- package/dist/ui/menubar.d.mts +0 -135
- package/dist/ui/menubar.mjs +0 -2
- package/dist/ui/menubar.mjs.map +0 -1
- package/dist/ui/multi-select.d.mts +0 -118
- package/dist/ui/multi-select.mjs +0 -2
- package/dist/ui/multi-select.mjs.map +0 -1
- package/dist/ui/navigation-menu.d.mts +0 -77
- package/dist/ui/navigation-menu.mjs +0 -2
- package/dist/ui/navigation-menu.mjs.map +0 -1
- package/dist/ui/pagination.d.mts +0 -67
- package/dist/ui/pagination.mjs +0 -2
- package/dist/ui/pagination.mjs.map +0 -1
- package/dist/ui/popover.d.mts +0 -52
- package/dist/ui/popover.mjs +0 -1
- package/dist/ui/progress.d.mts +0 -23
- package/dist/ui/progress.mjs +0 -1
- package/dist/ui/radio-group.d.mts +0 -37
- package/dist/ui/radio-group.mjs +0 -1
- package/dist/ui/resizable.d.mts +0 -63
- package/dist/ui/resizable.mjs +0 -1
- package/dist/ui/scroll-area.d.mts +0 -37
- package/dist/ui/scroll-area.mjs +0 -2
- package/dist/ui/scroll-area.mjs.map +0 -1
- package/dist/ui/select.d.mts +0 -77
- package/dist/ui/select.mjs +0 -1
- package/dist/ui/separator.d.mts +0 -34
- package/dist/ui/separator.mjs +0 -1
- package/dist/ui/sheet.d.mts +0 -69
- package/dist/ui/sheet.mjs +0 -1
- package/dist/ui/skeleton.d.mts +0 -27
- package/dist/ui/skeleton.mjs +0 -1
- package/dist/ui/slider.d.mts +0 -26
- package/dist/ui/slider.mjs +0 -2
- package/dist/ui/slider.mjs.map +0 -1
- package/dist/ui/sonner.d.mts +0 -24
- package/dist/ui/sonner.mjs +0 -2
- package/dist/ui/sonner.mjs.map +0 -1
- package/dist/ui/spinner.d.mts +0 -25
- package/dist/ui/spinner.mjs +0 -1
- package/dist/ui/switch.d.mts +0 -26
- package/dist/ui/switch.mjs +0 -1
- package/dist/ui/table.d.mts +0 -73
- package/dist/ui/table.mjs +0 -2
- package/dist/ui/table.mjs.map +0 -1
- package/dist/ui/tabs.d.mts +0 -44
- package/dist/ui/tabs.mjs +0 -2
- package/dist/ui/tabs.mjs.map +0 -1
- package/dist/ui/textarea.d.mts +0 -30
- package/dist/ui/textarea.mjs +0 -1
- package/dist/ui/toggle-group.d.mts +0 -39
- package/dist/ui/toggle-group.mjs +0 -2
- package/dist/ui/toggle-group.mjs.map +0 -1
- package/dist/ui/toggle.d.mts +0 -32
- package/dist/ui/toggle.mjs +0 -2
- package/dist/ui/toggle.mjs.map +0 -1
- package/dist/ui/tooltip.d.mts +0 -55
- package/dist/ui/tooltip.mjs +0 -1
- package/dist/user-D8Skw8dI.mjs +0 -2
- package/dist/user-D8Skw8dI.mjs.map +0 -1
- package/dist/user-Dns1BKaT.cjs +0 -2
- package/dist/user-Dns1BKaT.cjs.map +0 -1
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react47 from "react";
|
|
2
|
-
import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
3
|
-
|
|
4
|
-
//#region packages/components/ui/aspect-ratio.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Constrains its child to a given aspect ratio using the Radix UI AspectRatio primitive.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* import { AspectRatio } from '@customafk/lunas-ui/ui/aspect-ratio';
|
|
12
|
-
*
|
|
13
|
-
* <AspectRatio ratio={16 / 9}>
|
|
14
|
-
* <img src="/banner.jpg" alt="Banner" className="size-full object-cover" />
|
|
15
|
-
* </AspectRatio>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
declare function AspectRatio({
|
|
19
|
-
className,
|
|
20
|
-
...props
|
|
21
|
-
}: React.ComponentProps<typeof AspectRatio$1.Root>): react47.JSX.Element;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { AspectRatio };
|
|
24
|
-
//# sourceMappingURL=aspect-ratio.d.mts.map
|
package/dist/ui/aspect-ratio.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{cn as e}from"@customafk/react-toolkit/utils";import{jsx as t}from"react/jsx-runtime";import{AspectRatio as n}from"radix-ui";function r({className:r,...i}){return t(n.Root,{"data-slot":`aspect-ratio`,className:e(`bg-secondary-muted rounded-md`,r),...i})}export{r as AspectRatio};
|
|
2
|
-
//# sourceMappingURL=aspect-ratio.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio.mjs","names":["AspectRatioPrimitive"],"sources":["../../packages/components/ui/aspect-ratio.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { AspectRatio as AspectRatioPrimitive } from 'radix-ui';\n\n/**\n * Constrains its child to a given aspect ratio using the Radix UI AspectRatio primitive.\n *\n * @example\n * ```tsx\n * import { AspectRatio } from '@customafk/lunas-ui/ui/aspect-ratio';\n *\n * <AspectRatio ratio={16 / 9}>\n * <img src=\"/banner.jpg\" alt=\"Banner\" className=\"size-full object-cover\" />\n * </AspectRatio>\n * ```\n */\nfunction AspectRatio({ className, ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>) {\n return <AspectRatioPrimitive.Root data-slot=\"aspect-ratio\" className={cn('bg-secondary-muted rounded-md', className)} {...props} />;\n}\n\nexport { AspectRatio };\n"],"mappings":"gJAiBA,SAAS,EAAY,CAAE,YAAW,GAAG,GAAiE,CACpG,OAAO,EAACA,EAAqB,KAAA,CAAK,YAAU,eAAe,UAAW,EAAG,gCAAiC,EAAU,CAAE,GAAI,GAAS"}
|
package/dist/ui/avatar.d.mts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as react68 from "react";
|
|
2
|
-
import { Avatar as Avatar$1 } from "radix-ui";
|
|
3
|
-
|
|
4
|
-
//#region packages/components/ui/avatar.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Circular user avatar built on Radix UI's Avatar primitives, falling back to initials or an icon when the image fails to load.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* import { Avatar, AvatarImage, AvatarFallback } from '@customafk/lunas-ui/ui/avatar';
|
|
12
|
-
*
|
|
13
|
-
* <Avatar>
|
|
14
|
-
* <AvatarImage src="https://example.com/avatar.jpg" alt="Jane Doe" />
|
|
15
|
-
* <AvatarFallback>JD</AvatarFallback>
|
|
16
|
-
* </Avatar>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
declare function Avatar({
|
|
20
|
-
className,
|
|
21
|
-
...props
|
|
22
|
-
}: React.ComponentProps<typeof Avatar$1.Root>): react68.JSX.Element;
|
|
23
|
-
/** The avatar photo; hidden automatically by Radix UI when the image fails to load, revealing `AvatarFallback`. */
|
|
24
|
-
declare function AvatarImage({
|
|
25
|
-
className,
|
|
26
|
-
...props
|
|
27
|
-
}: React.ComponentProps<typeof Avatar$1.Image>): react68.JSX.Element;
|
|
28
|
-
/** Fallback content (e.g. initials) displayed inside the avatar when the image is unavailable or still loading. */
|
|
29
|
-
declare function AvatarFallback({
|
|
30
|
-
className,
|
|
31
|
-
...props
|
|
32
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>): react68.JSX.Element;
|
|
33
|
-
//#endregion
|
|
34
|
-
export { Avatar, AvatarFallback, AvatarImage };
|
|
35
|
-
//# sourceMappingURL=avatar.d.mts.map
|
package/dist/ui/avatar.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{n as e,r as t,t as n}from"../avatar-m1LjDIil.mjs";export{n as Avatar,e as AvatarFallback,t as AvatarImage};
|
package/dist/ui/badge.d.mts
DELETED
package/dist/ui/badge.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"../badge-Bhbhmsic.mjs";export{t as Badge,e as badgeVariants};
|
package/dist/ui/breadcrumb.d.mts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import * as react9 from "react";
|
|
2
|
-
|
|
3
|
-
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Root breadcrumb navigation `<nav>` element with accessible aria-label.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```tsx
|
|
10
|
-
* import {
|
|
11
|
-
* Breadcrumb, BreadcrumbList, BreadcrumbItem,
|
|
12
|
-
* BreadcrumbLink, BreadcrumbSeparator, BreadcrumbPage,
|
|
13
|
-
* } from '@customafk/lunas-ui/ui/breadcrumb';
|
|
14
|
-
*
|
|
15
|
-
* <Breadcrumb>
|
|
16
|
-
* <BreadcrumbList>
|
|
17
|
-
* <BreadcrumbItem>
|
|
18
|
-
* <BreadcrumbLink href="/">Home</BreadcrumbLink>
|
|
19
|
-
* </BreadcrumbItem>
|
|
20
|
-
* <BreadcrumbSeparator />
|
|
21
|
-
* <BreadcrumbItem>
|
|
22
|
-
* <BreadcrumbPage>Settings</BreadcrumbPage>
|
|
23
|
-
* </BreadcrumbItem>
|
|
24
|
-
* </BreadcrumbList>
|
|
25
|
-
* </Breadcrumb>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
declare function Breadcrumb({
|
|
29
|
-
className,
|
|
30
|
-
...props
|
|
31
|
-
}: React.ComponentProps<'nav'>): react9.JSX.Element;
|
|
32
|
-
/** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */
|
|
33
|
-
declare function BreadcrumbList({
|
|
34
|
-
className,
|
|
35
|
-
...props
|
|
36
|
-
}: React.ComponentProps<'ol'>): react9.JSX.Element;
|
|
37
|
-
/** Individual `<li>` item wrapper inside a BreadcrumbList. */
|
|
38
|
-
declare function BreadcrumbItem({
|
|
39
|
-
className,
|
|
40
|
-
...props
|
|
41
|
-
}: React.ComponentProps<'li'>): react9.JSX.Element;
|
|
42
|
-
/**
|
|
43
|
-
* Interactive anchor link for non-current breadcrumb segments; supports `asChild` for custom routing.
|
|
44
|
-
*
|
|
45
|
-
* @param asChild - When true, renders as the child element via Radix Slot instead of `<a>`.
|
|
46
|
-
*/
|
|
47
|
-
declare function BreadcrumbLink({
|
|
48
|
-
asChild,
|
|
49
|
-
className,
|
|
50
|
-
...props
|
|
51
|
-
}: React.ComponentProps<'a'> & {
|
|
52
|
-
asChild?: boolean;
|
|
53
|
-
}): react9.JSX.Element;
|
|
54
|
-
/** Non-interactive span representing the current page; sets `aria-current="page"`. */
|
|
55
|
-
declare function BreadcrumbPage({
|
|
56
|
-
className,
|
|
57
|
-
...props
|
|
58
|
-
}: React.ComponentProps<'span'>): react9.JSX.Element;
|
|
59
|
-
/** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */
|
|
60
|
-
declare function BreadcrumbSeparator({
|
|
61
|
-
children,
|
|
62
|
-
className,
|
|
63
|
-
...props
|
|
64
|
-
}: React.ComponentProps<'li'>): react9.JSX.Element;
|
|
65
|
-
/** Button that represents collapsed breadcrumb segments with an ellipsis icon. */
|
|
66
|
-
declare function BreadcrumbEllipsis({
|
|
67
|
-
className,
|
|
68
|
-
...props
|
|
69
|
-
}: React.ComponentProps<'button'>): react9.JSX.Element;
|
|
70
|
-
//#endregion
|
|
71
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
72
|
-
//# sourceMappingURL=breadcrumb.d.mts.map
|
package/dist/ui/breadcrumb.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{t as e}from"../dist-BQGL-YKY.mjs";import{ChevronRight as t,MoreHorizontal as n}from"lucide-react";import{cn as r}from"@customafk/react-toolkit/utils";import{jsx as i,jsxs as a}from"react/jsx-runtime";function o({className:e,...t}){return i(`nav`,{"aria-label":`breadcrumb`,"data-slot":`breadcrumb`,className:r(``,e),...t})}function s({className:e,...t}){return i(`ol`,{"data-slot":`breadcrumb-list`,className:r(`flex flex-wrap items-center gap-1.5 sm:gap-2.5`,`text-sm break-words`,`text-text-positive-weak`,e),...t})}function c({className:e,...t}){return i(`li`,{"data-slot":`breadcrumb-item`,className:r(`inline-flex items-center gap-1.5`,e),...t})}function l({asChild:t,className:n,...a}){return i(t?e:`a`,{"data-slot":`breadcrumb-link`,className:r(`text-text-positive-weak`,`transition-colors duration-150`,`hover:text-text-positive focus-visible:text-text-positive`,`focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1`,`rounded-sm`,n),...a})}function u({className:e,...t}){return i(`span`,{"data-slot":`breadcrumb-page`,"aria-current":`page`,className:r(`text-text-positive-strong font-medium`,e),...t})}function d({children:e,className:n,...a}){return i(`li`,{"data-slot":`breadcrumb-separator`,role:`presentation`,"aria-hidden":`true`,className:r(`text-text-positive-muted`,`[&>svg]:size-3.5`,n),...a,children:e??i(t,{})})}function f({className:e,...t}){return a(`button`,{"data-slot":`breadcrumb-ellipsis`,type:`button`,className:r(`flex items-center justify-center`,`size-8 rounded-sm`,`text-text-positive-weak`,`hover:bg-secondary-muted hover:text-text-positive`,`focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1`,`transition-colors duration-150`,e),...t,children:[i(n,{className:`size-4`}),i(`span`,{className:`sr-only`,children:`Show more breadcrumbs`})]})}export{o as Breadcrumb,f as BreadcrumbEllipsis,c as BreadcrumbItem,l as BreadcrumbLink,s as BreadcrumbList,u as BreadcrumbPage,d as BreadcrumbSeparator};
|
|
2
|
-
//# sourceMappingURL=breadcrumb.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.mjs","names":[],"sources":["../../packages/components/ui/breadcrumb.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { ChevronRight, MoreHorizontal } from 'lucide-react';\n\nimport { Slot } from '@radix-ui/react-slot';\n\n/**\n * Root breadcrumb navigation `<nav>` element with accessible aria-label.\n *\n * @example\n * ```tsx\n * import {\n * Breadcrumb, BreadcrumbList, BreadcrumbItem,\n * BreadcrumbLink, BreadcrumbSeparator, BreadcrumbPage,\n * } from '@customafk/lunas-ui/ui/breadcrumb';\n *\n * <Breadcrumb>\n * <BreadcrumbList>\n * <BreadcrumbItem>\n * <BreadcrumbLink href=\"/\">Home</BreadcrumbLink>\n * </BreadcrumbItem>\n * <BreadcrumbSeparator />\n * <BreadcrumbItem>\n * <BreadcrumbPage>Settings</BreadcrumbPage>\n * </BreadcrumbItem>\n * </BreadcrumbList>\n * </Breadcrumb>\n * ```\n */\nfunction Breadcrumb({ className, ...props }: React.ComponentProps<'nav'>) {\n return <nav aria-label=\"breadcrumb\" data-slot=\"breadcrumb\" className={cn('', className)} {...props} />;\n}\n\n/** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */\nfunction BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>) {\n return (\n <ol\n data-slot=\"breadcrumb-list\"\n className={cn('flex flex-wrap items-center gap-1.5 sm:gap-2.5', 'text-sm break-words', 'text-text-positive-weak', className)}\n {...props}\n />\n );\n}\n\n/** Individual `<li>` item wrapper inside a BreadcrumbList. */\nfunction BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"breadcrumb-item\" className={cn('inline-flex items-center gap-1.5', className)} {...props} />;\n}\n\n/**\n * Interactive anchor link for non-current breadcrumb segments; supports `asChild` for custom routing.\n *\n * @param asChild - When true, renders as the child element via Radix Slot instead of `<a>`.\n */\nfunction BreadcrumbLink({\n asChild,\n className,\n ...props\n}: React.ComponentProps<'a'> & {\n asChild?: boolean;\n}) {\n const Comp = asChild ? Slot : 'a';\n\n return (\n <Comp\n data-slot=\"breadcrumb-link\"\n className={cn(\n 'text-text-positive-weak',\n 'transition-colors duration-150',\n 'hover:text-text-positive focus-visible:text-text-positive',\n 'focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1',\n 'rounded-sm',\n className\n )}\n {...props}\n />\n );\n}\n\n/** Non-interactive span representing the current page; sets `aria-current=\"page\"`. */\nfunction BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>) {\n return <span data-slot=\"breadcrumb-page\" aria-current=\"page\" className={cn('text-text-positive-strong font-medium', className)} {...props} />;\n}\n\n/** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */\nfunction BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>) {\n return (\n <li\n data-slot=\"breadcrumb-separator\"\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn('text-text-positive-muted', '[&>svg]:size-3.5', className)}\n {...props}\n >\n {children ?? <ChevronRight />}\n </li>\n );\n}\n\n/** Button that represents collapsed breadcrumb segments with an ellipsis icon. */\nfunction BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'button'>) {\n return (\n <button\n data-slot=\"breadcrumb-ellipsis\"\n type=\"button\"\n className={cn(\n 'flex items-center justify-center',\n 'size-8 rounded-sm',\n 'text-text-positive-weak',\n 'hover:bg-secondary-muted hover:text-text-positive',\n 'focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1',\n 'transition-colors duration-150',\n className\n )}\n {...props}\n >\n <MoreHorizontal className=\"size-4\" />\n <span className=\"sr-only\">Show more breadcrumbs</span>\n </button>\n );\n}\n\nexport { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };\n"],"mappings":"4NA+BA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAC,MAAA,CAAI,aAAW,aAAa,YAAU,aAAa,UAAW,EAAG,GAAI,EAAU,CAAE,GAAI,GAAS,CAIxG,SAAS,EAAe,CAAE,YAAW,GAAG,GAAqC,CAC3E,OACE,EAAC,KAAA,CACC,YAAU,kBACV,UAAW,EAAG,iDAAkD,sBAAuB,0BAA2B,EAAU,CAC5H,GAAI,GACJ,CAKN,SAAS,EAAe,CAAE,YAAW,GAAG,GAAqC,CAC3E,OAAO,EAAC,KAAA,CAAG,YAAU,kBAAkB,UAAW,EAAG,mCAAoC,EAAU,CAAE,GAAI,GAAS,CAQpH,SAAS,EAAe,CACtB,UACA,YACA,GAAG,GAGF,CAGD,OACE,EAHW,EAAU,EAAO,IAAA,CAI1B,YAAU,kBACV,UAAW,EACT,0BACA,iCACA,4DACA,8FACA,aACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAe,CAAE,YAAW,GAAG,GAAuC,CAC7E,OAAO,EAAC,OAAA,CAAK,YAAU,kBAAkB,eAAa,OAAO,UAAW,EAAG,wCAAyC,EAAU,CAAE,GAAI,GAAS,CAI/I,SAAS,EAAoB,CAAE,WAAU,YAAW,GAAG,GAAqC,CAC1F,OACE,EAAC,KAAA,CACC,YAAU,uBACV,KAAK,eACL,cAAY,OACZ,UAAW,EAAG,2BAA4B,mBAAoB,EAAU,CACxE,GAAI,WAEH,GAAY,EAAC,EAAA,EAAA,CAAe,EAC1B,CAKT,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAyC,CACnF,OACE,EAAC,SAAA,CACC,YAAU,sBACV,KAAK,SACL,UAAW,EACT,mCACA,oBACA,0BACA,oDACA,8FACA,iCACA,EACD,CACD,GAAI,YAEJ,EAAC,EAAA,CAAe,UAAU,SAAA,CAAW,CACrC,EAAC,OAAA,CAAK,UAAU,mBAAU,yBAA4B,CAAA,EAC/C"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Separator } from "./separator.mjs";
|
|
2
|
-
import * as react0 from "react";
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
|
-
|
|
6
|
-
//#region packages/components/ui/button-group.d.ts
|
|
7
|
-
declare const buttonGroupVariants: (props?: ({
|
|
8
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
|
-
/**
|
|
11
|
-
* Groups buttons (or inputs) into a visually connected row or column by removing the border radii on adjacent sides.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* import { ButtonGroup, ButtonGroupSeparator } from '@customafk/lunas-ui/ui/button-group';
|
|
16
|
-
* import { Button } from '@customafk/lunas-ui/ui/button';
|
|
17
|
-
*
|
|
18
|
-
* <ButtonGroup orientation="horizontal">
|
|
19
|
-
* <Button variant="outline">Left</Button>
|
|
20
|
-
* <ButtonGroupSeparator />
|
|
21
|
-
* <Button variant="outline">Right</Button>
|
|
22
|
-
* </ButtonGroup>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
declare function ButtonGroup({
|
|
26
|
-
className,
|
|
27
|
-
orientation,
|
|
28
|
-
...props
|
|
29
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react0.JSX.Element;
|
|
30
|
-
/**
|
|
31
|
-
* A static text or icon addon rendered inside a ButtonGroup with muted background styling.
|
|
32
|
-
*
|
|
33
|
-
* @param asChild - When true, renders as the child element via Radix Slot instead of `<div>`.
|
|
34
|
-
*/
|
|
35
|
-
declare function ButtonGroupText({
|
|
36
|
-
className,
|
|
37
|
-
asChild,
|
|
38
|
-
...props
|
|
39
|
-
}: React.ComponentProps<'div'> & {
|
|
40
|
-
asChild?: boolean;
|
|
41
|
-
}): react0.JSX.Element;
|
|
42
|
-
/** A visual Separator rendered between items inside a ButtonGroup. */
|
|
43
|
-
declare function ButtonGroupSeparator({
|
|
44
|
-
className,
|
|
45
|
-
orientation,
|
|
46
|
-
...props
|
|
47
|
-
}: React.ComponentProps<typeof Separator>): react0.JSX.Element;
|
|
48
|
-
//#endregion
|
|
49
|
-
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
50
|
-
//# sourceMappingURL=button-group.d.mts.map
|
package/dist/ui/button-group.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t as e}from"../dist-BQGL-YKY.mjs";import{t}from"../separator-C6s-YvlT.mjs";import{cn as n}from"@customafk/react-toolkit/utils";import{cva as r}from"class-variance-authority";import{jsx as i}from"react/jsx-runtime";const a=r(`flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1`,{variants:{orientation:{horizontal:`[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none`,vertical:`flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none`}},defaultVariants:{orientation:`horizontal`}});function o({className:e,orientation:t,...r}){return i(`div`,{role:`group`,"data-slot":`button-group`,"data-orientation":t,className:n(a({orientation:t}),e),...r})}function s({className:t,asChild:r=!1,...a}){return i(r?e:`div`,{className:n(`flex items-center gap-2 rounded-md border border-border bg-muted px-4 font-medium text-sm shadow-xs [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none`,t),...a})}function c({className:e,orientation:r=`vertical`,...a}){return i(t,{"data-slot":`button-group-separator`,orientation:r,className:n(`relative m-0! self-stretch bg-muted-muted data-[orientation=vertical]:h-auto`,e),...a})}export{o as ButtonGroup,c as ButtonGroupSeparator,s as ButtonGroupText,a as buttonGroupVariants};
|
|
2
|
-
//# sourceMappingURL=button-group.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.mjs","names":[],"sources":["../../packages/components/ui/button-group.tsx"],"sourcesContent":["import { cn } from '@customafk/react-toolkit/utils';\n\nimport { Slot } from '@radix-ui/react-slot';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { Separator } from '@/components/ui/separator';\n\nconst buttonGroupVariants = cva(\n \"flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1\",\n {\n variants: {\n orientation: {\n horizontal: '[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none',\n vertical: 'flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none',\n },\n },\n defaultVariants: {\n orientation: 'horizontal',\n },\n }\n);\n\n/**\n * Groups buttons (or inputs) into a visually connected row or column by removing the border radii on adjacent sides.\n *\n * @example\n * ```tsx\n * import { ButtonGroup, ButtonGroupSeparator } from '@customafk/lunas-ui/ui/button-group';\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * <ButtonGroup orientation=\"horizontal\">\n * <Button variant=\"outline\">Left</Button>\n * <ButtonGroupSeparator />\n * <Button variant=\"outline\">Right</Button>\n * </ButtonGroup>\n * ```\n */\nfunction ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>) {\n return (\n <div role=\"group\" data-slot=\"button-group\" data-orientation={orientation} className={cn(buttonGroupVariants({ orientation }), className)} {...props} />\n );\n}\n\n/**\n * A static text or icon addon rendered inside a ButtonGroup with muted background styling.\n *\n * @param asChild - When true, renders as the child element via Radix Slot instead of `<div>`.\n */\nfunction ButtonGroupText({\n className,\n asChild = false,\n ...props\n}: React.ComponentProps<'div'> & {\n asChild?: boolean;\n}) {\n const Comp = asChild ? Slot : 'div';\n\n return (\n <Comp\n className={cn(\n \"flex items-center gap-2 rounded-md border border-border bg-muted px-4 font-medium text-sm shadow-xs [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none\",\n className\n )}\n {...props}\n />\n );\n}\n\n/** A visual Separator rendered between items inside a ButtonGroup. */\nfunction ButtonGroupSeparator({ className, orientation = 'vertical', ...props }: React.ComponentProps<typeof Separator>) {\n return (\n <Separator\n data-slot=\"button-group-separator\"\n orientation={orientation}\n className={cn('relative m-0! self-stretch bg-muted-muted data-[orientation=vertical]:h-auto', className)}\n {...props}\n />\n );\n}\n\nexport { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };\n"],"mappings":"6NAMA,MAAM,EAAsB,EAC1B,2RACA,CACE,SAAU,CACR,YAAa,CACX,WAAY,kHACZ,SAAU,2HACX,CACF,CACD,gBAAiB,CACf,YAAa,aACd,CACF,CACF,CAiBD,SAAS,EAAY,CAAE,YAAW,cAAa,GAAG,GAAiF,CACjI,OACE,EAAC,MAAA,CAAI,KAAK,QAAQ,YAAU,eAAe,mBAAkB,EAAa,UAAW,EAAG,EAAoB,CAAE,cAAa,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS,CAS3J,SAAS,EAAgB,CACvB,YACA,UAAU,GACV,GAAG,GAGF,CAGD,OACE,EAHW,EAAU,EAAO,MAAA,CAI1B,UAAW,EACT,uKACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAqB,CAAE,YAAW,cAAc,WAAY,GAAG,GAAiD,CACvH,OACE,EAAC,EAAA,CACC,YAAU,yBACG,cACb,UAAW,EAAG,+EAAgF,EAAU,CACxG,GAAI,GACJ"}
|
package/dist/ui/button.d.mts
DELETED
package/dist/ui/button.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import"../button.variants-B8aRZ52K.mjs";import{t as e}from"../button-CfPTDyoq.mjs";export{e as Button};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//#region packages/components/ui/buttons/add-new.d.ts
|
|
2
|
-
type Props = {
|
|
3
|
-
/** Callback invoked when the button is clicked. Defaults to a no-op. */
|
|
4
|
-
onClick?: () => void;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* A toolbar button that triggers a "create new" action, displaying a plus icon alongside a "Create" label that is hidden on small screens.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* import { AddNewBtn } from '@customafk/lunas-ui/ui/buttons/add-new';
|
|
11
|
-
*
|
|
12
|
-
* <AddNewBtn onClick={() => setOpen(true)} />
|
|
13
|
-
*/
|
|
14
|
-
declare const AddNewBtn: React.FC<React.PropsWithChildren<Props>>;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { AddNewBtn };
|
|
17
|
-
//# sourceMappingURL=add-new.d.mts.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"../../button.variants-B8aRZ52K.mjs";import{t as e}from"../../button-CfPTDyoq.mjs";import{t}from"../../paragraph-CjstaJFj.mjs";import{PlusIcon as n}from"lucide-react";import{jsx as r,jsxs as i}from"react/jsx-runtime";const a=({onClick:a=()=>{}})=>i(e,{"aria-label":`Tạo mới`,variant:`outline`,color:`muted`,className:`outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0`,onClick:a,children:[r(n,{className:`opacity-60 sm:-ms-1`,size:16,"aria-hidden":`true`}),r(t,{variant:`sm`,className:`max-sm:sr-only`,children:`Create`})]});export{a as AddNewBtn};
|
|
2
|
-
//# sourceMappingURL=add-new.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-new.mjs","names":["AddNewBtn: React.FC<React.PropsWithChildren<Props>>"],"sources":["../../../packages/components/ui/buttons/add-new.tsx"],"sourcesContent":["import { PlusIcon } from 'lucide-react';\n\nimport { Paragraph } from '@/components/typography/paragraph';\n\nimport { Button } from '../button';\n\ntype Props = {\n /** Callback invoked when the button is clicked. Defaults to a no-op. */\n onClick?: () => void;\n};\n\n/**\n * A toolbar button that triggers a \"create new\" action, displaying a plus icon alongside a \"Create\" label that is hidden on small screens.\n *\n * @example\n * import { AddNewBtn } from '@customafk/lunas-ui/ui/buttons/add-new';\n *\n * <AddNewBtn onClick={() => setOpen(true)} />\n */\nexport const AddNewBtn: React.FC<React.PropsWithChildren<Props>> = ({ onClick = () => {} }) => {\n return (\n <Button\n aria-label=\"Tạo mới\"\n variant=\"outline\"\n color=\"muted\"\n className=\"outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0\"\n onClick={onClick}\n >\n <PlusIcon className=\"opacity-60 sm:-ms-1\" size={16} aria-hidden=\"true\" />\n <Paragraph variant=\"sm\" className=\"max-sm:sr-only\">\n Create\n </Paragraph>\n </Button>\n );\n};\n"],"mappings":"+NAmBA,MAAaA,GAAuD,CAAE,cAAgB,MAElF,EAAC,EAAA,CACC,aAAW,UACX,QAAQ,UACR,MAAM,QACN,UAAU,oEACD,oBAET,EAAC,EAAA,CAAS,UAAU,sBAAsB,KAAM,GAAI,cAAY,QAAS,CACzE,EAAC,EAAA,CAAU,QAAQ,KAAK,UAAU,0BAAiB,UAEvC,CAAA,EACL"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//#region packages/components/ui/buttons/edit.d.ts
|
|
2
|
-
type Props = {
|
|
3
|
-
/** Callback invoked when the button is clicked. */
|
|
4
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* An icon-only ghost button that triggers an edit action, rendered with a pencil icon.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* import { EditBtn } from '@customafk/lunas-ui/ui/buttons/edit';
|
|
11
|
-
*
|
|
12
|
-
* <EditBtn onClick={() => openEditDialog(record.id)} />
|
|
13
|
-
*/
|
|
14
|
-
declare const EditBtn: React.FC<Props>;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { EditBtn };
|
|
17
|
-
//# sourceMappingURL=edit.d.mts.map
|
package/dist/ui/buttons/edit.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"../../button.variants-B8aRZ52K.mjs";import{t as e}from"../../button-CfPTDyoq.mjs";import{Edit2Icon as t}from"lucide-react";import{jsx as n}from"react/jsx-runtime";const r=({onClick:r})=>n(e,{"aria-label":`Chỉnh sửa`,variant:`ghost`,color:`secondary`,size:`icon`,className:`max-sm:aspect-square max-sm:p-0`,onClick:r,children:n(t,{size:16,className:`opacity-60`})});export{r as EditBtn};
|
|
2
|
-
//# sourceMappingURL=edit.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"edit.mjs","names":["EditBtn: React.FC<Props>"],"sources":["../../../packages/components/ui/buttons/edit.tsx"],"sourcesContent":["import { Edit2Icon } from 'lucide-react';\n\nimport { Button } from '../button';\n\ntype Props = {\n /** Callback invoked when the button is clicked. */\n onClick?: React.MouseEventHandler<HTMLButtonElement>;\n};\n\n/**\n * An icon-only ghost button that triggers an edit action, rendered with a pencil icon.\n *\n * @example\n * import { EditBtn } from '@customafk/lunas-ui/ui/buttons/edit';\n *\n * <EditBtn onClick={() => openEditDialog(record.id)} />\n */\nexport const EditBtn: React.FC<Props> = ({ onClick }) => {\n return (\n <Button aria-label=\"Chỉnh sửa\" variant=\"ghost\" color=\"secondary\" size=\"icon\" className=\"max-sm:aspect-square max-sm:p-0\" onClick={onClick}>\n <Edit2Icon size={16} className=\"opacity-60\" />\n </Button>\n );\n};\n"],"mappings":"0KAiBA,MAAaA,GAA4B,CAAE,aAEvC,EAAC,EAAA,CAAO,aAAW,YAAY,QAAQ,QAAQ,MAAM,YAAY,KAAK,OAAO,UAAU,kCAA2C,mBAChI,EAAC,EAAA,CAAU,KAAM,GAAI,UAAU,cAAe,EACvC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//#region packages/components/ui/buttons/refresh.d.ts
|
|
2
|
-
type Props = {
|
|
3
|
-
/** Callback invoked when the button is clicked. Defaults to a no-op. */
|
|
4
|
-
onClick?: () => void;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* A toolbar button that triggers a refresh/reset action, displaying a rotating arrows icon alongside a "Reset" label that is hidden on small screens.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* import { RefreshBtn } from '@customafk/lunas-ui/ui/buttons/refresh';
|
|
11
|
-
*
|
|
12
|
-
* <RefreshBtn onClick={() => resetFilters()} />
|
|
13
|
-
*/
|
|
14
|
-
declare const RefreshBtn: React.FC<React.PropsWithChildren<Props>>;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { RefreshBtn };
|
|
17
|
-
//# sourceMappingURL=refresh.d.mts.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"../../button.variants-B8aRZ52K.mjs";import{t as e}from"../../button-CfPTDyoq.mjs";import{t}from"../../paragraph-CjstaJFj.mjs";import{RefreshCwIcon as n}from"lucide-react";import{jsx as r,jsxs as i}from"react/jsx-runtime";const a=({onClick:a=()=>{}})=>i(e,{"aria-label":`Tạo mới`,variant:`outline`,color:`muted`,className:`outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0`,onClick:a,children:[r(n,{className:`opacity-60 sm:-ms-1`,size:16,"aria-hidden":`true`}),r(t,{variant:`sm`,className:`max-sm:sr-only`,children:`Reset`})]});export{a as RefreshBtn};
|
|
2
|
-
//# sourceMappingURL=refresh.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refresh.mjs","names":["RefreshBtn: React.FC<React.PropsWithChildren<Props>>"],"sources":["../../../packages/components/ui/buttons/refresh.tsx"],"sourcesContent":["import { RefreshCwIcon } from 'lucide-react';\n\nimport { Paragraph } from '@/components/typography/paragraph';\n\nimport { Button } from '../button';\n\ntype Props = {\n /** Callback invoked when the button is clicked. Defaults to a no-op. */\n onClick?: () => void;\n};\n\n/**\n * A toolbar button that triggers a refresh/reset action, displaying a rotating arrows icon alongside a \"Reset\" label that is hidden on small screens.\n *\n * @example\n * import { RefreshBtn } from '@customafk/lunas-ui/ui/buttons/refresh';\n *\n * <RefreshBtn onClick={() => resetFilters()} />\n */\nexport const RefreshBtn: React.FC<React.PropsWithChildren<Props>> = ({ onClick = () => {} }) => {\n return (\n <Button\n aria-label=\"Tạo mới\"\n variant=\"outline\"\n color=\"muted\"\n className=\"outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0\"\n onClick={onClick}\n >\n <RefreshCwIcon className=\"opacity-60 sm:-ms-1\" size={16} aria-hidden=\"true\" />\n <Paragraph variant=\"sm\" className=\"max-sm:sr-only\">\n Reset\n </Paragraph>\n </Button>\n );\n};\n"],"mappings":"oOAmBA,MAAaA,GAAwD,CAAE,cAAgB,MAEnF,EAAC,EAAA,CACC,aAAW,UACX,QAAQ,UACR,MAAM,QACN,UAAU,oEACD,oBAET,EAAC,EAAA,CAAc,UAAU,sBAAsB,KAAM,GAAI,cAAY,QAAS,CAC9E,EAAC,EAAA,CAAU,QAAQ,KAAK,UAAU,0BAAiB,SAEvC,CAAA,EACL"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//#region packages/components/ui/buttons/trash.d.ts
|
|
2
|
-
type Props = {
|
|
3
|
-
/** Callback invoked when the button is clicked. */
|
|
4
|
-
onClick?: () => void;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* An icon-only ghost button that triggers a delete action, rendered with a trash-can icon.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* import { TrashBtn } from '@customafk/lunas-ui/ui/buttons/trash';
|
|
11
|
-
*
|
|
12
|
-
* <TrashBtn onClick={() => deleteRecord(record.id)} />
|
|
13
|
-
*/
|
|
14
|
-
declare const TrashBtn: React.FC<Props>;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { TrashBtn };
|
|
17
|
-
//# sourceMappingURL=trash.d.mts.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"../../button.variants-B8aRZ52K.mjs";import{t as e}from"../../button-CfPTDyoq.mjs";import{Trash2Icon as t}from"lucide-react";import{jsx as n}from"react/jsx-runtime";const r=({onClick:r})=>n(e,{"aria-label":`Xoá`,variant:`ghost`,size:`icon`,color:`secondary`,className:`max-sm:aspect-square max-sm:p-0`,onClick:r,children:n(t,{size:16,className:`opacity-60`,"aria-hidden":`true`})});export{r as TrashBtn};
|
|
2
|
-
//# sourceMappingURL=trash.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"trash.mjs","names":["TrashBtn: React.FC<Props>"],"sources":["../../../packages/components/ui/buttons/trash.tsx"],"sourcesContent":["import { Trash2Icon } from 'lucide-react';\n\nimport { Button } from '../button';\n\ntype Props = {\n /** Callback invoked when the button is clicked. */\n onClick?: () => void;\n};\n\n/**\n * An icon-only ghost button that triggers a delete action, rendered with a trash-can icon.\n *\n * @example\n * import { TrashBtn } from '@customafk/lunas-ui/ui/buttons/trash';\n *\n * <TrashBtn onClick={() => deleteRecord(record.id)} />\n */\nexport const TrashBtn: React.FC<Props> = ({ onClick }) => {\n return (\n <Button aria-label=\"Xoá\" variant=\"ghost\" size=\"icon\" color=\"secondary\" className=\"max-sm:aspect-square max-sm:p-0\" onClick={onClick}>\n <Trash2Icon size={16} className=\"opacity-60\" aria-hidden=\"true\" />\n </Button>\n );\n};\n"],"mappings":"2KAiBA,MAAaA,GAA6B,CAAE,aAExC,EAAC,EAAA,CAAO,aAAW,MAAM,QAAQ,QAAQ,KAAK,OAAO,MAAM,YAAY,UAAU,kCAA2C,mBAC1H,EAAC,EAAA,CAAW,KAAM,GAAI,UAAU,aAAa,cAAY,QAAS,EAC3D"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from "react";
|
|
2
|
-
|
|
3
|
-
//#region packages/components/ui/buttons/upload-image.d.ts
|
|
4
|
-
type Props = {
|
|
5
|
-
/**
|
|
6
|
-
* Numeric pixel value applied to both the `width` and `height` of the button via inline styles.
|
|
7
|
-
* @default '5rem'
|
|
8
|
-
*/
|
|
9
|
-
size?: number;
|
|
10
|
-
/** Callback invoked when the button is clicked. */
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* A square outline button for triggering image upload flows, rendered with an upload icon and a configurable size.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* import { UploadImageBtn } from '@customafk/lunas-ui/ui/buttons/upload-image';
|
|
18
|
-
*
|
|
19
|
-
* <UploadImageBtn size={96} onClick={() => openFilePicker()} />
|
|
20
|
-
*/
|
|
21
|
-
declare const UploadImageBtn: React.FC<PropsWithChildren<Props>>;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { UploadImageBtn };
|
|
24
|
-
//# sourceMappingURL=upload-image.d.mts.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"../../button.variants-B8aRZ52K.mjs";import{t as e}from"../../button-CfPTDyoq.mjs";import{UploadIcon as t}from"lucide-react";import{jsx as n}from"react/jsx-runtime";const r=({size:r=`5rem`,onClick:i})=>n(e,{style:{width:r,height:r},variant:`outline`,color:`muted`,onClick:i,children:n(t,{className:`size-6`})});export{r as UploadImageBtn};
|
|
2
|
-
//# sourceMappingURL=upload-image.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upload-image.mjs","names":["UploadImageBtn: React.FC<PropsWithChildren<Props>>"],"sources":["../../../packages/components/ui/buttons/upload-image.tsx"],"sourcesContent":["import type { PropsWithChildren } from 'react';\n\nimport { UploadIcon } from 'lucide-react';\n\nimport { Button } from '../button';\n\ntype Props = {\n /**\n * Numeric pixel value applied to both the `width` and `height` of the button via inline styles.\n * @default '5rem'\n */\n size?: number;\n /** Callback invoked when the button is clicked. */\n onClick?: () => void;\n};\n\n/**\n * A square outline button for triggering image upload flows, rendered with an upload icon and a configurable size.\n *\n * @example\n * import { UploadImageBtn } from '@customafk/lunas-ui/ui/buttons/upload-image';\n *\n * <UploadImageBtn size={96} onClick={() => openFilePicker()} />\n */\nexport const UploadImageBtn: React.FC<PropsWithChildren<Props>> = ({ size = '5rem', onClick }) => {\n return (\n <Button\n style={{\n width: size,\n height: size,\n }}\n variant=\"outline\"\n color=\"muted\"\n onClick={onClick}\n >\n <UploadIcon className=\"size-6\" />\n </Button>\n );\n};\n"],"mappings":"2KAwBA,MAAaA,GAAsD,CAAE,OAAO,OAAQ,aAEhF,EAAC,EAAA,CACC,MAAO,CACL,MAAO,EACP,OAAQ,EACT,CACD,QAAQ,UACR,MAAM,QACG,mBAET,EAAC,EAAA,CAAW,UAAU,SAAA,CAAW,EAC1B"}
|
package/dist/ui/calendar.d.mts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { t as Button } from "../button-DlFsSFmT.mjs";
|
|
2
|
-
import * as react22 from "react";
|
|
3
|
-
import { DayButton, DayPicker } from "react-day-picker";
|
|
4
|
-
|
|
5
|
-
//#region packages/components/ui/calendar.d.ts
|
|
6
|
-
declare const CalendarDayButton: ({
|
|
7
|
-
className,
|
|
8
|
-
day,
|
|
9
|
-
modifiers,
|
|
10
|
-
color: _,
|
|
11
|
-
...props
|
|
12
|
-
}: React.ComponentProps<typeof DayButton>) => react22.JSX.Element;
|
|
13
|
-
/**
|
|
14
|
-
* A fully styled date-picker calendar built on top of react-day-picker, supporting single, range, and multiple selection modes.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* import { Calendar } from '@customafk/lunas-ui/ui/calendar';
|
|
19
|
-
*
|
|
20
|
-
* const [date, setDate] = React.useState<Date>();
|
|
21
|
-
*
|
|
22
|
-
* <Calendar
|
|
23
|
-
* mode="single"
|
|
24
|
-
* selected={date}
|
|
25
|
-
* onSelect={setDate}
|
|
26
|
-
* captionLayout="dropdown"
|
|
27
|
-
* />
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
declare function Calendar({
|
|
31
|
-
className,
|
|
32
|
-
classNames,
|
|
33
|
-
showOutsideDays,
|
|
34
|
-
captionLayout,
|
|
35
|
-
buttonVariant,
|
|
36
|
-
formatters,
|
|
37
|
-
components,
|
|
38
|
-
...props
|
|
39
|
-
}: React.ComponentProps<typeof DayPicker> & {
|
|
40
|
-
/** Variant applied to the previous/next navigation buttons. */
|
|
41
|
-
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
42
|
-
}): react22.JSX.Element;
|
|
43
|
-
//#endregion
|
|
44
|
-
export { Calendar, CalendarDayButton };
|
|
45
|
-
//# sourceMappingURL=calendar.d.mts.map
|
package/dist/ui/calendar.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import"../button.variants-B8aRZ52K.mjs";import"../button-CfPTDyoq.mjs";import{n as e,t}from"../calendar-BDhIfwPP.mjs";export{t as Calendar,e as CalendarDayButton};
|
package/dist/ui/card.d.mts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import * as react2 from "react";
|
|
2
|
-
|
|
3
|
-
//#region packages/components/ui/card.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Surface container for grouping related content with a bordered, shadowed panel that supports optional interactive hover states.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```tsx
|
|
10
|
-
* import {
|
|
11
|
-
* Card, CardHeader, CardTitle, CardDescription,
|
|
12
|
-
* CardContent, CardFooter, CardAction,
|
|
13
|
-
* } from '@customafk/lunas-ui/ui/card';
|
|
14
|
-
* import { Button } from '@customafk/lunas-ui/ui/button';
|
|
15
|
-
*
|
|
16
|
-
* <Card>
|
|
17
|
-
* <CardHeader>
|
|
18
|
-
* <CardTitle>Plan overview</CardTitle>
|
|
19
|
-
* <CardDescription>Your current subscription details.</CardDescription>
|
|
20
|
-
* <CardAction><Button size="sm">Upgrade</Button></CardAction>
|
|
21
|
-
* </CardHeader>
|
|
22
|
-
* <CardContent>Monthly usage: 42 / 100 requests</CardContent>
|
|
23
|
-
* <CardFooter>Renews on 1 Jun 2026</CardFooter>
|
|
24
|
-
* </Card>
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
declare function Card({
|
|
28
|
-
className,
|
|
29
|
-
...props
|
|
30
|
-
}: React.ComponentProps<'div'>): react2.JSX.Element;
|
|
31
|
-
/** Top section of the card that holds the title, description, and optional action slot. */
|
|
32
|
-
declare function CardHeader({
|
|
33
|
-
className,
|
|
34
|
-
...props
|
|
35
|
-
}: React.ComponentProps<'div'>): react2.JSX.Element;
|
|
36
|
-
/** Primary heading for the card, styled with the h3 heading variant. */
|
|
37
|
-
declare function CardTitle({
|
|
38
|
-
className,
|
|
39
|
-
...props
|
|
40
|
-
}: React.ComponentProps<'div'>): react2.JSX.Element;
|
|
41
|
-
/** Muted supporting text displayed beneath the card title. */
|
|
42
|
-
declare function CardDescription({
|
|
43
|
-
className,
|
|
44
|
-
...props
|
|
45
|
-
}: React.ComponentProps<'div'>): react2.JSX.Element;
|
|
46
|
-
/** Optional slot in the card header for a contextual action (e.g. a button or menu); positioned in the top-right grid cell. */
|
|
47
|
-
declare function CardAction({
|
|
48
|
-
className,
|
|
49
|
-
...props
|
|
50
|
-
}: React.ComponentProps<'div'>): react2.JSX.Element;
|
|
51
|
-
/** Main body area of the card with horizontal padding for content alignment. */
|
|
52
|
-
declare function CardContent({
|
|
53
|
-
className,
|
|
54
|
-
...props
|
|
55
|
-
}: React.ComponentProps<'div'>): react2.JSX.Element;
|
|
56
|
-
/** Bottom section of the card, typically used for supplementary text or secondary actions. */
|
|
57
|
-
declare function CardFooter({
|
|
58
|
-
className,
|
|
59
|
-
...props
|
|
60
|
-
}: React.ComponentProps<'div'>): react2.JSX.Element;
|
|
61
|
-
//#endregion
|
|
62
|
-
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
63
|
-
//# sourceMappingURL=card.d.mts.map
|
package/dist/ui/card.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{t as e}from"../heading-woRh-IC7.mjs";import{n as t}from"../paragraph-CjstaJFj.mjs";import{cn as n}from"@customafk/react-toolkit/utils";import{jsx as r}from"react/jsx-runtime";function i({className:e,...t}){return r(`div`,{"data-slot":`card`,className:n(`flex flex-col gap-6 rounded-lg border border-border bg-card py-6 text-text-positive shadow-card`,`transition-[box-shadow,opacity] duration-150 ease-in-out`,`data-[interactive=true]:cursor-pointer`,`data-[interactive=true]:hover:shadow-dropdown`,`data-[interactive=true]:focus-visible:outline-none data-[interactive=true]:focus-visible:ring-2 data-[interactive=true]:focus-visible:ring-ring data-[interactive=true]:focus-visible:ring-offset-2`,`data-[interactive=true]:active:opacity-90`,e),...t})}function a({className:e,...t}){return r(`div`,{"data-slot":`card-header`,className:n(`@container/card-header`,`grid auto-rows-min grid-rows-[auto_auto]`,`items-start gap-1.5 px-6 text-text-positive-strong`,`has-data-[slot=card-action]:grid-cols-[1fr_auto]`,`[.border-b]:pb-6`,e),...t})}function o({className:t,...i}){return r(`div`,{"data-slot":`card-title`,className:n(e({level:`h3`}),t),...i})}function s({className:e,...i}){return r(`div`,{"data-slot":`card-description`,className:n(t({variant:`muted`}),e),...i})}function c({className:e,...t}){return r(`div`,{"data-slot":`card-action`,className:n(`col-start-2 row-span-2 row-start-1 self-start justify-self-end`,e),...t})}function l({className:e,...t}){return r(`div`,{"data-slot":`card-content`,className:n(`px-6 text-sm`,e),...t})}function u({className:e,...t}){return r(`div`,{"data-slot":`card-footer`,className:n(`flex items-center px-6 text-sm [.border-t]:pt-6`,e),...t})}export{i as Card,c as CardAction,l as CardContent,s as CardDescription,u as CardFooter,a as CardHeader,o as CardTitle};
|
|
2
|
-
//# sourceMappingURL=card.mjs.map
|
package/dist/ui/card.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.mjs","names":[],"sources":["../../packages/components/ui/card.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\nimport { headingVariants } from '../typography/heading';\nimport { paragraphVariants } from '../typography/paragraph';\n\n/**\n * Surface container for grouping related content with a bordered, shadowed panel that supports optional interactive hover states.\n *\n * @example\n * ```tsx\n * import {\n * Card, CardHeader, CardTitle, CardDescription,\n * CardContent, CardFooter, CardAction,\n * } from '@customafk/lunas-ui/ui/card';\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * <Card>\n * <CardHeader>\n * <CardTitle>Plan overview</CardTitle>\n * <CardDescription>Your current subscription details.</CardDescription>\n * <CardAction><Button size=\"sm\">Upgrade</Button></CardAction>\n * </CardHeader>\n * <CardContent>Monthly usage: 42 / 100 requests</CardContent>\n * <CardFooter>Renews on 1 Jun 2026</CardFooter>\n * </Card>\n * ```\n */\nfunction Card({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card\"\n className={cn(\n 'flex flex-col gap-6 rounded-lg border border-border bg-card py-6 text-text-positive shadow-card',\n 'transition-[box-shadow,opacity] duration-150 ease-in-out',\n 'data-[interactive=true]:cursor-pointer',\n 'data-[interactive=true]:hover:shadow-dropdown',\n 'data-[interactive=true]:focus-visible:outline-none data-[interactive=true]:focus-visible:ring-2 data-[interactive=true]:focus-visible:ring-ring data-[interactive=true]:focus-visible:ring-offset-2',\n 'data-[interactive=true]:active:opacity-90',\n className\n )}\n {...props}\n />\n );\n}\n\n/** Top section of the card that holds the title, description, and optional action slot. */\nfunction CardHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-header\"\n className={cn(\n '@container/card-header',\n 'grid auto-rows-min grid-rows-[auto_auto]',\n 'items-start gap-1.5 px-6 text-text-positive-strong',\n 'has-data-[slot=card-action]:grid-cols-[1fr_auto]',\n '[.border-b]:pb-6',\n className\n )}\n {...props}\n />\n );\n}\n\n/** Primary heading for the card, styled with the h3 heading variant. */\nfunction CardTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-title\" className={cn(headingVariants({ level: 'h3' }), className)} {...props} />;\n}\n\n/** Muted supporting text displayed beneath the card title. */\nfunction CardDescription({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-description\" className={cn(paragraphVariants({ variant: 'muted' }), className)} {...props} />;\n}\n\n/** Optional slot in the card header for a contextual action (e.g. a button or menu); positioned in the top-right grid cell. */\nfunction CardAction({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-action\" className={cn('col-start-2 row-span-2 row-start-1 self-start justify-self-end', className)} {...props} />;\n}\n\n/** Main body area of the card with horizontal padding for content alignment. */\nfunction CardContent({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-content\" className={cn('px-6 text-sm', className)} {...props} />;\n}\n\n/** Bottom section of the card, typically used for supplementary text or secondary actions. */\nfunction CardFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"card-footer\" className={cn('flex items-center px-6 text-sm [.border-t]:pt-6', className)} {...props} />;\n}\n\nexport { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };\n"],"mappings":"mMA4BA,SAAS,EAAK,CAAE,YAAW,GAAG,GAAsC,CAClE,OACE,EAAC,MAAA,CACC,YAAU,OACV,UAAW,EACT,kGACA,2DACA,yCACA,gDACA,sMACA,4CACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAC,MAAA,CACC,YAAU,cACV,UAAW,EACT,yBACA,2CACA,qDACA,mDACA,mBACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAU,CAAE,YAAW,GAAG,GAAsC,CACvE,OAAO,EAAC,MAAA,CAAI,YAAU,aAAa,UAAW,EAAG,EAAgB,CAAE,MAAO,KAAM,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS,CAI9G,SAAS,EAAgB,CAAE,YAAW,GAAG,GAAsC,CAC7E,OAAO,EAAC,MAAA,CAAI,YAAU,mBAAmB,UAAW,EAAG,EAAkB,CAAE,QAAS,QAAS,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS,CAI3H,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAC,MAAA,CAAI,YAAU,cAAc,UAAW,EAAG,iEAAkE,EAAU,CAAE,GAAI,GAAS,CAI/I,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAC,MAAA,CAAI,YAAU,eAAe,UAAW,EAAG,eAAgB,EAAU,CAAE,GAAI,GAAS,CAI9F,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAC,MAAA,CAAI,YAAU,cAAc,UAAW,EAAG,kDAAmD,EAAU,CAAE,GAAI,GAAS"}
|
package/dist/ui/carousel.d.mts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { t as Button } from "../button-DlFsSFmT.mjs";
|
|
2
|
-
import * as react90 from "react";
|
|
3
|
-
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
4
|
-
|
|
5
|
-
//#region packages/components/ui/carousel.d.ts
|
|
6
|
-
type CarouselApi = UseEmblaCarouselType[1];
|
|
7
|
-
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
8
|
-
type CarouselOptions = UseCarouselParameters[0];
|
|
9
|
-
type CarouselPlugin = UseCarouselParameters[1];
|
|
10
|
-
type CarouselProps = {
|
|
11
|
-
opts?: CarouselOptions;
|
|
12
|
-
plugins?: CarouselPlugin;
|
|
13
|
-
orientation?: 'horizontal' | 'vertical';
|
|
14
|
-
setApi?: (api: CarouselApi) => void;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Embla-powered carousel that supports horizontal and vertical orientations with keyboard navigation.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```tsx
|
|
21
|
-
* import {
|
|
22
|
-
* Carousel, CarouselContent, CarouselItem,
|
|
23
|
-
* CarouselPrevious, CarouselNext,
|
|
24
|
-
* } from '@customafk/lunas-ui/ui/carousel';
|
|
25
|
-
*
|
|
26
|
-
* <Carousel>
|
|
27
|
-
* <CarouselContent>
|
|
28
|
-
* <CarouselItem>Slide 1</CarouselItem>
|
|
29
|
-
* <CarouselItem>Slide 2</CarouselItem>
|
|
30
|
-
* </CarouselContent>
|
|
31
|
-
* <CarouselPrevious />
|
|
32
|
-
* <CarouselNext />
|
|
33
|
-
* </Carousel>
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
declare function Carousel({
|
|
37
|
-
orientation,
|
|
38
|
-
opts,
|
|
39
|
-
setApi,
|
|
40
|
-
plugins,
|
|
41
|
-
className,
|
|
42
|
-
children,
|
|
43
|
-
...props
|
|
44
|
-
}: React.ComponentProps<'div'> & CarouselProps): react90.JSX.Element;
|
|
45
|
-
/** The scrollable track that holds all CarouselItem elements. */
|
|
46
|
-
declare function CarouselContent({
|
|
47
|
-
className,
|
|
48
|
-
...props
|
|
49
|
-
}: React.ComponentProps<'div'>): react90.JSX.Element;
|
|
50
|
-
/** A single slide within a CarouselContent; occupies the full width (or height for vertical carousels). */
|
|
51
|
-
declare function CarouselItem({
|
|
52
|
-
className,
|
|
53
|
-
...props
|
|
54
|
-
}: React.ComponentProps<'div'>): react90.JSX.Element;
|
|
55
|
-
/** Circular button positioned to the left (or top for vertical) that scrolls to the previous slide. */
|
|
56
|
-
declare function CarouselPrevious({
|
|
57
|
-
className,
|
|
58
|
-
variant,
|
|
59
|
-
size,
|
|
60
|
-
...props
|
|
61
|
-
}: React.ComponentProps<typeof Button>): react90.JSX.Element;
|
|
62
|
-
/** Circular button positioned to the right (or bottom for vertical) that scrolls to the next slide. */
|
|
63
|
-
declare function CarouselNext({
|
|
64
|
-
className,
|
|
65
|
-
variant,
|
|
66
|
-
size,
|
|
67
|
-
...props
|
|
68
|
-
}: React.ComponentProps<typeof Button>): react90.JSX.Element;
|
|
69
|
-
//#endregion
|
|
70
|
-
export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
|
|
71
|
-
//# sourceMappingURL=carousel.d.mts.map
|
package/dist/ui/carousel.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import"../button.variants-B8aRZ52K.mjs";import{t as e}from"../button-CfPTDyoq.mjs";import{ArrowLeft as t,ArrowRight as n}from"lucide-react";import{createContext as r,use as i,useCallback as a,useEffect as o,useState as s}from"react";import{cn as c}from"@customafk/react-toolkit/utils";import{jsx as l,jsxs as u}from"react/jsx-runtime";import d from"embla-carousel-react";const f=r(null);function p(){let e=i(f);if(!e)throw Error(`useCarousel must be used within a <Carousel />`);return e}function m({orientation:e=`horizontal`,opts:t,setApi:n,plugins:r,className:i,children:u,...p}){let[m,h]=d({...t,axis:e===`horizontal`?`x`:`y`},r),[g,_]=s(!1),[v,y]=s(!1),b=a(e=>{e&&(_(e.canScrollPrev()),y(e.canScrollNext()))},[]),x=a(()=>{h?.scrollPrev()},[h]),S=a(()=>{h?.scrollNext()},[h]),C=a(e=>{e.key===`ArrowLeft`?(e.preventDefault(),x()):e.key===`ArrowRight`&&(e.preventDefault(),S())},[x,S]);return o(()=>{!h||!n||n(h)},[h,n]),o(()=>{if(h)return b(h),h.on(`reInit`,b),h.on(`select`,b),()=>{h?.off(`select`,b)}},[h,b]),l(f.Provider,{value:{carouselRef:m,api:h,opts:t,orientation:e||(t?.axis===`y`?`vertical`:`horizontal`),scrollPrev:x,scrollNext:S,canScrollPrev:g,canScrollNext:v},children:l(`div`,{onKeyDownCapture:C,className:c(`relative`,i),role:`region`,"aria-roledescription":`carousel`,"data-slot":`carousel`,...p,children:u})})}function h({className:e,...t}){let{carouselRef:n,orientation:r}=p();return l(`div`,{ref:n,className:`overflow-hidden`,"data-slot":`carousel-content`,children:l(`div`,{className:c(`flex`,r===`horizontal`?`-ml-4`:`-mt-4 flex-col`,e),...t})})}function g({className:e,...t}){let{orientation:n}=p();return l(`div`,{role:`group`,"aria-roledescription":`slide`,"data-slot":`carousel-item`,className:c(`min-w-0 shrink-0 grow-0 basis-full`,n===`horizontal`?`pl-4`:`pt-4`,e),...t})}function _({className:n,variant:r=`outline`,size:i=`icon`,...a}){let{orientation:o,scrollPrev:s,canScrollPrev:d}=p();return u(e,{"data-slot":`carousel-previous`,variant:r,size:i,className:c(`absolute size-8 rounded-full`,o===`horizontal`?`top-1/2 -left-12 -translate-y-1/2`:`-top-12 left-1/2 -translate-x-1/2 rotate-90`,n),disabled:!d,onClick:s,...a,children:[l(t,{}),l(`span`,{className:`sr-only`,children:`Previous slide`})]})}function v({className:t,variant:r=`outline`,size:i=`icon`,...a}){let{orientation:o,scrollNext:s,canScrollNext:d}=p();return u(e,{"data-slot":`carousel-next`,variant:r,size:i,className:c(`absolute size-8 rounded-full`,o===`horizontal`?`top-1/2 -right-12 -translate-y-1/2`:`-bottom-12 left-1/2 -translate-x-1/2 rotate-90`,t),disabled:!d,onClick:s,...a,children:[l(n,{}),l(`span`,{className:`sr-only`,children:`Next slide`})]})}export{m as Carousel,h as CarouselContent,g as CarouselItem,v as CarouselNext,_ as CarouselPrevious};
|
|
2
|
-
//# sourceMappingURL=carousel.mjs.map
|