@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,82 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../index-BaGqriuz.js"),r=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>a.jsxs(a.Fragment,{children:[a.jsx(e.HeroCard,{title:"Image",description:`A powerful image component inspired by Next.js Image, featuring lazy
|
|
2
|
-
loading, blur placeholders, error handling, and automatic
|
|
3
|
-
optimization.`,icon:a.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-sky-600 to-blue-500 rounded-full flex items-center justify-center shadow-lg",children:a.jsx(r.ImageIcon,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Basic Usage",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Standard Image"}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Basic usage with width and height."}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1682687220742-aba13b6e50ba?w=400&h=300&fit=crop",alt:"Mountain landscape",width:400,height:300,className:"rounded-lg"})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Lazy Loading"}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Automatic lazy loading with smooth fade-in."}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=400&h=300&fit=crop",alt:"Mountain peaks",width:400,height:300,loading:"lazy",className:"rounded-lg"})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Object Fit Modes",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Cover (Default)"}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Fills container, may crop image."}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=300&h=200&fit=crop",alt:"Nature landscape cover",width:300,height:200,objectFit:"cover",className:"rounded-lg border-2 border-gray-200 dark:border-gray-700"})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Contain"}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Fits entirely, may have empty space."}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=300&h=200&fit=crop",alt:"Nature landscape contain",width:300,height:200,objectFit:"contain",containerClassName:"bg-gray-100 dark:bg-gray-800",className:"rounded-lg"})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Fill"}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Stretches to fill container."}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=300&h=200&fit=crop",alt:"Nature landscape fill",width:300,height:200,objectFit:"fill",className:"rounded-lg border-2 border-gray-200 dark:border-gray-700"})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Aspect Ratios",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"16:9 (Video)"}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?w=400&h=300&fit=crop",alt:"Beach sunset 16:9",aspectRatio:"16/9",fill:!0,containerClassName:"w-full rounded-lg"})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"4:3 (Classic)"}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1472214103451-9374bd1c798e?w=400&h=300&fit=crop",alt:"Forest path 4:3",aspectRatio:"4/3",fill:!0,containerClassName:"w-full rounded-lg"})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"1:1 (Square)"}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1511884642898-4c92249e20b6?w=300&h=300&fit=crop",alt:"City skyline 1:1",aspectRatio:"1/1",fill:!0,containerClassName:"w-full rounded-lg"})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Placeholder Types",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Blur Placeholder"}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Shows animated blur effect while loading."}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1682687220742-aba13b6e50ba?w=400&h=300&fit=crop",alt:"Mountain with blur placeholder",width:400,height:300,placeholder:"blur",className:"rounded-lg"})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Empty Placeholder"}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Shows spinner while loading."}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=400&h=300&fit=crop",alt:"Mountains with empty placeholder",width:400,height:300,placeholder:"empty",className:"rounded-lg"})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Error Handling",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Invalid Image (Fallback)"}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Automatically shows fallback on error."}),a.jsx(e.Image,{src:"https://invalid-url-that-will-fail.com/image.jpg",alt:"Image with fallback",width:400,height:300,className:"rounded-lg"})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Custom Fallback"}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Provide your own fallback image."}),a.jsx(e.Image,{src:"https://invalid-url.com/image.jpg",alt:"Custom fallback",width:400,height:300,fallbackSrc:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=400&h=300&fit=crop",className:"rounded-lg"})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Responsive Images",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Full Width Responsive"}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Image fills container width with maintained aspect ratio."}),a.jsx(e.Image,{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=400&fit=crop",alt:"Responsive landscape",aspectRatio:"21/9",fill:!0,containerClassName:"w-full rounded-lg"})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Grid Responsive Images"}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:["photo-1682687220742-aba13b6e50ba","photo-1506905925346-21bda4d32df4","photo-1501594907352-04cda38ebc29","photo-1472214103451-9374bd1c798e"].map((s,l)=>a.jsx(e.Image,{src:`https://images.unsplash.com/${s}?w=300&h=300&fit=crop`,alt:`Gallery image ${l+1}`,aspectRatio:"1/1",fill:!0,containerClassName:"w-full rounded-lg"},s))})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Key Features",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsxs(e.Typography,{tag:"h5",className:"mb-2",children:[a.jsx("span",{role:"img","aria-label":"rocket",children:"🚀"})," ","Lazy Loading"]}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Native browser lazy loading for better performance and faster page loads."})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsxs(e.Typography,{tag:"h5",className:"mb-2",children:[a.jsx("span",{role:"img","aria-label":"sparkles",children:"✨"})," ","Smooth Transitions"]}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Beautiful fade-in animations and blur effects for a polished loading experience."})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsxs(e.Typography,{tag:"h5",className:"mb-2",children:[a.jsx("span",{role:"img","aria-label":"shield",children:"🛡️"})," ","Error Handling"]}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Automatic fallback images and error states with user-friendly messaging."})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsxs(e.Typography,{tag:"h5",className:"mb-2",children:[a.jsx("span",{role:"img","aria-label":"art",children:"🎨"})," ","Aspect Ratios"]}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"CSS aspect-ratio support for consistent layouts without layout shift."})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsxs(e.Typography,{tag:"h5",className:"mb-2",children:[a.jsx("span",{role:"img","aria-label":"mobile",children:"📱"})," ","Responsive"]}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Fully responsive with flexible sizing options and fill mode support."})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsxs(e.Typography,{tag:"h5",className:"mb-2",children:[a.jsx("span",{role:"img","aria-label":"accessibility",children:"♿"})," ","Accessible"]}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Required alt text and proper ARIA labels for screen readers."})]})]})})})}),a.jsx(e.PropPlayground,{componentName:"Image",defaultValues:{src:"https://picsum.photos/400/300",alt:"Sample image",objectFit:"cover",loading:"lazy",placeholder:"empty",fill:!1,priority:"auto",width:"400",height:"300",aspectRatio:"16/9"},excludeProps:[],children:s=>a.jsx(e.Image,{...s})}),a.jsx(e.AutoPropsTable,{componentName:"Image"}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.CodeBlock,{language:"tsx",code:`import { Image } from '@e-burgos/tucu-ui';
|
|
4
|
-
|
|
5
|
-
// Basic usage
|
|
6
|
-
<Image
|
|
7
|
-
src="/path/to/image.jpg"
|
|
8
|
-
alt="Description"
|
|
9
|
-
width={400}
|
|
10
|
-
height={300}
|
|
11
|
-
/>
|
|
12
|
-
|
|
13
|
-
// With lazy loading and blur placeholder
|
|
14
|
-
<Image
|
|
15
|
-
src="/landscape.jpg"
|
|
16
|
-
alt="Mountain landscape"
|
|
17
|
-
width={800}
|
|
18
|
-
height={600}
|
|
19
|
-
loading="lazy"
|
|
20
|
-
placeholder="blur"
|
|
21
|
-
className="rounded-lg"
|
|
22
|
-
/>
|
|
23
|
-
|
|
24
|
-
// Responsive with aspect ratio
|
|
25
|
-
<Image
|
|
26
|
-
src="/hero.jpg"
|
|
27
|
-
alt="Hero image"
|
|
28
|
-
aspectRatio="16/9"
|
|
29
|
-
fill
|
|
30
|
-
containerClassName="w-full rounded-xl"
|
|
31
|
-
/>
|
|
32
|
-
|
|
33
|
-
// Different object-fit modes
|
|
34
|
-
<Image src={src} alt="Cover" objectFit="cover" />
|
|
35
|
-
<Image src={src} alt="Contain" objectFit="contain" />
|
|
36
|
-
<Image src={src} alt="Fill" objectFit="fill" />
|
|
37
|
-
|
|
38
|
-
// With error handling
|
|
39
|
-
<Image
|
|
40
|
-
src="/image.jpg"
|
|
41
|
-
alt="Image with fallback"
|
|
42
|
-
width={400}
|
|
43
|
-
height={300}
|
|
44
|
-
fallbackSrc="/fallback.jpg"
|
|
45
|
-
onError={() => console.log('Failed to load')}
|
|
46
|
-
onLoad={() => console.log('Loaded successfully')}
|
|
47
|
-
/>
|
|
48
|
-
|
|
49
|
-
// Fill parent container (like Next.js)
|
|
50
|
-
<div className="relative w-full h-64">
|
|
51
|
-
<Image
|
|
52
|
-
src="/banner.jpg"
|
|
53
|
-
alt="Banner"
|
|
54
|
-
fill
|
|
55
|
-
objectFit="cover"
|
|
56
|
-
/>
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
// With priority loading (above the fold)
|
|
60
|
-
<Image
|
|
61
|
-
src="/hero.jpg"
|
|
62
|
-
alt="Hero"
|
|
63
|
-
width={1200}
|
|
64
|
-
height={600}
|
|
65
|
-
loading="eager"
|
|
66
|
-
priority="high"
|
|
67
|
-
placeholder="blur"
|
|
68
|
-
/>
|
|
69
|
-
|
|
70
|
-
// Grid of images
|
|
71
|
-
<div className="grid grid-cols-3 gap-4">
|
|
72
|
-
{images.map((img) => (
|
|
73
|
-
<Image
|
|
74
|
-
key={img.id}
|
|
75
|
-
src={img.url}
|
|
76
|
-
alt={img.alt}
|
|
77
|
-
aspectRatio="1/1"
|
|
78
|
-
fill
|
|
79
|
-
containerClassName="w-full rounded-lg"
|
|
80
|
-
/>
|
|
81
|
-
))}
|
|
82
|
-
</div>`})})})})]});exports.default=t;
|
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
import { jsxs as t, Fragment as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as s, T as o, C as i, a as m, c as a } from "../index-lfg6LZ1p.js";
|
|
3
|
-
import { Code as n } from "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const g = () => /* @__PURE__ */ t(r, { children: [
|
|
8
|
-
/* @__PURE__ */ e(
|
|
9
|
-
s,
|
|
10
|
-
{
|
|
11
|
-
title: "Implementation Examples",
|
|
12
|
-
description: "Practical code examples for common layout system configurations and patterns.",
|
|
13
|
-
icon: /* @__PURE__ */ e("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-orange-500 via-amber-500 to-yellow-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(n, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
14
|
-
}
|
|
15
|
-
),
|
|
16
|
-
/* @__PURE__ */ t("div", { className: "text-center", children: [
|
|
17
|
-
/* @__PURE__ */ e(o, { tag: "h2", className: "mb-2", children: "Implementation Examples" }),
|
|
18
|
-
/* @__PURE__ */ e(
|
|
19
|
-
o,
|
|
20
|
-
{
|
|
21
|
-
tag: "p",
|
|
22
|
-
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
23
|
-
children: "Practical code examples for common layout system configurations and patterns"
|
|
24
|
-
}
|
|
25
|
-
)
|
|
26
|
-
] }),
|
|
27
|
-
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(m, { title: "Implementation Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ t("div", { className: "w-full space-y-8 p-4 sm:p-6", children: [
|
|
28
|
-
/* @__PURE__ */ t("div", { className: "flex items-center gap-3", children: [
|
|
29
|
-
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-indigo-500 via-purple-500 to-violet-500 shadow-md", children: /* @__PURE__ */ e(n, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
|
|
30
|
-
/* @__PURE__ */ e(o, { tag: "h3", className: "text-base font-semibold", children: "Basic Usage" })
|
|
31
|
-
] }),
|
|
32
|
-
/* @__PURE__ */ t("div", { className: "space-y-6", children: [
|
|
33
|
-
/* @__PURE__ */ t("div", { className: "space-y-3", children: [
|
|
34
|
-
/* @__PURE__ */ e(o, { tag: "h4", className: "font-semibold", children: "1. Automatic Routing with menuItems" }),
|
|
35
|
-
/* @__PURE__ */ t(
|
|
36
|
-
o,
|
|
37
|
-
{
|
|
38
|
-
tag: "p",
|
|
39
|
-
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
40
|
-
children: [
|
|
41
|
-
"ThemeProvider automatically generates routes from menuItems. Each menu item with a ",
|
|
42
|
-
/* @__PURE__ */ e("code", { children: "component" }),
|
|
43
|
-
" prop becomes a route."
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
/* @__PURE__ */ e(
|
|
48
|
-
a,
|
|
49
|
-
{
|
|
50
|
-
language: "tsx",
|
|
51
|
-
code: `import { ThemeProvider, LAYOUT_OPTIONS, LucideIcons } from '@ui/tucu-ui';
|
|
52
|
-
import { Dashboard } from './pages/Dashboard';
|
|
53
|
-
import { Settings } from './pages/Settings';
|
|
54
|
-
import { Profile } from './pages/Profile';
|
|
55
|
-
|
|
56
|
-
// Menu items with components - routes are generated automatically
|
|
57
|
-
// Note: Use 'path' for internal routing, 'href' for external links
|
|
58
|
-
const menuItems = [
|
|
59
|
-
{
|
|
60
|
-
name: 'Dashboard',
|
|
61
|
-
path: '/', // Internal route path
|
|
62
|
-
icon: <LucideIcons.Home />,
|
|
63
|
-
component: <Dashboard />, // This becomes a route
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
name: 'Settings',
|
|
67
|
-
path: '/settings', // Internal route path
|
|
68
|
-
icon: <LucideIcons.Settings />,
|
|
69
|
-
component: <Settings />, // This becomes a route
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: 'Profile',
|
|
73
|
-
path: '/profile', // Internal route path
|
|
74
|
-
icon: <LucideIcons.User />,
|
|
75
|
-
component: <Profile />, // This becomes a route
|
|
76
|
-
},
|
|
77
|
-
];
|
|
78
|
-
|
|
79
|
-
function App() {
|
|
80
|
-
return (
|
|
81
|
-
<ThemeProvider
|
|
82
|
-
menuItems={menuItems}
|
|
83
|
-
layout={LAYOUT_OPTIONS.ADMIN}
|
|
84
|
-
logo={{ path: '/', name: 'My App' }}
|
|
85
|
-
/>
|
|
86
|
-
{/* No children needed - routing is handled automatically */}
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Routes are automatically created:
|
|
91
|
-
// / -> Dashboard component
|
|
92
|
-
// /settings -> Settings component
|
|
93
|
-
// /profile -> Profile component`
|
|
94
|
-
}
|
|
95
|
-
)
|
|
96
|
-
] }),
|
|
97
|
-
/* @__PURE__ */ t("div", { className: "space-y-3", children: [
|
|
98
|
-
/* @__PURE__ */ e(o, { tag: "h4", className: "font-semibold", children: "2. Landing Page (No Routing)" }),
|
|
99
|
-
/* @__PURE__ */ t(
|
|
100
|
-
o,
|
|
101
|
-
{
|
|
102
|
-
tag: "p",
|
|
103
|
-
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
104
|
-
children: [
|
|
105
|
-
"For landing pages or single-page applications without routing, use ",
|
|
106
|
-
/* @__PURE__ */ e("code", { children: "customRoutes" }),
|
|
107
|
-
" with a single route."
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
),
|
|
111
|
-
/* @__PURE__ */ e(
|
|
112
|
-
a,
|
|
113
|
-
{
|
|
114
|
-
language: "tsx",
|
|
115
|
-
code: `import { ThemeProvider, LAYOUT_OPTIONS, Routes, Route } from '@ui/tucu-ui';
|
|
116
|
-
import { LandingPage } from './pages/LandingPage';
|
|
117
|
-
|
|
118
|
-
function App() {
|
|
119
|
-
return (
|
|
120
|
-
<ThemeProvider
|
|
121
|
-
menuItems={[]} // Empty - no navigation needed for landing page
|
|
122
|
-
layout={LAYOUT_OPTIONS.CLEAN} // Clean layout for landing pages
|
|
123
|
-
logo={{ path: '/', name: 'My Brand' }}
|
|
124
|
-
customRoutes={
|
|
125
|
-
<Routes>
|
|
126
|
-
<Route path="*" element={<LandingPage />} />
|
|
127
|
-
</Routes>
|
|
128
|
-
}
|
|
129
|
-
/>
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
// The customRoutes prop overrides automatic routing
|
|
134
|
-
// BrowserRouter is already included in ThemeProvider
|
|
135
|
-
// No need to import or wrap with BrowserRouter`
|
|
136
|
-
}
|
|
137
|
-
)
|
|
138
|
-
] }),
|
|
139
|
-
/* @__PURE__ */ t("div", { className: "space-y-3", children: [
|
|
140
|
-
/* @__PURE__ */ e(o, { tag: "h4", className: "font-semibold", children: "3. Custom Routing with customRoutes" }),
|
|
141
|
-
/* @__PURE__ */ t(
|
|
142
|
-
o,
|
|
143
|
-
{
|
|
144
|
-
tag: "p",
|
|
145
|
-
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
146
|
-
children: [
|
|
147
|
-
"For complex routing scenarios, provide your own",
|
|
148
|
-
" ",
|
|
149
|
-
/* @__PURE__ */ e("code", { children: "<Routes>" }),
|
|
150
|
-
" component via",
|
|
151
|
-
" ",
|
|
152
|
-
/* @__PURE__ */ e("code", { children: "customRoutes" }),
|
|
153
|
-
" prop."
|
|
154
|
-
]
|
|
155
|
-
}
|
|
156
|
-
),
|
|
157
|
-
/* @__PURE__ */ e(
|
|
158
|
-
a,
|
|
159
|
-
{
|
|
160
|
-
language: "tsx",
|
|
161
|
-
code: `import { ThemeProvider, LAYOUT_OPTIONS, Routes, Route } from '@ui/tucu-ui';
|
|
162
|
-
import { BrowserRouter } from 'react-router-dom'; // Already included in ThemeProvider
|
|
163
|
-
import { Home } from './pages/Home';
|
|
164
|
-
import { About } from './pages/About';
|
|
165
|
-
import { Contact } from './pages/Contact';
|
|
166
|
-
import { NotFound } from './pages/NotFound';
|
|
167
|
-
|
|
168
|
-
function App() {
|
|
169
|
-
// Menu items for navigation (optional - can be empty if using customRoutes)
|
|
170
|
-
// Note: 'path' is used for internal routing, 'href' would be for external links
|
|
171
|
-
const menuItems = [
|
|
172
|
-
{
|
|
173
|
-
name: 'Home',
|
|
174
|
-
path: '/', // Internal route path
|
|
175
|
-
icon: <LucideIcons.Home />,
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
name: 'About',
|
|
179
|
-
path: '/about', // Internal route path
|
|
180
|
-
icon: <LucideIcons.Info />,
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
name: 'Contact',
|
|
184
|
-
path: '/contact', // Internal route path
|
|
185
|
-
icon: <LucideIcons.Mail />,
|
|
186
|
-
},
|
|
187
|
-
];
|
|
188
|
-
|
|
189
|
-
return (
|
|
190
|
-
<ThemeProvider
|
|
191
|
-
menuItems={menuItems} // For navigation menu
|
|
192
|
-
layout={LAYOUT_OPTIONS.HORIZONTAL}
|
|
193
|
-
logo={{ path: '/', name: 'My App' }}
|
|
194
|
-
customRoutes={
|
|
195
|
-
<Routes>
|
|
196
|
-
<Route path="/" element={<Home />} />
|
|
197
|
-
<Route path="/about" element={<About />} />
|
|
198
|
-
<Route path="/contact" element={<Contact />} />
|
|
199
|
-
<Route path="*" element={<NotFound />} />
|
|
200
|
-
</Routes>
|
|
201
|
-
}
|
|
202
|
-
/>
|
|
203
|
-
);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
// Note: BrowserRouter is already included in ThemeProvider,
|
|
207
|
-
// so you don't need to wrap it again`
|
|
208
|
-
}
|
|
209
|
-
)
|
|
210
|
-
] }),
|
|
211
|
-
/* @__PURE__ */ t("div", { className: "space-y-3", children: [
|
|
212
|
-
/* @__PURE__ */ e(o, { tag: "h4", className: "font-semibold", children: "4. Using Theme Hooks" }),
|
|
213
|
-
/* @__PURE__ */ e(
|
|
214
|
-
a,
|
|
215
|
-
{
|
|
216
|
-
language: "tsx",
|
|
217
|
-
code: `import { useTheme, LAYOUT_OPTIONS } from '@ui/tucu-ui';
|
|
218
|
-
|
|
219
|
-
function ThemeControls() {
|
|
220
|
-
const {
|
|
221
|
-
mode,
|
|
222
|
-
setMode,
|
|
223
|
-
layout,
|
|
224
|
-
setLayout,
|
|
225
|
-
primaryPreset,
|
|
226
|
-
setPrimaryPreset
|
|
227
|
-
} = useTheme();
|
|
228
|
-
|
|
229
|
-
return (
|
|
230
|
-
<div className="space-y-4">
|
|
231
|
-
<button
|
|
232
|
-
onClick={() => setMode(mode === 'light' ? 'dark' : 'light')}
|
|
233
|
-
>
|
|
234
|
-
Toggle Theme: {mode}
|
|
235
|
-
</button>
|
|
236
|
-
|
|
237
|
-
<select
|
|
238
|
-
value={layout}
|
|
239
|
-
onChange={(e) => setLayout(e.target.value as any)}
|
|
240
|
-
>
|
|
241
|
-
<option value={LAYOUT_OPTIONS.CLEAN}>Clean</option>
|
|
242
|
-
<option value={LAYOUT_OPTIONS.ADMIN}>Admin</option>
|
|
243
|
-
<option value={LAYOUT_OPTIONS.HORIZONTAL}>Horizontal</option>
|
|
244
|
-
</select>
|
|
245
|
-
|
|
246
|
-
<div>
|
|
247
|
-
Current Primary Color: {primaryPreset?.label}
|
|
248
|
-
</div>
|
|
249
|
-
</div>
|
|
250
|
-
);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
// Usage with ThemeProvider
|
|
254
|
-
function App() {
|
|
255
|
-
const menuItems = [
|
|
256
|
-
{
|
|
257
|
-
name: 'Theme Controls',
|
|
258
|
-
path: '/theme-controls',
|
|
259
|
-
component: <ThemeControls />
|
|
260
|
-
}
|
|
261
|
-
];
|
|
262
|
-
|
|
263
|
-
return <ThemeProvider menuItems={menuItems} />;
|
|
264
|
-
}`
|
|
265
|
-
}
|
|
266
|
-
)
|
|
267
|
-
] }),
|
|
268
|
-
/* @__PURE__ */ t("div", { className: "space-y-3", children: [
|
|
269
|
-
/* @__PURE__ */ e(o, { tag: "h4", className: "font-semibold", children: "5. Layout-Specific Configuration" }),
|
|
270
|
-
/* @__PURE__ */ e(
|
|
271
|
-
a,
|
|
272
|
-
{
|
|
273
|
-
language: "tsx",
|
|
274
|
-
code: `import { ThemeProvider, LAYOUT_OPTIONS } from '@ui/tucu-ui';
|
|
275
|
-
|
|
276
|
-
function App() {
|
|
277
|
-
const menuItems = [
|
|
278
|
-
{ name: 'Home', path: '/', icon: <LucideIcons.Home />, component: <Home /> },
|
|
279
|
-
{ name: 'About', path: '/about', icon: <LucideIcons.Info />, component: <About /> },
|
|
280
|
-
];
|
|
281
|
-
|
|
282
|
-
return (
|
|
283
|
-
<ThemeProvider
|
|
284
|
-
menuItems={menuItems}
|
|
285
|
-
layout={LAYOUT_OPTIONS.ADMIN}
|
|
286
|
-
logo={{ path: '/', name: 'My App' }}
|
|
287
|
-
rightButton={<SettingsButton />}
|
|
288
|
-
fullWidth={false} // Set to true for full-width content
|
|
289
|
-
className="custom-layout-class"
|
|
290
|
-
headerClassName="custom-header-class"
|
|
291
|
-
contentClassName="custom-content-class"
|
|
292
|
-
>
|
|
293
|
-
<YourAppContent />
|
|
294
|
-
</ThemeProvider>
|
|
295
|
-
);
|
|
296
|
-
}`
|
|
297
|
-
}
|
|
298
|
-
)
|
|
299
|
-
] })
|
|
300
|
-
] })
|
|
301
|
-
] }) }) })
|
|
302
|
-
] });
|
|
303
|
-
export {
|
|
304
|
-
g as default
|
|
305
|
-
};
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-BaGqriuz.js"),o=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const a=()=>e.jsxs(e.Fragment,{children:[e.jsx(t.HeroCard,{title:"Implementation Examples",description:"Practical code examples for common layout system configurations and 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-orange-500 via-amber-500 to-yellow-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(o.Code,{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:"Implementation Examples"}),e.jsx(t.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Practical code examples for common layout system configurations and patterns"})]}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Implementation Examples",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 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-indigo-500 via-purple-500 to-violet-500 shadow-md",children:e.jsx(o.Code,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(t.Typography,{tag:"h3",className:"text-base font-semibold",children:"Basic Usage"})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"1. Automatic Routing with menuItems"}),e.jsxs(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:["ThemeProvider automatically generates routes from menuItems. Each menu item with a ",e.jsx("code",{children:"component"})," prop becomes a route."]}),e.jsx(t.CodeBlock,{language:"tsx",code:`import { ThemeProvider, LAYOUT_OPTIONS, LucideIcons } from '@ui/tucu-ui';
|
|
2
|
-
import { Dashboard } from './pages/Dashboard';
|
|
3
|
-
import { Settings } from './pages/Settings';
|
|
4
|
-
import { Profile } from './pages/Profile';
|
|
5
|
-
|
|
6
|
-
// Menu items with components - routes are generated automatically
|
|
7
|
-
// Note: Use 'path' for internal routing, 'href' for external links
|
|
8
|
-
const menuItems = [
|
|
9
|
-
{
|
|
10
|
-
name: 'Dashboard',
|
|
11
|
-
path: '/', // Internal route path
|
|
12
|
-
icon: <LucideIcons.Home />,
|
|
13
|
-
component: <Dashboard />, // This becomes a route
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
name: 'Settings',
|
|
17
|
-
path: '/settings', // Internal route path
|
|
18
|
-
icon: <LucideIcons.Settings />,
|
|
19
|
-
component: <Settings />, // This becomes a route
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
name: 'Profile',
|
|
23
|
-
path: '/profile', // Internal route path
|
|
24
|
-
icon: <LucideIcons.User />,
|
|
25
|
-
component: <Profile />, // This becomes a route
|
|
26
|
-
},
|
|
27
|
-
];
|
|
28
|
-
|
|
29
|
-
function App() {
|
|
30
|
-
return (
|
|
31
|
-
<ThemeProvider
|
|
32
|
-
menuItems={menuItems}
|
|
33
|
-
layout={LAYOUT_OPTIONS.ADMIN}
|
|
34
|
-
logo={{ path: '/', name: 'My App' }}
|
|
35
|
-
/>
|
|
36
|
-
{/* No children needed - routing is handled automatically */}
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// Routes are automatically created:
|
|
41
|
-
// / -> Dashboard component
|
|
42
|
-
// /settings -> Settings component
|
|
43
|
-
// /profile -> Profile component`})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"2. Landing Page (No Routing)"}),e.jsxs(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:["For landing pages or single-page applications without routing, use ",e.jsx("code",{children:"customRoutes"})," with a single route."]}),e.jsx(t.CodeBlock,{language:"tsx",code:`import { ThemeProvider, LAYOUT_OPTIONS, Routes, Route } from '@ui/tucu-ui';
|
|
44
|
-
import { LandingPage } from './pages/LandingPage';
|
|
45
|
-
|
|
46
|
-
function App() {
|
|
47
|
-
return (
|
|
48
|
-
<ThemeProvider
|
|
49
|
-
menuItems={[]} // Empty - no navigation needed for landing page
|
|
50
|
-
layout={LAYOUT_OPTIONS.CLEAN} // Clean layout for landing pages
|
|
51
|
-
logo={{ path: '/', name: 'My Brand' }}
|
|
52
|
-
customRoutes={
|
|
53
|
-
<Routes>
|
|
54
|
-
<Route path="*" element={<LandingPage />} />
|
|
55
|
-
</Routes>
|
|
56
|
-
}
|
|
57
|
-
/>
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// The customRoutes prop overrides automatic routing
|
|
62
|
-
// BrowserRouter is already included in ThemeProvider
|
|
63
|
-
// No need to import or wrap with BrowserRouter`})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"3. Custom Routing with customRoutes"}),e.jsxs(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:["For complex routing scenarios, provide your own"," ",e.jsx("code",{children:"<Routes>"})," component via"," ",e.jsx("code",{children:"customRoutes"})," prop."]}),e.jsx(t.CodeBlock,{language:"tsx",code:`import { ThemeProvider, LAYOUT_OPTIONS, Routes, Route } from '@ui/tucu-ui';
|
|
64
|
-
import { BrowserRouter } from 'react-router-dom'; // Already included in ThemeProvider
|
|
65
|
-
import { Home } from './pages/Home';
|
|
66
|
-
import { About } from './pages/About';
|
|
67
|
-
import { Contact } from './pages/Contact';
|
|
68
|
-
import { NotFound } from './pages/NotFound';
|
|
69
|
-
|
|
70
|
-
function App() {
|
|
71
|
-
// Menu items for navigation (optional - can be empty if using customRoutes)
|
|
72
|
-
// Note: 'path' is used for internal routing, 'href' would be for external links
|
|
73
|
-
const menuItems = [
|
|
74
|
-
{
|
|
75
|
-
name: 'Home',
|
|
76
|
-
path: '/', // Internal route path
|
|
77
|
-
icon: <LucideIcons.Home />,
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
name: 'About',
|
|
81
|
-
path: '/about', // Internal route path
|
|
82
|
-
icon: <LucideIcons.Info />,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: 'Contact',
|
|
86
|
-
path: '/contact', // Internal route path
|
|
87
|
-
icon: <LucideIcons.Mail />,
|
|
88
|
-
},
|
|
89
|
-
];
|
|
90
|
-
|
|
91
|
-
return (
|
|
92
|
-
<ThemeProvider
|
|
93
|
-
menuItems={menuItems} // For navigation menu
|
|
94
|
-
layout={LAYOUT_OPTIONS.HORIZONTAL}
|
|
95
|
-
logo={{ path: '/', name: 'My App' }}
|
|
96
|
-
customRoutes={
|
|
97
|
-
<Routes>
|
|
98
|
-
<Route path="/" element={<Home />} />
|
|
99
|
-
<Route path="/about" element={<About />} />
|
|
100
|
-
<Route path="/contact" element={<Contact />} />
|
|
101
|
-
<Route path="*" element={<NotFound />} />
|
|
102
|
-
</Routes>
|
|
103
|
-
}
|
|
104
|
-
/>
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// Note: BrowserRouter is already included in ThemeProvider,
|
|
109
|
-
// so you don't need to wrap it again`})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"4. Using Theme Hooks"}),e.jsx(t.CodeBlock,{language:"tsx",code:`import { useTheme, LAYOUT_OPTIONS } from '@ui/tucu-ui';
|
|
110
|
-
|
|
111
|
-
function ThemeControls() {
|
|
112
|
-
const {
|
|
113
|
-
mode,
|
|
114
|
-
setMode,
|
|
115
|
-
layout,
|
|
116
|
-
setLayout,
|
|
117
|
-
primaryPreset,
|
|
118
|
-
setPrimaryPreset
|
|
119
|
-
} = useTheme();
|
|
120
|
-
|
|
121
|
-
return (
|
|
122
|
-
<div className="space-y-4">
|
|
123
|
-
<button
|
|
124
|
-
onClick={() => setMode(mode === 'light' ? 'dark' : 'light')}
|
|
125
|
-
>
|
|
126
|
-
Toggle Theme: {mode}
|
|
127
|
-
</button>
|
|
128
|
-
|
|
129
|
-
<select
|
|
130
|
-
value={layout}
|
|
131
|
-
onChange={(e) => setLayout(e.target.value as any)}
|
|
132
|
-
>
|
|
133
|
-
<option value={LAYOUT_OPTIONS.CLEAN}>Clean</option>
|
|
134
|
-
<option value={LAYOUT_OPTIONS.ADMIN}>Admin</option>
|
|
135
|
-
<option value={LAYOUT_OPTIONS.HORIZONTAL}>Horizontal</option>
|
|
136
|
-
</select>
|
|
137
|
-
|
|
138
|
-
<div>
|
|
139
|
-
Current Primary Color: {primaryPreset?.label}
|
|
140
|
-
</div>
|
|
141
|
-
</div>
|
|
142
|
-
);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// Usage with ThemeProvider
|
|
146
|
-
function App() {
|
|
147
|
-
const menuItems = [
|
|
148
|
-
{
|
|
149
|
-
name: 'Theme Controls',
|
|
150
|
-
path: '/theme-controls',
|
|
151
|
-
component: <ThemeControls />
|
|
152
|
-
}
|
|
153
|
-
];
|
|
154
|
-
|
|
155
|
-
return <ThemeProvider menuItems={menuItems} />;
|
|
156
|
-
}`})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"5. Layout-Specific Configuration"}),e.jsx(t.CodeBlock,{language:"tsx",code:`import { ThemeProvider, LAYOUT_OPTIONS } from '@ui/tucu-ui';
|
|
157
|
-
|
|
158
|
-
function App() {
|
|
159
|
-
const menuItems = [
|
|
160
|
-
{ name: 'Home', path: '/', icon: <LucideIcons.Home />, component: <Home /> },
|
|
161
|
-
{ name: 'About', path: '/about', icon: <LucideIcons.Info />, component: <About /> },
|
|
162
|
-
];
|
|
163
|
-
|
|
164
|
-
return (
|
|
165
|
-
<ThemeProvider
|
|
166
|
-
menuItems={menuItems}
|
|
167
|
-
layout={LAYOUT_OPTIONS.ADMIN}
|
|
168
|
-
logo={{ path: '/', name: 'My App' }}
|
|
169
|
-
rightButton={<SettingsButton />}
|
|
170
|
-
fullWidth={false} // Set to true for full-width content
|
|
171
|
-
className="custom-layout-class"
|
|
172
|
-
headerClassName="custom-header-class"
|
|
173
|
-
contentClassName="custom-content-class"
|
|
174
|
-
>
|
|
175
|
-
<YourAppContent />
|
|
176
|
-
</ThemeProvider>
|
|
177
|
-
);
|
|
178
|
-
}`})]})]})]})})})]});exports.default=a;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-BaGqriuz.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const d=()=>{const r=[{name:"Admin Layout",description:"Traditional admin layout with expandable sidebar and fixed header. Designed for complex applications with hierarchical navigation and multiple sections.",icon:e.jsx(s.Layout,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),color:"from-blue-500 via-cyan-500 to-teal-500",value:a.LAYOUT_OPTIONS.ADMIN,useCases:["Dashboard applications","Admin panels and management systems","Complex applications with many navigation items","Applications requiring hierarchical menu structure","Enterprise software and internal tools","Applications with multiple sections and subsections"],features:["Expandable sidebar navigation (visible on xl screens)","Fixed header with logo and action buttons","Responsive drawer menu for mobile devices","RTL/LTR direction support","Full-width content option available","Sidebar padding: 96px (xl) / 112px (2xl)","Content padding: 16px (mobile) / 24px (sm) / 32px (lg) / 40px (min-[1780px])"],technical:{sidebar:"ExpandableSidebar component (hidden on mobile, visible xl+)",header:"AdminHeader component with menu toggle",drawer:"Drawer component for mobile navigation",breakpoint:"Sidebar visible from xl breakpoint (1280px)"}},{name:"Horizontal Layout",description:"Modern horizontal navigation layout with top menu bar. Ideal for content-focused sites, marketing pages, and applications with simple navigation.",icon:e.jsx(s.Menu,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),color:"from-purple-500 via-violet-500 to-indigo-500",value:a.LAYOUT_OPTIONS.HORIZONTAL,useCases:["Content-focused websites","Marketing and landing pages","Simple applications with few navigation items","Portfolio and showcase sites","Blog and content management systems","Public-facing applications"],features:["Horizontal top navigation menu","Sticky header with logo and action buttons","Mobile hamburger menu with drawer","Backdrop blur effects on header","Full-width content option available","Content padding: 8px (mobile) / 24px (sm) / 32px (lg) / 40px (min-[1780px])","Minimal vertical space usage"],technical:{header:"HorizontalHeader component with horizontal menu",menu:"HorizontalNavMenu component",drawer:"Drawer component for mobile navigation",breakpoint:"Horizontal menu visible on all screen sizes"}},{name:"Clean Layout",description:"Minimal layout without navigation elements. Perfect for authentication pages, standalone content, and full-screen experiences.",icon:e.jsx(s.Minimize2,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),color:"from-emerald-500 via-green-500 to-teal-500",value:a.LAYOUT_OPTIONS.CLEAN,useCases:["Authentication pages (login, signup, password reset)","Landing pages and marketing sites","Standalone content pages","Full-screen applications","Modal and overlay content","Embedded widgets and components"],features:["No navigation elements or headers","Full viewport height (100vh)","Flex column layout","Perfect for centered content","Minimal overhead and dependencies","No menu items required","Customizable via className prop"],technical:{structure:"Simple flex container with full height",dependencies:"No header, sidebar, or menu components",customization:"Full control via className prop",useWhen:"No navigation needed, standalone content"}}];return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"Layout Types",description:"Three distinct layout patterns for various application types and navigation needs.",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-cyan-500 via-teal-500 to-emerald-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(s.LayoutGrid,{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(a.Typography,{tag:"h2",className:"mb-2",children:"Layout Types"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Three distinct layout patterns for various application types. Choose the right layout based on your application's navigation needs and structure."})]}),e.jsx("div",{className:"space-y-8",children:r.map((t,o)=>e.jsx(a.CardContainer,{className:"group hover:shadow-large transition-all duration-300 overflow-hidden",children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:`p-3 rounded-xl bg-linear-to-br ${t.color} group-hover:scale-110 transition-all duration-300 shadow-lg shrink-0`,children:t.icon}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx(a.Typography,{tag:"h3",className:"font-semibold text-lg group-hover:text-primary transition-colors duration-300",children:t.name}),e.jsx(a.Badge,{variant:"outline",className:"text-xs",children:t.value})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 leading-relaxed",children:t.description})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s.Zap,{className:"w-5 h-5 text-primary"}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold text-base",children:"When to Use"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-2",children:t.useCases.map((i,n)=>e.jsxs("div",{className:"flex items-start gap-2 p-2 bg-gray-100 dark:bg-gray-800 rounded-lg",children:[e.jsx(s.CheckCircle,{className:"w-3 h-3 text-primary mt-1 shrink-0"}),e.jsx(a.Typography,{tag:"span",className:"text-sm text-gray-700 dark:text-gray-300",children:i})]},n))})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s.Star,{className:"w-5 h-5 text-primary"}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold text-base",children:"Features"})]}),e.jsx("div",{className:"space-y-2",children:t.features.map((i,n)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx(a.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:i})]},n))})]}),e.jsxs("div",{className:"space-y-3 pt-3 border-t border-gray-200 dark:border-gray-700",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s.Code,{className:"w-5 h-5 text-primary"}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold text-base",children:"Technical Details"})]}),e.jsx("div",{className:"space-y-2",children:Object.entries(t.technical).map(([i,n],l)=>e.jsxs("div",{className:"flex items-start gap-2 text-sm",children:[e.jsxs(a.Typography,{tag:"span",className:"font-medium text-gray-700 dark:text-gray-300 capitalize min-w-25",children:[i.replace(/([A-Z])/g," $1").trim(),":"]}),e.jsx(a.Typography,{tag:"span",className:"text-gray-600 dark:text-gray-400",children:n})]},l))})]})]})},o))})]})};exports.default=d;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-BaGqriuz.js"),l=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=[{id:"base",name:"Base",desc:"CSS-only spatial gradient generated with tokens. Used as the default body/window background. No image assets needed — adapts automatically between light and dark modes via CSS custom properties.",dimensions:"Fluid (CSS gradient)",usage:"Body, root window, app shell background"},{id:"wave",name:"Wave",desc:"Full-width decorative background with flowing organic shapes. Designed for desktop/tablet viewports as hero sections or immersive landing pages.",dimensions:"1512 × 982",usage:"Hero sections, landing pages, desktop full-screen"},{id:"wallpaper",name:"Wallpaper",desc:"Compact landscape format optimized for card-like areas, banners, or contained sections where a spatial background adds depth without covering the full viewport.",dimensions:"1080 × 560",usage:"Banners, feature sections, contained backgrounds"},{id:"mobile",name:"Mobile",desc:"Portrait-oriented background asset optimized for mobile viewports and tall narrow containers.",dimensions:"402 × 874",usage:"Mobile screens, narrow containers, portrait layouts"}],t=()=>{const{mode:d}=a.useTheme(),r=d==="dark";return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"Backgrounds",description:"macOS Tahoe provides 4 background types optimized for different viewport sizes and use cases. All adapt between light and dark automatically.",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-cyan-400 via-blue-500 to-indigo-600 rounded-full flex items-center justify-center shadow-lg border border-cyan-400/50",children:e.jsx(l.Image,{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:"Background Types",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-6",children:"Each background type is designed for a specific screen context. Choose the appropriate format based on your layout's viewport and orientation requirements."}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:n.map(s=>e.jsxs("div",{className:"p-4 rounded-xl border border-gray-200 dark:border-gray-700 space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:s.id==="base"?r?"#0a84ff":"#007aff":s.id==="wave"?r?"#30d158":"#34c759":s.id==="wallpaper"?r?"#ff9f0a":"#ff9500":r?"#bf5af2":"#af52de"}}),e.jsx("span",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:s.name})]}),e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:s.desc}),e.jsxs("div",{className:"pt-2 border-t border-gray-100 dark:border-gray-800 space-y-1",children:[e.jsx("p",{className:"text-[10px] font-mono text-gray-400",children:s.dimensions}),e.jsx("p",{className:"text-[10px] text-gray-400",children:s.usage})]})]},s.id))})]})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Base (CSS Spatial Gradient)",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(a.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Generated entirely with CSS custom properties. Currently used as the body background in the demo. Available classes:"," ",e.jsx("code",{className:"text-xs px-1.5 py-0.5 rounded bg-gray-100 dark:bg-gray-800 font-mono",children:"macos-bg-spatial-aurora"}),","," ",e.jsx("code",{className:"text-xs px-1.5 py-0.5 rounded bg-gray-100 dark:bg-gray-800 font-mono",children:"macos-bg-spatial-depth"}),","," ",e.jsx("code",{className:"text-xs px-1.5 py-0.5 rounded bg-gray-100 dark:bg-gray-800 font-mono",children:"macos-bg-spatial-demo"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"relative w-full h-40 rounded-xl overflow-hidden border border-gray-200 dark:border-gray-700",style:{backgroundColor:r?"#131318":"#f0f2f7"},children:e.jsx("div",{className:"absolute inset-0 rounded-xl",style:{background:r?"radial-gradient(circle at 28% 32%, rgba(18, 60, 100, 0.8) 0%, transparent 42%), radial-gradient(circle at 72% 68%, rgba(55, 30, 100, 0.6) 0%, transparent 42%)":"radial-gradient(circle at 28% 32%, rgba(142, 200, 255, 0.45) 0%, transparent 42%), radial-gradient(circle at 72% 68%, rgba(170, 150, 255, 0.28) 0%, transparent 42%)",filter:"blur(30px)"}})}),e.jsx("p",{className:"text-xs font-medium text-center text-gray-700 dark:text-gray-300",children:"Aurora"}),e.jsx("p",{className:"text-[10px] text-center text-gray-400",children:"Animated spatial aurora"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"w-full h-40 rounded-xl border border-gray-200 dark:border-gray-700",style:{background:r?"linear-gradient(160deg, #141418 0%, #18181e 40%, #191520 70%, #141418 100%)":"linear-gradient(160deg, #f0f2f6 0%, #eaedf4 40%, #f2f0f8 70%, #eef2f6 100%)"}}),e.jsx("p",{className:"text-xs font-medium text-center text-gray-700 dark:text-gray-300",children:"Depth"}),e.jsx("p",{className:"text-[10px] text-center text-gray-400",children:"Sober, data-focused"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"w-full h-40 rounded-xl border border-gray-200 dark:border-gray-700",style:{background:r?"radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0, 60, 160, 0.55) 0%, transparent 55%), radial-gradient(ellipse 60% 50% at 80% 80%, rgba(80, 0, 160, 0.4) 0%, transparent 55%), #101014":"radial-gradient(ellipse 80% 60% at 20% 10%, rgba(100, 180, 255, 0.4) 0%, transparent 55%), radial-gradient(ellipse 60% 50% at 80% 80%, rgba(160, 120, 255, 0.3) 0%, transparent 55%), #f0f2f7"}}),e.jsx("p",{className:"text-xs font-medium text-center text-gray-700 dark:text-gray-300",children:"Demo"}),e.jsx("p",{className:"text-[10px] text-center text-gray-400",children:"Expressive, showcases"})]})]})]})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Wave",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-2",children:"Full-width decorative background for desktop/tablet hero sections."}),e.jsx("p",{className:"text-[10px] font-mono text-gray-400 mb-4",children:"1512 × 982 — Landscape (desktop full-screen)"}),e.jsx("div",{className:"rounded-xl overflow-hidden border border-gray-200 dark:border-gray-700",children:e.jsx(a.MacOSBackground,{variant:"wave",className:"rounded-xl",style:{height:"320px"}})}),e.jsx("div",{className:"mt-3 p-3 rounded-lg bg-gray-100 dark:bg-gray-800/50",children:e.jsxs("p",{className:"text-[11px] font-mono text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"text-gray-700 dark:text-gray-300",children:"url:"})," ",a.getMacOSBackgroundUrl("wave",r)]})})]})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Wallpaper",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-2",children:"Compact landscape format for banners, feature sections, and contained areas."}),e.jsx("p",{className:"text-[10px] font-mono text-gray-400 mb-4",children:"1080 × 560 — Landscape (contained sections)"}),e.jsx("div",{className:"rounded-xl overflow-hidden border border-gray-200 dark:border-gray-700",children:e.jsx(a.MacOSBackground,{variant:"wallpaper",className:"rounded-xl",style:{height:"280px"}})}),e.jsx("div",{className:"mt-3 p-3 rounded-lg bg-gray-100 dark:bg-gray-800/50",children:e.jsxs("p",{className:"text-[11px] font-mono text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"text-gray-700 dark:text-gray-300",children:"url:"})," ",a.getMacOSBackgroundUrl("wallpaper",r)]})})]})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Mobile",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-2",children:"Portrait-oriented asset for mobile viewports and narrow containers."}),e.jsx("p",{className:"text-[10px] font-mono text-gray-400 mb-4",children:"402 × 874 — Portrait (mobile screens)"}),e.jsx("div",{className:"flex justify-center",children:e.jsx("div",{className:"rounded-xl overflow-hidden border border-gray-200 dark:border-gray-700",style:{width:"220px",height:"478px"},children:e.jsx(a.MacOSBackground,{variant:"mobile",className:"rounded-xl w-full h-full"})})}),e.jsx("div",{className:"mt-3 p-3 rounded-lg bg-gray-100 dark:bg-gray-800/50",children:e.jsxs("p",{className:"text-[11px] font-mono text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"text-gray-700 dark:text-gray-300",children:"url:"})," ",a.getMacOSBackgroundUrl("mobile",r)]})})]})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Screen Size Mapping",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:"Recommended background type per viewport breakpoint."}),e.jsx(a.BasicTable,{columns:[{key:"viewport",label:"Viewport"},{key:"breakpoint",label:"Breakpoint",className:"font-mono"},{key:"background",label:"Background"},{key:"asset",label:"Asset",className:"font-mono"}],data:[{viewport:"Mobile",breakpoint:"< 640px",background:"Mobile",asset:`${r?"dark":"light"}-mobile.svg`},{viewport:"Tablet",breakpoint:"640–1024px",background:"Wallpaper",asset:`${r?"dark":"light"}-wallpaper.svg`},{viewport:"Desktop",breakpoint:"> 1024px",background:"Wave",asset:`${r?"dark":"light"}-wave.svg`},{viewport:"Any",breakpoint:"All",background:"Base (CSS)",asset:"No asset needed"}],hoverable:!0,striped:!1})]})})})]})};exports.MacOSBackgroundsSection=t;exports.default=t;
|