@customafk/lunas-ui 0.2.52 → 0.2.54
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-CB79DQwK.d.mts → alert-Bip5XjBw.d.cts} +5 -7
- package/dist/{alert-Ca5wFNXF.d.cts → alert-Bip5XjBw.d.mts} +5 -7
- package/dist/alert-D31c6DLq.cjs +2 -0
- package/dist/{alert-DDdHIRib.cjs.map → alert-D31c6DLq.cjs.map} +1 -1
- package/dist/{alert-BEcGZfPW.mjs → alert-OD1KJTEV.mjs} +1 -1
- package/dist/{alert-BEcGZfPW.mjs.map → alert-OD1KJTEV.mjs.map} +1 -1
- package/dist/{badge-DYo5Diiy.d.cts → badge-D0InQSvM.d.cts} +4 -6
- package/dist/{badge-CQygfYGk.d.mts → badge-D0InQSvM.d.mts} +4 -6
- package/dist/{button-D-pWsdxT.d.cts → button-DIqm3YRo.d.cts} +4 -7
- package/dist/{button-CwxEnAw3.d.mts → button-DIqm3YRo.d.mts} +4 -7
- package/dist/button.variants-DOglUhSE.cjs +2 -0
- package/dist/{button.variants-4kw6plrv.cjs.map → button.variants-DOglUhSE.cjs.map} +1 -1
- package/dist/{button.variants-DkMqWB8G.mjs → button.variants-pziHKxvE.mjs} +1 -1
- package/dist/{button.variants-DkMqWB8G.mjs.map → button.variants-pziHKxvE.mjs.map} +1 -1
- package/dist/cards/grid-product-card.cjs +2 -1
- package/dist/cards/grid-product-card.cjs.map +1 -0
- package/dist/cards/grid-product-card.d.cts +30 -2
- package/dist/cards/grid-product-card.d.mts +30 -2
- package/dist/cards/grid-product-card.mjs +2 -1
- package/dist/cards/grid-product-card.mjs.map +1 -0
- package/dist/cards/product-card.cjs +2 -1
- package/dist/cards/product-card.cjs.map +1 -0
- package/dist/cards/product-card.d.cts +30 -2
- package/dist/cards/product-card.d.mts +30 -2
- package/dist/cards/product-card.mjs +2 -1
- package/dist/cards/product-card.mjs.map +1 -0
- package/dist/cards/simple-card.cjs +2 -1
- package/dist/cards/simple-card.cjs.map +1 -0
- package/dist/cards/simple-card.d.cts +29 -2
- package/dist/cards/simple-card.d.mts +29 -2
- package/dist/cards/simple-card.mjs +2 -1
- package/dist/cards/simple-card.mjs.map +1 -0
- package/dist/close-BYHgEZvZ.cjs +2 -0
- package/dist/close-BYHgEZvZ.cjs.map +1 -0
- package/dist/{close-Co-WLsSG.mjs → close-DYJZ8fkh.mjs} +1 -1
- package/dist/close-DYJZ8fkh.mjs.map +1 -0
- package/dist/cms-layout-DhZiYGI7.cjs +2 -0
- package/dist/cms-layout-DhZiYGI7.cjs.map +1 -0
- package/dist/cms-layout-IwpD0LvR.mjs +2 -0
- package/dist/cms-layout-IwpD0LvR.mjs.map +1 -0
- package/dist/data-display/country.cjs +2 -1
- package/dist/data-display/country.cjs.map +1 -0
- package/dist/data-display/country.d.cts +21 -2
- package/dist/data-display/country.d.mts +21 -2
- package/dist/data-display/country.mjs +2 -1
- package/dist/data-display/country.mjs.map +1 -0
- package/dist/data-display/data-list.cjs +2 -1
- package/dist/data-display/data-list.cjs.map +1 -0
- package/dist/data-display/data-list.d.cts +38 -2
- package/dist/data-display/data-list.d.mts +38 -2
- package/dist/data-display/data-list.mjs +2 -1
- package/dist/data-display/data-list.mjs.map +1 -0
- package/dist/data-display/date-tooltip.cjs +2 -1
- package/dist/data-display/date-tooltip.cjs.map +1 -0
- package/dist/data-display/date-tooltip.d.cts +18 -2
- package/dist/data-display/date-tooltip.d.mts +18 -2
- package/dist/data-display/date-tooltip.mjs +2 -1
- package/dist/data-display/date-tooltip.mjs.map +1 -0
- package/dist/data-display/date.cjs +1 -1
- package/dist/data-display/date.d.cts +39 -2
- package/dist/data-display/date.d.mts +39 -2
- package/dist/data-display/date.mjs +1 -1
- package/dist/data-display/empty.cjs +2 -1
- package/dist/data-display/empty.cjs.map +1 -0
- package/dist/data-display/empty.d.cts +19 -2
- package/dist/data-display/empty.d.mts +19 -2
- package/dist/data-display/empty.mjs +2 -1
- package/dist/data-display/empty.mjs.map +1 -0
- package/dist/data-display/name.cjs +2 -1
- package/dist/data-display/name.cjs.map +1 -0
- package/dist/data-display/name.d.cts +18 -2
- package/dist/data-display/name.d.mts +18 -2
- package/dist/data-display/name.mjs +2 -1
- package/dist/data-display/name.mjs.map +1 -0
- package/dist/data-display/phone-number.cjs +2 -1
- package/dist/data-display/phone-number.cjs.map +1 -0
- package/dist/data-display/phone-number.d.cts +18 -2
- package/dist/data-display/phone-number.d.mts +18 -2
- package/dist/data-display/phone-number.mjs +2 -1
- package/dist/data-display/phone-number.mjs.map +1 -0
- package/dist/data-display/role-badge.cjs +2 -1
- package/dist/data-display/role-badge.cjs.map +1 -0
- package/dist/data-display/role-badge.d.cts +21 -2
- package/dist/data-display/role-badge.d.mts +21 -2
- package/dist/data-display/role-badge.mjs +2 -1
- package/dist/data-display/role-badge.mjs.map +1 -0
- package/dist/data-display/statistic.cjs +2 -1
- package/dist/data-display/statistic.cjs.map +1 -0
- package/dist/data-display/statistic.d.cts +45 -2
- package/dist/data-display/statistic.d.mts +45 -2
- package/dist/data-display/statistic.mjs +2 -1
- package/dist/data-display/statistic.mjs.map +1 -0
- package/dist/data-display/user.cjs +2 -1
- package/dist/data-display/user.cjs.map +1 -0
- package/dist/data-display/user.d.cts +20 -2
- package/dist/data-display/user.d.mts +20 -2
- package/dist/data-display/user.mjs +2 -1
- package/dist/data-display/user.mjs.map +1 -0
- package/dist/date-B3cozmfV.cjs +2 -0
- package/dist/date-B3cozmfV.cjs.map +1 -0
- package/dist/{date-88lk-VJF.mjs → date-Nsz0Pewe.mjs} +1 -1
- package/dist/date-Nsz0Pewe.mjs.map +1 -0
- package/dist/{dialog-DokGVUbC.d.mts → dialog-BASlxWF_.d.cts} +12 -15
- package/dist/{dialog-xPhSkLmg.d.cts → dialog-BASlxWF_.d.mts} +12 -15
- package/dist/dialogs/confirm-dialog.cjs +2 -1
- package/dist/dialogs/confirm-dialog.cjs.map +1 -0
- package/dist/dialogs/confirm-dialog.d.cts +142 -2
- package/dist/dialogs/confirm-dialog.d.mts +142 -2
- package/dist/dialogs/confirm-dialog.mjs +2 -1
- package/dist/dialogs/confirm-dialog.mjs.map +1 -0
- package/dist/dialogs/detail-dialog/components/sidebar.cjs +2 -1
- package/dist/dialogs/detail-dialog/components/sidebar.cjs.map +1 -0
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +36 -51
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +36 -51
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +2 -1
- package/dist/dialogs/detail-dialog/components/sidebar.mjs.map +1 -0
- package/dist/dialogs/detail-dialog/index.cjs +2 -1
- package/dist/dialogs/detail-dialog/index.cjs.map +1 -0
- package/dist/dialogs/detail-dialog/index.d.cts +36 -2
- package/dist/dialogs/detail-dialog/index.d.mts +36 -2
- package/dist/dialogs/detail-dialog/index.mjs +2 -1
- package/dist/dialogs/detail-dialog/index.mjs.map +1 -0
- package/dist/dialogs/error-dialog.cjs +2 -1
- package/dist/dialogs/error-dialog.cjs.map +1 -0
- package/dist/dialogs/error-dialog.d.cts +22 -2
- package/dist/dialogs/error-dialog.d.mts +22 -2
- package/dist/dialogs/error-dialog.mjs +2 -1
- package/dist/dialogs/error-dialog.mjs.map +1 -0
- package/dist/dialogs/loading-dialog.cjs +2 -1
- package/dist/dialogs/loading-dialog.cjs.map +1 -0
- package/dist/dialogs/loading-dialog.d.cts +19 -2
- package/dist/dialogs/loading-dialog.d.mts +19 -2
- package/dist/dialogs/loading-dialog.mjs +2 -1
- package/dist/dialogs/loading-dialog.mjs.map +1 -0
- package/dist/dist-CGlSRti2.cjs +2 -0
- package/dist/{dist-Cx5ufCdr.cjs.map → dist-CGlSRti2.cjs.map} +1 -1
- package/dist/{dist-DVrfqn8H.mjs → dist-CtTonIm8.mjs} +1 -1
- package/dist/{dist-DVrfqn8H.mjs.map → dist-CtTonIm8.mjs.map} +1 -1
- package/dist/features/descriptions/index.cjs +2 -1
- package/dist/features/descriptions/index.cjs.map +1 -0
- package/dist/features/descriptions/index.d.cts +231 -2
- package/dist/features/descriptions/index.d.mts +231 -3
- package/dist/features/descriptions/index.mjs +2 -1
- package/dist/features/descriptions/index.mjs.map +1 -0
- package/dist/features/search-modal/index.cjs +1 -1
- package/dist/features/search-modal/index.d.cts +14 -2
- package/dist/features/search-modal/index.d.mts +14 -2
- package/dist/features/search-modal/index.mjs +1 -1
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +1 -2
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +1 -1
- package/dist/features/tanstack-form/index.d.mts +1 -1
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/features/text-editor/index.cjs +1 -1
- package/dist/features/text-editor/index.d.cts +2 -2
- package/dist/features/text-editor/index.d.mts +2 -2
- package/dist/features/text-editor/index.mjs +1 -1
- package/dist/heading-DLjnJc1q.cjs +2 -0
- package/dist/{heading-tGTqk3pA.cjs.map → heading-DLjnJc1q.cjs.map} +1 -1
- package/dist/heading-Fajfx88p.mjs +2 -0
- package/dist/{heading-De4Pn3mZ.mjs.map → heading-Fajfx88p.mjs.map} +1 -1
- package/dist/index-COLxGpG6.d.cts +3341 -0
- package/dist/index-COLxGpG6.d.mts +3341 -0
- package/dist/{index-BOLiQQmh.d.mts → index-Cqe6rsMe.d.cts} +170 -345
- package/dist/{index-C33ZNe5s.d.cts → index-DOaKN0wJ.d.cts} +5 -7
- package/dist/{index-DtlnICYj.d.mts → index-DOaKN0wJ.d.mts} +5 -7
- package/dist/{index-e8PriyFP.d.cts → index-DqlCqAcc.d.cts} +15 -33
- package/dist/{index-BUpm7Ukw.d.mts → index-DqlCqAcc.d.mts} +15 -33
- package/dist/{index-DvC_tPbo.d.cts → index-aPuQLHfq.d.mts} +170 -345
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +93 -93
- package/dist/index.d.mts +93 -93
- package/dist/index.mjs +1 -1
- package/dist/{input-BDCw9qBl.d.cts → input-BJMvABEL.d.cts} +6 -11
- package/dist/{input-BVTLQHpd.d.mts → input-BJMvABEL.d.mts} +6 -11
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.d.cts +2 -2
- package/dist/layouts/cms-layout/index.d.mts +2 -2
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.cjs +2 -1
- package/dist/layouts/flex.cjs.map +1 -0
- package/dist/layouts/flex.d.cts +114 -2
- package/dist/layouts/flex.d.mts +114 -2
- package/dist/layouts/flex.mjs +2 -1
- package/dist/layouts/flex.mjs.map +1 -0
- package/dist/layouts/grid.cjs +2 -1
- package/dist/layouts/grid.cjs.map +1 -0
- package/dist/layouts/grid.d.cts +19 -2
- package/dist/layouts/grid.d.mts +19 -2
- package/dist/layouts/grid.mjs +2 -1
- package/dist/layouts/grid.mjs.map +1 -0
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.d.cts +59 -2
- package/dist/layouts/payment-layout/index.d.mts +59 -2
- package/dist/layouts/payment-layout/index.mjs +1 -1
- package/dist/pages/FeatureDeveloping.cjs +2 -1
- package/dist/pages/FeatureDeveloping.cjs.map +1 -0
- package/dist/pages/FeatureDeveloping.d.cts +41 -2
- package/dist/pages/FeatureDeveloping.d.mts +41 -2
- package/dist/pages/FeatureDeveloping.mjs +2 -1
- package/dist/pages/FeatureDeveloping.mjs.map +1 -0
- package/dist/pages/FeatureFixing.cjs +2 -1
- package/dist/pages/FeatureFixing.cjs.map +1 -0
- package/dist/pages/FeatureFixing.d.cts +41 -2
- package/dist/pages/FeatureFixing.d.mts +41 -2
- package/dist/pages/FeatureFixing.mjs +2 -1
- package/dist/pages/FeatureFixing.mjs.map +1 -0
- package/dist/pages/LoginPage.cjs +2 -1
- package/dist/pages/LoginPage.cjs.map +1 -0
- package/dist/pages/LoginPage.d.cts +53 -2
- package/dist/pages/LoginPage.d.mts +53 -2
- package/dist/pages/LoginPage.mjs +2 -1
- package/dist/pages/LoginPage.mjs.map +1 -0
- package/dist/pages/NotAuthorized.cjs +2 -1
- package/dist/pages/NotAuthorized.cjs.map +1 -0
- package/dist/pages/NotAuthorized.d.cts +41 -2
- package/dist/pages/NotAuthorized.d.mts +41 -2
- package/dist/pages/NotAuthorized.mjs +2 -1
- package/dist/pages/NotAuthorized.mjs.map +1 -0
- package/dist/pages/NotFound.cjs +2 -1
- package/dist/pages/NotFound.cjs.map +1 -0
- package/dist/pages/NotFound.d.cts +41 -2
- package/dist/pages/NotFound.d.mts +41 -2
- package/dist/pages/NotFound.mjs +2 -1
- package/dist/pages/NotFound.mjs.map +1 -0
- package/dist/pages/RegisterPage.cjs +2 -1
- package/dist/pages/RegisterPage.cjs.map +1 -0
- package/dist/pages/RegisterPage.d.cts +50 -2
- package/dist/pages/RegisterPage.d.mts +50 -2
- package/dist/pages/RegisterPage.mjs +2 -1
- package/dist/pages/RegisterPage.mjs.map +1 -0
- package/dist/pages/VerifyEmailPage.cjs +2 -1
- package/dist/pages/VerifyEmailPage.cjs.map +1 -0
- package/dist/pages/VerifyEmailPage.d.cts +62 -2
- package/dist/pages/VerifyEmailPage.d.mts +62 -2
- package/dist/pages/VerifyEmailPage.mjs +2 -1
- package/dist/pages/VerifyEmailPage.mjs.map +1 -0
- package/dist/payment-layout-CG_l7Es-.mjs +2 -0
- package/dist/payment-layout-CG_l7Es-.mjs.map +1 -0
- package/dist/payment-layout-DfxNDF8G.cjs +2 -0
- package/dist/payment-layout-DfxNDF8G.cjs.map +1 -0
- package/dist/resizable-CNIYTd7k.d.cts +64 -0
- package/dist/resizable-CNIYTd7k.d.mts +64 -0
- package/dist/rolldown-runtime-C6qsp3rV.cjs +1 -0
- package/dist/search-modal-CMhsIxae.cjs +2 -0
- package/dist/search-modal-CMhsIxae.cjs.map +1 -0
- package/dist/search-modal-Cdmi2iyV.mjs +2 -0
- package/dist/search-modal-Cdmi2iyV.mjs.map +1 -0
- package/dist/systems/google.cjs +2 -1
- package/dist/systems/google.cjs.map +1 -0
- package/dist/systems/google.d.cts +48 -2
- package/dist/systems/google.d.mts +48 -2
- package/dist/systems/google.mjs +2 -1
- package/dist/systems/google.mjs.map +1 -0
- package/dist/tables-BHdeig0n.mjs +4 -0
- package/dist/tables-BHdeig0n.mjs.map +1 -0
- package/dist/tables-BfuoYxlt.cjs +4 -0
- package/dist/tables-BfuoYxlt.cjs.map +1 -0
- package/dist/tanstack-form-CVnMirZT.cjs +42 -0
- package/dist/tanstack-form-CVnMirZT.cjs.map +1 -0
- package/dist/tanstack-form-Dl6pl0mL.mjs +42 -0
- package/dist/tanstack-form-Dl6pl0mL.mjs.map +1 -0
- package/dist/text-editor-BQtIXOpM.mjs +2 -0
- package/dist/text-editor-BQtIXOpM.mjs.map +1 -0
- package/dist/text-editor-C6bmwDTt.cjs +2 -0
- package/dist/text-editor-C6bmwDTt.cjs.map +1 -0
- package/dist/{types-B-SuhI6Z.d.cts → types-cKvPPVBe.d.cts} +3 -3
- package/dist/{types-UB3NE0JY.d.mts → types-cKvPPVBe.d.mts} +3 -3
- package/dist/typography/paragraph.cjs +2 -1
- package/dist/typography/paragraph.cjs.map +1 -0
- package/dist/typography/paragraph.d.cts +46 -2
- package/dist/typography/paragraph.d.mts +46 -2
- package/dist/typography/paragraph.mjs +2 -1
- package/dist/typography/paragraph.mjs.map +1 -0
- package/dist/typography/title.cjs +2 -1
- package/dist/typography/title.cjs.map +1 -0
- package/dist/typography/title.d.cts +41 -2
- package/dist/typography/title.d.mts +41 -2
- package/dist/typography/title.mjs +2 -1
- package/dist/typography/title.mjs.map +1 -0
- package/dist/ui/alert-dialog.cjs +2 -1
- package/dist/ui/alert-dialog.cjs.map +1 -0
- package/dist/ui/alert-dialog.d.cts +88 -2
- package/dist/ui/alert-dialog.d.mts +88 -2
- package/dist/ui/alert-dialog.mjs +2 -1
- package/dist/ui/alert-dialog.mjs.map +1 -0
- package/dist/ui/alert.cjs +1 -1
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +1 -1
- package/dist/ui/alert.mjs +1 -1
- package/dist/ui/aspect-ratio.cjs +2 -1
- package/dist/ui/aspect-ratio.cjs.map +1 -0
- package/dist/ui/aspect-ratio.d.cts +22 -2
- package/dist/ui/aspect-ratio.d.mts +22 -2
- package/dist/ui/aspect-ratio.mjs +2 -1
- package/dist/ui/aspect-ratio.mjs.map +1 -0
- package/dist/ui/avatar.cjs +2 -1
- package/dist/ui/avatar.cjs.map +1 -0
- package/dist/ui/avatar.d.cts +33 -2
- package/dist/ui/avatar.d.mts +33 -2
- package/dist/ui/avatar.mjs +2 -1
- package/dist/ui/avatar.mjs.map +1 -0
- package/dist/ui/badge.cjs +2 -1
- package/dist/ui/badge.cjs.map +1 -0
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.mts +1 -1
- package/dist/ui/badge.mjs +2 -1
- package/dist/ui/badge.mjs.map +1 -0
- package/dist/ui/breadcrumb.cjs +2 -1
- package/dist/ui/breadcrumb.cjs.map +1 -0
- package/dist/ui/breadcrumb.d.cts +69 -2
- package/dist/ui/breadcrumb.d.mts +69 -2
- package/dist/ui/breadcrumb.mjs +2 -1
- package/dist/ui/breadcrumb.mjs.map +1 -0
- package/dist/ui/button-group.cjs +2 -1
- package/dist/ui/button-group.cjs.map +1 -0
- package/dist/ui/button-group.d.cts +48 -2
- package/dist/ui/button-group.d.mts +48 -3
- package/dist/ui/button-group.mjs +2 -1
- package/dist/ui/button-group.mjs.map +1 -0
- package/dist/ui/button.cjs +2 -1
- package/dist/ui/button.cjs.map +1 -0
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/button.mjs +2 -1
- package/dist/ui/button.mjs.map +1 -0
- package/dist/ui/buttons/add-new.cjs +2 -1
- package/dist/ui/buttons/add-new.cjs.map +1 -0
- package/dist/ui/buttons/add-new.d.cts +16 -2
- package/dist/ui/buttons/add-new.d.mts +16 -2
- package/dist/ui/buttons/add-new.mjs +2 -1
- package/dist/ui/buttons/add-new.mjs.map +1 -0
- package/dist/ui/buttons/edit.cjs +2 -1
- package/dist/ui/buttons/edit.cjs.map +1 -0
- package/dist/ui/buttons/edit.d.cts +16 -2
- package/dist/ui/buttons/edit.d.mts +16 -2
- package/dist/ui/buttons/edit.mjs +2 -1
- package/dist/ui/buttons/edit.mjs.map +1 -0
- package/dist/ui/buttons/refresh.cjs +2 -1
- package/dist/ui/buttons/refresh.cjs.map +1 -0
- package/dist/ui/buttons/refresh.d.cts +16 -2
- package/dist/ui/buttons/refresh.d.mts +16 -2
- package/dist/ui/buttons/refresh.mjs +2 -1
- package/dist/ui/buttons/refresh.mjs.map +1 -0
- package/dist/ui/buttons/trash.cjs +2 -1
- package/dist/ui/buttons/trash.cjs.map +1 -0
- package/dist/ui/buttons/trash.d.cts +16 -2
- package/dist/ui/buttons/trash.d.mts +16 -2
- package/dist/ui/buttons/trash.mjs +2 -1
- package/dist/ui/buttons/trash.mjs.map +1 -0
- package/dist/ui/buttons/upload-image.cjs +2 -1
- package/dist/ui/buttons/upload-image.cjs.map +1 -0
- package/dist/ui/buttons/upload-image.d.cts +23 -2
- package/dist/ui/buttons/upload-image.d.mts +23 -2
- package/dist/ui/buttons/upload-image.mjs +2 -1
- package/dist/ui/buttons/upload-image.mjs.map +1 -0
- package/dist/ui/calendar.cjs +2 -1
- package/dist/ui/calendar.cjs.map +1 -0
- package/dist/ui/calendar.d.cts +43 -2
- package/dist/ui/calendar.d.mts +43 -3
- package/dist/ui/calendar.mjs +2 -1
- package/dist/ui/calendar.mjs.map +1 -0
- package/dist/ui/card.cjs +2 -1
- package/dist/ui/card.cjs.map +1 -0
- package/dist/ui/card.d.cts +60 -2
- package/dist/ui/card.d.mts +60 -2
- package/dist/ui/card.mjs +2 -1
- package/dist/ui/card.mjs.map +1 -0
- package/dist/ui/carousel.cjs +2 -1
- package/dist/ui/carousel.cjs.map +1 -0
- package/dist/ui/carousel.d.cts +70 -2
- package/dist/ui/carousel.d.mts +70 -3
- package/dist/ui/carousel.mjs +2 -1
- package/dist/ui/carousel.mjs.map +1 -0
- package/dist/ui/checkbox.cjs +2 -1
- package/dist/ui/checkbox.cjs.map +1 -0
- package/dist/ui/checkbox.d.cts +24 -2
- package/dist/ui/checkbox.d.mts +24 -2
- package/dist/ui/checkbox.mjs +2 -1
- package/dist/ui/checkbox.mjs.map +1 -0
- package/dist/ui/collapsible.cjs +2 -1
- package/dist/ui/collapsible.cjs.map +1 -0
- package/dist/ui/collapsible.d.cts +32 -2
- package/dist/ui/collapsible.d.mts +32 -2
- package/dist/ui/collapsible.mjs +2 -1
- package/dist/ui/collapsible.mjs.map +1 -0
- package/dist/ui/command.cjs +2 -1
- package/dist/ui/command.cjs.map +1 -0
- package/dist/ui/command.d.cts +87 -2
- package/dist/ui/command.d.mts +87 -3
- package/dist/ui/command.mjs +2 -1
- package/dist/ui/command.mjs.map +1 -0
- package/dist/ui/context-menu.cjs +2 -1
- package/dist/ui/context-menu.cjs.map +1 -0
- package/dist/ui/context-menu.d.cts +123 -2
- package/dist/ui/context-menu.d.mts +123 -2
- package/dist/ui/context-menu.mjs +2 -1
- package/dist/ui/context-menu.mjs.map +1 -0
- package/dist/ui/dialog.cjs +2 -1
- package/dist/ui/dialog.cjs.map +1 -0
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/dialog.mjs +2 -1
- package/dist/ui/dialog.mjs.map +1 -0
- package/dist/ui/drawer.cjs +2 -1
- package/dist/ui/drawer.cjs.map +1 -0
- package/dist/ui/drawer.d.cts +70 -2
- package/dist/ui/drawer.d.mts +70 -2
- package/dist/ui/drawer.mjs +2 -1
- package/dist/ui/drawer.mjs.map +1 -0
- package/dist/ui/dropdown-menu.cjs +2 -1
- package/dist/ui/dropdown-menu.cjs.map +1 -0
- package/dist/ui/dropdown-menu.d.cts +125 -2
- package/dist/ui/dropdown-menu.d.mts +125 -2
- package/dist/ui/dropdown-menu.mjs +2 -1
- package/dist/ui/dropdown-menu.mjs.map +1 -0
- package/dist/ui/empty.cjs +2 -1
- package/dist/ui/empty.cjs.map +1 -0
- package/dist/ui/empty.d.cts +65 -2
- package/dist/ui/empty.d.mts +65 -2
- package/dist/ui/empty.mjs +2 -1
- package/dist/ui/empty.mjs.map +1 -0
- package/dist/ui/field.cjs +2 -1
- package/dist/ui/field.cjs.map +1 -0
- package/dist/ui/field.d.cts +22 -24
- package/dist/ui/field.d.mts +22 -24
- package/dist/ui/field.mjs +2 -1
- package/dist/ui/field.mjs.map +1 -0
- package/dist/ui/file-uploader.cjs +3 -1
- package/dist/ui/file-uploader.cjs.map +1 -0
- package/dist/ui/file-uploader.d.cts +101 -2
- package/dist/ui/file-uploader.d.mts +101 -2
- package/dist/ui/file-uploader.mjs +3 -1
- package/dist/ui/file-uploader.mjs.map +1 -0
- package/dist/ui/form.cjs +2 -1
- package/dist/ui/form.cjs.map +1 -0
- package/dist/ui/form.d.cts +109 -2
- package/dist/ui/form.d.mts +109 -2
- package/dist/ui/form.mjs +2 -1
- package/dist/ui/form.mjs.map +1 -0
- package/dist/ui/hover-card.cjs +2 -1
- package/dist/ui/hover-card.cjs.map +1 -0
- package/dist/ui/hover-card.d.cts +35 -2
- package/dist/ui/hover-card.d.mts +35 -2
- package/dist/ui/hover-card.mjs +2 -1
- package/dist/ui/hover-card.mjs.map +1 -0
- package/dist/ui/image.cjs +2 -1
- package/dist/ui/image.cjs.map +1 -0
- package/dist/ui/image.d.cts +27 -2
- package/dist/ui/image.d.mts +27 -2
- package/dist/ui/image.mjs +2 -1
- package/dist/ui/image.mjs.map +1 -0
- package/dist/ui/input-otp.cjs +2 -1
- package/dist/ui/input-otp.cjs.map +1 -0
- package/dist/ui/input-otp.d.cts +56 -2
- package/dist/ui/input-otp.d.mts +56 -2
- package/dist/ui/input-otp.mjs +2 -1
- package/dist/ui/input-otp.mjs.map +1 -0
- package/dist/ui/input.cjs +2 -1
- package/dist/ui/input.cjs.map +1 -0
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/input.mjs +2 -1
- package/dist/ui/input.mjs.map +1 -0
- package/dist/ui/inputs/search-input.cjs +2 -1
- package/dist/ui/inputs/search-input.cjs.map +1 -0
- package/dist/ui/inputs/search-input.d.cts +27 -2
- package/dist/ui/inputs/search-input.d.mts +27 -3
- package/dist/ui/inputs/search-input.mjs +2 -1
- package/dist/ui/inputs/search-input.mjs.map +1 -0
- package/dist/ui/item.cjs +2 -1
- package/dist/ui/item.cjs.map +1 -0
- package/dist/ui/item.d.cts +99 -2
- package/dist/ui/item.d.mts +99 -3
- package/dist/ui/item.mjs +2 -1
- package/dist/ui/item.mjs.map +1 -0
- package/dist/ui/label.cjs +2 -1
- package/dist/ui/label.cjs.map +1 -0
- package/dist/ui/label.d.cts +22 -2
- package/dist/ui/label.d.mts +22 -2
- package/dist/ui/label.mjs +2 -1
- package/dist/ui/label.mjs.map +1 -0
- package/dist/ui/menubar.cjs +2 -1
- package/dist/ui/menubar.cjs.map +1 -0
- package/dist/ui/menubar.d.cts +133 -2
- package/dist/ui/menubar.d.mts +133 -2
- package/dist/ui/menubar.mjs +2 -1
- package/dist/ui/menubar.mjs.map +1 -0
- package/dist/ui/multi-select.cjs +2 -1
- package/dist/ui/multi-select.cjs.map +1 -0
- package/dist/ui/multi-select.d.cts +116 -2
- package/dist/ui/multi-select.d.mts +116 -4
- package/dist/ui/multi-select.mjs +2 -1
- package/dist/ui/multi-select.mjs.map +1 -0
- package/dist/ui/navigation-menu.cjs +2 -1
- package/dist/ui/navigation-menu.cjs.map +1 -0
- package/dist/ui/navigation-menu.d.cts +73 -2
- package/dist/ui/navigation-menu.d.mts +73 -2
- package/dist/ui/navigation-menu.mjs +2 -1
- package/dist/ui/navigation-menu.mjs.map +1 -0
- package/dist/ui/pagination.cjs +2 -1
- package/dist/ui/pagination.cjs.map +1 -0
- package/dist/ui/pagination.d.cts +64 -2
- package/dist/ui/pagination.d.mts +64 -3
- package/dist/ui/pagination.mjs +2 -1
- package/dist/ui/pagination.mjs.map +1 -0
- package/dist/ui/popover.cjs +2 -1
- package/dist/ui/popover.cjs.map +1 -0
- package/dist/ui/popover.d.cts +50 -2
- package/dist/ui/popover.d.mts +50 -2
- package/dist/ui/popover.mjs +2 -1
- package/dist/ui/popover.mjs.map +1 -0
- package/dist/ui/progress.cjs +2 -1
- package/dist/ui/progress.cjs.map +1 -0
- package/dist/ui/progress.d.cts +21 -2
- package/dist/ui/progress.d.mts +21 -2
- package/dist/ui/progress.mjs +2 -1
- package/dist/ui/progress.mjs.map +1 -0
- package/dist/ui/radio-group.cjs +2 -1
- package/dist/ui/radio-group.cjs.map +1 -0
- package/dist/ui/radio-group.d.cts +35 -2
- package/dist/ui/radio-group.d.mts +35 -2
- package/dist/ui/radio-group.mjs +2 -1
- package/dist/ui/radio-group.mjs.map +1 -0
- package/dist/ui/resizable.cjs +2 -1
- package/dist/ui/resizable.cjs.map +1 -0
- package/dist/ui/resizable.d.cts +1 -1
- package/dist/ui/resizable.d.mts +1 -1
- package/dist/ui/resizable.mjs +2 -1
- package/dist/ui/resizable.mjs.map +1 -0
- package/dist/ui/scroll-area.cjs +2 -1
- package/dist/ui/scroll-area.cjs.map +1 -0
- package/dist/ui/scroll-area.d.cts +35 -2
- package/dist/ui/scroll-area.d.mts +35 -2
- package/dist/ui/scroll-area.mjs +2 -1
- package/dist/ui/scroll-area.mjs.map +1 -0
- package/dist/ui/select.cjs +2 -1
- package/dist/ui/select.cjs.map +1 -0
- package/dist/ui/select.d.cts +74 -2
- package/dist/ui/select.d.mts +74 -2
- package/dist/ui/select.mjs +2 -1
- package/dist/ui/select.mjs.map +1 -0
- package/dist/ui/separator.cjs +2 -1
- package/dist/ui/separator.cjs.map +1 -0
- package/dist/ui/separator.d.cts +32 -2
- package/dist/ui/separator.d.mts +32 -2
- package/dist/ui/separator.mjs +2 -1
- package/dist/ui/separator.mjs.map +1 -0
- package/dist/ui/sheet.cjs +2 -1
- package/dist/ui/sheet.cjs.map +1 -0
- package/dist/ui/sheet.d.cts +66 -2
- package/dist/ui/sheet.d.mts +66 -2
- package/dist/ui/sheet.mjs +2 -1
- package/dist/ui/sheet.mjs.map +1 -0
- package/dist/ui/skeleton.cjs +2 -1
- package/dist/ui/skeleton.cjs.map +1 -0
- package/dist/ui/skeleton.d.cts +24 -2
- package/dist/ui/skeleton.d.mts +24 -2
- package/dist/ui/skeleton.mjs +2 -1
- package/dist/ui/skeleton.mjs.map +1 -0
- package/dist/ui/slider.cjs +2 -1
- package/dist/ui/slider.cjs.map +1 -0
- package/dist/ui/slider.d.cts +24 -2
- package/dist/ui/slider.d.mts +24 -2
- package/dist/ui/slider.mjs +2 -1
- package/dist/ui/slider.mjs.map +1 -0
- package/dist/ui/sonner.cjs +2 -1
- package/dist/ui/sonner.cjs.map +1 -0
- package/dist/ui/sonner.d.cts +22 -2
- package/dist/ui/sonner.d.mts +22 -2
- package/dist/ui/sonner.mjs +2 -1
- package/dist/ui/sonner.mjs.map +1 -0
- package/dist/ui/spinner.cjs +2 -1
- package/dist/ui/spinner.cjs.map +1 -0
- package/dist/ui/spinner.d.cts +22 -2
- package/dist/ui/spinner.d.mts +22 -2
- package/dist/ui/spinner.mjs +2 -1
- package/dist/ui/spinner.mjs.map +1 -0
- package/dist/ui/switch.cjs +2 -1
- package/dist/ui/switch.cjs.map +1 -0
- package/dist/ui/switch.d.cts +24 -2
- package/dist/ui/switch.d.mts +24 -2
- package/dist/ui/switch.mjs +2 -1
- package/dist/ui/switch.mjs.map +1 -0
- package/dist/ui/table.cjs +2 -1
- package/dist/ui/table.cjs.map +1 -0
- package/dist/ui/table.d.cts +70 -2
- package/dist/ui/table.d.mts +70 -2
- package/dist/ui/table.mjs +2 -1
- package/dist/ui/table.mjs.map +1 -0
- package/dist/ui/tabs.cjs +2 -1
- package/dist/ui/tabs.cjs.map +1 -0
- package/dist/ui/tabs.d.cts +42 -2
- package/dist/ui/tabs.d.mts +42 -2
- package/dist/ui/tabs.mjs +2 -1
- package/dist/ui/tabs.mjs.map +1 -0
- package/dist/ui/textarea.cjs +2 -1
- package/dist/ui/textarea.cjs.map +1 -0
- package/dist/ui/textarea.d.cts +26 -2
- package/dist/ui/textarea.d.mts +26 -2
- package/dist/ui/textarea.mjs +2 -1
- package/dist/ui/textarea.mjs.map +1 -0
- package/dist/ui/toggle-group.cjs +2 -1
- package/dist/ui/toggle-group.cjs.map +1 -0
- package/dist/ui/toggle-group.d.cts +37 -2
- package/dist/ui/toggle-group.d.mts +37 -3
- package/dist/ui/toggle-group.mjs +2 -1
- package/dist/ui/toggle-group.mjs.map +1 -0
- package/dist/ui/toggle.cjs +2 -1
- package/dist/ui/toggle.cjs.map +1 -0
- package/dist/ui/toggle.d.cts +30 -2
- package/dist/ui/toggle.d.mts +30 -2
- package/dist/ui/toggle.mjs +2 -1
- package/dist/ui/toggle.mjs.map +1 -0
- package/dist/ui/tooltip.cjs +2 -1
- package/dist/ui/tooltip.cjs.map +1 -0
- package/dist/ui/tooltip.d.cts +53 -2
- package/dist/ui/tooltip.d.mts +53 -2
- package/dist/ui/tooltip.mjs +2 -1
- package/dist/ui/tooltip.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/FeatureDeveloping-Bpmk3ZyS.d.cts +0 -43
- package/dist/FeatureDeveloping-CVFrndc_.cjs +0 -2
- package/dist/FeatureDeveloping-CVFrndc_.cjs.map +0 -1
- package/dist/FeatureDeveloping-k_14m44U.mjs +0 -2
- package/dist/FeatureDeveloping-k_14m44U.mjs.map +0 -1
- package/dist/FeatureDeveloping-oS433qZK.d.mts +0 -43
- package/dist/FeatureFixing-CRTE4tkV.d.mts +0 -43
- package/dist/FeatureFixing-CqDnOmou.cjs +0 -2
- package/dist/FeatureFixing-CqDnOmou.cjs.map +0 -1
- package/dist/FeatureFixing-D7qYhigu.mjs +0 -2
- package/dist/FeatureFixing-D7qYhigu.mjs.map +0 -1
- package/dist/FeatureFixing-Vwb-odpJ.d.cts +0 -43
- package/dist/LoginPage-B7SgjP72.d.cts +0 -55
- package/dist/LoginPage-BDh57TIY.mjs +0 -2
- package/dist/LoginPage-BDh57TIY.mjs.map +0 -1
- package/dist/LoginPage-Bsh_Wo-4.d.mts +0 -55
- package/dist/LoginPage-CSewNEGN.cjs +0 -2
- package/dist/LoginPage-CSewNEGN.cjs.map +0 -1
- package/dist/NotAuthorized-B1nln3YY.d.mts +0 -43
- package/dist/NotAuthorized-BBlhgNjt.cjs +0 -2
- package/dist/NotAuthorized-BBlhgNjt.cjs.map +0 -1
- package/dist/NotAuthorized-DcXH7UbQ.d.cts +0 -43
- package/dist/NotAuthorized-xXIwCXtZ.mjs +0 -2
- package/dist/NotAuthorized-xXIwCXtZ.mjs.map +0 -1
- package/dist/NotFound-BOAR7QCc.cjs +0 -2
- package/dist/NotFound-BOAR7QCc.cjs.map +0 -1
- package/dist/NotFound-Co0y_Fpa.d.cts +0 -43
- package/dist/NotFound-H7T1wCkf.mjs +0 -2
- package/dist/NotFound-H7T1wCkf.mjs.map +0 -1
- package/dist/NotFound-Kvw-yvr_.d.mts +0 -43
- package/dist/RegisterPage-BI5efPEP.cjs +0 -2
- package/dist/RegisterPage-BI5efPEP.cjs.map +0 -1
- package/dist/RegisterPage-DKiXE8U6.d.mts +0 -52
- package/dist/RegisterPage-DluyCA1L.mjs +0 -2
- package/dist/RegisterPage-DluyCA1L.mjs.map +0 -1
- package/dist/RegisterPage-qEpX0gUP.d.cts +0 -52
- package/dist/VerifyEmailPage-D3U6V5IR.mjs +0 -2
- package/dist/VerifyEmailPage-D3U6V5IR.mjs.map +0 -1
- package/dist/VerifyEmailPage-DRQiyUqo.cjs +0 -2
- package/dist/VerifyEmailPage-DRQiyUqo.cjs.map +0 -1
- package/dist/VerifyEmailPage-Dd59Girn.d.cts +0 -64
- package/dist/VerifyEmailPage-ZaRE0r8m.d.mts +0 -64
- package/dist/add-new-B35fn_Bz.mjs +0 -2
- package/dist/add-new-B35fn_Bz.mjs.map +0 -1
- package/dist/add-new-DqRZeMNy.d.mts +0 -17
- package/dist/add-new-deaz-L5t.cjs +0 -2
- package/dist/add-new-deaz-L5t.cjs.map +0 -1
- package/dist/add-new-pqYC7xmc.d.cts +0 -17
- package/dist/alert-DDdHIRib.cjs +0 -2
- package/dist/alert-dialog-B9ThoUnv.cjs +0 -2
- package/dist/alert-dialog-B9ThoUnv.cjs.map +0 -1
- package/dist/alert-dialog-D0jOWqaA.d.mts +0 -90
- package/dist/alert-dialog-DqIS6qRz.mjs +0 -2
- package/dist/alert-dialog-DqIS6qRz.mjs.map +0 -1
- package/dist/alert-dialog-TBiCQ9Ty.d.cts +0 -90
- package/dist/aspect-ratio-BsfIALEV.d.mts +0 -24
- package/dist/aspect-ratio-Cd2mBXiE.cjs +0 -2
- package/dist/aspect-ratio-Cd2mBXiE.cjs.map +0 -1
- package/dist/aspect-ratio-DP12ssDX.mjs +0 -2
- package/dist/aspect-ratio-DP12ssDX.mjs.map +0 -1
- package/dist/aspect-ratio-Dy7SplBM.d.cts +0 -24
- package/dist/avatar-CVRRoJ05.cjs +0 -2
- package/dist/avatar-CVRRoJ05.cjs.map +0 -1
- package/dist/avatar-XFoz-EPk.d.cts +0 -35
- package/dist/avatar-tjgTFpVU.mjs +0 -2
- package/dist/avatar-tjgTFpVU.mjs.map +0 -1
- package/dist/avatar-zDJh1tw9.d.mts +0 -35
- package/dist/badge-7bcsD0vA.cjs +0 -2
- package/dist/badge-7bcsD0vA.cjs.map +0 -1
- package/dist/badge-CG6dbI29.mjs +0 -2
- package/dist/badge-CG6dbI29.mjs.map +0 -1
- package/dist/breadcrumb-BhUXmEGd.d.cts +0 -72
- package/dist/breadcrumb-D5EVqGzZ.d.mts +0 -72
- package/dist/breadcrumb-DgCIacvh.cjs +0 -2
- package/dist/breadcrumb-DgCIacvh.cjs.map +0 -1
- package/dist/breadcrumb-RCZAaQ1l.mjs +0 -2
- package/dist/breadcrumb-RCZAaQ1l.mjs.map +0 -1
- package/dist/button-C--DAN1D.cjs +0 -2
- package/dist/button-C--DAN1D.cjs.map +0 -1
- package/dist/button-CCVJTHBI.mjs +0 -2
- package/dist/button-CCVJTHBI.mjs.map +0 -1
- package/dist/button-group-4oHvYHtz.cjs +0 -2
- package/dist/button-group-4oHvYHtz.cjs.map +0 -1
- package/dist/button-group-CDRMmMyT.d.cts +0 -50
- package/dist/button-group-CRuT_zEE.mjs +0 -2
- package/dist/button-group-CRuT_zEE.mjs.map +0 -1
- package/dist/button-group-wrn32Sqe.d.mts +0 -50
- package/dist/button.variants-4kw6plrv.cjs +0 -2
- package/dist/calendar-BUPDN6CU.d.cts +0 -45
- package/dist/calendar-Boz9U-O2.d.mts +0 -45
- package/dist/calendar-CTyL_3WY.cjs +0 -2
- package/dist/calendar-CTyL_3WY.cjs.map +0 -1
- package/dist/calendar-DyzwC2TQ.mjs +0 -2
- package/dist/calendar-DyzwC2TQ.mjs.map +0 -1
- package/dist/card-B8Pm6iEs.cjs +0 -2
- package/dist/card-B8Pm6iEs.cjs.map +0 -1
- package/dist/card-DDM5jg3U.d.mts +0 -63
- package/dist/card-DpQKFp4f.mjs +0 -2
- package/dist/card-DpQKFp4f.mjs.map +0 -1
- package/dist/card-a8tqytoT.d.cts +0 -63
- package/dist/carousel-BayGB372.cjs +0 -2
- package/dist/carousel-BayGB372.cjs.map +0 -1
- package/dist/carousel-Cm4szl4A.d.cts +0 -71
- package/dist/carousel-D8xUkFZ-.mjs +0 -2
- package/dist/carousel-D8xUkFZ-.mjs.map +0 -1
- package/dist/carousel-Y5TlCJ96.d.mts +0 -71
- package/dist/checkbox-Bbn3OZQd.d.mts +0 -26
- package/dist/checkbox-Bt4BgYMB.cjs +0 -2
- package/dist/checkbox-Bt4BgYMB.cjs.map +0 -1
- package/dist/checkbox-CBhlnGGv.mjs +0 -2
- package/dist/checkbox-CBhlnGGv.mjs.map +0 -1
- package/dist/checkbox-CccXRTYH.d.cts +0 -26
- package/dist/chunk-350yNsax.cjs +0 -1
- package/dist/close-Co-WLsSG.mjs.map +0 -1
- package/dist/close-DYBVx-8O.cjs +0 -2
- package/dist/close-DYBVx-8O.cjs.map +0 -1
- package/dist/cms-layout-B7lc5hIX.mjs +0 -2
- package/dist/cms-layout-B7lc5hIX.mjs.map +0 -1
- package/dist/cms-layout-DeTdDLXr.cjs +0 -2
- package/dist/cms-layout-DeTdDLXr.cjs.map +0 -1
- package/dist/collapsible-CLr3JLeA.mjs +0 -2
- package/dist/collapsible-CLr3JLeA.mjs.map +0 -1
- package/dist/collapsible-LInIoQlU.d.cts +0 -34
- package/dist/collapsible-RWAWE2lS.d.mts +0 -34
- package/dist/collapsible-rx0m3LuF.cjs +0 -2
- package/dist/collapsible-rx0m3LuF.cjs.map +0 -1
- package/dist/command-BQFbzzTr.cjs +0 -2
- package/dist/command-BQFbzzTr.cjs.map +0 -1
- package/dist/command-BlvmwwTr.d.mts +0 -89
- package/dist/command-CQMdYoAm.mjs +0 -2
- package/dist/command-CQMdYoAm.mjs.map +0 -1
- package/dist/command-DAudAVpm.d.cts +0 -89
- package/dist/confirm-dialog-C5ULtwJE.cjs +0 -2
- package/dist/confirm-dialog-C5ULtwJE.cjs.map +0 -1
- package/dist/confirm-dialog-CNWJKBc9.d.mts +0 -142
- package/dist/confirm-dialog-DG_3RvTI.d.cts +0 -142
- package/dist/confirm-dialog-u2GP8uPi.mjs +0 -2
- package/dist/confirm-dialog-u2GP8uPi.mjs.map +0 -1
- package/dist/context-menu-C9nXY3Bq.d.cts +0 -125
- package/dist/context-menu-CplWspvB.cjs +0 -2
- package/dist/context-menu-CplWspvB.cjs.map +0 -1
- package/dist/context-menu-DrF_sQB1.d.mts +0 -125
- package/dist/context-menu-a50s2_E_.mjs +0 -2
- package/dist/context-menu-a50s2_E_.mjs.map +0 -1
- package/dist/country-BHMqKldc.d.mts +0 -22
- package/dist/country-CnXNnGmY.cjs +0 -2
- package/dist/country-CnXNnGmY.cjs.map +0 -1
- package/dist/country-DUD_q-yS.d.cts +0 -22
- package/dist/country-lc1l_viY.mjs +0 -2
- package/dist/country-lc1l_viY.mjs.map +0 -1
- package/dist/data-list-BGmCL71V.cjs +0 -2
- package/dist/data-list-BGmCL71V.cjs.map +0 -1
- package/dist/data-list-CXWcUFU1.mjs +0 -2
- package/dist/data-list-CXWcUFU1.mjs.map +0 -1
- package/dist/data-list-Chl3KU5n.d.mts +0 -43
- package/dist/data-list-DwyNusTs.d.cts +0 -43
- package/dist/date-88lk-VJF.mjs.map +0 -1
- package/dist/date-BBBx-rIM.cjs +0 -2
- package/dist/date-BBBx-rIM.cjs.map +0 -1
- package/dist/date-tooltip-BdVWCJlg.cjs +0 -2
- package/dist/date-tooltip-BdVWCJlg.cjs.map +0 -1
- package/dist/date-tooltip-CoPcr3Ju.d.mts +0 -19
- package/dist/date-tooltip-DZ3NlfdZ.d.cts +0 -19
- package/dist/date-tooltip-OPAmlgBg.mjs +0 -2
- package/dist/date-tooltip-OPAmlgBg.mjs.map +0 -1
- package/dist/date-viiYGAtR.d.mts +0 -39
- package/dist/date-xQIXRJ71.d.cts +0 -39
- package/dist/descriptions-CgkBHjKD.mjs +0 -2
- package/dist/descriptions-CgkBHjKD.mjs.map +0 -1
- package/dist/descriptions-RNxfgfpM.cjs +0 -2
- package/dist/descriptions-RNxfgfpM.cjs.map +0 -1
- package/dist/detail-dialog-BLApH3eD.cjs +0 -2
- package/dist/detail-dialog-BLApH3eD.cjs.map +0 -1
- package/dist/detail-dialog-CXKrznrp.mjs +0 -2
- package/dist/detail-dialog-CXKrznrp.mjs.map +0 -1
- package/dist/dialog--BvCecaD.mjs +0 -2
- package/dist/dialog--BvCecaD.mjs.map +0 -1
- package/dist/dialog-DNEUhYSv.cjs +0 -2
- package/dist/dialog-DNEUhYSv.cjs.map +0 -1
- package/dist/dist-Cx5ufCdr.cjs +0 -2
- package/dist/drawer-BYYCsheu.mjs +0 -2
- package/dist/drawer-BYYCsheu.mjs.map +0 -1
- package/dist/drawer-CjnhVMTw.d.mts +0 -72
- package/dist/drawer-DqAutQLS.d.cts +0 -72
- package/dist/drawer-H8uD0q-C.cjs +0 -2
- package/dist/drawer-H8uD0q-C.cjs.map +0 -1
- package/dist/dropdown-menu-CpA9s4II.d.cts +0 -127
- package/dist/dropdown-menu-CtJ_OM19.cjs +0 -2
- package/dist/dropdown-menu-CtJ_OM19.cjs.map +0 -1
- package/dist/dropdown-menu-DhKquziD.mjs +0 -2
- package/dist/dropdown-menu-DhKquziD.mjs.map +0 -1
- package/dist/dropdown-menu-aDVEkr4L.d.mts +0 -127
- package/dist/edit-B6hhKU53.d.cts +0 -17
- package/dist/edit-CJH1v_md.d.mts +0 -17
- package/dist/edit-DwHuMQMh.cjs +0 -2
- package/dist/edit-DwHuMQMh.cjs.map +0 -1
- package/dist/edit-FIiUWxZq.mjs +0 -2
- package/dist/edit-FIiUWxZq.mjs.map +0 -1
- package/dist/empty-BhV9ASYf.d.mts +0 -68
- package/dist/empty-CmIJYhmV.cjs +0 -2
- package/dist/empty-CmIJYhmV.cjs.map +0 -1
- package/dist/empty-CoKfJtGD.mjs +0 -2
- package/dist/empty-CoKfJtGD.mjs.map +0 -1
- package/dist/empty-D6t3C3WX.mjs +0 -2
- package/dist/empty-D6t3C3WX.mjs.map +0 -1
- package/dist/empty-DaK_4UmN.d.cts +0 -68
- package/dist/empty-OVsSwbVn.d.mts +0 -21
- package/dist/empty-dUZoxaBx.cjs +0 -2
- package/dist/empty-dUZoxaBx.cjs.map +0 -1
- package/dist/empty-z1Ft5uT1.d.cts +0 -21
- package/dist/error-dialog-B8CXPcst.cjs +0 -2
- package/dist/error-dialog-B8CXPcst.cjs.map +0 -1
- package/dist/error-dialog-D0jvqNoY.d.mts +0 -25
- package/dist/error-dialog-DlwWpKEY.d.cts +0 -25
- package/dist/error-dialog-DnntjOS9.mjs +0 -2
- package/dist/error-dialog-DnntjOS9.mjs.map +0 -1
- package/dist/field-BxYoF5AX.mjs +0 -2
- package/dist/field-BxYoF5AX.mjs.map +0 -1
- package/dist/field-fIef7NR0.cjs +0 -2
- package/dist/field-fIef7NR0.cjs.map +0 -1
- package/dist/file-uploader-BM0x9VBh.cjs +0 -3
- package/dist/file-uploader-BM0x9VBh.cjs.map +0 -1
- package/dist/file-uploader-BTWXTBeQ.mjs +0 -3
- package/dist/file-uploader-BTWXTBeQ.mjs.map +0 -1
- package/dist/file-uploader-Bcq3zzxa.d.cts +0 -103
- package/dist/file-uploader-nUOkG_fv.d.mts +0 -103
- package/dist/flex-BSTiMh2t.d.mts +0 -117
- package/dist/flex-Bx9Nmr53.mjs +0 -2
- package/dist/flex-Bx9Nmr53.mjs.map +0 -1
- package/dist/flex-ClUVVSda.d.cts +0 -117
- package/dist/flex-ld7BqXoM.cjs +0 -2
- package/dist/flex-ld7BqXoM.cjs.map +0 -1
- package/dist/form-BZAtjwSL.d.mts +0 -112
- package/dist/form-Cek0ebE_.d.cts +0 -112
- package/dist/form-DvtaketZ.mjs +0 -2
- package/dist/form-DvtaketZ.mjs.map +0 -1
- package/dist/form-RLIQQ3uV.cjs +0 -2
- package/dist/form-RLIQQ3uV.cjs.map +0 -1
- package/dist/google-BWOrgvy8.d.mts +0 -53
- package/dist/google-C4F5wQ9e.mjs +0 -2
- package/dist/google-C4F5wQ9e.mjs.map +0 -1
- package/dist/google-Cy0_rdmN.cjs +0 -2
- package/dist/google-Cy0_rdmN.cjs.map +0 -1
- package/dist/google-Dyb44d8Y.d.cts +0 -53
- package/dist/grid-BOqzD6m6.d.cts +0 -19
- package/dist/grid-BXJ2x1oD.cjs +0 -2
- package/dist/grid-BXJ2x1oD.cjs.map +0 -1
- package/dist/grid-C4ogfMWr.mjs +0 -2
- package/dist/grid-C4ogfMWr.mjs.map +0 -1
- package/dist/grid-Dw7tBNxf.d.mts +0 -19
- package/dist/grid-product-card-BD8EVmk6.d.cts +0 -37
- package/dist/grid-product-card-BpciVETd.cjs +0 -2
- package/dist/grid-product-card-BpciVETd.cjs.map +0 -1
- package/dist/grid-product-card-BtZwWaMo.mjs +0 -2
- package/dist/grid-product-card-BtZwWaMo.mjs.map +0 -1
- package/dist/grid-product-card-CoFzQiFm.d.mts +0 -37
- package/dist/heading-De4Pn3mZ.mjs +0 -2
- package/dist/heading-tGTqk3pA.cjs +0 -2
- package/dist/hover-card-D2gz257Y.d.cts +0 -37
- package/dist/hover-card-DMVePTD9.mjs +0 -2
- package/dist/hover-card-DMVePTD9.mjs.map +0 -1
- package/dist/hover-card-Dsf0S6eo.d.mts +0 -37
- package/dist/hover-card-Pde4G6Fc.cjs +0 -2
- package/dist/hover-card-Pde4G6Fc.cjs.map +0 -1
- package/dist/image-BBPrcvIr.d.cts +0 -36
- package/dist/image-CbZwvmmL.mjs +0 -2
- package/dist/image-CbZwvmmL.mjs.map +0 -1
- package/dist/image-CwnOaUW7.d.mts +0 -36
- package/dist/image-eYMg5TSJ.cjs +0 -2
- package/dist/image-eYMg5TSJ.cjs.map +0 -1
- package/dist/index-1T84UTtI.d.mts +0 -1707
- package/dist/index-B03QzDx1.d.mts +0 -17
- package/dist/index-BQZ2-xGQ.d.cts +0 -246
- package/dist/index-BWLHjQ6S.d.cts +0 -74
- package/dist/index-D4T3Qd4m.d.cts +0 -45
- package/dist/index-DC7NHLfc.d.cts +0 -17
- package/dist/index-DYnzFF0T.d.mts +0 -74
- package/dist/index-DYp6lUbn.d.mts +0 -45
- package/dist/index-DyYcTYcv.d.mts +0 -246
- package/dist/index-x5md75cy.d.cts +0 -1707
- package/dist/input-BatF2xqI.cjs +0 -2
- package/dist/input-BatF2xqI.cjs.map +0 -1
- package/dist/input-CFsouxvo.mjs +0 -2
- package/dist/input-CFsouxvo.mjs.map +0 -1
- package/dist/input-otp-C9SpN7qa.mjs +0 -2
- package/dist/input-otp-C9SpN7qa.mjs.map +0 -1
- package/dist/input-otp-CMEY_7IK.d.cts +0 -59
- package/dist/input-otp-DXt9rivn.d.mts +0 -59
- package/dist/input-otp-phGylVzo.cjs +0 -2
- package/dist/input-otp-phGylVzo.cjs.map +0 -1
- package/dist/item-DSaO7I07.d.cts +0 -102
- package/dist/item-Dq3WIh5a.d.mts +0 -102
- package/dist/item-uB0ZFXtc.cjs +0 -2
- package/dist/item-uB0ZFXtc.cjs.map +0 -1
- package/dist/item-ysEJO_2s.mjs +0 -2
- package/dist/item-ysEJO_2s.mjs.map +0 -1
- package/dist/label--hinNDHW.cjs +0 -2
- package/dist/label--hinNDHW.cjs.map +0 -1
- package/dist/label-BMVyfKu9.mjs +0 -2
- package/dist/label-BMVyfKu9.mjs.map +0 -1
- package/dist/label-CCE-kS4j.d.mts +0 -24
- package/dist/label-DGJL4U_f.d.cts +0 -24
- package/dist/loading-dialog-CEkua3Lh.mjs +0 -2
- package/dist/loading-dialog-CEkua3Lh.mjs.map +0 -1
- package/dist/loading-dialog-D8kCsJID.d.cts +0 -21
- package/dist/loading-dialog-DLvA8-yT.d.mts +0 -21
- package/dist/loading-dialog-DYZmHC1A.cjs +0 -2
- package/dist/loading-dialog-DYZmHC1A.cjs.map +0 -1
- package/dist/menubar-BBFgdkch.d.cts +0 -135
- package/dist/menubar-Bh9Ua6gx.mjs +0 -2
- package/dist/menubar-Bh9Ua6gx.mjs.map +0 -1
- package/dist/menubar-Sr0X6In7.cjs +0 -2
- package/dist/menubar-Sr0X6In7.cjs.map +0 -1
- package/dist/menubar-b3iR0kew.d.mts +0 -135
- package/dist/multi-select-BHqEpbWV.d.mts +0 -117
- package/dist/multi-select-CBZxsmZW.mjs +0 -2
- package/dist/multi-select-CBZxsmZW.mjs.map +0 -1
- package/dist/multi-select-DdXU9QtL.d.cts +0 -117
- package/dist/multi-select-uHi4rmly.cjs +0 -2
- package/dist/multi-select-uHi4rmly.cjs.map +0 -1
- package/dist/name-2FXVOGc1.d.mts +0 -19
- package/dist/name-D7oldyH4.cjs +0 -2
- package/dist/name-D7oldyH4.cjs.map +0 -1
- package/dist/name-EKzKeq0g.mjs +0 -2
- package/dist/name-EKzKeq0g.mjs.map +0 -1
- package/dist/name-r1ATxwPZ.d.cts +0 -19
- package/dist/navigation-menu-BNEtQ0JM.cjs +0 -2
- package/dist/navigation-menu-BNEtQ0JM.cjs.map +0 -1
- package/dist/navigation-menu-DT9LfEFB.d.mts +0 -77
- package/dist/navigation-menu-Dl0kgmce.d.cts +0 -77
- package/dist/navigation-menu-zlpQ6hqY.mjs +0 -2
- package/dist/navigation-menu-zlpQ6hqY.mjs.map +0 -1
- package/dist/pagination-D6lKOCca.cjs +0 -2
- package/dist/pagination-D6lKOCca.cjs.map +0 -1
- package/dist/pagination-DXpyiDJW.mjs +0 -2
- package/dist/pagination-DXpyiDJW.mjs.map +0 -1
- package/dist/pagination-DYHZgmcc.d.cts +0 -67
- package/dist/pagination-DYMPNWwJ.d.mts +0 -67
- package/dist/paragraph-CLhsGG8e.d.cts +0 -48
- package/dist/paragraph-DYLaQtTV.mjs +0 -2
- package/dist/paragraph-DYLaQtTV.mjs.map +0 -1
- package/dist/paragraph-DvTZvbzw.cjs +0 -2
- package/dist/paragraph-DvTZvbzw.cjs.map +0 -1
- package/dist/paragraph-o9QFeg6c.d.mts +0 -48
- package/dist/payment-layout-BTYaI9Mr.mjs +0 -2
- package/dist/payment-layout-BTYaI9Mr.mjs.map +0 -1
- package/dist/payment-layout-neLk_obm.cjs +0 -2
- package/dist/payment-layout-neLk_obm.cjs.map +0 -1
- package/dist/phone-number-BAqPxJ5z.d.cts +0 -19
- package/dist/phone-number-CUjSdoHG.d.mts +0 -19
- package/dist/phone-number-CdfMUTj2.cjs +0 -2
- package/dist/phone-number-CdfMUTj2.cjs.map +0 -1
- package/dist/phone-number-CkxEaxxg.mjs +0 -2
- package/dist/phone-number-CkxEaxxg.mjs.map +0 -1
- package/dist/popover-BGd0Tvmy.mjs +0 -2
- package/dist/popover-BGd0Tvmy.mjs.map +0 -1
- package/dist/popover-CaU_EoBJ.d.mts +0 -52
- package/dist/popover-eSwUy8WP.cjs +0 -2
- package/dist/popover-eSwUy8WP.cjs.map +0 -1
- package/dist/popover-m32DoRiq.d.cts +0 -52
- package/dist/product-card-10gaH8bg.cjs +0 -2
- package/dist/product-card-10gaH8bg.cjs.map +0 -1
- package/dist/product-card-C0l0q2Ve.d.cts +0 -37
- package/dist/product-card-CWrVGqZV.d.mts +0 -37
- package/dist/product-card-Rwd-o9hK.mjs +0 -2
- package/dist/product-card-Rwd-o9hK.mjs.map +0 -1
- package/dist/progress-BwbACJal.d.cts +0 -23
- package/dist/progress-Dlgbu5Ff.cjs +0 -2
- package/dist/progress-Dlgbu5Ff.cjs.map +0 -1
- package/dist/progress-RvyBMsxb.mjs +0 -2
- package/dist/progress-RvyBMsxb.mjs.map +0 -1
- package/dist/progress-sn0IL4k4.d.mts +0 -23
- package/dist/radio-group-C4sIDN68.cjs +0 -2
- package/dist/radio-group-C4sIDN68.cjs.map +0 -1
- package/dist/radio-group-CD-4vNQR.mjs +0 -2
- package/dist/radio-group-CD-4vNQR.mjs.map +0 -1
- package/dist/radio-group-Ck0NoDHp.d.cts +0 -37
- package/dist/radio-group-DeKN6NpB.d.mts +0 -37
- package/dist/refresh-BFJvyuJH.cjs +0 -2
- package/dist/refresh-BFJvyuJH.cjs.map +0 -1
- package/dist/refresh-BjdAiL4f.d.mts +0 -17
- package/dist/refresh-Bxm2I0Oe.mjs +0 -2
- package/dist/refresh-Bxm2I0Oe.mjs.map +0 -1
- package/dist/refresh-vK99pTVu.d.cts +0 -17
- package/dist/resizable-BilIxAxi.d.mts +0 -63
- package/dist/resizable-DYxHVdyf.d.cts +0 -63
- package/dist/resizable-p6zxjcHs.mjs +0 -2
- package/dist/resizable-p6zxjcHs.mjs.map +0 -1
- package/dist/resizable-yKKhHTqx.cjs +0 -2
- package/dist/resizable-yKKhHTqx.cjs.map +0 -1
- package/dist/role-badge-BIgdiY5P.mjs +0 -2
- package/dist/role-badge-BIgdiY5P.mjs.map +0 -1
- package/dist/role-badge-BwOEEepo.cjs +0 -2
- package/dist/role-badge-BwOEEepo.cjs.map +0 -1
- package/dist/role-badge-CBZdPHUc.d.cts +0 -22
- package/dist/role-badge-DeofJ2ep.d.mts +0 -22
- package/dist/scroll-area-C7s40z6d.d.mts +0 -37
- package/dist/scroll-area-CKWenzXh.d.cts +0 -37
- package/dist/scroll-area-Dn3a9ZCQ.cjs +0 -2
- package/dist/scroll-area-Dn3a9ZCQ.cjs.map +0 -1
- package/dist/scroll-area-DrZOWroA.mjs +0 -2
- package/dist/scroll-area-DrZOWroA.mjs.map +0 -1
- package/dist/search-input-7m30vApQ.d.mts +0 -29
- package/dist/search-input-BCYwlwtk.cjs +0 -2
- package/dist/search-input-BCYwlwtk.cjs.map +0 -1
- package/dist/search-input-DVtHPbme.d.cts +0 -29
- package/dist/search-input-D_nJ8McN.mjs +0 -2
- package/dist/search-input-D_nJ8McN.mjs.map +0 -1
- package/dist/search-modal-BJhXWOiv.cjs +0 -2
- package/dist/search-modal-BJhXWOiv.cjs.map +0 -1
- package/dist/search-modal-BpHuii66.mjs +0 -2
- package/dist/search-modal-BpHuii66.mjs.map +0 -1
- package/dist/select-B5q6krCq.cjs +0 -2
- package/dist/select-B5q6krCq.cjs.map +0 -1
- package/dist/select-CreOhvnP.mjs +0 -2
- package/dist/select-CreOhvnP.mjs.map +0 -1
- package/dist/select-D0mVxToc.d.mts +0 -77
- package/dist/select-D47FVDEv.d.cts +0 -77
- package/dist/separator-BRoS5sU8.cjs +0 -2
- package/dist/separator-BRoS5sU8.cjs.map +0 -1
- package/dist/separator-BT4tDBSP.d.mts +0 -34
- package/dist/separator-BjRgoiEx.mjs +0 -2
- package/dist/separator-BjRgoiEx.mjs.map +0 -1
- package/dist/separator-DOHFNx8Z.d.cts +0 -34
- package/dist/sheet-38e14yOJ.d.cts +0 -69
- package/dist/sheet-Bk6mK6TN.mjs +0 -2
- package/dist/sheet-Bk6mK6TN.mjs.map +0 -1
- package/dist/sheet-E5cMUzxr.cjs +0 -2
- package/dist/sheet-E5cMUzxr.cjs.map +0 -1
- package/dist/sheet-nSIzbJ1S.d.mts +0 -69
- package/dist/sidebar-DeiQjPc8.mjs +0 -2
- package/dist/sidebar-DeiQjPc8.mjs.map +0 -1
- package/dist/sidebar-DzqiY6IR.cjs +0 -2
- package/dist/sidebar-DzqiY6IR.cjs.map +0 -1
- package/dist/simple-card-C5Rr81Sm.cjs +0 -2
- package/dist/simple-card-C5Rr81Sm.cjs.map +0 -1
- package/dist/simple-card-CIB1_AO0.d.mts +0 -35
- package/dist/simple-card-CjJvBXKr.d.cts +0 -35
- package/dist/simple-card-HEzKjzGT.mjs +0 -2
- package/dist/simple-card-HEzKjzGT.mjs.map +0 -1
- package/dist/skeleton-BuscPZgb.cjs +0 -2
- package/dist/skeleton-BuscPZgb.cjs.map +0 -1
- package/dist/skeleton-Bw3-1Ifw.d.cts +0 -27
- package/dist/skeleton-teVJKfpX.mjs +0 -2
- package/dist/skeleton-teVJKfpX.mjs.map +0 -1
- package/dist/skeleton-wv8x-bmn.d.mts +0 -27
- package/dist/slider-CPRW5ByY.cjs +0 -2
- package/dist/slider-CPRW5ByY.cjs.map +0 -1
- package/dist/slider-CsNzhp4K.d.cts +0 -26
- package/dist/slider-RyNGQZH2.mjs +0 -2
- package/dist/slider-RyNGQZH2.mjs.map +0 -1
- package/dist/slider-axR5n-iU.d.mts +0 -26
- package/dist/sonner-BcwAttxz.d.cts +0 -24
- package/dist/sonner-DiKkRgL0.mjs +0 -2
- package/dist/sonner-DiKkRgL0.mjs.map +0 -1
- package/dist/sonner-hiZbh7Ma.d.mts +0 -24
- package/dist/sonner-tfvnW7f9.cjs +0 -2
- package/dist/sonner-tfvnW7f9.cjs.map +0 -1
- package/dist/spinner-8BhR5INj.d.cts +0 -25
- package/dist/spinner-BhIV1n_5.mjs +0 -2
- package/dist/spinner-BhIV1n_5.mjs.map +0 -1
- package/dist/spinner-BlcoDe44.cjs +0 -2
- package/dist/spinner-BlcoDe44.cjs.map +0 -1
- package/dist/spinner-YEHQDAMj.d.mts +0 -25
- package/dist/statistic-BGynCEWL.cjs +0 -2
- package/dist/statistic-BGynCEWL.cjs.map +0 -1
- package/dist/statistic-C7jb2YxN.d.cts +0 -57
- package/dist/statistic-DbQG1ymc.d.mts +0 -57
- package/dist/statistic-fawLJa99.mjs +0 -2
- package/dist/statistic-fawLJa99.mjs.map +0 -1
- package/dist/switch-BTU8yOgs.mjs +0 -2
- package/dist/switch-BTU8yOgs.mjs.map +0 -1
- package/dist/switch-BaLJWcs6.d.cts +0 -26
- package/dist/switch-DMEBc5Me.cjs +0 -2
- package/dist/switch-DMEBc5Me.cjs.map +0 -1
- package/dist/switch-gWDJ4yuM.d.mts +0 -26
- package/dist/table-B2rDsRr1.d.cts +0 -73
- package/dist/table-BmEJ-Ktq.d.mts +0 -73
- package/dist/table-DUDAeitX.mjs +0 -2
- package/dist/table-DUDAeitX.mjs.map +0 -1
- package/dist/table-DkGeuCS6.cjs +0 -2
- package/dist/table-DkGeuCS6.cjs.map +0 -1
- package/dist/tables-BhRUyHnO.cjs +0 -4
- package/dist/tables-BhRUyHnO.cjs.map +0 -1
- package/dist/tables-Dnu1akl3.mjs +0 -4
- package/dist/tables-Dnu1akl3.mjs.map +0 -1
- package/dist/tabs-564E0ez3.d.mts +0 -44
- package/dist/tabs-DFGhwbGp.mjs +0 -2
- package/dist/tabs-DFGhwbGp.mjs.map +0 -1
- package/dist/tabs-JR7-JzIe.cjs +0 -2
- package/dist/tabs-JR7-JzIe.cjs.map +0 -1
- package/dist/tabs-vAz8fioT.d.cts +0 -44
- package/dist/tanstack-form-4b7YcChW.cjs +0 -12
- package/dist/tanstack-form-4b7YcChW.cjs.map +0 -1
- package/dist/tanstack-form-Bo1AZA4L.mjs +0 -12
- package/dist/tanstack-form-Bo1AZA4L.mjs.map +0 -1
- package/dist/text-editor-D1vX6xed.mjs +0 -2
- package/dist/text-editor-D1vX6xed.mjs.map +0 -1
- package/dist/text-editor-Dr8BD9Bh.cjs +0 -2
- package/dist/text-editor-Dr8BD9Bh.cjs.map +0 -1
- package/dist/textarea-BNYJfmS1.cjs +0 -2
- package/dist/textarea-BNYJfmS1.cjs.map +0 -1
- package/dist/textarea-Be2gUM3T.d.mts +0 -30
- package/dist/textarea-Bh8TcWO-.mjs +0 -2
- package/dist/textarea-Bh8TcWO-.mjs.map +0 -1
- package/dist/textarea-DbmOLyAp.d.cts +0 -30
- package/dist/title-BlFwN8RM.d.mts +0 -43
- package/dist/title-CMLgxj8_.mjs +0 -2
- package/dist/title-CMLgxj8_.mjs.map +0 -1
- package/dist/title-DJuGuD0Q.d.cts +0 -43
- package/dist/title-DR8e6bHV.cjs +0 -2
- package/dist/title-DR8e6bHV.cjs.map +0 -1
- package/dist/toggle-B3j94Xvr.cjs +0 -2
- package/dist/toggle-B3j94Xvr.cjs.map +0 -1
- package/dist/toggle-BBOteSWq.d.mts +0 -32
- package/dist/toggle-D6bmp328.d.cts +0 -32
- package/dist/toggle-group-5CEKhPgb.d.mts +0 -39
- package/dist/toggle-group-BOubLcnF.d.cts +0 -39
- package/dist/toggle-group-CAIFsPEQ.cjs +0 -2
- package/dist/toggle-group-CAIFsPEQ.cjs.map +0 -1
- package/dist/toggle-group-DfzLXhuE.mjs +0 -2
- package/dist/toggle-group-DfzLXhuE.mjs.map +0 -1
- package/dist/toggle-jTYfZSWB.mjs +0 -2
- package/dist/toggle-jTYfZSWB.mjs.map +0 -1
- package/dist/tooltip-BBEcyuAE.mjs +0 -2
- package/dist/tooltip-BBEcyuAE.mjs.map +0 -1
- package/dist/tooltip-BFQy2Oca.d.mts +0 -55
- package/dist/tooltip-DBjqfkRe.d.cts +0 -55
- package/dist/tooltip-KEOJcYl8.cjs +0 -2
- package/dist/tooltip-KEOJcYl8.cjs.map +0 -1
- package/dist/trash-BxlUz9AR.cjs +0 -2
- package/dist/trash-BxlUz9AR.cjs.map +0 -1
- package/dist/trash-CV_nXOkW.d.mts +0 -17
- package/dist/trash-CZHL7ZuK.d.cts +0 -17
- package/dist/trash-UPoDDna-.mjs +0 -2
- package/dist/trash-UPoDDna-.mjs.map +0 -1
- package/dist/types-BAAJEExQ.cjs +0 -2
- package/dist/types-BAAJEExQ.cjs.map +0 -1
- package/dist/types-DodCf0NQ.mjs +0 -2
- package/dist/types-DodCf0NQ.mjs.map +0 -1
- package/dist/upload-image-BsCkSEXu.d.mts +0 -24
- package/dist/upload-image-CBVufZda.mjs +0 -2
- package/dist/upload-image-CBVufZda.mjs.map +0 -1
- package/dist/upload-image-CPWA9XOk.cjs +0 -2
- package/dist/upload-image-CPWA9XOk.cjs.map +0 -1
- package/dist/upload-image-CV3Xlq2w.d.cts +0 -24
- package/dist/user-B2Pml0ly.cjs +0 -2
- package/dist/user-B2Pml0ly.cjs.map +0 -1
- package/dist/user-B5efjaOf.d.cts +0 -23
- package/dist/user-Cl4BdxFy.d.mts +0 -23
- package/dist/user-DpBhqdvd.mjs +0 -2
- package/dist/user-DpBhqdvd.mjs.map +0 -1
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import * as react35 from "react";
|
|
2
|
-
import { AlertDialog } from "radix-ui";
|
|
3
|
-
|
|
4
|
-
//#region packages/components/ui/alert-dialog.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Accessible alert dialog built on Radix UI's AlertDialog primitives, requiring explicit user confirmation before a destructive action can proceed.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* import {
|
|
12
|
-
* AlertDialog, AlertDialogTrigger, AlertDialogContent,
|
|
13
|
-
* AlertDialogHeader, AlertDialogTitle, AlertDialogDescription,
|
|
14
|
-
* AlertDialogFooter, AlertDialogAction, AlertDialogCancel,
|
|
15
|
-
* } from '@customafk/lunas-ui/ui/alert-dialog';
|
|
16
|
-
* import { Button } from '@customafk/lunas-ui/ui/button';
|
|
17
|
-
*
|
|
18
|
-
* <AlertDialog>
|
|
19
|
-
* <AlertDialogTrigger asChild>
|
|
20
|
-
* <Button variant="solid" color="danger">Delete account</Button>
|
|
21
|
-
* </AlertDialogTrigger>
|
|
22
|
-
* <AlertDialogContent>
|
|
23
|
-
* <AlertDialogHeader>
|
|
24
|
-
* <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
|
|
25
|
-
* <AlertDialogDescription>
|
|
26
|
-
* This action cannot be undone. Your account will be permanently deleted.
|
|
27
|
-
* </AlertDialogDescription>
|
|
28
|
-
* </AlertDialogHeader>
|
|
29
|
-
* <AlertDialogFooter>
|
|
30
|
-
* <AlertDialogCancel>Cancel</AlertDialogCancel>
|
|
31
|
-
* <AlertDialogAction>Continue</AlertDialogAction>
|
|
32
|
-
* </AlertDialogFooter>
|
|
33
|
-
* </AlertDialogContent>
|
|
34
|
-
* </AlertDialog>
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
declare function AlertDialog$1({
|
|
38
|
-
...props
|
|
39
|
-
}: React.ComponentProps<typeof AlertDialog.Root>): react35.JSX.Element;
|
|
40
|
-
/** Element that opens the alert dialog when clicked; typically wrapped with `asChild` around a `Button`. */
|
|
41
|
-
declare function AlertDialogTrigger({
|
|
42
|
-
...props
|
|
43
|
-
}: React.ComponentProps<typeof AlertDialog.Trigger>): react35.JSX.Element;
|
|
44
|
-
/** Renders alert dialog overlay and content into a portal outside the normal React tree. */
|
|
45
|
-
declare function AlertDialogPortal({
|
|
46
|
-
...props
|
|
47
|
-
}: React.ComponentProps<typeof AlertDialog.Portal>): react35.JSX.Element;
|
|
48
|
-
/** Semi-transparent backdrop rendered behind the alert dialog panel; pointer events are disabled to prevent accidental dismissal. */
|
|
49
|
-
declare function AlertDialogOverlay({
|
|
50
|
-
className,
|
|
51
|
-
...props
|
|
52
|
-
}: React.ComponentProps<typeof AlertDialog.Overlay>): react35.JSX.Element;
|
|
53
|
-
/** Animated panel that contains the alert dialog body; renders via `AlertDialogPortal` over `AlertDialogOverlay`. */
|
|
54
|
-
declare function AlertDialogContent({
|
|
55
|
-
className,
|
|
56
|
-
...props
|
|
57
|
-
}: React.ComponentProps<typeof AlertDialog.Content>): react35.JSX.Element;
|
|
58
|
-
/** Layout wrapper for the alert dialog title and description. */
|
|
59
|
-
declare function AlertDialogHeader({
|
|
60
|
-
className,
|
|
61
|
-
...props
|
|
62
|
-
}: React.ComponentProps<'div'>): react35.JSX.Element;
|
|
63
|
-
/** Layout wrapper for the cancel and action buttons at the bottom of the alert dialog. */
|
|
64
|
-
declare function AlertDialogFooter({
|
|
65
|
-
className,
|
|
66
|
-
...props
|
|
67
|
-
}: React.ComponentProps<'div'>): react35.JSX.Element;
|
|
68
|
-
/** Accessible heading for the alert dialog, styled with the h3 heading variant. */
|
|
69
|
-
declare function AlertDialogTitle({
|
|
70
|
-
className,
|
|
71
|
-
...props
|
|
72
|
-
}: React.ComponentProps<typeof AlertDialog.Title>): react35.JSX.Element;
|
|
73
|
-
/** Muted supporting text that explains the consequences of the destructive action. */
|
|
74
|
-
declare function AlertDialogDescription({
|
|
75
|
-
className,
|
|
76
|
-
...props
|
|
77
|
-
}: React.ComponentProps<typeof AlertDialog.Description>): react35.JSX.Element;
|
|
78
|
-
/** Confirm button that closes the dialog and proceeds with the action; auto-focused and styled as the primary action. */
|
|
79
|
-
declare function AlertDialogAction({
|
|
80
|
-
className,
|
|
81
|
-
...props
|
|
82
|
-
}: React.ComponentProps<typeof AlertDialog.Action>): react35.JSX.Element;
|
|
83
|
-
/** Cancel button that closes the alert dialog without performing the destructive action. */
|
|
84
|
-
declare function AlertDialogCancel({
|
|
85
|
-
className,
|
|
86
|
-
...props
|
|
87
|
-
}: React.ComponentProps<typeof AlertDialog.Cancel>): react35.JSX.Element;
|
|
88
|
-
//#endregion
|
|
89
|
-
export { AlertDialogDescription as a, AlertDialogOverlay as c, AlertDialogTrigger as d, AlertDialogContent as i, AlertDialogPortal as l, AlertDialogAction as n, AlertDialogFooter as o, AlertDialogCancel as r, AlertDialogHeader as s, AlertDialog$1 as t, AlertDialogTitle as u };
|
|
90
|
-
//# sourceMappingURL=alert-dialog-TBiCQ9Ty.d.cts.map
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react148 from "react";
|
|
2
|
-
import { AspectRatio } 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$1({
|
|
19
|
-
className,
|
|
20
|
-
...props
|
|
21
|
-
}: React.ComponentProps<typeof AspectRatio.Root>): react148.JSX.Element;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { AspectRatio$1 as t };
|
|
24
|
-
//# sourceMappingURL=aspect-ratio-BsfIALEV.d.mts.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-350yNsax.cjs`);let t=require(`@customafk/react-toolkit/utils`),n=require(`react/jsx-runtime`),r=require(`radix-ui`);function i({className:e,...i}){return(0,n.jsx)(r.AspectRatio.Root,{"data-slot":`aspect-ratio`,className:(0,t.cn)(`bg-secondary-muted rounded-md`,e),...i})}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|
|
2
|
-
//# sourceMappingURL=aspect-ratio-Cd2mBXiE.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio-Cd2mBXiE.cjs","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":"6IAiBA,SAAS,EAAY,CAAE,YAAW,GAAG,GAAiE,CACpG,OAAO,EAAA,EAAA,KAACA,EAAAA,YAAqB,KAAA,CAAK,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,gCAAiC,EAAU,CAAE,GAAI,GAAS"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
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 t};
|
|
2
|
-
//# sourceMappingURL=aspect-ratio-DP12ssDX.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio-DP12ssDX.mjs","names":["AspectRatio","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":"mIAiBA,SAASA,EAAY,CAAE,YAAW,GAAG,GAAiE,CACpG,OAAO,EAACC,EAAqB,KAAA,CAAK,YAAU,eAAe,UAAW,EAAG,gCAAiC,EAAU,CAAE,GAAI,GAAS"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react49 from "react";
|
|
2
|
-
import { AspectRatio } 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$1({
|
|
19
|
-
className,
|
|
20
|
-
...props
|
|
21
|
-
}: React.ComponentProps<typeof AspectRatio.Root>): react49.JSX.Element;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { AspectRatio$1 as t };
|
|
24
|
-
//# sourceMappingURL=aspect-ratio-Dy7SplBM.d.cts.map
|
package/dist/avatar-CVRRoJ05.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-350yNsax.cjs`);let t=require(`@customafk/react-toolkit/utils`),n=require(`react/jsx-runtime`),r=require(`radix-ui`);function i({className:e,...i}){return(0,n.jsx)(r.Avatar.Root,{"data-slot":`avatar`,className:(0,t.cn)(`relative flex size-8 shrink-0 overflow-hidden rounded-full`,e),...i})}function a({className:e,...i}){return(0,n.jsx)(r.Avatar.Image,{"data-slot":`avatar-image`,className:(0,t.cn)(`aspect-square size-full`,e),...i})}function o({className:e,...i}){return(0,n.jsx)(r.Avatar.Fallback,{"data-slot":`avatar-fallback`,className:(0,t.cn)(`bg-muted flex size-full items-center justify-center rounded-full`,e),...i})}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|
|
2
|
-
//# sourceMappingURL=avatar-CVRRoJ05.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-CVRRoJ05.cjs","names":["AvatarPrimitive"],"sources":["../packages/components/ui/avatar.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Avatar as AvatarPrimitive } from 'radix-ui';\n\n/**\n * Circular user avatar built on Radix UI's Avatar primitives, falling back to initials or an icon when the image fails to load.\n *\n * @example\n * ```tsx\n * import { Avatar, AvatarImage, AvatarFallback } from '@customafk/lunas-ui/ui/avatar';\n *\n * <Avatar>\n * <AvatarImage src=\"https://example.com/avatar.jpg\" alt=\"Jane Doe\" />\n * <AvatarFallback>JD</AvatarFallback>\n * </Avatar>\n * ```\n */\nfunction Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>) {\n return <AvatarPrimitive.Root data-slot=\"avatar\" className={cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', className)} {...props} />;\n}\n\n/** The avatar photo; hidden automatically by Radix UI when the image fails to load, revealing `AvatarFallback`. */\nfunction AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>) {\n return <AvatarPrimitive.Image data-slot=\"avatar-image\" className={cn('aspect-square size-full', className)} {...props} />;\n}\n\n/** Fallback content (e.g. initials) displayed inside the avatar when the image is unavailable or still loading. */\nfunction AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {\n return (\n <AvatarPrimitive.Fallback\n data-slot=\"avatar-fallback\"\n className={cn('bg-muted flex size-full items-center justify-center rounded-full', className)}\n {...props}\n />\n );\n}\n\nexport { Avatar, AvatarFallback, AvatarImage };\n"],"mappings":"6IAkBA,SAAS,EAAO,CAAE,YAAW,GAAG,GAA4D,CAC1F,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,KAAA,CAAK,YAAU,SAAS,WAAA,EAAA,EAAA,IAAc,6DAA8D,EAAU,CAAE,GAAI,GAAS,CAIvJ,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,0BAA2B,EAAU,CAAE,GAAI,GAAS,CAI3H,SAAS,EAAe,CAAE,YAAW,GAAG,GAAgE,CACtG,OACE,EAAA,EAAA,KAACA,EAAAA,OAAgB,SAAA,CACf,YAAU,kBACV,WAAA,EAAA,EAAA,IAAc,mEAAoE,EAAU,CAC5F,GAAI,GACJ"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as react53 from "react";
|
|
2
|
-
import { Avatar } 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$1({
|
|
20
|
-
className,
|
|
21
|
-
...props
|
|
22
|
-
}: React.ComponentProps<typeof Avatar.Root>): react53.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.Image>): react53.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.Fallback>): react53.JSX.Element;
|
|
33
|
-
//#endregion
|
|
34
|
-
export { AvatarFallback as n, AvatarImage as r, Avatar$1 as t };
|
|
35
|
-
//# sourceMappingURL=avatar-XFoz-EPk.d.cts.map
|
package/dist/avatar-tjgTFpVU.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{cn as e}from"@customafk/react-toolkit/utils";import{jsx as t}from"react/jsx-runtime";import{Avatar as n}from"radix-ui";function r({className:r,...i}){return t(n.Root,{"data-slot":`avatar`,className:e(`relative flex size-8 shrink-0 overflow-hidden rounded-full`,r),...i})}function i({className:r,...i}){return t(n.Image,{"data-slot":`avatar-image`,className:e(`aspect-square size-full`,r),...i})}function a({className:r,...i}){return t(n.Fallback,{"data-slot":`avatar-fallback`,className:e(`bg-muted flex size-full items-center justify-center rounded-full`,r),...i})}export{a as n,i as r,r as t};
|
|
2
|
-
//# sourceMappingURL=avatar-tjgTFpVU.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-tjgTFpVU.mjs","names":["Avatar","AvatarPrimitive"],"sources":["../packages/components/ui/avatar.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Avatar as AvatarPrimitive } from 'radix-ui';\n\n/**\n * Circular user avatar built on Radix UI's Avatar primitives, falling back to initials or an icon when the image fails to load.\n *\n * @example\n * ```tsx\n * import { Avatar, AvatarImage, AvatarFallback } from '@customafk/lunas-ui/ui/avatar';\n *\n * <Avatar>\n * <AvatarImage src=\"https://example.com/avatar.jpg\" alt=\"Jane Doe\" />\n * <AvatarFallback>JD</AvatarFallback>\n * </Avatar>\n * ```\n */\nfunction Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>) {\n return <AvatarPrimitive.Root data-slot=\"avatar\" className={cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', className)} {...props} />;\n}\n\n/** The avatar photo; hidden automatically by Radix UI when the image fails to load, revealing `AvatarFallback`. */\nfunction AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>) {\n return <AvatarPrimitive.Image data-slot=\"avatar-image\" className={cn('aspect-square size-full', className)} {...props} />;\n}\n\n/** Fallback content (e.g. initials) displayed inside the avatar when the image is unavailable or still loading. */\nfunction AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {\n return (\n <AvatarPrimitive.Fallback\n data-slot=\"avatar-fallback\"\n className={cn('bg-muted flex size-full items-center justify-center rounded-full', className)}\n {...props}\n />\n );\n}\n\nexport { Avatar, AvatarFallback, AvatarImage };\n"],"mappings":"8HAkBA,SAASA,EAAO,CAAE,YAAW,GAAG,GAA4D,CAC1F,OAAO,EAACC,EAAgB,KAAA,CAAK,YAAU,SAAS,UAAW,EAAG,6DAA8D,EAAU,CAAE,GAAI,GAAS,CAIvJ,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,UAAW,EAAG,0BAA2B,EAAU,CAAE,GAAI,GAAS,CAI3H,SAAS,EAAe,CAAE,YAAW,GAAG,GAAgE,CACtG,OACE,EAACA,EAAgB,SAAA,CACf,YAAU,kBACV,UAAW,EAAG,mEAAoE,EAAU,CAC5F,GAAI,GACJ"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as react144 from "react";
|
|
2
|
-
import { Avatar } 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$1({
|
|
20
|
-
className,
|
|
21
|
-
...props
|
|
22
|
-
}: React.ComponentProps<typeof Avatar.Root>): react144.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.Image>): react144.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.Fallback>): react144.JSX.Element;
|
|
33
|
-
//#endregion
|
|
34
|
-
export { AvatarFallback as n, AvatarImage as r, Avatar$1 as t };
|
|
35
|
-
//# sourceMappingURL=avatar-zDJh1tw9.d.mts.map
|
package/dist/badge-7bcsD0vA.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-350yNsax.cjs`);let t=require(`@customafk/react-toolkit/utils`),n=require(`class-variance-authority`),r=require(`react/jsx-runtime`);const i=(0,n.cva)(`inline-flex items-center justify-center font-medium transition-colors duration-150 focus:ring-2 focus:ring-offset-2 focus:outline-hidden focus:ring-ring forced-colors:outline`,{variants:{variant:{solid:`shadow-btn`,soft:``,outline:`bg-transparent border`},color:{primary:``,secondary:``,muted:``,accent:``,info:``,success:``,warning:``,danger:``},size:{xs:`text-[10px]/3 px-1.5 py-0.5 gap-1`,sm:`text-xs px-2 py-0.5 gap-1`,md:`text-sm px-2.5 py-0.5 gap-1.5`,lg:`text-base px-3 py-1 gap-1.5`,xl:`text-lg px-3.5 py-1 gap-1.5`},pill:{true:`rounded-full`,false:`rounded-sm`}},defaultVariants:{variant:`solid`,color:`primary`,size:`md`,pill:!0},compoundVariants:[{variant:`solid`,color:`primary`,className:`bg-primary text-primary-foreground`},{variant:`solid`,color:`secondary`,className:`bg-secondary text-secondary-foreground`},{variant:`solid`,color:`muted`,className:`bg-muted text-text-negative`},{variant:`solid`,color:`accent`,className:`bg-accent text-text-negative`},{variant:`solid`,color:`info`,className:`bg-info text-info-foreground`},{variant:`solid`,color:`success`,className:`bg-success text-success-foreground`},{variant:`solid`,color:`warning`,className:`bg-warning text-warning-foreground`},{variant:`solid`,color:`danger`,className:`bg-danger text-danger-foreground`},{variant:`soft`,color:`primary`,className:`bg-primary-bg-subtle text-primary-intense`},{variant:`soft`,color:`secondary`,className:`bg-secondary-bg-subtle text-secondary-intense`},{variant:`soft`,color:`muted`,className:`bg-muted-bg-subtle text-muted-intense`},{variant:`soft`,color:`accent`,className:`bg-accent-bg-subtle text-accent-intense`},{variant:`soft`,color:`info`,className:`bg-info-bg-subtle text-info-intense`},{variant:`soft`,color:`success`,className:`bg-success-bg-subtle text-success-intense`},{variant:`soft`,color:`warning`,className:`bg-warning-bg-subtle text-warning-intense`},{variant:`soft`,color:`danger`,className:`bg-danger-bg-subtle text-danger-intense`},{variant:`outline`,color:`primary`,className:`border-primary text-primary`},{variant:`outline`,color:`secondary`,className:`border-secondary text-secondary`},{variant:`outline`,color:`muted`,className:`border-muted text-muted`},{variant:`outline`,color:`accent`,className:`border-accent text-accent`},{variant:`outline`,color:`info`,className:`border-info text-info`},{variant:`outline`,color:`success`,className:`border-success text-success`},{variant:`outline`,color:`warning`,className:`border-warning text-warning`},{variant:`outline`,color:`danger`,className:`border-danger text-danger`}]});function a({className:e,variant:n,color:a,size:o,pill:s,...c}){return(0,r.jsx)(`span`,{className:(0,t.cn)(i({variant:n,color:a,pill:s,size:o}),e),...c})}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
|
2
|
-
//# sourceMappingURL=badge-7bcsD0vA.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"badge-7bcsD0vA.cjs","names":[],"sources":["../packages/components/ui/badge.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst badgeVariants = cva(\n 'inline-flex items-center justify-center font-medium transition-colors duration-150 focus:ring-2 focus:ring-offset-2 focus:outline-hidden focus:ring-ring forced-colors:outline',\n {\n variants: {\n variant: {\n solid: 'shadow-btn',\n soft: '',\n outline: 'bg-transparent border',\n },\n color: {\n primary: '',\n secondary: '',\n muted: '',\n accent: '',\n info: '',\n success: '',\n warning: '',\n danger: '',\n },\n size: {\n xs: 'text-[10px]/3 px-1.5 py-0.5 gap-1',\n sm: 'text-xs px-2 py-0.5 gap-1',\n md: 'text-sm px-2.5 py-0.5 gap-1.5',\n lg: 'text-base px-3 py-1 gap-1.5',\n xl: 'text-lg px-3.5 py-1 gap-1.5',\n },\n pill: {\n true: 'rounded-full',\n false: 'rounded-sm',\n },\n },\n defaultVariants: {\n variant: 'solid',\n color: 'primary',\n size: 'md',\n pill: true,\n },\n compoundVariants: [\n // solid\n { variant: 'solid', color: 'primary', className: 'bg-primary text-primary-foreground' },\n { variant: 'solid', color: 'secondary', className: 'bg-secondary text-secondary-foreground' },\n { variant: 'solid', color: 'muted', className: 'bg-muted text-text-negative' },\n { variant: 'solid', color: 'accent', className: 'bg-accent text-text-negative' },\n { variant: 'solid', color: 'info', className: 'bg-info text-info-foreground' },\n { variant: 'solid', color: 'success', className: 'bg-success text-success-foreground' },\n { variant: 'solid', color: 'warning', className: 'bg-warning text-warning-foreground' },\n { variant: 'solid', color: 'danger', className: 'bg-danger text-danger-foreground' },\n // soft\n { variant: 'soft', color: 'primary', className: 'bg-primary-bg-subtle text-primary-intense' },\n { variant: 'soft', color: 'secondary', className: 'bg-secondary-bg-subtle text-secondary-intense' },\n { variant: 'soft', color: 'muted', className: 'bg-muted-bg-subtle text-muted-intense' },\n { variant: 'soft', color: 'accent', className: 'bg-accent-bg-subtle text-accent-intense' },\n { variant: 'soft', color: 'info', className: 'bg-info-bg-subtle text-info-intense' },\n { variant: 'soft', color: 'success', className: 'bg-success-bg-subtle text-success-intense' },\n { variant: 'soft', color: 'warning', className: 'bg-warning-bg-subtle text-warning-intense' },\n { variant: 'soft', color: 'danger', className: 'bg-danger-bg-subtle text-danger-intense' },\n // outline\n { variant: 'outline', color: 'primary', className: 'border-primary text-primary' },\n { variant: 'outline', color: 'secondary', className: 'border-secondary text-secondary' },\n { variant: 'outline', color: 'muted', className: 'border-muted text-muted' },\n { variant: 'outline', color: 'accent', className: 'border-accent text-accent' },\n { variant: 'outline', color: 'info', className: 'border-info text-info' },\n { variant: 'outline', color: 'success', className: 'border-success text-success' },\n { variant: 'outline', color: 'warning', className: 'border-warning text-warning' },\n { variant: 'outline', color: 'danger', className: 'border-danger text-danger' },\n ],\n }\n);\n\n/**\n * Props for the `Badge` component.\n *\n * @property variant - Visual fill style — `'solid'` (filled, default), `'soft'` (tinted background), or `'outline'` (border only).\n * @property color - Semantic color token — `'primary'` | `'secondary'` | `'muted'` | `'accent'` | `'info'` | `'success'` | `'warning'` | `'danger'`. Defaults to `'primary'`.\n * @property size - Badge size — `'xs'` | `'sm'` | `'md'` (default) | `'lg'` | `'xl'`.\n * @property pill - When `true` (default), renders with fully rounded corners (`rounded-full`); when `false`, uses `rounded-sm`.\n */\nexport type BadgeProps = VariantProps<typeof badgeVariants> & React.ComponentPropsWithoutRef<'span'>;\n\n/**\n * Inline status label rendered as a `<span>` with CVA-driven variant, color, size, and shape options.\n *\n * @example\n * ```tsx\n * import { Badge } from '@customafk/lunas-ui/ui/badge';\n *\n * <Badge variant=\"soft\" color=\"success\" size=\"sm\">Active</Badge>\n * <Badge variant=\"outline\" color=\"danger\">Overdue</Badge>\n * ```\n */\nfunction Badge({ className, variant, color, size, pill, ...props }: BadgeProps) {\n return <span className={cn(badgeVariants({ variant, color, pill, size }), className)} {...props} />;\n}\n\n// eslint-disable-next-line react-refresh/only-export-components\nexport { Badge, badgeVariants };\n"],"mappings":"6JAMA,MAAM,GAAA,EAAA,EAAA,KACJ,iLACA,CACE,SAAU,CACR,QAAS,CACP,MAAO,aACP,KAAM,GACN,QAAS,wBACV,CACD,MAAO,CACL,QAAS,GACT,UAAW,GACX,MAAO,GACP,OAAQ,GACR,KAAM,GACN,QAAS,GACT,QAAS,GACT,OAAQ,GACT,CACD,KAAM,CACJ,GAAI,oCACJ,GAAI,4BACJ,GAAI,gCACJ,GAAI,8BACJ,GAAI,8BACL,CACD,KAAM,CACJ,KAAM,eACN,MAAO,aACR,CACF,CACD,gBAAiB,CACf,QAAS,QACT,MAAO,UACP,KAAM,KACN,KAAM,GACP,CACD,iBAAkB,CAEhB,CAAE,QAAS,QAAS,MAAO,UAAW,UAAW,qCAAsC,CACvF,CAAE,QAAS,QAAS,MAAO,YAAa,UAAW,yCAA0C,CAC7F,CAAE,QAAS,QAAS,MAAO,QAAS,UAAW,8BAA+B,CAC9E,CAAE,QAAS,QAAS,MAAO,SAAU,UAAW,+BAAgC,CAChF,CAAE,QAAS,QAAS,MAAO,OAAQ,UAAW,+BAAgC,CAC9E,CAAE,QAAS,QAAS,MAAO,UAAW,UAAW,qCAAsC,CACvF,CAAE,QAAS,QAAS,MAAO,UAAW,UAAW,qCAAsC,CACvF,CAAE,QAAS,QAAS,MAAO,SAAU,UAAW,mCAAoC,CAEpF,CAAE,QAAS,OAAQ,MAAO,UAAW,UAAW,4CAA6C,CAC7F,CAAE,QAAS,OAAQ,MAAO,YAAa,UAAW,gDAAiD,CACnG,CAAE,QAAS,OAAQ,MAAO,QAAS,UAAW,wCAAyC,CACvF,CAAE,QAAS,OAAQ,MAAO,SAAU,UAAW,0CAA2C,CAC1F,CAAE,QAAS,OAAQ,MAAO,OAAQ,UAAW,sCAAuC,CACpF,CAAE,QAAS,OAAQ,MAAO,UAAW,UAAW,4CAA6C,CAC7F,CAAE,QAAS,OAAQ,MAAO,UAAW,UAAW,4CAA6C,CAC7F,CAAE,QAAS,OAAQ,MAAO,SAAU,UAAW,0CAA2C,CAE1F,CAAE,QAAS,UAAW,MAAO,UAAW,UAAW,8BAA+B,CAClF,CAAE,QAAS,UAAW,MAAO,YAAa,UAAW,kCAAmC,CACxF,CAAE,QAAS,UAAW,MAAO,QAAS,UAAW,0BAA2B,CAC5E,CAAE,QAAS,UAAW,MAAO,SAAU,UAAW,4BAA6B,CAC/E,CAAE,QAAS,UAAW,MAAO,OAAQ,UAAW,wBAAyB,CACzE,CAAE,QAAS,UAAW,MAAO,UAAW,UAAW,8BAA+B,CAClF,CAAE,QAAS,UAAW,MAAO,UAAW,UAAW,8BAA+B,CAClF,CAAE,QAAS,UAAW,MAAO,SAAU,UAAW,4BAA6B,CAChF,CACF,CACF,CAuBD,SAAS,EAAM,CAAE,YAAW,UAAS,QAAO,OAAM,OAAM,GAAG,GAAqB,CAC9E,OAAO,EAAA,EAAA,KAAC,OAAA,CAAK,WAAA,EAAA,EAAA,IAAc,EAAc,CAAE,UAAS,QAAO,OAAM,OAAM,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS"}
|
package/dist/badge-CG6dbI29.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{cn as e}from"@customafk/react-toolkit/utils";import{cva as t}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";const r=t(`inline-flex items-center justify-center font-medium transition-colors duration-150 focus:ring-2 focus:ring-offset-2 focus:outline-hidden focus:ring-ring forced-colors:outline`,{variants:{variant:{solid:`shadow-btn`,soft:``,outline:`bg-transparent border`},color:{primary:``,secondary:``,muted:``,accent:``,info:``,success:``,warning:``,danger:``},size:{xs:`text-[10px]/3 px-1.5 py-0.5 gap-1`,sm:`text-xs px-2 py-0.5 gap-1`,md:`text-sm px-2.5 py-0.5 gap-1.5`,lg:`text-base px-3 py-1 gap-1.5`,xl:`text-lg px-3.5 py-1 gap-1.5`},pill:{true:`rounded-full`,false:`rounded-sm`}},defaultVariants:{variant:`solid`,color:`primary`,size:`md`,pill:!0},compoundVariants:[{variant:`solid`,color:`primary`,className:`bg-primary text-primary-foreground`},{variant:`solid`,color:`secondary`,className:`bg-secondary text-secondary-foreground`},{variant:`solid`,color:`muted`,className:`bg-muted text-text-negative`},{variant:`solid`,color:`accent`,className:`bg-accent text-text-negative`},{variant:`solid`,color:`info`,className:`bg-info text-info-foreground`},{variant:`solid`,color:`success`,className:`bg-success text-success-foreground`},{variant:`solid`,color:`warning`,className:`bg-warning text-warning-foreground`},{variant:`solid`,color:`danger`,className:`bg-danger text-danger-foreground`},{variant:`soft`,color:`primary`,className:`bg-primary-bg-subtle text-primary-intense`},{variant:`soft`,color:`secondary`,className:`bg-secondary-bg-subtle text-secondary-intense`},{variant:`soft`,color:`muted`,className:`bg-muted-bg-subtle text-muted-intense`},{variant:`soft`,color:`accent`,className:`bg-accent-bg-subtle text-accent-intense`},{variant:`soft`,color:`info`,className:`bg-info-bg-subtle text-info-intense`},{variant:`soft`,color:`success`,className:`bg-success-bg-subtle text-success-intense`},{variant:`soft`,color:`warning`,className:`bg-warning-bg-subtle text-warning-intense`},{variant:`soft`,color:`danger`,className:`bg-danger-bg-subtle text-danger-intense`},{variant:`outline`,color:`primary`,className:`border-primary text-primary`},{variant:`outline`,color:`secondary`,className:`border-secondary text-secondary`},{variant:`outline`,color:`muted`,className:`border-muted text-muted`},{variant:`outline`,color:`accent`,className:`border-accent text-accent`},{variant:`outline`,color:`info`,className:`border-info text-info`},{variant:`outline`,color:`success`,className:`border-success text-success`},{variant:`outline`,color:`warning`,className:`border-warning text-warning`},{variant:`outline`,color:`danger`,className:`border-danger text-danger`}]});function i({className:t,variant:i,color:a,size:o,pill:s,...c}){return n(`span`,{className:e(r({variant:i,color:a,pill:s,size:o}),t),...c})}export{r as n,i as t};
|
|
2
|
-
//# sourceMappingURL=badge-CG6dbI29.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"badge-CG6dbI29.mjs","names":[],"sources":["../packages/components/ui/badge.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst badgeVariants = cva(\n 'inline-flex items-center justify-center font-medium transition-colors duration-150 focus:ring-2 focus:ring-offset-2 focus:outline-hidden focus:ring-ring forced-colors:outline',\n {\n variants: {\n variant: {\n solid: 'shadow-btn',\n soft: '',\n outline: 'bg-transparent border',\n },\n color: {\n primary: '',\n secondary: '',\n muted: '',\n accent: '',\n info: '',\n success: '',\n warning: '',\n danger: '',\n },\n size: {\n xs: 'text-[10px]/3 px-1.5 py-0.5 gap-1',\n sm: 'text-xs px-2 py-0.5 gap-1',\n md: 'text-sm px-2.5 py-0.5 gap-1.5',\n lg: 'text-base px-3 py-1 gap-1.5',\n xl: 'text-lg px-3.5 py-1 gap-1.5',\n },\n pill: {\n true: 'rounded-full',\n false: 'rounded-sm',\n },\n },\n defaultVariants: {\n variant: 'solid',\n color: 'primary',\n size: 'md',\n pill: true,\n },\n compoundVariants: [\n // solid\n { variant: 'solid', color: 'primary', className: 'bg-primary text-primary-foreground' },\n { variant: 'solid', color: 'secondary', className: 'bg-secondary text-secondary-foreground' },\n { variant: 'solid', color: 'muted', className: 'bg-muted text-text-negative' },\n { variant: 'solid', color: 'accent', className: 'bg-accent text-text-negative' },\n { variant: 'solid', color: 'info', className: 'bg-info text-info-foreground' },\n { variant: 'solid', color: 'success', className: 'bg-success text-success-foreground' },\n { variant: 'solid', color: 'warning', className: 'bg-warning text-warning-foreground' },\n { variant: 'solid', color: 'danger', className: 'bg-danger text-danger-foreground' },\n // soft\n { variant: 'soft', color: 'primary', className: 'bg-primary-bg-subtle text-primary-intense' },\n { variant: 'soft', color: 'secondary', className: 'bg-secondary-bg-subtle text-secondary-intense' },\n { variant: 'soft', color: 'muted', className: 'bg-muted-bg-subtle text-muted-intense' },\n { variant: 'soft', color: 'accent', className: 'bg-accent-bg-subtle text-accent-intense' },\n { variant: 'soft', color: 'info', className: 'bg-info-bg-subtle text-info-intense' },\n { variant: 'soft', color: 'success', className: 'bg-success-bg-subtle text-success-intense' },\n { variant: 'soft', color: 'warning', className: 'bg-warning-bg-subtle text-warning-intense' },\n { variant: 'soft', color: 'danger', className: 'bg-danger-bg-subtle text-danger-intense' },\n // outline\n { variant: 'outline', color: 'primary', className: 'border-primary text-primary' },\n { variant: 'outline', color: 'secondary', className: 'border-secondary text-secondary' },\n { variant: 'outline', color: 'muted', className: 'border-muted text-muted' },\n { variant: 'outline', color: 'accent', className: 'border-accent text-accent' },\n { variant: 'outline', color: 'info', className: 'border-info text-info' },\n { variant: 'outline', color: 'success', className: 'border-success text-success' },\n { variant: 'outline', color: 'warning', className: 'border-warning text-warning' },\n { variant: 'outline', color: 'danger', className: 'border-danger text-danger' },\n ],\n }\n);\n\n/**\n * Props for the `Badge` component.\n *\n * @property variant - Visual fill style — `'solid'` (filled, default), `'soft'` (tinted background), or `'outline'` (border only).\n * @property color - Semantic color token — `'primary'` | `'secondary'` | `'muted'` | `'accent'` | `'info'` | `'success'` | `'warning'` | `'danger'`. Defaults to `'primary'`.\n * @property size - Badge size — `'xs'` | `'sm'` | `'md'` (default) | `'lg'` | `'xl'`.\n * @property pill - When `true` (default), renders with fully rounded corners (`rounded-full`); when `false`, uses `rounded-sm`.\n */\nexport type BadgeProps = VariantProps<typeof badgeVariants> & React.ComponentPropsWithoutRef<'span'>;\n\n/**\n * Inline status label rendered as a `<span>` with CVA-driven variant, color, size, and shape options.\n *\n * @example\n * ```tsx\n * import { Badge } from '@customafk/lunas-ui/ui/badge';\n *\n * <Badge variant=\"soft\" color=\"success\" size=\"sm\">Active</Badge>\n * <Badge variant=\"outline\" color=\"danger\">Overdue</Badge>\n * ```\n */\nfunction Badge({ className, variant, color, size, pill, ...props }: BadgeProps) {\n return <span className={cn(badgeVariants({ variant, color, pill, size }), className)} {...props} />;\n}\n\n// eslint-disable-next-line react-refresh/only-export-components\nexport { Badge, badgeVariants };\n"],"mappings":"2IAMA,MAAM,EAAgB,EACpB,iLACA,CACE,SAAU,CACR,QAAS,CACP,MAAO,aACP,KAAM,GACN,QAAS,wBACV,CACD,MAAO,CACL,QAAS,GACT,UAAW,GACX,MAAO,GACP,OAAQ,GACR,KAAM,GACN,QAAS,GACT,QAAS,GACT,OAAQ,GACT,CACD,KAAM,CACJ,GAAI,oCACJ,GAAI,4BACJ,GAAI,gCACJ,GAAI,8BACJ,GAAI,8BACL,CACD,KAAM,CACJ,KAAM,eACN,MAAO,aACR,CACF,CACD,gBAAiB,CACf,QAAS,QACT,MAAO,UACP,KAAM,KACN,KAAM,GACP,CACD,iBAAkB,CAEhB,CAAE,QAAS,QAAS,MAAO,UAAW,UAAW,qCAAsC,CACvF,CAAE,QAAS,QAAS,MAAO,YAAa,UAAW,yCAA0C,CAC7F,CAAE,QAAS,QAAS,MAAO,QAAS,UAAW,8BAA+B,CAC9E,CAAE,QAAS,QAAS,MAAO,SAAU,UAAW,+BAAgC,CAChF,CAAE,QAAS,QAAS,MAAO,OAAQ,UAAW,+BAAgC,CAC9E,CAAE,QAAS,QAAS,MAAO,UAAW,UAAW,qCAAsC,CACvF,CAAE,QAAS,QAAS,MAAO,UAAW,UAAW,qCAAsC,CACvF,CAAE,QAAS,QAAS,MAAO,SAAU,UAAW,mCAAoC,CAEpF,CAAE,QAAS,OAAQ,MAAO,UAAW,UAAW,4CAA6C,CAC7F,CAAE,QAAS,OAAQ,MAAO,YAAa,UAAW,gDAAiD,CACnG,CAAE,QAAS,OAAQ,MAAO,QAAS,UAAW,wCAAyC,CACvF,CAAE,QAAS,OAAQ,MAAO,SAAU,UAAW,0CAA2C,CAC1F,CAAE,QAAS,OAAQ,MAAO,OAAQ,UAAW,sCAAuC,CACpF,CAAE,QAAS,OAAQ,MAAO,UAAW,UAAW,4CAA6C,CAC7F,CAAE,QAAS,OAAQ,MAAO,UAAW,UAAW,4CAA6C,CAC7F,CAAE,QAAS,OAAQ,MAAO,SAAU,UAAW,0CAA2C,CAE1F,CAAE,QAAS,UAAW,MAAO,UAAW,UAAW,8BAA+B,CAClF,CAAE,QAAS,UAAW,MAAO,YAAa,UAAW,kCAAmC,CACxF,CAAE,QAAS,UAAW,MAAO,QAAS,UAAW,0BAA2B,CAC5E,CAAE,QAAS,UAAW,MAAO,SAAU,UAAW,4BAA6B,CAC/E,CAAE,QAAS,UAAW,MAAO,OAAQ,UAAW,wBAAyB,CACzE,CAAE,QAAS,UAAW,MAAO,UAAW,UAAW,8BAA+B,CAClF,CAAE,QAAS,UAAW,MAAO,UAAW,UAAW,8BAA+B,CAClF,CAAE,QAAS,UAAW,MAAO,SAAU,UAAW,4BAA6B,CAChF,CACF,CACF,CAuBD,SAAS,EAAM,CAAE,YAAW,UAAS,QAAO,OAAM,OAAM,GAAG,GAAqB,CAC9E,OAAO,EAAC,OAAA,CAAK,UAAW,EAAG,EAAc,CAAE,UAAS,QAAO,OAAM,OAAM,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import * as react56 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'>): react56.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'>): react56.JSX.Element;
|
|
37
|
-
/** Individual `<li>` item wrapper inside a BreadcrumbList. */
|
|
38
|
-
declare function BreadcrumbItem({
|
|
39
|
-
className,
|
|
40
|
-
...props
|
|
41
|
-
}: React.ComponentProps<'li'>): react56.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
|
-
}): react56.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'>): react56.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'>): react56.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'>): react56.JSX.Element;
|
|
70
|
-
//#endregion
|
|
71
|
-
export { BreadcrumbList as a, BreadcrumbLink as i, BreadcrumbEllipsis as n, BreadcrumbPage as o, BreadcrumbItem as r, BreadcrumbSeparator as s, Breadcrumb as t };
|
|
72
|
-
//# sourceMappingURL=breadcrumb-BhUXmEGd.d.cts.map
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import * as react163 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'>): react163.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'>): react163.JSX.Element;
|
|
37
|
-
/** Individual `<li>` item wrapper inside a BreadcrumbList. */
|
|
38
|
-
declare function BreadcrumbItem({
|
|
39
|
-
className,
|
|
40
|
-
...props
|
|
41
|
-
}: React.ComponentProps<'li'>): react163.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
|
-
}): react163.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'>): react163.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'>): react163.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'>): react163.JSX.Element;
|
|
70
|
-
//#endregion
|
|
71
|
-
export { BreadcrumbList as a, BreadcrumbLink as i, BreadcrumbEllipsis as n, BreadcrumbPage as o, BreadcrumbItem as r, BreadcrumbSeparator as s, Breadcrumb as t };
|
|
72
|
-
//# sourceMappingURL=breadcrumb-D5EVqGzZ.d.mts.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-350yNsax.cjs`),t=require(`./dist-Cx5ufCdr.cjs`);let n=require(`lucide-react`),r=require(`@customafk/react-toolkit/utils`),i=require(`react/jsx-runtime`);function a({className:e,...t}){return(0,i.jsx)(`nav`,{"aria-label":`breadcrumb`,"data-slot":`breadcrumb`,className:(0,r.cn)(``,e),...t})}function o({className:e,...t}){return(0,i.jsx)(`ol`,{"data-slot":`breadcrumb-list`,className:(0,r.cn)(`flex flex-wrap items-center gap-1.5 sm:gap-2.5`,`text-sm break-words`,`text-text-positive-weak`,e),...t})}function s({className:e,...t}){return(0,i.jsx)(`li`,{"data-slot":`breadcrumb-item`,className:(0,r.cn)(`inline-flex items-center gap-1.5`,e),...t})}function c({asChild:e,className:n,...a}){return(0,i.jsx)(e?t.t:`a`,{"data-slot":`breadcrumb-link`,className:(0,r.cn)(`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 l({className:e,...t}){return(0,i.jsx)(`span`,{"data-slot":`breadcrumb-page`,"aria-current":`page`,className:(0,r.cn)(`text-text-positive-strong font-medium`,e),...t})}function u({children:e,className:t,...a}){return(0,i.jsx)(`li`,{"data-slot":`breadcrumb-separator`,role:`presentation`,"aria-hidden":`true`,className:(0,r.cn)(`text-text-positive-muted`,`[&>svg]:size-3.5`,t),...a,children:e??(0,i.jsx)(n.ChevronRight,{})})}function d({className:e,...t}){return(0,i.jsxs)(`button`,{"data-slot":`breadcrumb-ellipsis`,type:`button`,className:(0,r.cn)(`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:[(0,i.jsx)(n.MoreHorizontal,{className:`size-4`}),(0,i.jsx)(`span`,{className:`sr-only`,children:`Show more breadcrumbs`})]})}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
|
2
|
-
//# sourceMappingURL=breadcrumb-DgCIacvh.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb-DgCIacvh.cjs","names":["Slot","ChevronRight","MoreHorizontal"],"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":"kLA+BA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,aAAW,aAAa,YAAU,aAAa,WAAA,EAAA,EAAA,IAAc,GAAI,EAAU,CAAE,GAAI,GAAS,CAIxG,SAAS,EAAe,CAAE,YAAW,GAAG,GAAqC,CAC3E,OACE,EAAA,EAAA,KAAC,KAAA,CACC,YAAU,kBACV,WAAA,EAAA,EAAA,IAAc,iDAAkD,sBAAuB,0BAA2B,EAAU,CAC5H,GAAI,GACJ,CAKN,SAAS,EAAe,CAAE,YAAW,GAAG,GAAqC,CAC3E,OAAO,EAAA,EAAA,KAAC,KAAA,CAAG,YAAU,kBAAkB,WAAA,EAAA,EAAA,IAAc,mCAAoC,EAAU,CAAE,GAAI,GAAS,CAQpH,SAAS,EAAe,CACtB,UACA,YACA,GAAG,GAGF,CAGD,OACE,EAAA,EAAA,KAHW,EAAUA,EAAAA,EAAO,IAAA,CAI1B,YAAU,kBACV,WAAA,EAAA,EAAA,IACE,0BACA,iCACA,4DACA,8FACA,aACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAe,CAAE,YAAW,GAAG,GAAuC,CAC7E,OAAO,EAAA,EAAA,KAAC,OAAA,CAAK,YAAU,kBAAkB,eAAa,OAAO,WAAA,EAAA,EAAA,IAAc,wCAAyC,EAAU,CAAE,GAAI,GAAS,CAI/I,SAAS,EAAoB,CAAE,WAAU,YAAW,GAAG,GAAqC,CAC1F,OACE,EAAA,EAAA,KAAC,KAAA,CACC,YAAU,uBACV,KAAK,eACL,cAAY,OACZ,WAAA,EAAA,EAAA,IAAc,2BAA4B,mBAAoB,EAAU,CACxE,GAAI,WAEH,IAAY,EAAA,EAAA,KAACC,EAAAA,aAAAA,EAAAA,CAAe,EAC1B,CAKT,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAyC,CACnF,OACE,EAAA,EAAA,MAAC,SAAA,CACC,YAAU,sBACV,KAAK,SACL,WAAA,EAAA,EAAA,IACE,mCACA,oBACA,0BACA,oDACA,8FACA,iCACA,EACD,CACD,GAAI,aAEJ,EAAA,EAAA,KAACC,EAAAA,eAAAA,CAAe,UAAU,SAAA,CAAW,EACrC,EAAA,EAAA,KAAC,OAAA,CAAK,UAAU,mBAAU,yBAA4B,CAAA,EAC/C"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./dist-DVrfqn8H.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{s as a,l as i,f as n,u as o,c as r,d as s,o as t};
|
|
2
|
-
//# sourceMappingURL=breadcrumb-RCZAaQ1l.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb-RCZAaQ1l.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":"8MA+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"}
|
package/dist/button-C--DAN1D.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-350yNsax.cjs`),t=require(`./dist-Cx5ufCdr.cjs`),n=require(`./button.variants-4kw6plrv.cjs`);let r=require(`lucide-react`),i=require(`@customafk/react-toolkit/utils`),a=require(`react/jsx-runtime`);function o({className:e,variant:o,size:s=`default`,color:c,asChild:l=!1,isLoading:u=!1,children:d,disabled:f,type:p=`button`,innerClassName:m,...h}){let g=l?t.t:`button`,_=f||u;return(0,a.jsxs)(g,{...l?void 0:{type:p,disabled:_},"data-slot":`button`,"data-state":u?`loading`:void 0,"aria-disabled":_?!0:void 0,"aria-busy":u?!0:void 0,className:(0,i.cn)(n.n({variant:o,size:s,color:c,className:e})),...h,children:[u&&(0,a.jsxs)(`div`,{className:n.t({variant:o,color:c}),children:[(0,a.jsx)(r.Loader2Icon,{size:16,className:`animate-spin`}),(0,a.jsx)(`span`,{className:`sr-only`,children:`Loading`})]}),l?(0,a.jsx)(t.n,{children:d}):(0,a.jsx)(`div`,{className:(0,i.cn)(`inline-flex items-center justify-center gap-x-1`,u&&`invisible pointer-events-none`,m),children:d})]})}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
|
|
2
|
-
//# sourceMappingURL=button-C--DAN1D.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-C--DAN1D.cjs","names":["Slot","buttonVariants","buttonLoadingVariant","Loader2Icon","Slottable"],"sources":["../packages/components/ui/button.tsx"],"sourcesContent":["'use client';\n\nimport { Loader2Icon } from 'lucide-react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport { cn } from '@customafk/react-toolkit/utils';\nimport { type ButtonVariantProps, buttonLoadingVariant, buttonVariants } from './button.variants';\n\n/**\n * Props for the {@link Button} component.\n *\n * Extends all native `<button>` attributes except `color`, which is\n * re-declared as a semantic design-token via {@link ButtonVariantProps}.\n *\n * @see {@link https://www.radix-ui.com/primitives/docs/utilities/slot} Radix Slot (asChild pattern)\n */\nexport interface ButtonProps extends Omit<React.ComponentProps<'button'>, 'color'> {\n /**\n * When `true`, renders children through Radix's `<Slot>` primitive,\n * merging all button props directly onto the child element.\n *\n * Use this to swap the rendered HTML element while keeping button styling\n * (e.g. render a Next.js `<Link>` that looks like a button).\n *\n * @default false\n * @example\n * ```tsx\n * <Button asChild variant=\"ghost\">\n * <Link href=\"/dashboard\">Go to Dashboard</Link>\n * </Button>\n * ```\n */\n asChild?: boolean;\n\n /**\n * When `true`, shows an animated `Loader2` spinner overlay and sets\n * `aria-busy=\"true\"`. The button is implicitly disabled while loading —\n * no separate `disabled` prop is needed for loading states.\n *\n * @default false\n */\n isLoading?: boolean;\n\n /**\n * Visual style variant of the button.\n *\n * | Value | Description |\n * |---|---|\n * | `\"default\"` | Filled surface — primary call-to-action (default) |\n * | `\"outline\"` | Transparent background with a visible border |\n * | `\"ghost\"` | No background or border — minimal footprint |\n * | `\"link\"` | Styled as an underlined hyperlink |\n * | `\"icon\"` | Square, padding-free — icon-only buttons |\n * | `\"destructive\"` | Red-toned filled surface for danger actions |\n *\n * @default \"default\"\n */\n variant?: ButtonVariantProps['variant'];\n\n /**\n * Semantic color token applied to the button's surface and text.\n *\n * | Value | Usage |\n * |---|---|\n * | `\"primary\"` | Brand primary (default) |\n * | `\"success\"` | Confirmation / save actions |\n * | `\"danger\"` | Destructive / delete actions |\n * | `\"warning\"` | Cautionary / irreversible actions |\n * | `\"muted\"` | Secondary / low-emphasis actions |\n *\n * @default \"primary\"\n */\n color?: ButtonVariantProps['color'];\n\n /**\n * Controls height, horizontal padding, and font size.\n *\n * | Value | Height |\n * |---|---|\n * | `\"sm\"` | 32 px |\n * | `\"default\"` | 36 px |\n * | `\"lg\"` | 40 px |\n * | `\"icon\"` | 36 × 36 px (square) |\n *\n * @default \"default\"\n */\n size?: ButtonVariantProps['size'];\n\n /**\n * Additional class names applied to the inner `<div>` that wraps `children`.\n * Use this to style the children's flex container without overriding the\n * button's outer layout or focus-ring classes.\n */\n innerClassName?: string;\n}\n\n/**\n * Primary interactive button component for `@customafk/lunas-ui`.\n *\n * Built on Radix UI's `<Slot>` primitive. Supports multiple visual variants,\n * semantic color tokens, a built-in loading state with full accessibility\n * attributes, and polymorphic rendering via `asChild`. All native `<button>`\n * attributes are forwarded to the underlying element.\n *\n * **Import:** `import { Button } from '@customafk/lunas-ui/ui/button'`\n *\n * @example Basic usage\n * ```tsx\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * export function SaveAction() {\n * return <Button color=\"primary\">Save changes</Button>;\n * }\n * ```\n *\n * @example Async loading state\n * ```tsx\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * export function SubmitButton({ isPending }: { isPending: boolean }) {\n * return (\n * <Button type=\"submit\" isLoading={isPending}>\n * Submit\n * </Button>\n * );\n * }\n * ```\n *\n * @example Destructive outline button\n * ```tsx\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * export function DeleteButton({ onDelete }: { onDelete: () => void }) {\n * return (\n * <Button variant=\"outline\" color=\"danger\" onClick={onDelete}>\n * Delete account\n * </Button>\n * );\n * }\n * ```\n *\n * @example Polymorphic — render as Next.js Link\n * ```tsx\n * import { Button } from '@customafk/lunas-ui/ui/button';\n * import Link from 'next/link';\n *\n * export function NavLink() {\n * return (\n * <Button asChild variant=\"ghost\" size=\"sm\">\n * <Link href=\"/settings\">Settings</Link>\n * </Button>\n * );\n * }\n * ```\n */\nfunction Button({\n className,\n variant,\n size = 'default',\n color,\n asChild = false,\n isLoading = false,\n children,\n disabled,\n type = 'button',\n innerClassName,\n ...props\n}: ButtonProps) {\n const Comp = asChild ? Slot : 'button';\n const isDisabled = disabled || isLoading;\n\n return (\n <Comp\n {...(!asChild ? { type, disabled: isDisabled } : undefined)}\n data-slot=\"button\"\n data-state={isLoading ? 'loading' : undefined}\n aria-disabled={isDisabled ? true : undefined}\n aria-busy={isLoading ? true : undefined}\n className={cn(\n buttonVariants({\n variant,\n size,\n color,\n className,\n })\n )}\n {...props}\n >\n {isLoading && (\n <div className={buttonLoadingVariant({ variant, color })}>\n <Loader2Icon size={16} className=\"animate-spin\" />\n <span className=\"sr-only\">Loading</span>\n </div>\n )}\n {asChild ? (\n <Slottable>{children}</Slottable>\n ) : (\n <div className={cn('inline-flex items-center justify-center gap-x-1', isLoading && 'invisible pointer-events-none', innerClassName)}>{children}</div>\n )}\n </Comp>\n );\n}\n\nexport { Button };\n"],"mappings":"8NA0JA,SAAS,EAAO,CACd,YACA,UACA,OAAO,UACP,QACA,UAAU,GACV,YAAY,GACZ,WACA,WACA,OAAO,SACP,iBACA,GAAG,GACW,CACd,IAAM,EAAO,EAAUA,EAAAA,EAAO,SACxB,EAAa,GAAY,EAE/B,OACE,EAAA,EAAA,MAAC,EAAA,CACC,GAAM,EAA2C,IAAA,GAAjC,CAAE,OAAM,SAAU,EAAY,CAC9C,YAAU,SACV,aAAY,EAAY,UAAY,IAAA,GACpC,gBAAe,EAAa,GAAO,IAAA,GACnC,YAAW,EAAY,GAAO,IAAA,GAC9B,WAAA,EAAA,EAAA,IACEC,EAAAA,EAAe,CACb,UACA,OACA,QACA,YACD,CAAC,CACH,CACD,GAAI,YAEH,IACC,EAAA,EAAA,MAAC,MAAA,CAAI,UAAWC,EAAAA,EAAqB,CAAE,UAAS,QAAO,CAAC,YACtD,EAAA,EAAA,KAACC,EAAAA,YAAAA,CAAY,KAAM,GAAI,UAAU,gBAAiB,EAClD,EAAA,EAAA,KAAC,OAAA,CAAK,UAAU,mBAAU,WAAc,CAAA,EACpC,CAEP,GACC,EAAA,EAAA,KAACC,EAAAA,EAAAA,CAAW,WAAA,CAAqB,EAEjC,EAAA,EAAA,KAAC,MAAA,CAAI,WAAA,EAAA,EAAA,IAAc,kDAAmD,GAAa,gCAAiC,EAAe,CAAG,YAAe,CAAA,EAElJ"}
|
package/dist/button-CCVJTHBI.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{n as e,t}from"./dist-DVrfqn8H.mjs";import{n,t as r}from"./button.variants-DkMqWB8G.mjs";import{Loader2Icon as i}from"lucide-react";import{cn as a}from"@customafk/react-toolkit/utils";import{jsx as o,jsxs as s}from"react/jsx-runtime";function c({className:c,variant:l,size:u=`default`,color:d,asChild:f=!1,isLoading:p=!1,children:m,disabled:h,type:g=`button`,innerClassName:_,...v}){let y=f?t:`button`,b=h||p;return s(y,{...f?void 0:{type:g,disabled:b},"data-slot":`button`,"data-state":p?`loading`:void 0,"aria-disabled":b?!0:void 0,"aria-busy":p?!0:void 0,className:a(n({variant:l,size:u,color:d,className:c})),...v,children:[p&&s(`div`,{className:r({variant:l,color:d}),children:[o(i,{size:16,className:`animate-spin`}),o(`span`,{className:`sr-only`,children:`Loading`})]}),f?o(e,{children:m}):o(`div`,{className:a(`inline-flex items-center justify-center gap-x-1`,p&&`invisible pointer-events-none`,_),children:m})]})}export{c as t};
|
|
2
|
-
//# sourceMappingURL=button-CCVJTHBI.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-CCVJTHBI.mjs","names":[],"sources":["../packages/components/ui/button.tsx"],"sourcesContent":["'use client';\n\nimport { Loader2Icon } from 'lucide-react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport { cn } from '@customafk/react-toolkit/utils';\nimport { type ButtonVariantProps, buttonLoadingVariant, buttonVariants } from './button.variants';\n\n/**\n * Props for the {@link Button} component.\n *\n * Extends all native `<button>` attributes except `color`, which is\n * re-declared as a semantic design-token via {@link ButtonVariantProps}.\n *\n * @see {@link https://www.radix-ui.com/primitives/docs/utilities/slot} Radix Slot (asChild pattern)\n */\nexport interface ButtonProps extends Omit<React.ComponentProps<'button'>, 'color'> {\n /**\n * When `true`, renders children through Radix's `<Slot>` primitive,\n * merging all button props directly onto the child element.\n *\n * Use this to swap the rendered HTML element while keeping button styling\n * (e.g. render a Next.js `<Link>` that looks like a button).\n *\n * @default false\n * @example\n * ```tsx\n * <Button asChild variant=\"ghost\">\n * <Link href=\"/dashboard\">Go to Dashboard</Link>\n * </Button>\n * ```\n */\n asChild?: boolean;\n\n /**\n * When `true`, shows an animated `Loader2` spinner overlay and sets\n * `aria-busy=\"true\"`. The button is implicitly disabled while loading —\n * no separate `disabled` prop is needed for loading states.\n *\n * @default false\n */\n isLoading?: boolean;\n\n /**\n * Visual style variant of the button.\n *\n * | Value | Description |\n * |---|---|\n * | `\"default\"` | Filled surface — primary call-to-action (default) |\n * | `\"outline\"` | Transparent background with a visible border |\n * | `\"ghost\"` | No background or border — minimal footprint |\n * | `\"link\"` | Styled as an underlined hyperlink |\n * | `\"icon\"` | Square, padding-free — icon-only buttons |\n * | `\"destructive\"` | Red-toned filled surface for danger actions |\n *\n * @default \"default\"\n */\n variant?: ButtonVariantProps['variant'];\n\n /**\n * Semantic color token applied to the button's surface and text.\n *\n * | Value | Usage |\n * |---|---|\n * | `\"primary\"` | Brand primary (default) |\n * | `\"success\"` | Confirmation / save actions |\n * | `\"danger\"` | Destructive / delete actions |\n * | `\"warning\"` | Cautionary / irreversible actions |\n * | `\"muted\"` | Secondary / low-emphasis actions |\n *\n * @default \"primary\"\n */\n color?: ButtonVariantProps['color'];\n\n /**\n * Controls height, horizontal padding, and font size.\n *\n * | Value | Height |\n * |---|---|\n * | `\"sm\"` | 32 px |\n * | `\"default\"` | 36 px |\n * | `\"lg\"` | 40 px |\n * | `\"icon\"` | 36 × 36 px (square) |\n *\n * @default \"default\"\n */\n size?: ButtonVariantProps['size'];\n\n /**\n * Additional class names applied to the inner `<div>` that wraps `children`.\n * Use this to style the children's flex container without overriding the\n * button's outer layout or focus-ring classes.\n */\n innerClassName?: string;\n}\n\n/**\n * Primary interactive button component for `@customafk/lunas-ui`.\n *\n * Built on Radix UI's `<Slot>` primitive. Supports multiple visual variants,\n * semantic color tokens, a built-in loading state with full accessibility\n * attributes, and polymorphic rendering via `asChild`. All native `<button>`\n * attributes are forwarded to the underlying element.\n *\n * **Import:** `import { Button } from '@customafk/lunas-ui/ui/button'`\n *\n * @example Basic usage\n * ```tsx\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * export function SaveAction() {\n * return <Button color=\"primary\">Save changes</Button>;\n * }\n * ```\n *\n * @example Async loading state\n * ```tsx\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * export function SubmitButton({ isPending }: { isPending: boolean }) {\n * return (\n * <Button type=\"submit\" isLoading={isPending}>\n * Submit\n * </Button>\n * );\n * }\n * ```\n *\n * @example Destructive outline button\n * ```tsx\n * import { Button } from '@customafk/lunas-ui/ui/button';\n *\n * export function DeleteButton({ onDelete }: { onDelete: () => void }) {\n * return (\n * <Button variant=\"outline\" color=\"danger\" onClick={onDelete}>\n * Delete account\n * </Button>\n * );\n * }\n * ```\n *\n * @example Polymorphic — render as Next.js Link\n * ```tsx\n * import { Button } from '@customafk/lunas-ui/ui/button';\n * import Link from 'next/link';\n *\n * export function NavLink() {\n * return (\n * <Button asChild variant=\"ghost\" size=\"sm\">\n * <Link href=\"/settings\">Settings</Link>\n * </Button>\n * );\n * }\n * ```\n */\nfunction Button({\n className,\n variant,\n size = 'default',\n color,\n asChild = false,\n isLoading = false,\n children,\n disabled,\n type = 'button',\n innerClassName,\n ...props\n}: ButtonProps) {\n const Comp = asChild ? Slot : 'button';\n const isDisabled = disabled || isLoading;\n\n return (\n <Comp\n {...(!asChild ? { type, disabled: isDisabled } : undefined)}\n data-slot=\"button\"\n data-state={isLoading ? 'loading' : undefined}\n aria-disabled={isDisabled ? true : undefined}\n aria-busy={isLoading ? true : undefined}\n className={cn(\n buttonVariants({\n variant,\n size,\n color,\n className,\n })\n )}\n {...props}\n >\n {isLoading && (\n <div className={buttonLoadingVariant({ variant, color })}>\n <Loader2Icon size={16} className=\"animate-spin\" />\n <span className=\"sr-only\">Loading</span>\n </div>\n )}\n {asChild ? (\n <Slottable>{children}</Slottable>\n ) : (\n <div className={cn('inline-flex items-center justify-center gap-x-1', isLoading && 'invisible pointer-events-none', innerClassName)}>{children}</div>\n )}\n </Comp>\n );\n}\n\nexport { Button };\n"],"mappings":"gPA0JA,SAAS,EAAO,CACd,YACA,UACA,OAAO,UACP,QACA,UAAU,GACV,YAAY,GACZ,WACA,WACA,OAAO,SACP,iBACA,GAAG,GACW,CACd,IAAM,EAAO,EAAU,EAAO,SACxB,EAAa,GAAY,EAE/B,OACE,EAAC,EAAA,CACC,GAAM,EAA2C,IAAA,GAAjC,CAAE,OAAM,SAAU,EAAY,CAC9C,YAAU,SACV,aAAY,EAAY,UAAY,IAAA,GACpC,gBAAe,EAAa,GAAO,IAAA,GACnC,YAAW,EAAY,GAAO,IAAA,GAC9B,UAAW,EACT,EAAe,CACb,UACA,OACA,QACA,YACD,CAAC,CACH,CACD,GAAI,YAEH,GACC,EAAC,MAAA,CAAI,UAAW,EAAqB,CAAE,UAAS,QAAO,CAAC,WACtD,EAAC,EAAA,CAAY,KAAM,GAAI,UAAU,gBAAiB,CAClD,EAAC,OAAA,CAAK,UAAU,mBAAU,WAAc,CAAA,EACpC,CAEP,EACC,EAAC,EAAA,CAAW,WAAA,CAAqB,CAEjC,EAAC,MAAA,CAAI,UAAW,EAAG,kDAAmD,GAAa,gCAAiC,EAAe,CAAG,YAAe,CAAA,EAElJ"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-350yNsax.cjs`),t=require(`./dist-Cx5ufCdr.cjs`),n=require(`./separator-BRoS5sU8.cjs`);let r=require(`@customafk/react-toolkit/utils`),i=require(`class-variance-authority`),a=require(`react/jsx-runtime`);const o=(0,i.cva)(`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 s({className:e,orientation:t,...n}){return(0,a.jsx)(`div`,{role:`group`,"data-slot":`button-group`,"data-orientation":t,className:(0,r.cn)(o({orientation:t}),e),...n})}function c({className:e,asChild:n=!1,...i}){return(0,a.jsx)(n?t.t:`div`,{className:(0,r.cn)(`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`,e),...i})}function l({className:e,orientation:t=`vertical`,...i}){return(0,a.jsx)(n.t,{"data-slot":`button-group-separator`,orientation:t,className:(0,r.cn)(`relative m-0! self-stretch bg-muted-muted data-[orientation=vertical]:h-auto`,e),...i})}Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
|
|
2
|
-
//# sourceMappingURL=button-group-4oHvYHtz.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-group-4oHvYHtz.cjs","names":["Slot","Separator"],"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":"oOAMA,MAAM,GAAA,EAAA,EAAA,KACJ,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,EAAA,EAAA,KAAC,MAAA,CAAI,KAAK,QAAQ,YAAU,eAAe,mBAAkB,EAAa,WAAA,EAAA,EAAA,IAAc,EAAoB,CAAE,cAAa,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS,CAS3J,SAAS,EAAgB,CACvB,YACA,UAAU,GACV,GAAG,GAGF,CAGD,OACE,EAAA,EAAA,KAHW,EAAUA,EAAAA,EAAO,MAAA,CAI1B,WAAA,EAAA,EAAA,IACE,uKACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAqB,CAAE,YAAW,cAAc,WAAY,GAAG,GAAiD,CACvH,OACE,EAAA,EAAA,KAACC,EAAAA,EAAAA,CACC,YAAU,yBACG,cACb,WAAA,EAAA,EAAA,IAAc,+EAAgF,EAAU,CACxG,GAAI,GACJ"}
|