@customafk/lunas-ui 0.2.4 → 0.2.6
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-5MxGtf3j.d.mts +88 -0
- package/dist/alert-DIC1_ymv.cjs +2 -0
- package/dist/alert-DIC1_ymv.cjs.map +1 -0
- package/dist/alert-DwdUOFaC.d.cts +88 -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-sL8O2yfv.d.mts +42 -0
- package/dist/badge-uQ0pIZbQ.cjs +2 -0
- package/dist/badge-uQ0pIZbQ.cjs.map +1 -0
- package/dist/button-BlQb81It.d.mts +174 -0
- package/dist/button-C6ybzxxj.mjs +2 -0
- package/dist/button-C6ybzxxj.mjs.map +1 -0
- package/dist/button-CEOQ3-82.d.cts +174 -0
- package/dist/button-CwDT3m4m.cjs +2 -0
- 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-CG-WMM8e.cjs → calendar-CyAPpT2m.cjs} +2 -2
- 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 +16 -0
- 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-_zpTaaIk.cjs → command-SHd-d_o0.cjs} +2 -2
- package/dist/command-SHd-d_o0.cjs.map +1 -0
- package/dist/{command-DhBTNTqz.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 +35 -6
- 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-Bah7jLoO.d.cts +90 -0
- package/dist/dialog-BchwY6-N.mjs +2 -0
- package/dist/dialog-BchwY6-N.mjs.map +1 -0
- package/dist/dialog-DSg5IKmb.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 +71 -24
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +71 -24
- 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-CvmzZ_6C.mjs → dist-CIN9T2FB.mjs} +1 -1
- package/dist/{dist-CvmzZ_6C.mjs.map → dist-CIN9T2FB.mjs.map} +1 -1
- package/dist/{dist-BudM04oj.cjs → dist-Dh8WwRa8.cjs} +1 -1
- package/dist/{dist-BudM04oj.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 +742 -20
- 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-BP8sTi70.mjs → flex-BLMTj7Ev.mjs} +2 -2
- package/dist/flex-BLMTj7Ev.mjs.map +1 -0
- package/dist/{flex-twCgWyx1.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-DuFv8sPr.cjs → image-B1Dm5LWk.cjs} +2 -2
- package/dist/image-B1Dm5LWk.cjs.map +1 -0
- package/dist/{image-CS_Q0WA7.mjs → image-BlzrSaoE.mjs} +2 -2
- package/dist/image-BlzrSaoE.mjs.map +1 -0
- package/dist/index-D4shnfqM.d.cts +2030 -0
- package/dist/index-Dktb6D35.d.mts +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-DBtIgQB6.mjs → input-Cd0G5y-9.mjs} +2 -2
- package/dist/input-Cd0G5y-9.mjs.map +1 -0
- package/dist/{input-BFWWaN-v.cjs → input-Cl5VkKQh.cjs} +2 -2
- package/dist/input-Cl5VkKQh.cjs.map +1 -0
- package/dist/input-DAGzv97v.d.mts +44 -0
- package/dist/input-DPLvx5x8.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 +90 -6
- 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-Ch5TvEqL.mjs +2 -0
- package/dist/paragraph-Ch5TvEqL.mjs.map +1 -0
- package/dist/paragraph-DN85Huc4.cjs +2 -0
- 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-mlGS6Zto.cjs → resizable-D6UKwvFa.cjs} +2 -2
- package/dist/resizable-D6UKwvFa.cjs.map +1 -0
- package/dist/{resizable-DXHfkbaz.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.map +1 -1
- package/dist/systems/google.d.cts +36 -0
- package/dist/systems/google.d.mts +36 -0
- package/dist/systems/google.mjs.map +1 -1
- package/dist/tables-CmOVrvXM.cjs +2 -0
- package/dist/tables-CmOVrvXM.cjs.map +1 -0
- package/dist/tables-cBo0_szt.mjs +2 -0
- package/dist/tables-cBo0_szt.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-COQoSVSc.cjs → textarea-BsgmN4jy.cjs} +2 -2
- package/dist/textarea-BsgmN4jy.cjs.map +1 -0
- package/dist/{textarea-bLtmb71c.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 +40 -20
- package/dist/typography/paragraph.d.mts +40 -20
- 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 +33 -5
- package/dist/typography/title.d.mts +33 -5
- 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 +41 -9
- 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 +24 -24
- 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 +51 -7
- 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 +56 -16
- package/dist/ui/item.d.mts +56 -16
- 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 +123 -26
- 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 +44 -9
- 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 +15 -2
- 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 +14 -5
- package/styles/theme.css +44 -23
- 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-BFcXpjqF.cjs +0 -2
- package/dist/button-BFcXpjqF.cjs.map +0 -1
- package/dist/button-BQTNG97Y.mjs +0 -2
- package/dist/button-BQTNG97Y.mjs.map +0 -1
- package/dist/button-BX8Kz9y6.d.cts +0 -59
- package/dist/button-Bo4oQsyD.d.mts +0 -59
- package/dist/button.variants-CS-Cmarr.cjs +0 -2
- package/dist/button.variants-CS-Cmarr.cjs.map +0 -1
- package/dist/button.variants-DRWf66hR.mjs +0 -2
- package/dist/button.variants-DRWf66hR.mjs.map +0 -1
- package/dist/calendar-CG-WMM8e.cjs.map +0 -1
- package/dist/calendar-CfOkrubO.mjs +0 -2
- package/dist/calendar-CfOkrubO.mjs.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-DhBTNTqz.mjs.map +0 -1
- package/dist/command-_zpTaaIk.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-By93kONr.mjs +0 -2
- package/dist/date-By93kONr.mjs.map +0 -1
- package/dist/date-em5f7hCx.cjs +0 -2
- package/dist/date-em5f7hCx.cjs.map +0 -1
- package/dist/dialog-CxELDK98.mjs +0 -2
- package/dist/dialog-CxELDK98.mjs.map +0 -1
- package/dist/dialog-DjRiV5vR.cjs +0 -2
- package/dist/dialog-DjRiV5vR.cjs.map +0 -1
- package/dist/dialog-PWeGBpsm.d.mts +0 -47
- package/dist/dialog-aSu9xFOW.d.cts +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/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-BP8sTi70.mjs.map +0 -1
- package/dist/flex-twCgWyx1.cjs.map +0 -1
- package/dist/heading--VmdIi7C.mjs +0 -2
- package/dist/heading--VmdIi7C.mjs.map +0 -1
- package/dist/heading-BEm5CCSE.cjs +0 -2
- package/dist/heading-BEm5CCSE.cjs.map +0 -1
- package/dist/image-CS_Q0WA7.mjs.map +0 -1
- package/dist/image-DuFv8sPr.cjs.map +0 -1
- package/dist/input-BFWWaN-v.cjs.map +0 -1
- package/dist/input-BgHvD7zf.d.mts +0 -25
- package/dist/input-DBtIgQB6.mjs.map +0 -1
- package/dist/input-DhQmoNrK.d.cts +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-B72bHMf7.cjs +0 -2
- package/dist/paragraph-B72bHMf7.cjs.map +0 -1
- package/dist/paragraph-moBSTPmT.mjs +0 -2
- package/dist/paragraph-moBSTPmT.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-DXHfkbaz.mjs.map +0 -1
- package/dist/resizable-mlGS6Zto.cjs.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-COQoSVSc.cjs.map +0 -1
- package/dist/textarea-bLtmb71c.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
|
@@ -1,25 +1,57 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime143 from "react/jsx-runtime";
|
|
2
2
|
import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dropdown-menu.d.ts
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Root provider for the DropdownMenu — wraps all sub-components and controls open state.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import {
|
|
12
|
+
* DropdownMenu, DropdownMenuTrigger, DropdownMenuContent,
|
|
13
|
+
* DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator,
|
|
14
|
+
* } from '@customafk/lunas-ui/ui/dropdown-menu';
|
|
15
|
+
*
|
|
16
|
+
* <DropdownMenu>
|
|
17
|
+
* <DropdownMenuTrigger>Options</DropdownMenuTrigger>
|
|
18
|
+
* <DropdownMenuContent>
|
|
19
|
+
* <DropdownMenuLabel>My Account</DropdownMenuLabel>
|
|
20
|
+
* <DropdownMenuSeparator />
|
|
21
|
+
* <DropdownMenuItem>Profile</DropdownMenuItem>
|
|
22
|
+
* <DropdownMenuItem variant="destructive">Delete</DropdownMenuItem>
|
|
23
|
+
* </DropdownMenuContent>
|
|
24
|
+
* </DropdownMenu>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
5
27
|
declare function DropdownMenu({
|
|
6
28
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Root>):
|
|
29
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime143.JSX.Element;
|
|
30
|
+
/** Portals DropdownMenu content outside the current DOM hierarchy. */
|
|
8
31
|
declare function DropdownMenuPortal({
|
|
9
32
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Portal>):
|
|
33
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime143.JSX.Element;
|
|
34
|
+
/** Element that opens the DropdownMenu when activated. */
|
|
11
35
|
declare function DropdownMenuTrigger({
|
|
12
36
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>):
|
|
37
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime143.JSX.Element;
|
|
38
|
+
/** Animated floating panel that contains the dropdown items. */
|
|
14
39
|
declare function DropdownMenuContent({
|
|
15
40
|
className,
|
|
16
41
|
sideOffset,
|
|
17
42
|
align,
|
|
18
43
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Content>):
|
|
44
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime143.JSX.Element;
|
|
45
|
+
/** Groups related DropdownMenuItems under a shared logical section. */
|
|
20
46
|
declare function DropdownMenuGroup({
|
|
21
47
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Group>):
|
|
48
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime143.JSX.Element;
|
|
49
|
+
/**
|
|
50
|
+
* A single clickable row inside a DropdownMenuContent.
|
|
51
|
+
*
|
|
52
|
+
* @param inset - When true, adds left padding to align with items that have icons.
|
|
53
|
+
* @param variant - Visual style: `'default'` or `'destructive'`.
|
|
54
|
+
*/
|
|
23
55
|
declare function DropdownMenuItem({
|
|
24
56
|
className,
|
|
25
57
|
inset,
|
|
@@ -28,39 +60,55 @@ declare function DropdownMenuItem({
|
|
|
28
60
|
}: React.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
29
61
|
inset?: boolean;
|
|
30
62
|
variant?: 'default' | 'destructive';
|
|
31
|
-
}):
|
|
63
|
+
}): react_jsx_runtime143.JSX.Element;
|
|
64
|
+
/** A checkable menu item that displays a checkmark when selected. */
|
|
32
65
|
declare function DropdownMenuCheckboxItem({
|
|
33
66
|
className,
|
|
34
67
|
children,
|
|
35
68
|
checked,
|
|
36
69
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>):
|
|
70
|
+
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime143.JSX.Element;
|
|
71
|
+
/** Groups DropdownMenuRadioItems so only one can be selected at a time. */
|
|
38
72
|
declare function DropdownMenuRadioGroup({
|
|
39
73
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>):
|
|
74
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime143.JSX.Element;
|
|
75
|
+
/** A radio-button menu item; shows a filled circle when selected. */
|
|
41
76
|
declare function DropdownMenuRadioItem({
|
|
42
77
|
className,
|
|
43
78
|
children,
|
|
44
79
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>):
|
|
80
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime143.JSX.Element;
|
|
81
|
+
/**
|
|
82
|
+
* Non-interactive label used to describe a group of items.
|
|
83
|
+
*
|
|
84
|
+
* @param inset - When true, adds left padding to align with inset items.
|
|
85
|
+
*/
|
|
46
86
|
declare function DropdownMenuLabel({
|
|
47
87
|
className,
|
|
48
88
|
inset,
|
|
49
89
|
...props
|
|
50
90
|
}: React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
51
91
|
inset?: boolean;
|
|
52
|
-
}):
|
|
92
|
+
}): react_jsx_runtime143.JSX.Element;
|
|
93
|
+
/** Horizontal dividing line between groups of dropdown items. */
|
|
53
94
|
declare function DropdownMenuSeparator({
|
|
54
95
|
className,
|
|
55
96
|
...props
|
|
56
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Separator>):
|
|
97
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime143.JSX.Element;
|
|
98
|
+
/** Displays a keyboard shortcut hint aligned to the right of a menu item. */
|
|
57
99
|
declare function DropdownMenuShortcut({
|
|
58
100
|
className,
|
|
59
101
|
...props
|
|
60
|
-
}: React.ComponentProps<'span'>):
|
|
102
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime143.JSX.Element;
|
|
103
|
+
/** Root container for a nested sub-menu inside a DropdownMenu. */
|
|
61
104
|
declare function DropdownMenuSub({
|
|
62
105
|
...props
|
|
63
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Sub>):
|
|
106
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime143.JSX.Element;
|
|
107
|
+
/**
|
|
108
|
+
* Menu item that reveals a nested DropdownMenuSubContent on hover or activation.
|
|
109
|
+
*
|
|
110
|
+
* @param inset - When true, adds left padding to align with inset items.
|
|
111
|
+
*/
|
|
64
112
|
declare function DropdownMenuSubTrigger({
|
|
65
113
|
className,
|
|
66
114
|
inset,
|
|
@@ -68,11 +116,12 @@ declare function DropdownMenuSubTrigger({
|
|
|
68
116
|
...props
|
|
69
117
|
}: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
70
118
|
inset?: boolean;
|
|
71
|
-
}):
|
|
119
|
+
}): react_jsx_runtime143.JSX.Element;
|
|
120
|
+
/** Floating panel that contains the items of a nested sub-menu. */
|
|
72
121
|
declare function DropdownMenuSubContent({
|
|
73
122
|
className,
|
|
74
123
|
...props
|
|
75
|
-
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>):
|
|
124
|
+
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime143.JSX.Element;
|
|
76
125
|
//#endregion
|
|
77
126
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
78
127
|
//# sourceMappingURL=dropdown-menu.d.cts.map
|
|
@@ -1,25 +1,57 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime234 from "react/jsx-runtime";
|
|
2
2
|
import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dropdown-menu.d.ts
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Root provider for the DropdownMenu — wraps all sub-components and controls open state.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import {
|
|
12
|
+
* DropdownMenu, DropdownMenuTrigger, DropdownMenuContent,
|
|
13
|
+
* DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator,
|
|
14
|
+
* } from '@customafk/lunas-ui/ui/dropdown-menu';
|
|
15
|
+
*
|
|
16
|
+
* <DropdownMenu>
|
|
17
|
+
* <DropdownMenuTrigger>Options</DropdownMenuTrigger>
|
|
18
|
+
* <DropdownMenuContent>
|
|
19
|
+
* <DropdownMenuLabel>My Account</DropdownMenuLabel>
|
|
20
|
+
* <DropdownMenuSeparator />
|
|
21
|
+
* <DropdownMenuItem>Profile</DropdownMenuItem>
|
|
22
|
+
* <DropdownMenuItem variant="destructive">Delete</DropdownMenuItem>
|
|
23
|
+
* </DropdownMenuContent>
|
|
24
|
+
* </DropdownMenu>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
5
27
|
declare function DropdownMenu({
|
|
6
28
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Root>):
|
|
29
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime234.JSX.Element;
|
|
30
|
+
/** Portals DropdownMenu content outside the current DOM hierarchy. */
|
|
8
31
|
declare function DropdownMenuPortal({
|
|
9
32
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Portal>):
|
|
33
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime234.JSX.Element;
|
|
34
|
+
/** Element that opens the DropdownMenu when activated. */
|
|
11
35
|
declare function DropdownMenuTrigger({
|
|
12
36
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>):
|
|
37
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime234.JSX.Element;
|
|
38
|
+
/** Animated floating panel that contains the dropdown items. */
|
|
14
39
|
declare function DropdownMenuContent({
|
|
15
40
|
className,
|
|
16
41
|
sideOffset,
|
|
17
42
|
align,
|
|
18
43
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Content>):
|
|
44
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime234.JSX.Element;
|
|
45
|
+
/** Groups related DropdownMenuItems under a shared logical section. */
|
|
20
46
|
declare function DropdownMenuGroup({
|
|
21
47
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Group>):
|
|
48
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime234.JSX.Element;
|
|
49
|
+
/**
|
|
50
|
+
* A single clickable row inside a DropdownMenuContent.
|
|
51
|
+
*
|
|
52
|
+
* @param inset - When true, adds left padding to align with items that have icons.
|
|
53
|
+
* @param variant - Visual style: `'default'` or `'destructive'`.
|
|
54
|
+
*/
|
|
23
55
|
declare function DropdownMenuItem({
|
|
24
56
|
className,
|
|
25
57
|
inset,
|
|
@@ -28,39 +60,55 @@ declare function DropdownMenuItem({
|
|
|
28
60
|
}: React.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
29
61
|
inset?: boolean;
|
|
30
62
|
variant?: 'default' | 'destructive';
|
|
31
|
-
}):
|
|
63
|
+
}): react_jsx_runtime234.JSX.Element;
|
|
64
|
+
/** A checkable menu item that displays a checkmark when selected. */
|
|
32
65
|
declare function DropdownMenuCheckboxItem({
|
|
33
66
|
className,
|
|
34
67
|
children,
|
|
35
68
|
checked,
|
|
36
69
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>):
|
|
70
|
+
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime234.JSX.Element;
|
|
71
|
+
/** Groups DropdownMenuRadioItems so only one can be selected at a time. */
|
|
38
72
|
declare function DropdownMenuRadioGroup({
|
|
39
73
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>):
|
|
74
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime234.JSX.Element;
|
|
75
|
+
/** A radio-button menu item; shows a filled circle when selected. */
|
|
41
76
|
declare function DropdownMenuRadioItem({
|
|
42
77
|
className,
|
|
43
78
|
children,
|
|
44
79
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>):
|
|
80
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime234.JSX.Element;
|
|
81
|
+
/**
|
|
82
|
+
* Non-interactive label used to describe a group of items.
|
|
83
|
+
*
|
|
84
|
+
* @param inset - When true, adds left padding to align with inset items.
|
|
85
|
+
*/
|
|
46
86
|
declare function DropdownMenuLabel({
|
|
47
87
|
className,
|
|
48
88
|
inset,
|
|
49
89
|
...props
|
|
50
90
|
}: React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
51
91
|
inset?: boolean;
|
|
52
|
-
}):
|
|
92
|
+
}): react_jsx_runtime234.JSX.Element;
|
|
93
|
+
/** Horizontal dividing line between groups of dropdown items. */
|
|
53
94
|
declare function DropdownMenuSeparator({
|
|
54
95
|
className,
|
|
55
96
|
...props
|
|
56
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Separator>):
|
|
97
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime234.JSX.Element;
|
|
98
|
+
/** Displays a keyboard shortcut hint aligned to the right of a menu item. */
|
|
57
99
|
declare function DropdownMenuShortcut({
|
|
58
100
|
className,
|
|
59
101
|
...props
|
|
60
|
-
}: React.ComponentProps<'span'>):
|
|
102
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime234.JSX.Element;
|
|
103
|
+
/** Root container for a nested sub-menu inside a DropdownMenu. */
|
|
61
104
|
declare function DropdownMenuSub({
|
|
62
105
|
...props
|
|
63
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Sub>):
|
|
106
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime234.JSX.Element;
|
|
107
|
+
/**
|
|
108
|
+
* Menu item that reveals a nested DropdownMenuSubContent on hover or activation.
|
|
109
|
+
*
|
|
110
|
+
* @param inset - When true, adds left padding to align with inset items.
|
|
111
|
+
*/
|
|
64
112
|
declare function DropdownMenuSubTrigger({
|
|
65
113
|
className,
|
|
66
114
|
inset,
|
|
@@ -68,11 +116,12 @@ declare function DropdownMenuSubTrigger({
|
|
|
68
116
|
...props
|
|
69
117
|
}: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
70
118
|
inset?: boolean;
|
|
71
|
-
}):
|
|
119
|
+
}): react_jsx_runtime234.JSX.Element;
|
|
120
|
+
/** Floating panel that contains the items of a nested sub-menu. */
|
|
72
121
|
declare function DropdownMenuSubContent({
|
|
73
122
|
className,
|
|
74
123
|
...props
|
|
75
|
-
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>):
|
|
124
|
+
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime234.JSX.Element;
|
|
76
125
|
//#endregion
|
|
77
126
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
78
127
|
//# sourceMappingURL=dropdown-menu.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a as e,c as t,d as n,f as r,h as i,i as a,l as o,m as s,n as c,o as l,p as u,r as d,s as f,t as p,u as m}from"../dropdown-menu-
|
|
1
|
+
"use client";import{a as e,c as t,d as n,f as r,h as i,i as a,l as o,m as s,n as c,o as l,p as u,r as d,s as f,t as p,u as m}from"../dropdown-menu-DWSfXhHo.mjs";export{p as DropdownMenu,c as DropdownMenuCheckboxItem,d as DropdownMenuContent,a as DropdownMenuGroup,e as DropdownMenuItem,l as DropdownMenuLabel,f as DropdownMenuPortal,t as DropdownMenuRadioGroup,o as DropdownMenuRadioItem,m as DropdownMenuSeparator,n as DropdownMenuShortcut,r as DropdownMenuSub,u as DropdownMenuSubContent,s as DropdownMenuSubTrigger,i as DropdownMenuTrigger};
|
package/dist/ui/empty.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(`@customafk/react-toolkit/utils`),
|
|
1
|
+
const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(`react/jsx-runtime`),n=require(`@customafk/react-toolkit/utils`),r=require(`class-variance-authority`);function i({className:e,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty`,className:(0,n.cn)(`flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12`,e),...r})}function a({className:e,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-header`,className:(0,n.cn)(`flex max-w-sm flex-col items-center gap-2 text-center`,e),...r})}const o=(0,r.cva)(`flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{default:`bg-transparent`,icon:`bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6`}},defaultVariants:{variant:`default`}});function s({className:e,variant:r=`default`,...i}){return(0,t.jsx)(`div`,{"data-slot":`empty-icon`,"data-variant":r,className:(0,n.cn)(o({variant:r,className:e})),...i})}function c({className:e,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-title`,className:(0,n.cn)(`text-lg font-medium tracking-tight`,e),...r})}function l({className:e,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-description`,className:(0,n.cn)(`text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4`,e),...r})}function u({className:e,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-content`,className:(0,n.cn)(`flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance`,e),...r})}exports.Empty=i,exports.EmptyContent=u,exports.EmptyDescription=l,exports.EmptyHeader=a,exports.EmptyMedia=s,exports.EmptyTitle=c;
|
|
2
2
|
//# sourceMappingURL=empty.cjs.map
|
package/dist/ui/empty.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.cjs","names":[],"sources":["../../packages/components/ui/empty.tsx"],"sourcesContent":["import { cn } from '@customafk/react-toolkit/utils';\n\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\nfunction Empty({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty\"\n className={cn('flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12', className)}\n {...props}\n />\n );\n}\n\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-header\" className={cn('flex max-w-sm flex-col items-center gap-2 text-center', className)} {...props} />;\n}\n\nconst emptyMediaVariants = cva('flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0', {\n variants: {\n variant: {\n default: 'bg-transparent',\n icon: \"bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nfunction EmptyMedia({ className, variant = 'default', ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>) {\n return <div data-slot=\"empty-icon\" data-variant={variant} className={cn(emptyMediaVariants({ variant, className }))} {...props} />;\n}\n\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-title\" className={cn('text-lg font-medium tracking-tight', className)} {...props} />;\n}\n\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn('text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4', className)}\n {...props}\n />\n );\n}\n\nfunction EmptyContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"empty-content\" className={cn('flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance', className)} {...props} />\n );\n}\n\nexport { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"empty.cjs","names":[],"sources":["../../packages/components/ui/empty.tsx"],"sourcesContent":["import { cn } from '@customafk/react-toolkit/utils';\n\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\n/**\n * Full-page or section empty-state container with centred layout and dashed border, composed with EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, and EmptyContent.\n *\n * @example\n * ```tsx\n * import {\n * Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent,\n * } from '@customafk/lunas-ui/ui/empty';\n * import { SearchX } from 'lucide-react';\n *\n * <Empty>\n * <EmptyHeader>\n * <EmptyMedia variant=\"icon\"><SearchX /></EmptyMedia>\n * <EmptyTitle>No results found</EmptyTitle>\n * <EmptyDescription>Try adjusting your search filters.</EmptyDescription>\n * </EmptyHeader>\n * <EmptyContent>\n * <button>Reset filters</button>\n * </EmptyContent>\n * </Empty>\n * ```\n */\nfunction Empty({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty\"\n className={cn('flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12', className)}\n {...props}\n />\n );\n}\n\n/** Centred column container for the media, title, and description of an empty state. */\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-header\" className={cn('flex max-w-sm flex-col items-center gap-2 text-center', className)} {...props} />;\n}\n\nconst emptyMediaVariants = cva('flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0', {\n variants: {\n variant: {\n default: 'bg-transparent',\n icon: \"bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\n/**\n * Container for the visual element (illustration, icon, or image) in an empty state.\n *\n * @param variant - `'default'` renders a transparent wrapper; `'icon'` renders a rounded muted square with the icon centred inside.\n */\nfunction EmptyMedia({ className, variant = 'default', ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>) {\n return <div data-slot=\"empty-icon\" data-variant={variant} className={cn(emptyMediaVariants({ variant, className }))} {...props} />;\n}\n\n/** Prominent heading text for the empty state. */\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-title\" className={cn('text-lg font-medium tracking-tight', className)} {...props} />;\n}\n\n/** Supporting body text that explains the empty state to the user. */\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn('text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4', className)}\n {...props}\n />\n );\n}\n\n/** Action area below the header — typically holds buttons or links to help the user proceed. */\nfunction EmptyContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"empty-content\" className={cn('flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance', className)} {...props} />\n );\n}\n\nexport { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia };\n"],"mappings":"8JA2BA,SAAS,EAAM,CAAE,YAAW,GAAG,GAAsC,CACnE,OACE,EAAA,EAAA,KAAC,MAAA,CACC,YAAU,QACV,WAAA,EAAA,EAAA,IAAc,+HAAgI,EAAU,CACxJ,GAAI,GACJ,CAKN,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,wDAAyD,EAAU,CAAE,GAAI,GAAS,CAGvI,MAAM,GAAA,EAAA,EAAA,KAAyB,8FAA+F,CAC5H,SAAU,CACR,QAAS,CACP,QAAS,iBACT,KAAM,2IACP,CACF,CACD,gBAAiB,CACf,QAAS,UACV,CACF,CAAC,CAOF,SAAS,EAAW,CAAE,YAAW,UAAU,UAAW,GAAG,GAAgF,CACvI,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,aAAa,eAAc,EAAS,WAAA,EAAA,EAAA,IAAc,EAAmB,CAAE,UAAS,YAAW,CAAC,CAAC,CAAE,GAAI,GAAS,CAIpI,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,cAAc,WAAA,EAAA,EAAA,IAAc,qCAAsC,EAAU,CAAE,GAAI,GAAS,CAInH,SAAS,EAAiB,CAAE,YAAW,GAAG,GAAoC,CAC5E,OACE,EAAA,EAAA,KAAC,MAAA,CACC,YAAU,oBACV,WAAA,EAAA,EAAA,IAAc,4GAA6G,EAAU,CACrI,GAAI,GACJ,CAKN,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OACE,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,gFAAiF,EAAU,CAAE,GAAI,GAAS"}
|
package/dist/ui/empty.d.cts
CHANGED
|
@@ -1,36 +1,68 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/empty.d.ts
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Full-page or section empty-state container with centred layout and dashed border, composed with EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, and EmptyContent.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* import {
|
|
13
|
+
* Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent,
|
|
14
|
+
* } from '@customafk/lunas-ui/ui/empty';
|
|
15
|
+
* import { SearchX } from 'lucide-react';
|
|
16
|
+
*
|
|
17
|
+
* <Empty>
|
|
18
|
+
* <EmptyHeader>
|
|
19
|
+
* <EmptyMedia variant="icon"><SearchX /></EmptyMedia>
|
|
20
|
+
* <EmptyTitle>No results found</EmptyTitle>
|
|
21
|
+
* <EmptyDescription>Try adjusting your search filters.</EmptyDescription>
|
|
22
|
+
* </EmptyHeader>
|
|
23
|
+
* <EmptyContent>
|
|
24
|
+
* <button>Reset filters</button>
|
|
25
|
+
* </EmptyContent>
|
|
26
|
+
* </Empty>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
6
29
|
declare function Empty({
|
|
7
30
|
className,
|
|
8
31
|
...props
|
|
9
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime90.JSX.Element;
|
|
33
|
+
/** Centred column container for the media, title, and description of an empty state. */
|
|
10
34
|
declare function EmptyHeader({
|
|
11
35
|
className,
|
|
12
36
|
...props
|
|
13
|
-
}: React.ComponentProps<'div'>):
|
|
37
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime90.JSX.Element;
|
|
14
38
|
declare const emptyMediaVariants: (props?: ({
|
|
15
39
|
variant?: "default" | "icon" | null | undefined;
|
|
16
|
-
} &
|
|
40
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
41
|
+
/**
|
|
42
|
+
* Container for the visual element (illustration, icon, or image) in an empty state.
|
|
43
|
+
*
|
|
44
|
+
* @param variant - `'default'` renders a transparent wrapper; `'icon'` renders a rounded muted square with the icon centred inside.
|
|
45
|
+
*/
|
|
17
46
|
declare function EmptyMedia({
|
|
18
47
|
className,
|
|
19
48
|
variant,
|
|
20
49
|
...props
|
|
21
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>):
|
|
50
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime90.JSX.Element;
|
|
51
|
+
/** Prominent heading text for the empty state. */
|
|
22
52
|
declare function EmptyTitle({
|
|
23
53
|
className,
|
|
24
54
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
55
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime90.JSX.Element;
|
|
56
|
+
/** Supporting body text that explains the empty state to the user. */
|
|
26
57
|
declare function EmptyDescription({
|
|
27
58
|
className,
|
|
28
59
|
...props
|
|
29
|
-
}: React.ComponentProps<'p'>):
|
|
60
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime90.JSX.Element;
|
|
61
|
+
/** Action area below the header — typically holds buttons or links to help the user proceed. */
|
|
30
62
|
declare function EmptyContent({
|
|
31
63
|
className,
|
|
32
64
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
65
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime90.JSX.Element;
|
|
34
66
|
//#endregion
|
|
35
67
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
36
68
|
//# sourceMappingURL=empty.d.cts.map
|
package/dist/ui/empty.d.mts
CHANGED
|
@@ -1,36 +1,68 @@
|
|
|
1
|
+
import * as react_jsx_runtime70 from "react/jsx-runtime";
|
|
1
2
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as
|
|
3
|
-
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
3
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/empty.d.ts
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Full-page or section empty-state container with centred layout and dashed border, composed with EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, and EmptyContent.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* import {
|
|
13
|
+
* Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent,
|
|
14
|
+
* } from '@customafk/lunas-ui/ui/empty';
|
|
15
|
+
* import { SearchX } from 'lucide-react';
|
|
16
|
+
*
|
|
17
|
+
* <Empty>
|
|
18
|
+
* <EmptyHeader>
|
|
19
|
+
* <EmptyMedia variant="icon"><SearchX /></EmptyMedia>
|
|
20
|
+
* <EmptyTitle>No results found</EmptyTitle>
|
|
21
|
+
* <EmptyDescription>Try adjusting your search filters.</EmptyDescription>
|
|
22
|
+
* </EmptyHeader>
|
|
23
|
+
* <EmptyContent>
|
|
24
|
+
* <button>Reset filters</button>
|
|
25
|
+
* </EmptyContent>
|
|
26
|
+
* </Empty>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
6
29
|
declare function Empty({
|
|
7
30
|
className,
|
|
8
31
|
...props
|
|
9
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime70.JSX.Element;
|
|
33
|
+
/** Centred column container for the media, title, and description of an empty state. */
|
|
10
34
|
declare function EmptyHeader({
|
|
11
35
|
className,
|
|
12
36
|
...props
|
|
13
|
-
}: React.ComponentProps<'div'>):
|
|
37
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime70.JSX.Element;
|
|
14
38
|
declare const emptyMediaVariants: (props?: ({
|
|
15
39
|
variant?: "default" | "icon" | null | undefined;
|
|
16
|
-
} &
|
|
40
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
41
|
+
/**
|
|
42
|
+
* Container for the visual element (illustration, icon, or image) in an empty state.
|
|
43
|
+
*
|
|
44
|
+
* @param variant - `'default'` renders a transparent wrapper; `'icon'` renders a rounded muted square with the icon centred inside.
|
|
45
|
+
*/
|
|
17
46
|
declare function EmptyMedia({
|
|
18
47
|
className,
|
|
19
48
|
variant,
|
|
20
49
|
...props
|
|
21
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>):
|
|
50
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime70.JSX.Element;
|
|
51
|
+
/** Prominent heading text for the empty state. */
|
|
22
52
|
declare function EmptyTitle({
|
|
23
53
|
className,
|
|
24
54
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
55
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime70.JSX.Element;
|
|
56
|
+
/** Supporting body text that explains the empty state to the user. */
|
|
26
57
|
declare function EmptyDescription({
|
|
27
58
|
className,
|
|
28
59
|
...props
|
|
29
|
-
}: React.ComponentProps<'p'>):
|
|
60
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime70.JSX.Element;
|
|
61
|
+
/** Action area below the header — typically holds buttons or links to help the user proceed. */
|
|
30
62
|
declare function EmptyContent({
|
|
31
63
|
className,
|
|
32
64
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
65
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime70.JSX.Element;
|
|
34
66
|
//#endregion
|
|
35
67
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
36
68
|
//# sourceMappingURL=empty.d.mts.map
|
package/dist/ui/empty.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{cn as t}from"@customafk/react-toolkit/utils";import{cva as n}from"class-variance-authority";function r({className:n,...r}){return e(`div`,{"data-slot":`empty`,className:t(`flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12`,n),...r})}function i({className:n,...r}){return e(`div`,{"data-slot":`empty-header`,className:t(`flex max-w-sm flex-col items-center gap-2 text-center`,n),...r})}const a=n(`flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{default:`bg-transparent`,icon:`bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6`}},defaultVariants:{variant:`default`}});function o({className:n,variant:r=`default`,...i}){return e(`div`,{"data-slot":`empty-icon`,"data-variant":r,className:t(a({variant:r,className:n})),...i})}function s({className:n,...r}){return e(`div`,{"data-slot":`empty-title`,className:t(`text-lg font-medium tracking-tight`,n),...r})}function c({className:n,...r}){return e(`div`,{"data-slot":`empty-description`,className:t(`text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4`,n),...r})}function l({className:n,...r}){return e(`div`,{"data-slot":`empty-content`,className:t(`flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance`,n),...r})}export{r as Empty,l as EmptyContent,c as EmptyDescription,i as EmptyHeader,o as EmptyMedia,s as EmptyTitle};
|
|
2
2
|
//# sourceMappingURL=empty.mjs.map
|
package/dist/ui/empty.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.mjs","names":[],"sources":["../../packages/components/ui/empty.tsx"],"sourcesContent":["import { cn } from '@customafk/react-toolkit/utils';\n\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\nfunction Empty({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty\"\n className={cn('flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12', className)}\n {...props}\n />\n );\n}\n\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-header\" className={cn('flex max-w-sm flex-col items-center gap-2 text-center', className)} {...props} />;\n}\n\nconst emptyMediaVariants = cva('flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0', {\n variants: {\n variant: {\n default: 'bg-transparent',\n icon: \"bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\nfunction EmptyMedia({ className, variant = 'default', ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>) {\n return <div data-slot=\"empty-icon\" data-variant={variant} className={cn(emptyMediaVariants({ variant, className }))} {...props} />;\n}\n\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-title\" className={cn('text-lg font-medium tracking-tight', className)} {...props} />;\n}\n\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn('text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4', className)}\n {...props}\n />\n );\n}\n\nfunction EmptyContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"empty-content\" className={cn('flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance', className)} {...props} />\n );\n}\n\nexport { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"empty.mjs","names":[],"sources":["../../packages/components/ui/empty.tsx"],"sourcesContent":["import { cn } from '@customafk/react-toolkit/utils';\n\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\n/**\n * Full-page or section empty-state container with centred layout and dashed border, composed with EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, and EmptyContent.\n *\n * @example\n * ```tsx\n * import {\n * Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent,\n * } from '@customafk/lunas-ui/ui/empty';\n * import { SearchX } from 'lucide-react';\n *\n * <Empty>\n * <EmptyHeader>\n * <EmptyMedia variant=\"icon\"><SearchX /></EmptyMedia>\n * <EmptyTitle>No results found</EmptyTitle>\n * <EmptyDescription>Try adjusting your search filters.</EmptyDescription>\n * </EmptyHeader>\n * <EmptyContent>\n * <button>Reset filters</button>\n * </EmptyContent>\n * </Empty>\n * ```\n */\nfunction Empty({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty\"\n className={cn('flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12', className)}\n {...props}\n />\n );\n}\n\n/** Centred column container for the media, title, and description of an empty state. */\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-header\" className={cn('flex max-w-sm flex-col items-center gap-2 text-center', className)} {...props} />;\n}\n\nconst emptyMediaVariants = cva('flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0', {\n variants: {\n variant: {\n default: 'bg-transparent',\n icon: \"bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\n/**\n * Container for the visual element (illustration, icon, or image) in an empty state.\n *\n * @param variant - `'default'` renders a transparent wrapper; `'icon'` renders a rounded muted square with the icon centred inside.\n */\nfunction EmptyMedia({ className, variant = 'default', ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>) {\n return <div data-slot=\"empty-icon\" data-variant={variant} className={cn(emptyMediaVariants({ variant, className }))} {...props} />;\n}\n\n/** Prominent heading text for the empty state. */\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-title\" className={cn('text-lg font-medium tracking-tight', className)} {...props} />;\n}\n\n/** Supporting body text that explains the empty state to the user. */\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn('text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4', className)}\n {...props}\n />\n );\n}\n\n/** Action area below the header — typically holds buttons or links to help the user proceed. */\nfunction EmptyContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"empty-content\" className={cn('flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance', className)} {...props} />\n );\n}\n\nexport { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia };\n"],"mappings":"2IA2BA,SAAS,EAAM,CAAE,YAAW,GAAG,GAAsC,CACnE,OACE,EAAC,MAAA,CACC,YAAU,QACV,UAAW,EAAG,+HAAgI,EAAU,CACxJ,GAAI,GACJ,CAKN,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAC,MAAA,CAAI,YAAU,eAAe,UAAW,EAAG,wDAAyD,EAAU,CAAE,GAAI,GAAS,CAGvI,MAAM,EAAqB,EAAI,8FAA+F,CAC5H,SAAU,CACR,QAAS,CACP,QAAS,iBACT,KAAM,2IACP,CACF,CACD,gBAAiB,CACf,QAAS,UACV,CACF,CAAC,CAOF,SAAS,EAAW,CAAE,YAAW,UAAU,UAAW,GAAG,GAAgF,CACvI,OAAO,EAAC,MAAA,CAAI,YAAU,aAAa,eAAc,EAAS,UAAW,EAAG,EAAmB,CAAE,UAAS,YAAW,CAAC,CAAC,CAAE,GAAI,GAAS,CAIpI,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAC,MAAA,CAAI,YAAU,cAAc,UAAW,EAAG,qCAAsC,EAAU,CAAE,GAAI,GAAS,CAInH,SAAS,EAAiB,CAAE,YAAW,GAAG,GAAoC,CAC5E,OACE,EAAC,MAAA,CACC,YAAU,oBACV,UAAW,EAAG,4GAA6G,EAAU,CACrI,GAAI,GACJ,CAKN,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OACE,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,gFAAiF,EAAU,CAAE,GAAI,GAAS"}
|
package/dist/ui/field.cjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
//# sourceMappingURL=field.cjs.map
|
|
1
|
+
"use client";require(`../separator-BwZb12bh.cjs`),require(`../label-DkMTQ3Ch.cjs`);const e=require(`../field-CppNvoxV.cjs`);exports.Field=e.t,exports.FieldContent=e.n,exports.FieldDescription=e.r,exports.FieldError=e.i,exports.FieldGroup=e.a,exports.FieldLabel=e.o,exports.FieldLegend=e.s,exports.FieldSeparator=e.c,exports.FieldSet=e.l,exports.FieldTitle=e.u;
|
package/dist/ui/field.d.cts
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import { Label } from "./label.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime121 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
3
4
|
import * as react1 from "react";
|
|
4
|
-
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
6
|
|
|
7
7
|
//#region packages/components/ui/field.d.ts
|
|
8
8
|
declare const FieldSet: react1.MemoExoticComponent<({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<"fieldset">) =>
|
|
11
|
+
}: React.ComponentProps<"fieldset">) => react_jsx_runtime121.JSX.Element>;
|
|
12
12
|
declare const FieldLegend: react1.MemoExoticComponent<({
|
|
13
13
|
className,
|
|
14
14
|
variant,
|
|
15
15
|
...props
|
|
16
16
|
}: React.ComponentProps<"legend"> & {
|
|
17
17
|
variant?: "legend" | "label";
|
|
18
|
-
}) =>
|
|
18
|
+
}) => react_jsx_runtime121.JSX.Element>;
|
|
19
19
|
declare const FieldGroup: react1.MemoExoticComponent<({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<"div">) =>
|
|
22
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime121.JSX.Element>;
|
|
23
23
|
declare const fieldVariants: (props?: ({
|
|
24
24
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
25
|
-
} &
|
|
25
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
26
26
|
declare const Field: react1.MemoExoticComponent<({
|
|
27
27
|
className,
|
|
28
28
|
orientation,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) =>
|
|
30
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime121.JSX.Element>;
|
|
31
31
|
declare const FieldContent: react1.MemoExoticComponent<({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<"div">) =>
|
|
34
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime121.JSX.Element>;
|
|
35
35
|
declare const FieldLabel: react1.MemoExoticComponent<({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof Label>) =>
|
|
38
|
+
}: React.ComponentProps<typeof Label>) => react_jsx_runtime121.JSX.Element>;
|
|
39
39
|
declare const FieldTitle: react1.MemoExoticComponent<({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<"div">) =>
|
|
42
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime121.JSX.Element>;
|
|
43
43
|
declare const FieldDescription: react1.MemoExoticComponent<({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<"p">) =>
|
|
46
|
+
}: React.ComponentProps<"p">) => react_jsx_runtime121.JSX.Element>;
|
|
47
47
|
declare const FieldSeparator: react1.MemoExoticComponent<({
|
|
48
48
|
children,
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
51
|
}: React.ComponentProps<"div"> & {
|
|
52
52
|
children?: React.ReactNode;
|
|
53
|
-
}) =>
|
|
53
|
+
}) => react_jsx_runtime121.JSX.Element>;
|
|
54
54
|
declare const FieldError: react1.MemoExoticComponent<({
|
|
55
55
|
className,
|
|
56
56
|
children,
|
|
@@ -60,7 +60,7 @@ declare const FieldError: react1.MemoExoticComponent<({
|
|
|
60
60
|
errors?: Array<{
|
|
61
61
|
message?: string;
|
|
62
62
|
} | undefined>;
|
|
63
|
-
}) =>
|
|
63
|
+
}) => react_jsx_runtime121.JSX.Element | null>;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
66
66
|
//# sourceMappingURL=field.d.cts.map
|