@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
package/package.json
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { BackgroundVariant } from '../hooks/use-theme';
|
|
3
|
+
export interface ThemeBackgroundProps {
|
|
4
|
+
/**
|
|
5
|
+
* Positioning mode:
|
|
6
|
+
* - `'fixed'` (default): fullscreen fixed layer behind content. Content is wrapped in z-10.
|
|
7
|
+
* - `'absolute'`: absolute-positioned layer within parent. No children wrapper.
|
|
8
|
+
*/
|
|
9
|
+
mode?: 'fixed' | 'absolute';
|
|
10
|
+
/** Override the variant from the theme store */
|
|
11
|
+
variant?: BackgroundVariant;
|
|
12
|
+
/** Override CDN base URL for self-hosted assets */
|
|
13
|
+
cdnBase?: string;
|
|
14
|
+
/** Additional CSS class for the background container */
|
|
15
|
+
className?: string;
|
|
16
|
+
/** Inline styles for the background container */
|
|
17
|
+
style?: CSSProperties;
|
|
18
|
+
/** Content rendered on top of the background (only used in fixed mode) */
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Unified background component that renders the selected `backgroundVariant`.
|
|
23
|
+
* Used by all theme layouts (Default, Sonoma, Tahoe) via two positioning modes:
|
|
24
|
+
*
|
|
25
|
+
* - **fixed** (Default layouts): fullscreen fixed layer + content wrapper at z-10
|
|
26
|
+
* - **absolute** (macOS layouts): absolute layer within parent container, no children wrapper
|
|
27
|
+
*
|
|
28
|
+
* When variant is `'none'`, renders children without any background layer.
|
|
29
|
+
*/
|
|
30
|
+
export declare const ThemeBackground: React.FC<ThemeBackgroundProps>;
|
|
31
|
+
/** Get the CDN URL for a specific SVG background asset */
|
|
32
|
+
export declare function getBackgroundUrl(variant: Exclude<BackgroundVariant, 'none' | 'base'>, isDark: boolean, base?: string): string;
|
|
33
|
+
export default ThemeBackground;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BackgroundVariant } from '../../hooks/use-theme';
|
|
1
2
|
import { PresetColorType, MODE } from '../../config';
|
|
2
3
|
import { LayoutTypeProps } from '../../../components/layouts/root-layout';
|
|
3
4
|
import { IMenuItem } from '../../../components/layouts/menus/menu-item';
|
|
@@ -5,6 +6,7 @@ interface ThemeWrapperBaseProps extends Omit<LayoutTypeProps, 'layout'> {
|
|
|
5
6
|
menuItems: IMenuItem[];
|
|
6
7
|
brandColor?: PresetColorType;
|
|
7
8
|
mode?: MODE;
|
|
9
|
+
background?: BackgroundVariant;
|
|
8
10
|
headerClassName?: string;
|
|
9
11
|
contentClassName?: string;
|
|
10
12
|
fullWidth?: boolean;
|
|
@@ -23,6 +25,18 @@ interface ThemeWrapperBaseProps extends Omit<LayoutTypeProps, 'layout'> {
|
|
|
23
25
|
lightBg?: PresetColorType | string;
|
|
24
26
|
lightDark?: PresetColorType | string;
|
|
25
27
|
darkLightDark?: PresetColorType | string;
|
|
28
|
+
success?: PresetColorType | string;
|
|
29
|
+
darkSuccess?: PresetColorType | string;
|
|
30
|
+
warning?: PresetColorType | string;
|
|
31
|
+
darkWarning?: PresetColorType | string;
|
|
32
|
+
error?: PresetColorType | string;
|
|
33
|
+
darkError?: PresetColorType | string;
|
|
34
|
+
info?: PresetColorType | string;
|
|
35
|
+
darkInfo?: PresetColorType | string;
|
|
36
|
+
fg?: PresetColorType | string;
|
|
37
|
+
darkFg?: PresetColorType | string;
|
|
38
|
+
border?: PresetColorType | string;
|
|
39
|
+
darkBorder?: PresetColorType | string;
|
|
26
40
|
};
|
|
27
41
|
setCurrentPathname?: (pathname: string) => void;
|
|
28
42
|
}
|
|
@@ -44,6 +58,6 @@ interface MacOSTahoeThemeWrapperProps extends ThemeWrapperBaseProps {
|
|
|
44
58
|
type ThemeWrapperProps = DefaultThemeWrapperProps | MacOSThemeWrapperProps | MacOSTahoeThemeWrapperProps;
|
|
45
59
|
/** Distributive Omit — preserves discriminated union across variants */
|
|
46
60
|
type DistributiveOmit<T, K extends keyof never> = T extends unknown ? Omit<T, K> : never;
|
|
47
|
-
export declare function ThemeWrapper({ logo, rightButton, themeStyle, brandColor, customPaletteColor, showSettings, className, headerClassName, contentClassName, fullWidth, mode: appMode, menuItems: appMenuItems, layout: appLayout, children, setCurrentPathname, }: ThemeWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
export declare function ThemeWrapper({ logo, rightButton, themeStyle, brandColor, customPaletteColor, background, showSettings, className, headerClassName, contentClassName, fullWidth, mode: appMode, menuItems: appMenuItems, layout: appLayout, children, setCurrentPathname, }: ThemeWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
48
62
|
export default ThemeWrapper;
|
|
49
63
|
export type { ThemeWrapperProps, ThemeWrapperBaseProps, DefaultThemeWrapperProps, MacOSThemeWrapperProps, MacOSTahoeThemeWrapperProps, DistributiveOmit, DefaultLayoutType, MacOSLayoutType, MacOSTahoeLayoutType, };
|
package/themes/config/index.d.ts
CHANGED
|
@@ -11,8 +11,10 @@ export declare enum LAYOUT_OPTIONS {
|
|
|
11
11
|
ADMIN = "admin",
|
|
12
12
|
HORIZONTAL = "horizontal",
|
|
13
13
|
MACOS = "macos",
|
|
14
|
+
MACOS_CLEAN = "macos-clean",
|
|
14
15
|
MACOS_TAHOE = "macos-tahoe",
|
|
15
|
-
MACOS_TAHOE_DOCK = "macos-tahoe-dock"
|
|
16
|
+
MACOS_TAHOE_DOCK = "macos-tahoe-dock",
|
|
17
|
+
MACOS_TAHOE_CLEAN = "macos-tahoe-clean"
|
|
16
18
|
}
|
|
17
19
|
export interface ThemeStyleConfig {
|
|
18
20
|
validLayouts: LAYOUT_OPTIONS[];
|
|
@@ -21,7 +23,7 @@ export interface ThemeStyleConfig {
|
|
|
21
23
|
export declare const THEME_STYLE_LAYOUTS: Record<THEME_VARIANT, ThemeStyleConfig>;
|
|
22
24
|
export type DIRECTION = 'ltr' | 'rtl';
|
|
23
25
|
export type LogoType = LogoPropTypes;
|
|
24
|
-
export type LayoutOptionType = 'clean' | 'admin' | 'horizontal' | 'macos' | 'macos-tahoe' | 'macos-tahoe-dock';
|
|
26
|
+
export type LayoutOptionType = 'clean' | 'admin' | 'horizontal' | 'macos' | 'macos-clean' | 'macos-tahoe' | 'macos-tahoe-dock' | 'macos-tahoe-clean';
|
|
25
27
|
export declare const layoutOptions: IThemeItem[];
|
|
26
28
|
export type PresetColorType = 'Default' | 'DefaultSecondary' | 'DefaultAccent' | 'DefaultBgLight' | 'DefaultBgDark' | 'Yellow' | 'Orange' | 'Red' | 'Pink' | 'Violet' | 'Purple' | 'Blue' | 'Azure' | 'Turquoise' | 'Green' | 'Lime' | 'Black' | 'Gray';
|
|
27
29
|
export declare enum PRESET_LABEL_COLORS {
|
|
@@ -59,6 +61,18 @@ export declare enum PRESET_LABEL_COLORS {
|
|
|
59
61
|
DARK_YELLOW = "DarkYellow",
|
|
60
62
|
CHARTREUSE = "Chartreuse",
|
|
61
63
|
DARK_CHARTREUSE = "DarkChartreuse",
|
|
64
|
+
DEFAULT_SUCCESS = "DefaultSuccess",
|
|
65
|
+
DEFAULT_DARK_SUCCESS = "DefaultDarkSuccess",
|
|
66
|
+
DEFAULT_WARNING = "DefaultWarning",
|
|
67
|
+
DEFAULT_DARK_WARNING = "DefaultDarkWarning",
|
|
68
|
+
DEFAULT_ERROR = "DefaultError",
|
|
69
|
+
DEFAULT_DARK_ERROR = "DefaultDarkError",
|
|
70
|
+
DEFAULT_INFO = "DefaultInfo",
|
|
71
|
+
DEFAULT_DARK_INFO = "DefaultDarkInfo",
|
|
72
|
+
DEFAULT_FG = "DefaultFg",
|
|
73
|
+
DEFAULT_DARK_FG = "DefaultDarkFg",
|
|
74
|
+
DEFAULT_BORDER = "DefaultBorder",
|
|
75
|
+
DEFAULT_DARK_BORDER = "DefaultDarkBorder",
|
|
62
76
|
MACOS_PRIMARY = "MacOSPrimary",
|
|
63
77
|
MACOS_DARK_PRIMARY = "MacOSDarkPrimary",
|
|
64
78
|
MACOS_SECONDARY = "MacOSSecondary",
|
|
@@ -107,6 +121,18 @@ export declare enum PRESET_COLORS {
|
|
|
107
121
|
DARK_YELLOW = "#c79e00",// --color-tucu-ui-dark-yellow-50
|
|
108
122
|
CHARTREUSE = "#56b340",// --color-tucu-ui-chartreuse-50
|
|
109
123
|
DARK_CHARTREUSE = "#7bc869",// --color-tucu-ui-dark-chartreuse-50
|
|
124
|
+
DEFAULT_SUCCESS = "#098551",// --color-tucu-ui-green-60 (light)
|
|
125
|
+
DEFAULT_DARK_SUCCESS = "#27ad75",// --color-tucu-ui-dark-green-60 (dark)
|
|
126
|
+
DEFAULT_WARNING = "#ed702f",// --color-tucu-ui-orange-40 (light)
|
|
127
|
+
DEFAULT_DARK_WARNING = "#c79e00",// --color-tucu-ui-dark-yellow-50 (dark)
|
|
128
|
+
DEFAULT_ERROR = "#cf202f",// --color-tucu-ui-red-60 (light)
|
|
129
|
+
DEFAULT_DARK_ERROR = "#f0616d",// --color-tucu-ui-dark-red-60 (dark)
|
|
130
|
+
DEFAULT_INFO = "#0052ff",// same as primary (light)
|
|
131
|
+
DEFAULT_DARK_INFO = "#578bfa",// same as dark primary (dark)
|
|
132
|
+
DEFAULT_FG = "#030712",// --color-tucu-ui-gray-100 (light)
|
|
133
|
+
DEFAULT_DARK_FG = "#ffffff",// --color-tucu-ui-dark-gray-100 (dark)
|
|
134
|
+
DEFAULT_BORDER = "color-mix(in oklab, var(--color-black) 10%, transparent)",
|
|
135
|
+
DEFAULT_DARK_BORDER = "color-mix(in oklab, var(--color-white) 8%, transparent)",
|
|
110
136
|
MACOS_PRIMARY = "#007aff",// systemBlue (light)
|
|
111
137
|
MACOS_DARK_PRIMARY = "#0a84ff",// systemBlue (dark)
|
|
112
138
|
MACOS_SECONDARY = "#ffffff",// contentBackground — cards float on gray bg
|
|
@@ -139,6 +165,18 @@ export declare const defaultDarkBgPreset: IThemeItem;
|
|
|
139
165
|
export declare const defaultLightBgPreset: IThemeItem;
|
|
140
166
|
export declare const defaultLightDarkPreset: IThemeItem;
|
|
141
167
|
export declare const defaultDarkLightDarkPreset: IThemeItem;
|
|
168
|
+
export declare const defaultSuccessPreset: IThemeItem;
|
|
169
|
+
export declare const defaultDarkSuccessPreset: IThemeItem;
|
|
170
|
+
export declare const defaultWarningPreset: IThemeItem;
|
|
171
|
+
export declare const defaultDarkWarningPreset: IThemeItem;
|
|
172
|
+
export declare const defaultErrorPreset: IThemeItem;
|
|
173
|
+
export declare const defaultDarkErrorPreset: IThemeItem;
|
|
174
|
+
export declare const defaultInfoPreset: IThemeItem;
|
|
175
|
+
export declare const defaultDarkInfoPreset: IThemeItem;
|
|
176
|
+
export declare const defaultFgPreset: IThemeItem;
|
|
177
|
+
export declare const defaultDarkFgPreset: IThemeItem;
|
|
178
|
+
export declare const defaultBorderPreset: IThemeItem;
|
|
179
|
+
export declare const defaultDarkBorderPreset: IThemeItem;
|
|
142
180
|
export declare const defaultDirection = "ltr";
|
|
143
181
|
export declare const defaultMode = "dark";
|
|
144
182
|
export declare const macosLightPresets: {
|
|
@@ -252,6 +290,14 @@ export declare function buildTahoePresets(bundle: TahoeAccentBundle): {
|
|
|
252
290
|
readonly label: PRESET_LABEL_COLORS.MACOS_DARK_LIGHT_DARK;
|
|
253
291
|
readonly value: PRESET_COLORS.MACOS_DARK_LIGHT_DARK;
|
|
254
292
|
};
|
|
293
|
+
borderPreset: {
|
|
294
|
+
label: PRESET_LABEL_COLORS;
|
|
295
|
+
value: PRESET_COLORS;
|
|
296
|
+
};
|
|
297
|
+
darkBorderPreset: {
|
|
298
|
+
label: PRESET_LABEL_COLORS;
|
|
299
|
+
value: PRESET_COLORS;
|
|
300
|
+
};
|
|
255
301
|
};
|
|
256
302
|
export declare const SONOMA_ACCENT_BUNDLES: TahoeAccentBundle[];
|
|
257
303
|
/** Build a full macOS preset set from a Sonoma accent bundle */
|
|
@@ -304,4 +350,12 @@ export declare function buildSonomaPresets(bundle: TahoeAccentBundle): {
|
|
|
304
350
|
readonly label: PRESET_LABEL_COLORS.MACOS_DARK_LIGHT_DARK;
|
|
305
351
|
readonly value: PRESET_COLORS.MACOS_DARK_LIGHT_DARK;
|
|
306
352
|
};
|
|
353
|
+
borderPreset: {
|
|
354
|
+
label: PRESET_LABEL_COLORS;
|
|
355
|
+
value: PRESET_COLORS;
|
|
356
|
+
};
|
|
357
|
+
darkBorderPreset: {
|
|
358
|
+
label: PRESET_LABEL_COLORS;
|
|
359
|
+
value: PRESET_COLORS;
|
|
360
|
+
};
|
|
307
361
|
};
|
|
@@ -12,6 +12,18 @@ interface IUseThemeColorProps {
|
|
|
12
12
|
lightBgPreset: string;
|
|
13
13
|
lightDarkPreset: string;
|
|
14
14
|
darkLightDarkPreset: string;
|
|
15
|
+
successPreset: string;
|
|
16
|
+
darkSuccessPreset: string;
|
|
17
|
+
warningPreset: string;
|
|
18
|
+
darkWarningPreset: string;
|
|
19
|
+
errorPreset: string;
|
|
20
|
+
darkErrorPreset: string;
|
|
21
|
+
infoPreset: string;
|
|
22
|
+
darkInfoPreset: string;
|
|
23
|
+
fgPreset: string;
|
|
24
|
+
darkFgPreset: string;
|
|
25
|
+
borderPreset: string;
|
|
26
|
+
darkBorderPreset: string;
|
|
15
27
|
}
|
|
16
|
-
export declare function useThemeColor({ primaryPreset, darkPrimaryPreset, secondaryPreset, darkSecondaryPreset, accentPreset, darkAccentPreset, mutedPreset, darkMutedPreset, darkBgPreset, lightBgPreset, lightDarkPreset, darkLightDarkPreset, }: IUseThemeColorProps): void;
|
|
28
|
+
export declare function useThemeColor({ primaryPreset, darkPrimaryPreset, secondaryPreset, darkSecondaryPreset, accentPreset, darkAccentPreset, mutedPreset, darkMutedPreset, darkBgPreset, lightBgPreset, lightDarkPreset, darkLightDarkPreset, successPreset, darkSuccessPreset, warningPreset, darkWarningPreset, errorPreset, darkErrorPreset, infoPreset, darkInfoPreset, fgPreset, darkFgPreset, borderPreset, darkBorderPreset, }: IUseThemeColorProps): void;
|
|
17
29
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DIRECTION, IThemeItem, LogoType, LAYOUT_OPTIONS, MODE, THEME_VARIANT, LangType } from '../config/index';
|
|
2
|
-
export type
|
|
2
|
+
export type BackgroundVariant = 'none' | 'base' | 'sonoma' | 'wave' | 'wallpaper' | 'mobile' | 'radial' | 'window' | 'aurora' | 'depth' | 'demo';
|
|
3
|
+
export type TahoeBackgroundVariant = BackgroundVariant;
|
|
3
4
|
/** Helper: for every key K in T, produce a setter `setK: (value: T[K]) => void` */
|
|
4
5
|
type Setters<T> = {
|
|
5
6
|
[K in keyof T as `set${Capitalize<string & K>}`]: (value: T[K]) => void;
|
|
@@ -18,6 +19,18 @@ interface IThemeState {
|
|
|
18
19
|
lightBgPreset: IThemeItem;
|
|
19
20
|
lightDarkPreset: IThemeItem;
|
|
20
21
|
darkLightDarkPreset: IThemeItem;
|
|
22
|
+
successPreset: IThemeItem;
|
|
23
|
+
darkSuccessPreset: IThemeItem;
|
|
24
|
+
warningPreset: IThemeItem;
|
|
25
|
+
darkWarningPreset: IThemeItem;
|
|
26
|
+
errorPreset: IThemeItem;
|
|
27
|
+
darkErrorPreset: IThemeItem;
|
|
28
|
+
infoPreset: IThemeItem;
|
|
29
|
+
darkInfoPreset: IThemeItem;
|
|
30
|
+
fgPreset: IThemeItem;
|
|
31
|
+
darkFgPreset: IThemeItem;
|
|
32
|
+
borderPreset: IThemeItem;
|
|
33
|
+
darkBorderPreset: IThemeItem;
|
|
21
34
|
direction: DIRECTION;
|
|
22
35
|
layout: LAYOUT_OPTIONS;
|
|
23
36
|
mode: MODE;
|
|
@@ -26,7 +39,7 @@ interface IThemeState {
|
|
|
26
39
|
isSettingsOpen: boolean;
|
|
27
40
|
showSettings: boolean;
|
|
28
41
|
lang: LangType;
|
|
29
|
-
backgroundVariant:
|
|
42
|
+
backgroundVariant: BackgroundVariant;
|
|
30
43
|
}
|
|
31
44
|
/** Full store interface: state + auto-generated setters + actions */
|
|
32
45
|
export interface ITheme extends IThemeState, Setters<IThemeState> {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-BaGqriuz.js"),d=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const{primaryPreset:s}=r.useTheme(),t=["bg-brand","text-brand","border-brand","bg-secondary","text-secondary","border-secondary","bg-accent","text-accent","border-accent","bg-primary","text-primary","border-primary","bg-dark","text-dark","border-dark","bg-light","text-light","border-light","bg-brand/50","text-brand/80","border-brand/30","bg-secondary/20","text-secondary/60","border-secondary/40"];return e.jsxs(e.Fragment,{children:[e.jsx(r.HeroCard,{title:"Color Customization",description:"Dynamic brand colors using CSS custom properties and seamless Tailwind CSS utility integration.",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(d.Brush,{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(r.Typography,{tag:"h2",className:"mb-2",children:"Dynamic Brand Colors"}),e.jsx(r.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Real-time theme updates via CSS custom properties"})]}),e.jsx(r.CardContainer,{children:e.jsx(r.CardTitle,{title:"Active CSS Variable",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(r.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["Brand colors are dynamically applied using CSS custom properties, allowing real-time theme updates without rebuilding. Colors are defined in"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"ui/tucu-ui/src/themes/config/index.ts"})]}),e.jsx("div",{className:"p-3 flex justify-center items-center bg-gray-200 dark:bg-gray-800 rounded-lg w-full",children:e.jsxs(r.Typography,{tag:"code",className:"w-full text-sm text-gray-600 dark:text-gray-400",children:["--color-semantic-bg-primary:"," ",s?.value||"#0052ff"]})}),e.jsx(r.Alert,{variant:"info",children:e.jsxs(r.Typography,{tag:"p",className:"text-xs",children:[e.jsx("strong",{children:"Color Presets:"})," Spectrum colors use the"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"-50"})," ","value from Tucu UI Design Tokens. Default colors use semantic mappings (e.g., blue-60 for primary)."]})})]})})})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(r.Typography,{tag:"h2",className:"mb-2",children:"Tailwind Integration"}),e.jsx(r.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Available utility classes that consume theme colors"})]}),e.jsx(r.CardContainer,{children:e.jsx(r.CardTitle,{title:"Utility Classes",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-2",children:t.map((a,i)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:`w-3 h-3 rounded border border-gray-300 dark:border-gray-600 ${a.includes("bg-")?a:"bg-brand"}`}),e.jsxs(r.Typography,{tag:"code",className:"text-xs text-gray-600 dark:text-gray-400",children:[".",a]})]},i))}),e.jsx(r.Typography,{tag:"p",className:"text-xs text-gray-500 dark:text-gray-400 mt-2",children:"All colors support opacity modifiers (/10, /20, /30, /50, /80, etc.)"})]})})})]})]})};exports.default=l;
|
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as v, useEffect as g } from "react";
|
|
3
|
-
import { ay as y, H as f, C as m, a as n, aj as w, T as t } from "../index-lfg6LZ1p.js";
|
|
4
|
-
import { Palette as k, Info as C } from "lucide-react";
|
|
5
|
-
import "react-router-dom";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const p = (d) => {
|
|
8
|
-
if (typeof window > "u") return "";
|
|
9
|
-
const l = document.documentElement;
|
|
10
|
-
return getComputedStyle(l).getPropertyValue(d).trim() || "";
|
|
11
|
-
}, j = () => {
|
|
12
|
-
const { mode: d } = y(), [l, c] = v(0);
|
|
13
|
-
g(() => {
|
|
14
|
-
const a = setTimeout(() => {
|
|
15
|
-
c((s) => s + 1);
|
|
16
|
-
}, 100);
|
|
17
|
-
return () => clearTimeout(a);
|
|
18
|
-
}, [d]), g(() => {
|
|
19
|
-
const a = new MutationObserver(() => {
|
|
20
|
-
c((s) => s + 1);
|
|
21
|
-
});
|
|
22
|
-
return a.observe(document.documentElement, {
|
|
23
|
-
attributes: !0,
|
|
24
|
-
attributeFilter: ["class"]
|
|
25
|
-
}), () => a.disconnect();
|
|
26
|
-
}, []);
|
|
27
|
-
const u = [
|
|
28
|
-
{ name: "Primary", class: "bg-primary", hex: "#3B82F6" },
|
|
29
|
-
{ name: "Secondary", class: "bg-secondary", hex: "#6B7280" },
|
|
30
|
-
{ name: "Accent", class: "bg-accent", hex: "#10B981" },
|
|
31
|
-
{ name: "Muted", class: "bg-muted", hex: "#F3F4F6" }
|
|
32
|
-
], x = [
|
|
33
|
-
{ name: "Success", class: "bg-green-500", hex: "#10B981" },
|
|
34
|
-
{ name: "Warning", class: "bg-yellow-500", hex: "#F59E0B" },
|
|
35
|
-
{ name: "Error", class: "bg-red-500", hex: "#EF4444" },
|
|
36
|
-
{ name: "Info", class: "bg-blue-500", hex: "#3B82F6" }
|
|
37
|
-
], b = [
|
|
38
|
-
{
|
|
39
|
-
name: "blue",
|
|
40
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
name: "green",
|
|
44
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: "orange",
|
|
48
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "gray",
|
|
52
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
name: "indigo",
|
|
56
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
name: "pink",
|
|
60
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: "purple",
|
|
64
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: "red",
|
|
68
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
name: "teal",
|
|
72
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
name: "yellow",
|
|
76
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
name: "chartreuse",
|
|
80
|
-
shades: [0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100]
|
|
81
|
-
}
|
|
82
|
-
], N = [
|
|
83
|
-
{ name: "brand", varName: "--color-brand", class: "bg-brand" },
|
|
84
|
-
{ name: "primary", varName: "--color-primary", class: "bg-primary" },
|
|
85
|
-
{ name: "secondary", varName: "--color-secondary", class: "bg-secondary" },
|
|
86
|
-
{ name: "accent", varName: "--color-accent", class: "bg-accent" },
|
|
87
|
-
{ name: "muted", varName: "--color-muted", class: "bg-muted" },
|
|
88
|
-
{ name: "success", varName: "--color-success", class: "bg-success" },
|
|
89
|
-
{ name: "warning", varName: "--color-warning", class: "bg-warning" },
|
|
90
|
-
{ name: "error", varName: "--color-error", class: "bg-error" },
|
|
91
|
-
{ name: "info", varName: "--color-info", class: "bg-info" },
|
|
92
|
-
{ name: "body", varName: "--color-body", class: "bg-body" },
|
|
93
|
-
{ name: "dark", varName: "--color-dark", class: "bg-dark" },
|
|
94
|
-
{ name: "light", varName: "--color-light", class: "bg-light" },
|
|
95
|
-
{
|
|
96
|
-
name: "light-dark",
|
|
97
|
-
varName: "--color-light-dark",
|
|
98
|
-
class: "bg-light-dark"
|
|
99
|
-
}
|
|
100
|
-
];
|
|
101
|
-
return /* @__PURE__ */ r("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: [
|
|
102
|
-
/* @__PURE__ */ e(
|
|
103
|
-
f,
|
|
104
|
-
{
|
|
105
|
-
title: "Color System",
|
|
106
|
-
description: "Carefully crafted color palettes that work across all themes and contexts.",
|
|
107
|
-
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-pink-500 via-rose-500 to-red-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(k, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
108
|
-
}
|
|
109
|
-
),
|
|
110
|
-
/* @__PURE__ */ r("div", { className: "space-y-8", children: [
|
|
111
|
-
/* @__PURE__ */ e(m, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Brand Colors", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-2 sm:grid-cols-4 gap-4 sm:gap-6", children: u.map((a) => /* @__PURE__ */ r("div", { className: "text-center space-y-2", children: [
|
|
112
|
-
/* @__PURE__ */ e(
|
|
113
|
-
"div",
|
|
114
|
-
{
|
|
115
|
-
className: `w-16 h-16 rounded-lg ${a.class} mx-auto`
|
|
116
|
-
}
|
|
117
|
-
),
|
|
118
|
-
/* @__PURE__ */ r("div", { className: "text-sm", children: [
|
|
119
|
-
/* @__PURE__ */ e("div", { className: "font-semibold", children: a.name }),
|
|
120
|
-
/* @__PURE__ */ e("div", { className: "text-muted-foreground", children: a.hex })
|
|
121
|
-
] })
|
|
122
|
-
] }, a.name)) }) }) }),
|
|
123
|
-
/* @__PURE__ */ e(m, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Semantic Colors", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-2 sm:grid-cols-4 gap-4 sm:gap-6", children: x.map((a) => /* @__PURE__ */ r("div", { className: "text-center space-y-2", children: [
|
|
124
|
-
/* @__PURE__ */ e(
|
|
125
|
-
"div",
|
|
126
|
-
{
|
|
127
|
-
className: `w-16 h-16 rounded-lg ${a.class} mx-auto`
|
|
128
|
-
}
|
|
129
|
-
),
|
|
130
|
-
/* @__PURE__ */ r("div", { className: "text-sm", children: [
|
|
131
|
-
/* @__PURE__ */ e("div", { className: "font-semibold", children: a.name }),
|
|
132
|
-
/* @__PURE__ */ e("div", { className: "text-muted-foreground", children: a.hex })
|
|
133
|
-
] })
|
|
134
|
-
] }, a.name)) }) }) }),
|
|
135
|
-
/* @__PURE__ */ e(w, { variant: "info", children: /* @__PURE__ */ r("div", { children: [
|
|
136
|
-
/* @__PURE__ */ r("div", { className: "font-semibold flex items-center gap-2", children: [
|
|
137
|
-
/* @__PURE__ */ e(C, { className: "h-4 w-4" }),
|
|
138
|
-
"Dynamic Theming"
|
|
139
|
-
] }),
|
|
140
|
-
/* @__PURE__ */ e("div", { children: "Colors automatically adapt based on the selected theme preset and mode (light/dark)." })
|
|
141
|
-
] }) }),
|
|
142
|
-
/* @__PURE__ */ e(m, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Color Spectrum", className: "mt-2 mb-2", children: /* @__PURE__ */ r("div", { className: "w-full space-y-8 p-4 sm:p-6", children: [
|
|
143
|
-
/* @__PURE__ */ e(
|
|
144
|
-
t,
|
|
145
|
-
{
|
|
146
|
-
tag: "p",
|
|
147
|
-
className: "text-gray-600 dark:text-gray-400 mb-6",
|
|
148
|
-
children: "Complete color palette with all shades from 0 to 100 for each color spectrum."
|
|
149
|
-
}
|
|
150
|
-
),
|
|
151
|
-
/* @__PURE__ */ e("div", { className: "space-y-8", children: b.map((a) => /* @__PURE__ */ r("div", { children: [
|
|
152
|
-
/* @__PURE__ */ e(
|
|
153
|
-
t,
|
|
154
|
-
{
|
|
155
|
-
tag: "h3",
|
|
156
|
-
className: "font-semibold text-lg mb-4 capitalize",
|
|
157
|
-
children: a.name
|
|
158
|
-
}
|
|
159
|
-
),
|
|
160
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-4 sm:grid-cols-7 md:grid-cols-10 lg:grid-cols-[repeat(13,minmax(0,1fr))] gap-2", children: a.shades.map((s) => {
|
|
161
|
-
const i = `bg-${a.name}-${s}`, h = `--color-${a.name}-${s}`, o = p(h);
|
|
162
|
-
return /* @__PURE__ */ r(
|
|
163
|
-
"div",
|
|
164
|
-
{
|
|
165
|
-
className: "space-y-1 w-full min-w-[40px]",
|
|
166
|
-
children: [
|
|
167
|
-
/* @__PURE__ */ e(
|
|
168
|
-
"div",
|
|
169
|
-
{
|
|
170
|
-
className: `h-16 w-full rounded border border-gray-200 dark:border-gray-700 ${i}`,
|
|
171
|
-
title: `${a.name}-${s}: ${o || h}`
|
|
172
|
-
}
|
|
173
|
-
),
|
|
174
|
-
/* @__PURE__ */ e(
|
|
175
|
-
t,
|
|
176
|
-
{
|
|
177
|
-
tag: "h4",
|
|
178
|
-
className: "text-center text-xs font-semibold",
|
|
179
|
-
children: s
|
|
180
|
-
}
|
|
181
|
-
),
|
|
182
|
-
o && /* @__PURE__ */ e(
|
|
183
|
-
t,
|
|
184
|
-
{
|
|
185
|
-
tag: "h4",
|
|
186
|
-
className: "text-center text-muted text-[10px]",
|
|
187
|
-
children: o
|
|
188
|
-
}
|
|
189
|
-
)
|
|
190
|
-
]
|
|
191
|
-
},
|
|
192
|
-
`${a.name}-${s}-${l}`
|
|
193
|
-
);
|
|
194
|
-
}) })
|
|
195
|
-
] }, a.name)) })
|
|
196
|
-
] }) }) }),
|
|
197
|
-
/* @__PURE__ */ e(m, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Main Colors", className: "mt-2 mb-2", children: /* @__PURE__ */ r("div", { className: "w-full space-y-8 p-4 sm:p-6", children: [
|
|
198
|
-
/* @__PURE__ */ e(
|
|
199
|
-
t,
|
|
200
|
-
{
|
|
201
|
-
tag: "p",
|
|
202
|
-
className: "text-gray-600 dark:text-gray-400 mb-6",
|
|
203
|
-
children: "Primary theme colors used throughout the application. These colors are mapped from semantic colors and adapt to light/dark mode."
|
|
204
|
-
}
|
|
205
|
-
),
|
|
206
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4", children: N.map((a) => {
|
|
207
|
-
const s = p(a.varName), i = a.name === "body" || a.name === "light" || a.name === "light-dark" ? "text-dark dark:text-light" : "text-white";
|
|
208
|
-
return /* @__PURE__ */ r(
|
|
209
|
-
"div",
|
|
210
|
-
{
|
|
211
|
-
className: "space-y-2 border border-gray-200 dark:border-gray-700 rounded-lg p-2",
|
|
212
|
-
children: [
|
|
213
|
-
/* @__PURE__ */ e(
|
|
214
|
-
"div",
|
|
215
|
-
{
|
|
216
|
-
className: `h-20 rounded flex items-center justify-center ${a.class} ${i} border border-gray-200 dark:border-gray-700`,
|
|
217
|
-
title: `${a.name}: var(${a.varName})${s ? ` = ${s}` : ""}`,
|
|
218
|
-
children: /* @__PURE__ */ e(
|
|
219
|
-
t,
|
|
220
|
-
{
|
|
221
|
-
tag: "h4",
|
|
222
|
-
className: "text-center px-2 break-all text-xs",
|
|
223
|
-
children: a.name
|
|
224
|
-
}
|
|
225
|
-
)
|
|
226
|
-
}
|
|
227
|
-
),
|
|
228
|
-
/* @__PURE__ */ e(
|
|
229
|
-
t,
|
|
230
|
-
{
|
|
231
|
-
tag: "h4",
|
|
232
|
-
className: "text-center text-muted text-xs",
|
|
233
|
-
children: a.name
|
|
234
|
-
}
|
|
235
|
-
),
|
|
236
|
-
s && /* @__PURE__ */ e(
|
|
237
|
-
t,
|
|
238
|
-
{
|
|
239
|
-
tag: "h4",
|
|
240
|
-
className: "text-center text-muted text-[10px]",
|
|
241
|
-
children: s
|
|
242
|
-
}
|
|
243
|
-
),
|
|
244
|
-
/* @__PURE__ */ e(
|
|
245
|
-
t,
|
|
246
|
-
{
|
|
247
|
-
tag: "h4",
|
|
248
|
-
className: "text-center text-muted text-[9px] mt-1 break-all px-1",
|
|
249
|
-
children: a.class
|
|
250
|
-
}
|
|
251
|
-
)
|
|
252
|
-
]
|
|
253
|
-
},
|
|
254
|
-
`main-${a.name}-${l}`
|
|
255
|
-
);
|
|
256
|
-
}) })
|
|
257
|
-
] }) }) })
|
|
258
|
-
] })
|
|
259
|
-
] });
|
|
260
|
-
};
|
|
261
|
-
export {
|
|
262
|
-
j as default
|
|
263
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("react"),s=require("../index-BaGqriuz.js"),o=require("lucide-react");require("react-router-dom");require("react-dom");const h=l=>{if(typeof window>"u")return"";const t=document.documentElement;return getComputedStyle(t).getPropertyValue(l).trim()||""},y=()=>{const{mode:l}=s.useTheme(),[t,n]=m.useState(0);m.useEffect(()=>{const a=setTimeout(()=>{n(r=>r+1)},100);return()=>clearTimeout(a)},[l]),m.useEffect(()=>{const a=new MutationObserver(()=>{n(r=>r+1)});return a.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),()=>a.disconnect()},[]);const x=[{name:"Primary",class:"bg-primary",hex:"#3B82F6"},{name:"Secondary",class:"bg-secondary",hex:"#6B7280"},{name:"Accent",class:"bg-accent",hex:"#10B981"},{name:"Muted",class:"bg-muted",hex:"#F3F4F6"}],g=[{name:"Success",class:"bg-green-500",hex:"#10B981"},{name:"Warning",class:"bg-yellow-500",hex:"#F59E0B"},{name:"Error",class:"bg-red-500",hex:"#EF4444"},{name:"Info",class:"bg-blue-500",hex:"#3B82F6"}],p=[{name:"blue",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"green",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"orange",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"gray",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"indigo",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"pink",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"purple",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"red",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"teal",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"yellow",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"chartreuse",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]}],u=[{name:"brand",varName:"--color-brand",class:"bg-brand"},{name:"primary",varName:"--color-primary",class:"bg-primary"},{name:"secondary",varName:"--color-secondary",class:"bg-secondary"},{name:"accent",varName:"--color-accent",class:"bg-accent"},{name:"muted",varName:"--color-muted",class:"bg-muted"},{name:"success",varName:"--color-success",class:"bg-success"},{name:"warning",varName:"--color-warning",class:"bg-warning"},{name:"error",varName:"--color-error",class:"bg-error"},{name:"info",varName:"--color-info",class:"bg-info"},{name:"body",varName:"--color-body",class:"bg-body"},{name:"dark",varName:"--color-dark",class:"bg-dark"},{name:"light",varName:"--color-light",class:"bg-light"},{name:"light-dark",varName:"--color-light-dark",class:"bg-light-dark"}];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(s.HeroCard,{title:"Color System",description:"Carefully crafted color palettes that work across all themes and contexts.",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-pink-500 via-rose-500 to-red-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(o.Palette,{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:"space-y-8",children:[e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Brand Colors",className:"mt-2 mb-2",children:e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-4 sm:gap-6",children:x.map(a=>e.jsxs("div",{className:"text-center space-y-2",children:[e.jsx("div",{className:`w-16 h-16 rounded-lg ${a.class} mx-auto`}),e.jsxs("div",{className:"text-sm",children:[e.jsx("div",{className:"font-semibold",children:a.name}),e.jsx("div",{className:"text-muted-foreground",children:a.hex})]})]},a.name))})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Semantic Colors",className:"mt-2 mb-2",children:e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-4 sm:gap-6",children:g.map(a=>e.jsxs("div",{className:"text-center space-y-2",children:[e.jsx("div",{className:`w-16 h-16 rounded-lg ${a.class} mx-auto`}),e.jsxs("div",{className:"text-sm",children:[e.jsx("div",{className:"font-semibold",children:a.name}),e.jsx("div",{className:"text-muted-foreground",children:a.hex})]})]},a.name))})})}),e.jsx(s.Alert,{variant:"info",children:e.jsxs("div",{children:[e.jsxs("div",{className:"font-semibold flex items-center gap-2",children:[e.jsx(o.Info,{className:"h-4 w-4"}),"Dynamic Theming"]}),e.jsx("div",{children:"Colors automatically adapt based on the selected theme preset and mode (light/dark)."})]})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Color Spectrum",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-6",children:"Complete color palette with all shades from 0 to 100 for each color spectrum."}),e.jsx("div",{className:"space-y-8",children:p.map(a=>e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-lg mb-4 capitalize",children:a.name}),e.jsx("div",{className:"grid grid-cols-4 sm:grid-cols-7 md:grid-cols-10 lg:grid-cols-[repeat(13,minmax(0,1fr))] gap-2",children:a.shades.map(r=>{const d=`bg-${a.name}-${r}`,i=`--color-${a.name}-${r}`,c=h(i);return e.jsxs("div",{className:"space-y-1 w-full min-w-[40px]",children:[e.jsx("div",{className:`h-16 w-full rounded border border-gray-200 dark:border-gray-700 ${d}`,title:`${a.name}-${r}: ${c||i}`}),e.jsx(s.Typography,{tag:"h4",className:"text-center text-xs font-semibold",children:r}),c&&e.jsx(s.Typography,{tag:"h4",className:"text-center text-muted text-[10px]",children:c})]},`${a.name}-${r}-${t}`)})})]},a.name))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Main Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-6",children:"Primary theme colors used throughout the application. These colors are mapped from semantic colors and adapt to light/dark mode."}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:u.map(a=>{const r=h(a.varName),d=a.name==="body"||a.name==="light"||a.name==="light-dark"?"text-dark dark:text-light":"text-white";return e.jsxs("div",{className:"space-y-2 border border-gray-200 dark:border-gray-700 rounded-lg p-2",children:[e.jsx("div",{className:`h-20 rounded flex items-center justify-center ${a.class} ${d} border border-gray-200 dark:border-gray-700`,title:`${a.name}: var(${a.varName})${r?` = ${r}`:""}`,children:e.jsx(s.Typography,{tag:"h4",className:"text-center px-2 break-all text-xs",children:a.name})}),e.jsx(s.Typography,{tag:"h4",className:"text-center text-muted text-xs",children:a.name}),r&&e.jsx(s.Typography,{tag:"h4",className:"text-center text-muted text-[10px]",children:r}),e.jsx(s.Typography,{tag:"h4",className:"text-center text-muted text-[9px] mt-1 break-all px-1",children:a.class})]},`main-${a.name}-${t}`)})})]})})})]})]})};exports.default=y;
|