@customafk/lunas-ui 0.2.44 → 0.2.47
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-BbvPwf2x.mjs → alert-BzBDfGk2.js} +1 -1
- package/dist/alert-BzBDfGk2.js.map +1 -0
- package/dist/{alert-B02cVKWp.d.cts → alert-CNFuxKp7.d.cts} +6 -6
- package/dist/{alert-DHSm8bMn.d.mts → alert-EH6BsbAj.d.ts} +8 -8
- package/dist/{avatar-fltdRVsJ.mjs → avatar-Hpj8lmux.js} +1 -1
- package/dist/avatar-Hpj8lmux.js.map +1 -0
- package/dist/{badge-CDGBGq8X.mjs → badge-CRpRXSuO.js} +1 -1
- package/dist/badge-CRpRXSuO.js.map +1 -0
- package/dist/{badge-BxSbkHQL.d.mts → badge-Cca0AHjT.d.ts} +7 -7
- package/dist/{badge-zrAIDd-9.d.cts → badge-D0JnPurs.d.cts} +7 -7
- package/dist/{button-D3d7M90P.d.mts → button-Cr817M3U.d.cts} +6 -6
- package/dist/{button-D3QvCdr6.d.cts → button-DuZy_wDo.d.ts} +7 -7
- package/dist/button-LMMbL-uH.js +2 -0
- package/dist/button-LMMbL-uH.js.map +1 -0
- package/dist/{button.variants-DkMqWB8G.mjs → button.variants-CoSpd71B.js} +1 -1
- package/dist/button.variants-CoSpd71B.js.map +1 -0
- package/dist/calendar-DzPt7b6k.js +2 -0
- package/dist/calendar-DzPt7b6k.js.map +1 -0
- package/dist/cards/{grid-product-card.d.mts → grid-product-card.d.ts} +1 -1
- package/dist/cards/grid-product-card.js +2 -0
- package/dist/cards/grid-product-card.js.map +1 -0
- package/dist/cards/{product-card.d.mts → product-card.d.ts} +1 -1
- package/dist/cards/product-card.js +2 -0
- package/dist/cards/product-card.js.map +1 -0
- package/dist/cards/{simple-card.d.mts → simple-card.d.ts} +1 -1
- package/dist/cards/simple-card.js +2 -0
- package/dist/cards/simple-card.js.map +1 -0
- package/dist/{checkbox-Cat3i08X.mjs → checkbox-DLGDoU-1.js} +1 -1
- package/dist/checkbox-DLGDoU-1.js.map +1 -0
- package/dist/{close-_UHFeiLS.mjs → close-C0PdZGxr.js} +1 -1
- package/dist/close-C0PdZGxr.js.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/data-display/{country.d.mts → country.d.ts} +2 -2
- package/dist/data-display/country.js +2 -0
- package/dist/data-display/country.js.map +1 -0
- package/dist/data-display/{data-list.d.mts → data-list.d.ts} +1 -1
- package/dist/data-display/{data-list.mjs → data-list.js} +1 -1
- package/dist/data-display/data-list.js.map +1 -0
- package/dist/data-display/{date-tooltip.d.mts → date-tooltip.d.ts} +1 -1
- package/dist/data-display/date-tooltip.js +2 -0
- package/dist/data-display/date-tooltip.js.map +1 -0
- package/dist/data-display/{date.d.mts → date.d.ts} +1 -1
- package/dist/data-display/date.js +1 -0
- package/dist/data-display/{empty.d.mts → empty.d.ts} +1 -1
- package/dist/data-display/{empty.mjs → empty.js} +1 -1
- package/dist/data-display/empty.js.map +1 -0
- package/dist/data-display/{name.d.mts → name.d.ts} +1 -1
- package/dist/data-display/name.js +2 -0
- package/dist/data-display/name.js.map +1 -0
- package/dist/data-display/{phone-number.d.mts → phone-number.d.ts} +1 -1
- 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.d.mts → role-badge.d.ts} +2 -2
- package/dist/data-display/role-badge.js +2 -0
- package/dist/data-display/role-badge.js.map +1 -0
- package/dist/data-display/statistic.d.cts +1 -1
- package/dist/data-display/{statistic.d.mts → statistic.d.ts} +7 -7
- package/dist/data-display/statistic.js +1 -0
- package/dist/data-display/{user.d.mts → user.d.ts} +1 -1
- package/dist/data-display/user.js +1 -0
- package/dist/{date-fY3sUcLp.mjs → date-BIqCFM1Z.js} +1 -1
- package/dist/date-BIqCFM1Z.js.map +1 -0
- package/dist/{dialog-Bd5cOZia.d.mts → dialog-C48T3MZN.d.cts} +12 -12
- package/dist/{dialog-DEmYNufN.d.cts → dialog-CQygxUtj.d.ts} +12 -12
- package/dist/dialog-CmutQ3rp.js +2 -0
- package/dist/dialog-CmutQ3rp.js.map +1 -0
- package/dist/dialogs/{confirm-dialog.d.mts → confirm-dialog.d.ts} +1 -1
- package/dist/dialogs/confirm-dialog.js +2 -0
- package/dist/dialogs/confirm-dialog.js.map +1 -0
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +27 -27
- package/dist/dialogs/detail-dialog/components/{sidebar.d.mts → sidebar.d.ts} +30 -30
- package/dist/dialogs/detail-dialog/components/sidebar.js +1 -0
- package/dist/dialogs/detail-dialog/{index.d.mts → index.d.ts} +1 -1
- package/dist/dialogs/detail-dialog/index.js +2 -0
- package/dist/dialogs/detail-dialog/index.js.map +1 -0
- package/dist/dialogs/{error-dialog.d.mts → error-dialog.d.ts} +1 -1
- package/dist/dialogs/error-dialog.js +2 -0
- package/dist/dialogs/error-dialog.js.map +1 -0
- package/dist/dialogs/{loading-dialog.d.mts → loading-dialog.d.ts} +1 -1
- package/dist/dialogs/loading-dialog.js +2 -0
- package/dist/dialogs/loading-dialog.js.map +1 -0
- package/dist/{dist-DVrfqn8H.mjs → dist-EPxjIRJp.js} +1 -1
- package/dist/dist-EPxjIRJp.js.map +1 -0
- package/dist/{drawer-CMD7JWH8.mjs → drawer-B3qXaN5p.js} +1 -1
- package/dist/drawer-B3qXaN5p.js.map +1 -0
- package/dist/{dropdown-menu-BWhiVsEf.mjs → dropdown-menu-DeHCVyby.js} +1 -1
- package/dist/dropdown-menu-DeHCVyby.js.map +1 -0
- package/dist/features/descriptions/index.d.cts +4 -4
- package/dist/features/descriptions/{index.d.mts → index.d.ts} +8 -8
- package/dist/features/descriptions/index.js +2 -0
- package/dist/features/descriptions/index.js.map +1 -0
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/{index.d.mts → index.d.ts} +3 -3
- package/dist/features/search-modal/index.js +1 -0
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/{index.d.mts → index.d.ts} +2 -2
- 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.d.cts +1 -1
- package/dist/features/text-editor/{index.d.mts → index.d.ts} +1 -1
- package/dist/features/text-editor/index.js +1 -0
- package/dist/field-DpoKF1nY.js +2 -0
- package/dist/field-DpoKF1nY.js.map +1 -0
- package/dist/{flex-B6YSJzGe.mjs → flex-CinRrgEy.js} +1 -1
- package/dist/flex-CinRrgEy.js.map +1 -0
- package/dist/{heading-De4Pn3mZ.mjs → heading-Bz-hSatD.js} +1 -1
- package/dist/heading-Bz-hSatD.js.map +1 -0
- package/dist/image-BpTuF_1w.js +2 -0
- package/dist/image-BpTuF_1w.js.map +1 -0
- package/dist/{index-CiG1i12w.d.cts → index-Bc9X8pLk.d.cts} +7 -7
- package/dist/{index-Cm62M0Ft.d.mts → index-BlQGXGqt.d.ts} +1 -1
- package/dist/{index-DNozPoRR.d.mts → index-C1O2C-cg.d.ts} +7 -7
- package/dist/{index-BhiLHeUb.d.cts → index-CgH0tiiC.d.cts} +30 -30
- package/dist/{index-DSciiDhn.d.cts → index-D5u9CKyd.d.cts} +309 -950
- package/dist/{index-DriviV-i.d.mts → index-DFUF27Yy.d.ts} +31 -31
- package/dist/{index-Cl_7tlH_.d.mts → index-Ilj04YNO.d.ts} +309 -950
- 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-BtuZm0BQ.d.mts → input-B_gst0eJ.d.cts} +7 -7
- package/dist/{input-CD4zf7t1.d.cts → input-BkHdaXGY.d.ts} +7 -7
- package/dist/{input-NJP2wQOm.mjs → input-DAfP6LZ7.js} +1 -1
- package/dist/input-DAfP6LZ7.js.map +1 -0
- package/dist/{label-CUCpwS5D.mjs → label-B8cAG2kc.js} +1 -1
- package/dist/label-B8cAG2kc.js.map +1 -0
- package/dist/layouts/cms-layout/index.d.ts +2 -0
- package/dist/layouts/cms-layout/index.js +1 -0
- package/dist/layouts/flex.d.cts +4 -4
- package/dist/layouts/{flex.d.mts → flex.d.ts} +5 -5
- package/dist/layouts/flex.js +1 -0
- package/dist/layouts/{grid.d.mts → grid.d.ts} +1 -1
- package/dist/layouts/{grid.mjs → grid.js} +1 -1
- package/dist/layouts/grid.js.map +1 -0
- package/dist/layouts/payment-layout/{index.d.mts → index.d.ts} +1 -1
- package/dist/layouts/payment-layout/index.js +1 -0
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/{FeatureDeveloping.d.mts → FeatureDeveloping.d.ts} +3 -3
- package/dist/pages/FeatureDeveloping.js +2 -0
- package/dist/pages/FeatureDeveloping.js.map +1 -0
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/{FeatureFixing.d.mts → FeatureFixing.d.ts} +3 -3
- package/dist/pages/FeatureFixing.js +2 -0
- package/dist/pages/FeatureFixing.js.map +1 -0
- package/dist/pages/LoginPage.d.cts +2 -2
- package/dist/pages/{LoginPage.d.mts → LoginPage.d.ts} +3 -3
- package/dist/pages/LoginPage.js +2 -0
- package/dist/pages/LoginPage.js.map +1 -0
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/{NotAuthorized.d.mts → NotAuthorized.d.ts} +3 -3
- package/dist/pages/NotAuthorized.js +2 -0
- package/dist/pages/NotAuthorized.js.map +1 -0
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/{NotFound.d.mts → NotFound.d.ts} +3 -3
- package/dist/pages/NotFound.js +2 -0
- package/dist/pages/NotFound.js.map +1 -0
- package/dist/pages/RegisterPage.d.cts +2 -2
- package/dist/pages/{RegisterPage.d.mts → RegisterPage.d.ts} +3 -3
- package/dist/pages/RegisterPage.js +2 -0
- package/dist/pages/RegisterPage.js.map +1 -0
- package/dist/pages/VerifyEmailPage.d.cts +2 -2
- package/dist/pages/{VerifyEmailPage.d.mts → VerifyEmailPage.d.ts} +3 -3
- package/dist/pages/VerifyEmailPage.js +2 -0
- package/dist/pages/VerifyEmailPage.js.map +1 -0
- package/dist/{paragraph-DYLaQtTV.mjs → paragraph-Cc13ZI4d.js} +1 -1
- package/dist/paragraph-Cc13ZI4d.js.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/{progress-CLeM0e7Z.mjs → progress-AYknlEgK.js} +1 -1
- package/dist/progress-AYknlEgK.js.map +1 -0
- package/dist/{radio-group-Y9bhdr55.mjs → radio-group-ImoBjpqZ.js} +1 -1
- package/dist/radio-group-ImoBjpqZ.js.map +1 -0
- package/dist/{resizable-CpCaSCFB.mjs → resizable-C-M-mu6b.js} +1 -1
- package/dist/resizable-C-M-mu6b.js.map +1 -0
- package/dist/search-modal-b2AE5WEW.js +2 -0
- package/dist/search-modal-b2AE5WEW.js.map +1 -0
- package/dist/{select-LlPCZFSF.mjs → select-CryLzZA0.js} +1 -1
- package/dist/select-CryLzZA0.js.map +1 -0
- package/dist/{separator-D3Gmkxzq.mjs → separator-BM8hA4DP.js} +1 -1
- package/dist/separator-BM8hA4DP.js.map +1 -0
- package/dist/{sheet-BFlIfNaA.mjs → sheet-DGXXYgWB.js} +1 -1
- 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/{skeleton-C51IdOfK.mjs → skeleton-DlRDNM97.js} +1 -1
- package/dist/skeleton-DlRDNM97.js.map +1 -0
- package/dist/{spinner-eClTgHjk.mjs → spinner-C1eamx3w.js} +1 -1
- package/dist/spinner-C1eamx3w.js.map +1 -0
- package/dist/{statistic-cwLwcukn.mjs → statistic-CYMqAYNc.js} +1 -1
- package/dist/statistic-CYMqAYNc.js.map +1 -0
- package/dist/{switch-BP7EPatj.mjs → switch-BLHmdRq2.js} +1 -1
- package/dist/switch-BLHmdRq2.js.map +1 -0
- package/dist/systems/{google.d.mts → google.d.ts} +1 -1
- package/dist/systems/{google.mjs → google.js} +1 -1
- package/dist/systems/google.js.map +1 -0
- package/dist/tables-DWQytYNm.js +4 -0
- package/dist/tables-DWQytYNm.js.map +1 -0
- package/dist/tanstack-form-CCDV-3Ml.js +12 -0
- package/dist/tanstack-form-CCDV-3Ml.js.map +1 -0
- package/dist/{tanstack-form-DatI41wz.cjs → tanstack-form-DoI86Ezs.cjs} +2 -2
- package/dist/{tanstack-form-DatI41wz.cjs.map → tanstack-form-DoI86Ezs.cjs.map} +1 -1
- package/dist/text-editor-WbS7pJJs.js +2 -0
- package/dist/text-editor-WbS7pJJs.js.map +1 -0
- package/dist/{textarea-7HDXcaK9.mjs → textarea-Bp6VvhiA.js} +1 -1
- package/dist/textarea-Bp6VvhiA.js.map +1 -0
- package/dist/{tooltip-Dxl5Wa8i.mjs → tooltip-CVIl6Hln.js} +1 -1
- package/dist/tooltip-CVIl6Hln.js.map +1 -0
- package/dist/{types-YLu40dXY.d.mts → types-BVSfF-1o.d.ts} +1 -1
- package/dist/{types-B5nyTWtO.mjs → types-BZqffRVJ.js} +1 -1
- package/dist/types-BZqffRVJ.js.map +1 -0
- package/dist/typography/paragraph.d.cts +5 -5
- package/dist/typography/{paragraph.d.mts → paragraph.d.ts} +6 -6
- package/dist/typography/paragraph.js +1 -0
- package/dist/typography/{title.d.mts → title.d.ts} +1 -1
- package/dist/typography/{title.mjs → title.js} +1 -1
- package/dist/typography/title.js.map +1 -0
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/{alert-dialog.d.mts → alert-dialog.d.ts} +13 -13
- package/dist/ui/alert-dialog.js +2 -0
- package/dist/ui/alert-dialog.js.map +1 -0
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/{alert.d.mts → alert.d.ts} +1 -1
- package/dist/ui/alert.js +1 -0
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/{aspect-ratio.d.mts → aspect-ratio.d.ts} +3 -3
- package/dist/ui/{aspect-ratio.mjs → aspect-ratio.js} +1 -1
- package/dist/ui/aspect-ratio.js.map +1 -0
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/{avatar.d.mts → avatar.d.ts} +5 -5
- package/dist/ui/avatar.js +1 -0
- 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.d.cts +8 -8
- package/dist/ui/{breadcrumb.d.mts → breadcrumb.d.ts} +9 -9
- package/dist/ui/breadcrumb.js +2 -0
- package/dist/ui/breadcrumb.js.map +1 -0
- package/dist/ui/button-group.d.cts +6 -6
- package/dist/ui/{button-group.d.mts → button-group.d.ts} +8 -8
- package/dist/ui/button-group.js +2 -0
- package/dist/ui/button-group.js.map +1 -0
- 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.d.mts → add-new.d.ts} +1 -1
- package/dist/ui/buttons/add-new.js +2 -0
- package/dist/ui/buttons/add-new.js.map +1 -0
- package/dist/ui/buttons/{edit.d.mts → edit.d.ts} +1 -1
- package/dist/ui/buttons/edit.js +2 -0
- package/dist/ui/buttons/edit.js.map +1 -0
- package/dist/ui/buttons/{refresh.d.mts → refresh.d.ts} +1 -1
- package/dist/ui/buttons/refresh.js +2 -0
- package/dist/ui/buttons/refresh.js.map +1 -0
- package/dist/ui/buttons/{trash.d.mts → trash.d.ts} +1 -1
- package/dist/ui/buttons/trash.js +2 -0
- package/dist/ui/buttons/trash.js.map +1 -0
- package/dist/ui/buttons/{upload-image.d.mts → upload-image.d.ts} +1 -1
- package/dist/ui/buttons/upload-image.js +2 -0
- package/dist/ui/buttons/upload-image.js.map +1 -0
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/{calendar.d.mts → calendar.d.ts} +5 -5
- package/dist/ui/calendar.js +1 -0
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/{card.d.mts → card.d.ts} +9 -9
- package/dist/ui/card.js +2 -0
- package/dist/ui/card.js.map +1 -0
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/{carousel.d.mts → carousel.d.ts} +8 -8
- package/dist/ui/carousel.js +2 -0
- package/dist/ui/carousel.js.map +1 -0
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/{checkbox.d.mts → checkbox.d.ts} +3 -3
- package/dist/ui/checkbox.js +1 -0
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/{collapsible.d.mts → collapsible.d.ts} +5 -5
- package/dist/ui/{collapsible.mjs → collapsible.js} +1 -1
- package/dist/ui/collapsible.js.map +1 -0
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/{command.d.mts → command.d.ts} +12 -12
- package/dist/ui/command.js +1 -0
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/{context-menu.d.mts → context-menu.d.ts} +17 -17
- package/dist/ui/{context-menu.mjs → context-menu.js} +1 -1
- package/dist/ui/context-menu.js.map +1 -0
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/{dialog.d.mts → dialog.d.ts} +1 -1
- package/dist/ui/dialog.js +1 -0
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/{drawer.d.mts → drawer.d.ts} +12 -12
- package/dist/ui/drawer.js +1 -0
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/{dropdown-menu.d.mts → dropdown-menu.d.ts} +17 -17
- package/dist/ui/dropdown-menu.js +1 -0
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/{empty.d.mts → empty.d.ts} +10 -10
- package/dist/ui/{empty.mjs → empty.js} +1 -1
- package/dist/ui/empty.js.map +1 -0
- package/dist/ui/field.d.cts +23 -23
- package/dist/ui/field.d.ts +65 -0
- package/dist/ui/field.js +1 -0
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/{file-uploader.d.mts → file-uploader.d.ts} +3 -3
- package/dist/ui/file-uploader.js +3 -0
- package/dist/ui/file-uploader.js.map +1 -0
- package/dist/ui/form.d.cts +10 -10
- package/dist/ui/{form.d.mts → form.d.ts} +11 -11
- package/dist/ui/form.js +2 -0
- package/dist/ui/form.js.map +1 -0
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/{hover-card.d.mts → hover-card.d.ts} +5 -5
- package/dist/ui/{hover-card.mjs → hover-card.js} +1 -1
- package/dist/ui/hover-card.js.map +1 -0
- package/dist/ui/{image.d.mts → image.d.ts} +1 -1
- package/dist/ui/image.js +1 -0
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/{input-otp.d.mts → input-otp.d.ts} +6 -6
- package/dist/ui/{input-otp.mjs → input-otp.js} +1 -1
- package/dist/ui/input-otp.js.map +1 -0
- 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.d.cts +3 -3
- package/dist/ui/inputs/{search-input.d.mts → search-input.d.ts} +4 -4
- package/dist/ui/inputs/search-input.js +2 -0
- package/dist/ui/inputs/search-input.js.map +1 -0
- package/dist/ui/item.d.cts +16 -16
- package/dist/ui/{item.d.mts → item.d.ts} +18 -18
- package/dist/ui/item.js +2 -0
- package/dist/ui/item.js.map +1 -0
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/{label.d.mts → label.d.ts} +3 -3
- package/dist/ui/label.js +1 -0
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/{menubar.d.mts → menubar.d.ts} +18 -18
- package/dist/ui/{menubar.mjs → menubar.js} +1 -1
- package/dist/ui/menubar.js.map +1 -0
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/{multi-select.d.mts → multi-select.d.ts} +5 -5
- package/dist/ui/multi-select.js +2 -0
- package/dist/ui/multi-select.js.map +1 -0
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/{navigation-menu.d.mts → navigation-menu.d.ts} +12 -12
- package/dist/ui/{navigation-menu.mjs → navigation-menu.js} +1 -1
- package/dist/ui/navigation-menu.js.map +1 -0
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/{pagination.d.mts → pagination.d.ts} +10 -10
- package/dist/ui/pagination.js +2 -0
- package/dist/ui/pagination.js.map +1 -0
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/{popover.d.mts → popover.d.ts} +7 -7
- package/dist/ui/popover.js +1 -0
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/{progress.d.mts → progress.d.ts} +3 -3
- package/dist/ui/progress.js +1 -0
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/{radio-group.d.mts → radio-group.d.ts} +4 -4
- package/dist/ui/radio-group.js +1 -0
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/{resizable.d.mts → resizable.d.ts} +10 -10
- package/dist/ui/resizable.js +1 -0
- package/dist/ui/scroll-area.d.cts +5 -5
- package/dist/ui/{scroll-area.d.mts → scroll-area.d.ts} +6 -6
- package/dist/ui/{scroll-area.mjs → scroll-area.js} +1 -1
- package/dist/ui/scroll-area.js.map +1 -0
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/{select.d.mts → select.d.ts} +10 -10
- package/dist/ui/select.js +1 -0
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/{separator.d.mts → separator.d.ts} +3 -3
- package/dist/ui/separator.js +1 -0
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/{sheet.d.mts → sheet.d.ts} +10 -10
- package/dist/ui/sheet.js +1 -0
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/{skeleton.d.mts → skeleton.d.ts} +3 -3
- package/dist/ui/skeleton.js +1 -0
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/{slider.d.mts → slider.d.ts} +3 -3
- package/dist/ui/{slider.mjs → slider.js} +1 -1
- package/dist/ui/slider.js.map +1 -0
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/{sonner.d.mts → sonner.d.ts} +3 -3
- package/dist/ui/{sonner.mjs → sonner.js} +1 -1
- package/dist/ui/sonner.js.map +1 -0
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/{spinner.d.mts → spinner.d.ts} +3 -3
- package/dist/ui/spinner.js +1 -0
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/{switch.d.mts → switch.d.ts} +3 -3
- package/dist/ui/switch.js +1 -0
- package/dist/ui/table.d.cts +17 -17
- package/dist/ui/{table.d.mts → table.d.ts} +18 -18
- package/dist/ui/{table.mjs → table.js} +1 -1
- package/dist/ui/table.js.map +1 -0
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/{tabs.d.mts → tabs.d.ts} +6 -6
- package/dist/ui/{tabs.mjs → tabs.js} +1 -1
- package/dist/ui/tabs.js.map +1 -0
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/{textarea.d.mts → textarea.d.ts} +3 -3
- package/dist/ui/textarea.js +1 -0
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/{toggle-group.d.mts → toggle-group.d.ts} +5 -5
- package/dist/ui/toggle-group.js +2 -0
- package/dist/ui/toggle-group.js.map +1 -0
- package/dist/ui/toggle.d.cts +5 -5
- package/dist/ui/{toggle.d.mts → toggle.d.ts} +4 -4
- package/dist/ui/{toggle.mjs → toggle.js} +1 -1
- package/dist/ui/toggle.js.map +1 -0
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/{tooltip.d.mts → tooltip.d.ts} +6 -6
- package/dist/ui/tooltip.js +1 -0
- package/dist/user-BSpgswEC.js +2 -0
- package/dist/user-BSpgswEC.js.map +1 -0
- package/package.json +97 -97
- package/dist/alert-BbvPwf2x.mjs.map +0 -1
- package/dist/avatar-fltdRVsJ.mjs.map +0 -1
- package/dist/badge-CDGBGq8X.mjs.map +0 -1
- package/dist/button-CCVJTHBI.mjs +0 -2
- package/dist/button-CCVJTHBI.mjs.map +0 -1
- package/dist/button.variants-DkMqWB8G.mjs.map +0 -1
- package/dist/calendar-R866yyd1.mjs +0 -2
- package/dist/calendar-R866yyd1.mjs.map +0 -1
- package/dist/cards/grid-product-card.mjs +0 -2
- package/dist/cards/grid-product-card.mjs.map +0 -1
- package/dist/cards/product-card.mjs +0 -2
- package/dist/cards/product-card.mjs.map +0 -1
- package/dist/cards/simple-card.mjs +0 -2
- package/dist/cards/simple-card.mjs.map +0 -1
- package/dist/checkbox-Cat3i08X.mjs.map +0 -1
- package/dist/close-_UHFeiLS.mjs.map +0 -1
- package/dist/cms-layout-DkCR1AfG.mjs +0 -2
- package/dist/cms-layout-DkCR1AfG.mjs.map +0 -1
- package/dist/command-D6_CSbwJ.mjs +0 -2
- package/dist/command-D6_CSbwJ.mjs.map +0 -1
- package/dist/data-display/country.mjs +0 -2
- package/dist/data-display/country.mjs.map +0 -1
- package/dist/data-display/data-list.mjs.map +0 -1
- package/dist/data-display/date-tooltip.mjs +0 -2
- package/dist/data-display/date-tooltip.mjs.map +0 -1
- package/dist/data-display/date.mjs +0 -1
- package/dist/data-display/empty.mjs.map +0 -1
- package/dist/data-display/name.mjs +0 -2
- package/dist/data-display/name.mjs.map +0 -1
- 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.mjs +0 -2
- package/dist/data-display/role-badge.mjs.map +0 -1
- package/dist/data-display/statistic.mjs +0 -1
- package/dist/data-display/user.mjs +0 -1
- package/dist/date-fY3sUcLp.mjs.map +0 -1
- package/dist/dialog-CLDnvNH_.mjs +0 -2
- package/dist/dialog-CLDnvNH_.mjs.map +0 -1
- package/dist/dialogs/confirm-dialog.mjs +0 -2
- package/dist/dialogs/confirm-dialog.mjs.map +0 -1
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +0 -1
- package/dist/dialogs/detail-dialog/index.mjs +0 -2
- package/dist/dialogs/detail-dialog/index.mjs.map +0 -1
- package/dist/dialogs/error-dialog.mjs +0 -2
- package/dist/dialogs/error-dialog.mjs.map +0 -1
- package/dist/dialogs/loading-dialog.mjs +0 -2
- package/dist/dialogs/loading-dialog.mjs.map +0 -1
- package/dist/dist-DVrfqn8H.mjs.map +0 -1
- package/dist/drawer-CMD7JWH8.mjs.map +0 -1
- package/dist/dropdown-menu-BWhiVsEf.mjs.map +0 -1
- package/dist/features/descriptions/index.mjs +0 -2
- package/dist/features/descriptions/index.mjs.map +0 -1
- package/dist/features/search-modal/index.mjs +0 -1
- 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.mjs +0 -1
- package/dist/field-dYemS0hQ.mjs +0 -2
- package/dist/field-dYemS0hQ.mjs.map +0 -1
- package/dist/flex-B6YSJzGe.mjs.map +0 -1
- package/dist/heading-De4Pn3mZ.mjs.map +0 -1
- package/dist/image-D7OZ13Ib.mjs +0 -2
- package/dist/image-D7OZ13Ib.mjs.map +0 -1
- package/dist/index.d.mts +0 -93
- package/dist/index.mjs +0 -1
- package/dist/input-NJP2wQOm.mjs.map +0 -1
- package/dist/label-CUCpwS5D.mjs.map +0 -1
- package/dist/layouts/cms-layout/index.d.mts +0 -2
- package/dist/layouts/cms-layout/index.mjs +0 -1
- package/dist/layouts/flex.mjs +0 -1
- package/dist/layouts/grid.mjs.map +0 -1
- package/dist/layouts/payment-layout/index.mjs +0 -1
- package/dist/pages/FeatureDeveloping.mjs +0 -2
- package/dist/pages/FeatureDeveloping.mjs.map +0 -1
- package/dist/pages/FeatureFixing.mjs +0 -2
- package/dist/pages/FeatureFixing.mjs.map +0 -1
- package/dist/pages/LoginPage.mjs +0 -2
- package/dist/pages/LoginPage.mjs.map +0 -1
- package/dist/pages/NotAuthorized.mjs +0 -2
- package/dist/pages/NotAuthorized.mjs.map +0 -1
- package/dist/pages/NotFound.mjs +0 -2
- package/dist/pages/NotFound.mjs.map +0 -1
- package/dist/pages/RegisterPage.mjs +0 -2
- package/dist/pages/RegisterPage.mjs.map +0 -1
- package/dist/pages/VerifyEmailPage.mjs +0 -2
- package/dist/pages/VerifyEmailPage.mjs.map +0 -1
- package/dist/paragraph-DYLaQtTV.mjs.map +0 -1
- package/dist/payment-layout-DrQ0kZPX.mjs +0 -2
- package/dist/payment-layout-DrQ0kZPX.mjs.map +0 -1
- package/dist/popover-C8rcemA3.mjs +0 -2
- package/dist/popover-C8rcemA3.mjs.map +0 -1
- package/dist/progress-CLeM0e7Z.mjs.map +0 -1
- package/dist/radio-group-Y9bhdr55.mjs.map +0 -1
- package/dist/resizable-CpCaSCFB.mjs.map +0 -1
- package/dist/search-modal-Bn-GOOCy.mjs +0 -2
- package/dist/search-modal-Bn-GOOCy.mjs.map +0 -1
- package/dist/select-LlPCZFSF.mjs.map +0 -1
- package/dist/separator-D3Gmkxzq.mjs.map +0 -1
- package/dist/sheet-BFlIfNaA.mjs.map +0 -1
- package/dist/sidebar-ChtCyu-n.mjs +0 -2
- package/dist/sidebar-ChtCyu-n.mjs.map +0 -1
- package/dist/skeleton-C51IdOfK.mjs.map +0 -1
- package/dist/spinner-eClTgHjk.mjs.map +0 -1
- package/dist/statistic-cwLwcukn.mjs.map +0 -1
- package/dist/switch-BP7EPatj.mjs.map +0 -1
- package/dist/systems/google.mjs.map +0 -1
- package/dist/tables-CFrsk2lM.mjs +0 -4
- package/dist/tables-CFrsk2lM.mjs.map +0 -1
- package/dist/tanstack-form-DT1TqIDl.mjs +0 -12
- package/dist/tanstack-form-DT1TqIDl.mjs.map +0 -1
- package/dist/text-editor-5mA7XyaI.mjs +0 -2
- package/dist/text-editor-5mA7XyaI.mjs.map +0 -1
- package/dist/textarea-7HDXcaK9.mjs.map +0 -1
- package/dist/tooltip-Dxl5Wa8i.mjs.map +0 -1
- package/dist/types-B5nyTWtO.mjs.map +0 -1
- package/dist/typography/paragraph.mjs +0 -1
- package/dist/typography/title.mjs.map +0 -1
- package/dist/ui/alert-dialog.mjs +0 -2
- package/dist/ui/alert-dialog.mjs.map +0 -1
- package/dist/ui/alert.mjs +0 -1
- package/dist/ui/aspect-ratio.mjs.map +0 -1
- 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.mjs +0 -2
- package/dist/ui/breadcrumb.mjs.map +0 -1
- 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.mjs +0 -2
- package/dist/ui/buttons/add-new.mjs.map +0 -1
- package/dist/ui/buttons/edit.mjs +0 -2
- package/dist/ui/buttons/edit.mjs.map +0 -1
- package/dist/ui/buttons/refresh.mjs +0 -2
- package/dist/ui/buttons/refresh.mjs.map +0 -1
- package/dist/ui/buttons/trash.mjs +0 -2
- package/dist/ui/buttons/trash.mjs.map +0 -1
- package/dist/ui/buttons/upload-image.mjs +0 -2
- package/dist/ui/buttons/upload-image.mjs.map +0 -1
- package/dist/ui/calendar.mjs +0 -1
- package/dist/ui/card.mjs +0 -2
- package/dist/ui/card.mjs.map +0 -1
- package/dist/ui/carousel.mjs +0 -2
- package/dist/ui/carousel.mjs.map +0 -1
- package/dist/ui/checkbox.mjs +0 -1
- package/dist/ui/collapsible.mjs.map +0 -1
- package/dist/ui/command.mjs +0 -1
- package/dist/ui/context-menu.mjs.map +0 -1
- package/dist/ui/dialog.mjs +0 -1
- package/dist/ui/drawer.mjs +0 -1
- package/dist/ui/dropdown-menu.mjs +0 -1
- 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.mjs +0 -3
- package/dist/ui/file-uploader.mjs.map +0 -1
- package/dist/ui/form.mjs +0 -2
- package/dist/ui/form.mjs.map +0 -1
- package/dist/ui/hover-card.mjs.map +0 -1
- package/dist/ui/image.mjs +0 -1
- 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.mjs +0 -2
- package/dist/ui/inputs/search-input.mjs.map +0 -1
- package/dist/ui/item.mjs +0 -2
- package/dist/ui/item.mjs.map +0 -1
- package/dist/ui/label.mjs +0 -1
- package/dist/ui/menubar.mjs.map +0 -1
- package/dist/ui/multi-select.mjs +0 -2
- package/dist/ui/multi-select.mjs.map +0 -1
- package/dist/ui/navigation-menu.mjs.map +0 -1
- package/dist/ui/pagination.mjs +0 -2
- package/dist/ui/pagination.mjs.map +0 -1
- package/dist/ui/popover.mjs +0 -1
- package/dist/ui/progress.mjs +0 -1
- package/dist/ui/radio-group.mjs +0 -1
- package/dist/ui/resizable.mjs +0 -1
- package/dist/ui/scroll-area.mjs.map +0 -1
- package/dist/ui/select.mjs +0 -1
- package/dist/ui/separator.mjs +0 -1
- package/dist/ui/sheet.mjs +0 -1
- package/dist/ui/skeleton.mjs +0 -1
- package/dist/ui/slider.mjs.map +0 -1
- package/dist/ui/sonner.mjs.map +0 -1
- package/dist/ui/spinner.mjs +0 -1
- package/dist/ui/switch.mjs +0 -1
- package/dist/ui/table.mjs.map +0 -1
- package/dist/ui/tabs.mjs.map +0 -1
- package/dist/ui/textarea.mjs +0 -1
- package/dist/ui/toggle-group.mjs +0 -2
- package/dist/ui/toggle-group.mjs.map +0 -1
- package/dist/ui/toggle.mjs.map +0 -1
- package/dist/ui/tooltip.mjs +0 -1
- package/dist/user-DtZy4P9d.mjs +0 -2
- package/dist/user-DtZy4P9d.mjs.map +0 -1
package/dist/ui/breadcrumb.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react15 from "react";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
4
|
|
|
@@ -28,17 +28,17 @@ import * as react122 from "react";
|
|
|
28
28
|
declare function Breadcrumb({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<'nav'>):
|
|
31
|
+
}: React.ComponentProps<'nav'>): react15.JSX.Element;
|
|
32
32
|
/** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */
|
|
33
33
|
declare function BreadcrumbList({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'ol'>):
|
|
36
|
+
}: React.ComponentProps<'ol'>): react15.JSX.Element;
|
|
37
37
|
/** Individual `<li>` item wrapper inside a BreadcrumbList. */
|
|
38
38
|
declare function BreadcrumbItem({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'li'>):
|
|
41
|
+
}: React.ComponentProps<'li'>): react15.JSX.Element;
|
|
42
42
|
/**
|
|
43
43
|
* Interactive anchor link for non-current breadcrumb segments; supports `asChild` for custom routing.
|
|
44
44
|
*
|
|
@@ -50,23 +50,23 @@ declare function BreadcrumbLink({
|
|
|
50
50
|
...props
|
|
51
51
|
}: React.ComponentProps<'a'> & {
|
|
52
52
|
asChild?: boolean;
|
|
53
|
-
}):
|
|
53
|
+
}): react15.JSX.Element;
|
|
54
54
|
/** Non-interactive span representing the current page; sets `aria-current="page"`. */
|
|
55
55
|
declare function BreadcrumbPage({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<'span'>):
|
|
58
|
+
}: React.ComponentProps<'span'>): react15.JSX.Element;
|
|
59
59
|
/** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */
|
|
60
60
|
declare function BreadcrumbSeparator({
|
|
61
61
|
children,
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<'li'>):
|
|
64
|
+
}: React.ComponentProps<'li'>): react15.JSX.Element;
|
|
65
65
|
/** Button that represents collapsed breadcrumb segments with an ellipsis icon. */
|
|
66
66
|
declare function BreadcrumbEllipsis({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<'button'>):
|
|
69
|
+
}: React.ComponentProps<'button'>): react15.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
72
72
|
//# sourceMappingURL=breadcrumb.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react51 from "react";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
4
|
|
|
@@ -28,17 +28,17 @@ import * as react49 from "react";
|
|
|
28
28
|
declare function Breadcrumb({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<'nav'>):
|
|
31
|
+
}: React.ComponentProps<'nav'>): react51.JSX.Element;
|
|
32
32
|
/** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */
|
|
33
33
|
declare function BreadcrumbList({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'ol'>):
|
|
36
|
+
}: React.ComponentProps<'ol'>): react51.JSX.Element;
|
|
37
37
|
/** Individual `<li>` item wrapper inside a BreadcrumbList. */
|
|
38
38
|
declare function BreadcrumbItem({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'li'>):
|
|
41
|
+
}: React.ComponentProps<'li'>): react51.JSX.Element;
|
|
42
42
|
/**
|
|
43
43
|
* Interactive anchor link for non-current breadcrumb segments; supports `asChild` for custom routing.
|
|
44
44
|
*
|
|
@@ -50,23 +50,23 @@ declare function BreadcrumbLink({
|
|
|
50
50
|
...props
|
|
51
51
|
}: React.ComponentProps<'a'> & {
|
|
52
52
|
asChild?: boolean;
|
|
53
|
-
}):
|
|
53
|
+
}): react51.JSX.Element;
|
|
54
54
|
/** Non-interactive span representing the current page; sets `aria-current="page"`. */
|
|
55
55
|
declare function BreadcrumbPage({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<'span'>):
|
|
58
|
+
}: React.ComponentProps<'span'>): react51.JSX.Element;
|
|
59
59
|
/** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */
|
|
60
60
|
declare function BreadcrumbSeparator({
|
|
61
61
|
children,
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<'li'>):
|
|
64
|
+
}: React.ComponentProps<'li'>): react51.JSX.Element;
|
|
65
65
|
/** Button that represents collapsed breadcrumb segments with an ellipsis icon. */
|
|
66
66
|
declare function BreadcrumbEllipsis({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<'button'>):
|
|
69
|
+
}: React.ComponentProps<'button'>): react51.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
72
|
-
//# sourceMappingURL=breadcrumb.d.
|
|
72
|
+
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import{t as e}from"../dist-EPxjIRJp.js";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.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.js","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":"2NA+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,12 +1,12 @@
|
|
|
1
1
|
import { Separator } from "./separator.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react10 from "react";
|
|
3
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/button-group.d.ts
|
|
7
7
|
declare const buttonGroupVariants: (props?: ({
|
|
8
8
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
10
10
|
/**
|
|
11
11
|
* Groups buttons (or inputs) into a visually connected row or column by removing the border radii on adjacent sides.
|
|
12
12
|
*
|
|
@@ -26,7 +26,7 @@ declare function ButtonGroup({
|
|
|
26
26
|
className,
|
|
27
27
|
orientation,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>):
|
|
29
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react10.JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* A static text or icon addon rendered inside a ButtonGroup with muted background styling.
|
|
32
32
|
*
|
|
@@ -38,13 +38,13 @@ declare function ButtonGroupText({
|
|
|
38
38
|
...props
|
|
39
39
|
}: React.ComponentProps<'div'> & {
|
|
40
40
|
asChild?: boolean;
|
|
41
|
-
}):
|
|
41
|
+
}): react10.JSX.Element;
|
|
42
42
|
/** A visual Separator rendered between items inside a ButtonGroup. */
|
|
43
43
|
declare function ButtonGroupSeparator({
|
|
44
44
|
className,
|
|
45
45
|
orientation,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof Separator>):
|
|
47
|
+
}: React.ComponentProps<typeof Separator>): react10.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
50
50
|
//# sourceMappingURL=button-group.d.cts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Separator } from "./separator.
|
|
2
|
-
import * as
|
|
1
|
+
import { Separator } from "./separator.js";
|
|
2
|
+
import * as react131 from "react";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/button-group.d.ts
|
|
7
7
|
declare const buttonGroupVariants: (props?: ({
|
|
8
8
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
10
10
|
/**
|
|
11
11
|
* Groups buttons (or inputs) into a visually connected row or column by removing the border radii on adjacent sides.
|
|
12
12
|
*
|
|
@@ -26,7 +26,7 @@ declare function ButtonGroup({
|
|
|
26
26
|
className,
|
|
27
27
|
orientation,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>):
|
|
29
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react131.JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* A static text or icon addon rendered inside a ButtonGroup with muted background styling.
|
|
32
32
|
*
|
|
@@ -38,13 +38,13 @@ declare function ButtonGroupText({
|
|
|
38
38
|
...props
|
|
39
39
|
}: React.ComponentProps<'div'> & {
|
|
40
40
|
asChild?: boolean;
|
|
41
|
-
}):
|
|
41
|
+
}): react131.JSX.Element;
|
|
42
42
|
/** A visual Separator rendered between items inside a ButtonGroup. */
|
|
43
43
|
declare function ButtonGroupSeparator({
|
|
44
44
|
className,
|
|
45
45
|
orientation,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof Separator>):
|
|
47
|
+
}: React.ComponentProps<typeof Separator>): react131.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
50
|
-
//# sourceMappingURL=button-group.d.
|
|
50
|
+
//# sourceMappingURL=button-group.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{t as e}from"../dist-EPxjIRJp.js";import{t}from"../separator-BM8hA4DP.js";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.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group.js","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":"2NAMA,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.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ButtonProps, t as Button } from "../button-
|
|
1
|
+
import { n as ButtonProps, t as Button } from "../button-Cr817M3U.cjs";
|
|
2
2
|
export { Button, ButtonProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import"../button.variants-CoSpd71B.js";import{t as e}from"../button-LMMbL-uH.js";export{e as Button};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../button.variants-CoSpd71B.js";import{t as e}from"../../button-LMMbL-uH.js";import{t}from"../../paragraph-Cc13ZI4d.js";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.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-new.js","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":"4NAmBA,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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../button.variants-CoSpd71B.js";import{t as e}from"../../button-LMMbL-uH.js";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.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit.js","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":"wKAiBA,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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../button.variants-CoSpd71B.js";import{t as e}from"../../button-LMMbL-uH.js";import{t}from"../../paragraph-Cc13ZI4d.js";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.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh.js","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":"iOAmBA,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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../button.variants-CoSpd71B.js";import{t as e}from"../../button-LMMbL-uH.js";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.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trash.js","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":"yKAiBA,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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../button.variants-CoSpd71B.js";import{t as e}from"../../button-LMMbL-uH.js";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.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-image.js","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":"yKAwBA,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.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-Cr817M3U.cjs";
|
|
2
|
+
import * as react72 from "react";
|
|
3
3
|
import { DayButton, DayPicker } from "react-day-picker";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/calendar.d.ts
|
|
@@ -9,7 +9,7 @@ declare const CalendarDayButton: ({
|
|
|
9
9
|
modifiers,
|
|
10
10
|
color: _,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof DayButton>) =>
|
|
12
|
+
}: React.ComponentProps<typeof DayButton>) => react72.JSX.Element;
|
|
13
13
|
/**
|
|
14
14
|
* A fully styled date-picker calendar built on top of react-day-picker, supporting single, range, and multiple selection modes.
|
|
15
15
|
*
|
|
@@ -39,7 +39,7 @@ declare function Calendar({
|
|
|
39
39
|
}: React.ComponentProps<typeof DayPicker> & {
|
|
40
40
|
/** Variant applied to the previous/next navigation buttons. */
|
|
41
41
|
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
42
|
-
}):
|
|
42
|
+
}): react72.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { Calendar, CalendarDayButton };
|
|
45
45
|
//# sourceMappingURL=calendar.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-DuZy_wDo.js";
|
|
2
|
+
import * as react119 from "react";
|
|
3
3
|
import { DayButton, DayPicker } from "react-day-picker";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/calendar.d.ts
|
|
@@ -9,7 +9,7 @@ declare const CalendarDayButton: ({
|
|
|
9
9
|
modifiers,
|
|
10
10
|
color: _,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof DayButton>) =>
|
|
12
|
+
}: React.ComponentProps<typeof DayButton>) => react119.JSX.Element;
|
|
13
13
|
/**
|
|
14
14
|
* A fully styled date-picker calendar built on top of react-day-picker, supporting single, range, and multiple selection modes.
|
|
15
15
|
*
|
|
@@ -39,7 +39,7 @@ declare function Calendar({
|
|
|
39
39
|
}: React.ComponentProps<typeof DayPicker> & {
|
|
40
40
|
/** Variant applied to the previous/next navigation buttons. */
|
|
41
41
|
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
42
|
-
}):
|
|
42
|
+
}): react119.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { Calendar, CalendarDayButton };
|
|
45
|
-
//# sourceMappingURL=calendar.d.
|
|
45
|
+
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import"../button.variants-CoSpd71B.js";import"../button-LMMbL-uH.js";import{n as e,t}from"../calendar-DzPt7b6k.js";export{t as Calendar,e as CalendarDayButton};
|
package/dist/ui/card.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react93 from "react";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/card.d.ts
|
|
4
4
|
|
|
@@ -27,37 +27,37 @@ import * as react254 from "react";
|
|
|
27
27
|
declare function Card({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react93.JSX.Element;
|
|
31
31
|
/** Top section of the card that holds the title, description, and optional action slot. */
|
|
32
32
|
declare function CardHeader({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<'div'>):
|
|
35
|
+
}: React.ComponentProps<'div'>): react93.JSX.Element;
|
|
36
36
|
/** Primary heading for the card, styled with the h3 heading variant. */
|
|
37
37
|
declare function CardTitle({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<'div'>):
|
|
40
|
+
}: React.ComponentProps<'div'>): react93.JSX.Element;
|
|
41
41
|
/** Muted supporting text displayed beneath the card title. */
|
|
42
42
|
declare function CardDescription({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<'div'>):
|
|
45
|
+
}: React.ComponentProps<'div'>): react93.JSX.Element;
|
|
46
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
47
|
declare function CardAction({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<'div'>):
|
|
50
|
+
}: React.ComponentProps<'div'>): react93.JSX.Element;
|
|
51
51
|
/** Main body area of the card with horizontal padding for content alignment. */
|
|
52
52
|
declare function CardContent({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<'div'>):
|
|
55
|
+
}: React.ComponentProps<'div'>): react93.JSX.Element;
|
|
56
56
|
/** Bottom section of the card, typically used for supplementary text or secondary actions. */
|
|
57
57
|
declare function CardFooter({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<'div'>):
|
|
60
|
+
}: React.ComponentProps<'div'>): react93.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
63
63
|
//# sourceMappingURL=card.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react33 from "react";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/card.d.ts
|
|
4
4
|
|
|
@@ -27,37 +27,37 @@ import * as react141 from "react";
|
|
|
27
27
|
declare function Card({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react33.JSX.Element;
|
|
31
31
|
/** Top section of the card that holds the title, description, and optional action slot. */
|
|
32
32
|
declare function CardHeader({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<'div'>):
|
|
35
|
+
}: React.ComponentProps<'div'>): react33.JSX.Element;
|
|
36
36
|
/** Primary heading for the card, styled with the h3 heading variant. */
|
|
37
37
|
declare function CardTitle({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<'div'>):
|
|
40
|
+
}: React.ComponentProps<'div'>): react33.JSX.Element;
|
|
41
41
|
/** Muted supporting text displayed beneath the card title. */
|
|
42
42
|
declare function CardDescription({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<'div'>):
|
|
45
|
+
}: React.ComponentProps<'div'>): react33.JSX.Element;
|
|
46
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
47
|
declare function CardAction({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<'div'>):
|
|
50
|
+
}: React.ComponentProps<'div'>): react33.JSX.Element;
|
|
51
51
|
/** Main body area of the card with horizontal padding for content alignment. */
|
|
52
52
|
declare function CardContent({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<'div'>):
|
|
55
|
+
}: React.ComponentProps<'div'>): react33.JSX.Element;
|
|
56
56
|
/** Bottom section of the card, typically used for supplementary text or secondary actions. */
|
|
57
57
|
declare function CardFooter({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<'div'>):
|
|
60
|
+
}: React.ComponentProps<'div'>): react33.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
63
|
-
//# sourceMappingURL=card.d.
|
|
63
|
+
//# sourceMappingURL=card.d.ts.map
|
package/dist/ui/card.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import{t as e}from"../heading-Bz-hSatD.js";import{n as t}from"../paragraph-Cc13ZI4d.js";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.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.js","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":"iMA4BA,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.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-Cr817M3U.cjs";
|
|
2
|
+
import * as react24 from "react";
|
|
3
3
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/carousel.d.ts
|
|
@@ -41,31 +41,31 @@ declare function Carousel({
|
|
|
41
41
|
className,
|
|
42
42
|
children,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<'div'> & CarouselProps):
|
|
44
|
+
}: React.ComponentProps<'div'> & CarouselProps): react24.JSX.Element;
|
|
45
45
|
/** The scrollable track that holds all CarouselItem elements. */
|
|
46
46
|
declare function CarouselContent({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<'div'>):
|
|
49
|
+
}: React.ComponentProps<'div'>): react24.JSX.Element;
|
|
50
50
|
/** A single slide within a CarouselContent; occupies the full width (or height for vertical carousels). */
|
|
51
51
|
declare function CarouselItem({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<'div'>):
|
|
54
|
+
}: React.ComponentProps<'div'>): react24.JSX.Element;
|
|
55
55
|
/** Circular button positioned to the left (or top for vertical) that scrolls to the previous slide. */
|
|
56
56
|
declare function CarouselPrevious({
|
|
57
57
|
className,
|
|
58
58
|
variant,
|
|
59
59
|
size,
|
|
60
60
|
...props
|
|
61
|
-
}: React.ComponentProps<typeof Button>):
|
|
61
|
+
}: React.ComponentProps<typeof Button>): react24.JSX.Element;
|
|
62
62
|
/** Circular button positioned to the right (or bottom for vertical) that scrolls to the next slide. */
|
|
63
63
|
declare function CarouselNext({
|
|
64
64
|
className,
|
|
65
65
|
variant,
|
|
66
66
|
size,
|
|
67
67
|
...props
|
|
68
|
-
}: React.ComponentProps<typeof Button>):
|
|
68
|
+
}: React.ComponentProps<typeof Button>): react24.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
|
|
71
71
|
//# sourceMappingURL=carousel.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-DuZy_wDo.js";
|
|
2
|
+
import * as react249 from "react";
|
|
3
3
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/carousel.d.ts
|
|
@@ -41,31 +41,31 @@ declare function Carousel({
|
|
|
41
41
|
className,
|
|
42
42
|
children,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<'div'> & CarouselProps):
|
|
44
|
+
}: React.ComponentProps<'div'> & CarouselProps): react249.JSX.Element;
|
|
45
45
|
/** The scrollable track that holds all CarouselItem elements. */
|
|
46
46
|
declare function CarouselContent({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<'div'>):
|
|
49
|
+
}: React.ComponentProps<'div'>): react249.JSX.Element;
|
|
50
50
|
/** A single slide within a CarouselContent; occupies the full width (or height for vertical carousels). */
|
|
51
51
|
declare function CarouselItem({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<'div'>):
|
|
54
|
+
}: React.ComponentProps<'div'>): react249.JSX.Element;
|
|
55
55
|
/** Circular button positioned to the left (or top for vertical) that scrolls to the previous slide. */
|
|
56
56
|
declare function CarouselPrevious({
|
|
57
57
|
className,
|
|
58
58
|
variant,
|
|
59
59
|
size,
|
|
60
60
|
...props
|
|
61
|
-
}: React.ComponentProps<typeof Button>):
|
|
61
|
+
}: React.ComponentProps<typeof Button>): react249.JSX.Element;
|
|
62
62
|
/** Circular button positioned to the right (or bottom for vertical) that scrolls to the next slide. */
|
|
63
63
|
declare function CarouselNext({
|
|
64
64
|
className,
|
|
65
65
|
variant,
|
|
66
66
|
size,
|
|
67
67
|
...props
|
|
68
|
-
}: React.ComponentProps<typeof Button>):
|
|
68
|
+
}: React.ComponentProps<typeof Button>): react249.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
|
|
71
|
-
//# sourceMappingURL=carousel.d.
|
|
71
|
+
//# sourceMappingURL=carousel.d.ts.map
|