@customafk/lunas-ui 0.2.5 → 0.2.7
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/README.md +39 -9
- package/ai-docs.md +419 -0
- package/dist/alert-CA1RS1CG.d.cts +88 -0
- package/dist/alert-DDL82_U3.d.mts +88 -0
- package/dist/alert-DIC1_ymv.cjs +2 -0
- package/dist/alert-DIC1_ymv.cjs.map +1 -0
- package/dist/alert-VP3giy31.mjs +2 -0
- package/dist/alert-VP3giy31.mjs.map +1 -0
- package/dist/avatar-CTS9-raY.cjs +2 -0
- package/dist/avatar-CTS9-raY.cjs.map +1 -0
- package/dist/avatar-DbxqvCjT.mjs +2 -0
- package/dist/avatar-DbxqvCjT.mjs.map +1 -0
- package/dist/badge-B8bw2UEY.mjs +2 -0
- package/dist/badge-B8bw2UEY.mjs.map +1 -0
- package/dist/badge-BFTGDsBm.d.cts +42 -0
- package/dist/badge-Cg0e-djv.d.mts +42 -0
- package/dist/badge-uQ0pIZbQ.cjs +2 -0
- package/dist/badge-uQ0pIZbQ.cjs.map +1 -0
- package/dist/button-Bn54lPVz.d.cts +174 -0
- package/dist/button-C6ybzxxj.mjs +2 -0
- package/dist/button-C6ybzxxj.mjs.map +1 -0
- package/dist/button-C76drZpd.d.mts +174 -0
- package/dist/{button-Cd7YtPlT.cjs → button-CwDT3m4m.cjs} +2 -2
- package/dist/button-CwDT3m4m.cjs.map +1 -0
- package/dist/button.variants-DeCyas1F.mjs +2 -0
- package/dist/button.variants-DeCyas1F.mjs.map +1 -0
- package/dist/button.variants-tnhb123u.cjs +2 -0
- package/dist/button.variants-tnhb123u.cjs.map +1 -0
- package/dist/calendar-CyAPpT2m.cjs +2 -0
- package/dist/calendar-CyAPpT2m.cjs.map +1 -0
- package/dist/calendar-JKxWM6AF.mjs +2 -0
- package/dist/calendar-JKxWM6AF.mjs.map +1 -0
- package/dist/cards/grid-product-card.cjs +1 -1
- package/dist/cards/grid-product-card.cjs.map +1 -1
- package/dist/cards/grid-product-card.d.cts +23 -0
- package/dist/cards/grid-product-card.d.mts +23 -0
- package/dist/cards/grid-product-card.mjs +1 -1
- package/dist/cards/grid-product-card.mjs.map +1 -1
- package/dist/cards/product-card.cjs +1 -1
- package/dist/cards/product-card.cjs.map +1 -1
- package/dist/cards/product-card.d.cts +23 -0
- package/dist/cards/product-card.d.mts +23 -0
- package/dist/cards/product-card.mjs +1 -1
- package/dist/cards/product-card.mjs.map +1 -1
- package/dist/cards/simple-card.cjs +1 -1
- package/dist/cards/simple-card.cjs.map +1 -1
- package/dist/cards/simple-card.d.cts +16 -0
- package/dist/cards/simple-card.d.mts +18 -2
- package/dist/cards/simple-card.mjs +1 -1
- package/dist/cards/simple-card.mjs.map +1 -1
- package/dist/{checkbox-Bg2FiuQw.mjs → checkbox-DJEdYOjA.mjs} +2 -2
- package/dist/checkbox-DJEdYOjA.mjs.map +1 -0
- package/dist/{checkbox-C0fSWwmD.cjs → checkbox-RZrRNYP2.cjs} +2 -2
- package/dist/checkbox-RZrRNYP2.cjs.map +1 -0
- package/dist/close-BU0kWRVo.mjs +2 -0
- package/dist/{close-DfuHB7kq.mjs.map → close-BU0kWRVo.mjs.map} +1 -1
- package/dist/close-DXk_H3Gt.cjs +2 -0
- package/dist/{close-D_Ge7gnP.cjs.map → close-DXk_H3Gt.cjs.map} +1 -1
- package/dist/cms-layout-Dc4moos1.cjs +2 -0
- package/dist/cms-layout-Dc4moos1.cjs.map +1 -0
- package/dist/cms-layout-HfnOQS16.mjs +2 -0
- package/dist/cms-layout-HfnOQS16.mjs.map +1 -0
- package/dist/{command-IfPmQiyJ.cjs → command-SHd-d_o0.cjs} +2 -2
- package/dist/command-SHd-d_o0.cjs.map +1 -0
- package/dist/{command-Bma4ivZz.mjs → command-bpcnKEbR.mjs} +2 -2
- package/dist/command-bpcnKEbR.mjs.map +1 -0
- package/dist/data-display/country.cjs +1 -1
- package/dist/data-display/country.cjs.map +1 -1
- package/dist/data-display/country.d.cts +15 -3
- package/dist/data-display/country.d.mts +15 -3
- package/dist/data-display/country.mjs +1 -1
- package/dist/data-display/country.mjs.map +1 -1
- package/dist/data-display/data-list.cjs +1 -1
- package/dist/data-display/data-list.cjs.map +1 -1
- package/dist/data-display/data-list.d.cts +31 -2
- package/dist/data-display/data-list.d.mts +31 -2
- package/dist/data-display/data-list.mjs +1 -1
- package/dist/data-display/data-list.mjs.map +1 -1
- package/dist/data-display/date-tooltip.cjs +1 -1
- package/dist/data-display/date-tooltip.cjs.map +1 -1
- package/dist/data-display/date-tooltip.d.cts +13 -2
- package/dist/data-display/date-tooltip.d.mts +13 -2
- package/dist/data-display/date-tooltip.mjs +1 -1
- package/dist/data-display/date-tooltip.mjs.map +1 -1
- package/dist/data-display/date.cjs +1 -1
- package/dist/data-display/date.d.cts +28 -2
- package/dist/data-display/date.d.mts +28 -2
- package/dist/data-display/date.mjs +1 -1
- package/dist/data-display/empty.cjs +1 -1
- package/dist/data-display/empty.cjs.map +1 -1
- package/dist/data-display/empty.d.cts +17 -3
- package/dist/data-display/empty.d.mts +17 -3
- package/dist/data-display/empty.mjs +1 -1
- package/dist/data-display/empty.mjs.map +1 -1
- package/dist/data-display/name.cjs +1 -1
- package/dist/data-display/name.cjs.map +1 -1
- package/dist/data-display/name.d.cts +12 -1
- package/dist/data-display/name.d.mts +12 -1
- package/dist/data-display/name.mjs +1 -1
- package/dist/data-display/name.mjs.map +1 -1
- package/dist/data-display/phone-number.cjs +1 -1
- package/dist/data-display/phone-number.cjs.map +1 -1
- package/dist/data-display/phone-number.d.cts +14 -2
- package/dist/data-display/phone-number.d.mts +14 -2
- package/dist/data-display/phone-number.mjs +1 -1
- package/dist/data-display/phone-number.mjs.map +1 -1
- package/dist/data-display/role-badge.cjs +1 -1
- package/dist/data-display/role-badge.cjs.map +1 -1
- package/dist/data-display/role-badge.d.cts +15 -3
- package/dist/data-display/role-badge.d.mts +15 -3
- package/dist/data-display/role-badge.mjs +1 -1
- package/dist/data-display/role-badge.mjs.map +1 -1
- package/dist/data-display/statistic.cjs +1 -1
- package/dist/data-display/statistic.cjs.map +1 -1
- package/dist/data-display/statistic.d.cts +35 -6
- package/dist/data-display/statistic.d.mts +37 -8
- package/dist/data-display/statistic.mjs +1 -1
- package/dist/data-display/statistic.mjs.map +1 -1
- package/dist/data-display/user.cjs +1 -2
- package/dist/data-display/user.d.cts +14 -1
- package/dist/data-display/user.d.mts +14 -1
- package/dist/data-display/user.mjs +1 -2
- package/dist/date-CVz9xdCg.mjs +2 -0
- package/dist/date-CVz9xdCg.mjs.map +1 -0
- package/dist/date-a3RI5Pwo.cjs +2 -0
- package/dist/date-a3RI5Pwo.cjs.map +1 -0
- package/dist/dialog-BchwY6-N.mjs +2 -0
- package/dist/dialog-BchwY6-N.mjs.map +1 -0
- package/dist/dialog-CNhwBcEl.d.cts +90 -0
- package/dist/dialog-D6ygAOSV.d.mts +90 -0
- package/dist/dialog-o_68LQXd.cjs +2 -0
- package/dist/dialog-o_68LQXd.cjs.map +1 -0
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.cjs.map +1 -1
- package/dist/dialogs/confirm-dialog.d.cts +129 -3
- package/dist/dialogs/confirm-dialog.d.mts +129 -3
- package/dist/dialogs/confirm-dialog.mjs +1 -1
- package/dist/dialogs/confirm-dialog.mjs.map +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -2
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +73 -26
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +73 -26
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -2
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
- package/dist/dialogs/detail-dialog/index.d.cts +37 -8
- package/dist/dialogs/detail-dialog/index.d.mts +37 -8
- package/dist/dialogs/detail-dialog/index.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.mjs.map +1 -1
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.cjs.map +1 -1
- package/dist/dialogs/error-dialog.d.cts +18 -4
- package/dist/dialogs/error-dialog.d.mts +18 -4
- package/dist/dialogs/error-dialog.mjs +1 -1
- package/dist/dialogs/error-dialog.mjs.map +1 -1
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.cjs.map +1 -1
- package/dist/dialogs/loading-dialog.d.cts +15 -3
- package/dist/dialogs/loading-dialog.d.mts +15 -3
- package/dist/dialogs/loading-dialog.mjs +1 -1
- package/dist/dialogs/loading-dialog.mjs.map +1 -1
- package/dist/dist-CIN9T2FB.mjs +2 -0
- package/dist/{dist-DP1ehOL8.mjs.map → dist-CIN9T2FB.mjs.map} +1 -1
- package/dist/dist-Dh8WwRa8.cjs +2 -0
- package/dist/{dist-Q1UyT_bc.cjs.map → dist-Dh8WwRa8.cjs.map} +1 -1
- package/dist/dropdown-menu-Ct9BLGfa.cjs +2 -0
- package/dist/dropdown-menu-Ct9BLGfa.cjs.map +1 -0
- package/dist/dropdown-menu-DWSfXhHo.mjs +2 -0
- package/dist/dropdown-menu-DWSfXhHo.mjs.map +1 -0
- package/dist/features/descriptions/index.cjs +1 -1
- package/dist/features/descriptions/index.cjs.map +1 -1
- package/dist/features/descriptions/index.d.cts +158 -19
- package/dist/features/descriptions/index.d.mts +158 -19
- package/dist/features/descriptions/index.mjs +1 -1
- package/dist/features/descriptions/index.mjs.map +1 -1
- package/dist/features/search-modal/index.cjs +1 -2
- package/dist/features/search-modal/index.d.cts +12 -2
- package/dist/features/search-modal/index.d.mts +12 -2
- package/dist/features/search-modal/index.mjs +1 -2
- package/dist/features/tables/index.cjs +1 -2
- package/dist/features/tables/index.d.cts +746 -24
- package/dist/features/tables/index.d.mts +746 -24
- package/dist/features/tables/index.mjs +1 -2
- package/dist/features/tanstack-form/index.cjs +1 -2
- package/dist/features/tanstack-form/index.d.cts +2 -1786
- package/dist/features/tanstack-form/index.d.mts +2 -1786
- package/dist/features/tanstack-form/index.mjs +1 -2
- package/dist/field-CXVnw75a.mjs +2 -0
- package/dist/field-CXVnw75a.mjs.map +1 -0
- package/dist/field-CppNvoxV.cjs +2 -0
- package/dist/field-CppNvoxV.cjs.map +1 -0
- package/dist/{flex-CeizYtXs.mjs → flex-BLMTj7Ev.mjs} +2 -2
- package/dist/flex-BLMTj7Ev.mjs.map +1 -0
- package/dist/{flex-BsoSgWFN.cjs → flex-BbbogTsZ.cjs} +2 -2
- package/dist/flex-BbbogTsZ.cjs.map +1 -0
- package/dist/heading-AKz5ewy-.cjs +2 -0
- package/dist/heading-AKz5ewy-.cjs.map +1 -0
- package/dist/heading-DN67djxs.mjs +2 -0
- package/dist/heading-DN67djxs.mjs.map +1 -0
- package/dist/image-B1Dm5LWk.cjs +2 -0
- package/dist/image-B1Dm5LWk.cjs.map +1 -0
- package/dist/image-BlzrSaoE.mjs +2 -0
- package/dist/image-BlzrSaoE.mjs.map +1 -0
- package/dist/index-75nSAiSe.d.mts +2030 -0
- package/dist/index-aTMCQQms.d.cts +2030 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +90 -0
- package/dist/index.d.mts +90 -0
- package/dist/index.mjs +1 -0
- package/dist/{input-DMjPBcJO.mjs → input-Cd0G5y-9.mjs} +2 -2
- package/dist/input-Cd0G5y-9.mjs.map +1 -0
- package/dist/{input-BoMJaF_N.cjs → input-Cl5VkKQh.cjs} +2 -2
- package/dist/input-Cl5VkKQh.cjs.map +1 -0
- package/dist/input-D5dtkW6g.d.mts +44 -0
- package/dist/input-t2hpPP2K.d.cts +44 -0
- package/dist/{label-BzfsTrVt.cjs → label-DkMTQ3Ch.cjs} +2 -2
- package/dist/label-DkMTQ3Ch.cjs.map +1 -0
- package/dist/label-OmlGaZ5h.mjs +2 -0
- package/dist/label-OmlGaZ5h.mjs.map +1 -0
- package/dist/layouts/cms-layout/index.cjs +1 -2
- package/dist/layouts/cms-layout/index.d.cts +66 -13
- package/dist/layouts/cms-layout/index.d.mts +66 -13
- package/dist/layouts/cms-layout/index.mjs +1 -2
- package/dist/layouts/flex.cjs +1 -1
- package/dist/layouts/flex.d.cts +91 -7
- package/dist/layouts/flex.d.mts +93 -9
- package/dist/layouts/flex.mjs +1 -1
- package/dist/layouts/grid.cjs +1 -1
- package/dist/layouts/grid.cjs.map +1 -1
- package/dist/layouts/grid.d.cts +14 -0
- package/dist/layouts/grid.d.mts +14 -0
- package/dist/layouts/grid.mjs +1 -1
- package/dist/layouts/grid.mjs.map +1 -1
- package/dist/layouts/payment-layout/index.cjs +1 -2
- package/dist/layouts/payment-layout/index.d.cts +35 -0
- package/dist/layouts/payment-layout/index.d.mts +35 -0
- package/dist/layouts/payment-layout/index.mjs +1 -2
- package/dist/pages/FeatureDeveloping.cjs +1 -1
- package/dist/pages/FeatureDeveloping.cjs.map +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +21 -3
- package/dist/pages/FeatureDeveloping.d.mts +21 -3
- package/dist/pages/FeatureDeveloping.mjs +1 -1
- package/dist/pages/FeatureDeveloping.mjs.map +1 -1
- package/dist/pages/FeatureFixing.cjs +1 -1
- package/dist/pages/FeatureFixing.cjs.map +1 -1
- package/dist/pages/FeatureFixing.d.cts +21 -3
- package/dist/pages/FeatureFixing.d.mts +21 -3
- package/dist/pages/FeatureFixing.mjs +1 -1
- package/dist/pages/FeatureFixing.mjs.map +1 -1
- package/dist/pages/NotAuthorized.cjs +1 -1
- package/dist/pages/NotAuthorized.cjs.map +1 -1
- package/dist/pages/NotAuthorized.d.cts +21 -3
- package/dist/pages/NotAuthorized.d.mts +21 -3
- package/dist/pages/NotAuthorized.mjs +1 -1
- package/dist/pages/NotAuthorized.mjs.map +1 -1
- package/dist/pages/NotFound.cjs +1 -1
- package/dist/pages/NotFound.cjs.map +1 -1
- package/dist/pages/NotFound.d.cts +21 -3
- package/dist/pages/NotFound.d.mts +21 -3
- package/dist/pages/NotFound.mjs +1 -1
- package/dist/pages/NotFound.mjs.map +1 -1
- package/dist/{paragraph-DmiXlAnE.mjs → paragraph-Ch5TvEqL.mjs} +2 -2
- package/dist/paragraph-Ch5TvEqL.mjs.map +1 -0
- package/dist/{paragraph-Co2e-y5c.cjs → paragraph-DN85Huc4.cjs} +2 -2
- package/dist/paragraph-DN85Huc4.cjs.map +1 -0
- package/dist/payment-layout-Da29dHJe.cjs +2 -0
- package/dist/payment-layout-Da29dHJe.cjs.map +1 -0
- package/dist/payment-layout-wN5c7MCM.mjs +2 -0
- package/dist/payment-layout-wN5c7MCM.mjs.map +1 -0
- package/dist/{popover-DzDrgttC.cjs → popover-AEt-aSy3.cjs} +2 -2
- package/dist/popover-AEt-aSy3.cjs.map +1 -0
- package/dist/popover-OJXFbqJi.mjs +2 -0
- package/dist/popover-OJXFbqJi.mjs.map +1 -0
- package/dist/{radio-group-CBhRsUjN.cjs → radio-group-BWLdQw7M.cjs} +2 -2
- package/dist/radio-group-BWLdQw7M.cjs.map +1 -0
- package/dist/{radio-group-Cem8O6BK.mjs → radio-group-CAgfOr7-.mjs} +2 -2
- package/dist/radio-group-CAgfOr7-.mjs.map +1 -0
- package/dist/{resizable-B8tRShQI.cjs → resizable-D6UKwvFa.cjs} +2 -2
- package/dist/resizable-D6UKwvFa.cjs.map +1 -0
- package/dist/{resizable-RPObV6jc.mjs → resizable-DWh_mp5P.mjs} +2 -2
- package/dist/resizable-DWh_mp5P.mjs.map +1 -0
- package/dist/search-modal-BxjKY8I7.mjs +2 -0
- package/dist/search-modal-BxjKY8I7.mjs.map +1 -0
- package/dist/search-modal-C-jNqQI1.cjs +2 -0
- package/dist/search-modal-C-jNqQI1.cjs.map +1 -0
- package/dist/{select-2CgwiefV.cjs → select-Py_t2nX1.cjs} +2 -2
- package/dist/select-Py_t2nX1.cjs.map +1 -0
- package/dist/{select-CivtMKTM.mjs → select-Ze8Fq88G.mjs} +2 -2
- package/dist/select-Ze8Fq88G.mjs.map +1 -0
- package/dist/separator-BMsbHAVt.mjs +2 -0
- package/dist/separator-BMsbHAVt.mjs.map +1 -0
- package/dist/{separator-C3ip6sbh.cjs → separator-BwZb12bh.cjs} +2 -2
- package/dist/separator-BwZb12bh.cjs.map +1 -0
- package/dist/{sheet-5MJRtrfG.cjs → sheet-CaDXTx7n.cjs} +2 -2
- package/dist/sheet-CaDXTx7n.cjs.map +1 -0
- package/dist/{sheet-oadGRiie.mjs → sheet-DMIqn1iv.mjs} +2 -2
- package/dist/sheet-DMIqn1iv.mjs.map +1 -0
- package/dist/sidebar-C27_pwLR.cjs +2 -0
- package/dist/sidebar-C27_pwLR.cjs.map +1 -0
- package/dist/sidebar-meLttL0V.mjs +2 -0
- package/dist/sidebar-meLttL0V.mjs.map +1 -0
- package/dist/skeleton-BPxcW2yu.mjs +2 -0
- package/dist/skeleton-BPxcW2yu.mjs.map +1 -0
- package/dist/skeleton-BfMCjXYM.cjs +2 -0
- package/dist/skeleton-BfMCjXYM.cjs.map +1 -0
- package/dist/spinner-EgMJOaQi.mjs +2 -0
- package/dist/spinner-EgMJOaQi.mjs.map +1 -0
- package/dist/spinner-MKXqwF9G.cjs +2 -0
- package/dist/spinner-MKXqwF9G.cjs.map +1 -0
- package/dist/systems/google.cjs +1 -1
- package/dist/systems/google.cjs.map +1 -1
- package/dist/systems/google.d.cts +36 -0
- package/dist/systems/google.d.mts +36 -0
- package/dist/systems/google.mjs +1 -1
- package/dist/systems/google.mjs.map +1 -1
- package/dist/tables-Cc3Wik4i.cjs +2 -0
- package/dist/tables-Cc3Wik4i.cjs.map +1 -0
- package/dist/tables-DrJKQPsT.mjs +2 -0
- package/dist/tables-DrJKQPsT.mjs.map +1 -0
- package/dist/tanstack-form-BmV2BXDz.cjs +2 -0
- package/dist/tanstack-form-BmV2BXDz.cjs.map +1 -0
- package/dist/tanstack-form-CJ43hVb_.mjs +2 -0
- package/dist/tanstack-form-CJ43hVb_.mjs.map +1 -0
- package/dist/{textarea-Dlwbg6TY.cjs → textarea-BsgmN4jy.cjs} +2 -2
- package/dist/textarea-BsgmN4jy.cjs.map +1 -0
- package/dist/{textarea-RjL2DtNf.mjs → textarea-CdGSEkZB.mjs} +2 -2
- package/dist/textarea-CdGSEkZB.mjs.map +1 -0
- package/dist/tooltip-Bj0iOG4s.mjs +2 -0
- package/dist/tooltip-Bj0iOG4s.mjs.map +1 -0
- package/dist/{tooltip-DC6i1A25.cjs → tooltip-itUmYz9k.cjs} +2 -2
- package/dist/tooltip-itUmYz9k.cjs.map +1 -0
- package/dist/{types-Bd0JePtp.d.cts → types-B_32Ieia.d.mts} +1 -1
- package/dist/{types-BpHcqlOI.d.mts → types-CDYHkcOk.d.cts} +1 -1
- package/dist/{types-DBD4LOem.mjs → types-DNphnTW-.mjs} +1 -1
- package/dist/{types-DBD4LOem.mjs.map → types-DNphnTW-.mjs.map} +1 -1
- package/dist/typography/paragraph.cjs +1 -1
- package/dist/typography/paragraph.d.cts +35 -5
- package/dist/typography/paragraph.d.mts +36 -6
- package/dist/typography/paragraph.mjs +1 -1
- package/dist/typography/title.cjs +1 -1
- package/dist/typography/title.cjs.map +1 -1
- package/dist/typography/title.d.cts +31 -4
- package/dist/typography/title.d.mts +31 -4
- package/dist/typography/title.mjs +1 -1
- package/dist/typography/title.mjs.map +1 -1
- package/dist/ui/alert-dialog.cjs +1 -1
- package/dist/ui/alert-dialog.cjs.map +1 -1
- package/dist/ui/alert-dialog.d.cts +54 -12
- package/dist/ui/alert-dialog.d.mts +54 -12
- package/dist/ui/alert-dialog.mjs +1 -1
- package/dist/ui/alert-dialog.mjs.map +1 -1
- package/dist/ui/alert.cjs +1 -2
- package/dist/ui/alert.d.cts +2 -69
- package/dist/ui/alert.d.mts +2 -69
- package/dist/ui/alert.mjs +1 -2
- package/dist/ui/aspect-ratio.cjs +1 -1
- package/dist/ui/aspect-ratio.cjs.map +1 -1
- package/dist/ui/aspect-ratio.d.cts +15 -2
- package/dist/ui/aspect-ratio.d.mts +15 -2
- package/dist/ui/aspect-ratio.mjs +1 -1
- package/dist/ui/aspect-ratio.mjs.map +1 -1
- package/dist/ui/avatar.cjs +1 -1
- package/dist/ui/avatar.d.cts +20 -4
- package/dist/ui/avatar.d.mts +20 -4
- package/dist/ui/avatar.mjs +1 -1
- package/dist/ui/badge.cjs +1 -1
- package/dist/ui/badge.d.cts +2 -21
- package/dist/ui/badge.d.mts +2 -21
- package/dist/ui/badge.mjs +1 -1
- package/dist/ui/breadcrumb.cjs +1 -1
- package/dist/ui/breadcrumb.cjs.map +1 -1
- package/dist/ui/breadcrumb.d.cts +38 -25
- package/dist/ui/breadcrumb.d.mts +38 -25
- package/dist/ui/breadcrumb.mjs +1 -1
- package/dist/ui/breadcrumb.mjs.map +1 -1
- package/dist/ui/button-group.cjs +1 -1
- package/dist/ui/button-group.cjs.map +1 -1
- package/dist/ui/button-group.d.cts +27 -6
- package/dist/ui/button-group.d.mts +27 -6
- package/dist/ui/button-group.mjs +1 -1
- package/dist/ui/button-group.mjs.map +1 -1
- package/dist/ui/button.cjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/button.mjs +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.cjs.map +1 -1
- package/dist/ui/buttons/add-new.d.cts +9 -0
- package/dist/ui/buttons/add-new.d.mts +9 -0
- package/dist/ui/buttons/add-new.mjs +1 -1
- package/dist/ui/buttons/add-new.mjs.map +1 -1
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.cjs.map +1 -1
- package/dist/ui/buttons/edit.d.cts +9 -0
- package/dist/ui/buttons/edit.d.mts +9 -0
- package/dist/ui/buttons/edit.mjs +1 -1
- package/dist/ui/buttons/edit.mjs.map +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.cjs.map +1 -1
- package/dist/ui/buttons/refresh.d.cts +9 -0
- package/dist/ui/buttons/refresh.d.mts +9 -0
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/buttons/refresh.mjs.map +1 -1
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.cjs.map +1 -1
- package/dist/ui/buttons/trash.d.cts +9 -0
- package/dist/ui/buttons/trash.d.mts +9 -0
- package/dist/ui/buttons/trash.mjs +1 -1
- package/dist/ui/buttons/trash.mjs.map +1 -1
- package/dist/ui/buttons/upload-image.cjs +1 -1
- package/dist/ui/buttons/upload-image.cjs.map +1 -1
- package/dist/ui/buttons/upload-image.d.cts +13 -0
- package/dist/ui/buttons/upload-image.d.mts +13 -0
- package/dist/ui/buttons/upload-image.mjs +1 -1
- package/dist/ui/buttons/upload-image.mjs.map +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +22 -4
- package/dist/ui/calendar.d.mts +22 -4
- package/dist/ui/calendar.mjs +1 -1
- package/dist/ui/card.cjs +1 -1
- package/dist/ui/card.cjs.map +1 -1
- package/dist/ui/card.d.cts +37 -8
- package/dist/ui/card.d.mts +37 -8
- package/dist/ui/card.mjs +1 -1
- package/dist/ui/card.mjs.map +1 -1
- package/dist/ui/carousel.cjs +1 -1
- package/dist/ui/carousel.cjs.map +1 -1
- package/dist/ui/carousel.d.cts +31 -7
- package/dist/ui/carousel.d.mts +31 -7
- package/dist/ui/carousel.mjs +1 -1
- package/dist/ui/carousel.mjs.map +1 -1
- package/dist/ui/checkbox.cjs +1 -1
- package/dist/ui/checkbox.d.cts +17 -2
- package/dist/ui/checkbox.d.mts +17 -2
- package/dist/ui/checkbox.mjs +1 -1
- package/dist/ui/collapsible.cjs.map +1 -1
- package/dist/ui/collapsible.d.cts +22 -4
- package/dist/ui/collapsible.d.mts +22 -4
- package/dist/ui/collapsible.mjs.map +1 -1
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +48 -11
- package/dist/ui/command.d.mts +48 -11
- package/dist/ui/command.mjs +1 -1
- package/dist/ui/context-menu.cjs +1 -1
- package/dist/ui/context-menu.cjs.map +1 -1
- package/dist/ui/context-menu.d.cts +65 -16
- package/dist/ui/context-menu.d.mts +65 -16
- package/dist/ui/context-menu.mjs +1 -1
- package/dist/ui/context-menu.mjs.map +1 -1
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/dialog.mjs +1 -1
- package/dist/ui/drawer.cjs +1 -1
- package/dist/ui/drawer.cjs.map +1 -1
- package/dist/ui/drawer.d.cts +39 -11
- package/dist/ui/drawer.d.mts +39 -11
- package/dist/ui/drawer.mjs +1 -1
- package/dist/ui/drawer.mjs.map +1 -1
- package/dist/ui/dropdown-menu.cjs +1 -1
- package/dist/ui/dropdown-menu.d.cts +65 -16
- package/dist/ui/dropdown-menu.d.mts +65 -16
- package/dist/ui/dropdown-menu.mjs +1 -1
- package/dist/ui/empty.cjs +1 -1
- package/dist/ui/empty.cjs.map +1 -1
- package/dist/ui/empty.d.cts +41 -9
- package/dist/ui/empty.d.mts +39 -7
- package/dist/ui/empty.mjs +1 -1
- package/dist/ui/empty.mjs.map +1 -1
- package/dist/ui/field.cjs +1 -2
- package/dist/ui/field.d.cts +13 -13
- package/dist/ui/field.d.mts +22 -22
- package/dist/ui/field.mjs +1 -2
- package/dist/ui/file-uploader.cjs +2 -2
- package/dist/ui/file-uploader.cjs.map +1 -1
- package/dist/ui/file-uploader.d.cts +27 -2
- package/dist/ui/file-uploader.d.mts +27 -2
- package/dist/ui/file-uploader.mjs +2 -2
- package/dist/ui/file-uploader.mjs.map +1 -1
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.cjs.map +1 -1
- package/dist/ui/form.d.cts +55 -11
- package/dist/ui/form.d.mts +55 -11
- package/dist/ui/form.mjs +1 -1
- package/dist/ui/form.mjs.map +1 -1
- package/dist/ui/hover-card.cjs +1 -1
- package/dist/ui/hover-card.cjs.map +1 -1
- package/dist/ui/hover-card.d.cts +22 -4
- package/dist/ui/hover-card.d.mts +22 -4
- package/dist/ui/hover-card.mjs +1 -1
- package/dist/ui/hover-card.mjs.map +1 -1
- package/dist/ui/image.cjs +1 -1
- package/dist/ui/image.d.cts +20 -0
- package/dist/ui/image.d.mts +20 -0
- package/dist/ui/image.mjs +1 -1
- package/dist/ui/input-otp.cjs +1 -1
- package/dist/ui/input-otp.cjs.map +1 -1
- package/dist/ui/input-otp.d.cts +36 -5
- package/dist/ui/input-otp.d.mts +36 -5
- package/dist/ui/input-otp.mjs +1 -1
- package/dist/ui/input-otp.mjs.map +1 -1
- package/dist/ui/input.cjs +1 -1
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/input.mjs +1 -1
- package/dist/ui/inputs/search-input.cjs +1 -1
- package/dist/ui/inputs/search-input.cjs.map +1 -1
- package/dist/ui/inputs/search-input.d.cts +20 -3
- package/dist/ui/inputs/search-input.d.mts +20 -3
- package/dist/ui/inputs/search-input.mjs +1 -1
- package/dist/ui/inputs/search-input.mjs.map +1 -1
- package/dist/ui/item.cjs +1 -1
- package/dist/ui/item.cjs.map +1 -1
- package/dist/ui/item.d.cts +55 -15
- package/dist/ui/item.d.mts +55 -15
- package/dist/ui/item.mjs +1 -1
- package/dist/ui/item.mjs.map +1 -1
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +15 -2
- package/dist/ui/label.d.mts +15 -2
- package/dist/ui/label.mjs +1 -1
- package/dist/ui/menubar.cjs +1 -1
- package/dist/ui/menubar.cjs.map +1 -1
- package/dist/ui/menubar.d.cts +68 -17
- package/dist/ui/menubar.d.mts +68 -17
- package/dist/ui/menubar.mjs +1 -1
- package/dist/ui/menubar.mjs.map +1 -1
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.cjs.map +1 -1
- package/dist/ui/multi-select.d.cts +39 -2
- package/dist/ui/multi-select.d.mts +40 -3
- package/dist/ui/multi-select.mjs +1 -1
- package/dist/ui/multi-select.mjs.map +1 -1
- package/dist/ui/navigation-menu.cjs +1 -1
- package/dist/ui/navigation-menu.cjs.map +1 -1
- package/dist/ui/navigation-menu.d.cts +42 -11
- package/dist/ui/navigation-menu.d.mts +42 -11
- package/dist/ui/navigation-menu.mjs +1 -1
- package/dist/ui/navigation-menu.mjs.map +1 -1
- package/dist/ui/pagination.cjs +1 -1
- package/dist/ui/pagination.cjs.map +1 -1
- package/dist/ui/pagination.d.cts +37 -9
- package/dist/ui/pagination.d.mts +37 -9
- package/dist/ui/pagination.mjs +1 -1
- package/dist/ui/pagination.mjs.map +1 -1
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.d.cts +32 -6
- package/dist/ui/popover.d.mts +32 -6
- package/dist/ui/popover.mjs +1 -1
- package/dist/ui/progress.cjs +1 -1
- package/dist/ui/progress.cjs.map +1 -1
- package/dist/ui/progress.d.cts +13 -2
- package/dist/ui/progress.d.mts +13 -2
- package/dist/ui/progress.mjs +1 -1
- package/dist/ui/progress.mjs.map +1 -1
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.d.cts +25 -3
- package/dist/ui/radio-group.d.mts +25 -3
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/resizable.cjs +1 -1
- package/dist/ui/resizable.d.cts +29 -9
- package/dist/ui/resizable.d.mts +29 -9
- package/dist/ui/resizable.mjs +1 -1
- package/dist/ui/scroll-area.cjs +1 -1
- package/dist/ui/scroll-area.cjs.map +1 -1
- package/dist/ui/scroll-area.d.cts +24 -6
- package/dist/ui/scroll-area.d.mts +24 -6
- package/dist/ui/scroll-area.mjs +1 -1
- package/dist/ui/scroll-area.mjs.map +1 -1
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +43 -9
- package/dist/ui/select.d.mts +43 -9
- package/dist/ui/select.mjs +1 -1
- package/dist/ui/separator.cjs +1 -1
- package/dist/ui/separator.d.cts +23 -2
- package/dist/ui/separator.d.mts +23 -2
- package/dist/ui/separator.mjs +1 -1
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.d.cts +38 -9
- package/dist/ui/sheet.d.mts +38 -9
- package/dist/ui/sheet.mjs +1 -1
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.cjs.map +1 -1
- package/dist/ui/sidebar.d.cts +125 -28
- package/dist/ui/sidebar.d.mts +125 -28
- package/dist/ui/sidebar.mjs +1 -1
- package/dist/ui/sidebar.mjs.map +1 -1
- package/dist/ui/skeleton.cjs +1 -1
- package/dist/ui/skeleton.d.cts +19 -2
- package/dist/ui/skeleton.d.mts +19 -2
- package/dist/ui/skeleton.mjs +1 -1
- package/dist/ui/slider.cjs +1 -1
- package/dist/ui/slider.cjs.map +1 -1
- package/dist/ui/slider.d.cts +13 -2
- package/dist/ui/slider.d.mts +13 -2
- package/dist/ui/slider.mjs +1 -1
- package/dist/ui/slider.mjs.map +1 -1
- package/dist/ui/sonner.cjs +1 -1
- package/dist/ui/sonner.cjs.map +1 -1
- package/dist/ui/sonner.d.cts +18 -2
- package/dist/ui/sonner.d.mts +18 -2
- package/dist/ui/sonner.mjs +1 -1
- package/dist/ui/sonner.mjs.map +1 -1
- package/dist/ui/spinner.cjs +1 -1
- package/dist/ui/spinner.d.cts +17 -2
- package/dist/ui/spinner.d.mts +17 -2
- package/dist/ui/spinner.mjs +1 -1
- package/dist/ui/switch.cjs +1 -1
- package/dist/ui/switch.cjs.map +1 -1
- package/dist/ui/switch.d.cts +17 -2
- package/dist/ui/switch.d.mts +17 -2
- package/dist/ui/switch.mjs +1 -1
- package/dist/ui/switch.mjs.map +1 -1
- package/dist/ui/table.cjs +1 -1
- package/dist/ui/table.cjs.map +1 -1
- package/dist/ui/table.d.cts +53 -18
- package/dist/ui/table.d.mts +53 -18
- package/dist/ui/table.mjs +1 -1
- package/dist/ui/table.mjs.map +1 -1
- package/dist/ui/tabs.cjs +1 -1
- package/dist/ui/tabs.cjs.map +1 -1
- package/dist/ui/tabs.d.cts +26 -5
- package/dist/ui/tabs.d.mts +26 -5
- package/dist/ui/tabs.mjs +1 -1
- package/dist/ui/tabs.mjs.map +1 -1
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +18 -2
- package/dist/ui/textarea.d.mts +18 -2
- package/dist/ui/textarea.mjs +1 -1
- package/dist/ui/toggle-group.cjs +1 -1
- package/dist/ui/toggle-group.cjs.map +1 -1
- package/dist/ui/toggle-group.d.cts +19 -3
- package/dist/ui/toggle-group.d.mts +19 -3
- package/dist/ui/toggle-group.mjs +1 -1
- package/dist/ui/toggle-group.mjs.map +1 -1
- package/dist/ui/toggle.cjs +1 -1
- package/dist/ui/toggle.cjs.map +1 -1
- package/dist/ui/toggle.d.cts +17 -4
- package/dist/ui/toggle.d.mts +17 -4
- package/dist/ui/toggle.mjs +1 -1
- package/dist/ui/toggle.mjs.map +1 -1
- package/dist/ui/tooltip.cjs +1 -1
- package/dist/ui/tooltip.d.cts +37 -5
- package/dist/ui/tooltip.d.mts +37 -5
- package/dist/ui/tooltip.mjs +1 -1
- package/dist/user-BEyYLDNK.cjs +2 -0
- package/dist/user-BEyYLDNK.cjs.map +1 -0
- package/dist/user-DONsffqr.mjs +2 -0
- package/dist/user-DONsffqr.mjs.map +1 -0
- package/package.json +11 -3
- package/styles/theme.css +27 -6
- package/dist/avatar-DReNH6rV.mjs +0 -2
- package/dist/avatar-DReNH6rV.mjs.map +0 -1
- package/dist/avatar-aVxo69zP.cjs +0 -2
- package/dist/avatar-aVxo69zP.cjs.map +0 -1
- package/dist/badge-B4Fa7-J3.mjs +0 -2
- package/dist/badge-B4Fa7-J3.mjs.map +0 -1
- package/dist/badge-cvLJyaCA.cjs +0 -2
- package/dist/badge-cvLJyaCA.cjs.map +0 -1
- package/dist/button-B5a1UlC_.d.mts +0 -59
- package/dist/button-Cd7YtPlT.cjs.map +0 -1
- package/dist/button-D8BUqpI2.mjs +0 -2
- package/dist/button-D8BUqpI2.mjs.map +0 -1
- package/dist/button-DYZCqN6A.d.cts +0 -59
- package/dist/button.variants-B_dFX3i2.mjs +0 -2
- package/dist/button.variants-B_dFX3i2.mjs.map +0 -1
- package/dist/button.variants-aqkTmzFu.cjs +0 -2
- package/dist/button.variants-aqkTmzFu.cjs.map +0 -1
- package/dist/calendar-B-PDpHK5.mjs +0 -2
- package/dist/calendar-B-PDpHK5.mjs.map +0 -1
- package/dist/calendar-Cq3_5u0k.cjs +0 -2
- package/dist/calendar-Cq3_5u0k.cjs.map +0 -1
- package/dist/checkbox-Bg2FiuQw.mjs.map +0 -1
- package/dist/checkbox-C0fSWwmD.cjs.map +0 -1
- package/dist/close-D_Ge7gnP.cjs +0 -2
- package/dist/close-DfuHB7kq.mjs +0 -2
- package/dist/command-Bma4ivZz.mjs.map +0 -1
- package/dist/command-IfPmQiyJ.cjs.map +0 -1
- package/dist/data-display/user.cjs.map +0 -1
- package/dist/data-display/user.mjs.map +0 -1
- package/dist/date-WraHGsbb.cjs +0 -2
- package/dist/date-WraHGsbb.cjs.map +0 -1
- package/dist/date-uVTm7J09.mjs +0 -2
- package/dist/date-uVTm7J09.mjs.map +0 -1
- package/dist/dialog-B50k7HnL.mjs +0 -2
- package/dist/dialog-B50k7HnL.mjs.map +0 -1
- package/dist/dialog-BoNhIQYJ.cjs +0 -2
- package/dist/dialog-BoNhIQYJ.cjs.map +0 -1
- package/dist/dialog-CuZxUWfc.d.cts +0 -47
- package/dist/dialog-D4LnpcNL.d.mts +0 -47
- package/dist/dialogs/detail-dialog/components/sidebar.cjs.map +0 -1
- package/dist/dialogs/detail-dialog/components/sidebar.mjs.map +0 -1
- package/dist/dist-DP1ehOL8.mjs +0 -2
- package/dist/dist-Q1UyT_bc.cjs +0 -2
- package/dist/dropdown-menu-B8GUTfTp.mjs +0 -2
- package/dist/dropdown-menu-B8GUTfTp.mjs.map +0 -1
- package/dist/dropdown-menu-BuyuU6uF.cjs +0 -2
- package/dist/dropdown-menu-BuyuU6uF.cjs.map +0 -1
- package/dist/features/search-modal/index.cjs.map +0 -1
- package/dist/features/search-modal/index.mjs.map +0 -1
- package/dist/features/tables/index.cjs.map +0 -1
- package/dist/features/tables/index.mjs.map +0 -1
- package/dist/features/tanstack-form/index.cjs.map +0 -1
- package/dist/features/tanstack-form/index.mjs.map +0 -1
- package/dist/flex-BsoSgWFN.cjs.map +0 -1
- package/dist/flex-CeizYtXs.mjs.map +0 -1
- package/dist/heading-BEbpIiLg.cjs +0 -2
- package/dist/heading-BEbpIiLg.cjs.map +0 -1
- package/dist/heading-CrF1CFWS.mjs +0 -2
- package/dist/heading-CrF1CFWS.mjs.map +0 -1
- package/dist/image-BBZUipoU.cjs +0 -2
- package/dist/image-BBZUipoU.cjs.map +0 -1
- package/dist/image-CZji4Q26.mjs +0 -2
- package/dist/image-CZji4Q26.mjs.map +0 -1
- package/dist/input-BoMJaF_N.cjs.map +0 -1
- package/dist/input-DMjPBcJO.mjs.map +0 -1
- package/dist/input-DszdZdbJ.d.cts +0 -25
- package/dist/input-Dv7UKl6Z.d.mts +0 -25
- package/dist/label-BzfsTrVt.cjs.map +0 -1
- package/dist/label-Dqr8nxWi.mjs +0 -2
- package/dist/label-Dqr8nxWi.mjs.map +0 -1
- package/dist/layouts/cms-layout/index.cjs.map +0 -1
- package/dist/layouts/cms-layout/index.mjs.map +0 -1
- package/dist/layouts/payment-layout/index.cjs.map +0 -1
- package/dist/layouts/payment-layout/index.mjs.map +0 -1
- package/dist/paragraph-Co2e-y5c.cjs.map +0 -1
- package/dist/paragraph-DmiXlAnE.mjs.map +0 -1
- package/dist/popover-BckwBuuD.mjs +0 -2
- package/dist/popover-BckwBuuD.mjs.map +0 -1
- package/dist/popover-DzDrgttC.cjs.map +0 -1
- package/dist/radio-group-CBhRsUjN.cjs.map +0 -1
- package/dist/radio-group-Cem8O6BK.mjs.map +0 -1
- package/dist/resizable-B8tRShQI.cjs.map +0 -1
- package/dist/resizable-RPObV6jc.mjs.map +0 -1
- package/dist/select-2CgwiefV.cjs.map +0 -1
- package/dist/select-CivtMKTM.mjs.map +0 -1
- package/dist/separator-Bf0gymN4.mjs +0 -2
- package/dist/separator-Bf0gymN4.mjs.map +0 -1
- package/dist/separator-C3ip6sbh.cjs.map +0 -1
- package/dist/sheet-5MJRtrfG.cjs.map +0 -1
- package/dist/sheet-oadGRiie.mjs.map +0 -1
- package/dist/skeleton-Ba6koCVf.mjs +0 -2
- package/dist/skeleton-Ba6koCVf.mjs.map +0 -1
- package/dist/skeleton-CHympz8k.cjs +0 -2
- package/dist/skeleton-CHympz8k.cjs.map +0 -1
- package/dist/spinner-Chm_2fLr.cjs +0 -2
- package/dist/spinner-Chm_2fLr.cjs.map +0 -1
- package/dist/spinner-D1v3Bard.mjs +0 -2
- package/dist/spinner-D1v3Bard.mjs.map +0 -1
- package/dist/textarea-Dlwbg6TY.cjs.map +0 -1
- package/dist/textarea-RjL2DtNf.mjs.map +0 -1
- package/dist/tooltip-B3dTcgcc.mjs +0 -2
- package/dist/tooltip-B3dTcgcc.mjs.map +0 -1
- package/dist/tooltip-DC6i1A25.cjs.map +0 -1
- package/dist/ui/alert.cjs.map +0 -1
- package/dist/ui/alert.mjs.map +0 -1
- package/dist/ui/field.cjs.map +0 -1
- package/dist/ui/field.mjs.map +0 -1
package/dist/ui/alert.d.mts
CHANGED
|
@@ -1,69 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
4
|
-
|
|
5
|
-
//#region packages/components/ui/alert-variants.d.ts
|
|
6
|
-
/**
|
|
7
|
-
* Alert component variants for styling using class-variance-authority
|
|
8
|
-
*/
|
|
9
|
-
declare const alertVariants: (props?: ({
|
|
10
|
-
variant?: "default" | "destructive" | "warning" | "success" | "info" | null | undefined;
|
|
11
|
-
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
12
|
-
type AlertVariantProps = VariantProps<typeof alertVariants>;
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region packages/components/ui/alert.d.ts
|
|
15
|
-
interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, Omit<AlertVariantProps, 'className'> {
|
|
16
|
-
/**
|
|
17
|
-
* Optional icon to display in the alert
|
|
18
|
-
*/
|
|
19
|
-
icon?: React.ReactNode;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the alert can be dismissed
|
|
22
|
-
*/
|
|
23
|
-
dismissible?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Callback when the alert is dismissed
|
|
26
|
-
*/
|
|
27
|
-
onDismiss?: () => void;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Alert component for displaying informational messages to users
|
|
31
|
-
*/
|
|
32
|
-
declare function Alert({
|
|
33
|
-
className,
|
|
34
|
-
variant,
|
|
35
|
-
children,
|
|
36
|
-
icon,
|
|
37
|
-
dismissible,
|
|
38
|
-
onDismiss,
|
|
39
|
-
...props
|
|
40
|
-
}: AlertProps): react_jsx_runtime66.JSX.Element;
|
|
41
|
-
interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
42
|
-
/**
|
|
43
|
-
* Title text or elements
|
|
44
|
-
*/
|
|
45
|
-
children: React.ReactNode;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Title component for the Alert
|
|
49
|
-
*/
|
|
50
|
-
declare function AlertTitle({
|
|
51
|
-
className,
|
|
52
|
-
...props
|
|
53
|
-
}: AlertTitleProps): react_jsx_runtime66.JSX.Element;
|
|
54
|
-
interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
55
|
-
/**
|
|
56
|
-
* Description text or elements
|
|
57
|
-
*/
|
|
58
|
-
children: React.ReactNode;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Description component for the Alert
|
|
62
|
-
*/
|
|
63
|
-
declare function AlertDescription({
|
|
64
|
-
className,
|
|
65
|
-
...props
|
|
66
|
-
}: AlertDescriptionProps): react_jsx_runtime66.JSX.Element;
|
|
67
|
-
//#endregion
|
|
68
|
-
export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
|
|
69
|
-
//# sourceMappingURL=alert.d.mts.map
|
|
1
|
+
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "../alert-DDL82_U3.mjs";
|
|
2
|
+
export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
|
package/dist/ui/alert.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
2
|
-
//# sourceMappingURL=alert.mjs.map
|
|
1
|
+
"use client";import{n as e,r as t,t as n}from"../alert-VP3giy31.mjs";export{n as Alert,e as AlertDescription,t as AlertTitle};
|
package/dist/ui/aspect-ratio.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(`react/jsx-runtime`),n=require(`@customafk/react-toolkit/utils`),r=require(`radix-ui`);function i({className:e,...i}){return(0,t.jsx)(r.AspectRatio.Root,{"data-slot":`aspect-ratio`,className:(0,n.cn)(`bg-secondary-muted rounded-md`,e),...i})}exports.AspectRatio=i;
|
|
2
2
|
//# sourceMappingURL=aspect-ratio.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio.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\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":"
|
|
1
|
+
{"version":3,"file":"aspect-ratio.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":"2JAiBA,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,11 +1,24 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
2
2
|
import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
3
3
|
|
|
4
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
|
+
*/
|
|
5
18
|
declare function AspectRatio({
|
|
6
19
|
className,
|
|
7
20
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof AspectRatio$1.Root>):
|
|
21
|
+
}: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime30.JSX.Element;
|
|
9
22
|
//#endregion
|
|
10
23
|
export { AspectRatio };
|
|
11
24
|
//# sourceMappingURL=aspect-ratio.d.cts.map
|
|
@@ -1,11 +1,24 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
2
2
|
import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
3
3
|
|
|
4
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
|
+
*/
|
|
5
18
|
declare function AspectRatio({
|
|
6
19
|
className,
|
|
7
20
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof AspectRatio$1.Root>):
|
|
21
|
+
}: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime46.JSX.Element;
|
|
9
22
|
//#endregion
|
|
10
23
|
export { AspectRatio };
|
|
11
24
|
//# sourceMappingURL=aspect-ratio.d.mts.map
|
package/dist/ui/aspect-ratio.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{jsx as e}from"react/jsx-runtime";import{cn as t}from"@customafk/react-toolkit/utils";import{AspectRatio as n}from"radix-ui";function r({className:r,...i}){return e(n.Root,{"data-slot":`aspect-ratio`,className:t(`bg-secondary-muted rounded-md`,r),...i})}export{r as AspectRatio};
|
|
2
2
|
//# sourceMappingURL=aspect-ratio.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio.mjs","names":["AspectRatioPrimitive"],"sources":["../../packages/components/ui/aspect-ratio.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { AspectRatio as AspectRatioPrimitive } from 'radix-ui';\n\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":"
|
|
1
|
+
{"version":3,"file":"aspect-ratio.mjs","names":["AspectRatioPrimitive"],"sources":["../../packages/components/ui/aspect-ratio.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { AspectRatio as AspectRatioPrimitive } from 'radix-ui';\n\n/**\n * Constrains its child to a given aspect ratio using the Radix UI AspectRatio primitive.\n *\n * @example\n * ```tsx\n * import { AspectRatio } from '@customafk/lunas-ui/ui/aspect-ratio';\n *\n * <AspectRatio ratio={16 / 9}>\n * <img src=\"/banner.jpg\" alt=\"Banner\" className=\"size-full object-cover\" />\n * </AspectRatio>\n * ```\n */\nfunction AspectRatio({ className, ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>) {\n return <AspectRatioPrimitive.Root data-slot=\"aspect-ratio\" className={cn('bg-secondary-muted rounded-md', className)} {...props} />;\n}\n\nexport { AspectRatio };\n"],"mappings":"gJAiBA,SAAS,EAAY,CAAE,YAAW,GAAG,GAAiE,CACpG,OAAO,EAACA,EAAqB,KAAA,CAAK,YAAU,eAAe,UAAW,EAAG,gCAAiC,EAAU,CAAE,GAAI,GAAS"}
|
package/dist/ui/avatar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../avatar-
|
|
1
|
+
"use client";const e=require(`../avatar-CTS9-raY.cjs`);exports.Avatar=e.t,exports.AvatarFallback=e.n,exports.AvatarImage=e.r;
|
package/dist/ui/avatar.d.cts
CHANGED
|
@@ -1,19 +1,35 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
2
2
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
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
|
+
*/
|
|
5
19
|
declare function Avatar({
|
|
6
20
|
className,
|
|
7
21
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Avatar$1.Root>):
|
|
22
|
+
}: React.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime32.JSX.Element;
|
|
23
|
+
/** The avatar photo; hidden automatically by Radix UI when the image fails to load, revealing `AvatarFallback`. */
|
|
9
24
|
declare function AvatarImage({
|
|
10
25
|
className,
|
|
11
26
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
27
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime32.JSX.Element;
|
|
28
|
+
/** Fallback content (e.g. initials) displayed inside the avatar when the image is unavailable or still loading. */
|
|
13
29
|
declare function AvatarFallback({
|
|
14
30
|
className,
|
|
15
31
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
32
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime32.JSX.Element;
|
|
17
33
|
//#endregion
|
|
18
34
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
19
35
|
//# sourceMappingURL=avatar.d.cts.map
|
package/dist/ui/avatar.d.mts
CHANGED
|
@@ -1,19 +1,35 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
2
2
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
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
|
+
*/
|
|
5
19
|
declare function Avatar({
|
|
6
20
|
className,
|
|
7
21
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Avatar$1.Root>):
|
|
22
|
+
}: React.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime47.JSX.Element;
|
|
23
|
+
/** The avatar photo; hidden automatically by Radix UI when the image fails to load, revealing `AvatarFallback`. */
|
|
9
24
|
declare function AvatarImage({
|
|
10
25
|
className,
|
|
11
26
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
27
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime47.JSX.Element;
|
|
28
|
+
/** Fallback content (e.g. initials) displayed inside the avatar when the image is unavailable or still loading. */
|
|
13
29
|
declare function AvatarFallback({
|
|
14
30
|
className,
|
|
15
31
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
32
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime47.JSX.Element;
|
|
17
33
|
//#endregion
|
|
18
34
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
19
35
|
//# sourceMappingURL=avatar.d.mts.map
|
package/dist/ui/avatar.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,r as t,t as n}from"../avatar-
|
|
1
|
+
"use client";import{n as e,r as t,t as n}from"../avatar-DbxqvCjT.mjs";export{n as Avatar,e as AvatarFallback,t as AvatarImage};
|
package/dist/ui/badge.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../badge-
|
|
1
|
+
"use client";const e=require(`../badge-uQ0pIZbQ.cjs`);exports.Badge=e.t,exports.badgeVariants=e.n;
|
package/dist/ui/badge.d.cts
CHANGED
|
@@ -1,21 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
|
|
5
|
-
//#region packages/components/ui/badge.d.ts
|
|
6
|
-
declare const badgeVariants: (props?: ({
|
|
7
|
-
color?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "zinc" | null | undefined;
|
|
8
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
|
-
pill?: boolean | null | undefined;
|
|
10
|
-
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
11
|
-
type BadgeProps = VariantProps<typeof badgeVariants> & React.ComponentPropsWithoutRef<'span'>;
|
|
12
|
-
declare function Badge({
|
|
13
|
-
className,
|
|
14
|
-
color,
|
|
15
|
-
size,
|
|
16
|
-
pill,
|
|
17
|
-
...props
|
|
18
|
-
}: BadgeProps): react_jsx_runtime40.JSX.Element;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { Badge, BadgeProps, badgeVariants };
|
|
21
|
-
//# sourceMappingURL=badge.d.cts.map
|
|
1
|
+
import { n as BadgeProps, r as badgeVariants, t as Badge } from "../badge-BFTGDsBm.cjs";
|
|
2
|
+
export { Badge, BadgeProps, badgeVariants };
|
package/dist/ui/badge.d.mts
CHANGED
|
@@ -1,21 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
4
|
-
|
|
5
|
-
//#region packages/components/ui/badge.d.ts
|
|
6
|
-
declare const badgeVariants: (props?: ({
|
|
7
|
-
color?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "zinc" | null | undefined;
|
|
8
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
|
-
pill?: boolean | null | undefined;
|
|
10
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
|
-
type BadgeProps = VariantProps<typeof badgeVariants> & React.ComponentPropsWithoutRef<'span'>;
|
|
12
|
-
declare function Badge({
|
|
13
|
-
className,
|
|
14
|
-
color,
|
|
15
|
-
size,
|
|
16
|
-
pill,
|
|
17
|
-
...props
|
|
18
|
-
}: BadgeProps): react_jsx_runtime30.JSX.Element;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { Badge, BadgeProps, badgeVariants };
|
|
21
|
-
//# sourceMappingURL=badge.d.mts.map
|
|
1
|
+
import { n as BadgeProps, r as badgeVariants, t as Badge } from "../badge-Cg0e-djv.mjs";
|
|
2
|
+
export { Badge, BadgeProps, badgeVariants };
|
package/dist/ui/badge.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"../badge-
|
|
1
|
+
"use client";import{n as e,t}from"../badge-B8bw2UEY.mjs";export{t as Badge,e as badgeVariants};
|
package/dist/ui/breadcrumb.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../dist-
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../dist-Dh8WwRa8.cjs`);let n=require(`lucide-react`),r=require(`react/jsx-runtime`),i=require(`@customafk/react-toolkit/utils`);function a({className:e,...t}){return(0,r.jsx)(`nav`,{"aria-label":`breadcrumb`,"data-slot":`breadcrumb`,className:(0,i.cn)(``,e),...t})}function o({className:e,...t}){return(0,r.jsx)(`ol`,{"data-slot":`breadcrumb-list`,className:(0,i.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,r.jsx)(`li`,{"data-slot":`breadcrumb-item`,className:(0,i.cn)(`inline-flex items-center gap-1.5`,e),...t})}function c({asChild:e,className:n,...a}){return(0,r.jsx)(e?t.t:`a`,{"data-slot":`breadcrumb-link`,className:(0,i.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,r.jsx)(`span`,{"data-slot":`breadcrumb-page`,"aria-current":`page`,className:(0,i.cn)(`text-text-positive-strong font-medium`,e),...t})}function u({children:e,className:t,...a}){return(0,r.jsx)(`li`,{"data-slot":`breadcrumb-separator`,role:`presentation`,"aria-hidden":`true`,className:(0,i.cn)(`text-text-positive-muted`,`[&>svg]:size-3.5`,t),...a,children:e??(0,r.jsx)(n.ChevronRight,{})})}function d({className:e,...t}){return(0,r.jsxs)(`button`,{"data-slot":`breadcrumb-ellipsis`,type:`button`,className:(0,i.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,r.jsx)(n.MoreHorizontal,{className:`size-4`}),(0,r.jsx)(`span`,{className:`sr-only`,children:`Show more breadcrumbs`})]})}exports.Breadcrumb=a,exports.BreadcrumbEllipsis=d,exports.BreadcrumbItem=s,exports.BreadcrumbLink=c,exports.BreadcrumbList=o,exports.BreadcrumbPage=l,exports.BreadcrumbSeparator=u;
|
|
2
2
|
//# sourceMappingURL=breadcrumb.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.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
|
|
1
|
+
{"version":3,"file":"breadcrumb.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":"iMA+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"}
|
package/dist/ui/breadcrumb.d.cts
CHANGED
|
@@ -1,29 +1,48 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
|
+
|
|
4
5
|
/**
|
|
5
|
-
* Root breadcrumb navigation
|
|
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
|
+
* ```
|
|
6
27
|
*/
|
|
7
28
|
declare function Breadcrumb({
|
|
8
29
|
className,
|
|
9
30
|
...props
|
|
10
|
-
}: React.ComponentProps<'nav'>):
|
|
11
|
-
/**
|
|
12
|
-
* Container for breadcrumb items
|
|
13
|
-
*/
|
|
31
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime55.JSX.Element;
|
|
32
|
+
/** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */
|
|
14
33
|
declare function BreadcrumbList({
|
|
15
34
|
className,
|
|
16
35
|
...props
|
|
17
|
-
}: React.ComponentProps<'ol'>):
|
|
18
|
-
/**
|
|
19
|
-
* Individual breadcrumb item container
|
|
20
|
-
*/
|
|
36
|
+
}: React.ComponentProps<'ol'>): react_jsx_runtime55.JSX.Element;
|
|
37
|
+
/** Individual `<li>` item wrapper inside a BreadcrumbList. */
|
|
21
38
|
declare function BreadcrumbItem({
|
|
22
39
|
className,
|
|
23
40
|
...props
|
|
24
|
-
}: React.ComponentProps<'li'>):
|
|
41
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime55.JSX.Element;
|
|
25
42
|
/**
|
|
26
|
-
* Interactive breadcrumb
|
|
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>`.
|
|
27
46
|
*/
|
|
28
47
|
declare function BreadcrumbLink({
|
|
29
48
|
asChild,
|
|
@@ -31,29 +50,23 @@ declare function BreadcrumbLink({
|
|
|
31
50
|
...props
|
|
32
51
|
}: React.ComponentProps<'a'> & {
|
|
33
52
|
asChild?: boolean;
|
|
34
|
-
}):
|
|
35
|
-
/**
|
|
36
|
-
* Current page breadcrumb (non-interactive)
|
|
37
|
-
*/
|
|
53
|
+
}): react_jsx_runtime55.JSX.Element;
|
|
54
|
+
/** Non-interactive span representing the current page; sets `aria-current="page"`. */
|
|
38
55
|
declare function BreadcrumbPage({
|
|
39
56
|
className,
|
|
40
57
|
...props
|
|
41
|
-
}: React.ComponentProps<'span'>):
|
|
42
|
-
/**
|
|
43
|
-
* Separator between breadcrumb items
|
|
44
|
-
*/
|
|
58
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime55.JSX.Element;
|
|
59
|
+
/** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */
|
|
45
60
|
declare function BreadcrumbSeparator({
|
|
46
61
|
children,
|
|
47
62
|
className,
|
|
48
63
|
...props
|
|
49
|
-
}: React.ComponentProps<'li'>):
|
|
50
|
-
/**
|
|
51
|
-
* Ellipsis for collapsed breadcrumbs
|
|
52
|
-
*/
|
|
64
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime55.JSX.Element;
|
|
65
|
+
/** Button that represents collapsed breadcrumb segments with an ellipsis icon. */
|
|
53
66
|
declare function BreadcrumbEllipsis({
|
|
54
67
|
className,
|
|
55
68
|
...props
|
|
56
|
-
}: React.ComponentProps<'button'>):
|
|
69
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime55.JSX.Element;
|
|
57
70
|
//#endregion
|
|
58
71
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
59
72
|
//# sourceMappingURL=breadcrumb.d.cts.map
|
package/dist/ui/breadcrumb.d.mts
CHANGED
|
@@ -1,29 +1,48 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
|
+
|
|
4
5
|
/**
|
|
5
|
-
* Root breadcrumb navigation
|
|
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
|
+
* ```
|
|
6
27
|
*/
|
|
7
28
|
declare function Breadcrumb({
|
|
8
29
|
className,
|
|
9
30
|
...props
|
|
10
|
-
}: React.ComponentProps<'nav'>):
|
|
11
|
-
/**
|
|
12
|
-
* Container for breadcrumb items
|
|
13
|
-
*/
|
|
31
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime55.JSX.Element;
|
|
32
|
+
/** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */
|
|
14
33
|
declare function BreadcrumbList({
|
|
15
34
|
className,
|
|
16
35
|
...props
|
|
17
|
-
}: React.ComponentProps<'ol'>):
|
|
18
|
-
/**
|
|
19
|
-
* Individual breadcrumb item container
|
|
20
|
-
*/
|
|
36
|
+
}: React.ComponentProps<'ol'>): react_jsx_runtime55.JSX.Element;
|
|
37
|
+
/** Individual `<li>` item wrapper inside a BreadcrumbList. */
|
|
21
38
|
declare function BreadcrumbItem({
|
|
22
39
|
className,
|
|
23
40
|
...props
|
|
24
|
-
}: React.ComponentProps<'li'>):
|
|
41
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime55.JSX.Element;
|
|
25
42
|
/**
|
|
26
|
-
* Interactive breadcrumb
|
|
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>`.
|
|
27
46
|
*/
|
|
28
47
|
declare function BreadcrumbLink({
|
|
29
48
|
asChild,
|
|
@@ -31,29 +50,23 @@ declare function BreadcrumbLink({
|
|
|
31
50
|
...props
|
|
32
51
|
}: React.ComponentProps<'a'> & {
|
|
33
52
|
asChild?: boolean;
|
|
34
|
-
}):
|
|
35
|
-
/**
|
|
36
|
-
* Current page breadcrumb (non-interactive)
|
|
37
|
-
*/
|
|
53
|
+
}): react_jsx_runtime55.JSX.Element;
|
|
54
|
+
/** Non-interactive span representing the current page; sets `aria-current="page"`. */
|
|
38
55
|
declare function BreadcrumbPage({
|
|
39
56
|
className,
|
|
40
57
|
...props
|
|
41
|
-
}: React.ComponentProps<'span'>):
|
|
42
|
-
/**
|
|
43
|
-
* Separator between breadcrumb items
|
|
44
|
-
*/
|
|
58
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime55.JSX.Element;
|
|
59
|
+
/** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */
|
|
45
60
|
declare function BreadcrumbSeparator({
|
|
46
61
|
children,
|
|
47
62
|
className,
|
|
48
63
|
...props
|
|
49
|
-
}: React.ComponentProps<'li'>):
|
|
50
|
-
/**
|
|
51
|
-
* Ellipsis for collapsed breadcrumbs
|
|
52
|
-
*/
|
|
64
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime55.JSX.Element;
|
|
65
|
+
/** Button that represents collapsed breadcrumb segments with an ellipsis icon. */
|
|
53
66
|
declare function BreadcrumbEllipsis({
|
|
54
67
|
className,
|
|
55
68
|
...props
|
|
56
|
-
}: React.ComponentProps<'button'>):
|
|
69
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime55.JSX.Element;
|
|
57
70
|
//#endregion
|
|
58
71
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
59
72
|
//# sourceMappingURL=breadcrumb.d.mts.map
|
package/dist/ui/breadcrumb.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{t as e}from"../dist-
|
|
1
|
+
"use client";import{t as e}from"../dist-CIN9T2FB.mjs";import{ChevronRight as t,MoreHorizontal as n}from"lucide-react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{cn as a}from"@customafk/react-toolkit/utils";function o({className:e,...t}){return r(`nav`,{"aria-label":`breadcrumb`,"data-slot":`breadcrumb`,className:a(``,e),...t})}function s({className:e,...t}){return r(`ol`,{"data-slot":`breadcrumb-list`,className:a(`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 r(`li`,{"data-slot":`breadcrumb-item`,className:a(`inline-flex items-center gap-1.5`,e),...t})}function l({asChild:t,className:n,...i}){return r(t?e:`a`,{"data-slot":`breadcrumb-link`,className:a(`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),...i})}function u({className:e,...t}){return r(`span`,{"data-slot":`breadcrumb-page`,"aria-current":`page`,className:a(`text-text-positive-strong font-medium`,e),...t})}function d({children:e,className:n,...i}){return r(`li`,{"data-slot":`breadcrumb-separator`,role:`presentation`,"aria-hidden":`true`,className:a(`text-text-positive-muted`,`[&>svg]:size-3.5`,n),...i,children:e??r(t,{})})}function f({className:e,...t}){return i(`button`,{"data-slot":`breadcrumb-ellipsis`,type:`button`,className:a(`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:[r(n,{className:`size-4`}),r(`span`,{className:`sr-only`,children:`Show more breadcrumbs`})]})}export{o as Breadcrumb,f as BreadcrumbEllipsis,c as BreadcrumbItem,l as BreadcrumbLink,s as BreadcrumbList,u as BreadcrumbPage,d as BreadcrumbSeparator};
|
|
2
2
|
//# sourceMappingURL=breadcrumb.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.mjs","names":[],"sources":["../../packages/components/ui/breadcrumb.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { ChevronRight, MoreHorizontal } from 'lucide-react';\n\nimport { Slot } from '@radix-ui/react-slot';\n\n/**\n * Root breadcrumb navigation
|
|
1
|
+
{"version":3,"file":"breadcrumb.mjs","names":[],"sources":["../../packages/components/ui/breadcrumb.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { ChevronRight, MoreHorizontal } from 'lucide-react';\n\nimport { Slot } from '@radix-ui/react-slot';\n\n/**\n * Root breadcrumb navigation `<nav>` element with accessible aria-label.\n *\n * @example\n * ```tsx\n * import {\n * Breadcrumb, BreadcrumbList, BreadcrumbItem,\n * BreadcrumbLink, BreadcrumbSeparator, BreadcrumbPage,\n * } from '@customafk/lunas-ui/ui/breadcrumb';\n *\n * <Breadcrumb>\n * <BreadcrumbList>\n * <BreadcrumbItem>\n * <BreadcrumbLink href=\"/\">Home</BreadcrumbLink>\n * </BreadcrumbItem>\n * <BreadcrumbSeparator />\n * <BreadcrumbItem>\n * <BreadcrumbPage>Settings</BreadcrumbPage>\n * </BreadcrumbItem>\n * </BreadcrumbList>\n * </Breadcrumb>\n * ```\n */\nfunction Breadcrumb({ className, ...props }: React.ComponentProps<'nav'>) {\n return <nav aria-label=\"breadcrumb\" data-slot=\"breadcrumb\" className={cn('', className)} {...props} />;\n}\n\n/** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */\nfunction BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>) {\n return (\n <ol\n data-slot=\"breadcrumb-list\"\n className={cn('flex flex-wrap items-center gap-1.5 sm:gap-2.5', 'text-sm break-words', 'text-text-positive-weak', className)}\n {...props}\n />\n );\n}\n\n/** Individual `<li>` item wrapper inside a BreadcrumbList. */\nfunction BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"breadcrumb-item\" className={cn('inline-flex items-center gap-1.5', className)} {...props} />;\n}\n\n/**\n * Interactive anchor link for non-current breadcrumb segments; supports `asChild` for custom routing.\n *\n * @param asChild - When true, renders as the child element via Radix Slot instead of `<a>`.\n */\nfunction BreadcrumbLink({\n asChild,\n className,\n ...props\n}: React.ComponentProps<'a'> & {\n asChild?: boolean;\n}) {\n const Comp = asChild ? Slot : 'a';\n\n return (\n <Comp\n data-slot=\"breadcrumb-link\"\n className={cn(\n 'text-text-positive-weak',\n 'transition-colors duration-150',\n 'hover:text-text-positive focus-visible:text-text-positive',\n 'focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1',\n 'rounded-sm',\n className\n )}\n {...props}\n />\n );\n}\n\n/** Non-interactive span representing the current page; sets `aria-current=\"page\"`. */\nfunction BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>) {\n return <span data-slot=\"breadcrumb-page\" aria-current=\"page\" className={cn('text-text-positive-strong font-medium', className)} {...props} />;\n}\n\n/** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */\nfunction BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>) {\n return (\n <li\n data-slot=\"breadcrumb-separator\"\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn('text-text-positive-muted', '[&>svg]:size-3.5', className)}\n {...props}\n >\n {children ?? <ChevronRight />}\n </li>\n );\n}\n\n/** Button that represents collapsed breadcrumb segments with an ellipsis icon. */\nfunction BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'button'>) {\n return (\n <button\n data-slot=\"breadcrumb-ellipsis\"\n type=\"button\"\n className={cn(\n 'flex items-center justify-center',\n 'size-8 rounded-sm',\n 'text-text-positive-weak',\n 'hover:bg-secondary-muted hover:text-text-positive',\n 'focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1',\n 'transition-colors duration-150',\n className\n )}\n {...props}\n >\n <MoreHorizontal className=\"size-4\" />\n <span className=\"sr-only\">Show more breadcrumbs</span>\n </button>\n );\n}\n\nexport { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };\n"],"mappings":"4NA+BA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAC,MAAA,CAAI,aAAW,aAAa,YAAU,aAAa,UAAW,EAAG,GAAI,EAAU,CAAE,GAAI,GAAS,CAIxG,SAAS,EAAe,CAAE,YAAW,GAAG,GAAqC,CAC3E,OACE,EAAC,KAAA,CACC,YAAU,kBACV,UAAW,EAAG,iDAAkD,sBAAuB,0BAA2B,EAAU,CAC5H,GAAI,GACJ,CAKN,SAAS,EAAe,CAAE,YAAW,GAAG,GAAqC,CAC3E,OAAO,EAAC,KAAA,CAAG,YAAU,kBAAkB,UAAW,EAAG,mCAAoC,EAAU,CAAE,GAAI,GAAS,CAQpH,SAAS,EAAe,CACtB,UACA,YACA,GAAG,GAGF,CAGD,OACE,EAHW,EAAU,EAAO,IAAA,CAI1B,YAAU,kBACV,UAAW,EACT,0BACA,iCACA,4DACA,8FACA,aACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAe,CAAE,YAAW,GAAG,GAAuC,CAC7E,OAAO,EAAC,OAAA,CAAK,YAAU,kBAAkB,eAAa,OAAO,UAAW,EAAG,wCAAyC,EAAU,CAAE,GAAI,GAAS,CAI/I,SAAS,EAAoB,CAAE,WAAU,YAAW,GAAG,GAAqC,CAC1F,OACE,EAAC,KAAA,CACC,YAAU,uBACV,KAAK,eACL,cAAY,OACZ,UAAW,EAAG,2BAA4B,mBAAoB,EAAU,CACxE,GAAI,WAEH,GAAY,EAAC,EAAA,EAAA,CAAe,EAC1B,CAKT,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAyC,CACnF,OACE,EAAC,SAAA,CACC,YAAU,sBACV,KAAK,SACL,UAAW,EACT,mCACA,oBACA,0BACA,oDACA,8FACA,iCACA,EACD,CACD,GAAI,YAEJ,EAAC,EAAA,CAAe,UAAU,SAAA,CAAW,CACrC,EAAC,OAAA,CAAK,UAAU,mBAAU,yBAA4B,CAAA,EAC/C"}
|
package/dist/ui/button-group.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../dist-
|
|
1
|
+
const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../dist-Dh8WwRa8.cjs`),n=require(`../separator-BwZb12bh.cjs`);let r=require(`react/jsx-runtime`),i=require(`@customafk/react-toolkit/utils`),a=require(`class-variance-authority`);const o=(0,a.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,r.jsx)(`div`,{role:`group`,"data-slot":`button-group`,"data-orientation":t,className:(0,i.cn)(o({orientation:t}),e),...n})}function c({className:e,asChild:n=!1,...a}){return(0,r.jsx)(n?t.t:`div`,{className:(0,i.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),...a})}function l({className:e,orientation:t=`vertical`,...a}){return(0,r.jsx)(n.t,{"data-slot":`button-group-separator`,orientation:t,className:(0,i.cn)(`relative m-0! self-stretch bg-muted-muted data-[orientation=vertical]:h-auto`,e),...a})}exports.ButtonGroup=s,exports.ButtonGroupSeparator=l,exports.ButtonGroupText=c,exports.buttonGroupVariants=o;
|
|
2
2
|
//# sourceMappingURL=button-group.cjs.map
|