@e-burgos/tucu-ui 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +73 -0
- package/components/layouts/macos-layout/index.d.ts +5 -3
- package/components/layouts/macos-layout/macos-sonoma-clean-layout.d.ts +7 -0
- package/components/layouts/macos-layout/macos-tahoe-clean-layout.d.ts +7 -0
- package/components/macos/tahoe/foundations/background.d.ts +7 -23
- package/demo/pages/design-system/design-system-sections/BackgroundsSection.d.ts +3 -0
- package/documentation/{APIReferenceSection-DNlAQ8GG.js → APIReferenceSection-CD5kel2M.js} +1 -1
- package/documentation/{APIReferenceSection-DQ9eEJU3.js → APIReferenceSection-DNiwamR3.js} +1 -1
- package/documentation/{ActiveLinkSection-ClQ5IBOo.js → ActiveLinkSection-CLeqqRJA.js} +1 -1
- package/documentation/{ActiveLinkSection-ZQgU44Mo.js → ActiveLinkSection-nW2qUEkC.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-BT-UpUVF.js → AdvancedColorSystemSection-CcXCp_R4.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-D-6qlD3s.js → AdvancedColorSystemSection-ClZP9L76.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-mfiPnKVY.js → AdvancedFeaturesSection-DTklgMJa.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-mbP5hR-H.js → AdvancedFeaturesSection-DZsIzQM1.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-D2ZWLXY5.js → AdvancedFeaturesSection-DeodzomR.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-B5wK85Bl.js → AdvancedFeaturesSection-dp4NWt73.js} +1 -1
- package/documentation/{AlertSection-BBto0fHS.js → AlertSection-C8JxRieS.js} +1 -1
- package/documentation/{AlertSection-D4Gq9upX.js → AlertSection-CqhX5i16.js} +1 -1
- package/documentation/{AnchorLinkSection-k40j2vM0.js → AnchorLinkSection-Cnh7qsTW.js} +1 -1
- package/documentation/{AnchorLinkSection-DSCjeuS9.js → AnchorLinkSection-DMdLIqCp.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-DesoQ7S_.js → ArchitecturalPatternsComparisonSection-Bgp9PUt7.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-Doa_MJjU.js → ArchitecturalPatternsComparisonSection-vYbHlGY-.js} +6 -4
- package/documentation/{ArchitectureOverviewSection-Cu_PStpk.js → ArchitectureOverviewSection-Cw1LKmfg.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-DUkNwRmR.js → ArchitectureOverviewSection-D_RmIFCA.js} +1 -1
- package/documentation/{AreaChartSection-BDVO57jx.js → AreaChartSection-CPJSq736.js} +1 -1
- package/documentation/{AreaChartSection-C4ruqExr.js → AreaChartSection-SQjiTBmB.js} +1 -1
- package/documentation/{AuthorCardSection-DpUU5KDU.js → AuthorCardSection-DPF5SE5r.js} +1 -1
- package/documentation/{AuthorCardSection-cB8Liia6.js → AuthorCardSection-kk79QuNK.js} +1 -1
- package/documentation/{AvatarSection-DZCiBPX4.js → AvatarSection-BnRHw27e.js} +1 -1
- package/documentation/{AvatarSection-DpUjg_yW.js → AvatarSection-CLq51gbg.js} +1 -1
- package/documentation/BackgroundsSection-3X9Iw31T.js +367 -0
- package/documentation/BackgroundsSection-Ibr9oqUO.js +6 -0
- package/documentation/{BadgeSection-Cteg--jV.js → BadgeSection-C9_vLylm.js} +1 -1
- package/documentation/{BadgeSection-B7mtSvQv.js → BadgeSection-Dy1g7XfP.js} +1 -1
- package/documentation/{BarChartSection-Clrho1um.js → BarChartSection-BTBiEaRw.js} +1 -1
- package/documentation/{BarChartSection-rkETKOO2.js → BarChartSection-Do0Yq1CS.js} +1 -1
- package/documentation/{BasicTableSection-Cf3FcRGV.js → BasicTableSection-C5yPODL4.js} +1 -1
- package/documentation/{BasicTableSection-7S3mV6WL.js → BasicTableSection-Lylimu25.js} +1 -1
- package/documentation/{BasicUsageSection-D_OADsjB.js → BasicUsageSection-B_tT0vDW.js} +38 -52
- package/documentation/{BasicUsageSection-C04Vk4Xo.js → BasicUsageSection-wciC808E.js} +3 -3
- package/documentation/{BestPracticesSection-DL24k5DX.js → BestPracticesSection-B9oMqKhX.js} +3 -3
- package/documentation/{BestPracticesSection-BklrYpDV.js → BestPracticesSection-BFNYdJVh.js} +1 -1
- package/documentation/{BestPracticesSection-41CW61J-.js → BestPracticesSection-BIbDXxnD.js} +1 -1
- package/documentation/{BestPracticesSection-wKpFsyId.js → BestPracticesSection-BYBZdfg8.js} +1 -1
- package/documentation/{BestPracticesSection-CCTlvAEc.js → BestPracticesSection-BihjJ2QU.js} +1 -1
- package/documentation/{BestPracticesSection-BiznpoaJ.js → BestPracticesSection-BrTenNsc.js} +1 -1
- package/documentation/{BestPracticesSection-CGBKNc2j.js → BestPracticesSection-Bsi45c48.js} +2 -2
- package/documentation/{BestPracticesSection-C7p3sqSS.js → BestPracticesSection-BwTc9PvE.js} +1 -1
- package/documentation/{BestPracticesSection-C8R3e6wG.js → BestPracticesSection-CdqrTgh6.js} +1 -1
- package/documentation/{BestPracticesSection-4oonl6Xs.js → BestPracticesSection-D3PLwaiL.js} +1 -1
- package/documentation/{BestPracticesSection-CNwUYNOW.js → BestPracticesSection-D9x1gLFW.js} +1 -1
- package/documentation/{BestPracticesSection-Bnccg1L-.js → BestPracticesSection-DXd2F40Q.js} +1 -1
- package/documentation/{BestPracticesSection-hs6vGhuu.js → BestPracticesSection-V_icrn3I.js} +1 -1
- package/documentation/{BestPracticesSection-BJUyOw5K.js → BestPracticesSection-WJyPTPT5.js} +1 -1
- package/documentation/{BorderRadiusSection-CgppX9KI.js → BorderRadiusSection-DnrQs0UO.js} +2 -2
- package/documentation/{BorderRadiusSection-CY90awsm.js → BorderRadiusSection-DtqKxbF6.js} +1 -1
- package/documentation/{ButtonDripSection-D8zkJ-6j.js → ButtonDripSection-C5biHmZq.js} +1 -1
- package/documentation/{ButtonDripSection-BQkw59yH.js → ButtonDripSection-DEZ07Ezd.js} +1 -1
- package/documentation/{ButtonLoaderSection-B5XP49FM.js → ButtonLoaderSection-BVgZFpeK.js} +1 -1
- package/documentation/{ButtonLoaderSection-CjGBMNiM.js → ButtonLoaderSection-CGJBeqr-.js} +1 -1
- package/documentation/{CardContainerSection-DcioQ7uD.js → CardContainerSection-Cs2cKwb4.js} +1 -1
- package/documentation/{CardContainerSection-DfKrRKR1.js → CardContainerSection-yjkb4krj.js} +1 -1
- package/documentation/{CardSection-C6FmBvSW.js → CardSection-CWikpGMD.js} +1 -1
- package/documentation/{CardSection-By7KZdmx.js → CardSection-FjHnUXDc.js} +1 -1
- package/documentation/{CardTitleSection-Cwlv3Iuv.js → CardTitleSection-B4OARul9.js} +1 -1
- package/documentation/{CardTitleSection-JuseDFmx.js → CardTitleSection-BwmJtkj8.js} +1 -1
- package/documentation/{CarouselCardsSection-t54tXA0y.js → CarouselCardsSection-DETthGNT.js} +1 -1
- package/documentation/{CarouselCardsSection-HwS5Pilj.js → CarouselCardsSection-DV9s2xIN.js} +1 -1
- package/documentation/{CarouselImageSection-DxcOoLwL.js → CarouselImageSection-B2VbVdOf.js} +1 -1
- package/documentation/{CarouselImageSection-yRgXBEHG.js → CarouselImageSection-BsgN88AS.js} +1 -1
- package/documentation/{CarouselSection-Dyv4W4kt.js → CarouselSection-BuAhrfl8.js} +1 -1
- package/documentation/{CarouselSection-DVkA2Zts.js → CarouselSection-CBlMfgGw.js} +1 -1
- package/documentation/{CheckboxSection-CFyl2-Lg.js → CheckboxSection-D5f8a17w.js} +1 -1
- package/documentation/{CheckboxSection-Cm9sabKa.js → CheckboxSection-DpC1rIxz.js} +1 -1
- package/documentation/{CodeExamplesSection-D4BjomLZ.js → CodeExamplesSection-CzT6xoBd.js} +1 -1
- package/documentation/{CodeExamplesSection-ZevLOjfL.js → CodeExamplesSection-DmnhyUyh.js} +1 -1
- package/documentation/{CoinCardSection-DWe-P9aE.js → CoinCardSection-B6mFIGWY.js} +1 -1
- package/documentation/{CoinCardSection-BP75BKln.js → CoinCardSection-B8xYe_14.js} +1 -1
- package/documentation/{CoinInfoCardSection-CHd_B21e.js → CoinInfoCardSection-B6WuOwgK.js} +1 -1
- package/documentation/{CoinInfoCardSection-Cp5dwucx.js → CoinInfoCardSection-DrlLjeme.js} +1 -1
- package/documentation/{CoinListBoxSection-CFTwACjZ.js → CoinListBoxSection-DkQKAYd4.js} +1 -1
- package/documentation/{CoinListBoxSection-CgQPCN1-.js → CoinListBoxSection-h2EIhbc6.js} +1 -1
- package/documentation/{CollapseSection-DV4iEoTo.js → CollapseSection-BgUzBjdQ.js} +1 -1
- package/documentation/{CollapseSection-BObnZGBa.js → CollapseSection-DjToAVsV.js} +1 -1
- package/documentation/{CollectionCardSection-V2vYAGul.js → CollectionCardSection-Bso5dTm0.js} +1 -1
- package/documentation/{CollectionCardSection-Cl5rgWzn.js → CollectionCardSection-CLYRjHZ3.js} +1 -1
- package/documentation/{CollectionSelectListSection-CW5Wwg5e.js → CollectionSelectListSection-U1691doa.js} +1 -1
- package/documentation/{CollectionSelectListSection-l-apJPKq.js → CollectionSelectListSection-yeCip8aj.js} +1 -1
- package/documentation/{ColorCustomizationSection-v0OWFiFx.js → ColorCustomizationSection-DAyuywgq.js} +45 -33
- package/documentation/ColorCustomizationSection-Dq8eABfF.js +1 -0
- package/documentation/ColorSystemSection-B3tm49L7.js +1 -0
- package/documentation/ColorSystemSection-yh45iiHj.js +339 -0
- package/documentation/{CommonErrorsSection-8pIQ5P0f.js → CommonErrorsSection-DQrjcfPF.js} +1 -1
- package/documentation/{CommonErrorsSection-CPIUNSdZ.js → CommonErrorsSection-Dy04oSz_.js} +1 -1
- package/documentation/{ComponentAnatomySection-D9CJ7NKe.js → ComponentAnatomySection-CqMqeGRG.js} +1 -1
- package/documentation/{ComponentAnatomySection-B_3X6zAV.js → ComponentAnatomySection-J7_m5JbP.js} +1 -1
- package/documentation/{ComponentStatusSection-BPM9MaGx.js → ComponentStatusSection-FFk0aqBc.js} +1 -1
- package/documentation/{ComponentStatusSection-DckFRSjC.js → ComponentStatusSection-Yo0G0loR.js} +1 -1
- package/documentation/{ComposedChartSection-Dx2m0rSy.js → ComposedChartSection-hW66uHot.js} +1 -1
- package/documentation/{ComposedChartSection-DgidskHN.js → ComposedChartSection-tNIAiTDy.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-u7r7QNnv.js → CurrencySwapIconsSection-BBnjn3uo.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-DZab3CRP.js → CurrencySwapIconsSection-B_bHfyHa.js} +1 -1
- package/documentation/{CustomColorPaletteSection-pjhXRzh7.js → CustomColorPaletteSection-C0QH-Gjh.js} +8 -8
- package/documentation/{CustomColorPaletteSection-BgsWYeFi.js → CustomColorPaletteSection-DO8oEjzW.js} +2 -2
- package/documentation/{CustomIconsSection-DVTQjvmK.js → CustomIconsSection-BASoblRw.js} +1 -1
- package/documentation/{CustomIconsSection-8d02BzFW.js → CustomIconsSection-BNBsaI1Y.js} +11 -11
- package/documentation/{DefiAppLogoSection-DeVkbZnS.js → DefiAppLogoSection-CJ_WaEEM.js} +1 -1
- package/documentation/{DefiAppLogoSection-BloxEw2r.js → DefiAppLogoSection-bB5g79Z4.js} +1 -1
- package/documentation/{DesignPrinciplesSection-DnXrx_3r.js → DesignPrinciplesSection-DeSp3YGO.js} +1 -1
- package/documentation/{DesignPrinciplesSection-AGfHYdRQ.js → DesignPrinciplesSection-Zl0xFCt6.js} +1 -1
- package/documentation/{DrawerSection-C5umOiTH.js → DrawerSection-CrMh4USZ.js} +1 -1
- package/documentation/{DrawerSection-0xOnVMih.js → DrawerSection-DsqcxtDs.js} +1 -1
- package/documentation/{DynamicRoutesSection-D9cAVioz.js → DynamicRoutesSection-C9QESfkX.js} +1 -1
- package/documentation/{DynamicRoutesSection-CplA4H_-.js → DynamicRoutesSection-mzGjrsjc.js} +1 -1
- package/documentation/{FileInputSection-DiFwCplu.js → FileInputSection-5T-xJxsP.js} +1 -1
- package/documentation/{FileInputSection-DYnf_T8n.js → FileInputSection-Ct4GqFfT.js} +1 -1
- package/documentation/{FileStructureSection-C7CT7MLA.js → FileStructureSection-14xCYpSc.js} +5 -5
- package/documentation/{FileStructureSection-qyFRzFR7.js → FileStructureSection-9lInEOF5.js} +2 -2
- package/documentation/{FormComponentsSection-D8FXeYch.js → FormComponentsSection-BjJY47h7.js} +13 -13
- package/documentation/{FormComponentsSection-BGNG7LT5.js → FormComponentsSection-CVdYFyUi.js} +1 -1
- package/documentation/{FormMethodsSection-KJIlWtlf.js → FormMethodsSection-DlBnV-Aj.js} +1 -1
- package/documentation/{FormMethodsSection-D7QrdOOf.js → FormMethodsSection-R2SW4g00.js} +1 -1
- package/documentation/{HamburgerSection-B4QTD7QB.js → HamburgerSection-BpoVoDOi.js} +1 -1
- package/documentation/{HamburgerSection-1Co0vSYI.js → HamburgerSection-VxfOCf7c.js} +1 -1
- package/documentation/{HookCategoriesSection-BgTUwS4d.js → HookCategoriesSection-B_TOE9Dl.js} +1 -1
- package/documentation/{HookCategoriesSection-DT7PsLf5.js → HookCategoriesSection-GgKNpxrq.js} +1 -1
- package/documentation/{HookDocumentationSection-B7eGJAtC.js → HookDocumentationSection-CBtlj0Xo.js} +33 -40
- package/documentation/{HookDocumentationSection-Dm5vp60W.js → HookDocumentationSection-DC-uDZ1A.js} +15 -15
- package/documentation/{HookFeaturesSection-XWh6oPJo.js → HookFeaturesSection-C46s1I46.js} +1 -1
- package/documentation/{HookFeaturesSection-C_CfuHPq.js → HookFeaturesSection-CYQq8uiT.js} +1 -1
- package/documentation/{IconArchitectureSection-2pqGfRWh.js → IconArchitectureSection-DVwo8J6J.js} +1 -1
- package/documentation/{IconArchitectureSection-Cyft-9ck.js → IconArchitectureSection-Dg0P4xJM.js} +1 -1
- package/documentation/{IconSizingGuideSection-DWP8TfCJ.js → IconSizingGuideSection-4CGLUtLH.js} +2 -2
- package/documentation/{IconSizingGuideSection-D0WIGnpi.js → IconSizingGuideSection-DV6KbqA2.js} +1 -1
- package/documentation/{IconSystemAPISection-BykSbNfn.js → IconSystemAPISection-B4lcpmhY.js} +1 -1
- package/documentation/{IconSystemAPISection-BafhVMj8.js → IconSystemAPISection-feuWPuII.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-DnPy73uB.js → IconSystemBenefitsSection-BlEPp4PZ.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-D-Z8n3yK.js → IconSystemBenefitsSection-isJXtAnP.js} +1 -1
- package/documentation/{ImageSection-BDC-XBOn.js → ImageSection-90o9mI_A.js} +3 -3
- package/documentation/ImageSection-lfQJq_9S.js +82 -0
- package/documentation/ImplementationExamplesSection-DJxSTPAz.js +761 -0
- package/documentation/ImplementationExamplesSection-Ds4REGcS.js +429 -0
- package/documentation/{ImplementationGuidelinesSection-C0DtOFA3.js → ImplementationGuidelinesSection-DyggNHxr.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-Bmt5UnLA.js → ImplementationGuidelinesSection-z14_D9y4.js} +1 -1
- package/documentation/{ImplementationStatusSection-gIxBd7m5.js → ImplementationStatusSection-CCTRI00N.js} +1 -1
- package/documentation/{ImplementationStatusSection-C59DZ2XS.js → ImplementationStatusSection-D3FnRWV-.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-1l8t4Nij.js → ImplementedFeaturesSection-C-hPiVlX.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-BwktoGqA.js → ImplementedFeaturesSection-KvlP_7ja.js} +1 -1
- package/documentation/{InfoCardSection-BcXFWEjI.js → InfoCardSection-BBd3_OzF.js} +2 -2
- package/documentation/{InfoCardSection-DtgYtueH.js → InfoCardSection-DHQuZzE7.js} +15 -13
- package/documentation/{InputSearcherSection-DD2KwzOG.js → InputSearcherSection-BQ4cUC16.js} +1 -1
- package/documentation/{InputSearcherSection-DMtIqnZm.js → InputSearcherSection-DFk3eBSo.js} +1 -1
- package/documentation/{InputSection-DAQlSKNm.js → InputSection-B5ty4Onb.js} +1 -1
- package/documentation/{InputSection-WnlrF_LD.js → InputSection-DLQ6hyWl.js} +1 -1
- package/documentation/{KeyValueRowSection-Ctph5iO5.js → KeyValueRowSection-BgKXD67j.js} +1 -1
- package/documentation/{KeyValueRowSection-BjXEg9g3.js → KeyValueRowSection-CJWvh1z_.js} +1 -1
- package/documentation/{KeyboardNavigationSection-BgP2RBJx.js → KeyboardNavigationSection-B38QXuO1.js} +1 -1
- package/documentation/{KeyboardNavigationSection-BcQUUxeW.js → KeyboardNavigationSection-B8IX8HhB.js} +4 -4
- package/documentation/{LayoutPrinciplesSection-DZgjhU-5.js → LayoutPrinciplesSection-Dtv-aHj6.js} +2 -2
- package/documentation/{LayoutPrinciplesSection-CZE5j4TD.js → LayoutPrinciplesSection-TN7sNEHN.js} +1 -1
- package/documentation/{LayoutTypesSection-847E1FZA.js → LayoutTypesSection-DtAUqzLt.js} +180 -30
- package/documentation/LayoutTypesSection-prvabVsZ.js +1 -0
- package/documentation/{LineChartSection-CLKCstC7.js → LineChartSection-CzARfWf9.js} +1 -1
- package/documentation/{LineChartSection-BFVXYiK4.js → LineChartSection-HJuiXWwE.js} +1 -1
- package/documentation/{ListContainerSection-D5k1iNKV.js → ListContainerSection-Ca8Y_cJJ.js} +1 -1
- package/documentation/{ListContainerSection-rSWVVjfW.js → ListContainerSection-CkEy8kTD.js} +1 -1
- package/documentation/{ListItemSection-Bwr8NH-L.js → ListItemSection-C57wh8xh.js} +1 -1
- package/documentation/{ListItemSection-CU785nZa.js → ListItemSection-CrUwVDa7.js} +1 -1
- package/documentation/{LiveDemoSection-B5j1ZGtq.js → LiveDemoSection-C6YvjWGX.js} +1 -1
- package/documentation/{LiveDemoSection-BHq8HDj_.js → LiveDemoSection-Di6_Ljzt.js} +1 -1
- package/documentation/{LiveDemonstrationsSection-B5iutGu_.js → LiveDemonstrationsSection-D7NGWZ3I.js} +13 -13
- package/documentation/{LiveDemonstrationsSection-CSSKZrex.js → LiveDemonstrationsSection-Dby6VHKw.js} +4 -4
- package/documentation/{LivePriceFeedSection-Ie3MtK5B.js → LivePriceFeedSection-BGUKPNUb.js} +1 -1
- package/documentation/{LivePriceFeedSection-CguTUwPn.js → LivePriceFeedSection-B_GgiNK8.js} +1 -1
- package/documentation/{LoaderSection-wo7VqH01.js → LoaderSection-Chy1mcXx.js} +1 -1
- package/documentation/{LoaderSection-CFIf6Cwz.js → LoaderSection-yuB9Toxf.js} +1 -1
- package/documentation/{LogoSection-D53DSw6e.js → LogoSection-BVWSaZET.js} +1 -1
- package/documentation/{LogoSection-D2o5z1v0.js → LogoSection-iUxlu-_p.js} +1 -1
- package/documentation/{LucideIconsSection-BGhOfZ2S.js → LucideIconsSection-CX6vVBZA.js} +1 -1
- package/documentation/{LucideIconsSection-BmFnUvOo.js → LucideIconsSection-CXfT5lQb.js} +1 -1
- package/documentation/{MFESupportSection-BsWrFr8n.js → MFESupportSection-B6RwP4pS.js} +2 -2
- package/documentation/{MFESupportSection-BfZN1ruk.js → MFESupportSection-DamrDMWD.js} +12 -8
- package/documentation/{MacOSBackgroundsSection-5FwRmwSt.js → MacOSBackgroundsSection-Cx_1ZLMj.js} +25 -22
- package/documentation/MacOSBackgroundsSection-ZPqiqQex.js +1 -0
- package/documentation/MacOSColorsSection-C3PgogP4.js +1 -0
- package/documentation/{MacOSColorsSection-YEtkXtT9.js → MacOSColorsSection-DFSpSHs_.js} +25 -25
- package/documentation/{MacOSCommandPaletteSection-BNpF6qM7.js → MacOSCommandPaletteSection-BuwzwV8l.js} +1 -1
- package/documentation/{MacOSCommandPaletteSection-WanBDypB.js → MacOSCommandPaletteSection-CNIbgVQz.js} +4 -4
- package/documentation/{MacOSMaterialsSection-CL8WKiWl.js → MacOSMaterialsSection-B0bCcOWV.js} +6 -6
- package/documentation/MacOSMaterialsSection-CgulMHAk.js +1 -0
- package/documentation/{MacOSNotificationBannerSection-DCtVh4mP.js → MacOSNotificationBannerSection-C9SIbT7b.js} +1 -1
- package/documentation/{MacOSNotificationBannerSection-CccD5Lyx.js → MacOSNotificationBannerSection-DL_wVvSM.js} +1 -1
- package/documentation/{MacOSPopoverSection-Ct-lBd1V.js → MacOSPopoverSection-DQkkxFZi.js} +136 -41
- package/documentation/MacOSPopoverSection-whmFuYxn.js +33 -0
- package/documentation/{MacOSSearchBarSection-DruORVTc.js → MacOSSearchBarSection-D7I0Bvgv.js} +1 -1
- package/documentation/{MacOSSearchBarSection-DNHmkSQF.js → MacOSSearchBarSection-NVzpmwpm.js} +1 -1
- package/documentation/{MacOSSegmentedControlSection-BFuSzzal.js → MacOSSegmentedControlSection-BZVQzIRB.js} +1 -1
- package/documentation/{MacOSSegmentedControlSection-D5ZpMdGL.js → MacOSSegmentedControlSection-DbdRCqFk.js} +1 -1
- package/documentation/MacOSSidebarSection-C_9PEk_f.js +35 -0
- package/documentation/{MacOSSidebarSection-D0DT2x5w.js → MacOSSidebarSection-DYZ6onyY.js} +120 -46
- package/documentation/{MacOSTahoeSection-DKtgrult.js → MacOSTahoeSection-DCwsZnWz.js} +2 -2
- package/documentation/{MacOSTahoeSection-ErqFjWX4.js → MacOSTahoeSection-dZq5MXs6.js} +1 -1
- package/documentation/MacOSTextStylesSection-DGktqEPk.js +1 -0
- package/documentation/{MacOSTextStylesSection-B4xYNfLo.js → MacOSTextStylesSection-DZmQayrr.js} +52 -48
- package/documentation/{MacOSToolbarSection-GwXI_HM0.js → MacOSToolbarSection-B_bHKn8G.js} +1 -1
- package/documentation/{MacOSToolbarSection-BUSdw1-N.js → MacOSToolbarSection-Ci3H22eP.js} +1 -1
- package/documentation/{MacOSWidgetSection-B2c5Jiqb.js → MacOSWidgetSection-CEJiUAXx.js} +1 -1
- package/documentation/{MacOSWidgetSection-BEuuPDcI.js → MacOSWidgetSection-CS6SNE1x.js} +1 -1
- package/documentation/{MacOSWindowSection-ChLGxWkJ.js → MacOSWindowSection-Cj5W9tOb.js} +1 -1
- package/documentation/{MacOSWindowSection-CJSekAJj.js → MacOSWindowSection-DqJp_sYV.js} +1 -1
- package/documentation/{MenuItemsGuideSection-CW7znzf9.js → MenuItemsGuideSection-B7BCFEzC.js} +1 -1
- package/documentation/{MenuItemsGuideSection-3rCQXRbI.js → MenuItemsGuideSection-DGwGu1eO.js} +1 -1
- package/documentation/{ModalSection-B4Ay5tMm.js → ModalSection-BAl0KIk0.js} +1 -1
- package/documentation/{ModalSection-Bm2c0cZ3.js → ModalSection-BVVp2SX8.js} +1 -1
- package/documentation/{NFTGridSection-C167-_5t.js → NFTGridSection-BNFbcFZG.js} +1 -1
- package/documentation/{NFTGridSection-DjfH-Wb_.js → NFTGridSection-Wl711fIz.js} +1 -1
- package/documentation/{NestedRoutesSection-BTIFUyu3.js → NestedRoutesSection-D8PkxU8h.js} +5 -5
- package/documentation/{NestedRoutesSection-BQBIMv26.js → NestedRoutesSection-wmlrMDJq.js} +2 -2
- package/documentation/{NotificationCardSection-fW5poNpt.js → NotificationCardSection-CbQt_XUN.js} +1 -1
- package/documentation/{NotificationCardSection-Dc9k9m0z.js → NotificationCardSection-Dd1DGkKw.js} +1 -1
- package/documentation/{PaginationSection-Chxlsiar.js → PaginationSection-BUPepKIu.js} +1 -1
- package/documentation/{PaginationSection-Dkozx1NR.js → PaginationSection-lSE7L18v.js} +1 -1
- package/documentation/{PanelActionCardSection-DH2lDA1v.js → PanelActionCardSection-BdiVGZct.js} +1 -1
- package/documentation/{PanelActionCardSection-CrHET2qr.js → PanelActionCardSection-BgBQ-yk0.js} +1 -1
- package/documentation/{PanelCardSection-Cxgvd7E9.js → PanelCardSection-CxgguBdn.js} +1 -1
- package/documentation/{PanelCardSection-4huN71a_.js → PanelCardSection-DepwDiot.js} +1 -1
- package/documentation/{ParamTabSection-CnjtpMbJ.js → ParamTabSection-7WqNq93W.js} +96 -59
- package/documentation/{ParamTabSection-hI9LkIIz.js → ParamTabSection-CRAA5456.js} +2 -2
- package/documentation/{PieChartSection-pR0IxyX_.js → PieChartSection-CjOgCPaN.js} +1 -1
- package/documentation/{PieChartSection-CE8jY8sm.js → PieChartSection-DgARlxCn.js} +1 -1
- package/documentation/{PinCodeSection-LjDbYnRA.js → PinCodeSection-BZ9lZb1m.js} +1 -1
- package/documentation/{PinCodeSection-oizvSnHW.js → PinCodeSection-v_9DV5Lk.js} +1 -1
- package/documentation/{ProgressbarSection-BMNMHb6k.js → ProgressbarSection-D3DYoI4Y.js} +2 -2
- package/documentation/{ProgressbarSection-DLvuQRqH.js → ProgressbarSection-DlUhNhf2.js} +5 -5
- package/documentation/{RadarChartSection-GP1TRYs5.js → RadarChartSection-CUbzsVhA.js} +1 -1
- package/documentation/{RadarChartSection-DHx5xzix.js → RadarChartSection-Ddb_fGPc.js} +1 -1
- package/documentation/{RadioGroupSection-C0qbZCEy.js → RadioGroupSection-5l0IDcfd.js} +1 -1
- package/documentation/{RadioGroupSection-Dnu2rhAj.js → RadioGroupSection-CZQzvhOR.js} +1 -1
- package/documentation/{RadioSection-rHrHsIha.js → RadioSection-D-KPVIm_.js} +1 -1
- package/documentation/{RadioSection-DWy0dsvZ.js → RadioSection-D6bi4kIt.js} +1 -1
- package/documentation/{RevealContentSection-B7d6jZ3X.js → RevealContentSection-DZhCRfDI.js} +1 -1
- package/documentation/{RevealContentSection-DFeDG75P.js → RevealContentSection-xWU5mwxK.js} +1 -1
- package/documentation/{RouteConfigurationSection-Dj3ufwLr.js → RouteConfigurationSection-BNlfPveX.js} +1 -1
- package/documentation/{RouteConfigurationSection-DdJ4tMwr.js → RouteConfigurationSection-CGohU3dz.js} +1 -1
- package/documentation/{ScrollToTopSection-BzOG4wgw.js → ScrollToTopSection-CE_chqn5.js} +1 -1
- package/documentation/{ScrollToTopSection-JmnQvioT.js → ScrollToTopSection-DTIMzJcL.js} +1 -1
- package/documentation/{ScrollbarSection-C0IIJ90W.js → ScrollbarSection-BtFed7RJ.js} +1 -1
- package/documentation/{ScrollbarSection-DNOAHiAh.js → ScrollbarSection-UGhiUlT9.js} +1 -1
- package/documentation/{SelectSection-CYx0EZJX.js → SelectSection-B_s_pRsx.js} +1 -1
- package/documentation/{SelectSection-DupPSBKF.js → SelectSection-DQZ8bxsN.js} +1 -1
- package/documentation/{SettingsPanelSection-GhZ66ZdG.js → SettingsPanelSection-D2vZ81r5.js} +4 -4
- package/documentation/SettingsPanelSection-DmeXjrx0.js +1 -0
- package/documentation/{ShadowsSection-qjRGL4vP.js → ShadowsSection-Br8AictP.js} +1 -1
- package/documentation/{ShadowsSection-kJV-ttft.js → ShadowsSection-CoUWlYA-.js} +1 -1
- package/documentation/{SidebarMenuSection-Co9XzZgf.js → SidebarMenuSection-BuyjfISB.js} +1 -1
- package/documentation/{SidebarMenuSection-CQunF-oM.js → SidebarMenuSection-DL9USgCd.js} +1 -1
- package/documentation/{SidebarSection-BTlba2fa.js → SidebarSection-B-rHd7VC.js} +1 -1
- package/documentation/{SidebarSection-CpNHqxdM.js → SidebarSection-DMPBCRIo.js} +1 -1
- package/documentation/{SizingSection-DZRyEWJJ.js → SizingSection--Jco3RIU.js} +28 -28
- package/documentation/SizingSection-CUt8NIK0.js +1 -0
- package/documentation/{SkeletonSection-BQKerqPH.js → SkeletonSection-DJdKo1ja.js} +1 -1
- package/documentation/{SkeletonSection-DbSYqbHd.js → SkeletonSection-DqrX4Bdv.js} +1 -1
- package/documentation/{SonomaColorsSection-BqkMh28_.js → SonomaColorsSection-DJtL9gyt.js} +57 -57
- package/documentation/{SonomaColorsSection-B7L_UMjk.js → SonomaColorsSection-ymNouzEh.js} +1 -1
- package/documentation/{SonomaLayoutContentSection-BaASk6kp.js → SonomaLayoutContentSection-BUpCwKvI.js} +1 -1
- package/documentation/{SonomaLayoutContentSection-DFQgh479.js → SonomaLayoutContentSection-DUaqAxji.js} +1 -1
- package/documentation/{SonomaLayoutSidebarSection-DeT7y6e9.js → SonomaLayoutSidebarSection-5eYi4AN9.js} +1 -1
- package/documentation/{SonomaLayoutSidebarSection-CZ5rM-MM.js → SonomaLayoutSidebarSection-pojkz3vG.js} +1 -1
- package/documentation/SonomaMaterialsSection-C96PRKqk.js +9 -0
- package/documentation/{SonomaMaterialsSection-BYnpWwWt.js → SonomaMaterialsSection-DGAN4s50.js} +4 -4
- package/documentation/{SonomaShapesSection-C17AoE2N.js → SonomaShapesSection-BhLTcP3w.js} +2 -2
- package/documentation/{SonomaShapesSection-OlLezJRJ.js → SonomaShapesSection-C8Pf87LY.js} +3 -3
- package/documentation/{SonomaTypographySection-BXzAkRPA.js → SonomaTypographySection-COUn6t7v.js} +48 -47
- package/documentation/{SonomaTypographySection-C7bSKgHl.js → SonomaTypographySection-Ds10GLYv.js} +1 -1
- package/documentation/{SpacingSystemSection-RdnzjpSK.js → SpacingSystemSection-BF3PHq5h.js} +1 -1
- package/documentation/{SpacingSystemSection-rDylj_Un.js → SpacingSystemSection-BqrzSpri.js} +2 -2
- package/documentation/{SpinnerSection-C2SLIBWN.js → SpinnerSection-Dk30YZJZ.js} +1 -1
- package/documentation/{SpinnerSection-BTEupT8d.js → SpinnerSection-yr2tRAM5.js} +1 -1
- package/documentation/{StandaloneAppSection-BVoGM1bD.js → StandaloneAppSection-BELaa7LI.js} +2 -2
- package/documentation/{StandaloneAppSection-uFMN1K6i.js → StandaloneAppSection-DCFC1XZR.js} +9 -6
- package/documentation/{StepperSection-BWUQ_trS.js → StepperSection-B1XhYQK-.js} +1 -1
- package/documentation/{StepperSection-BgQQn9Q3.js → StepperSection-By_Ml_tV.js} +1 -1
- package/documentation/{SwitchSection-CQo06YWs.js → SwitchSection-BUQdc358.js} +1 -1
- package/documentation/{SwitchSection-D-6X3w3o.js → SwitchSection-C85IWY-t.js} +1 -1
- package/documentation/{SystemOverviewSection-Bc602IQG.js → SystemOverviewSection-C1qBmPHN.js} +1 -1
- package/documentation/{SystemOverviewSection-BNhzrT6U.js → SystemOverviewSection-rljSEGcG.js} +1 -1
- package/documentation/{TabModalSection-D7XCTFKs.js → TabModalSection-Dv5x_sEQ.js} +1 -1
- package/documentation/{TabModalSection-dg7LGi0f.js → TabModalSection-IuUO4qiP.js} +1 -1
- package/documentation/{TabSection-DnD_Te-M.js → TabSection-Caok23rW.js} +1 -1
- package/documentation/{TabSection-DPBrpBDN.js → TabSection-DDHTGSIS.js} +1 -1
- package/documentation/{TabSelectSection-Cs-fzdRm.js → TabSelectSection-B4rEgVlu.js} +2 -2
- package/documentation/{TabSelectSection-jn_HenZM.js → TabSelectSection-BseTPExy.js} +2 -2
- package/documentation/{TahoeCommandPaletteSection-Bs1enphA.js → TahoeCommandPaletteSection-DaORHbNv.js} +1 -1
- package/documentation/{TahoeCommandPaletteSection-ClvMCVUp.js → TahoeCommandPaletteSection-v_iOPj8C.js} +1 -1
- package/documentation/{TahoeDialogSection-LvFsaPNL.js → TahoeDialogSection-BoY2025y.js} +1 -1
- package/documentation/{TahoeDialogSection-Bzn59FfH.js → TahoeDialogSection-CqKQ-RDj.js} +1 -1
- package/documentation/{TahoeDockSection-CE4XVjge.js → TahoeDockSection-C7harqcu.js} +1 -1
- package/documentation/{TahoeDockSection-g1Jh1rVL.js → TahoeDockSection-DhRRBnTT.js} +1 -1
- package/documentation/{TahoeLayoutContentSection-DGwHsEUK.js → TahoeLayoutContentSection-C4BE8wc4.js} +3 -3
- package/documentation/TahoeLayoutContentSection-_mL3T_3K.js +17 -0
- package/documentation/{TahoeLayoutSidebarSection-Cxx0NWOi.js → TahoeLayoutSidebarSection-BUXgOJBx.js} +1 -1
- package/documentation/{TahoeLayoutSidebarSection-pdzlnLJM.js → TahoeLayoutSidebarSection-BmCZJ9fX.js} +9 -9
- package/documentation/{TahoeNotificationBannerSection-DhskVUvC.js → TahoeNotificationBannerSection-CSlPVrTp.js} +1 -1
- package/documentation/{TahoeNotificationBannerSection-CHvq-2oK.js → TahoeNotificationBannerSection-D4E3b7uT.js} +1 -1
- package/documentation/{TahoePopoverSection-C8iVtmgr.js → TahoePopoverSection-CJaeo55K.js} +1 -1
- package/documentation/{TahoePopoverSection-DF-k50xc.js → TahoePopoverSection-D3zoltMl.js} +1 -1
- package/documentation/{TahoeProgressBarSection-Clt50U44.js → TahoeProgressBarSection-C_2fAhY_.js} +1 -1
- package/documentation/{TahoeProgressBarSection-BSjAa0mD.js → TahoeProgressBarSection-DO21lvmq.js} +1 -1
- package/documentation/{TahoeSearchBarSection-BGwmcq39.js → TahoeSearchBarSection-2siyD6LM.js} +1 -1
- package/documentation/{TahoeSearchBarSection-6TwJoFIv.js → TahoeSearchBarSection-DdXfb6P6.js} +1 -1
- package/documentation/{TahoeSegmentedControlSection-gNZlSqSs.js → TahoeSegmentedControlSection-CGHYXp6R.js} +1 -1
- package/documentation/{TahoeSegmentedControlSection-C2tTySf8.js → TahoeSegmentedControlSection-CcSHJml_.js} +1 -1
- package/documentation/{TahoeToolbarSection-CndSLUyc.js → TahoeToolbarSection-BCpyfad4.js} +7 -7
- package/documentation/TahoeToolbarSection-C10KKCyu.js +17 -0
- package/documentation/{TahoeWidgetSection-DvFhIsO1.js → TahoeWidgetSection-BUaOmNIc.js} +1 -1
- package/documentation/{TahoeWidgetSection-CxG_Uvly.js → TahoeWidgetSection-sxxKh9VM.js} +1 -1
- package/documentation/{TahoeWindowSection-CA5hMRQS.js → TahoeWindowSection-COl0UCS1.js} +1 -1
- package/documentation/{TahoeWindowSection-Dlt40eFZ.js → TahoeWindowSection-KL3yHPI3.js} +1 -1
- package/documentation/{TailwindConfigSection-BOdIg9p4.js → TailwindConfigSection-DPCR4e0X.js} +2 -2
- package/documentation/{TailwindConfigSection-DTEVHxfY.js → TailwindConfigSection-DdJnfBeo.js} +6 -6
- package/documentation/{TestingSection-sjNf_YR6.js → TestingSection-4eyjrj1_.js} +1 -1
- package/documentation/{TestingSection-p_a3TLFg.js → TestingSection-laVHmYZE.js} +1 -1
- package/documentation/{TextareaSection-CD-kZuGl.js → TextareaSection-D_4-b9Jx.js} +1 -1
- package/documentation/{TextareaSection-B7E_PE99.js → TextareaSection-Dx8UEgUG.js} +1 -1
- package/documentation/{ThemeArchitectureSection-DTZZ9DW8.js → ThemeArchitectureSection-BJt75CEU.js} +6 -4
- package/documentation/{ThemeArchitectureSection-CJLVZw1o.js → ThemeArchitectureSection-BOTLbXFq.js} +12 -10
- package/documentation/{ThemeConfigurationSection-66D5XJGb.js → ThemeConfigurationSection-CGRi9uGX.js} +1 -1
- package/documentation/{ThemeConfigurationSection-DKcO1n8f.js → ThemeConfigurationSection-sgJA0wX0.js} +2 -2
- package/documentation/ThemeHooksSection-BU9VAEIQ.js +1 -0
- package/documentation/{ThemeHooksSection-D5hs4bKp.js → ThemeHooksSection-DN-dSaho.js} +56 -37
- package/documentation/{ThemeProviderIntegrationSection-T1FvNpOT.js → ThemeProviderIntegrationSection-CtckSEZ6.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-hBvjgSG1.js → ThemeProviderIntegrationSection-DxWYUVNo.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-03ZYoeWQ.js → ThemeProviderRequiredSection-BHmXKzqL.js} +5 -5
- package/documentation/ThemeProviderRequiredSection-DMStR6-A.js +1 -0
- package/documentation/{ThemeProviderSection-nIdNlZjq.js → ThemeProviderSection-CTTjgBhZ.js} +11 -11
- package/documentation/ThemeProviderSection-DSllsxjP.js +1 -0
- package/documentation/{ToastSection-DF3L8jxW.js → ToastSection-BcMWRjYM.js} +1 -1
- package/documentation/{ToastSection-C3RQpSox.js → ToastSection-CAz8Hcgy.js} +1 -1
- package/documentation/{ToggleBarSection-CJmXFlZa.js → ToggleBarSection-BAJRL-JL.js} +1 -1
- package/documentation/{ToggleBarSection-D26Mzrf4.js → ToggleBarSection-D0gxe4bi.js} +1 -1
- package/documentation/{TooltipSection-DugfAWzs.js → TooltipSection-8BAcW1F8.js} +1 -1
- package/documentation/{TooltipSection-DhfdMLxD.js → TooltipSection-8ft95fhM.js} +1 -1
- package/documentation/{TopupButtonSection-6THSaEvz.js → TopupButtonSection-BsP9qMKz.js} +1 -1
- package/documentation/{TopupButtonSection-DO2sCxIV.js → TopupButtonSection-DMX7DHtm.js} +1 -1
- package/documentation/{TransactionInfoSection-7ZWdfrbf.js → TransactionInfoSection-Dfyi0vTL.js} +1 -1
- package/documentation/{TransactionInfoSection-BL23o6Ao.js → TransactionInfoSection-gfy4OG-G.js} +1 -1
- package/documentation/{TucuUiLogoSection-Dyfblzs7.js → TucuUiLogoSection-BlyXPiuE.js} +1 -1
- package/documentation/{TucuUiLogoSection-BsYhhz9J.js → TucuUiLogoSection-Dr4QKJE2.js} +1 -1
- package/documentation/{TypographySection-Ct3zNnpW.js → TypographySection-BvFi0bpr.js} +64 -64
- package/documentation/{TypographySection-BPidPkKl.js → TypographySection-C4YFmIj_.js} +1 -1
- package/documentation/TypographySection-CxZfc6YL.js +1 -0
- package/documentation/{TypographySection-BVa4hd_u.js → TypographySection-bXUV6Bmt.js} +1 -1
- package/documentation/{UsageExamplesSection-D-ai2y1j.js → UsageExamplesSection-BwcRgeyU.js} +1 -1
- package/documentation/{UsageExamplesSection-BWDg6OSi.js → UsageExamplesSection-CRg9RYfR.js} +1 -1
- package/documentation/{UsingThemeSystemSection-Db0Hs67Q.js → UsingThemeSystemSection-DB_ErOba.js} +1 -1
- package/documentation/{UsingThemeSystemSection-D7Wbw8sv.js → UsingThemeSystemSection-DYUkPUnX.js} +1 -1
- package/documentation/{ValidationSystemSection-Bqszchd7.js → ValidationSystemSection-BEwX_nlY.js} +9 -9
- package/documentation/{ValidationSystemSection-CcHCIL8A.js → ValidationSystemSection-BdPgfg9x.js} +3 -3
- package/documentation/{WCAGPrinciplesSection-BYNqkBJt.js → WCAGPrinciplesSection-CgWqrIwS.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-DHmT6YQy.js → WCAGPrinciplesSection-qmAtTMZv.js} +1 -1
- package/{index-lfg6LZ1p.js → index-19KsCnyX.js} +27372 -26763
- package/index-DMs_SmPq.js +1178 -0
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +303 -288
- package/package.json +1 -1
- package/themes/components/index.d.ts +1 -0
- package/themes/components/theme-background.d.ts +33 -0
- package/themes/components/theme-provider/theme-wrapper.d.ts +15 -1
- package/themes/config/index.d.ts +56 -2
- package/themes/hooks/use-theme-color.d.ts +13 -1
- package/themes/hooks/use-theme.d.ts +15 -2
- package/documentation/ColorCustomizationSection-Cb8PEuks.js +0 -1
- package/documentation/ColorSystemSection-CduyyhhZ.js +0 -263
- package/documentation/ColorSystemSection-D8sZHXAT.js +0 -1
- package/documentation/ImageSection-C1nOKmH2.js +0 -82
- package/documentation/ImplementationExamplesSection-Cxl08TTf.js +0 -305
- package/documentation/ImplementationExamplesSection-mHJwxbf_.js +0 -178
- package/documentation/LayoutTypesSection-hnxHeuA2.js +0 -1
- package/documentation/MacOSBackgroundsSection-c6o8Zwj8.js +0 -1
- package/documentation/MacOSColorsSection-VDHMUov0.js +0 -1
- package/documentation/MacOSMaterialsSection-DEKSWeUb.js +0 -1
- package/documentation/MacOSPopoverSection-4bHoomAo.js +0 -33
- package/documentation/MacOSSidebarSection-DDGdU_Wr.js +0 -35
- package/documentation/MacOSTextStylesSection-DL6rw2CK.js +0 -1
- package/documentation/SettingsPanelSection-legHUhoT.js +0 -1
- package/documentation/SizingSection-D9czoO1Z.js +0 -1
- package/documentation/SonomaMaterialsSection-B7ttrkPV.js +0 -9
- package/documentation/TahoeLayoutContentSection-B1bj_svL.js +0 -17
- package/documentation/TahoeToolbarSection-B_mWA-L_.js +0 -17
- package/documentation/ThemeHooksSection-nIFp-F0q.js +0 -1
- package/documentation/ThemeProviderRequiredSection-MqNAwToF.js +0 -1
- package/documentation/ThemeProviderSection-FaRMSgB9.js +0 -1
- package/documentation/TypographySection-Co79YcZL.js +0 -1
- package/index-BaGqriuz.js +0 -1178
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { H as n, C as c, a as o, T as
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { H as n, C as c, a as o, T as d } from "../index-19KsCnyX.js";
|
|
3
3
|
import { Maximize as h } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const m = (a) => {
|
|
8
8
|
if (typeof window > "u") return "";
|
|
9
|
-
const
|
|
10
|
-
return getComputedStyle(
|
|
11
|
-
}, N = () => /* @__PURE__ */
|
|
9
|
+
const s = document.documentElement;
|
|
10
|
+
return getComputedStyle(s).getPropertyValue(a).trim() || "";
|
|
11
|
+
}, N = () => /* @__PURE__ */ i("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: [
|
|
12
12
|
/* @__PURE__ */ e(
|
|
13
13
|
n,
|
|
14
14
|
{
|
|
@@ -17,33 +17,33 @@ const m = (a) => {
|
|
|
17
17
|
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-indigo-500 via-purple-500 to-pink-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(h, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
18
18
|
}
|
|
19
19
|
),
|
|
20
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ i("div", { className: "space-y-8", children: [
|
|
21
21
|
/* @__PURE__ */ e(c, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Icon Sizes", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-8 p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: ["xs", "s", "m", "l"].map((a) => {
|
|
22
|
-
const
|
|
23
|
-
return /* @__PURE__ */
|
|
22
|
+
const s = `w-icon-${a}`, l = `h-icon-${a}`, r = `--size-icon-${a}`, t = m(r);
|
|
23
|
+
return /* @__PURE__ */ i(
|
|
24
24
|
"div",
|
|
25
25
|
{
|
|
26
|
-
className: "text-center space-y-2 border border-
|
|
26
|
+
className: "text-center space-y-2 border border-border rounded-lg p-3",
|
|
27
27
|
children: [
|
|
28
28
|
/* @__PURE__ */ e(
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
|
-
className: `bg-primary rounded mx-auto ${
|
|
31
|
+
className: `bg-primary rounded mx-auto ${s} ${l}`,
|
|
32
32
|
style: {
|
|
33
|
-
width: t || `var(${
|
|
34
|
-
height: t || `var(${
|
|
33
|
+
width: t || `var(${r})`,
|
|
34
|
+
height: t || `var(${r})`
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
),
|
|
38
|
-
/* @__PURE__ */ e(
|
|
39
|
-
t && /* @__PURE__ */ e(
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
|
|
38
|
+
/* @__PURE__ */ e(d, { tag: "h4", className: "font-semibold", children: a }),
|
|
39
|
+
t && /* @__PURE__ */ e(d, { tag: "h4", className: "text-muted text-[10px]", children: t }),
|
|
40
|
+
/* @__PURE__ */ i(
|
|
41
|
+
d,
|
|
42
42
|
{
|
|
43
43
|
tag: "h4",
|
|
44
44
|
className: "text-muted text-[9px] mt-1 break-all px-1",
|
|
45
45
|
children: [
|
|
46
|
-
|
|
46
|
+
s,
|
|
47
47
|
", ",
|
|
48
48
|
l
|
|
49
49
|
]
|
|
@@ -55,31 +55,31 @@ const m = (a) => {
|
|
|
55
55
|
);
|
|
56
56
|
}) }) }) }) }),
|
|
57
57
|
/* @__PURE__ */ e(c, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Avatar Sizes", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-8 p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: ["s", "m", "l", "xl", "xxl", "xxxl"].map((a) => {
|
|
58
|
-
const
|
|
59
|
-
return /* @__PURE__ */
|
|
58
|
+
const s = `w-avatar-${a}`, l = `h-avatar-${a}`, r = `--size-avatar-${a}`, t = m(r);
|
|
59
|
+
return /* @__PURE__ */ i(
|
|
60
60
|
"div",
|
|
61
61
|
{
|
|
62
|
-
className: "text-center space-y-2 border border-
|
|
62
|
+
className: "text-center space-y-2 border border-border rounded-lg p-3",
|
|
63
63
|
children: [
|
|
64
64
|
/* @__PURE__ */ e(
|
|
65
65
|
"div",
|
|
66
66
|
{
|
|
67
|
-
className: `bg-primary rounded-full mx-auto ${
|
|
67
|
+
className: `bg-primary rounded-full mx-auto ${s} ${l}`,
|
|
68
68
|
style: {
|
|
69
|
-
width: t || `var(${
|
|
70
|
-
height: t || `var(${
|
|
69
|
+
width: t || `var(${r})`,
|
|
70
|
+
height: t || `var(${r})`
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
),
|
|
74
|
-
/* @__PURE__ */ e(
|
|
75
|
-
t && /* @__PURE__ */ e(
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
|
|
74
|
+
/* @__PURE__ */ e(d, { tag: "h4", className: "font-semibold", children: a }),
|
|
75
|
+
t && /* @__PURE__ */ e(d, { tag: "h4", className: "text-muted text-[10px]", children: t }),
|
|
76
|
+
/* @__PURE__ */ i(
|
|
77
|
+
d,
|
|
78
78
|
{
|
|
79
79
|
tag: "h4",
|
|
80
80
|
className: "text-muted text-[9px] mt-1 break-all px-1",
|
|
81
81
|
children: [
|
|
82
|
-
|
|
82
|
+
s,
|
|
83
83
|
", ",
|
|
84
84
|
l
|
|
85
85
|
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-DMs_SmPq.js"),c=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const d=s=>{if(typeof window>"u")return"";const r=document.documentElement;return getComputedStyle(r).getPropertyValue(s).trim()||""},o=()=>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(a.HeroCard,{title:"Sizing",description:"Icon and avatar size tokens from Tucu UI Design Tokens.",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-indigo-500 via-purple-500 to-pink-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(c.Maximize,{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(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Icon Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-8 p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:["xs","s","m","l"].map(s=>{const r=`w-icon-${s}`,i=`h-icon-${s}`,l=`--size-icon-${s}`,t=d(l);return e.jsxs("div",{className:"text-center space-y-2 border border-border rounded-lg p-3",children:[e.jsx("div",{className:`bg-primary rounded mx-auto ${r} ${i}`,style:{width:t||`var(${l})`,height:t||`var(${l})`}}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:s}),t&&e.jsx(a.Typography,{tag:"h4",className:"text-muted text-[10px]",children:t}),e.jsxs(a.Typography,{tag:"h4",className:"text-muted text-[9px] mt-1 break-all px-1",children:[r,", ",i]})]},s)})})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Avatar Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-8 p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:["s","m","l","xl","xxl","xxxl"].map(s=>{const r=`w-avatar-${s}`,i=`h-avatar-${s}`,l=`--size-avatar-${s}`,t=d(l);return e.jsxs("div",{className:"text-center space-y-2 border border-border rounded-lg p-3",children:[e.jsx("div",{className:`bg-primary rounded-full mx-auto ${r} ${i}`,style:{width:t||`var(${l})`,height:t||`var(${l})`}}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:s}),t&&e.jsx(a.Typography,{tag:"h4",className:"text-muted text-[10px]",children:t}),e.jsxs(a.Typography,{tag:"h4",className:"text-muted text-[9px] mt-1 break-all px-1",children:[r,", ",i]})]},s)})})})})})]})]});exports.default=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as c, C as s, a as n, T as l, _ as i, P as d, A as h, c as r } from "../index-
|
|
2
|
+
import { H as c, C as s, a as n, T as l, _ as i, P as d, A as h, c as r } from "../index-19KsCnyX.js";
|
|
3
3
|
import { Square as o } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Skeleton",description:`A skeleton loader component for displaying placeholder content while
|
|
2
2
|
data is loading.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-emerald-500 to-green-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(a.Square,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Default Skeleton"}),e.jsx(s.Skeleton,{})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Text Lines"}),e.jsx(s.Skeleton,{shape:"text",count:3})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Circle Shape"}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(s.Skeleton,{shape:"circle",size:"small",width:"2rem"}),e.jsx(s.Skeleton,{shape:"circle",size:"medium",width:"4rem"}),e.jsx(s.Skeleton,{shape:"circle",size:"large",width:"6rem"})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Different Sizes"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(s.Skeleton,{size:"tiny"}),e.jsx(s.Skeleton,{size:"small"}),e.jsx(s.Skeleton,{size:"medium"}),e.jsx(s.Skeleton,{size:"large"})]})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Animations",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Shimmer Animation (Default)"}),e.jsx(s.Skeleton,{animation:"shimmer"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Wave Animation"}),e.jsx(s.Skeleton,{animation:"wave"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Pulse Animation"}),e.jsx(s.Skeleton,{animation:"pulse"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"No Animation"}),e.jsx(s.Skeleton,{animation:"none"})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Shapes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Rounded (Default)"}),e.jsx(s.Skeleton,{shape:"rounded"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Rectangle"}),e.jsx(s.Skeleton,{shape:"rectangle"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Circle"}),e.jsx(s.Skeleton,{shape:"circle",width:"8rem",height:"8rem"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Text Lines"}),e.jsx(s.Skeleton,{shape:"text",count:4})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Common Patterns",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Card Skeleton"}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Skeleton,{size:"large",className:"mb-3"}),e.jsx(s.Skeleton,{shape:"text",count:3})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Profile Skeleton"}),e.jsx(s.CardContainer,{className:"p-4",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(s.Skeleton,{shape:"circle",width:"4rem",height:"4rem"}),e.jsxs("div",{className:"flex-1 space-y-2",children:[e.jsx(s.Skeleton,{width:"60%",height:"1rem"}),e.jsx(s.Skeleton,{width:"40%",height:"0.875rem"})]})]})})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"List Skeleton"}),e.jsx(s.CardContainer,{className:"p-4 space-y-3",children:[1,2,3].map(l=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(s.Skeleton,{shape:"circle",width:"2.5rem",height:"2.5rem"}),e.jsxs("div",{className:"flex-1 space-y-2",children:[e.jsx(s.Skeleton,{width:"70%",height:"0.875rem"}),e.jsx(s.Skeleton,{width:"50%",height:"0.75rem"})]})]},l))})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Article Skeleton"}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Skeleton,{size:"large",className:"mb-4"}),e.jsx(s.Skeleton,{width:"80%",className:"mb-2 h-6"}),e.jsx(s.Skeleton,{width:"60%",className:"mb-4 h-6"}),e.jsx(s.Skeleton,{shape:"text",count:5})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Grid Skeleton"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[1,2,3].map(l=>e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Skeleton,{height:"10rem",className:"mb-3"}),e.jsx(s.Skeleton,{width:"80%",className:"mb-2 h-5"}),e.jsx(s.Skeleton,{shape:"text",count:2})]},l))})]})]})})})}),e.jsx(s.PropPlayground,{componentName:"Skeleton",defaultValues:{shape:"rounded",animation:"shimmer",size:"medium",count:1},excludeProps:["width","height"],children:l=>e.jsx(s.Skeleton,{...l})}),e.jsx(s.AutoPropsTable,{componentName:"Skeleton"}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.CodeBlock,{language:"tsx",code:`import { Skeleton } from '@e-burgos/tucu-ui';
|
|
3
3
|
|
|
4
4
|
// Basic usage
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsxs as s, Fragment as
|
|
2
|
-
import { ay as v, H as y, C as r, a as c, T as o } from "../index-
|
|
1
|
+
import { jsxs as s, Fragment as h, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { ay as v, H as y, C as r, a as c, T as o } from "../index-19KsCnyX.js";
|
|
3
3
|
import { Palette as p } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -218,17 +218,17 @@ const t = {
|
|
|
218
218
|
{ label: "Series 6", cssVar: "--macos-chart-series-6", value: "#00d2e0" }
|
|
219
219
|
]
|
|
220
220
|
}, G = () => {
|
|
221
|
-
const { mode: n } = v(), l = n === "dark", b = l ? t.dark : t.light, u = l ? d.dark : d.light, g = l ? m.dark : m.light,
|
|
222
|
-
return /* @__PURE__ */ s(
|
|
223
|
-
/* @__PURE__ */
|
|
221
|
+
const { mode: n } = v(), l = n === "dark", b = l ? t.dark : t.light, u = l ? d.dark : d.light, g = l ? m.dark : m.light, f = l ? i.dark : i.light;
|
|
222
|
+
return /* @__PURE__ */ s(h, { children: [
|
|
223
|
+
/* @__PURE__ */ e(
|
|
224
224
|
y,
|
|
225
225
|
{
|
|
226
226
|
title: "Colors",
|
|
227
227
|
description: "macOS Sonoma color tokens — CSS custom properties from html.macos. All colors adapt between light and dark appearances.",
|
|
228
|
-
icon: /* @__PURE__ */
|
|
228
|
+
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-red-400 via-blue-500 to-purple-600 rounded-full flex items-center justify-center shadow-lg border border-red-400/50", children: /* @__PURE__ */ e(p, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
229
229
|
}
|
|
230
230
|
),
|
|
231
|
-
/* @__PURE__ */
|
|
231
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "System Colors", className: "mt-2 mb-2", children: /* @__PURE__ */ s("div", { className: "w-full p-4 sm:p-6", children: [
|
|
232
232
|
/* @__PURE__ */ s(
|
|
233
233
|
o,
|
|
234
234
|
{
|
|
@@ -237,31 +237,31 @@ const t = {
|
|
|
237
237
|
children: [
|
|
238
238
|
"12 vibrant system colors. Showing",
|
|
239
239
|
" ",
|
|
240
|
-
/* @__PURE__ */
|
|
240
|
+
/* @__PURE__ */ e("strong", { children: l ? "dark" : "light" }),
|
|
241
241
|
" mode values."
|
|
242
242
|
]
|
|
243
243
|
}
|
|
244
244
|
),
|
|
245
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-3 sm:grid-cols-4 lg:grid-cols-6 gap-3", children: b.map((a) => /* @__PURE__ */ s(
|
|
246
246
|
"div",
|
|
247
247
|
{
|
|
248
248
|
className: "flex flex-col items-center gap-1.5",
|
|
249
249
|
children: [
|
|
250
|
-
/* @__PURE__ */
|
|
250
|
+
/* @__PURE__ */ e(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
253
|
-
className: "w-full h-14 rounded-xl shadow-sm border border-
|
|
254
|
-
style: { backgroundColor: `var(${
|
|
253
|
+
className: "w-full h-14 rounded-xl shadow-sm border border-border",
|
|
254
|
+
style: { backgroundColor: `var(${a.cssVar}, ${a.value})` }
|
|
255
255
|
}
|
|
256
256
|
),
|
|
257
|
-
/* @__PURE__ */
|
|
258
|
-
/* @__PURE__ */
|
|
257
|
+
/* @__PURE__ */ e("span", { className: "text-xs font-medium text-center leading-tight", children: a.label }),
|
|
258
|
+
/* @__PURE__ */ e("code", { className: "text-[9px] text-gray-400 font-mono text-center leading-tight", children: a.cssVar })
|
|
259
259
|
]
|
|
260
260
|
},
|
|
261
|
-
|
|
261
|
+
a.label
|
|
262
262
|
)) })
|
|
263
263
|
] }) }) }),
|
|
264
|
-
/* @__PURE__ */
|
|
264
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Semantic Colors", className: "mt-2 mb-2", children: /* @__PURE__ */ s("div", { className: "w-full p-4 sm:p-6", children: [
|
|
265
265
|
/* @__PURE__ */ s(
|
|
266
266
|
o,
|
|
267
267
|
{
|
|
@@ -269,37 +269,37 @@ const t = {
|
|
|
269
269
|
className: "text-sm text-gray-500 dark:text-gray-400 mb-4",
|
|
270
270
|
children: [
|
|
271
271
|
"Role-based color tokens for UI surfaces, labels, separators, and backgrounds. Showing ",
|
|
272
|
-
/* @__PURE__ */
|
|
272
|
+
/* @__PURE__ */ e("strong", { children: l ? "dark" : "light" }),
|
|
273
273
|
" ",
|
|
274
274
|
"mode."
|
|
275
275
|
]
|
|
276
276
|
}
|
|
277
277
|
),
|
|
278
|
-
/* @__PURE__ */
|
|
278
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-3", children: g.map((a) => /* @__PURE__ */ s(
|
|
279
279
|
"div",
|
|
280
280
|
{
|
|
281
|
-
className: "flex items-center gap-3 p-3 rounded-xl border border-
|
|
281
|
+
className: "flex items-center gap-3 p-3 rounded-xl border border-border",
|
|
282
282
|
children: [
|
|
283
|
-
/* @__PURE__ */
|
|
283
|
+
/* @__PURE__ */ e(
|
|
284
284
|
"div",
|
|
285
285
|
{
|
|
286
|
-
className: "w-10 h-10 rounded-lg shrink-0 border border-
|
|
287
|
-
style: { backgroundColor: `var(${
|
|
286
|
+
className: "w-10 h-10 rounded-lg shrink-0 border border-border",
|
|
287
|
+
style: { backgroundColor: `var(${a.cssVar}, ${a.value})` }
|
|
288
288
|
}
|
|
289
289
|
),
|
|
290
290
|
/* @__PURE__ */ s("div", { className: "min-w-0 flex-1", children: [
|
|
291
|
-
/* @__PURE__ */
|
|
292
|
-
/* @__PURE__ */
|
|
293
|
-
/* @__PURE__ */
|
|
291
|
+
/* @__PURE__ */ e("p", { className: "text-sm font-medium truncate", children: a.label }),
|
|
292
|
+
/* @__PURE__ */ e("p", { className: "text-[10px] text-gray-400 truncate", children: a.desc }),
|
|
293
|
+
/* @__PURE__ */ e("code", { className: "text-[9px] text-gray-400 font-mono", children: a.cssVar })
|
|
294
294
|
] }),
|
|
295
|
-
/* @__PURE__ */
|
|
295
|
+
/* @__PURE__ */ e("code", { className: "text-[9px] text-gray-400 font-mono text-right shrink-0 max-w-[120px] break-all", children: a.value })
|
|
296
296
|
]
|
|
297
297
|
},
|
|
298
|
-
|
|
298
|
+
a.label
|
|
299
299
|
)) })
|
|
300
300
|
] }) }) }),
|
|
301
|
-
/* @__PURE__ */
|
|
302
|
-
/* @__PURE__ */
|
|
301
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Gray Scale", className: "mt-2 mb-2", children: /* @__PURE__ */ s("div", { className: "w-full p-4 sm:p-6", children: [
|
|
302
|
+
/* @__PURE__ */ e(
|
|
303
303
|
o,
|
|
304
304
|
{
|
|
305
305
|
tag: "p",
|
|
@@ -307,21 +307,21 @@ const t = {
|
|
|
307
307
|
children: "6-step gray ramp following Apple HIG Sonoma. Grays 1–6 map to increasing lightness in light mode and decreasing lightness in dark mode."
|
|
308
308
|
}
|
|
309
309
|
),
|
|
310
|
-
/* @__PURE__ */
|
|
311
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: u.map((a) => /* @__PURE__ */ s("div", { className: "flex items-center gap-3", children: [
|
|
311
|
+
/* @__PURE__ */ e(
|
|
312
312
|
"div",
|
|
313
313
|
{
|
|
314
|
-
className: "w-12 h-8 rounded-lg border border-
|
|
315
|
-
style: { backgroundColor: `var(${
|
|
314
|
+
className: "w-12 h-8 rounded-lg border border-border shrink-0",
|
|
315
|
+
style: { backgroundColor: `var(${a.cssVar}, ${a.value})` }
|
|
316
316
|
}
|
|
317
317
|
),
|
|
318
|
-
/* @__PURE__ */
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */
|
|
321
|
-
] },
|
|
318
|
+
/* @__PURE__ */ e("code", { className: "text-xs font-mono w-40 text-gray-500", children: a.cssVar }),
|
|
319
|
+
/* @__PURE__ */ e("code", { className: "text-xs font-mono text-gray-400", children: a.value }),
|
|
320
|
+
/* @__PURE__ */ e("span", { className: "text-xs text-gray-400 ml-auto", children: a.label })
|
|
321
|
+
] }, a.label)) })
|
|
322
322
|
] }) }) }),
|
|
323
|
-
/* @__PURE__ */
|
|
324
|
-
/* @__PURE__ */
|
|
323
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Traffic Light Controls", className: "mt-2 mb-2", children: /* @__PURE__ */ s("div", { className: "w-full p-4 sm:p-6", children: [
|
|
324
|
+
/* @__PURE__ */ e(
|
|
325
325
|
o,
|
|
326
326
|
{
|
|
327
327
|
tag: "p",
|
|
@@ -329,22 +329,22 @@ const t = {
|
|
|
329
329
|
children: "Window control button colors — Close (red), Minimize (yellow), Maximize (green). These are fixed colors; only the inactive state changes between appearances."
|
|
330
330
|
}
|
|
331
331
|
),
|
|
332
|
-
/* @__PURE__ */
|
|
333
|
-
/* @__PURE__ */
|
|
332
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-6", children: x.map((a) => /* @__PURE__ */ s("div", { className: "flex flex-col items-center gap-2", children: [
|
|
333
|
+
/* @__PURE__ */ e(
|
|
334
334
|
"div",
|
|
335
335
|
{
|
|
336
|
-
className: "w-12 h-12 rounded-full border border-
|
|
336
|
+
className: "w-12 h-12 rounded-full border border-border shadow-sm",
|
|
337
337
|
style: {
|
|
338
|
-
backgroundColor: `var(${
|
|
338
|
+
backgroundColor: `var(${a.cssVar}, ${l ? a.dark : a.light})`
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
),
|
|
342
|
-
/* @__PURE__ */
|
|
343
|
-
/* @__PURE__ */
|
|
344
|
-
/* @__PURE__ */
|
|
345
|
-
] },
|
|
342
|
+
/* @__PURE__ */ e("span", { className: "text-xs font-medium", children: a.label }),
|
|
343
|
+
/* @__PURE__ */ e("code", { className: "text-[9px] font-mono text-gray-400", children: a.cssVar }),
|
|
344
|
+
/* @__PURE__ */ e("code", { className: "text-[9px] font-mono text-gray-400", children: l ? a.dark : a.light })
|
|
345
|
+
] }, a.label)) })
|
|
346
346
|
] }) }) }),
|
|
347
|
-
/* @__PURE__ */
|
|
347
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Chart Series Colors", className: "mt-2 mb-2", children: /* @__PURE__ */ s("div", { className: "w-full p-4 sm:p-6", children: [
|
|
348
348
|
/* @__PURE__ */ s(
|
|
349
349
|
o,
|
|
350
350
|
{
|
|
@@ -353,32 +353,32 @@ const t = {
|
|
|
353
353
|
children: [
|
|
354
354
|
"Used by",
|
|
355
355
|
" ",
|
|
356
|
-
/* @__PURE__ */
|
|
356
|
+
/* @__PURE__ */ e("code", { className: "font-mono text-xs bg-gray-100 dark:bg-gray-800 px-1 rounded", children: "useChartTheme()" }),
|
|
357
357
|
" ",
|
|
358
358
|
"when",
|
|
359
359
|
" ",
|
|
360
|
-
/* @__PURE__ */
|
|
360
|
+
/* @__PURE__ */ e("code", { className: "font-mono text-xs bg-gray-100 dark:bg-gray-800 px-1 rounded", children: "colorScheme === 'macos'" }),
|
|
361
361
|
"."
|
|
362
362
|
]
|
|
363
363
|
}
|
|
364
364
|
),
|
|
365
|
-
/* @__PURE__ */
|
|
365
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-4", children: f.map((a) => /* @__PURE__ */ s(
|
|
366
366
|
"div",
|
|
367
367
|
{
|
|
368
368
|
className: "flex flex-col items-center gap-1.5",
|
|
369
369
|
children: [
|
|
370
|
-
/* @__PURE__ */
|
|
370
|
+
/* @__PURE__ */ e(
|
|
371
371
|
"div",
|
|
372
372
|
{
|
|
373
|
-
className: "w-12 h-12 rounded-xl shadow-sm border border-
|
|
374
|
-
style: { backgroundColor: `var(${
|
|
373
|
+
className: "w-12 h-12 rounded-xl shadow-sm border border-border",
|
|
374
|
+
style: { backgroundColor: `var(${a.cssVar}, ${a.value})` }
|
|
375
375
|
}
|
|
376
376
|
),
|
|
377
|
-
/* @__PURE__ */
|
|
378
|
-
/* @__PURE__ */
|
|
377
|
+
/* @__PURE__ */ e("span", { className: "text-[10px] font-medium", children: a.label }),
|
|
378
|
+
/* @__PURE__ */ e("code", { className: "text-[9px] font-mono text-gray-400", children: a.value })
|
|
379
379
|
]
|
|
380
380
|
},
|
|
381
|
-
|
|
381
|
+
a.label
|
|
382
382
|
)) })
|
|
383
383
|
] }) }) })
|
|
384
384
|
] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-BaGqriuz.js"),u=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r={light:[{label:"Red",cssVar:"--macos-system-red",value:"#ff383c"},{label:"Orange",cssVar:"--macos-system-orange",value:"#ff8d28"},{label:"Yellow",cssVar:"--macos-system-yellow",value:"#ffcc00"},{label:"Green",cssVar:"--macos-system-green",value:"#34c759"},{label:"Mint",cssVar:"--macos-system-mint",value:"#00c8b3"},{label:"Teal",cssVar:"--macos-system-teal",value:"#00c3d0"},{label:"Cyan",cssVar:"--macos-system-cyan",value:"#00c0e8"},{label:"Blue",cssVar:"--macos-system-blue",value:"#0088ff"},{label:"Indigo",cssVar:"--macos-system-indigo",value:"#6155f5"},{label:"Purple",cssVar:"--macos-system-purple",value:"#cb30e0"},{label:"Pink",cssVar:"--macos-system-pink",value:"#ff2d55"},{label:"Brown",cssVar:"--macos-system-brown",value:"#ac7f5e"}],dark:[{label:"Red",cssVar:"--macos-system-red",value:"#ff4245"},{label:"Orange",cssVar:"--macos-system-orange",value:"#ff9230"},{label:"Yellow",cssVar:"--macos-system-yellow",value:"#ffd600"},{label:"Green",cssVar:"--macos-system-green",value:"#30d158"},{label:"Mint",cssVar:"--macos-system-mint",value:"#00dac3"},{label:"Teal",cssVar:"--macos-system-teal",value:"#00d2e0"},{label:"Cyan",cssVar:"--macos-system-cyan",value:"#3cd3fe"},{label:"Blue",cssVar:"--macos-system-blue",value:"#0091ff"},{label:"Indigo",cssVar:"--macos-system-indigo",value:"#6d7cff"},{label:"Purple",cssVar:"--macos-system-purple",value:"#db34f2"},{label:"Pink",cssVar:"--macos-system-pink",value:"#ff375f"},{label:"Brown",cssVar:"--macos-system-brown",value:"#b78a66"}]},c={light:[{label:"Gray",cssVar:"--macos-gray",value:"#8e8e93"},{label:"Gray 2",cssVar:"--macos-gray2",value:"#aeaeb2"},{label:"Gray 3",cssVar:"--macos-gray3",value:"#c7c7cc"},{label:"Gray 4",cssVar:"--macos-gray4",value:"#d1d1d6"},{label:"Gray 5",cssVar:"--macos-gray5",value:"#e5e5ea"},{label:"Gray 6",cssVar:"--macos-gray6",value:"#f2f2f7"}],dark:[{label:"Gray",cssVar:"--macos-gray",value:"#8e8e93"},{label:"Gray 2",cssVar:"--macos-gray2",value:"#636366"},{label:"Gray 3",cssVar:"--macos-gray3",value:"#48484a"},{label:"Gray 4",cssVar:"--macos-gray4",value:"#3a3a3c"},{label:"Gray 5",cssVar:"--macos-gray5",value:"#2c2c2e"},{label:"Gray 6",cssVar:"--macos-gray6",value:"#1c1c1e"}]},t={light:[{label:"Label",cssVar:"--macos-label",value:"rgba(0,0,0,0.88)",desc:"Primary text"},{label:"Secondary Label",cssVar:"--macos-secondary-label",value:"rgba(60,60,67,0.68)",desc:"Supporting text"},{label:"Tertiary Label",cssVar:"--macos-tertiary-label",value:"rgba(60,60,67,0.42)",desc:"Placeholder, disabled"},{label:"Quaternary Label",cssVar:"--macos-quaternary-label",value:"rgba(60,60,67,0.24)",desc:"Faint text"},{label:"Separator",cssVar:"--macos-separator",value:"rgba(60,60,67,0.24)",desc:"Dividers, borders"},{label:"Opaque Separator",cssVar:"--macos-opaque-separator",value:"#c6c6c8",desc:"Non-vibrancy separator"},{label:"Window BG",cssVar:"--macos-window-bg",value:"#f5f5f7",desc:"Root window"},{label:"Content BG",cssVar:"--macos-content-bg",value:"#ffffff",desc:"Content areas"},{label:"Grouped BG",cssVar:"--macos-grouped-bg",value:"#f2f2f7",desc:"Grouped tables/lists"},{label:"Control BG",cssVar:"--macos-control-bg",value:"rgba(255,255,255,0.72)",desc:"Buttons, fields"}],dark:[{label:"Label",cssVar:"--macos-label",value:"rgba(255,255,255,0.92)",desc:"Primary text"},{label:"Secondary Label",cssVar:"--macos-secondary-label",value:"rgba(235,235,245,0.72)",desc:"Supporting text"},{label:"Tertiary Label",cssVar:"--macos-tertiary-label",value:"rgba(235,235,245,0.44)",desc:"Placeholder, disabled"},{label:"Quaternary Label",cssVar:"--macos-quaternary-label",value:"rgba(235,235,245,0.26)",desc:"Faint text"},{label:"Separator",cssVar:"--macos-separator",value:"rgba(84,84,88,0.6)",desc:"Dividers, borders"},{label:"Opaque Separator",cssVar:"--macos-opaque-separator",value:"#38383a",desc:"Non-vibrancy separator"},{label:"Window BG",cssVar:"--macos-window-bg",value:"#1c1c1e",desc:"Root window"},{label:"Content BG",cssVar:"--macos-content-bg",value:"#151516",desc:"Content areas"},{label:"Grouped BG",cssVar:"--macos-grouped-bg",value:"#1c1c1e",desc:"Grouped tables/lists"},{label:"Control BG",cssVar:"--macos-control-bg",value:"rgba(255,255,255,0.10)",desc:"Buttons, fields"}]},x=[{label:"Close",cssVar:"--macos-traffic-close",light:"#ff5f57",dark:"#ff5f57"},{label:"Minimize",cssVar:"--macos-traffic-minimize",light:"#febc2e",dark:"#febc2e"},{label:"Maximize",cssVar:"--macos-traffic-maximize",light:"#28c840",dark:"#28c840"},{label:"Inactive",cssVar:"--macos-traffic-inactive",light:"#dcdcdc",dark:"#444444"}],o={light:[{label:"Series 1",cssVar:"--macos-chart-series-1",value:"#0088ff"},{label:"Series 2",cssVar:"--macos-chart-series-2",value:"#34c759"},{label:"Series 3",cssVar:"--macos-chart-series-3",value:"#ff8d28"},{label:"Series 4",cssVar:"--macos-chart-series-4",value:"#cb30e0"},{label:"Series 5",cssVar:"--macos-chart-series-5",value:"#ff383c"},{label:"Series 6",cssVar:"--macos-chart-series-6",value:"#00c3d0"}],dark:[{label:"Series 1",cssVar:"--macos-chart-series-1",value:"#0091ff"},{label:"Series 2",cssVar:"--macos-chart-series-2",value:"#30d158"},{label:"Series 3",cssVar:"--macos-chart-series-3",value:"#ff9230"},{label:"Series 4",cssVar:"--macos-chart-series-4",value:"#db34f2"},{label:"Series 5",cssVar:"--macos-chart-series-5",value:"#ff4245"},{label:"Series 6",cssVar:"--macos-chart-series-6",value:"#00d2e0"}]},g=()=>{const{mode:d}=s.useTheme(),l=d==="dark",i=l?r.dark:r.light,n=l?c.dark:c.light,m=l?t.dark:t.light,b=l?o.dark:o.light;return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Colors",description:"macOS Sonoma color tokens — CSS custom properties from html.macos. All colors adapt between light and dark appearances.",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-red-400 via-blue-500 to-purple-600 rounded-full flex items-center justify-center shadow-lg border border-red-400/50",children:e.jsx(u.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.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"System Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["12 vibrant system colors. Showing"," ",e.jsx("strong",{children:l?"dark":"light"})," mode values."]}),e.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-4 lg:grid-cols-6 gap-3",children:i.map(a=>e.jsxs("div",{className:"flex flex-col items-center gap-1.5",children:[e.jsx("div",{className:"w-full h-14 rounded-xl shadow-sm border border-black/5 dark:border-white/10",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsx("span",{className:"text-xs font-medium text-center leading-tight",children:a.label}),e.jsx("code",{className:"text-[9px] text-gray-400 font-mono text-center leading-tight",children:a.cssVar})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Semantic Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Role-based color tokens for UI surfaces, labels, separators, and backgrounds. Showing ",e.jsx("strong",{children:l?"dark":"light"})," ","mode."]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:m.map(a=>e.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-xl border border-gray-200 dark:border-gray-700",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg shrink-0 border border-black/10 dark:border-white/10",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-sm font-medium truncate",children:a.label}),e.jsx("p",{className:"text-[10px] text-gray-400 truncate",children:a.desc}),e.jsx("code",{className:"text-[9px] text-gray-400 font-mono",children:a.cssVar})]}),e.jsx("code",{className:"text-[9px] text-gray-400 font-mono text-right shrink-0 max-w-[120px] break-all",children:a.value})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Gray Scale",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:"6-step gray ramp following Apple HIG Sonoma. Grays 1–6 map to increasing lightness in light mode and decreasing lightness in dark mode."}),e.jsx("div",{className:"flex flex-col gap-2",children:n.map(a=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-12 h-8 rounded-lg border border-black/10 dark:border-white/10 shrink-0",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsx("code",{className:"text-xs font-mono w-40 text-gray-500",children:a.cssVar}),e.jsx("code",{className:"text-xs font-mono text-gray-400",children:a.value}),e.jsx("span",{className:"text-xs text-gray-400 ml-auto",children:a.label})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Traffic Light Controls",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:"Window control button colors — Close (red), Minimize (yellow), Maximize (green). These are fixed colors; only the inactive state changes between appearances."}),e.jsx("div",{className:"flex flex-wrap gap-6",children:x.map(a=>e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("div",{className:"w-12 h-12 rounded-full border border-black/10 dark:border-white/10 shadow-sm",style:{backgroundColor:`var(${a.cssVar}, ${l?a.dark:a.light})`}}),e.jsx("span",{className:"text-xs font-medium",children:a.label}),e.jsx("code",{className:"text-[9px] font-mono text-gray-400",children:a.cssVar}),e.jsx("code",{className:"text-[9px] font-mono text-gray-400",children:l?a.dark:a.light})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Chart Series Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Used by"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 dark:bg-gray-800 px-1 rounded",children:"useChartTheme()"})," ","when"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 dark:bg-gray-800 px-1 rounded",children:"colorScheme === 'macos'"}),"."]}),e.jsx("div",{className:"flex flex-wrap gap-4",children:b.map(a=>e.jsxs("div",{className:"flex flex-col items-center gap-1.5",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl shadow-sm border border-black/5 dark:border-white/10",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsx("span",{className:"text-[10px] font-medium",children:a.label}),e.jsx("code",{className:"text-[9px] font-mono text-gray-400",children:a.value})]},a.label))})]})})})]})};exports.default=g;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),u=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r={light:[{label:"Red",cssVar:"--macos-system-red",value:"#ff383c"},{label:"Orange",cssVar:"--macos-system-orange",value:"#ff8d28"},{label:"Yellow",cssVar:"--macos-system-yellow",value:"#ffcc00"},{label:"Green",cssVar:"--macos-system-green",value:"#34c759"},{label:"Mint",cssVar:"--macos-system-mint",value:"#00c8b3"},{label:"Teal",cssVar:"--macos-system-teal",value:"#00c3d0"},{label:"Cyan",cssVar:"--macos-system-cyan",value:"#00c0e8"},{label:"Blue",cssVar:"--macos-system-blue",value:"#0088ff"},{label:"Indigo",cssVar:"--macos-system-indigo",value:"#6155f5"},{label:"Purple",cssVar:"--macos-system-purple",value:"#cb30e0"},{label:"Pink",cssVar:"--macos-system-pink",value:"#ff2d55"},{label:"Brown",cssVar:"--macos-system-brown",value:"#ac7f5e"}],dark:[{label:"Red",cssVar:"--macos-system-red",value:"#ff4245"},{label:"Orange",cssVar:"--macos-system-orange",value:"#ff9230"},{label:"Yellow",cssVar:"--macos-system-yellow",value:"#ffd600"},{label:"Green",cssVar:"--macos-system-green",value:"#30d158"},{label:"Mint",cssVar:"--macos-system-mint",value:"#00dac3"},{label:"Teal",cssVar:"--macos-system-teal",value:"#00d2e0"},{label:"Cyan",cssVar:"--macos-system-cyan",value:"#3cd3fe"},{label:"Blue",cssVar:"--macos-system-blue",value:"#0091ff"},{label:"Indigo",cssVar:"--macos-system-indigo",value:"#6d7cff"},{label:"Purple",cssVar:"--macos-system-purple",value:"#db34f2"},{label:"Pink",cssVar:"--macos-system-pink",value:"#ff375f"},{label:"Brown",cssVar:"--macos-system-brown",value:"#b78a66"}]},c={light:[{label:"Gray",cssVar:"--macos-gray",value:"#8e8e93"},{label:"Gray 2",cssVar:"--macos-gray2",value:"#aeaeb2"},{label:"Gray 3",cssVar:"--macos-gray3",value:"#c7c7cc"},{label:"Gray 4",cssVar:"--macos-gray4",value:"#d1d1d6"},{label:"Gray 5",cssVar:"--macos-gray5",value:"#e5e5ea"},{label:"Gray 6",cssVar:"--macos-gray6",value:"#f2f2f7"}],dark:[{label:"Gray",cssVar:"--macos-gray",value:"#8e8e93"},{label:"Gray 2",cssVar:"--macos-gray2",value:"#636366"},{label:"Gray 3",cssVar:"--macos-gray3",value:"#48484a"},{label:"Gray 4",cssVar:"--macos-gray4",value:"#3a3a3c"},{label:"Gray 5",cssVar:"--macos-gray5",value:"#2c2c2e"},{label:"Gray 6",cssVar:"--macos-gray6",value:"#1c1c1e"}]},t={light:[{label:"Label",cssVar:"--macos-label",value:"rgba(0,0,0,0.88)",desc:"Primary text"},{label:"Secondary Label",cssVar:"--macos-secondary-label",value:"rgba(60,60,67,0.68)",desc:"Supporting text"},{label:"Tertiary Label",cssVar:"--macos-tertiary-label",value:"rgba(60,60,67,0.42)",desc:"Placeholder, disabled"},{label:"Quaternary Label",cssVar:"--macos-quaternary-label",value:"rgba(60,60,67,0.24)",desc:"Faint text"},{label:"Separator",cssVar:"--macos-separator",value:"rgba(60,60,67,0.24)",desc:"Dividers, borders"},{label:"Opaque Separator",cssVar:"--macos-opaque-separator",value:"#c6c6c8",desc:"Non-vibrancy separator"},{label:"Window BG",cssVar:"--macos-window-bg",value:"#f5f5f7",desc:"Root window"},{label:"Content BG",cssVar:"--macos-content-bg",value:"#ffffff",desc:"Content areas"},{label:"Grouped BG",cssVar:"--macos-grouped-bg",value:"#f2f2f7",desc:"Grouped tables/lists"},{label:"Control BG",cssVar:"--macos-control-bg",value:"rgba(255,255,255,0.72)",desc:"Buttons, fields"}],dark:[{label:"Label",cssVar:"--macos-label",value:"rgba(255,255,255,0.92)",desc:"Primary text"},{label:"Secondary Label",cssVar:"--macos-secondary-label",value:"rgba(235,235,245,0.72)",desc:"Supporting text"},{label:"Tertiary Label",cssVar:"--macos-tertiary-label",value:"rgba(235,235,245,0.44)",desc:"Placeholder, disabled"},{label:"Quaternary Label",cssVar:"--macos-quaternary-label",value:"rgba(235,235,245,0.26)",desc:"Faint text"},{label:"Separator",cssVar:"--macos-separator",value:"rgba(84,84,88,0.6)",desc:"Dividers, borders"},{label:"Opaque Separator",cssVar:"--macos-opaque-separator",value:"#38383a",desc:"Non-vibrancy separator"},{label:"Window BG",cssVar:"--macos-window-bg",value:"#1c1c1e",desc:"Root window"},{label:"Content BG",cssVar:"--macos-content-bg",value:"#151516",desc:"Content areas"},{label:"Grouped BG",cssVar:"--macos-grouped-bg",value:"#1c1c1e",desc:"Grouped tables/lists"},{label:"Control BG",cssVar:"--macos-control-bg",value:"rgba(255,255,255,0.10)",desc:"Buttons, fields"}]},x=[{label:"Close",cssVar:"--macos-traffic-close",light:"#ff5f57",dark:"#ff5f57"},{label:"Minimize",cssVar:"--macos-traffic-minimize",light:"#febc2e",dark:"#febc2e"},{label:"Maximize",cssVar:"--macos-traffic-maximize",light:"#28c840",dark:"#28c840"},{label:"Inactive",cssVar:"--macos-traffic-inactive",light:"#dcdcdc",dark:"#444444"}],o={light:[{label:"Series 1",cssVar:"--macos-chart-series-1",value:"#0088ff"},{label:"Series 2",cssVar:"--macos-chart-series-2",value:"#34c759"},{label:"Series 3",cssVar:"--macos-chart-series-3",value:"#ff8d28"},{label:"Series 4",cssVar:"--macos-chart-series-4",value:"#cb30e0"},{label:"Series 5",cssVar:"--macos-chart-series-5",value:"#ff383c"},{label:"Series 6",cssVar:"--macos-chart-series-6",value:"#00c3d0"}],dark:[{label:"Series 1",cssVar:"--macos-chart-series-1",value:"#0091ff"},{label:"Series 2",cssVar:"--macos-chart-series-2",value:"#30d158"},{label:"Series 3",cssVar:"--macos-chart-series-3",value:"#ff9230"},{label:"Series 4",cssVar:"--macos-chart-series-4",value:"#db34f2"},{label:"Series 5",cssVar:"--macos-chart-series-5",value:"#ff4245"},{label:"Series 6",cssVar:"--macos-chart-series-6",value:"#00d2e0"}]},g=()=>{const{mode:d}=s.useTheme(),l=d==="dark",i=l?r.dark:r.light,n=l?c.dark:c.light,m=l?t.dark:t.light,b=l?o.dark:o.light;return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Colors",description:"macOS Sonoma color tokens — CSS custom properties from html.macos. All colors adapt between light and dark appearances.",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-red-400 via-blue-500 to-purple-600 rounded-full flex items-center justify-center shadow-lg border border-red-400/50",children:e.jsx(u.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.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"System Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["12 vibrant system colors. Showing"," ",e.jsx("strong",{children:l?"dark":"light"})," mode values."]}),e.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-4 lg:grid-cols-6 gap-3",children:i.map(a=>e.jsxs("div",{className:"flex flex-col items-center gap-1.5",children:[e.jsx("div",{className:"w-full h-14 rounded-xl shadow-sm border border-border",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsx("span",{className:"text-xs font-medium text-center leading-tight",children:a.label}),e.jsx("code",{className:"text-[9px] text-gray-400 font-mono text-center leading-tight",children:a.cssVar})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Semantic Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Role-based color tokens for UI surfaces, labels, separators, and backgrounds. Showing ",e.jsx("strong",{children:l?"dark":"light"})," ","mode."]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:m.map(a=>e.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-xl border border-border",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg shrink-0 border border-border",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-sm font-medium truncate",children:a.label}),e.jsx("p",{className:"text-[10px] text-gray-400 truncate",children:a.desc}),e.jsx("code",{className:"text-[9px] text-gray-400 font-mono",children:a.cssVar})]}),e.jsx("code",{className:"text-[9px] text-gray-400 font-mono text-right shrink-0 max-w-[120px] break-all",children:a.value})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Gray Scale",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:"6-step gray ramp following Apple HIG Sonoma. Grays 1–6 map to increasing lightness in light mode and decreasing lightness in dark mode."}),e.jsx("div",{className:"flex flex-col gap-2",children:n.map(a=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-12 h-8 rounded-lg border border-border shrink-0",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsx("code",{className:"text-xs font-mono w-40 text-gray-500",children:a.cssVar}),e.jsx("code",{className:"text-xs font-mono text-gray-400",children:a.value}),e.jsx("span",{className:"text-xs text-gray-400 ml-auto",children:a.label})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Traffic Light Controls",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:"Window control button colors — Close (red), Minimize (yellow), Maximize (green). These are fixed colors; only the inactive state changes between appearances."}),e.jsx("div",{className:"flex flex-wrap gap-6",children:x.map(a=>e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("div",{className:"w-12 h-12 rounded-full border border-border shadow-sm",style:{backgroundColor:`var(${a.cssVar}, ${l?a.dark:a.light})`}}),e.jsx("span",{className:"text-xs font-medium",children:a.label}),e.jsx("code",{className:"text-[9px] font-mono text-gray-400",children:a.cssVar}),e.jsx("code",{className:"text-[9px] font-mono text-gray-400",children:l?a.dark:a.light})]},a.label))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Chart Series Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Used by"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 dark:bg-gray-800 px-1 rounded",children:"useChartTheme()"})," ","when"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 dark:bg-gray-800 px-1 rounded",children:"colorScheme === 'macos'"}),"."]}),e.jsx("div",{className:"flex flex-wrap gap-4",children:b.map(a=>e.jsxs("div",{className:"flex flex-col items-center gap-1.5",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl shadow-sm border border-border",style:{backgroundColor:`var(${a.cssVar}, ${a.value})`}}),e.jsx("span",{className:"text-[10px] font-medium",children:a.label}),e.jsx("code",{className:"text-[9px] font-mono text-gray-400",children:a.value})]},a.label))})]})})})]})};exports.default=g;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DMs_SmPq.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsxs(e.Fragment,{children:[e.jsx(t.HeroCard,{title:"MacOSSonomaLayoutContent",description:"Content shell for Sonoma layouts. Combines a toolbar with leading / center / trailing slots and a scrollable main area with consistent padding.",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-emerald-400 via-green-500 to-teal-600 rounded-full flex items-center justify-center shadow-lg border border-emerald-400/50",children:e.jsx(a.LayoutDashboard,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"With Toolbar Slots",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"h-80 rounded-xl overflow-hidden border border-(--color-semantic-line-primary-subtle) shadow-(--shadow-card)",children:e.jsx(t.MacOSSonomaLayoutContent,{toolbarLeading:e.jsxs("button",{className:"flex items-center gap-1.5 text-sm text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200",children:[e.jsx(a.ChevronLeft,{className:"h-4 w-4"}),"Back"]}),toolbarCenter:e.jsx("span",{className:"text-[13px] font-semibold text-gray-800 dark:text-gray-100",children:"Dashboard"}),toolbarTrailing:e.jsxs("button",{className:"flex items-center gap-1.5 rounded-md px-3 py-1 text-sm bg-blue-500 text-white hover:bg-blue-600",children:[e.jsx(a.Plus,{className:"h-3.5 w-3.5"}),"New"]}),children:e.jsx("div",{className:"grid grid-cols-3 gap-4",children:["Revenue","Users","Sessions"].map(r=>e.jsxs("div",{className:"rounded-[10px] border border-(--color-semantic-line-primary-subtle) bg-white/60 dark:bg-white/5 p-4",children:[e.jsx("p",{className:"text-xs text-gray-400 mb-1",children:r}),e.jsx("p",{className:"text-xl font-semibold text-gray-800 dark:text-gray-100",children:"—"})]},r))})})})})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.CodeBlock,{language:"tsx",code:`import { MacOSSonomaLayoutContent } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
function PageLayout() {
|
|
4
4
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as s, C as o, a as r,
|
|
2
|
+
import { H as s, C as o, a as r, bq as l, c as d } from "../index-19KsCnyX.js";
|
|
3
3
|
import { LayoutDashboard as i, Plus as m, ChevronLeft as c } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=[{name:"Dashboard",icon:e.jsx(a.LayoutDashboard,{className:"h-4 w-4"}),path:"/dashboard",isActive:!0},{name:"Projects",icon:e.jsx(a.FolderKanban,{className:"h-4 w-4"}),path:"/projects",dropdownItems:[{name:"Active",icon:e.jsx(a.Play,{className:"h-4 w-4"}),path:"/projects/active"},{name:"Archived",icon:e.jsx(a.Archive,{className:"h-4 w-4"}),path:"/projects/archived"}]},{name:"Analytics",icon:e.jsx(a.BarChart2,{className:"h-4 w-4"}),path:"/analytics"},{name:"Team",icon:e.jsx(a.Users,{className:"h-4 w-4"}),path:"/team"},{name:"Settings",icon:e.jsx(a.Settings,{className:"h-4 w-4"}),path:"/settings"}],t=()=>e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"MacOSSonomaLayoutSidebar",description:"Full-app navigation sidebar for Sonoma layouts. Supports nested items with expandable groups, logo slot, route-aware active highlighting, and backdrop blur vibrancy.",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-teal-400 via-cyan-500 to-blue-600 rounded-full flex items-center justify-center shadow-lg border border-teal-400/50",children:e.jsx(a.PanelLeftClose,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Interactive Preview",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"flex h-80 rounded-xl overflow-hidden border border-(--color-semantic-line-primary-subtle) shadow-(--shadow-card)",children:[e.jsx(s.MacOSSonomaLayoutSidebar,{menuItems:o}),e.jsx("div",{className:"flex flex-1 items-center justify-center bg-(--color-semantic-bg) text-sm text-gray-400",children:"Main content area"})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.CodeBlock,{language:"tsx",code:`import { MacOSSonomaLayoutSidebar } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const menuItems = [
|
|
4
4
|
{ name: 'Dashboard', icon: <DashboardIcon />, path: '/dashboard' },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { H as r, C as o, a as t,
|
|
2
|
+
import { H as r, C as o, a as t, bp as n, c as i } from "../index-19KsCnyX.js";
|
|
3
3
|
import { PanelLeftClose as c, LayoutDashboard as m, Play as l, Archive as d, FolderKanban as h, BarChart2 as p, Users as u, Settings as b } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../index-DMs_SmPq.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=[{name:"Sidebar",cssVar:"--macos-material-sidebar",blurVar:"--macos-material-sidebar-blur",blurValue:"20px",lightValue:"rgba(246,246,248,0.82)",darkValue:"rgba(28,28,30,0.85)",desc:"High opacity, strong blur — keeps sidebar content legible over any background",usage:"Sidebar panels, navigation drawers"},{name:"Toolbar",cssVar:"--macos-material-toolbar",blurVar:"--macos-material-toolbar-blur",blurValue:"16px",lightValue:"rgba(255,255,255,0.72)",darkValue:"rgba(40,40,42,0.80)",desc:"Medium opacity with focused blur — toolbar floats above content with visible separation",usage:"App toolbars, top navigation bars"},{name:"Popover",cssVar:"--macos-material-popover",blurVar:"--macos-material-popover-blur",blurValue:"24px",lightValue:"rgba(255,255,255,0.90)",darkValue:"rgba(44,44,46,0.92)",desc:"Near-opaque with deep blur — maximum legibility for transient content",usage:"Popovers, menus, tooltips, dropdown panels"},{name:"Sheet",cssVar:"--macos-material-sheet",blurVar:"--macos-material-sheet-blur",blurValue:"30px",lightValue:"rgba(255,255,255,0.94)",darkValue:"rgba(44,44,46,0.96)",desc:"Highest opacity, maximum blur — modal surfaces that demand full attention",usage:"Modal sheets, dialogs, alert panels"},{name:"Overlay",cssVar:"--macos-material-overlay",blurVar:"",blurValue:"—",lightValue:"rgba(0,0,0,0.40)",darkValue:"rgba(0,0,0,0.60)",desc:"Scrim behind modal surfaces to focus attention on foreground content",usage:"Modal scrim, blocking overlay, dimming layer"}],o=[{name:"UltraThin",opacity:.36,blur:15,lightBg:"rgba(246,246,248,0.36)",darkBg:"rgba(28,28,30,0.36)",desc:"Maximum transparency — background content clearly visible"},{name:"Thin",opacity:.48,blur:15,lightBg:"rgba(246,246,248,0.48)",darkBg:"rgba(28,28,30,0.48)",desc:"High translucency — subtle tinting of background"},{name:"Medium",opacity:.6,blur:15,lightBg:"rgba(246,246,248,0.60)",darkBg:"rgba(28,28,30,0.60)",desc:"Balanced — background muted but perceptible"},{name:"Thick",opacity:.72,blur:15,lightBg:"rgba(246,246,248,0.72)",darkBg:"rgba(40,40,42,0.72)",desc:"Low translucency — subtle depth hint"},{name:"UltraThick",opacity:.84,blur:15,lightBg:"rgba(246,246,248,0.84)",darkBg:"rgba(44,44,46,0.84)",desc:"Near-opaque — maximum legibility, minimal blur"}],d=()=>{const{mode:s}=l.useTheme(),r=s==="dark";return e.jsxs(e.Fragment,{children:[e.jsx(l.HeroCard,{title:"Materials",description:"Sonoma vibrancy materials — translucent CSS surfaces defined by --macos-material-* tokens. Each balances blur, opacity, and brightness for its role.",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-white/80 via-gray-200/60 to-gray-400/40 dark:from-gray-700/80 dark:via-gray-800/60 dark:to-gray-900/40 rounded-full flex items-center justify-center shadow-lg border border-white/50 dark:border-border/50 backdrop-blur-md",children:e.jsx(t.Layers,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-gray-700 dark:text-gray-200 filter drop-shadow-lg"})})}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Named Surface Materials",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(l.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-6",children:["Pre-defined materials mapped to"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 dark:bg-gray-800 px-1 rounded",children:"--macos-material-*"})," ","CSS custom properties. Displayed over a colorful background to demonstrate vibrancy. Showing"," ",e.jsx("strong",{children:r?"dark":"light"})," values."]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:i.map(a=>e.jsx("div",{className:"rounded-2xl overflow-hidden",style:{background:r?"linear-gradient(135deg,#0d1b2a 0%,#1b2838 50%,#0a1628 100%)":"linear-gradient(135deg,#a8edea 0%,#fed6e3 50%,#d299c2 100%)"},children:e.jsxs("div",{className:"m-3 rounded-xl p-4 border border-border",style:{backgroundColor:`var(${a.cssVar}, ${r?a.darkValue:a.lightValue})`,backdropFilter:a.blurValue!=="—"?`blur(${a.blurValue})`:void 0,WebkitBackdropFilter:a.blurValue!=="—"?`blur(${a.blurValue})`:void 0},children:[e.jsx("div",{className:"flex items-start justify-between gap-2",children:e.jsxs("div",{children:[e.jsx("p",{className:`font-semibold text-sm ${r?"text-gray-100":"text-gray-900"}`,children:a.name}),e.jsx("p",{className:`text-xs mt-1 ${r?"text-gray-300":"text-gray-600"}`,children:a.desc}),e.jsxs("p",{className:`text-[10px] mt-1.5 ${r?"text-gray-400":"text-gray-500"}`,children:["Usage: ",a.usage]})]})}),e.jsxs("div",{className:"mt-3 pt-3 border-t border-border space-y-0.5",children:[e.jsx("code",{className:`block text-[9px] font-mono ${r?"text-gray-400":"text-gray-600"}`,children:a.cssVar}),e.jsx("code",{className:`block text-[9px] font-mono ${r?"text-gray-400":"text-gray-600"}`,children:r?a.darkValue:a.lightValue}),a.blurValue!=="—"&&e.jsxs("code",{className:`block text-[9px] font-mono ${r?"text-gray-400":"text-gray-600"}`,children:["backdrop-filter: blur(",a.blurValue,")"]})]})]})},a.name))})]})})}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Vibrancy Opacity Scale",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(l.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-6",children:["Five translucency levels from ",e.jsx("strong",{children:"UltraThin"})," (most transparent) to ",e.jsx("strong",{children:"UltraThick"})," (near-opaque). All use a consistent 15px backdrop blur. Displayed over a colorful gradient."]}),e.jsxs("div",{className:"relative rounded-2xl overflow-hidden p-6",style:{background:r?"linear-gradient(135deg,#0f0c29 0%,#302b63 50%,#24243e 100%)":"linear-gradient(135deg,#667eea 0%,#764ba2 25%,#f093fb 50%,#f5576c 75%,#4facfe 100%)",minHeight:380},children:[e.jsx("div",{className:"absolute inset-0 pointer-events-none opacity-50",children:r?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"absolute top-6 left-8 w-20 h-20 rounded-full bg-purple-600"}),e.jsx("div",{className:"absolute top-16 right-12 w-28 h-28 rounded-full bg-indigo-500"}),e.jsx("div",{className:"absolute bottom-6 left-1/3 w-16 h-16 rounded-full bg-blue-600"}),e.jsx("div",{className:"absolute bottom-10 right-8 w-24 h-24 rounded-full bg-violet-700"})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"absolute top-4 left-4 w-24 h-24 rounded-full bg-yellow-300"}),e.jsx("div",{className:"absolute top-20 right-10 w-32 h-32 rounded-full bg-pink-400"}),e.jsx("div",{className:"absolute bottom-8 left-1/4 w-20 h-20 rounded-full bg-green-400"}),e.jsx("div",{className:"absolute bottom-4 right-8 w-28 h-28 rounded-full bg-blue-300"})]})}),e.jsx("div",{className:"relative flex flex-col gap-3",children:o.map(a=>e.jsx("div",{className:"rounded-xl p-3.5 border border-white/20",style:{backgroundColor:r?a.darkBg:a.lightBg,backdropFilter:`blur(${a.blur}px)`,WebkitBackdropFilter:`blur(${a.blur}px)`},children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("span",{className:`text-sm font-semibold ${r?"text-gray-100":"text-gray-800"}`,children:a.name}),e.jsx("p",{className:`text-[10px] mt-0.5 ${r?"text-gray-300":"text-gray-600"}`,children:a.desc})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("span",{className:`text-[10px] font-mono ${r?"text-gray-300":"text-gray-700"}`,children:["opacity ",Math.round(a.opacity*100),"%"]}),e.jsx("br",{}),e.jsxs("span",{className:`text-[10px] font-mono ${r?"text-gray-300":"text-gray-700"}`,children:["blur ",a.blur,"px"]})]})]})},a.name))})]})]})})}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Using Materials in Code",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(l.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Apply named material tokens directly via CSS custom properties. The tokens automatically resolve the correct value for the current appearance (light/dark) when"," ",e.jsx("code",{className:"text-xs font-mono",children:"html.macos"})," is active."]}),e.jsx("pre",{className:"rounded-xl p-4 text-xs font-mono overflow-x-auto text-gray-300",style:{backgroundColor:r?"#1c1c1e":"#1d1d1f"},children:`.my-surface {
|
|
2
|
+
background-color: var(--macos-material-sidebar);
|
|
3
|
+
backdrop-filter: blur(var(--macos-material-sidebar-blur));
|
|
4
|
+
-webkit-backdrop-filter: blur(var(--macos-material-sidebar-blur));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* Or use Tailwind arbitrary values */
|
|
8
|
+
<div className="bg-[var(--macos-material-toolbar)]
|
|
9
|
+
backdrop-blur-[var(--macos-material-toolbar-blur)]" />`})]})})})]})};exports.default=d;
|
package/documentation/{SonomaMaterialsSection-BYnpWwWt.js → SonomaMaterialsSection-DGAN4s50.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { ay as c, H as n, C as s, a as o, T as i } from "../index-
|
|
2
|
+
import { ay as c, H as n, C as s, a as o, T as i } from "../index-19KsCnyX.js";
|
|
3
3
|
import { Layers as m } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -104,7 +104,7 @@ const b = [
|
|
|
104
104
|
{
|
|
105
105
|
title: "Materials",
|
|
106
106
|
description: "Sonoma vibrancy materials — translucent CSS surfaces defined by --macos-material-* tokens. Each balances blur, opacity, and brightness for its role.",
|
|
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-white/80 via-gray-200/60 to-gray-400/40 dark:from-gray-700/80 dark:via-gray-800/60 dark:to-gray-900/40 rounded-full flex items-center justify-center shadow-lg border border-white/50 dark:border-
|
|
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-white/80 via-gray-200/60 to-gray-400/40 dark:from-gray-700/80 dark:via-gray-800/60 dark:to-gray-900/40 rounded-full flex items-center justify-center shadow-lg border border-white/50 dark:border-border/50 backdrop-blur-md", children: /* @__PURE__ */ e(m, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-gray-700 dark:text-gray-200 filter drop-shadow-lg" }) })
|
|
108
108
|
}
|
|
109
109
|
),
|
|
110
110
|
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Named Surface Materials", className: "mt-2 mb-2", children: /* @__PURE__ */ r("div", { className: "w-full p-4 sm:p-6", children: [
|
|
@@ -135,7 +135,7 @@ const b = [
|
|
|
135
135
|
children: /* @__PURE__ */ r(
|
|
136
136
|
"div",
|
|
137
137
|
{
|
|
138
|
-
className: "m-3 rounded-xl p-4 border border-
|
|
138
|
+
className: "m-3 rounded-xl p-4 border border-border",
|
|
139
139
|
style: {
|
|
140
140
|
backgroundColor: `var(${a.cssVar}, ${l ? a.darkValue : a.lightValue})`,
|
|
141
141
|
backdropFilter: a.blurValue !== "—" ? `blur(${a.blurValue})` : void 0,
|
|
@@ -168,7 +168,7 @@ const b = [
|
|
|
168
168
|
}
|
|
169
169
|
)
|
|
170
170
|
] }) }),
|
|
171
|
-
/* @__PURE__ */ r("div", { className: "mt-3 pt-3 border-t border-
|
|
171
|
+
/* @__PURE__ */ r("div", { className: "mt-3 pt-3 border-t border-border space-y-0.5", children: [
|
|
172
172
|
/* @__PURE__ */ e(
|
|
173
173
|
"code",
|
|
174
174
|
{
|