@e-burgos/tucu-ui 2.0.9 → 2.0.10
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/CHANGELOG.md +73 -0
- package/components/layouts/macos-layout/index.d.ts +5 -3
- package/components/layouts/macos-layout/macos-sonoma-clean-layout.d.ts +7 -0
- package/components/layouts/macos-layout/macos-tahoe-clean-layout.d.ts +7 -0
- package/components/macos/tahoe/foundations/background.d.ts +7 -23
- package/demo/pages/design-system/design-system-sections/BackgroundsSection.d.ts +3 -0
- package/documentation/{APIReferenceSection-DNlAQ8GG.js → APIReferenceSection-CD5kel2M.js} +1 -1
- package/documentation/{APIReferenceSection-DQ9eEJU3.js → APIReferenceSection-DNiwamR3.js} +1 -1
- package/documentation/{ActiveLinkSection-ClQ5IBOo.js → ActiveLinkSection-CLeqqRJA.js} +1 -1
- package/documentation/{ActiveLinkSection-ZQgU44Mo.js → ActiveLinkSection-nW2qUEkC.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-BT-UpUVF.js → AdvancedColorSystemSection-CcXCp_R4.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-D-6qlD3s.js → AdvancedColorSystemSection-ClZP9L76.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-mfiPnKVY.js → AdvancedFeaturesSection-DTklgMJa.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-mbP5hR-H.js → AdvancedFeaturesSection-DZsIzQM1.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-D2ZWLXY5.js → AdvancedFeaturesSection-DeodzomR.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-B5wK85Bl.js → AdvancedFeaturesSection-dp4NWt73.js} +1 -1
- package/documentation/{AlertSection-BBto0fHS.js → AlertSection-C8JxRieS.js} +1 -1
- package/documentation/{AlertSection-D4Gq9upX.js → AlertSection-CqhX5i16.js} +1 -1
- package/documentation/{AnchorLinkSection-k40j2vM0.js → AnchorLinkSection-Cnh7qsTW.js} +1 -1
- package/documentation/{AnchorLinkSection-DSCjeuS9.js → AnchorLinkSection-DMdLIqCp.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-DesoQ7S_.js → ArchitecturalPatternsComparisonSection-Bgp9PUt7.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-Doa_MJjU.js → ArchitecturalPatternsComparisonSection-vYbHlGY-.js} +6 -4
- package/documentation/{ArchitectureOverviewSection-Cu_PStpk.js → ArchitectureOverviewSection-Cw1LKmfg.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-DUkNwRmR.js → ArchitectureOverviewSection-D_RmIFCA.js} +1 -1
- package/documentation/{AreaChartSection-BDVO57jx.js → AreaChartSection-CPJSq736.js} +1 -1
- package/documentation/{AreaChartSection-C4ruqExr.js → AreaChartSection-SQjiTBmB.js} +1 -1
- package/documentation/{AuthorCardSection-DpUU5KDU.js → AuthorCardSection-DPF5SE5r.js} +1 -1
- package/documentation/{AuthorCardSection-cB8Liia6.js → AuthorCardSection-kk79QuNK.js} +1 -1
- package/documentation/{AvatarSection-DZCiBPX4.js → AvatarSection-BnRHw27e.js} +1 -1
- package/documentation/{AvatarSection-DpUjg_yW.js → AvatarSection-CLq51gbg.js} +1 -1
- package/documentation/BackgroundsSection-3X9Iw31T.js +367 -0
- package/documentation/BackgroundsSection-Ibr9oqUO.js +6 -0
- package/documentation/{BadgeSection-Cteg--jV.js → BadgeSection-C9_vLylm.js} +1 -1
- package/documentation/{BadgeSection-B7mtSvQv.js → BadgeSection-Dy1g7XfP.js} +1 -1
- package/documentation/{BarChartSection-Clrho1um.js → BarChartSection-BTBiEaRw.js} +1 -1
- package/documentation/{BarChartSection-rkETKOO2.js → BarChartSection-Do0Yq1CS.js} +1 -1
- package/documentation/{BasicTableSection-Cf3FcRGV.js → BasicTableSection-C5yPODL4.js} +1 -1
- package/documentation/{BasicTableSection-7S3mV6WL.js → BasicTableSection-Lylimu25.js} +1 -1
- package/documentation/{BasicUsageSection-D_OADsjB.js → BasicUsageSection-B_tT0vDW.js} +38 -52
- package/documentation/{BasicUsageSection-C04Vk4Xo.js → BasicUsageSection-wciC808E.js} +3 -3
- package/documentation/{BestPracticesSection-DL24k5DX.js → BestPracticesSection-B9oMqKhX.js} +3 -3
- package/documentation/{BestPracticesSection-BklrYpDV.js → BestPracticesSection-BFNYdJVh.js} +1 -1
- package/documentation/{BestPracticesSection-41CW61J-.js → BestPracticesSection-BIbDXxnD.js} +1 -1
- package/documentation/{BestPracticesSection-wKpFsyId.js → BestPracticesSection-BYBZdfg8.js} +1 -1
- package/documentation/{BestPracticesSection-CCTlvAEc.js → BestPracticesSection-BihjJ2QU.js} +1 -1
- package/documentation/{BestPracticesSection-BiznpoaJ.js → BestPracticesSection-BrTenNsc.js} +1 -1
- package/documentation/{BestPracticesSection-CGBKNc2j.js → BestPracticesSection-Bsi45c48.js} +2 -2
- package/documentation/{BestPracticesSection-C7p3sqSS.js → BestPracticesSection-BwTc9PvE.js} +1 -1
- package/documentation/{BestPracticesSection-C8R3e6wG.js → BestPracticesSection-CdqrTgh6.js} +1 -1
- package/documentation/{BestPracticesSection-4oonl6Xs.js → BestPracticesSection-D3PLwaiL.js} +1 -1
- package/documentation/{BestPracticesSection-CNwUYNOW.js → BestPracticesSection-D9x1gLFW.js} +1 -1
- package/documentation/{BestPracticesSection-Bnccg1L-.js → BestPracticesSection-DXd2F40Q.js} +1 -1
- package/documentation/{BestPracticesSection-hs6vGhuu.js → BestPracticesSection-V_icrn3I.js} +1 -1
- package/documentation/{BestPracticesSection-BJUyOw5K.js → BestPracticesSection-WJyPTPT5.js} +1 -1
- package/documentation/{BorderRadiusSection-CgppX9KI.js → BorderRadiusSection-DnrQs0UO.js} +2 -2
- package/documentation/{BorderRadiusSection-CY90awsm.js → BorderRadiusSection-DtqKxbF6.js} +1 -1
- package/documentation/{ButtonDripSection-D8zkJ-6j.js → ButtonDripSection-C5biHmZq.js} +1 -1
- package/documentation/{ButtonDripSection-BQkw59yH.js → ButtonDripSection-DEZ07Ezd.js} +1 -1
- package/documentation/{ButtonLoaderSection-B5XP49FM.js → ButtonLoaderSection-BVgZFpeK.js} +1 -1
- package/documentation/{ButtonLoaderSection-CjGBMNiM.js → ButtonLoaderSection-CGJBeqr-.js} +1 -1
- package/documentation/{CardContainerSection-DcioQ7uD.js → CardContainerSection-Cs2cKwb4.js} +1 -1
- package/documentation/{CardContainerSection-DfKrRKR1.js → CardContainerSection-yjkb4krj.js} +1 -1
- package/documentation/{CardSection-C6FmBvSW.js → CardSection-CWikpGMD.js} +1 -1
- package/documentation/{CardSection-By7KZdmx.js → CardSection-FjHnUXDc.js} +1 -1
- package/documentation/{CardTitleSection-Cwlv3Iuv.js → CardTitleSection-B4OARul9.js} +1 -1
- package/documentation/{CardTitleSection-JuseDFmx.js → CardTitleSection-BwmJtkj8.js} +1 -1
- package/documentation/{CarouselCardsSection-t54tXA0y.js → CarouselCardsSection-DETthGNT.js} +1 -1
- package/documentation/{CarouselCardsSection-HwS5Pilj.js → CarouselCardsSection-DV9s2xIN.js} +1 -1
- package/documentation/{CarouselImageSection-DxcOoLwL.js → CarouselImageSection-B2VbVdOf.js} +1 -1
- package/documentation/{CarouselImageSection-yRgXBEHG.js → CarouselImageSection-BsgN88AS.js} +1 -1
- package/documentation/{CarouselSection-Dyv4W4kt.js → CarouselSection-BuAhrfl8.js} +1 -1
- package/documentation/{CarouselSection-DVkA2Zts.js → CarouselSection-CBlMfgGw.js} +1 -1
- package/documentation/{CheckboxSection-CFyl2-Lg.js → CheckboxSection-D5f8a17w.js} +1 -1
- package/documentation/{CheckboxSection-Cm9sabKa.js → CheckboxSection-DpC1rIxz.js} +1 -1
- package/documentation/{CodeExamplesSection-D4BjomLZ.js → CodeExamplesSection-CzT6xoBd.js} +1 -1
- package/documentation/{CodeExamplesSection-ZevLOjfL.js → CodeExamplesSection-DmnhyUyh.js} +1 -1
- package/documentation/{CoinCardSection-DWe-P9aE.js → CoinCardSection-B6mFIGWY.js} +1 -1
- package/documentation/{CoinCardSection-BP75BKln.js → CoinCardSection-B8xYe_14.js} +1 -1
- package/documentation/{CoinInfoCardSection-CHd_B21e.js → CoinInfoCardSection-B6WuOwgK.js} +1 -1
- package/documentation/{CoinInfoCardSection-Cp5dwucx.js → CoinInfoCardSection-DrlLjeme.js} +1 -1
- package/documentation/{CoinListBoxSection-CFTwACjZ.js → CoinListBoxSection-DkQKAYd4.js} +1 -1
- package/documentation/{CoinListBoxSection-CgQPCN1-.js → CoinListBoxSection-h2EIhbc6.js} +1 -1
- package/documentation/{CollapseSection-DV4iEoTo.js → CollapseSection-BgUzBjdQ.js} +1 -1
- package/documentation/{CollapseSection-BObnZGBa.js → CollapseSection-DjToAVsV.js} +1 -1
- package/documentation/{CollectionCardSection-V2vYAGul.js → CollectionCardSection-Bso5dTm0.js} +1 -1
- package/documentation/{CollectionCardSection-Cl5rgWzn.js → CollectionCardSection-CLYRjHZ3.js} +1 -1
- package/documentation/{CollectionSelectListSection-CW5Wwg5e.js → CollectionSelectListSection-U1691doa.js} +1 -1
- package/documentation/{CollectionSelectListSection-l-apJPKq.js → CollectionSelectListSection-yeCip8aj.js} +1 -1
- package/documentation/{ColorCustomizationSection-v0OWFiFx.js → ColorCustomizationSection-DAyuywgq.js} +45 -33
- package/documentation/ColorCustomizationSection-Dq8eABfF.js +1 -0
- package/documentation/ColorSystemSection-B3tm49L7.js +1 -0
- package/documentation/ColorSystemSection-yh45iiHj.js +339 -0
- package/documentation/{CommonErrorsSection-8pIQ5P0f.js → CommonErrorsSection-DQrjcfPF.js} +1 -1
- package/documentation/{CommonErrorsSection-CPIUNSdZ.js → CommonErrorsSection-Dy04oSz_.js} +1 -1
- package/documentation/{ComponentAnatomySection-D9CJ7NKe.js → ComponentAnatomySection-CqMqeGRG.js} +1 -1
- package/documentation/{ComponentAnatomySection-B_3X6zAV.js → ComponentAnatomySection-J7_m5JbP.js} +1 -1
- package/documentation/{ComponentStatusSection-BPM9MaGx.js → ComponentStatusSection-FFk0aqBc.js} +1 -1
- package/documentation/{ComponentStatusSection-DckFRSjC.js → ComponentStatusSection-Yo0G0loR.js} +1 -1
- package/documentation/{ComposedChartSection-Dx2m0rSy.js → ComposedChartSection-hW66uHot.js} +1 -1
- package/documentation/{ComposedChartSection-DgidskHN.js → ComposedChartSection-tNIAiTDy.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-u7r7QNnv.js → CurrencySwapIconsSection-BBnjn3uo.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-DZab3CRP.js → CurrencySwapIconsSection-B_bHfyHa.js} +1 -1
- package/documentation/{CustomColorPaletteSection-pjhXRzh7.js → CustomColorPaletteSection-C0QH-Gjh.js} +8 -8
- package/documentation/{CustomColorPaletteSection-BgsWYeFi.js → CustomColorPaletteSection-DO8oEjzW.js} +2 -2
- package/documentation/{CustomIconsSection-DVTQjvmK.js → CustomIconsSection-BASoblRw.js} +1 -1
- package/documentation/{CustomIconsSection-8d02BzFW.js → CustomIconsSection-BNBsaI1Y.js} +11 -11
- package/documentation/{DefiAppLogoSection-DeVkbZnS.js → DefiAppLogoSection-CJ_WaEEM.js} +1 -1
- package/documentation/{DefiAppLogoSection-BloxEw2r.js → DefiAppLogoSection-bB5g79Z4.js} +1 -1
- package/documentation/{DesignPrinciplesSection-DnXrx_3r.js → DesignPrinciplesSection-DeSp3YGO.js} +1 -1
- package/documentation/{DesignPrinciplesSection-AGfHYdRQ.js → DesignPrinciplesSection-Zl0xFCt6.js} +1 -1
- package/documentation/{DrawerSection-C5umOiTH.js → DrawerSection-CrMh4USZ.js} +1 -1
- package/documentation/{DrawerSection-0xOnVMih.js → DrawerSection-DsqcxtDs.js} +1 -1
- package/documentation/{DynamicRoutesSection-D9cAVioz.js → DynamicRoutesSection-C9QESfkX.js} +1 -1
- package/documentation/{DynamicRoutesSection-CplA4H_-.js → DynamicRoutesSection-mzGjrsjc.js} +1 -1
- package/documentation/{FileInputSection-DiFwCplu.js → FileInputSection-5T-xJxsP.js} +1 -1
- package/documentation/{FileInputSection-DYnf_T8n.js → FileInputSection-Ct4GqFfT.js} +1 -1
- package/documentation/{FileStructureSection-C7CT7MLA.js → FileStructureSection-14xCYpSc.js} +5 -5
- package/documentation/{FileStructureSection-qyFRzFR7.js → FileStructureSection-9lInEOF5.js} +2 -2
- package/documentation/{FormComponentsSection-D8FXeYch.js → FormComponentsSection-BjJY47h7.js} +13 -13
- package/documentation/{FormComponentsSection-BGNG7LT5.js → FormComponentsSection-CVdYFyUi.js} +1 -1
- package/documentation/{FormMethodsSection-KJIlWtlf.js → FormMethodsSection-DlBnV-Aj.js} +1 -1
- package/documentation/{FormMethodsSection-D7QrdOOf.js → FormMethodsSection-R2SW4g00.js} +1 -1
- package/documentation/{HamburgerSection-B4QTD7QB.js → HamburgerSection-BpoVoDOi.js} +1 -1
- package/documentation/{HamburgerSection-1Co0vSYI.js → HamburgerSection-VxfOCf7c.js} +1 -1
- package/documentation/{HookCategoriesSection-BgTUwS4d.js → HookCategoriesSection-B_TOE9Dl.js} +1 -1
- package/documentation/{HookCategoriesSection-DT7PsLf5.js → HookCategoriesSection-GgKNpxrq.js} +1 -1
- package/documentation/{HookDocumentationSection-B7eGJAtC.js → HookDocumentationSection-CBtlj0Xo.js} +33 -40
- package/documentation/{HookDocumentationSection-Dm5vp60W.js → HookDocumentationSection-DC-uDZ1A.js} +15 -15
- package/documentation/{HookFeaturesSection-XWh6oPJo.js → HookFeaturesSection-C46s1I46.js} +1 -1
- package/documentation/{HookFeaturesSection-C_CfuHPq.js → HookFeaturesSection-CYQq8uiT.js} +1 -1
- package/documentation/{IconArchitectureSection-2pqGfRWh.js → IconArchitectureSection-DVwo8J6J.js} +1 -1
- package/documentation/{IconArchitectureSection-Cyft-9ck.js → IconArchitectureSection-Dg0P4xJM.js} +1 -1
- package/documentation/{IconSizingGuideSection-DWP8TfCJ.js → IconSizingGuideSection-4CGLUtLH.js} +2 -2
- package/documentation/{IconSizingGuideSection-D0WIGnpi.js → IconSizingGuideSection-DV6KbqA2.js} +1 -1
- package/documentation/{IconSystemAPISection-BykSbNfn.js → IconSystemAPISection-B4lcpmhY.js} +1 -1
- package/documentation/{IconSystemAPISection-BafhVMj8.js → IconSystemAPISection-feuWPuII.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-DnPy73uB.js → IconSystemBenefitsSection-BlEPp4PZ.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-D-Z8n3yK.js → IconSystemBenefitsSection-isJXtAnP.js} +1 -1
- package/documentation/{ImageSection-BDC-XBOn.js → ImageSection-90o9mI_A.js} +3 -3
- package/documentation/ImageSection-lfQJq_9S.js +82 -0
- package/documentation/ImplementationExamplesSection-DJxSTPAz.js +761 -0
- package/documentation/ImplementationExamplesSection-Ds4REGcS.js +429 -0
- package/documentation/{ImplementationGuidelinesSection-C0DtOFA3.js → ImplementationGuidelinesSection-DyggNHxr.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-Bmt5UnLA.js → ImplementationGuidelinesSection-z14_D9y4.js} +1 -1
- package/documentation/{ImplementationStatusSection-gIxBd7m5.js → ImplementationStatusSection-CCTRI00N.js} +1 -1
- package/documentation/{ImplementationStatusSection-C59DZ2XS.js → ImplementationStatusSection-D3FnRWV-.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-1l8t4Nij.js → ImplementedFeaturesSection-C-hPiVlX.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-BwktoGqA.js → ImplementedFeaturesSection-KvlP_7ja.js} +1 -1
- package/documentation/{InfoCardSection-BcXFWEjI.js → InfoCardSection-BBd3_OzF.js} +2 -2
- package/documentation/{InfoCardSection-DtgYtueH.js → InfoCardSection-DHQuZzE7.js} +15 -13
- package/documentation/{InputSearcherSection-DD2KwzOG.js → InputSearcherSection-BQ4cUC16.js} +1 -1
- package/documentation/{InputSearcherSection-DMtIqnZm.js → InputSearcherSection-DFk3eBSo.js} +1 -1
- package/documentation/{InputSection-DAQlSKNm.js → InputSection-B5ty4Onb.js} +1 -1
- package/documentation/{InputSection-WnlrF_LD.js → InputSection-DLQ6hyWl.js} +1 -1
- package/documentation/{KeyValueRowSection-Ctph5iO5.js → KeyValueRowSection-BgKXD67j.js} +1 -1
- package/documentation/{KeyValueRowSection-BjXEg9g3.js → KeyValueRowSection-CJWvh1z_.js} +1 -1
- package/documentation/{KeyboardNavigationSection-BgP2RBJx.js → KeyboardNavigationSection-B38QXuO1.js} +1 -1
- package/documentation/{KeyboardNavigationSection-BcQUUxeW.js → KeyboardNavigationSection-B8IX8HhB.js} +4 -4
- package/documentation/{LayoutPrinciplesSection-DZgjhU-5.js → LayoutPrinciplesSection-Dtv-aHj6.js} +2 -2
- package/documentation/{LayoutPrinciplesSection-CZE5j4TD.js → LayoutPrinciplesSection-TN7sNEHN.js} +1 -1
- package/documentation/{LayoutTypesSection-847E1FZA.js → LayoutTypesSection-DtAUqzLt.js} +180 -30
- package/documentation/LayoutTypesSection-prvabVsZ.js +1 -0
- package/documentation/{LineChartSection-CLKCstC7.js → LineChartSection-CzARfWf9.js} +1 -1
- package/documentation/{LineChartSection-BFVXYiK4.js → LineChartSection-HJuiXWwE.js} +1 -1
- package/documentation/{ListContainerSection-D5k1iNKV.js → ListContainerSection-Ca8Y_cJJ.js} +1 -1
- package/documentation/{ListContainerSection-rSWVVjfW.js → ListContainerSection-CkEy8kTD.js} +1 -1
- package/documentation/{ListItemSection-Bwr8NH-L.js → ListItemSection-C57wh8xh.js} +1 -1
- package/documentation/{ListItemSection-CU785nZa.js → ListItemSection-CrUwVDa7.js} +1 -1
- package/documentation/{LiveDemoSection-B5j1ZGtq.js → LiveDemoSection-C6YvjWGX.js} +1 -1
- package/documentation/{LiveDemoSection-BHq8HDj_.js → LiveDemoSection-Di6_Ljzt.js} +1 -1
- package/documentation/{LiveDemonstrationsSection-B5iutGu_.js → LiveDemonstrationsSection-D7NGWZ3I.js} +13 -13
- package/documentation/{LiveDemonstrationsSection-CSSKZrex.js → LiveDemonstrationsSection-Dby6VHKw.js} +4 -4
- package/documentation/{LivePriceFeedSection-Ie3MtK5B.js → LivePriceFeedSection-BGUKPNUb.js} +1 -1
- package/documentation/{LivePriceFeedSection-CguTUwPn.js → LivePriceFeedSection-B_GgiNK8.js} +1 -1
- package/documentation/{LoaderSection-wo7VqH01.js → LoaderSection-Chy1mcXx.js} +1 -1
- package/documentation/{LoaderSection-CFIf6Cwz.js → LoaderSection-yuB9Toxf.js} +1 -1
- package/documentation/{LogoSection-D53DSw6e.js → LogoSection-BVWSaZET.js} +1 -1
- package/documentation/{LogoSection-D2o5z1v0.js → LogoSection-iUxlu-_p.js} +1 -1
- package/documentation/{LucideIconsSection-BGhOfZ2S.js → LucideIconsSection-CX6vVBZA.js} +1 -1
- package/documentation/{LucideIconsSection-BmFnUvOo.js → LucideIconsSection-CXfT5lQb.js} +1 -1
- package/documentation/{MFESupportSection-BsWrFr8n.js → MFESupportSection-B6RwP4pS.js} +2 -2
- package/documentation/{MFESupportSection-BfZN1ruk.js → MFESupportSection-DamrDMWD.js} +12 -8
- package/documentation/{MacOSBackgroundsSection-5FwRmwSt.js → MacOSBackgroundsSection-Cx_1ZLMj.js} +25 -22
- package/documentation/MacOSBackgroundsSection-ZPqiqQex.js +1 -0
- package/documentation/MacOSColorsSection-C3PgogP4.js +1 -0
- package/documentation/{MacOSColorsSection-YEtkXtT9.js → MacOSColorsSection-DFSpSHs_.js} +25 -25
- package/documentation/{MacOSCommandPaletteSection-BNpF6qM7.js → MacOSCommandPaletteSection-BuwzwV8l.js} +1 -1
- package/documentation/{MacOSCommandPaletteSection-WanBDypB.js → MacOSCommandPaletteSection-CNIbgVQz.js} +4 -4
- package/documentation/{MacOSMaterialsSection-CL8WKiWl.js → MacOSMaterialsSection-B0bCcOWV.js} +6 -6
- package/documentation/MacOSMaterialsSection-CgulMHAk.js +1 -0
- package/documentation/{MacOSNotificationBannerSection-DCtVh4mP.js → MacOSNotificationBannerSection-C9SIbT7b.js} +1 -1
- package/documentation/{MacOSNotificationBannerSection-CccD5Lyx.js → MacOSNotificationBannerSection-DL_wVvSM.js} +1 -1
- package/documentation/{MacOSPopoverSection-Ct-lBd1V.js → MacOSPopoverSection-DQkkxFZi.js} +136 -41
- package/documentation/MacOSPopoverSection-whmFuYxn.js +33 -0
- package/documentation/{MacOSSearchBarSection-DruORVTc.js → MacOSSearchBarSection-D7I0Bvgv.js} +1 -1
- package/documentation/{MacOSSearchBarSection-DNHmkSQF.js → MacOSSearchBarSection-NVzpmwpm.js} +1 -1
- package/documentation/{MacOSSegmentedControlSection-BFuSzzal.js → MacOSSegmentedControlSection-BZVQzIRB.js} +1 -1
- package/documentation/{MacOSSegmentedControlSection-D5ZpMdGL.js → MacOSSegmentedControlSection-DbdRCqFk.js} +1 -1
- package/documentation/MacOSSidebarSection-C_9PEk_f.js +35 -0
- package/documentation/{MacOSSidebarSection-D0DT2x5w.js → MacOSSidebarSection-DYZ6onyY.js} +120 -46
- package/documentation/{MacOSTahoeSection-DKtgrult.js → MacOSTahoeSection-DCwsZnWz.js} +2 -2
- package/documentation/{MacOSTahoeSection-ErqFjWX4.js → MacOSTahoeSection-dZq5MXs6.js} +1 -1
- package/documentation/MacOSTextStylesSection-DGktqEPk.js +1 -0
- package/documentation/{MacOSTextStylesSection-B4xYNfLo.js → MacOSTextStylesSection-DZmQayrr.js} +52 -48
- package/documentation/{MacOSToolbarSection-GwXI_HM0.js → MacOSToolbarSection-B_bHKn8G.js} +1 -1
- package/documentation/{MacOSToolbarSection-BUSdw1-N.js → MacOSToolbarSection-Ci3H22eP.js} +1 -1
- package/documentation/{MacOSWidgetSection-B2c5Jiqb.js → MacOSWidgetSection-CEJiUAXx.js} +1 -1
- package/documentation/{MacOSWidgetSection-BEuuPDcI.js → MacOSWidgetSection-CS6SNE1x.js} +1 -1
- package/documentation/{MacOSWindowSection-ChLGxWkJ.js → MacOSWindowSection-Cj5W9tOb.js} +1 -1
- package/documentation/{MacOSWindowSection-CJSekAJj.js → MacOSWindowSection-DqJp_sYV.js} +1 -1
- package/documentation/{MenuItemsGuideSection-CW7znzf9.js → MenuItemsGuideSection-B7BCFEzC.js} +1 -1
- package/documentation/{MenuItemsGuideSection-3rCQXRbI.js → MenuItemsGuideSection-DGwGu1eO.js} +1 -1
- package/documentation/{ModalSection-B4Ay5tMm.js → ModalSection-BAl0KIk0.js} +1 -1
- package/documentation/{ModalSection-Bm2c0cZ3.js → ModalSection-BVVp2SX8.js} +1 -1
- package/documentation/{NFTGridSection-C167-_5t.js → NFTGridSection-BNFbcFZG.js} +1 -1
- package/documentation/{NFTGridSection-DjfH-Wb_.js → NFTGridSection-Wl711fIz.js} +1 -1
- package/documentation/{NestedRoutesSection-BTIFUyu3.js → NestedRoutesSection-D8PkxU8h.js} +5 -5
- package/documentation/{NestedRoutesSection-BQBIMv26.js → NestedRoutesSection-wmlrMDJq.js} +2 -2
- package/documentation/{NotificationCardSection-fW5poNpt.js → NotificationCardSection-CbQt_XUN.js} +1 -1
- package/documentation/{NotificationCardSection-Dc9k9m0z.js → NotificationCardSection-Dd1DGkKw.js} +1 -1
- package/documentation/{PaginationSection-Chxlsiar.js → PaginationSection-BUPepKIu.js} +1 -1
- package/documentation/{PaginationSection-Dkozx1NR.js → PaginationSection-lSE7L18v.js} +1 -1
- package/documentation/{PanelActionCardSection-DH2lDA1v.js → PanelActionCardSection-BdiVGZct.js} +1 -1
- package/documentation/{PanelActionCardSection-CrHET2qr.js → PanelActionCardSection-BgBQ-yk0.js} +1 -1
- package/documentation/{PanelCardSection-Cxgvd7E9.js → PanelCardSection-CxgguBdn.js} +1 -1
- package/documentation/{PanelCardSection-4huN71a_.js → PanelCardSection-DepwDiot.js} +1 -1
- package/documentation/{ParamTabSection-CnjtpMbJ.js → ParamTabSection-7WqNq93W.js} +96 -59
- package/documentation/{ParamTabSection-hI9LkIIz.js → ParamTabSection-CRAA5456.js} +2 -2
- package/documentation/{PieChartSection-pR0IxyX_.js → PieChartSection-CjOgCPaN.js} +1 -1
- package/documentation/{PieChartSection-CE8jY8sm.js → PieChartSection-DgARlxCn.js} +1 -1
- package/documentation/{PinCodeSection-LjDbYnRA.js → PinCodeSection-BZ9lZb1m.js} +1 -1
- package/documentation/{PinCodeSection-oizvSnHW.js → PinCodeSection-v_9DV5Lk.js} +1 -1
- package/documentation/{ProgressbarSection-BMNMHb6k.js → ProgressbarSection-D3DYoI4Y.js} +2 -2
- package/documentation/{ProgressbarSection-DLvuQRqH.js → ProgressbarSection-DlUhNhf2.js} +5 -5
- package/documentation/{RadarChartSection-GP1TRYs5.js → RadarChartSection-CUbzsVhA.js} +1 -1
- package/documentation/{RadarChartSection-DHx5xzix.js → RadarChartSection-Ddb_fGPc.js} +1 -1
- package/documentation/{RadioGroupSection-C0qbZCEy.js → RadioGroupSection-5l0IDcfd.js} +1 -1
- package/documentation/{RadioGroupSection-Dnu2rhAj.js → RadioGroupSection-CZQzvhOR.js} +1 -1
- package/documentation/{RadioSection-rHrHsIha.js → RadioSection-D-KPVIm_.js} +1 -1
- package/documentation/{RadioSection-DWy0dsvZ.js → RadioSection-D6bi4kIt.js} +1 -1
- package/documentation/{RevealContentSection-B7d6jZ3X.js → RevealContentSection-DZhCRfDI.js} +1 -1
- package/documentation/{RevealContentSection-DFeDG75P.js → RevealContentSection-xWU5mwxK.js} +1 -1
- package/documentation/{RouteConfigurationSection-Dj3ufwLr.js → RouteConfigurationSection-BNlfPveX.js} +1 -1
- package/documentation/{RouteConfigurationSection-DdJ4tMwr.js → RouteConfigurationSection-CGohU3dz.js} +1 -1
- package/documentation/{ScrollToTopSection-BzOG4wgw.js → ScrollToTopSection-CE_chqn5.js} +1 -1
- package/documentation/{ScrollToTopSection-JmnQvioT.js → ScrollToTopSection-DTIMzJcL.js} +1 -1
- package/documentation/{ScrollbarSection-C0IIJ90W.js → ScrollbarSection-BtFed7RJ.js} +1 -1
- package/documentation/{ScrollbarSection-DNOAHiAh.js → ScrollbarSection-UGhiUlT9.js} +1 -1
- package/documentation/{SelectSection-CYx0EZJX.js → SelectSection-B_s_pRsx.js} +1 -1
- package/documentation/{SelectSection-DupPSBKF.js → SelectSection-DQZ8bxsN.js} +1 -1
- package/documentation/{SettingsPanelSection-GhZ66ZdG.js → SettingsPanelSection-D2vZ81r5.js} +4 -4
- package/documentation/SettingsPanelSection-DmeXjrx0.js +1 -0
- package/documentation/{ShadowsSection-qjRGL4vP.js → ShadowsSection-Br8AictP.js} +1 -1
- package/documentation/{ShadowsSection-kJV-ttft.js → ShadowsSection-CoUWlYA-.js} +1 -1
- package/documentation/{SidebarMenuSection-Co9XzZgf.js → SidebarMenuSection-BuyjfISB.js} +1 -1
- package/documentation/{SidebarMenuSection-CQunF-oM.js → SidebarMenuSection-DL9USgCd.js} +1 -1
- package/documentation/{SidebarSection-BTlba2fa.js → SidebarSection-B-rHd7VC.js} +1 -1
- package/documentation/{SidebarSection-CpNHqxdM.js → SidebarSection-DMPBCRIo.js} +1 -1
- package/documentation/{SizingSection-DZRyEWJJ.js → SizingSection--Jco3RIU.js} +28 -28
- package/documentation/SizingSection-CUt8NIK0.js +1 -0
- package/documentation/{SkeletonSection-BQKerqPH.js → SkeletonSection-DJdKo1ja.js} +1 -1
- package/documentation/{SkeletonSection-DbSYqbHd.js → SkeletonSection-DqrX4Bdv.js} +1 -1
- package/documentation/{SonomaColorsSection-BqkMh28_.js → SonomaColorsSection-DJtL9gyt.js} +57 -57
- package/documentation/{SonomaColorsSection-B7L_UMjk.js → SonomaColorsSection-ymNouzEh.js} +1 -1
- package/documentation/{SonomaLayoutContentSection-BaASk6kp.js → SonomaLayoutContentSection-BUpCwKvI.js} +1 -1
- package/documentation/{SonomaLayoutContentSection-DFQgh479.js → SonomaLayoutContentSection-DUaqAxji.js} +1 -1
- package/documentation/{SonomaLayoutSidebarSection-DeT7y6e9.js → SonomaLayoutSidebarSection-5eYi4AN9.js} +1 -1
- package/documentation/{SonomaLayoutSidebarSection-CZ5rM-MM.js → SonomaLayoutSidebarSection-pojkz3vG.js} +1 -1
- package/documentation/SonomaMaterialsSection-C96PRKqk.js +9 -0
- package/documentation/{SonomaMaterialsSection-BYnpWwWt.js → SonomaMaterialsSection-DGAN4s50.js} +4 -4
- package/documentation/{SonomaShapesSection-C17AoE2N.js → SonomaShapesSection-BhLTcP3w.js} +2 -2
- package/documentation/{SonomaShapesSection-OlLezJRJ.js → SonomaShapesSection-C8Pf87LY.js} +3 -3
- package/documentation/{SonomaTypographySection-BXzAkRPA.js → SonomaTypographySection-COUn6t7v.js} +48 -47
- package/documentation/{SonomaTypographySection-C7bSKgHl.js → SonomaTypographySection-Ds10GLYv.js} +1 -1
- package/documentation/{SpacingSystemSection-RdnzjpSK.js → SpacingSystemSection-BF3PHq5h.js} +1 -1
- package/documentation/{SpacingSystemSection-rDylj_Un.js → SpacingSystemSection-BqrzSpri.js} +2 -2
- package/documentation/{SpinnerSection-C2SLIBWN.js → SpinnerSection-Dk30YZJZ.js} +1 -1
- package/documentation/{SpinnerSection-BTEupT8d.js → SpinnerSection-yr2tRAM5.js} +1 -1
- package/documentation/{StandaloneAppSection-BVoGM1bD.js → StandaloneAppSection-BELaa7LI.js} +2 -2
- package/documentation/{StandaloneAppSection-uFMN1K6i.js → StandaloneAppSection-DCFC1XZR.js} +9 -6
- package/documentation/{StepperSection-BWUQ_trS.js → StepperSection-B1XhYQK-.js} +1 -1
- package/documentation/{StepperSection-BgQQn9Q3.js → StepperSection-By_Ml_tV.js} +1 -1
- package/documentation/{SwitchSection-CQo06YWs.js → SwitchSection-BUQdc358.js} +1 -1
- package/documentation/{SwitchSection-D-6X3w3o.js → SwitchSection-C85IWY-t.js} +1 -1
- package/documentation/{SystemOverviewSection-Bc602IQG.js → SystemOverviewSection-C1qBmPHN.js} +1 -1
- package/documentation/{SystemOverviewSection-BNhzrT6U.js → SystemOverviewSection-rljSEGcG.js} +1 -1
- package/documentation/{TabModalSection-D7XCTFKs.js → TabModalSection-Dv5x_sEQ.js} +1 -1
- package/documentation/{TabModalSection-dg7LGi0f.js → TabModalSection-IuUO4qiP.js} +1 -1
- package/documentation/{TabSection-DnD_Te-M.js → TabSection-Caok23rW.js} +1 -1
- package/documentation/{TabSection-DPBrpBDN.js → TabSection-DDHTGSIS.js} +1 -1
- package/documentation/{TabSelectSection-Cs-fzdRm.js → TabSelectSection-B4rEgVlu.js} +2 -2
- package/documentation/{TabSelectSection-jn_HenZM.js → TabSelectSection-BseTPExy.js} +2 -2
- package/documentation/{TahoeCommandPaletteSection-Bs1enphA.js → TahoeCommandPaletteSection-DaORHbNv.js} +1 -1
- package/documentation/{TahoeCommandPaletteSection-ClvMCVUp.js → TahoeCommandPaletteSection-v_iOPj8C.js} +1 -1
- package/documentation/{TahoeDialogSection-LvFsaPNL.js → TahoeDialogSection-BoY2025y.js} +1 -1
- package/documentation/{TahoeDialogSection-Bzn59FfH.js → TahoeDialogSection-CqKQ-RDj.js} +1 -1
- package/documentation/{TahoeDockSection-CE4XVjge.js → TahoeDockSection-C7harqcu.js} +1 -1
- package/documentation/{TahoeDockSection-g1Jh1rVL.js → TahoeDockSection-DhRRBnTT.js} +1 -1
- package/documentation/{TahoeLayoutContentSection-DGwHsEUK.js → TahoeLayoutContentSection-C4BE8wc4.js} +3 -3
- package/documentation/TahoeLayoutContentSection-_mL3T_3K.js +17 -0
- package/documentation/{TahoeLayoutSidebarSection-Cxx0NWOi.js → TahoeLayoutSidebarSection-BUXgOJBx.js} +1 -1
- package/documentation/{TahoeLayoutSidebarSection-pdzlnLJM.js → TahoeLayoutSidebarSection-BmCZJ9fX.js} +9 -9
- package/documentation/{TahoeNotificationBannerSection-DhskVUvC.js → TahoeNotificationBannerSection-CSlPVrTp.js} +1 -1
- package/documentation/{TahoeNotificationBannerSection-CHvq-2oK.js → TahoeNotificationBannerSection-D4E3b7uT.js} +1 -1
- package/documentation/{TahoePopoverSection-C8iVtmgr.js → TahoePopoverSection-CJaeo55K.js} +1 -1
- package/documentation/{TahoePopoverSection-DF-k50xc.js → TahoePopoverSection-D3zoltMl.js} +1 -1
- package/documentation/{TahoeProgressBarSection-Clt50U44.js → TahoeProgressBarSection-C_2fAhY_.js} +1 -1
- package/documentation/{TahoeProgressBarSection-BSjAa0mD.js → TahoeProgressBarSection-DO21lvmq.js} +1 -1
- package/documentation/{TahoeSearchBarSection-BGwmcq39.js → TahoeSearchBarSection-2siyD6LM.js} +1 -1
- package/documentation/{TahoeSearchBarSection-6TwJoFIv.js → TahoeSearchBarSection-DdXfb6P6.js} +1 -1
- package/documentation/{TahoeSegmentedControlSection-gNZlSqSs.js → TahoeSegmentedControlSection-CGHYXp6R.js} +1 -1
- package/documentation/{TahoeSegmentedControlSection-C2tTySf8.js → TahoeSegmentedControlSection-CcSHJml_.js} +1 -1
- package/documentation/{TahoeToolbarSection-CndSLUyc.js → TahoeToolbarSection-BCpyfad4.js} +7 -7
- package/documentation/TahoeToolbarSection-C10KKCyu.js +17 -0
- package/documentation/{TahoeWidgetSection-DvFhIsO1.js → TahoeWidgetSection-BUaOmNIc.js} +1 -1
- package/documentation/{TahoeWidgetSection-CxG_Uvly.js → TahoeWidgetSection-sxxKh9VM.js} +1 -1
- package/documentation/{TahoeWindowSection-CA5hMRQS.js → TahoeWindowSection-COl0UCS1.js} +1 -1
- package/documentation/{TahoeWindowSection-Dlt40eFZ.js → TahoeWindowSection-KL3yHPI3.js} +1 -1
- package/documentation/{TailwindConfigSection-BOdIg9p4.js → TailwindConfigSection-DPCR4e0X.js} +2 -2
- package/documentation/{TailwindConfigSection-DTEVHxfY.js → TailwindConfigSection-DdJnfBeo.js} +6 -6
- package/documentation/{TestingSection-sjNf_YR6.js → TestingSection-4eyjrj1_.js} +1 -1
- package/documentation/{TestingSection-p_a3TLFg.js → TestingSection-laVHmYZE.js} +1 -1
- package/documentation/{TextareaSection-CD-kZuGl.js → TextareaSection-D_4-b9Jx.js} +1 -1
- package/documentation/{TextareaSection-B7E_PE99.js → TextareaSection-Dx8UEgUG.js} +1 -1
- package/documentation/{ThemeArchitectureSection-DTZZ9DW8.js → ThemeArchitectureSection-BJt75CEU.js} +6 -4
- package/documentation/{ThemeArchitectureSection-CJLVZw1o.js → ThemeArchitectureSection-BOTLbXFq.js} +12 -10
- package/documentation/{ThemeConfigurationSection-66D5XJGb.js → ThemeConfigurationSection-CGRi9uGX.js} +1 -1
- package/documentation/{ThemeConfigurationSection-DKcO1n8f.js → ThemeConfigurationSection-sgJA0wX0.js} +2 -2
- package/documentation/ThemeHooksSection-BU9VAEIQ.js +1 -0
- package/documentation/{ThemeHooksSection-D5hs4bKp.js → ThemeHooksSection-DN-dSaho.js} +56 -37
- package/documentation/{ThemeProviderIntegrationSection-T1FvNpOT.js → ThemeProviderIntegrationSection-CtckSEZ6.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-hBvjgSG1.js → ThemeProviderIntegrationSection-DxWYUVNo.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-03ZYoeWQ.js → ThemeProviderRequiredSection-BHmXKzqL.js} +5 -5
- package/documentation/ThemeProviderRequiredSection-DMStR6-A.js +1 -0
- package/documentation/{ThemeProviderSection-nIdNlZjq.js → ThemeProviderSection-CTTjgBhZ.js} +11 -11
- package/documentation/ThemeProviderSection-DSllsxjP.js +1 -0
- package/documentation/{ToastSection-DF3L8jxW.js → ToastSection-BcMWRjYM.js} +1 -1
- package/documentation/{ToastSection-C3RQpSox.js → ToastSection-CAz8Hcgy.js} +1 -1
- package/documentation/{ToggleBarSection-CJmXFlZa.js → ToggleBarSection-BAJRL-JL.js} +1 -1
- package/documentation/{ToggleBarSection-D26Mzrf4.js → ToggleBarSection-D0gxe4bi.js} +1 -1
- package/documentation/{TooltipSection-DugfAWzs.js → TooltipSection-8BAcW1F8.js} +1 -1
- package/documentation/{TooltipSection-DhfdMLxD.js → TooltipSection-8ft95fhM.js} +1 -1
- package/documentation/{TopupButtonSection-6THSaEvz.js → TopupButtonSection-BsP9qMKz.js} +1 -1
- package/documentation/{TopupButtonSection-DO2sCxIV.js → TopupButtonSection-DMX7DHtm.js} +1 -1
- package/documentation/{TransactionInfoSection-7ZWdfrbf.js → TransactionInfoSection-Dfyi0vTL.js} +1 -1
- package/documentation/{TransactionInfoSection-BL23o6Ao.js → TransactionInfoSection-gfy4OG-G.js} +1 -1
- package/documentation/{TucuUiLogoSection-Dyfblzs7.js → TucuUiLogoSection-BlyXPiuE.js} +1 -1
- package/documentation/{TucuUiLogoSection-BsYhhz9J.js → TucuUiLogoSection-Dr4QKJE2.js} +1 -1
- package/documentation/{TypographySection-Ct3zNnpW.js → TypographySection-BvFi0bpr.js} +64 -64
- package/documentation/{TypographySection-BPidPkKl.js → TypographySection-C4YFmIj_.js} +1 -1
- package/documentation/TypographySection-CxZfc6YL.js +1 -0
- package/documentation/{TypographySection-BVa4hd_u.js → TypographySection-bXUV6Bmt.js} +1 -1
- package/documentation/{UsageExamplesSection-D-ai2y1j.js → UsageExamplesSection-BwcRgeyU.js} +1 -1
- package/documentation/{UsageExamplesSection-BWDg6OSi.js → UsageExamplesSection-CRg9RYfR.js} +1 -1
- package/documentation/{UsingThemeSystemSection-Db0Hs67Q.js → UsingThemeSystemSection-DB_ErOba.js} +1 -1
- package/documentation/{UsingThemeSystemSection-D7Wbw8sv.js → UsingThemeSystemSection-DYUkPUnX.js} +1 -1
- package/documentation/{ValidationSystemSection-Bqszchd7.js → ValidationSystemSection-BEwX_nlY.js} +9 -9
- package/documentation/{ValidationSystemSection-CcHCIL8A.js → ValidationSystemSection-BdPgfg9x.js} +3 -3
- package/documentation/{WCAGPrinciplesSection-BYNqkBJt.js → WCAGPrinciplesSection-CgWqrIwS.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-DHmT6YQy.js → WCAGPrinciplesSection-qmAtTMZv.js} +1 -1
- package/{index-lfg6LZ1p.js → index-19KsCnyX.js} +27372 -26763
- package/index-DMs_SmPq.js +1178 -0
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +303 -288
- package/package.json +1 -1
- package/themes/components/index.d.ts +1 -0
- package/themes/components/theme-background.d.ts +33 -0
- package/themes/components/theme-provider/theme-wrapper.d.ts +15 -1
- package/themes/config/index.d.ts +56 -2
- package/themes/hooks/use-theme-color.d.ts +13 -1
- package/themes/hooks/use-theme.d.ts +15 -2
- package/documentation/ColorCustomizationSection-Cb8PEuks.js +0 -1
- package/documentation/ColorSystemSection-CduyyhhZ.js +0 -263
- package/documentation/ColorSystemSection-D8sZHXAT.js +0 -1
- package/documentation/ImageSection-C1nOKmH2.js +0 -82
- package/documentation/ImplementationExamplesSection-Cxl08TTf.js +0 -305
- package/documentation/ImplementationExamplesSection-mHJwxbf_.js +0 -178
- package/documentation/LayoutTypesSection-hnxHeuA2.js +0 -1
- package/documentation/MacOSBackgroundsSection-c6o8Zwj8.js +0 -1
- package/documentation/MacOSColorsSection-VDHMUov0.js +0 -1
- package/documentation/MacOSMaterialsSection-DEKSWeUb.js +0 -1
- package/documentation/MacOSPopoverSection-4bHoomAo.js +0 -33
- package/documentation/MacOSSidebarSection-DDGdU_Wr.js +0 -35
- package/documentation/MacOSTextStylesSection-DL6rw2CK.js +0 -1
- package/documentation/SettingsPanelSection-legHUhoT.js +0 -1
- package/documentation/SizingSection-D9czoO1Z.js +0 -1
- package/documentation/SonomaMaterialsSection-B7ttrkPV.js +0 -9
- package/documentation/TahoeLayoutContentSection-B1bj_svL.js +0 -17
- package/documentation/TahoeToolbarSection-B_mWA-L_.js +0 -17
- package/documentation/ThemeHooksSection-nIFp-F0q.js +0 -1
- package/documentation/ThemeProviderRequiredSection-MqNAwToF.js +0 -1
- package/documentation/ThemeProviderSection-FaRMSgB9.js +0 -1
- package/documentation/TypographySection-Co79YcZL.js +0 -1
- package/index-BaGqriuz.js +0 -1178
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as h, T as a, C as t, c as l } from "../index-
|
|
2
|
+
import { H as h, T as a, C as t, c as l } from "../index-19KsCnyX.js";
|
|
3
3
|
import { ShieldCheck as p, Check as i, X as n, Puzzle as u, Monitor as g } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -89,7 +89,7 @@ const N = () => {
|
|
|
89
89
|
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-indigo-500 to-purple-500 shadow-lg", children: /* @__PURE__ */ e(u, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
|
|
90
90
|
/* @__PURE__ */ e(a, { tag: "h3", className: "font-semibold", children: "Accessible Modal Pattern" })
|
|
91
91
|
] }),
|
|
92
|
-
/* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-
|
|
92
|
+
/* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
|
|
93
93
|
l,
|
|
94
94
|
{
|
|
95
95
|
language: "tsx",
|
|
@@ -119,7 +119,7 @@ const N = () => {
|
|
|
119
119
|
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg", children: /* @__PURE__ */ e(g, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
|
|
120
120
|
/* @__PURE__ */ e(a, { tag: "h3", className: "font-semibold", children: "Responsive Layout Pattern" })
|
|
121
121
|
] }),
|
|
122
|
-
/* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-
|
|
122
|
+
/* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
|
|
123
123
|
l,
|
|
124
124
|
{
|
|
125
125
|
language: "tsx",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const r=["Use LucideIcons namespace for general UI icons (1500+ available)","Use custom icons for domain-specific needs (crypto, layouts, brands)","Size icons with Tailwind classes: w-4 h-4, w-5 h-5, w-6 h-6","Use currentColor via text-* classes for theme-aware coloring",'Add aria-hidden="true" on decorative icons next to text',"Add aria-label on buttons containing only an icon","Use consistent sizes within the same context (buttons, nav, etc.)","Prefer className over inline style for sizing and color"],n=["Don't import Lucide icons individually — use LucideIcons.* namespace","Don't mix sizing approaches (className vs size prop) in same project","Don't use icon-only buttons without aria-label","Don't use color alone to convey meaning (pair with text or shape)","Don't hardcode colors with fill/stroke — use Tailwind text-* classes","Don't import the entire icon set manually — rely on tree-shaking","Don't use custom Tucu icons when Lucide has an equivalent","Don't forget hover/focus states on interactive icons"],c=[{title:"Lucide is External",description:"lucide-react is not bundled inside tucu-ui — your bundler tree-shakes it. Only icons you reference are included.",icon:e.jsx(a.Package,{className:"w-5 h-5 text-green-500"})},{title:"Custom Icons Are Bundled",description:"All 96 custom icons are always included in the tucu-ui bundle. They are small SVGs (~200B each).",icon:e.jsx(a.HardDrive,{className:"w-5 h-5 text-blue-500"})},{title:"Avoid Dynamic Imports",description:"Don't lazy-load individual icons. SVGs are tiny and the network overhead outweighs the savings.",icon:e.jsx(a.Zap,{className:"w-5 h-5 text-amber-500"})},{title:"Use Namespace Pattern",description:"LucideIcons.Home is a single import. Your bundler only includes Home, not the entire library.",icon:e.jsx(a.TreeDeciduous,{className:"w-5 h-5 text-purple-500"})}];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Guidelines for optimal icon usage — performance, accessibility, consistency, and maintainability patterns.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(a.CheckCircle,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Do's and Don'ts"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Quick reference for icon best practices"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:[e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(a.CheckCircle,{className:"w-5 h-5 text-green-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-green-700 dark:text-green-400",children:"Do"})]}),r.map((t,i)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(a.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:t})]},i))]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(a.XCircle,{className:"w-5 h-5 text-red-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-red-700 dark:text-red-400",children:"Don't"})]}),n.map((t,i)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(a.X,{className:"w-4 h-4 text-red-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:t})]},i))]})})]})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Performance Tips"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"How the icon system affects bundle size"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:c.map((t,i)=>e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[t.icon,e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:t.title})]}),e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:t.description})]})},i))})]})]})};exports.default=l;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as l, T as a, C as m } from "../index-
|
|
2
|
+
import { H as l, T as a, C as m } from "../index-19KsCnyX.js";
|
|
3
3
|
import { Star as c, CheckCircle as d, ArrowRight as p } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>{const i=["Use descriptive route names and paths","Keep route hierarchy shallow (max 2-3 levels)","Use consistent naming conventions across routes","Leverage TypeScript for type-safe route definitions","Use useMemo for dynamic route generation","Include icons for better navigation UX","Test routes with different user roles and permissions","Use basePath for MFE applications","Provide isAuthenticated and loginUrl in MFE mode","Use enableNestedRoutes when child components need internal routing"],n=["Create overly deep nesting (>3 levels)",'Use generic names like "Page" or "Component"',"Hardcode paths in components — use ReactRouter hooks","Forget to handle 404 pages with customRoutes","Mix routing logic with business logic","Skip accessibility considerations in navigation","Ignore mobile navigation UX patterns","Mix Standalone and MFE props in the same ThemeProvider","Import directly from react-router-dom — use ReactRouter namespace","Use StandaloneAppThemeProvider directly — use ThemeProvider"];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Guidelines for building maintainable, accessible, and type-safe routing configurations.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(a.ShieldCheck,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Recommendations"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Follow these guidelines for robust routing"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg",children:e.jsx(a.Check,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Do's"})]}),e.jsx("ul",{className:"space-y-2",children:i.map((t,r)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.Check,{className:"w-4 h-4 text-green-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:t})]},r))})]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-red-500 to-rose-500 shadow-lg",children:e.jsx(a.X,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Don'ts"})]}),e.jsx("ul",{className:"space-y-2",children:n.map((t,r)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.X,{className:"w-4 h-4 text-red-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:t})]},r))})]})})]})]})]})};exports.default=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>{const i=["Use semantic HTML elements (button, nav, main, aside, header)","Always provide label prop on Input, Select, and Checkbox","Use helperText to give additional context to form fields","Test with keyboard-only navigation before shipping","Use aria-label when visual label is not possible","Set dismissible={true} on non-critical alerts","Use the correct variant on Alert (info/warning/error/success)","Trust built-in ARIA — components auto-wire roles and attributes"],l=["Don't use div or span for interactive elements — use Button","Don't rely on color alone to convey information","Don't suppress focus outlines (outline-none without replacement)","Don't use aria-label when a visible label exists (duplicates)","Don't auto-play animations without prefers-reduced-motion check","Don't trap focus in elements that shouldn't trap (non-modal)","Don't use placeholder as a substitute for label","Don't disable zoom on mobile viewports"],n=[{title:"Color Contrast",description:"Maintain minimum 4.5:1 ratio for normal text, 3:1 for large text. Use browser DevTools to check.",icon:e.jsx(t.Palette,{className:"w-5 h-5 text-purple-500"})},{title:"Focus Order",description:"Ensure Tab order follows visual reading order. Never use positive tabIndex values.",icon:e.jsx(t.ArrowDownUp,{className:"w-5 h-5 text-blue-500"})},{title:"Error Messages",description:"Connect errors to fields via aria-describedby. tucu-ui Input/Select/Checkbox do this automatically.",icon:e.jsx(t.AlertCircle,{className:"w-5 h-5 text-red-500"})},{title:"Live Regions",description:'Use Alert component for dynamic content — it includes role="alert" and aria-live="assertive" built-in.',icon:e.jsx(t.Bell,{className:"w-5 h-5 text-amber-500"})}];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Guidelines for maintaining accessibility when building with tucu-ui. Follow these patterns to ensure your application is usable by everyone.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.ShieldCheck,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Do's and Don'ts"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Quick reference for accessible patterns"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:[e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(t.CheckCircle,{className:"w-5 h-5 text-green-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-green-700 dark:text-green-400",children:"Do"})]}),i.map((a,r)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(t.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:a})]},r))]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(t.XCircle,{className:"w-5 h-5 text-red-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-red-700 dark:text-red-400",children:"Don't"})]}),l.map((a,r)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(t.X,{className:"w-4 h-4 text-red-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:a})]},r))]})})]})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Quick Tips"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Common accessibility patterns to keep in mind"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:n.map((a,r)=>e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[a.icon,e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:a.title})]}),e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:a.description})]})},r))})]})]})};exports.default=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as m, T as t, C as i } from "../index-
|
|
2
|
+
import { H as m, T as t, C as i } from "../index-19KsCnyX.js";
|
|
3
3
|
import { CheckCircle as l, Check as h, XCircle as p, X as f, Zap as u, Timer as g, Eye as x, Layers as y } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const o=["Use useIsMounted to guard async state updates and prevent memory leaks","Prefer useElementSize over useMeasure for simple width/height tracking","Leverage generic types: useElementSize<HTMLCanvasElement>()","Debounce rapid state changes when using useToastStore","Import only needed hooks for optimal tree-shaking","Combine useLockBodyScroll with focus management for accessible modals","Use useEventListener for keyboard navigation instead of inline handlers","Pass proper event types to useEventListener for type safety","Use useClickAway with a RefObject for dropdown/popover close behavior","Call useAnchorScroll once at root level for smooth scroll navigation"],i=["Destructure useCopyToClipboard as [value, fn] — it returns [stateObj, fn]","Forget that useScrollableSlider requires react-router-dom context","Use useMeasure when you only need width/height — it has more overhead","Lock body scroll without preserving scrollbar width (useLockBodyScroll handles this)","Create multiple useToastStore instances — it is a singleton Zustand store","Ignore the noUserInteraction field in useCopyToClipboard state","Use useIsMounted as a function — it returns a boolean directly","Mix up useElementSize ref (callback ref) with useRef (RefObject)","Hardcode breakpoint pixel values — use useBreakpoint named values instead","Forget cleanup when using useEventListener with custom elements"];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Guidelines for optimal hook usage, common pitfalls to avoid, and patterns that ensure performance, type safety, and accessibility.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(a.ShieldCheck,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Recommendations"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Follow these guidelines for robust hook implementations"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg",children:e.jsx(a.Check,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Do's"})]}),e.jsx("ul",{className:"space-y-2",children:o.map((r,t)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.Check,{className:"w-4 h-4 text-green-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:r})]},t))})]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-red-500 to-rose-500 shadow-lg",children:e.jsx(a.X,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Don'ts"})]}),e.jsx("ul",{className:"space-y-2",children:i.map((r,t)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.X,{className:"w-4 h-4 text-red-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:r})]},t))})]})})]})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Common Patterns"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Recommended hook composition patterns"})]}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-indigo-500 to-purple-500 shadow-lg",children:e.jsx(a.Puzzle,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Accessible Modal Pattern"})]}),e.jsx("div",{className:"bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto",children:e.jsx(s.CodeBlock,{language:"tsx",noExpand:!0,code:`function Modal({ isOpen, onClose, children }) {
|
|
2
2
|
const modalRef = useRef<HTMLDivElement>(null);
|
|
3
3
|
|
|
4
4
|
// Lock scroll when modal opens
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
if (!isOpen) return null;
|
|
16
16
|
return <div ref={modalRef} role="dialog">{children}</div>;
|
|
17
|
-
}`})})]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg",children:e.jsx(a.Monitor,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Responsive Layout Pattern"})]}),e.jsx("div",{className:"bg-light-dark p-4 rounded-xl border dark:border-
|
|
17
|
+
}`})})]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg",children:e.jsx(a.Monitor,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Responsive Layout Pattern"})]}),e.jsx("div",{className:"bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto",children:e.jsx(s.CodeBlock,{language:"tsx",noExpand:!0,code:`function ResponsiveGrid({ children }) {
|
|
18
18
|
const { isMobile } = useIsMobile();
|
|
19
19
|
const { isGridCompact, setIsGridCompact } = useGridSwitcher();
|
|
20
20
|
const breakpoint = useBreakpoint();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),r=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const i=["Use the useTheme hook to access theme state","Utilize built-in color presets for consistency","Test your application in both light and dark modes","Use the settings panel for user customization","Leverage persistent storage for user preferences","Use semantic Tailwind classes (bg-brand, text-secondary)","Respect THEME_STYLE_LAYOUTS constraints when changing layouts"],n=["Directly manipulate CSS custom properties","Hardcode colors that don't adapt to themes","Override theme state without using setters","Ignore RTL support for international apps","Disable all settings without providing alternatives","Use arbitrary hex values instead of design tokens","Assign layouts incompatible with the current theme style"];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Recommended patterns and anti-patterns for working with the theme system effectively.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(r.ShieldCheck,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Guidelines"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Follow these patterns to keep your theming consistent and maintainable"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:[e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Do's",children:e.jsx("ul",{className:"space-y-2",children:i.map((t,a)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(r.Check,{className:"w-4 h-4 text-green-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:t})]},a))})})}),e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Don'ts",children:e.jsx("ul",{className:"space-y-2",children:n.map((t,a)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(r.X,{className:"w-4 h-4 text-red-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:t})]},a))})})})]})]})]})};exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DMs_SmPq.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const i=[{category:"Layout Selection",items:["Admin: Use for complex applications with many navigation items and sidebar menus","Horizontal: Use for content-focused sites and simple applications with top navigation","Clean: Use for authentication flows, landing pages, and standalone content"]},{category:"ThemeProvider Setup",items:["Always wrap your application with ThemeProvider before using layouts","Provide menuItems prop for Admin and Horizontal layouts","Use layout prop to control which layout is rendered","Theme settings are automatically persisted to localStorage"]},{category:"Responsive Design",items:["Always test layouts on mobile devices","Use provided breakpoint system for responsive behavior","Consider touch interactions for mobile navigation","Admin layout automatically shows drawer on mobile"]},{category:"Accessibility",items:["Provide meaningful menu item names","Use semantic HTML structure","Test keyboard navigation","Ensure proper color contrast in all themes","Support RTL/LTR for international users"]}];return e.jsxs(e.Fragment,{children:[e.jsx(t.HeroCard,{title:"Best Practices",description:"Guidelines for optimal layout system implementation and common patterns.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(s.Star,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("div",{className:"text-center",children:[e.jsx(t.Typography,{tag:"h2",className:"mb-2",children:"Best Practices"}),e.jsx(t.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Guidelines for optimal layout system implementation"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:i.map((a,r)=>e.jsx(t.CardContainer,{className:"group hover:shadow-large transition-all duration-300 hover:-translate-y-1",children:e.jsxs("div",{className:"w-full space-y-4 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 shadow-md",children:e.jsx(s.CheckCircle,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(t.Typography,{tag:"h3",className:"font-semibold text-lg",children:a.category})]}),e.jsx("ul",{className:"space-y-2",children:a.items.map((o,n)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.ArrowRight,{className:"w-4 h-4 text-primary mt-0.5 shrink-0"}),e.jsx(t.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:o})]},n))})]})},r))})]})};exports.default=l;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as m, T as r, C as i, a as n } from "../index-
|
|
2
|
+
import { H as m, T as r, C as i, a as n } from "../index-19KsCnyX.js";
|
|
3
3
|
import { ShieldCheck as d, Check as h, X as p } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),r=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>{const i=["Always define a TypeScript interface for your form values","Use generic types: Form<FormValues>, FormField<FormValues>","Prefer centralized validationSchema for consistency","Provide clear, user-friendly error messages",'Use mode: "onBlur" for large forms (fewer re-renders)','Use mode: "onChange" when real-time feedback is needed',"Always add labels for accessibility (FormField label prop)","Use reset() to clear forms after successful submission"],l=["Don't use uncontrolled inputs outside FormField — they won't register","Don't call setValue without shouldValidate: true if you need instant feedback","Don't put useFormContext in a component outside Form — it will crash","Don't mix controlled and uncontrolled patterns in the same field","Don't use watch() for values you only read on submit — use getValues() instead","Don't forget defaultValues — required for reset() and initial state","Don't validate on every keystroke for complex async checks — use debounce","Don't skip FormField for inputs that need error display"],n=[{title:"Isolated Re-renders",description:"react-hook-form only re-renders the field that changed, not the whole form. This is automatic.",icon:e.jsx(r.Zap,{className:"w-5 h-5 text-amber-500"})},{title:"Use onBlur Mode",description:'For forms with 10+ fields, mode: "onBlur" validates only when the user leaves a field, reducing re-renders.',icon:e.jsx(r.Timer,{className:"w-5 h-5 text-blue-500"})},{title:"Avoid watch() Overuse",description:"Each watch() call subscribes to re-renders. Use getValues() for one-time reads in handlers.",icon:e.jsx(r.Eye,{className:"w-5 h-5 text-purple-500"})},{title:"Split Large Forms",description:"For wizard/multi-step flows, split into multiple Form instances or conditional sections.",icon:e.jsx(r.Layers,{className:"w-5 h-5 text-green-500"})}];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Guidelines for building performant, accessible, and maintainable forms with the tucu-ui form system.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(r.CheckCircle,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Do's and Don'ts"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Quick reference for form development"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:[e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(r.CheckCircle,{className:"w-5 h-5 text-green-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-green-700 dark:text-green-400",children:"Do"})]}),i.map((t,a)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(r.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:t})]},a))]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(r.XCircle,{className:"w-5 h-5 text-red-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-red-700 dark:text-red-400",children:"Don't"})]}),l.map((t,a)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(r.X,{className:"w-4 h-4 text-red-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:t})]},a))]})})]})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Performance Tips"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"How to keep forms fast as they grow in complexity"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:n.map((t,a)=>e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[t.icon,e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:t.title})]}),e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:t.description})]})},a))})]})]})};exports.default=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as m, T as a, C as n } from "../index-
|
|
2
|
+
import { H as m, T as a, C as n } from "../index-19KsCnyX.js";
|
|
3
3
|
import { CheckCircle as c, Check as h, XCircle as p, X as u, Package as g, HardDrive as x, Zap as y, TreeDeciduous as f } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as d, T as a, C as r } from "../index-
|
|
2
|
+
import { H as d, T as a, C as r } from "../index-19KsCnyX.js";
|
|
3
3
|
import { ShieldCheck as m, CheckCircle as h, Check as p, XCircle as u, X as g, Palette as x, ArrowDownUp as b, AlertCircle as f, Bell as w } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as m, T as a, C as r } from "../index-
|
|
2
|
+
import { H as m, T as a, C as r } from "../index-19KsCnyX.js";
|
|
3
3
|
import { ShieldCheck as h, Check as n, X as o } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as l, C as i, a as o, T as a } from "../index-
|
|
2
|
+
import { H as l, C as i, a as o, T as a } from "../index-19KsCnyX.js";
|
|
3
3
|
import { Circle as n } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -31,7 +31,7 @@ const f = () => /* @__PURE__ */ d("div", { className: "space-y-8 max-w-6xl sm:sp
|
|
|
31
31
|
return /* @__PURE__ */ d(
|
|
32
32
|
"div",
|
|
33
33
|
{
|
|
34
|
-
className: "border border-
|
|
34
|
+
className: "border border-border rounded-lg p-4 space-y-3",
|
|
35
35
|
children: [
|
|
36
36
|
/* @__PURE__ */ d("div", { className: "flex items-center justify-between", children: [
|
|
37
37
|
/* @__PURE__ */ e(a, { tag: "h4", className: "font-semibold", children: s }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-DMs_SmPq.js"),l=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>{const a={0:"rounded-[0px]",100:"rounded-[4px]",200:"rounded-[8px]",300:"rounded-[12px]",400:"rounded-[16px]",500:"rounded-[24px]",600:"rounded-[32px]",700:"rounded-[40px]",800:"rounded-[48px]",900:"rounded-[56px]",1e3:"rounded-[100000px]"};return e.jsxs("div",{className:"space-y-8 max-w-6xl sm:space-y-12 w-full mx-auto px-4 sm:px-6 lg:px-8 relative pt-8 lg:pt-12",children:[e.jsx(r.HeroCard,{title:"Border Radius",description:"Border radius scale using Tailwind arbitrary values for consistent rounded corners.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-amber-500 via-yellow-500 to-orange-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(l.Circle,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Border Radius Scale",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-8 p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:Object.entries(a).map(([s,d])=>{const i=d.replace("rounded-[","").replace("]","");return e.jsxs("div",{className:"border border-border rounded-lg p-4 space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(r.Typography,{tag:"h4",className:"font-semibold",children:s}),e.jsx(r.Typography,{tag:"h4",className:"text-muted text-[10px]",children:i})]}),e.jsx("div",{className:"flex justify-center",children:e.jsx("div",{className:`w-20 h-20 bg-primary ${d}`})}),e.jsx(r.Typography,{tag:"h4",className:"text-muted text-[9px] break-all px-1 text-center",children:d})]},s)})})})})})]})};exports.default=t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { H as c, C as l, a as i, T as a, x as e, P as s, A as m, c as d } from "../index-
|
|
2
|
+
import { H as c, C as l, a as i, T as a, x as e, P as s, A as m, c as d } from "../index-19KsCnyX.js";
|
|
3
3
|
import { MousePointerClick as p } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),e=require("../index-DMs_SmPq.js"),l=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>t.jsxs(t.Fragment,{children:[t.jsx(e.HeroCard,{title:"ButtonDrip",description:"A button effect component that creates a ripple animation on click.",icon:t.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-blue-500 to-indigo-500 rounded-full flex items-center justify-center shadow-lg",children:t.jsx(l.MousePointerClick,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),t.jsx(e.CardContainer,{className:"overflow-hidden",children:t.jsx(e.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:t.jsx("div",{className:"w-full p-4 sm:p-6",children:t.jsxs("div",{className:"space-y-4",children:[t.jsxs(e.CardContainer,{className:"p-4",children:[t.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Button with Drip Effect"}),t.jsx(e.Button,{children:"Click me"})]}),t.jsxs(e.CardContainer,{className:"p-4",children:[t.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Button with Tooltip"}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(e.Button,{tooltip:"Save changes",tooltipPlacement:"top",children:"Top"}),t.jsx(e.Button,{tooltip:"Delete item",tooltipPlacement:"bottom",tooltipColor:"light",color:"danger",children:"Bottom (light)"}),t.jsx(e.Button,{tooltip:"Go back",tooltipPlacement:"left",variant:"ghost",children:"Left"}),t.jsx(e.Button,{tooltip:"More info",tooltipPlacement:"right",variant:"ghost",color:"info",children:"Right"})]})]})]})})})}),t.jsx(e.PropPlayground,{componentName:"Button",defaultValues:{variant:"solid",color:"primary",size:"medium",shape:"rounded",tooltip:"",tooltipPlacement:"top"},excludeProps:["onClick","loaderSize","loaderVariant","aria-label","aria-describedby"],children:o=>t.jsx(e.Button,{...o,children:"Click me"})}),t.jsx(e.AutoPropsTable,{componentName:"Button"}),t.jsx(e.CardContainer,{className:"overflow-hidden",children:t.jsx(e.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:t.jsx("div",{className:"w-full p-4 sm:p-6",children:t.jsx(e.CodeBlock,{language:"tsx",code:`import { ButtonDrip } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// ButtonDrip is typically used internally by Button component
|
|
4
4
|
// It creates a ripple effect when a button is clicked
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as d, C as a, a as o, T as r, x as l, P as c, y as m, c as p } from "../index-
|
|
2
|
+
import { H as d, C as a, a as o, T as r, x as l, P as c, y as m, c as p } from "../index-19KsCnyX.js";
|
|
3
3
|
import { Loader2 as u } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-DMs_SmPq.js"),l=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const s=[{key:"prop",label:"Prop",render:t=>e.jsx("code",{className:"text-xs text-brand",children:String(t)})},{key:"type",label:"Type",render:t=>e.jsx("code",{className:"text-xs",children:String(t)})},{key:"default",label:"Default",render:t=>{const r=String(t);return r==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:r})}},{key:"description",label:"Description"}],i=[{prop:"size",type:"'large' | 'medium' | 'small'",default:"required",description:"Size of the loader"},{prop:"variant",type:"'blink' | 'scaleUp' | 'moveUp'",default:"required",description:"Animation variant of the loader"}];return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"ButtonLoader",description:`A loader component designed specifically for buttons, providing visual
|
|
2
2
|
feedback during loading states.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-blue-500 to-indigo-600 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(l.Loader2,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Button with Loading State"}),e.jsx(a.Button,{isLoading:!0})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Button with Custom Loader"}),e.jsx(a.Button,{isLoading:!0,loaderSize:"small",loaderVariant:"blink"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Large Button with Loader"}),e.jsx(a.Button,{isLoading:!0,size:"large",loaderSize:"large"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Small Button with Loader"}),e.jsx(a.Button,{isLoading:!0,size:"small",loaderSize:"small"})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Blink Variant"}),e.jsx(a.Button,{isLoading:!0,loaderVariant:"blink"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Scale Up Variant"}),e.jsx(a.Button,{isLoading:!0,loaderVariant:"scaleUp"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Move Up Variant"}),e.jsx(a.Button,{isLoading:!0,loaderVariant:"moveUp"})]})]})})})}),e.jsx(a.PropPlayground,{componentName:"Button",title:"Button Loader Playground",defaultValues:{variant:"solid",color:"primary",size:"medium",isLoading:!0,loaderSize:"small",loaderVariant:"scaleUp"},excludeProps:["onClick","aria-label","aria-describedby","tooltip","tooltipArrow","tooltipColor","tooltipPlacement","shape","fullWidth","disabled"],children:t=>e.jsx(a.Button,{...t,children:"Loading..."})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.BasicTable,{columns:s,data:i})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { Button } from '@e-burgos/tucu-ui';
|
|
3
3
|
|
|
4
4
|
// Basic usage with loading state
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as n, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { H as i, C as e, a as o, T as t, A as s, c as d } from "../index-
|
|
2
|
+
import { H as i, C as e, a as o, T as t, A as s, c as d } from "../index-19KsCnyX.js";
|
|
3
3
|
import { LayoutGrid as l } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-DMs_SmPq.js"),r=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"CardContainer",description:`A container component that provides consistent styling and layout for
|
|
2
2
|
card-based content.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-purple-500 to-violet-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(r.LayoutGrid,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Card"}),e.jsx(a.CardContainer,{children:e.jsx(a.Typography,{tag:"p",children:"Card content goes here"})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Custom Content"}),e.jsxs(a.CardContainer,{children:[e.jsx(a.Typography,{tag:"h3",className:"font-bold mb-2",children:"Card Title"}),e.jsx(a.Typography,{tag:"p",children:"This is a card with custom content including a title and description."})]})]})]})})})}),e.jsx(a.AutoPropsTable,{componentName:"CardContainer"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { CardContainer, Typography } from '@e-burgos/tucu-ui';
|
|
3
3
|
|
|
4
4
|
// Basic usage
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as c, C as r, a as o, J as t, T as a, K as l, x as n, P as h, A as m, c as p } from "../index-
|
|
2
|
+
import { H as c, C as r, a as o, J as t, T as a, K as l, x as n, P as h, A as m, c as p } from "../index-19KsCnyX.js";
|
|
3
3
|
import { CreditCard as g, Users as C, Settings as u, Bell as f } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DMs_SmPq.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>e.jsxs(e.Fragment,{children:[e.jsx(t.HeroCard,{title:"Card",description:`A flexible card component with optional header, icon, footer, actions,
|
|
2
2
|
and clickable behavior.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-violet-500 to-purple-600 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(a.CreditCard,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(t.Card,{title:"Basic Card",description:"A simple card with title and description",icon:e.jsx(a.Users,{className:"h-5 w-5"}),children:e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"This is the card body content. You can place any content here."})}),e.jsx(t.Card,{title:"With Actions",description:"Card with action buttons in the header",icon:e.jsx(a.Settings,{className:"h-5 w-5"}),actions:e.jsx(t.Badge,{color:"success",size:"small",children:"Active"}),children:e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"The actions slot renders elements on the right side of the header."})}),e.jsx(t.Card,{title:"With Footer",description:"Card with a footer section",icon:e.jsx(a.Bell,{className:"h-5 w-5"}),footer:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(t.Typography,{tag:"span",className:"text-xs text-gray-500",children:"Last updated 2 hours ago"}),e.jsx(t.Button,{variant:"ghost",size:"mini",children:"View Details"})]}),children:e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Footer content appears at the bottom with a top border separator."})}),e.jsx(t.Card,{title:"Clickable Card",description:"Click anywhere on this card",onClick:()=>alert("Card clicked!"),children:e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Clickable cards show a hover effect on the border."})})]})})})}),e.jsx(t.PropPlayground,{componentName:"Card",title:"Card Playground",defaultValues:{title:"Card Title",description:"This is a card description with relevant content."},excludeProps:["onClick","icon","header","footer","actions","className"],children:r=>e.jsx(t.Card,{...r})}),e.jsx(t.AutoPropsTable,{componentName:"Card"}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.CodeBlock,{language:"tsx",code:`import { Card, Badge, Button } from '@e-burgos/tucu-ui';
|
|
3
3
|
import { Users } from 'lucide-react';
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as o, C as i, a as t, T as r, P as s, A as c, c as h } from "../index-
|
|
2
|
+
import { H as o, C as i, a as t, T as r, P as s, A as c, c as h } from "../index-19KsCnyX.js";
|
|
3
3
|
import { Heading as p } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-DMs_SmPq.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>e.jsxs(e.Fragment,{children:[e.jsx(r.HeroCard,{title:"CardTitle",description:`A card component with an integrated title that appears above the card
|
|
2
2
|
border.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-purple-600 to-violet-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Heading,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"With Title"}),e.jsx(r.CardTitle,{title:"Card Title",children:e.jsx(r.Typography,{tag:"p",children:"Card content goes here"})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Without Border"}),e.jsx(r.CardTitle,{title:"No Border",border:!1,children:e.jsx(r.Typography,{tag:"p",children:"Card without border"})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"With Rich Content"}),e.jsx(r.CardTitle,{title:"Rich Content",children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(r.Typography,{tag:"p",children:"First paragraph"}),e.jsx(r.Typography,{tag:"p",children:"Second paragraph"})]})})]})]})})})}),e.jsx(r.PropPlayground,{componentName:"CardTitle",defaultValues:{title:"Card Title",border:!0},excludeProps:[],children:a=>e.jsx(r.CardTitle,{...a,children:e.jsx("div",{className:"p-4",children:"Card Content"})})}),e.jsx(r.AutoPropsTable,{componentName:"CardTitle"}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(r.CodeBlock,{language:"tsx",code:`import { CardTitle, Typography } from '@e-burgos/tucu-ui';
|
|
3
3
|
|
|
4
4
|
// With title
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-DMs_SmPq.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>{const i=[{title:"Performance",description:"Blazing fast performance with optimized rendering and minimal bundle size",icon:e.jsx(s.Zap,{className:"w-8 h-8"})},{title:"Customizable",description:"Highly customizable with extensive theming options and variants",icon:e.jsx(s.Palette,{className:"w-8 h-8"})},{title:"Accessible",description:"Built with accessibility in mind, WCAG 2.1 compliant",icon:e.jsx(s.Users,{className:"w-8 h-8"})},{title:"Responsive",description:"Mobile-first design that works seamlessly across all devices",icon:e.jsx(s.Smartphone,{className:"w-8 h-8"})},{title:"Type Safe",description:"Full TypeScript support with comprehensive type definitions",icon:e.jsx(s.Shield,{className:"w-8 h-8"})},{title:"Documentation",description:"Extensive documentation with examples and best practices",icon:e.jsx(s.BookOpen,{className:"w-8 h-8"})}];return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"CarouselCards",description:`A carousel component specifically designed for displaying cards with
|
|
2
2
|
customizable sizes and variants.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-rose-500 to-pink-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(s.Layers,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Carousel Cards"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselCards,{cardClassName:"min-h-[250px]",cards:i})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Navigation and Pagination"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselCards,{cards:i,showNavigation:!0,showPagination:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Elevated Variant - Medium Size"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselCards,{cards:i,variant:"elevated",cardSize:"md",showNavigation:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Outlined Variant - Large Size"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselCards,{cards:i,variant:"outlined",cardSize:"lg",showPagination:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Filled Variant - Small Size"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselCards,{cards:i,variant:"filled",cardSize:"sm",showNavigation:!0,showPagination:!0})})]})]})})})}),e.jsx(a.PropPlayground,{componentName:"CarouselCards",title:"CarouselCards Playground",defaultValues:{variant:"default",cardSize:"md",showCardTitles:!0,showNavigation:!0,showPagination:!0,loop:!0,grabCursor:!0,direction:"horizontal"},excludeProps:["cards","onSlideChange","onSwiper","breakpoints","autoplay","className","slideClassName","cardClassName","aria-label","effect","paginationType","centeredSlides","freeMode","mousewheel","slidesPerView","spaceBetween"],children:r=>e.jsx(a.CarouselCards,{...r,cards:[{title:"Card 1",description:"Description 1",image:""},{title:"Card 2",description:"Description 2",image:""},{title:"Card 3",description:"Description 3",image:""}]})}),e.jsx(a.AutoPropsTable,{componentName:"CarouselCards"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { CarouselCards, LucideIcons } from '@e-burgos/tucu-ui';
|
|
3
3
|
|
|
4
4
|
const cards = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as n, C as i, a as l, T as t, V as s, P as o, A as m, c as h } from "../index-
|
|
2
|
+
import { H as n, C as i, a as l, T as t, V as s, P as o, A as m, c as h } from "../index-19KsCnyX.js";
|
|
3
3
|
import { Layers as p, Zap as u, Palette as C, Users as w, Smartphone as g, Shield as N, BookOpen as f } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-DMs_SmPq.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>{const s=[{src:"https://images.unsplash.com/photo-1682687220742-aba13b6e50ba?w=800&h=600&fit=crop",alt:"Mountain Landscape",title:"Mountain Peaks",description:"Breathtaking view of snow-capped mountain peaks at sunrise"},{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop",alt:"Ocean View",title:"Ocean Horizon",description:"Serene ocean view with crystal clear blue waters"},{src:"https://images.unsplash.com/photo-1511593358241-7eea1f3c84e5?w=800&h=600&fit=crop",alt:"Forest Path",title:"Forest Trail",description:"Peaceful path through a lush green forest"},{src:"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?w=800&h=600&fit=crop",alt:"Desert Sunset",title:"Desert Landscape",description:"Stunning sunset over golden desert dunes"},{src:"https://images.unsplash.com/photo-1542202229-7d93c33f5d07?w=800&h=600&fit=crop",alt:"City Skyline",title:"Urban Cityscape",description:"Modern city skyline illuminated at night"},{src:"https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop",alt:"Northern Lights",title:"Aurora Borealis",description:"Magical northern lights dancing across the night sky"}];return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"CarouselImage",description:`A carousel component specifically designed for displaying images with
|
|
2
2
|
optional titles and descriptions.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-pink-600 to-rose-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Image,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Image Carousel"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Titles and Descriptions"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,showTitles:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Navigation and Pagination"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,showNavigation:!0,showPagination:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Contain Fit - Preserve Aspect Ratio"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,imageFit:"contain",showTitles:!0,showNavigation:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Square Aspect Ratio"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,aspectRatio:"aspect-square",showNavigation:!0,showPagination:!0})})]})]})})})}),e.jsx(a.PropPlayground,{componentName:"CarouselImage",title:"CarouselImage Playground",defaultValues:{showNavigation:!0,showPagination:!0,showTitles:!0,loop:!0,grabCursor:!0,lazy:!1,imageFit:"cover",direction:"horizontal"},excludeProps:["images","onSlideChange","onSwiper","breakpoints","autoplay","className","slideClassName","imageClassName","aria-label","aspectRatio","effect","paginationType","centeredSlides","freeMode","mousewheel","slidesPerView","spaceBetween"],children:i=>e.jsx(a.CarouselImage,{...i,images:[{src:"https://picsum.photos/seed/1/800/400",alt:"Image 1",title:"Image 1"},{src:"https://picsum.photos/seed/2/800/400",alt:"Image 2",title:"Image 2"},{src:"https://picsum.photos/seed/3/800/400",alt:"Image 3",title:"Image 3"}]})}),e.jsx(a.AutoPropsTable,{componentName:"CarouselImage"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { CarouselImage } from '@e-burgos/tucu-ui';
|
|
3
3
|
|
|
4
4
|
const images = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as c, C as s, a as l, T as o, W as i, P as m, A as p, c as h } from "../index-
|
|
2
|
+
import { H as c, C as s, a as l, T as o, W as i, P as m, A as p, c as h } from "../index-19KsCnyX.js";
|
|
3
3
|
import { Image as d } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as c, C as a, a as o, T as s, U as i, P as m, A as u, c as h } from "../index-
|
|
2
|
+
import { H as c, C as a, a as o, T as s, U as i, P as m, A as u, c as h } from "../index-19KsCnyX.js";
|
|
3
3
|
import { GalleryHorizontal as p } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),r=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>{const l=[e.jsx("div",{className:"h-64 w-full bg-gradient-to-br from-brand to-sky-500 rounded-lg flex items-center justify-center text-white text-2xl",children:"Slide 1"},"1"),e.jsx("div",{className:"h-64 w-full bg-gradient-to-br from-brand to-green-500 rounded-lg flex items-center justify-center text-white text-2xl",children:"Slide 2"},"2"),e.jsx("div",{className:"h-64 w-full bg-gradient-to-br from-brand to-purple-500 rounded-lg flex items-center justify-center text-white text-2xl",children:"Slide 3"},"3")];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Carousel",description:`A powerful carousel component built on Swiper.js with support for
|
|
2
2
|
navigation, pagination, autoplay, and various effects.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-pink-500 to-rose-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(r.GalleryHorizontal,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Basic Carousel"}),e.jsx("div",{className:"w-full",children:e.jsx(s.Carousel,{children:l})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Navigation"}),e.jsx("div",{className:"w-full",children:e.jsx(s.Carousel,{showNavigation:!0,children:l})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Pagination"}),e.jsx("div",{className:"w-full",children:e.jsx(s.Carousel,{showPagination:!0,children:l})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Multiple Slides"}),e.jsx("div",{className:"w-full",children:e.jsx(s.Carousel,{slidesPerView:2,spaceBetween:20,children:l})})]})]})})})}),e.jsx(s.PropPlayground,{componentName:"Carousel",title:"Carousel Playground",defaultValues:{direction:"horizontal",effect:"slide",loop:!0,showNavigation:!0,showPagination:!0,paginationType:"bullets",grabCursor:!0,centeredSlides:!1,freeMode:!1,mousewheel:!1,slidesPerView:1,spaceBetween:16},excludeProps:["onSlideChange","onSwiper","breakpoints","autoplay","className","slideClassName","aria-label"],children:i=>e.jsx(s.Carousel,{...i,children:[1,2,3,4].map(a=>e.jsx("div",{className:"h-40 rounded-lg bg-brand/20 flex items-center justify-center",children:e.jsxs(s.Typography,{tag:"h4",children:["Slide ",a]})},a))})}),e.jsx(s.AutoPropsTable,{componentName:"Carousel"}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.CodeBlock,{language:"tsx",code:`import { Carousel } from '@e-burgos/tucu-ui';
|
|
3
3
|
|
|
4
4
|
const slides = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as g, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { H as u, C as a, a as d, T as r, p as c, P as k, A as C, c as N } from "../index-
|
|
3
|
+
import { H as u, C as a, a as d, T as r, p as c, P as k, A as C, c as N } from "../index-19KsCnyX.js";
|
|
4
4
|
import { CheckSquare as x } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),a=require("../index-DMs_SmPq.js"),t=require("lucide-react");require("react-router-dom");require("react-dom");const m=()=>{const[r,c]=o.useState(!1),[i,d]=o.useState(!0),n=[{label:"Primary",color:"primary"},{label:"Secondary",color:"secondary"},{label:"Danger",color:"danger"},{label:"Info",color:"info"},{label:"Success",color:"success"},{label:"Warning",color:"warning"}],h=[{label:"Small",size:"sm"},{label:"Medium",size:"md"},{label:"Large",size:"lg"}];return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"Checkbox",description:"A checkbox component for binary selections.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg border border-green-500/50",children:e.jsx(t.CheckSquare,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Checkbox"}),e.jsx(a.Checkbox,{label:"I accept the terms and conditions",checked:r,onChange:s=>c(s.target.checked)})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsx(a.Checkbox,{label:"Subscribe to newsletter",helperText:"Receive updates via email",checked:r,onChange:s=>c(s.target.checked)})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsx(a.Checkbox,{label:"Required checkbox",error:"This field is required"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(a.Checkbox,{label:"Disabled option",disabled:!0})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),e.jsx(a.Checkbox,{label:"Ghost Variant",variant:"ghost"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsx(a.Checkbox,{label:"Solid Variant",variant:"solid"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),e.jsx(a.Checkbox,{label:"Transparent Variant",variant:"transparent"})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Colors",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3",children:n.map(({label:s,color:l})=>e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:s}),e.jsx(a.Checkbox,{label:`${s} Checkbox`,color:l})]},l))})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-3",children:h.map(({label:s,size:l})=>e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:s}),e.jsx(a.Checkbox,{label:`${s} Checkbox`,size:l})]},l))})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Shapes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Rounded"}),e.jsx(a.Checkbox,{label:"Rounded Shape",shape:"rounded"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Square (default)"}),e.jsx(a.Checkbox,{label:"Square Shape",shape:"square"})]})]})})})}),e.jsx(a.PropPlayground,{componentName:"Checkbox",defaultValues:{label:"Preview Checkbox",variant:"ghost",color:"primary",size:"md",shape:"square",helperText:"",error:"",disabled:!1},includeProps:["label","variant","color","size","shape","helperText","error","disabled"],excludeProps:["checked","onChange"],children:s=>e.jsx(a.Checkbox,{...s,checked:i,onChange:l=>d(l.target.checked)})}),e.jsx(a.AutoPropsTable,{componentName:"Checkbox"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { Checkbox } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
<Checkbox
|
|
4
4
|
label="I accept the terms and conditions"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-DMs_SmPq.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>{const i=[{title:"Accessible Input with Error",description:"Input automatically connects label, error, and helper text via aria attributes.",code:`import { Input } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Input auto-generates IDs with useId()
|
|
4
4
|
// label uses htmlFor → input id
|