@e-burgos/tucu-ui 2.0.9 → 2.0.11
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 +163 -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/list/list-container.d.ts +2 -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-DQ9eEJU3.js → APIReferenceSection-D-0yFcGB.js} +1 -1
- package/documentation/{APIReferenceSection-DNlAQ8GG.js → APIReferenceSection-atXRbZ3K.js} +1 -1
- package/documentation/{ActiveLinkSection-ClQ5IBOo.js → ActiveLinkSection-DfDLkxts.js} +1 -1
- package/documentation/{ActiveLinkSection-ZQgU44Mo.js → ActiveLinkSection-DzIK-w3U.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-D-6qlD3s.js → AdvancedColorSystemSection-Bf729JeV.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-BT-UpUVF.js → AdvancedColorSystemSection-BhT4nZB1.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-D2ZWLXY5.js → AdvancedFeaturesSection-BFMW48vw.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-B5wK85Bl.js → AdvancedFeaturesSection-BKGD3z9z.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-mfiPnKVY.js → AdvancedFeaturesSection-ChbswzIX.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-mbP5hR-H.js → AdvancedFeaturesSection-Dz1_1lrC.js} +1 -1
- package/documentation/{AlertSection-BBto0fHS.js → AlertSection-PCql-dTz.js} +1 -1
- package/documentation/{AlertSection-D4Gq9upX.js → AlertSection-cU2Ed_fE.js} +1 -1
- package/documentation/{AnchorLinkSection-DSCjeuS9.js → AnchorLinkSection-Cs8t_LkK.js} +1 -1
- package/documentation/{AnchorLinkSection-k40j2vM0.js → AnchorLinkSection-DA-Q9PB2.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-Doa_MJjU.js → ArchitecturalPatternsComparisonSection-Ckw-hj50.js} +6 -4
- package/documentation/{ArchitecturalPatternsComparisonSection-DesoQ7S_.js → ArchitecturalPatternsComparisonSection-l5Wrr7He.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-DUkNwRmR.js → ArchitectureOverviewSection-2GHOBuT3.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-Cu_PStpk.js → ArchitectureOverviewSection-BXXzg8Af.js} +1 -1
- package/documentation/{AreaChartSection-BDVO57jx.js → AreaChartSection-B1G50vNb.js} +1 -1
- package/documentation/{AreaChartSection-C4ruqExr.js → AreaChartSection-DHp2cGnI.js} +1 -1
- package/documentation/{AuthorCardSection-DpUU5KDU.js → AuthorCardSection-DD1rPOTi.js} +1 -1
- package/documentation/{AuthorCardSection-cB8Liia6.js → AuthorCardSection-DKWXsN5r.js} +1 -1
- package/documentation/{AvatarSection-DZCiBPX4.js → AvatarSection-CEy3tSFZ.js} +1 -1
- package/documentation/{AvatarSection-DpUjg_yW.js → AvatarSection-D6q5cCro.js} +1 -1
- package/documentation/BackgroundsSection-DIO489vW.js +6 -0
- package/documentation/BackgroundsSection-ml2K7sVT.js +367 -0
- package/documentation/{BadgeSection-Cteg--jV.js → BadgeSection-D87SEfxH.js} +1 -1
- package/documentation/{BadgeSection-B7mtSvQv.js → BadgeSection-Nan3Lkev.js} +1 -1
- package/documentation/{BarChartSection-rkETKOO2.js → BarChartSection-CDVExS5W.js} +1 -1
- package/documentation/{BarChartSection-Clrho1um.js → BarChartSection-kjXT_9gz.js} +1 -1
- package/documentation/{BasicTableSection-Cf3FcRGV.js → BasicTableSection-6_00z3Ow.js} +1 -1
- package/documentation/{BasicTableSection-7S3mV6WL.js → BasicTableSection-BZZ4LZPr.js} +1 -1
- package/documentation/{BasicUsageSection-C04Vk4Xo.js → BasicUsageSection-C0jPVah2.js} +3 -3
- package/documentation/{BasicUsageSection-D_OADsjB.js → BasicUsageSection-DxI1q1Q2.js} +38 -52
- package/documentation/{BestPracticesSection-BiznpoaJ.js → BestPracticesSection-BR4dbFpB.js} +1 -1
- package/documentation/{BestPracticesSection-CNwUYNOW.js → BestPracticesSection-BgPOX_gI.js} +1 -1
- package/documentation/{BestPracticesSection-41CW61J-.js → BestPracticesSection-Bi5xrYmy.js} +1 -1
- package/documentation/{BestPracticesSection-BJUyOw5K.js → BestPracticesSection-CDbUzkng.js} +1 -1
- package/documentation/{BestPracticesSection-wKpFsyId.js → BestPracticesSection-CJYUqkS3.js} +1 -1
- package/documentation/{BestPracticesSection-hs6vGhuu.js → BestPracticesSection-CKgzm1wF.js} +1 -1
- package/documentation/{BestPracticesSection-BklrYpDV.js → BestPracticesSection-CSnNKGOl.js} +1 -1
- package/documentation/{BestPracticesSection-C7p3sqSS.js → BestPracticesSection-CxMpa6p1.js} +1 -1
- package/documentation/{BestPracticesSection-DL24k5DX.js → BestPracticesSection-DCIOp37N.js} +3 -3
- package/documentation/{BestPracticesSection-Bnccg1L-.js → BestPracticesSection-DFD5nxVx.js} +1 -1
- package/documentation/{BestPracticesSection-CCTlvAEc.js → BestPracticesSection-DjiIOPo0.js} +1 -1
- package/documentation/{BestPracticesSection-C8R3e6wG.js → BestPracticesSection-Dk8CWxop.js} +1 -1
- package/documentation/{BestPracticesSection-4oonl6Xs.js → BestPracticesSection-LF77lB2o.js} +1 -1
- package/documentation/{BestPracticesSection-CGBKNc2j.js → BestPracticesSection-p6yKTAKz.js} +2 -2
- package/documentation/{BorderRadiusSection-CY90awsm.js → BorderRadiusSection--NQ7VUFN.js} +1 -1
- package/documentation/{BorderRadiusSection-CgppX9KI.js → BorderRadiusSection-zrkMx4HO.js} +2 -2
- package/documentation/{ButtonDripSection-D8zkJ-6j.js → ButtonDripSection-8b--VA4e.js} +1 -1
- package/documentation/{ButtonDripSection-BQkw59yH.js → ButtonDripSection-DDKo9R2R.js} +1 -1
- package/documentation/{ButtonLoaderSection-B5XP49FM.js → ButtonLoaderSection-CBA_ZHhE.js} +1 -1
- package/documentation/{ButtonLoaderSection-CjGBMNiM.js → ButtonLoaderSection-CLz_h6dG.js} +1 -1
- package/documentation/{CardContainerSection-DcioQ7uD.js → CardContainerSection-CiUChb20.js} +1 -1
- package/documentation/{CardContainerSection-DfKrRKR1.js → CardContainerSection-CvmjXgXA.js} +1 -1
- package/documentation/{CardSection-C6FmBvSW.js → CardSection-CNAxXZ-P.js} +1 -1
- package/documentation/{CardSection-By7KZdmx.js → CardSection-CjX674hF.js} +1 -1
- package/documentation/{CardTitleSection-Cwlv3Iuv.js → CardTitleSection-B_J-KuJt.js} +1 -1
- package/documentation/{CardTitleSection-JuseDFmx.js → CardTitleSection-DPb1vFGs.js} +1 -1
- package/documentation/{CarouselCardsSection-HwS5Pilj.js → CarouselCardsSection-BZEnKwjk.js} +1 -1
- package/documentation/{CarouselCardsSection-t54tXA0y.js → CarouselCardsSection-Cb0YzM4g.js} +1 -1
- package/documentation/{CarouselImageSection-yRgXBEHG.js → CarouselImageSection-CvH76d92.js} +1 -1
- package/documentation/{CarouselImageSection-DxcOoLwL.js → CarouselImageSection-DOlEyXWk.js} +1 -1
- package/documentation/{CarouselSection-Dyv4W4kt.js → CarouselSection-BMY8qfVw.js} +1 -1
- package/documentation/{CarouselSection-DVkA2Zts.js → CarouselSection-DFowJi8B.js} +1 -1
- package/documentation/{CheckboxSection-CFyl2-Lg.js → CheckboxSection-BH4VhJEm.js} +1 -1
- package/documentation/{CheckboxSection-Cm9sabKa.js → CheckboxSection-CplIdb6X.js} +1 -1
- package/documentation/{CodeExamplesSection-D4BjomLZ.js → CodeExamplesSection-CXVbcTuR.js} +1 -1
- package/documentation/{CodeExamplesSection-ZevLOjfL.js → CodeExamplesSection-Uzy_nx_w.js} +1 -1
- package/documentation/{CoinCardSection-BP75BKln.js → CoinCardSection-BqzqGzNX.js} +1 -1
- package/documentation/{CoinCardSection-DWe-P9aE.js → CoinCardSection-CYQiTXMY.js} +1 -1
- package/documentation/{CoinInfoCardSection-Cp5dwucx.js → CoinInfoCardSection-BraT4PKL.js} +1 -1
- package/documentation/{CoinInfoCardSection-CHd_B21e.js → CoinInfoCardSection-D17ShK89.js} +1 -1
- package/documentation/{CoinListBoxSection-CgQPCN1-.js → CoinListBoxSection-3HDvscAm.js} +1 -1
- package/documentation/{CoinListBoxSection-CFTwACjZ.js → CoinListBoxSection-DIkN2YGf.js} +1 -1
- package/documentation/{CollapseSection-DV4iEoTo.js → CollapseSection-Bu-jCulM.js} +1 -1
- package/documentation/{CollapseSection-BObnZGBa.js → CollapseSection-DTRVS-NX.js} +1 -1
- package/documentation/{CollectionCardSection-V2vYAGul.js → CollectionCardSection-B1wa7op1.js} +1 -1
- package/documentation/{CollectionCardSection-Cl5rgWzn.js → CollectionCardSection-CTopH3nY.js} +1 -1
- package/documentation/{CollectionSelectListSection-CW5Wwg5e.js → CollectionSelectListSection-DS58qWW3.js} +1 -1
- package/documentation/{CollectionSelectListSection-l-apJPKq.js → CollectionSelectListSection-dVI4VFBg.js} +1 -1
- package/documentation/ColorCustomizationSection-Baixq5Ip.js +1 -0
- package/documentation/{ColorCustomizationSection-v0OWFiFx.js → ColorCustomizationSection-YYlI9A1C.js} +45 -33
- package/documentation/ColorSystemSection-BtlskPJf.js +1 -0
- package/documentation/ColorSystemSection-CnTw7ZkK.js +339 -0
- package/documentation/{CommonErrorsSection-8pIQ5P0f.js → CommonErrorsSection-L1rlea_g.js} +1 -1
- package/documentation/{CommonErrorsSection-CPIUNSdZ.js → CommonErrorsSection-QlP5fF-A.js} +1 -1
- package/documentation/{ComponentAnatomySection-D9CJ7NKe.js → ComponentAnatomySection-BxcXCnq8.js} +1 -1
- package/documentation/{ComponentAnatomySection-B_3X6zAV.js → ComponentAnatomySection-DJZZE1hI.js} +1 -1
- package/documentation/{ComponentStatusSection-BPM9MaGx.js → ComponentStatusSection-BYXnGGLk.js} +1 -1
- package/documentation/{ComponentStatusSection-DckFRSjC.js → ComponentStatusSection-botHuCNS.js} +1 -1
- package/documentation/{ComposedChartSection-DgidskHN.js → ComposedChartSection-CUShZ_0K.js} +1 -1
- package/documentation/{ComposedChartSection-Dx2m0rSy.js → ComposedChartSection-Dw7y3z1I.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-DZab3CRP.js → CurrencySwapIconsSection-BrzmuJ2v.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-u7r7QNnv.js → CurrencySwapIconsSection-G1PKgwmJ.js} +1 -1
- package/documentation/{CustomColorPaletteSection-pjhXRzh7.js → CustomColorPaletteSection-B7Vi4tu_.js} +8 -8
- package/documentation/{CustomColorPaletteSection-BgsWYeFi.js → CustomColorPaletteSection-DrQhXtL8.js} +2 -2
- package/documentation/{CustomIconsSection-8d02BzFW.js → CustomIconsSection-B-jyDcJY.js} +11 -11
- package/documentation/{CustomIconsSection-DVTQjvmK.js → CustomIconsSection-CA138JJG.js} +1 -1
- package/documentation/{DefiAppLogoSection-BloxEw2r.js → DefiAppLogoSection-CQSUi_EO.js} +1 -1
- package/documentation/{DefiAppLogoSection-DeVkbZnS.js → DefiAppLogoSection-D1NyWvoG.js} +1 -1
- package/documentation/{DesignPrinciplesSection-AGfHYdRQ.js → DesignPrinciplesSection-uWTGLlz4.js} +1 -1
- package/documentation/{DesignPrinciplesSection-DnXrx_3r.js → DesignPrinciplesSection-uZtMtWe-.js} +1 -1
- package/documentation/{DrawerSection-C5umOiTH.js → DrawerSection-Bu-pp5NC.js} +1 -1
- package/documentation/{DrawerSection-0xOnVMih.js → DrawerSection-Ds5Oc88-.js} +1 -1
- package/documentation/{DynamicRoutesSection-D9cAVioz.js → DynamicRoutesSection-CqEWf50D.js} +1 -1
- package/documentation/{DynamicRoutesSection-CplA4H_-.js → DynamicRoutesSection-Dbi8goa2.js} +1 -1
- package/documentation/{FileInputSection-DYnf_T8n.js → FileInputSection-Cj_JBMzc.js} +1 -1
- package/documentation/{FileInputSection-DiFwCplu.js → FileInputSection-FoXDZNUE.js} +1 -1
- package/documentation/{FileStructureSection-qyFRzFR7.js → FileStructureSection-B5V2bYDr.js} +2 -2
- package/documentation/{FileStructureSection-C7CT7MLA.js → FileStructureSection-DcF6kqva.js} +5 -5
- package/documentation/{FormComponentsSection-BGNG7LT5.js → FormComponentsSection-BZD-gsSe.js} +1 -1
- package/documentation/{FormComponentsSection-D8FXeYch.js → FormComponentsSection-Di5UuXlL.js} +13 -13
- package/documentation/{FormMethodsSection-D7QrdOOf.js → FormMethodsSection-BvgQzx8p.js} +1 -1
- package/documentation/{FormMethodsSection-KJIlWtlf.js → FormMethodsSection-EpCyOiml.js} +1 -1
- package/documentation/{HamburgerSection-B4QTD7QB.js → HamburgerSection-DRj8TUsp.js} +1 -1
- package/documentation/{HamburgerSection-1Co0vSYI.js → HamburgerSection-dEpg89yn.js} +1 -1
- package/documentation/{HookCategoriesSection-BgTUwS4d.js → HookCategoriesSection-B9bwaXr8.js} +1 -1
- package/documentation/{HookCategoriesSection-DT7PsLf5.js → HookCategoriesSection-D7eQRtCp.js} +1 -1
- package/documentation/{HookDocumentationSection-B7eGJAtC.js → HookDocumentationSection-BHs71TyY.js} +33 -40
- package/documentation/{HookDocumentationSection-Dm5vp60W.js → HookDocumentationSection-Baawctkv.js} +15 -15
- package/documentation/{HookFeaturesSection-XWh6oPJo.js → HookFeaturesSection-C30Q6_Md.js} +1 -1
- package/documentation/{HookFeaturesSection-C_CfuHPq.js → HookFeaturesSection-CvoRWckR.js} +1 -1
- package/documentation/{IconArchitectureSection-2pqGfRWh.js → IconArchitectureSection-DJaQZCiw.js} +1 -1
- package/documentation/{IconArchitectureSection-Cyft-9ck.js → IconArchitectureSection-DSKUvUAF.js} +1 -1
- package/documentation/{IconSizingGuideSection-D0WIGnpi.js → IconSizingGuideSection-DR-890fr.js} +1 -1
- package/documentation/{IconSizingGuideSection-DWP8TfCJ.js → IconSizingGuideSection-Nktvsp16.js} +2 -2
- package/documentation/{IconSystemAPISection-BafhVMj8.js → IconSystemAPISection-BWnG2nl0.js} +1 -1
- package/documentation/{IconSystemAPISection-BykSbNfn.js → IconSystemAPISection-Dsg2l2Pe.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-D-Z8n3yK.js → IconSystemBenefitsSection-Drm0OXrA.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-DnPy73uB.js → IconSystemBenefitsSection-Dwe4wlPF.js} +1 -1
- package/documentation/ImageSection-BSsfirP2.js +82 -0
- package/documentation/{ImageSection-BDC-XBOn.js → ImageSection-mNyUYSpC.js} +3 -3
- package/documentation/ImplementationExamplesSection-C7b93cmS.js +761 -0
- package/documentation/ImplementationExamplesSection-uBcrCqN-.js +429 -0
- package/documentation/{ImplementationGuidelinesSection-Bmt5UnLA.js → ImplementationGuidelinesSection-Db4WawJm.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-C0DtOFA3.js → ImplementationGuidelinesSection-ofXFqxXz.js} +1 -1
- package/documentation/{ImplementationStatusSection-gIxBd7m5.js → ImplementationStatusSection-DIC4prgh.js} +1 -1
- package/documentation/{ImplementationStatusSection-C59DZ2XS.js → ImplementationStatusSection-Dx5HVl6S.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-BwktoGqA.js → ImplementedFeaturesSection-BLVqF9zz.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-1l8t4Nij.js → ImplementedFeaturesSection-DU4h-rtj.js} +1 -1
- package/documentation/{InfoCardSection-DtgYtueH.js → InfoCardSection-BZQCI6lH.js} +15 -13
- package/documentation/{InfoCardSection-BcXFWEjI.js → InfoCardSection-COui0eJ9.js} +2 -2
- package/documentation/{InputSearcherSection-DD2KwzOG.js → InputSearcherSection-B7TecgvV.js} +1 -1
- package/documentation/{InputSearcherSection-DMtIqnZm.js → InputSearcherSection-BHmasUtU.js} +1 -1
- package/documentation/{InputSection-DAQlSKNm.js → InputSection-CwVgbFkV.js} +1 -1
- package/documentation/{InputSection-WnlrF_LD.js → InputSection-D5v6_90Q.js} +1 -1
- package/documentation/{KeyValueRowSection-BjXEg9g3.js → KeyValueRowSection-BIaGvJJR.js} +1 -1
- package/documentation/{KeyValueRowSection-Ctph5iO5.js → KeyValueRowSection-BpUw-iFf.js} +1 -1
- package/documentation/{KeyboardNavigationSection-BcQUUxeW.js → KeyboardNavigationSection-Cq0rQMvL.js} +4 -4
- package/documentation/{KeyboardNavigationSection-BgP2RBJx.js → KeyboardNavigationSection-L2ARF25K.js} +1 -1
- package/documentation/{LayoutPrinciplesSection-CZE5j4TD.js → LayoutPrinciplesSection-BaGAYyM4.js} +1 -1
- package/documentation/{LayoutPrinciplesSection-DZgjhU-5.js → LayoutPrinciplesSection-DIHhrL8w.js} +2 -2
- package/documentation/LayoutTypesSection-CtvHSbiu.js +1 -0
- package/documentation/{LayoutTypesSection-847E1FZA.js → LayoutTypesSection-D5fWevL5.js} +180 -30
- package/documentation/{LineChartSection-CLKCstC7.js → LineChartSection-DN4zy5UM.js} +1 -1
- package/documentation/{LineChartSection-BFVXYiK4.js → LineChartSection-DykwK2G5.js} +1 -1
- package/documentation/{ListContainerSection-rSWVVjfW.js → ListContainerSection-6Kb0Eyvz.js} +1 -1
- package/documentation/{ListContainerSection-D5k1iNKV.js → ListContainerSection-CNdIMVPD.js} +1 -1
- package/documentation/{ListItemSection-Bwr8NH-L.js → ListItemSection-CDiUyEEa.js} +1 -1
- package/documentation/{ListItemSection-CU785nZa.js → ListItemSection-SGEMovLU.js} +1 -1
- package/documentation/{LiveDemoSection-B5j1ZGtq.js → LiveDemoSection-B25zuxk-.js} +1 -1
- package/documentation/{LiveDemoSection-BHq8HDj_.js → LiveDemoSection-DOq43-14.js} +1 -1
- package/documentation/{LiveDemonstrationsSection-CSSKZrex.js → LiveDemonstrationsSection-BKjaRELq.js} +4 -4
- package/documentation/{LiveDemonstrationsSection-B5iutGu_.js → LiveDemonstrationsSection-C4UcxA40.js} +13 -13
- package/documentation/{LivePriceFeedSection-CguTUwPn.js → LivePriceFeedSection-BefdnOKq.js} +1 -1
- package/documentation/{LivePriceFeedSection-Ie3MtK5B.js → LivePriceFeedSection-DEOXLnRs.js} +1 -1
- package/documentation/{LoaderSection-wo7VqH01.js → LoaderSection-BZvT07RC.js} +1 -1
- package/documentation/{LoaderSection-CFIf6Cwz.js → LoaderSection-xaMFxvDA.js} +1 -1
- package/documentation/{LogoSection-D2o5z1v0.js → LogoSection-Dd5fUaTc.js} +1 -1
- package/documentation/{LogoSection-D53DSw6e.js → LogoSection-ahbLL3rC.js} +1 -1
- package/documentation/{LucideIconsSection-BmFnUvOo.js → LucideIconsSection-BZDRn21n.js} +1 -1
- package/documentation/{LucideIconsSection-BGhOfZ2S.js → LucideIconsSection-BrrSM3Gx.js} +1 -1
- package/documentation/{MFESupportSection-BfZN1ruk.js → MFESupportSection-Cnqx9zly.js} +12 -8
- package/documentation/{MFESupportSection-BsWrFr8n.js → MFESupportSection-Y46AZL5B.js} +2 -2
- package/documentation/MacOSBackgroundsSection-BZX6uCBD.js +1 -0
- package/documentation/{MacOSBackgroundsSection-5FwRmwSt.js → MacOSBackgroundsSection-Dj11FbQr.js} +25 -22
- package/documentation/MacOSColorsSection-CjuG1kI6.js +1 -0
- package/documentation/{MacOSColorsSection-YEtkXtT9.js → MacOSColorsSection-DGPBZ1Sb.js} +25 -25
- package/documentation/{MacOSCommandPaletteSection-WanBDypB.js → MacOSCommandPaletteSection-B6xGLV1Q.js} +4 -4
- package/documentation/{MacOSCommandPaletteSection-BNpF6qM7.js → MacOSCommandPaletteSection-ClWl0xxk.js} +1 -1
- package/documentation/{MacOSMaterialsSection-CL8WKiWl.js → MacOSMaterialsSection-CFHz_vYl.js} +6 -6
- package/documentation/MacOSMaterialsSection-QdDsz0mK.js +1 -0
- package/documentation/{MacOSNotificationBannerSection-CccD5Lyx.js → MacOSNotificationBannerSection-Bo1oagT9.js} +1 -1
- package/documentation/{MacOSNotificationBannerSection-DCtVh4mP.js → MacOSNotificationBannerSection-D9se5v0x.js} +1 -1
- package/documentation/MacOSPopoverSection-CHmPgYov.js +33 -0
- package/documentation/{MacOSPopoverSection-Ct-lBd1V.js → MacOSPopoverSection-CkT1ssbc.js} +136 -41
- package/documentation/{MacOSSearchBarSection-DNHmkSQF.js → MacOSSearchBarSection-Bq6w8HML.js} +1 -1
- package/documentation/{MacOSSearchBarSection-DruORVTc.js → MacOSSearchBarSection-BsqmjAJO.js} +1 -1
- package/documentation/{MacOSSegmentedControlSection-D5ZpMdGL.js → MacOSSegmentedControlSection-BgsDLI96.js} +1 -1
- package/documentation/{MacOSSegmentedControlSection-BFuSzzal.js → MacOSSegmentedControlSection-ls5gxPUT.js} +1 -1
- package/documentation/MacOSSidebarSection-CiN4hOs1.js +35 -0
- package/documentation/{MacOSSidebarSection-D0DT2x5w.js → MacOSSidebarSection-ZtF4anKi.js} +120 -46
- package/documentation/{MacOSTahoeSection-ErqFjWX4.js → MacOSTahoeSection-D_vk1Evv.js} +1 -1
- package/documentation/{MacOSTahoeSection-DKtgrult.js → MacOSTahoeSection-mC8_isTc.js} +2 -2
- package/documentation/{MacOSTextStylesSection-B4xYNfLo.js → MacOSTextStylesSection-D8sjMitr.js} +52 -48
- package/documentation/MacOSTextStylesSection-imhQhiIB.js +1 -0
- package/documentation/{MacOSToolbarSection-GwXI_HM0.js → MacOSToolbarSection-BZe5dcqG.js} +1 -1
- package/documentation/{MacOSToolbarSection-BUSdw1-N.js → MacOSToolbarSection-DfFGfIYr.js} +1 -1
- package/documentation/{MacOSWidgetSection-BEuuPDcI.js → MacOSWidgetSection-DDArll2O.js} +1 -1
- package/documentation/{MacOSWidgetSection-B2c5Jiqb.js → MacOSWidgetSection-qJYsLW4w.js} +1 -1
- package/documentation/{MacOSWindowSection-ChLGxWkJ.js → MacOSWindowSection-BXRF47Xp.js} +1 -1
- package/documentation/{MacOSWindowSection-CJSekAJj.js → MacOSWindowSection-CNCeYJ4q.js} +1 -1
- package/documentation/{MenuItemsGuideSection-CW7znzf9.js → MenuItemsGuideSection-C3s0ZKp_.js} +1 -1
- package/documentation/{MenuItemsGuideSection-3rCQXRbI.js → MenuItemsGuideSection-D9Rppez7.js} +1 -1
- package/documentation/{ModalSection-Bm2c0cZ3.js → ModalSection-7_9nd9h1.js} +1 -1
- package/documentation/{ModalSection-B4Ay5tMm.js → ModalSection-BhxfjESN.js} +1 -1
- package/documentation/{NFTGridSection-DjfH-Wb_.js → NFTGridSection-CiMimQqR.js} +1 -1
- package/documentation/{NFTGridSection-C167-_5t.js → NFTGridSection-DyDP-kAx.js} +1 -1
- package/documentation/{NestedRoutesSection-BQBIMv26.js → NestedRoutesSection-B3NOQ7H9.js} +2 -2
- package/documentation/{NestedRoutesSection-BTIFUyu3.js → NestedRoutesSection-BfiOJSNr.js} +5 -5
- package/documentation/{NotificationCardSection-fW5poNpt.js → NotificationCardSection-C0ij0FZI.js} +1 -1
- package/documentation/{NotificationCardSection-Dc9k9m0z.js → NotificationCardSection-CyqVwqlr.js} +1 -1
- package/documentation/{PaginationSection-Dkozx1NR.js → PaginationSection-CyKsKgsQ.js} +1 -1
- package/documentation/{PaginationSection-Chxlsiar.js → PaginationSection-DlMA8zm0.js} +1 -1
- package/documentation/{PanelActionCardSection-CrHET2qr.js → PanelActionCardSection-BEW1jxMc.js} +1 -1
- package/documentation/{PanelActionCardSection-DH2lDA1v.js → PanelActionCardSection-DsRYmx7a.js} +1 -1
- package/documentation/{PanelCardSection-4huN71a_.js → PanelCardSection-BA0dNZBU.js} +1 -1
- package/documentation/{PanelCardSection-Cxgvd7E9.js → PanelCardSection-GTYF-40N.js} +1 -1
- package/documentation/{ParamTabSection-hI9LkIIz.js → ParamTabSection-BeS0YAiS.js} +2 -2
- package/documentation/{ParamTabSection-CnjtpMbJ.js → ParamTabSection-DhMnwgtB.js} +96 -59
- package/documentation/{PieChartSection-CE8jY8sm.js → PieChartSection-HK1lUzR4.js} +1 -1
- package/documentation/{PieChartSection-pR0IxyX_.js → PieChartSection-vp248RVf.js} +1 -1
- package/documentation/{PinCodeSection-LjDbYnRA.js → PinCodeSection-BRaBhpIp.js} +1 -1
- package/documentation/{PinCodeSection-oizvSnHW.js → PinCodeSection-DY5sV9tT.js} +1 -1
- package/documentation/{ProgressbarSection-DLvuQRqH.js → ProgressbarSection-BFO12wVG.js} +5 -5
- package/documentation/{ProgressbarSection-BMNMHb6k.js → ProgressbarSection-ByqSgYbQ.js} +2 -2
- package/documentation/{RadarChartSection-DHx5xzix.js → RadarChartSection-Bkg1mcQW.js} +1 -1
- package/documentation/{RadarChartSection-GP1TRYs5.js → RadarChartSection-CaAgWjU1.js} +1 -1
- package/documentation/{RadioGroupSection-C0qbZCEy.js → RadioGroupSection-Db4dih50.js} +1 -1
- package/documentation/{RadioGroupSection-Dnu2rhAj.js → RadioGroupSection-Dr20Esct.js} +1 -1
- package/documentation/{RadioSection-rHrHsIha.js → RadioSection-BewKd6Cu.js} +1 -1
- package/documentation/{RadioSection-DWy0dsvZ.js → RadioSection-CTdsPiv3.js} +1 -1
- package/documentation/{RevealContentSection-B7d6jZ3X.js → RevealContentSection-BEtqdh2z.js} +1 -1
- package/documentation/{RevealContentSection-DFeDG75P.js → RevealContentSection-BI7veCWN.js} +1 -1
- package/documentation/{RouteConfigurationSection-DdJ4tMwr.js → RouteConfigurationSection-BwWi-YdG.js} +1 -1
- package/documentation/{RouteConfigurationSection-Dj3ufwLr.js → RouteConfigurationSection-Dn51fITk.js} +1 -1
- package/documentation/{ScrollToTopSection-BzOG4wgw.js → ScrollToTopSection-El0Oj80E.js} +1 -1
- package/documentation/{ScrollToTopSection-JmnQvioT.js → ScrollToTopSection-IiOq9uyv.js} +1 -1
- package/documentation/{ScrollbarSection-DNOAHiAh.js → ScrollbarSection--Mi5OoqC.js} +1 -1
- package/documentation/{ScrollbarSection-C0IIJ90W.js → ScrollbarSection-D2xX8I_t.js} +1 -1
- package/documentation/{SelectSection-CYx0EZJX.js → SelectSection-CDKlo64x.js} +1 -1
- package/documentation/{SelectSection-DupPSBKF.js → SelectSection-DZbzNNto.js} +1 -1
- package/documentation/{SettingsPanelSection-GhZ66ZdG.js → SettingsPanelSection-5F7Ejvta.js} +4 -4
- package/documentation/SettingsPanelSection-DNFBwdbu.js +1 -0
- package/documentation/{ShadowsSection-qjRGL4vP.js → ShadowsSection-CC31G_pA.js} +1 -1
- package/documentation/{ShadowsSection-kJV-ttft.js → ShadowsSection-CjDQWjSH.js} +1 -1
- package/documentation/{SidebarMenuSection-Co9XzZgf.js → SidebarMenuSection-BqAlCKVK.js} +1 -1
- package/documentation/{SidebarMenuSection-CQunF-oM.js → SidebarMenuSection-CX26EQG5.js} +1 -1
- package/documentation/{SidebarSection-BTlba2fa.js → SidebarSection-B0n5UOpR.js} +1 -1
- package/documentation/{SidebarSection-CpNHqxdM.js → SidebarSection-De6UWk1X.js} +1 -1
- package/documentation/{SizingSection-DZRyEWJJ.js → SizingSection-BGID0Xcc.js} +28 -28
- package/documentation/SizingSection-CJLOGeHY.js +1 -0
- package/documentation/{SkeletonSection-DbSYqbHd.js → SkeletonSection-CgfOFx1m.js} +1 -1
- package/documentation/{SkeletonSection-BQKerqPH.js → SkeletonSection-DelgS1pN.js} +1 -1
- package/documentation/{SonomaColorsSection-B7L_UMjk.js → SonomaColorsSection-C28VtKd_.js} +1 -1
- package/documentation/{SonomaColorsSection-BqkMh28_.js → SonomaColorsSection-CQULhACY.js} +57 -57
- package/documentation/{SonomaLayoutContentSection-DFQgh479.js → SonomaLayoutContentSection-BSuTmwMI.js} +1 -1
- package/documentation/{SonomaLayoutContentSection-BaASk6kp.js → SonomaLayoutContentSection-iY1VAiSM.js} +1 -1
- package/documentation/{SonomaLayoutSidebarSection-CZ5rM-MM.js → SonomaLayoutSidebarSection-B1bkV4gJ.js} +1 -1
- package/documentation/{SonomaLayoutSidebarSection-DeT7y6e9.js → SonomaLayoutSidebarSection-DFNlJTT4.js} +1 -1
- package/documentation/SonomaMaterialsSection-BuwXPkij.js +9 -0
- package/documentation/{SonomaMaterialsSection-BYnpWwWt.js → SonomaMaterialsSection-D-fB1mIO.js} +4 -4
- package/documentation/{SonomaShapesSection-C17AoE2N.js → SonomaShapesSection-29muIlaP.js} +2 -2
- package/documentation/{SonomaShapesSection-OlLezJRJ.js → SonomaShapesSection-BjIQNju1.js} +3 -3
- package/documentation/{SonomaTypographySection-BXzAkRPA.js → SonomaTypographySection-3UGv1D5a.js} +48 -47
- package/documentation/{SonomaTypographySection-C7bSKgHl.js → SonomaTypographySection-DE_CNkXW.js} +1 -1
- package/documentation/{SpacingSystemSection-RdnzjpSK.js → SpacingSystemSection-BajYRcpw.js} +1 -1
- package/documentation/{SpacingSystemSection-rDylj_Un.js → SpacingSystemSection-CbW8Ty5w.js} +2 -2
- package/documentation/{SpinnerSection-C2SLIBWN.js → SpinnerSection-CL1dfMRs.js} +1 -1
- package/documentation/{SpinnerSection-BTEupT8d.js → SpinnerSection-Cj1Lldfj.js} +1 -1
- package/documentation/{StandaloneAppSection-uFMN1K6i.js → StandaloneAppSection-XYaz2aEl.js} +9 -6
- package/documentation/{StandaloneAppSection-BVoGM1bD.js → StandaloneAppSection-wECFbb9Q.js} +2 -2
- package/documentation/{StepperSection-BWUQ_trS.js → StepperSection-CXMKgINY.js} +1 -1
- package/documentation/{StepperSection-BgQQn9Q3.js → StepperSection-Dtfg5GXq.js} +1 -1
- package/documentation/{SwitchSection-CQo06YWs.js → SwitchSection-BTn9p7eE.js} +1 -1
- package/documentation/{SwitchSection-D-6X3w3o.js → SwitchSection-DSSq56jC.js} +1 -1
- package/documentation/{SystemOverviewSection-BNhzrT6U.js → SystemOverviewSection-CE6LLl1z.js} +1 -1
- package/documentation/{SystemOverviewSection-Bc602IQG.js → SystemOverviewSection-Doao-Hyc.js} +1 -1
- package/documentation/{TabModalSection-dg7LGi0f.js → TabModalSection-BZl8Ce2m.js} +1 -1
- package/documentation/{TabModalSection-D7XCTFKs.js → TabModalSection-D8NTK60d.js} +1 -1
- package/documentation/{TabSection-DnD_Te-M.js → TabSection-BDoaQ3_L.js} +1 -1
- package/documentation/{TabSection-DPBrpBDN.js → TabSection-C4-7MzLK.js} +1 -1
- package/documentation/{TabSelectSection-jn_HenZM.js → TabSelectSection-2x7PhRTC.js} +2 -2
- package/documentation/{TabSelectSection-Cs-fzdRm.js → TabSelectSection-Ce-UvvAP.js} +2 -2
- package/documentation/{TahoeCommandPaletteSection-Bs1enphA.js → TahoeCommandPaletteSection-B1uicEeB.js} +1 -1
- package/documentation/{TahoeCommandPaletteSection-ClvMCVUp.js → TahoeCommandPaletteSection-GkW2XtA4.js} +1 -1
- package/documentation/{TahoeDialogSection-LvFsaPNL.js → TahoeDialogSection-2fnBkj9s.js} +1 -1
- package/documentation/{TahoeDialogSection-Bzn59FfH.js → TahoeDialogSection-LTcS3rqS.js} +1 -1
- package/documentation/{TahoeDockSection-CE4XVjge.js → TahoeDockSection-Bka-Twi9.js} +1 -1
- package/documentation/{TahoeDockSection-g1Jh1rVL.js → TahoeDockSection-DdSI6L77.js} +1 -1
- package/documentation/TahoeLayoutContentSection-Bm3-DBbk.js +17 -0
- package/documentation/{TahoeLayoutContentSection-DGwHsEUK.js → TahoeLayoutContentSection-CrRsQuke.js} +3 -3
- package/documentation/{TahoeLayoutSidebarSection-Cxx0NWOi.js → TahoeLayoutSidebarSection-DHTZE8kA.js} +1 -1
- package/documentation/{TahoeLayoutSidebarSection-pdzlnLJM.js → TahoeLayoutSidebarSection-wmkAitsD.js} +9 -9
- package/documentation/{TahoeNotificationBannerSection-DhskVUvC.js → TahoeNotificationBannerSection-C7hRrN5c.js} +1 -1
- package/documentation/{TahoeNotificationBannerSection-CHvq-2oK.js → TahoeNotificationBannerSection-DopVDXIZ.js} +1 -1
- package/documentation/{TahoePopoverSection-DF-k50xc.js → TahoePopoverSection-DBgoBPbL.js} +1 -1
- package/documentation/{TahoePopoverSection-C8iVtmgr.js → TahoePopoverSection-Dy_GhXDS.js} +1 -1
- package/documentation/{TahoeProgressBarSection-Clt50U44.js → TahoeProgressBarSection-BtNAURTz.js} +1 -1
- package/documentation/{TahoeProgressBarSection-BSjAa0mD.js → TahoeProgressBarSection-CVn_9odq.js} +1 -1
- package/documentation/{TahoeSearchBarSection-6TwJoFIv.js → TahoeSearchBarSection-CRQd02HZ.js} +1 -1
- package/documentation/{TahoeSearchBarSection-BGwmcq39.js → TahoeSearchBarSection-DjYPJ24R.js} +1 -1
- package/documentation/{TahoeSegmentedControlSection-C2tTySf8.js → TahoeSegmentedControlSection-C90mrl2e.js} +1 -1
- package/documentation/{TahoeSegmentedControlSection-gNZlSqSs.js → TahoeSegmentedControlSection-Cc7avVAW.js} +1 -1
- package/documentation/TahoeToolbarSection-C1TrsJiL.js +17 -0
- package/documentation/{TahoeToolbarSection-CndSLUyc.js → TahoeToolbarSection-DSdjscAS.js} +7 -7
- package/documentation/{TahoeWidgetSection-DvFhIsO1.js → TahoeWidgetSection-3ooFCTjD.js} +1 -1
- package/documentation/{TahoeWidgetSection-CxG_Uvly.js → TahoeWidgetSection-D7xHKEFu.js} +1 -1
- package/documentation/{TahoeWindowSection-Dlt40eFZ.js → TahoeWindowSection-D53dFI9U.js} +1 -1
- package/documentation/{TahoeWindowSection-CA5hMRQS.js → TahoeWindowSection-DgLmDp7C.js} +1 -1
- package/documentation/{TailwindConfigSection-DTEVHxfY.js → TailwindConfigSection-HPhiOayZ.js} +6 -6
- package/documentation/{TailwindConfigSection-BOdIg9p4.js → TailwindConfigSection-qnCValDL.js} +2 -2
- package/documentation/{TestingSection-sjNf_YR6.js → TestingSection-B8qrXvks.js} +1 -1
- package/documentation/{TestingSection-p_a3TLFg.js → TestingSection-CVlwcTS4.js} +1 -1
- package/documentation/{TextareaSection-B7E_PE99.js → TextareaSection-D2ucvmZ7.js} +1 -1
- package/documentation/{TextareaSection-CD-kZuGl.js → TextareaSection-DvcVNcQx.js} +1 -1
- package/documentation/{ThemeArchitectureSection-DTZZ9DW8.js → ThemeArchitectureSection-CFA5PLA5.js} +6 -4
- package/documentation/{ThemeArchitectureSection-CJLVZw1o.js → ThemeArchitectureSection-DtwFtzPZ.js} +12 -10
- package/documentation/{ThemeConfigurationSection-DKcO1n8f.js → ThemeConfigurationSection-25YbgMAK.js} +2 -2
- package/documentation/{ThemeConfigurationSection-66D5XJGb.js → ThemeConfigurationSection-C5tQbIaa.js} +1 -1
- package/documentation/{ThemeHooksSection-D5hs4bKp.js → ThemeHooksSection-C-kIo8WZ.js} +56 -37
- package/documentation/ThemeHooksSection-W_-66rEy.js +1 -0
- package/documentation/{ThemeProviderIntegrationSection-T1FvNpOT.js → ThemeProviderIntegrationSection-Bq7eJCE2.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-hBvjgSG1.js → ThemeProviderIntegrationSection-Cx2QOk6u.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-03ZYoeWQ.js → ThemeProviderRequiredSection-FqbgJmWa.js} +5 -5
- package/documentation/ThemeProviderRequiredSection-HBMuiqAj.js +1 -0
- package/documentation/ThemeProviderSection-QT77eC5J.js +1 -0
- package/documentation/{ThemeProviderSection-nIdNlZjq.js → ThemeProviderSection-tPE7Fvv3.js} +11 -11
- package/documentation/{ToastSection-DF3L8jxW.js → ToastSection-CwyCI-Ba.js} +1 -1
- package/documentation/{ToastSection-C3RQpSox.js → ToastSection-H1vwT3GU.js} +1 -1
- package/documentation/{ToggleBarSection-D26Mzrf4.js → ToggleBarSection-D0omE45k.js} +1 -1
- package/documentation/{ToggleBarSection-CJmXFlZa.js → ToggleBarSection-DX_2Mvkt.js} +1 -1
- package/documentation/{TooltipSection-DhfdMLxD.js → TooltipSection-DpvcjLkT.js} +1 -1
- package/documentation/{TooltipSection-DugfAWzs.js → TooltipSection-_eCQLTSq.js} +1 -1
- package/documentation/{TopupButtonSection-6THSaEvz.js → TopupButtonSection-BPfTseVo.js} +1 -1
- package/documentation/{TopupButtonSection-DO2sCxIV.js → TopupButtonSection-DlkO5OXT.js} +1 -1
- package/documentation/{TransactionInfoSection-BL23o6Ao.js → TransactionInfoSection-DuJ6rMpf.js} +1 -1
- package/documentation/{TransactionInfoSection-7ZWdfrbf.js → TransactionInfoSection-b-wi9Avm.js} +1 -1
- package/documentation/{TucuUiLogoSection-Dyfblzs7.js → TucuUiLogoSection-ClCGW3YN.js} +1 -1
- package/documentation/{TucuUiLogoSection-BsYhhz9J.js → TucuUiLogoSection-sG2b8760.js} +1 -1
- package/documentation/TypographySection-BaZcGbgZ.js +1 -0
- package/documentation/{TypographySection-BPidPkKl.js → TypographySection-C4qUEDNc.js} +1 -1
- package/documentation/{TypographySection-BVa4hd_u.js → TypographySection-CIJJq9Ek.js} +1 -1
- package/documentation/{TypographySection-Ct3zNnpW.js → TypographySection-Dxp8woDR.js} +64 -64
- package/documentation/{UsageExamplesSection-D-ai2y1j.js → UsageExamplesSection-COHPEjrD.js} +1 -1
- package/documentation/{UsageExamplesSection-BWDg6OSi.js → UsageExamplesSection-DaOjsNTB.js} +1 -1
- package/documentation/{UsingThemeSystemSection-Db0Hs67Q.js → UsingThemeSystemSection-8RYuDUEP.js} +1 -1
- package/documentation/{UsingThemeSystemSection-D7Wbw8sv.js → UsingThemeSystemSection-ClyEzmVE.js} +1 -1
- package/documentation/{ValidationSystemSection-Bqszchd7.js → ValidationSystemSection-C9chD4rm.js} +9 -9
- package/documentation/{ValidationSystemSection-CcHCIL8A.js → ValidationSystemSection-CfL8aR6T.js} +3 -3
- package/documentation/{WCAGPrinciplesSection-DHmT6YQy.js → WCAGPrinciplesSection-BXuOoMt5.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-BYNqkBJt.js → WCAGPrinciplesSection-yq3Hm2ep.js} +1 -1
- package/{index-lfg6LZ1p.js → index-4GONhZIF.js} +26760 -26155
- package/index-C0NugKZs.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;
|