@e-burgos/tucu-ui 2.0.7 → 2.0.9
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 +93 -0
- package/README.md +27 -4
- package/components/cards/card-container.d.ts +1 -1
- package/components/cards/color-card.d.ts +20 -0
- package/components/cards/feature-card.d.ts +23 -0
- package/components/cards/index.d.ts +2 -0
- package/components/dialog/drawer-container.d.ts +2 -1
- package/components/dialog/modal.d.ts +1 -0
- package/components/dialog/sidebar-menu.d.ts +2 -1
- package/components/dialog/sidebar.d.ts +2 -1
- package/components/index.d.ts +1 -0
- package/components/inputs/file-input.d.ts +3 -0
- package/components/inputs/helpers/control-colors.d.ts +13 -0
- package/components/inputs/helpers/control-sizes.d.ts +2 -0
- package/components/inputs/input-searcher.d.ts +6 -2
- package/components/inputs/input.d.ts +6 -1
- package/components/inputs/pin-code.d.ts +2 -25
- package/components/inputs/radio-group.d.ts +1 -1
- package/components/inputs/radio.d.ts +3 -0
- package/components/inputs/select.d.ts +5 -1
- package/components/inputs/switch.d.ts +2 -0
- package/components/inputs/textarea.d.ts +4 -0
- package/components/inputs/toggle-bar.d.ts +3 -1
- package/components/layouts/index.d.ts +1 -0
- package/components/layouts/macos-layout/index.d.ts +19 -0
- package/components/layouts/macos-layout/macos-sonoma-layout.d.ts +14 -0
- package/components/layouts/macos-layout/macos-tahoe-dock-layout.d.ts +14 -0
- package/components/layouts/macos-layout/macos-tahoe-layout.d.ts +14 -0
- package/components/layouts/macos-layout/utils.d.ts +3 -0
- package/components/macos/index.d.ts +2 -0
- package/components/macos/sonoma/containers/sidebar.d.ts +22 -0
- package/components/macos/sonoma/containers/widget.d.ts +17 -0
- package/components/macos/sonoma/containers/window.d.ts +26 -0
- package/components/macos/sonoma/controls/search-bar.d.ts +12 -0
- package/components/macos/sonoma/controls/segmented-control.d.ts +16 -0
- package/components/macos/sonoma/controls/types.d.ts +10 -0
- package/components/macos/sonoma/feedback/command-palette.d.ts +20 -0
- package/components/macos/sonoma/feedback/macos-sonoma-toast.d.ts +2 -0
- package/components/macos/sonoma/feedback/notification-banner.d.ts +17 -0
- package/components/macos/sonoma/feedback/popover.d.ts +22 -0
- package/components/macos/sonoma/index.d.ts +13 -0
- package/components/macos/sonoma/layout/layout-content-sonoma.d.ts +15 -0
- package/components/macos/sonoma/layout/layout-sidebar-sonoma.d.ts +10 -0
- package/components/macos/sonoma/layout/toolbar-sonoma.d.ts +6 -0
- package/components/macos/tahoe/containers/dialog-tahoe.d.ts +21 -0
- package/components/macos/tahoe/containers/widget-tahoe.d.ts +15 -0
- package/components/macos/tahoe/containers/window-tahoe.d.ts +36 -0
- package/components/macos/tahoe/controls/macos-tahoe-toast.d.ts +2 -0
- package/components/macos/tahoe/controls/notification-banner-tahoe.d.ts +17 -0
- package/components/macos/tahoe/controls/progress-bar-tahoe.d.ts +10 -0
- package/components/macos/tahoe/controls/search-bar-tahoe.d.ts +12 -0
- package/components/macos/tahoe/controls/segmented-control-tahoe.d.ts +16 -0
- package/components/macos/tahoe/controls/types.d.ts +10 -0
- package/components/macos/tahoe/feedback/command-palette-tahoe.d.ts +18 -0
- package/components/macos/tahoe/feedback/popover-tahoe.d.ts +22 -0
- package/components/macos/tahoe/foundations/background.d.ts +23 -0
- package/components/macos/tahoe/index.d.ts +15 -0
- package/components/macos/tahoe/layout/dock-tahoe.d.ts +27 -0
- package/components/macos/tahoe/layout/layout-content-tahoe.d.ts +17 -0
- package/components/macos/tahoe/layout/layout-sidebar-tahoe.d.ts +13 -0
- package/components/macos/tahoe/layout/toolbar-tahoe.d.ts +5 -0
- package/components/table/basic-table.d.ts +4 -1
- package/demo/components/dynamic-sections-page.d.ts +2 -0
- package/demo/components/prop-playground.d.ts +13 -0
- package/demo/components/table-of-contents/index.d.ts +5 -0
- package/demo/components/table-of-contents/toc-default.d.ts +3 -0
- package/demo/components/table-of-contents/toc-sonoma.d.ts +3 -0
- package/demo/components/table-of-contents/toc-tahoe.d.ts +3 -0
- package/demo/components/{table-of-contents.d.ts → table-of-contents/types.d.ts} +1 -4
- package/demo/components/table-of-contents/use-toc.d.ts +26 -0
- package/demo/generated/props-metadata.d.ts +2 -2
- package/demo/pages/index.d.ts +3 -0
- package/demo/pages/macos/MacOSShowcase.d.ts +2 -0
- package/demo/pages/macos/MacOSSonomaShowcase.d.ts +2 -0
- package/demo/pages/macos/MacOSTahoeShowcase.d.ts +2 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSCommandPaletteSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSNotificationBannerSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSPopoverSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSSearchBarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSSegmentedControlSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSSidebarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSToolbarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSWidgetSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSWindowSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaColorsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaLayoutContentSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaLayoutSidebarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaMaterialsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaShapesSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaTypographySection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSBackgroundsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSColorsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSMaterialsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSTahoeSection.d.ts +2 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSTextStylesSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeCommandPaletteSection.d.ts +2 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeDialogSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeDockSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeLayoutContentSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeLayoutSidebarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeNotificationBannerSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoePopoverSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeProgressBarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeSearchBarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeSegmentedControlSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeToolbarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeWidgetSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeWindowSection.d.ts +3 -0
- package/documentation/APIReferenceSection-DNlAQ8GG.js +1 -0
- package/documentation/APIReferenceSection-DQ9eEJU3.js +213 -0
- package/documentation/ActiveLinkSection-ClQ5IBOo.js +23 -0
- package/documentation/{ActiveLinkSection-DCvjUbXP.js → ActiveLinkSection-ZQgU44Mo.js} +26 -28
- package/documentation/AdvancedColorSystemSection-BT-UpUVF.js +181 -0
- package/documentation/AdvancedColorSystemSection-D-6qlD3s.js +17 -0
- package/documentation/AdvancedFeaturesSection-B5wK85Bl.js +117 -0
- package/documentation/AdvancedFeaturesSection-D2ZWLXY5.js +32 -0
- package/documentation/AdvancedFeaturesSection-mbP5hR-H.js +70 -0
- package/documentation/AdvancedFeaturesSection-mfiPnKVY.js +1 -0
- package/documentation/AlertSection-BBto0fHS.js +96 -0
- package/documentation/AlertSection-D4Gq9upX.js +26 -0
- package/documentation/AnchorLinkSection-DSCjeuS9.js +65 -0
- package/documentation/AnchorLinkSection-k40j2vM0.js +20 -0
- package/documentation/ArchitecturalPatternsComparisonSection-DesoQ7S_.js +34 -0
- package/documentation/ArchitecturalPatternsComparisonSection-Doa_MJjU.js +180 -0
- package/documentation/ArchitectureOverviewSection-Cu_PStpk.js +1 -0
- package/documentation/ArchitectureOverviewSection-DUkNwRmR.js +210 -0
- package/documentation/AreaChartSection-BDVO57jx.js +22 -0
- package/documentation/{AreaChartSection-CtMlVnBa.js → AreaChartSection-C4ruqExr.js} +5 -5
- package/documentation/AuthorCardSection-DpUU5KDU.js +18 -0
- package/documentation/AuthorCardSection-cB8Liia6.js +79 -0
- package/documentation/AvatarSection-DZCiBPX4.js +19 -0
- package/documentation/AvatarSection-DpUjg_yW.js +89 -0
- package/documentation/BadgeSection-B7mtSvQv.js +49 -0
- package/documentation/{BadgeSection-Oua60cg8.js → BadgeSection-Cteg--jV.js} +29 -31
- package/documentation/BarChartSection-Clrho1um.js +23 -0
- package/documentation/{BarChartSection-DHblj4e5.js → BarChartSection-rkETKOO2.js} +13 -13
- package/documentation/BasicTableSection-7S3mV6WL.js +133 -0
- package/documentation/BasicTableSection-Cf3FcRGV.js +36 -0
- package/documentation/BasicUsageSection-C04Vk4Xo.js +45 -0
- package/documentation/BasicUsageSection-D_OADsjB.js +147 -0
- package/documentation/{BestPracticesSection-CScYzan3.js → BestPracticesSection-41CW61J-.js} +18 -10
- package/documentation/BestPracticesSection-4oonl6Xs.js +61 -0
- package/documentation/BestPracticesSection-BJUyOw5K.js +79 -0
- package/documentation/BestPracticesSection-BiznpoaJ.js +151 -0
- package/documentation/BestPracticesSection-BklrYpDV.js +1 -0
- package/documentation/BestPracticesSection-Bnccg1L-.js +151 -0
- package/documentation/BestPracticesSection-C7p3sqSS.js +1 -0
- package/documentation/BestPracticesSection-C8R3e6wG.js +1 -0
- package/documentation/BestPracticesSection-CCTlvAEc.js +1 -0
- package/documentation/BestPracticesSection-CGBKNc2j.js +34 -0
- package/documentation/BestPracticesSection-CNwUYNOW.js +1 -0
- package/documentation/BestPracticesSection-DL24k5DX.js +153 -0
- package/documentation/BestPracticesSection-hs6vGhuu.js +137 -0
- package/documentation/BestPracticesSection-wKpFsyId.js +1 -0
- package/documentation/BorderRadiusSection-CY90awsm.js +1 -0
- package/documentation/BorderRadiusSection-CgppX9KI.js +58 -0
- package/documentation/ButtonDripSection-BQkw59yH.js +21 -0
- package/documentation/{ButtonDripSection-gvZxhX8G.js → ButtonDripSection-D8zkJ-6j.js} +29 -32
- package/documentation/ButtonLoaderSection-B5XP49FM.js +153 -0
- package/documentation/ButtonLoaderSection-CjGBMNiM.js +31 -0
- package/documentation/CardContainerSection-DcioQ7uD.js +61 -0
- package/documentation/CardContainerSection-DfKrRKR1.js +22 -0
- package/documentation/CardSection-By7KZdmx.js +26 -0
- package/documentation/{CardSection-Ck8jyp7W.js → CardSection-C6FmBvSW.js} +45 -34
- package/documentation/CardTitleSection-Cwlv3Iuv.js +72 -0
- package/documentation/CardTitleSection-JuseDFmx.js +20 -0
- package/documentation/CarouselCardsSection-HwS5Pilj.js +174 -0
- package/documentation/CarouselCardsSection-t54tXA0y.js +38 -0
- package/documentation/CarouselImageSection-DxcOoLwL.js +39 -0
- package/documentation/CarouselImageSection-yRgXBEHG.js +179 -0
- package/documentation/CarouselSection-DVkA2Zts.js +25 -0
- package/documentation/CarouselSection-Dyv4W4kt.js +123 -0
- package/documentation/CheckboxSection-CFyl2-Lg.js +175 -0
- package/documentation/CheckboxSection-Cm9sabKa.js +29 -0
- package/documentation/CodeExamplesSection-D4BjomLZ.js +68 -0
- package/documentation/CodeExamplesSection-ZevLOjfL.js +134 -0
- package/documentation/CoinCardSection-BP75BKln.js +13 -0
- package/documentation/{CoinCardSection-KLQiaGeE.js → CoinCardSection-DWe-P9aE.js} +69 -33
- package/documentation/{CoinInfoCardSection-IUrgp0GD.js → CoinInfoCardSection-CHd_B21e.js} +62 -34
- package/documentation/CoinInfoCardSection-Cp5dwucx.js +12 -0
- package/documentation/CoinListBoxSection-CFTwACjZ.js +24 -0
- package/documentation/CoinListBoxSection-CgQPCN1-.js +129 -0
- package/documentation/CollapseSection-BObnZGBa.js +28 -0
- package/documentation/{CollapseSection-TYKE7WSj.js → CollapseSection-DV4iEoTo.js} +30 -32
- package/documentation/CollectionCardSection-Cl5rgWzn.js +17 -0
- package/documentation/{CollectionCardSection-BzUVxmJq.js → CollectionCardSection-V2vYAGul.js} +47 -29
- package/documentation/CollectionSelectListSection-CW5Wwg5e.js +149 -0
- package/documentation/CollectionSelectListSection-l-apJPKq.js +15 -0
- package/documentation/ColorCustomizationSection-Cb8PEuks.js +1 -0
- package/documentation/ColorCustomizationSection-v0OWFiFx.js +129 -0
- package/documentation/ColorSystemSection-CduyyhhZ.js +263 -0
- package/documentation/ColorSystemSection-D8sZHXAT.js +1 -0
- package/documentation/CommonErrorsSection-8pIQ5P0f.js +77 -0
- package/documentation/CommonErrorsSection-CPIUNSdZ.js +1 -0
- package/documentation/ComponentAnatomySection-B_3X6zAV.js +1 -0
- package/documentation/ComponentAnatomySection-D9CJ7NKe.js +78 -0
- package/documentation/ComponentStatusSection-BPM9MaGx.js +1 -0
- package/documentation/ComponentStatusSection-DckFRSjC.js +148 -0
- package/documentation/ComposedChartSection-DgidskHN.js +21 -0
- package/documentation/{ComposedChartSection-CgHQ-PQM.js → ComposedChartSection-Dx2m0rSy.js} +10 -10
- package/documentation/CurrencySwapIconsSection-DZab3CRP.js +7 -0
- package/documentation/CurrencySwapIconsSection-u7r7QNnv.js +73 -0
- package/documentation/CustomColorPaletteSection-BgsWYeFi.js +19 -0
- package/documentation/CustomColorPaletteSection-pjhXRzh7.js +74 -0
- package/documentation/CustomIconsSection-8d02BzFW.js +172 -0
- package/documentation/CustomIconsSection-DVTQjvmK.js +3 -0
- package/documentation/DefiAppLogoSection-BloxEw2r.js +132 -0
- package/documentation/DefiAppLogoSection-DeVkbZnS.js +38 -0
- package/documentation/DesignPrinciplesSection-AGfHYdRQ.js +1 -0
- package/documentation/DesignPrinciplesSection-DnXrx_3r.js +68 -0
- package/documentation/DrawerSection-0xOnVMih.js +42 -0
- package/documentation/{DrawerSection-OBUS8hGb.js → DrawerSection-C5umOiTH.js} +44 -47
- package/documentation/DynamicRoutesSection-CplA4H_-.js +112 -0
- package/documentation/DynamicRoutesSection-D9cAVioz.js +47 -0
- package/documentation/FileInputSection-DYnf_T8n.js +237 -0
- package/documentation/FileInputSection-DiFwCplu.js +73 -0
- package/documentation/{FileStructureSection-BJ4M4SK6.js → FileStructureSection-C7CT7MLA.js} +42 -28
- package/documentation/FileStructureSection-qyFRzFR7.js +26 -0
- package/documentation/FormComponentsSection-BGNG7LT5.js +1 -0
- package/documentation/FormComponentsSection-D8FXeYch.js +148 -0
- package/documentation/FormMethodsSection-D7QrdOOf.js +53 -0
- package/documentation/FormMethodsSection-KJIlWtlf.js +194 -0
- package/documentation/HamburgerSection-1Co0vSYI.js +19 -0
- package/documentation/{HamburgerSection-BdHt6rmR.js → HamburgerSection-B4QTD7QB.js} +27 -29
- package/documentation/HookCategoriesSection-BgTUwS4d.js +119 -0
- package/documentation/HookCategoriesSection-DT7PsLf5.js +1 -0
- package/documentation/HookDocumentationSection-B7eGJAtC.js +474 -0
- package/documentation/HookDocumentationSection-Dm5vp60W.js +100 -0
- package/documentation/HookFeaturesSection-C_CfuHPq.js +70 -0
- package/documentation/HookFeaturesSection-XWh6oPJo.js +1 -0
- package/documentation/IconArchitectureSection-2pqGfRWh.js +11 -0
- package/documentation/IconArchitectureSection-Cyft-9ck.js +145 -0
- package/documentation/IconSizingGuideSection-D0WIGnpi.js +1 -0
- package/documentation/IconSizingGuideSection-DWP8TfCJ.js +118 -0
- package/documentation/IconSystemAPISection-BafhVMj8.js +138 -0
- package/documentation/IconSystemAPISection-BykSbNfn.js +1 -0
- package/documentation/IconSystemBenefitsSection-D-Z8n3yK.js +1 -0
- package/documentation/IconSystemBenefitsSection-DnPy73uB.js +120 -0
- package/documentation/{ImageSection-CioWvJ8h.js → ImageSection-BDC-XBOn.js} +17 -18
- package/documentation/ImageSection-C1nOKmH2.js +82 -0
- package/documentation/ImplementationExamplesSection-Cxl08TTf.js +305 -0
- package/documentation/{ImplementationExamplesSection-H0mF5teZ.js → ImplementationExamplesSection-mHJwxbf_.js} +9 -9
- package/documentation/ImplementationGuidelinesSection-Bmt5UnLA.js +144 -0
- package/documentation/ImplementationGuidelinesSection-C0DtOFA3.js +1 -0
- package/documentation/ImplementationStatusSection-C59DZ2XS.js +62 -0
- package/documentation/ImplementationStatusSection-gIxBd7m5.js +1 -0
- package/documentation/ImplementedFeaturesSection-1l8t4Nij.js +70 -0
- package/documentation/ImplementedFeaturesSection-BwktoGqA.js +1 -0
- package/documentation/InfoCardSection-BcXFWEjI.js +38 -0
- package/documentation/{InfoCardSection-DVeC3my3.js → InfoCardSection-DtgYtueH.js} +54 -31
- package/documentation/InputSearcherSection-DD2KwzOG.js +267 -0
- package/documentation/InputSearcherSection-DMtIqnZm.js +45 -0
- package/documentation/InputSection-DAQlSKNm.js +280 -0
- package/documentation/InputSection-WnlrF_LD.js +50 -0
- package/documentation/KeyValueRowSection-BjXEg9g3.js +117 -0
- package/documentation/KeyValueRowSection-Ctph5iO5.js +17 -0
- package/documentation/KeyboardNavigationSection-BcQUUxeW.js +130 -0
- package/documentation/KeyboardNavigationSection-BgP2RBJx.js +27 -0
- package/documentation/LayoutPrinciplesSection-CZE5j4TD.js +1 -0
- package/documentation/LayoutPrinciplesSection-DZgjhU-5.js +148 -0
- package/documentation/{LayoutTypesSection-CteLUamr.js → LayoutTypesSection-847E1FZA.js} +44 -43
- package/documentation/LayoutTypesSection-hnxHeuA2.js +1 -0
- package/documentation/LineChartSection-BFVXYiK4.js +21 -0
- package/documentation/{LineChartSection-D0_UlV1y.js → LineChartSection-CLKCstC7.js} +7 -7
- package/documentation/ListContainerSection-D5k1iNKV.js +153 -0
- package/documentation/ListContainerSection-rSWVVjfW.js +39 -0
- package/documentation/ListItemSection-Bwr8NH-L.js +37 -0
- package/documentation/{ListItemSection-CSGZ02bM.js → ListItemSection-CU785nZa.js} +29 -31
- package/documentation/LiveDemoSection-B5j1ZGtq.js +1 -0
- package/documentation/LiveDemoSection-BHq8HDj_.js +56 -0
- package/documentation/LiveDemonstrationsSection-B5iutGu_.js +539 -0
- package/documentation/LiveDemonstrationsSection-CSSKZrex.js +28 -0
- package/documentation/LivePriceFeedSection-CguTUwPn.js +143 -0
- package/documentation/LivePriceFeedSection-Ie3MtK5B.js +20 -0
- package/documentation/LoaderSection-CFIf6Cwz.js +23 -0
- package/documentation/LoaderSection-wo7VqH01.js +96 -0
- package/documentation/{LogoSection-cA1-d0HZ.js → LogoSection-D2o5z1v0.js} +17 -19
- package/documentation/LogoSection-D53DSw6e.js +101 -0
- package/documentation/LucideIconsSection-BGhOfZ2S.js +169 -0
- package/documentation/LucideIconsSection-BmFnUvOo.js +1 -0
- package/documentation/MFESupportSection-BfZN1ruk.js +218 -0
- package/documentation/MFESupportSection-BsWrFr8n.js +97 -0
- package/documentation/MacOSBackgroundsSection-5FwRmwSt.js +290 -0
- package/documentation/MacOSBackgroundsSection-c6o8Zwj8.js +1 -0
- package/documentation/MacOSColorsSection-VDHMUov0.js +1 -0
- package/documentation/MacOSColorsSection-YEtkXtT9.js +305 -0
- package/documentation/MacOSCommandPaletteSection-BNpF6qM7.js +33 -0
- package/documentation/MacOSCommandPaletteSection-WanBDypB.js +143 -0
- package/documentation/MacOSMaterialsSection-CL8WKiWl.js +280 -0
- package/documentation/MacOSMaterialsSection-DEKSWeUb.js +1 -0
- package/documentation/MacOSNotificationBannerSection-CccD5Lyx.js +169 -0
- package/documentation/MacOSNotificationBannerSection-DCtVh4mP.js +25 -0
- package/documentation/MacOSPopoverSection-4bHoomAo.js +33 -0
- package/documentation/MacOSPopoverSection-Ct-lBd1V.js +171 -0
- package/documentation/MacOSSearchBarSection-DNHmkSQF.js +17 -0
- package/documentation/MacOSSearchBarSection-DruORVTc.js +108 -0
- package/documentation/MacOSSegmentedControlSection-BFuSzzal.js +138 -0
- package/documentation/MacOSSegmentedControlSection-D5ZpMdGL.js +19 -0
- package/documentation/MacOSSidebarSection-D0DT2x5w.js +177 -0
- package/documentation/MacOSSidebarSection-DDGdU_Wr.js +35 -0
- package/documentation/MacOSTahoeSection-DKtgrult.js +98 -0
- package/documentation/MacOSTahoeSection-ErqFjWX4.js +1 -0
- package/documentation/MacOSTextStylesSection-B4xYNfLo.js +362 -0
- package/documentation/MacOSTextStylesSection-DL6rw2CK.js +1 -0
- package/documentation/MacOSToolbarSection-BUSdw1-N.js +100 -0
- package/documentation/MacOSToolbarSection-GwXI_HM0.js +23 -0
- package/documentation/MacOSWidgetSection-B2c5Jiqb.js +107 -0
- package/documentation/MacOSWidgetSection-BEuuPDcI.js +19 -0
- package/documentation/MacOSWindowSection-CJSekAJj.js +237 -0
- package/documentation/MacOSWindowSection-ChLGxWkJ.js +22 -0
- package/documentation/{MenuItemsGuideSection-BEfxqfd9.js → MenuItemsGuideSection-3rCQXRbI.js} +54 -28
- package/documentation/{MenuItemsGuideSection-CfznmIHZ.js → MenuItemsGuideSection-CW7znzf9.js} +2 -2
- package/documentation/ModalSection-B4Ay5tMm.js +30 -0
- package/documentation/{ModalSection-BVcg_G6k.js → ModalSection-Bm2c0cZ3.js} +40 -42
- package/documentation/NFTGridSection-C167-_5t.js +160 -0
- package/documentation/NFTGridSection-DjfH-Wb_.js +19 -0
- package/documentation/NestedRoutesSection-BQBIMv26.js +39 -0
- package/documentation/NestedRoutesSection-BTIFUyu3.js +120 -0
- package/documentation/{NotificationCardSection-CWTEHVFj.js → NotificationCardSection-Dc9k9m0z.js} +25 -27
- package/documentation/NotificationCardSection-fW5poNpt.js +29 -0
- package/documentation/PaginationSection-Chxlsiar.js +19 -0
- package/documentation/{PaginationSection-CXoO7Tqy.js → PaginationSection-Dkozx1NR.js} +45 -32
- package/documentation/{PanelActionCardSection-DUUgo6Og.js → PanelActionCardSection-CrHET2qr.js} +15 -17
- package/documentation/PanelActionCardSection-DH2lDA1v.js +29 -0
- package/documentation/PanelCardSection-4huN71a_.js +16 -0
- package/documentation/{PanelCardSection-DIHreAsZ.js → PanelCardSection-Cxgvd7E9.js} +14 -16
- package/documentation/{ParamTabSection-CsAlq-vR.js → ParamTabSection-CnjtpMbJ.js} +59 -36
- package/documentation/ParamTabSection-hI9LkIIz.js +94 -0
- package/documentation/{PieChartSection-D6mEMs7Q.js → PieChartSection-CE8jY8sm.js} +14 -14
- package/documentation/PieChartSection-pR0IxyX_.js +19 -0
- package/documentation/PinCodeSection-LjDbYnRA.js +32 -0
- package/documentation/PinCodeSection-oizvSnHW.js +235 -0
- package/documentation/ProgressbarSection-BMNMHb6k.js +22 -0
- package/documentation/ProgressbarSection-DLvuQRqH.js +142 -0
- package/documentation/RadarChartSection-DHx5xzix.js +21 -0
- package/documentation/{RadarChartSection-it0GwAMZ.js → RadarChartSection-GP1TRYs5.js} +7 -7
- package/documentation/RadioGroupSection-C0qbZCEy.js +269 -0
- package/documentation/RadioGroupSection-Dnu2rhAj.js +37 -0
- package/documentation/RadioSection-DWy0dsvZ.js +27 -0
- package/documentation/RadioSection-rHrHsIha.js +183 -0
- package/documentation/{RevealContentSection-Bts-6Rko.js → RevealContentSection-B7d6jZ3X.js} +14 -17
- package/documentation/RevealContentSection-DFeDG75P.js +21 -0
- package/documentation/RouteConfigurationSection-DdJ4tMwr.js +88 -0
- package/documentation/RouteConfigurationSection-Dj3ufwLr.js +42 -0
- package/documentation/ScrollToTopSection-BzOG4wgw.js +38 -0
- package/documentation/ScrollToTopSection-JmnQvioT.js +141 -0
- package/documentation/ScrollbarSection-C0IIJ90W.js +30 -0
- package/documentation/{ScrollbarSection-BpAYMy71.js → ScrollbarSection-DNOAHiAh.js} +25 -27
- package/documentation/SelectSection-CYx0EZJX.js +346 -0
- package/documentation/SelectSection-DupPSBKF.js +52 -0
- package/documentation/SettingsPanelSection-GhZ66ZdG.js +139 -0
- package/documentation/SettingsPanelSection-legHUhoT.js +1 -0
- package/documentation/ShadowsSection-kJV-ttft.js +101 -0
- package/documentation/ShadowsSection-qjRGL4vP.js +1 -0
- package/documentation/SidebarMenuSection-CQunF-oM.js +47 -0
- package/documentation/SidebarMenuSection-Co9XzZgf.js +108 -0
- package/documentation/SidebarSection-BTlba2fa.js +70 -0
- package/documentation/SidebarSection-CpNHqxdM.js +26 -0
- package/documentation/SizingSection-D9czoO1Z.js +1 -0
- package/documentation/SizingSection-DZRyEWJJ.js +97 -0
- package/documentation/{SkeletonSection-C9aIHnTu.js → SkeletonSection-BQKerqPH.js} +79 -81
- package/documentation/SkeletonSection-DbSYqbHd.js +53 -0
- package/documentation/SonomaColorsSection-B7L_UMjk.js +1 -0
- package/documentation/SonomaColorsSection-BqkMh28_.js +388 -0
- package/documentation/SonomaLayoutContentSection-BaASk6kp.js +16 -0
- package/documentation/SonomaLayoutContentSection-DFQgh479.js +67 -0
- package/documentation/SonomaLayoutSidebarSection-CZ5rM-MM.js +96 -0
- package/documentation/SonomaLayoutSidebarSection-DeT7y6e9.js +27 -0
- package/documentation/SonomaMaterialsSection-B7ttrkPV.js +9 -0
- package/documentation/SonomaMaterialsSection-BYnpWwWt.js +334 -0
- package/documentation/SonomaShapesSection-C17AoE2N.js +10 -0
- package/documentation/SonomaShapesSection-OlLezJRJ.js +482 -0
- package/documentation/SonomaTypographySection-BXzAkRPA.js +388 -0
- package/documentation/SonomaTypographySection-C7bSKgHl.js +1 -0
- package/documentation/SpacingSystemSection-RdnzjpSK.js +1 -0
- package/documentation/{SpacingSystemSection-BKr7Htp3.js → SpacingSystemSection-rDylj_Un.js} +23 -26
- package/documentation/SpinnerSection-BTEupT8d.js +78 -0
- package/documentation/SpinnerSection-C2SLIBWN.js +18 -0
- package/documentation/StandaloneAppSection-BVoGM1bD.js +71 -0
- package/documentation/StandaloneAppSection-uFMN1K6i.js +178 -0
- package/documentation/StepperSection-BWUQ_trS.js +29 -0
- package/documentation/{StepperSection-BDCZY0X7.js → StepperSection-BgQQn9Q3.js} +66 -46
- package/documentation/SwitchSection-CQo06YWs.js +223 -0
- package/documentation/SwitchSection-D-6X3w3o.js +28 -0
- package/documentation/SystemOverviewSection-BNhzrT6U.js +1 -0
- package/documentation/SystemOverviewSection-Bc602IQG.js +58 -0
- package/documentation/TabModalSection-D7XCTFKs.js +52 -0
- package/documentation/{TabModalSection-RfCWr-Nn.js → TabModalSection-dg7LGi0f.js} +55 -31
- package/documentation/TabSection-DPBrpBDN.js +85 -0
- package/documentation/{TabSection-dsMwz13E.js → TabSection-DnD_Te-M.js} +71 -49
- package/documentation/{TabSelectSection-Bvb7eunu.js → TabSelectSection-Cs-fzdRm.js} +90 -60
- package/documentation/TabSelectSection-jn_HenZM.js +102 -0
- package/documentation/TahoeCommandPaletteSection-Bs1enphA.js +21 -0
- package/documentation/TahoeCommandPaletteSection-ClvMCVUp.js +217 -0
- package/documentation/TahoeDialogSection-Bzn59FfH.js +228 -0
- package/documentation/TahoeDialogSection-LvFsaPNL.js +22 -0
- package/documentation/TahoeDockSection-CE4XVjge.js +29 -0
- package/documentation/TahoeDockSection-g1Jh1rVL.js +228 -0
- package/documentation/TahoeLayoutContentSection-B1bj_svL.js +17 -0
- package/documentation/TahoeLayoutContentSection-DGwHsEUK.js +68 -0
- package/documentation/TahoeLayoutSidebarSection-Cxx0NWOi.js +36 -0
- package/documentation/TahoeLayoutSidebarSection-pdzlnLJM.js +114 -0
- package/documentation/TahoeNotificationBannerSection-CHvq-2oK.js +22 -0
- package/documentation/TahoeNotificationBannerSection-DhskVUvC.js +144 -0
- package/documentation/TahoePopoverSection-C8iVtmgr.js +24 -0
- package/documentation/TahoePopoverSection-DF-k50xc.js +220 -0
- package/documentation/TahoeProgressBarSection-BSjAa0mD.js +124 -0
- package/documentation/TahoeProgressBarSection-Clt50U44.js +16 -0
- package/documentation/TahoeSearchBarSection-6TwJoFIv.js +10 -0
- package/documentation/TahoeSearchBarSection-BGwmcq39.js +117 -0
- package/documentation/TahoeSegmentedControlSection-C2tTySf8.js +178 -0
- package/documentation/TahoeSegmentedControlSection-gNZlSqSs.js +12 -0
- package/documentation/TahoeToolbarSection-B_mWA-L_.js +17 -0
- package/documentation/TahoeToolbarSection-CndSLUyc.js +81 -0
- package/documentation/TahoeWidgetSection-CxG_Uvly.js +13 -0
- package/documentation/TahoeWidgetSection-DvFhIsO1.js +121 -0
- package/documentation/TahoeWindowSection-CA5hMRQS.js +289 -0
- package/documentation/TahoeWindowSection-Dlt40eFZ.js +24 -0
- package/documentation/TailwindConfigSection-BOdIg9p4.js +23 -0
- package/documentation/TailwindConfigSection-DTEVHxfY.js +128 -0
- package/documentation/TestingSection-p_a3TLFg.js +150 -0
- package/documentation/TestingSection-sjNf_YR6.js +36 -0
- package/documentation/TextareaSection-B7E_PE99.js +34 -0
- package/documentation/TextareaSection-CD-kZuGl.js +258 -0
- package/documentation/ThemeArchitectureSection-CJLVZw1o.js +141 -0
- package/documentation/ThemeArchitectureSection-DTZZ9DW8.js +25 -0
- package/documentation/ThemeConfigurationSection-66D5XJGb.js +1 -0
- package/documentation/ThemeConfigurationSection-DKcO1n8f.js +139 -0
- package/documentation/ThemeHooksSection-D5hs4bKp.js +154 -0
- package/documentation/ThemeHooksSection-nIFp-F0q.js +1 -0
- package/documentation/ThemeProviderIntegrationSection-T1FvNpOT.js +122 -0
- package/documentation/ThemeProviderIntegrationSection-hBvjgSG1.js +73 -0
- package/documentation/{ThemeProviderRequiredSection-DqP08VHV.js → ThemeProviderRequiredSection-03ZYoeWQ.js} +34 -15
- package/documentation/ThemeProviderRequiredSection-MqNAwToF.js +1 -0
- package/documentation/ThemeProviderSection-FaRMSgB9.js +1 -0
- package/documentation/ThemeProviderSection-nIdNlZjq.js +143 -0
- package/documentation/{ToastSection-DKMWIbdY.js → ToastSection-C3RQpSox.js} +43 -45
- package/documentation/{ToastSection-CHIsWCMb.js → ToastSection-DF3L8jxW.js} +3 -2
- package/documentation/ToggleBarSection-CJmXFlZa.js +45 -0
- package/documentation/ToggleBarSection-D26Mzrf4.js +186 -0
- package/documentation/{TooltipSection-BEHBbMa3.js → TooltipSection-DhfdMLxD.js} +31 -32
- package/documentation/TooltipSection-DugfAWzs.js +64 -0
- package/documentation/TopupButtonSection-6THSaEvz.js +98 -0
- package/documentation/TopupButtonSection-DO2sCxIV.js +25 -0
- package/documentation/TransactionInfoSection-7ZWdfrbf.js +16 -0
- package/documentation/TransactionInfoSection-BL23o6Ao.js +86 -0
- package/documentation/TucuUiLogoSection-BsYhhz9J.js +85 -0
- package/documentation/TucuUiLogoSection-Dyfblzs7.js +26 -0
- package/documentation/{TypographySection-CS29TD-z.js → TypographySection-BPidPkKl.js} +49 -51
- package/documentation/TypographySection-BVa4hd_u.js +33 -0
- package/documentation/TypographySection-Co79YcZL.js +1 -0
- package/documentation/{TypographySection-BYKjiWVg.js → TypographySection-Ct3zNnpW.js} +101 -39
- package/documentation/UsageExamplesSection-BWDg6OSi.js +84 -0
- package/documentation/UsageExamplesSection-D-ai2y1j.js +150 -0
- package/documentation/UsingThemeSystemSection-D7Wbw8sv.js +164 -0
- package/documentation/UsingThemeSystemSection-Db0Hs67Q.js +106 -0
- package/documentation/ValidationSystemSection-Bqszchd7.js +222 -0
- package/documentation/ValidationSystemSection-CcHCIL8A.js +53 -0
- package/documentation/WCAGPrinciplesSection-BYNqkBJt.js +1 -0
- package/documentation/WCAGPrinciplesSection-DHmT6YQy.js +126 -0
- package/index-BaGqriuz.js +1178 -0
- package/{index-B919yoKU.js → index-lfg6LZ1p.js} +35916 -27770
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +360 -309
- package/package.json +1 -1
- package/themes/components/settings/index.d.ts +1 -0
- package/themes/components/settings/switch-variant.d.ts +5 -0
- package/themes/components/theme-provider/mfe-app-theme-provider.d.ts +3 -3
- package/themes/components/theme-provider/standalone-app-theme-provider.d.ts +3 -3
- package/themes/components/theme-provider/theme-wrapper.d.ts +21 -3
- package/themes/config/index.d.ts +204 -6
- package/themes/hooks/use-theme.d.ts +8 -1
- package/documentation/APIReferenceSection-DbOW061V.js +0 -1
- package/documentation/APIReferenceSection-Du0MZCoJ.js +0 -142
- package/documentation/ActiveLinkSection-BGpGlMTH.js +0 -22
- package/documentation/AdvancedColorSystemSection-1eETjbou.js +0 -173
- package/documentation/AdvancedColorSystemSection-C_eqsBNI.js +0 -17
- package/documentation/AdvancedFeaturesSection-7lV7C31c.js +0 -1
- package/documentation/AdvancedFeaturesSection-D-Ffzpz3.js +0 -82
- package/documentation/AdvancedFeaturesSection-RfxchAOl.js +0 -1
- package/documentation/AdvancedFeaturesSection-WW45iO-b.js +0 -100
- package/documentation/AlertSection-BOFVhA1g.js +0 -25
- package/documentation/AlertSection-CGWU5jll.js +0 -98
- package/documentation/AnchorLinkSection-BtvgojmR.js +0 -19
- package/documentation/AnchorLinkSection-CuaUyMqx.js +0 -67
- package/documentation/ArchitecturalPatternsComparisonSection-Bya3HmHR.js +0 -325
- package/documentation/ArchitecturalPatternsComparisonSection-Cct4N7m-.js +0 -31
- package/documentation/ArchitectureOverviewSection-CUOtV6ls.js +0 -1
- package/documentation/ArchitectureOverviewSection-DpWx_2Bf.js +0 -88
- package/documentation/AreaChartSection-BiOx_GTY.js +0 -22
- package/documentation/AuthorCardSection-DX0cKXK5.js +0 -81
- package/documentation/AuthorCardSection-oZJrBne3.js +0 -17
- package/documentation/AvatarSection-BF8AHso5.js +0 -91
- package/documentation/AvatarSection-DFZRExPm.js +0 -18
- package/documentation/BadgeSection-Eubi1tsh.js +0 -48
- package/documentation/BarChartSection-FEYjU4KU.js +0 -23
- package/documentation/BasicTableSection-B9bKnLi-.js +0 -103
- package/documentation/BasicTableSection-CusSzdcT.js +0 -35
- package/documentation/BasicUsageSection-BG4Pc9k4.js +0 -103
- package/documentation/BasicUsageSection-DH6UNtI5.js +0 -45
- package/documentation/BestPracticesSection-62DacEXN.js +0 -57
- package/documentation/BestPracticesSection-BKjhJ7SP.js +0 -1
- package/documentation/BestPracticesSection-BPJ8cXNQ.js +0 -49
- package/documentation/BestPracticesSection-BV98CcXZ.js +0 -1
- package/documentation/BestPracticesSection-B_tSX3Jz.js +0 -43
- package/documentation/BestPracticesSection-BgqLgEsR.js +0 -41
- package/documentation/BestPracticesSection-CJxGoR3b.js +0 -1
- package/documentation/BestPracticesSection-CNxmULJM.js +0 -1
- package/documentation/BestPracticesSection-CYQxggWQ.js +0 -1
- package/documentation/BestPracticesSection-CufdR26r.js +0 -1
- package/documentation/BestPracticesSection-DUw_zF3Z.js +0 -83
- package/documentation/BestPracticesSection-Ds5tgGhx.js +0 -84
- package/documentation/BestPracticesSection-pnOXAOcz.js +0 -1
- package/documentation/BorderRadiusSection-B-xRRmpt.js +0 -72
- package/documentation/BorderRadiusSection-D3_hite-.js +0 -1
- package/documentation/ButtonDripSection-Bq2trgi9.js +0 -21
- package/documentation/ButtonLoaderSection-BkZR40rr.js +0 -155
- package/documentation/ButtonLoaderSection-TA9F06jI.js +0 -30
- package/documentation/CardContainerSection-C9HSknEx.js +0 -21
- package/documentation/CardContainerSection-DIfOTJYu.js +0 -63
- package/documentation/CardSection-mS-Ch_Wa.js +0 -25
- package/documentation/CardTitleSection-DYrnGbKk.js +0 -74
- package/documentation/CardTitleSection-FCO91j-A.js +0 -19
- package/documentation/CarouselCardsSection-BOmdJ8sA.js +0 -37
- package/documentation/CarouselCardsSection-BkW9fRDK.js +0 -147
- package/documentation/CarouselImageSection-BU0aNnY2.js +0 -38
- package/documentation/CarouselImageSection-DFkfrzFr.js +0 -152
- package/documentation/CarouselSection-BHZ8M5xZ.js +0 -24
- package/documentation/CarouselSection-MvNa-xnX.js +0 -99
- package/documentation/CheckboxSection-B0Gt7gad.js +0 -137
- package/documentation/CheckboxSection-DSFkIiq4.js +0 -26
- package/documentation/CodeExamplesSection-BNK9u1ps.js +0 -137
- package/documentation/CodeExamplesSection-BVuFSksS.js +0 -28
- package/documentation/CoinCardSection-BcxUp5vJ.js +0 -13
- package/documentation/CoinInfoCardSection-CBpYuVSH.js +0 -12
- package/documentation/CoinListBoxSection-CVxxDv6M.js +0 -24
- package/documentation/CoinListBoxSection-ZeZtAY1w.js +0 -106
- package/documentation/CollapseSection-ZiHdVuyN.js +0 -27
- package/documentation/CollectionCardSection-C0EeHF2p.js +0 -17
- package/documentation/CollectionSelectListSection-CTUcrZ-y.js +0 -120
- package/documentation/CollectionSelectListSection-Co60q-dc.js +0 -15
- package/documentation/ColorCustomizationSection-BNqRFB4h.js +0 -117
- package/documentation/ColorCustomizationSection-DWy4OcKJ.js +0 -1
- package/documentation/ColorSystemSection-D-93TJO5.js +0 -149
- package/documentation/ColorSystemSection-sxcz5x0_.js +0 -1
- package/documentation/CommonErrorsSection-C64GnPLp.js +0 -1
- package/documentation/CommonErrorsSection-CRAmyfbU.js +0 -54
- package/documentation/ComponentAnatomySection-BBTeLqvK.js +0 -1
- package/documentation/ComponentAnatomySection-i5nESJy-.js +0 -72
- package/documentation/ComponentStatusSection-BoQ6pWPk.js +0 -1
- package/documentation/ComponentStatusSection-L3WhGtvd.js +0 -84
- package/documentation/ComposedChartSection-C2fLNqlN.js +0 -21
- package/documentation/CurrencySwapIconsSection-DIsl8XfS.js +0 -50
- package/documentation/CurrencySwapIconsSection-DZdwXbtX.js +0 -7
- package/documentation/CustomColorPaletteSection-BbyEWvys.js +0 -19
- package/documentation/CustomColorPaletteSection-CoZp4nDP.js +0 -54
- package/documentation/CustomIconsSection-CyIwxujL.js +0 -3
- package/documentation/CustomIconsSection-JyFWzdlQ.js +0 -162
- package/documentation/DefiAppLogoSection-WHr3s0Ad.js +0 -120
- package/documentation/DefiAppLogoSection-YKNWdKJ9.js +0 -36
- package/documentation/DesignPrinciplesSection-B_GCf-TN.js +0 -1
- package/documentation/DesignPrinciplesSection-Bu6GQUnw.js +0 -81
- package/documentation/DrawerSection-DM456jmL.js +0 -41
- package/documentation/DynamicRoutesSection-CHGWzNV9.js +0 -42
- package/documentation/DynamicRoutesSection-CpYydeHL.js +0 -100
- package/documentation/FileInputSection-4dc8Q1Wt.js +0 -65
- package/documentation/FileInputSection-DoWfjcaF.js +0 -277
- package/documentation/FileStructureSection-Bzez9Hd6.js +0 -26
- package/documentation/FormComponentsSection-DHM6T8pl.js +0 -1
- package/documentation/FormComponentsSection-DsBtR_gO.js +0 -116
- package/documentation/FormMethodsSection-BgXiWvMF.js +0 -55
- package/documentation/FormMethodsSection-XH36D1LE.js +0 -119
- package/documentation/HamburgerSection-V1hhJqa1.js +0 -18
- package/documentation/HookCategoriesSection-BaBYyUdi.js +0 -97
- package/documentation/HookCategoriesSection-DHxPCrfX.js +0 -1
- package/documentation/HookDocumentationSection-_NXvN1pT.js +0 -272
- package/documentation/HookDocumentationSection-bApnr3Aw.js +0 -73
- package/documentation/HookFeaturesSection-Brl18YzK.js +0 -1
- package/documentation/HookFeaturesSection-DXVmzuOk.js +0 -81
- package/documentation/IconArchitectureSection-CUwumPZY.js +0 -108
- package/documentation/IconArchitectureSection-D5_IkMHf.js +0 -1
- package/documentation/IconSizingGuideSection-BzrzVCbT.js +0 -69
- package/documentation/IconSizingGuideSection-C7Fh243F.js +0 -1
- package/documentation/IconSystemAPISection-C0nEVDsJ.js +0 -61
- package/documentation/IconSystemAPISection-CHqujHDv.js +0 -1
- package/documentation/IconSystemBenefitsSection-C0jGyq77.js +0 -41
- package/documentation/IconSystemBenefitsSection-DU5K42op.js +0 -1
- package/documentation/ImageSection-BBZf4uXm.js +0 -80
- package/documentation/ImplementationExamplesSection-BnU40rmH.js +0 -284
- package/documentation/ImplementationGuidelinesSection-C0Ei_kUp.js +0 -52
- package/documentation/ImplementationGuidelinesSection-Cn-2qyE2.js +0 -1
- package/documentation/ImplementationStatusSection-Bm5EzhII.js +0 -23
- package/documentation/ImplementationStatusSection-C_FgS9kQ.js +0 -1
- package/documentation/ImplementedFeaturesSection-BKqzwhRm.js +0 -1
- package/documentation/ImplementedFeaturesSection-CfV8XwSL.js +0 -116
- package/documentation/InfoCardSection-DW7X3XYu.js +0 -37
- package/documentation/InputSearcherSection-BgRzReMB.js +0 -32
- package/documentation/InputSearcherSection-D0bHIaIm.js +0 -180
- package/documentation/InputSection-C7NfZGdN.js +0 -159
- package/documentation/InputSection-CVEft8nN.js +0 -37
- package/documentation/KeyValueRowSection-DwtRLFEk.js +0 -16
- package/documentation/KeyValueRowSection-rlozAJgf.js +0 -104
- package/documentation/KeyboardNavigationSection-3b87RzQ7.js +0 -1
- package/documentation/KeyboardNavigationSection-dPPkpoVf.js +0 -69
- package/documentation/LayoutPrinciplesSection-BtsZKX-5.js +0 -106
- package/documentation/LayoutPrinciplesSection-Dixe4kuu.js +0 -1
- package/documentation/LayoutTypesSection-C6SnGIzG.js +0 -1
- package/documentation/LineChartSection-C1BoxgOz.js +0 -21
- package/documentation/ListContainerSection-BY8fuQ0N.js +0 -38
- package/documentation/ListContainerSection-jQ8VpdPb.js +0 -125
- package/documentation/ListItemSection-bqNbFxdu.js +0 -36
- package/documentation/LiveDemoSection-CnIo8dCa.js +0 -1
- package/documentation/LiveDemoSection-DuWpxEHf.js +0 -16
- package/documentation/LiveDemonstrationsSection-BvR1Bz8e.js +0 -4
- package/documentation/LiveDemonstrationsSection-UzXnub3E.js +0 -445
- package/documentation/LivePriceFeedSection-BuexUW6S.js +0 -20
- package/documentation/LivePriceFeedSection-ub8T1WoB.js +0 -97
- package/documentation/LoaderSection-CHjzNBqH.js +0 -22
- package/documentation/LoaderSection-DbwOjMpC.js +0 -98
- package/documentation/LogoSection-BUh5lmBE.js +0 -100
- package/documentation/LucideIconsSection-B1IMM2KE.js +0 -128
- package/documentation/LucideIconsSection-Co1s4hKe.js +0 -1
- package/documentation/MFESupportSection-Dr7eg8uq.js +0 -354
- package/documentation/MFESupportSection-DzZl0CIg.js +0 -122
- package/documentation/ModalSection-BmNkZvIh.js +0 -29
- package/documentation/NFTGridSection-Cz_FGqV1.js +0 -117
- package/documentation/NFTGridSection-DonGXR6D.js +0 -19
- package/documentation/NestedRoutesSection-CGDh3mVk.js +0 -36
- package/documentation/NestedRoutesSection-CbNTjSyW.js +0 -88
- package/documentation/NotificationCardSection-D-RuM0y9.js +0 -28
- package/documentation/PaginationSection-9zPPhyeb.js +0 -18
- package/documentation/PanelActionCardSection-CsKsEYu0.js +0 -28
- package/documentation/PanelCardSection-CI4XrWyM.js +0 -15
- package/documentation/ParamTabSection-B-zD0RYM.js +0 -92
- package/documentation/PieChartSection-PGxAtJ72.js +0 -19
- package/documentation/PinCodeSection-BCdJ0lzv.js +0 -22
- package/documentation/PinCodeSection-DM13ihMi.js +0 -167
- package/documentation/ProgressbarSection-C-EdDZov.js +0 -21
- package/documentation/ProgressbarSection-OK-cEcMg.js +0 -144
- package/documentation/RadarChartSection-84HPI4Rp.js +0 -21
- package/documentation/RadioGroupSection-CJtcGRyu.js +0 -192
- package/documentation/RadioGroupSection-DhLvpocf.js +0 -27
- package/documentation/RadioSection-BUsz7AT5.js +0 -130
- package/documentation/RadioSection-uSJ3ocsA.js +0 -23
- package/documentation/RevealContentSection-CYG67QMT.js +0 -21
- package/documentation/RouteConfigurationSection-BZ9jyZ80.js +0 -40
- package/documentation/RouteConfigurationSection-Ba2pGQvU.js +0 -81
- package/documentation/ScrollToTopSection-bZKLFCb7.js +0 -142
- package/documentation/ScrollToTopSection-s0EgBP4c.js +0 -36
- package/documentation/ScrollbarSection-Dfr5kanP.js +0 -29
- package/documentation/SelectSection-CAJsrAt1.js +0 -242
- package/documentation/SelectSection-Ck9kof0T.js +0 -39
- package/documentation/SettingsPanelSection-C_VSlU40.js +0 -126
- package/documentation/SettingsPanelSection-DcI36bvi.js +0 -1
- package/documentation/ShadowsSection-BGOHvc7s.js +0 -1
- package/documentation/ShadowsSection-WKoyApzY.js +0 -90
- package/documentation/SidebarMenuSection-B1YTDAvp.js +0 -80
- package/documentation/SidebarMenuSection-CL_DUahR.js +0 -46
- package/documentation/SidebarSection-DAKVjdKW.js +0 -25
- package/documentation/SidebarSection-yUTI2f67.js +0 -62
- package/documentation/SizingSection-B0hZc0Tv.js +0 -86
- package/documentation/SizingSection-BkzlMAgi.js +0 -1
- package/documentation/SkeletonSection-CPXc0Imd.js +0 -52
- package/documentation/SpacingSystemSection-CTYSoQtS.js +0 -1
- package/documentation/SpinnerSection-BvppjgYE.js +0 -80
- package/documentation/SpinnerSection-Dye2VsDO.js +0 -17
- package/documentation/StandaloneAppSection-BkFjxSm_.js +0 -244
- package/documentation/StandaloneAppSection-Bnd5ch-2.js +0 -69
- package/documentation/StepperSection-Dw3QuSWb.js +0 -28
- package/documentation/SwitchSection-DZ9sij1G.js +0 -152
- package/documentation/SwitchSection-DsRz6B1J.js +0 -20
- package/documentation/SystemOverviewSection-BaNo0I2y.js +0 -1
- package/documentation/SystemOverviewSection-BigtfVY7.js +0 -93
- package/documentation/TabModalSection-BkJ1YqWc.js +0 -51
- package/documentation/TabSection-Di0SYL7X.js +0 -84
- package/documentation/TabSelectSection-BpbqlP7n.js +0 -100
- package/documentation/TailwindConfigSection-B_csna96.js +0 -19
- package/documentation/TailwindConfigSection-BlZrFbRo.js +0 -152
- package/documentation/TestingSection-CTGhtMbC.js +0 -48
- package/documentation/TestingSection-gDlp2c6i.js +0 -12
- package/documentation/TextareaSection-BUb28uf9.js +0 -142
- package/documentation/TextareaSection-DVI2FN0w.js +0 -21
- package/documentation/ThemeArchitectureSection-OAEQSwXw.js +0 -86
- package/documentation/ThemeArchitectureSection-R7ukBzZf.js +0 -1
- package/documentation/ThemeConfigurationSection-B2HuLkPF.js +0 -132
- package/documentation/ThemeConfigurationSection-Go4dxqfS.js +0 -1
- package/documentation/ThemeHooksSection-C33tvQEw.js +0 -119
- package/documentation/ThemeHooksSection-kZu-s-uU.js +0 -1
- package/documentation/ThemeProviderIntegrationSection-Cj9xrgmY.js +0 -61
- package/documentation/ThemeProviderIntegrationSection-DvgYf8Rt.js +0 -108
- package/documentation/ThemeProviderRequiredSection-ScLygoBY.js +0 -1
- package/documentation/ThemeProviderSection-6LHY1gR6.js +0 -1
- package/documentation/ThemeProviderSection-D43ZRcch.js +0 -128
- package/documentation/ToggleBarSection-ByVhbSBC.js +0 -37
- package/documentation/ToggleBarSection-DbkIzwZP.js +0 -127
- package/documentation/TooltipSection-DTGXs9vT.js +0 -62
- package/documentation/TopupButtonSection-ClbM3sSZ.js +0 -100
- package/documentation/TopupButtonSection-DDZwSfM6.js +0 -24
- package/documentation/TransactionInfoSection-CO5s67_e.js +0 -16
- package/documentation/TransactionInfoSection-ZFQbN2wP.js +0 -65
- package/documentation/TucuUiLogoSection-BB5Zr58k.js +0 -26
- package/documentation/TucuUiLogoSection-CcGnK1Ai.js +0 -88
- package/documentation/TypographySection-CgEGnQ1Q.js +0 -1
- package/documentation/TypographySection-DGjPTW0m.js +0 -32
- package/documentation/UsageExamplesSection-BNrxVQj2.js +0 -83
- package/documentation/UsageExamplesSection-BiZ1MahQ.js +0 -147
- package/documentation/UsingThemeSystemSection-CS0WVYk1.js +0 -140
- package/documentation/UsingThemeSystemSection-vyxb3z51.js +0 -176
- package/documentation/ValidationSystemSection-BH4fYDTN.js +0 -197
- package/documentation/ValidationSystemSection-BOIkiXR1.js +0 -54
- package/documentation/WCAGPrinciplesSection-BQWhdatC.js +0 -116
- package/documentation/WCAGPrinciplesSection-BoHN-ga-.js +0 -1
- package/index-COj1N7FC.js +0 -1137
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { H as d, T as l, C as t, a as c } from "../index-lfg6LZ1p.js";
|
|
3
|
+
import { Settings as i } from "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const A = () => {
|
|
8
|
+
const s = [
|
|
9
|
+
{ label: "Mode", value: "'light' | 'dark'" },
|
|
10
|
+
{ label: "Theme Style", value: "'default' | 'macos' | 'macos-tahoe'" },
|
|
11
|
+
{ label: "Direction", value: "'ltr' | 'rtl'" },
|
|
12
|
+
{ label: "Layout", value: "6 options (constrained by theme style)" },
|
|
13
|
+
{ label: "Primary Color", value: "34+ predefined presets" },
|
|
14
|
+
{ label: "Dark Primary Color", value: "34+ predefined presets" },
|
|
15
|
+
{ label: "Secondary Color", value: "34+ predefined presets" },
|
|
16
|
+
{ label: "Dark Secondary Color", value: "34+ predefined presets" },
|
|
17
|
+
{ label: "Accent Color", value: "34+ predefined presets" },
|
|
18
|
+
{ label: "Dark Accent Color", value: "34+ predefined presets" },
|
|
19
|
+
{ label: "Muted Color", value: "34+ predefined presets" },
|
|
20
|
+
{ label: "Dark Muted Color", value: "34+ predefined presets" },
|
|
21
|
+
{ label: "Dark Background", value: "Theme base colors" },
|
|
22
|
+
{ label: "Light Background", value: "Theme base colors" },
|
|
23
|
+
{ label: "Light Dark", value: "Theme base colors" },
|
|
24
|
+
{ label: "Dark Light Dark", value: "Theme base colors" },
|
|
25
|
+
{ label: "Language", value: "'en' | 'es' | 'fr'" }
|
|
26
|
+
], n = [
|
|
27
|
+
{ name: "DEFAULT_PRIMARY", color: "#0052ff" },
|
|
28
|
+
{ name: "DEFAULT_DARK_PRIMARY", color: "#578bfa" },
|
|
29
|
+
{ name: "DEFAULT_SECONDARY", color: "#f3f4f6" },
|
|
30
|
+
{ name: "DEFAULT_DARK_SECONDARY", color: "#172131" },
|
|
31
|
+
{ name: "DEFAULT_ACCENT", color: "#f7d21a" },
|
|
32
|
+
{ name: "DEFAULT_DARK_ACCENT", color: "#936000" },
|
|
33
|
+
{ name: "DEFAULT_MUTED", color: "#4a5565" },
|
|
34
|
+
{ name: "DEFAULT_DARK_MUTED", color: "#828a99" },
|
|
35
|
+
{ name: "DEFAULT_LIGHT_BG", color: "#ffffff" },
|
|
36
|
+
{ name: "DEFAULT_DARK_BG", color: "#030712" },
|
|
37
|
+
{ name: "DEFAULT_LIGHT_DARK", color: "#f9fafb" },
|
|
38
|
+
{ name: "DEFAULT_DARK_LIGHT_DARK", color: "#0a101d" },
|
|
39
|
+
{ name: "BLUE", color: "#105eff" },
|
|
40
|
+
{ name: "DARK_BLUE", color: "#2162ee" },
|
|
41
|
+
{ name: "GREEN", color: "#129961" },
|
|
42
|
+
{ name: "DARK_GREEN", color: "#159962" },
|
|
43
|
+
{ name: "ORANGE", color: "#e1591b" },
|
|
44
|
+
{ name: "DARK_ORANGE", color: "#e66020" },
|
|
45
|
+
{ name: "GRAY", color: "#6a7282" },
|
|
46
|
+
{ name: "DARK_GRAY", color: "#6a7282" },
|
|
47
|
+
{ name: "INDIGO", color: "#596ff2" },
|
|
48
|
+
{ name: "DARK_INDIGO", color: "#5c71ee" },
|
|
49
|
+
{ name: "PINK", color: "#cb51bb" },
|
|
50
|
+
{ name: "DARK_PINK", color: "#d058c1" },
|
|
51
|
+
{ name: "PURPLE", color: "#9d6bf2" },
|
|
52
|
+
{ name: "DARK_PURPLE", color: "#bc7bfb" },
|
|
53
|
+
{ name: "RED", color: "#e13947" },
|
|
54
|
+
{ name: "DARK_RED", color: "#e6404e" },
|
|
55
|
+
{ name: "TEAL", color: "#0093cb" },
|
|
56
|
+
{ name: "DARK_TEAL", color: "#0095cd" },
|
|
57
|
+
{ name: "YELLOW", color: "#cf9700" },
|
|
58
|
+
{ name: "DARK_YELLOW", color: "#c79e00" },
|
|
59
|
+
{ name: "CHARTREUSE", color: "#56b340" },
|
|
60
|
+
{ name: "DARK_CHARTREUSE", color: "#7bc869" }
|
|
61
|
+
];
|
|
62
|
+
return /* @__PURE__ */ a(m, { children: [
|
|
63
|
+
/* @__PURE__ */ e(
|
|
64
|
+
d,
|
|
65
|
+
{
|
|
66
|
+
title: "Theme Configuration",
|
|
67
|
+
description: "All available configuration options and the 34 color presets that power the theming system.",
|
|
68
|
+
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-emerald-500 via-teal-500 to-cyan-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(i, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
69
|
+
}
|
|
70
|
+
),
|
|
71
|
+
/* @__PURE__ */ a("section", { className: "space-y-8", children: [
|
|
72
|
+
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
73
|
+
/* @__PURE__ */ e(l, { tag: "h2", className: "mb-2", children: "Available Options" }),
|
|
74
|
+
/* @__PURE__ */ e(
|
|
75
|
+
l,
|
|
76
|
+
{
|
|
77
|
+
tag: "p",
|
|
78
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
79
|
+
children: "All configurable properties managed by the theme store"
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
] }),
|
|
83
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(c, { title: "Configuration Options", children: /* @__PURE__ */ e("div", { className: "space-y-3", children: s.map((r, o) => /* @__PURE__ */ a(
|
|
84
|
+
"div",
|
|
85
|
+
{
|
|
86
|
+
className: "flex justify-between items-center py-2 px-3 bg-gray-200 dark:bg-gray-800 rounded-lg",
|
|
87
|
+
children: [
|
|
88
|
+
/* @__PURE__ */ e("span", { className: "font-medium text-sm", children: r.label }),
|
|
89
|
+
/* @__PURE__ */ e("code", { className: "text-xs text-gray-600 dark:text-gray-400", children: r.value })
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
o
|
|
93
|
+
)) }) }) })
|
|
94
|
+
] }),
|
|
95
|
+
/* @__PURE__ */ a("section", { className: "space-y-8", children: [
|
|
96
|
+
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
97
|
+
/* @__PURE__ */ e(l, { tag: "h2", className: "mb-2", children: "Color Presets" }),
|
|
98
|
+
/* @__PURE__ */ e(
|
|
99
|
+
l,
|
|
100
|
+
{
|
|
101
|
+
tag: "p",
|
|
102
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
103
|
+
children: "34 predefined colors (12 default + 22 spectrum)"
|
|
104
|
+
}
|
|
105
|
+
)
|
|
106
|
+
] }),
|
|
107
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(c, { title: "Preset Palette", children: /* @__PURE__ */ a("div", { className: "space-y-4", children: [
|
|
108
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3", children: n.map((r, o) => /* @__PURE__ */ a(
|
|
109
|
+
"div",
|
|
110
|
+
{
|
|
111
|
+
className: "flex items-center gap-2 p-2 bg-gray-200 dark:bg-gray-800 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors",
|
|
112
|
+
children: [
|
|
113
|
+
/* @__PURE__ */ e(
|
|
114
|
+
"div",
|
|
115
|
+
{
|
|
116
|
+
className: "w-4 h-4 rounded-full border border-gray-300 dark:border-gray-600 shadow-sm",
|
|
117
|
+
style: { backgroundColor: r.color }
|
|
118
|
+
}
|
|
119
|
+
),
|
|
120
|
+
/* @__PURE__ */ e("span", { className: "text-xs font-medium truncate", children: r.name })
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
o
|
|
124
|
+
)) }),
|
|
125
|
+
/* @__PURE__ */ e(
|
|
126
|
+
l,
|
|
127
|
+
{
|
|
128
|
+
tag: "p",
|
|
129
|
+
className: "text-xs text-gray-500 dark:text-gray-400 mt-2",
|
|
130
|
+
children: "Spectrum colors use the -50 value from Tucu UI Design Tokens. Default colors use semantic mappings (e.g., blue-60 for primary)."
|
|
131
|
+
}
|
|
132
|
+
)
|
|
133
|
+
] }) }) })
|
|
134
|
+
] })
|
|
135
|
+
] });
|
|
136
|
+
};
|
|
137
|
+
export {
|
|
138
|
+
A as default
|
|
139
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { jsxs as t, Fragment as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { H as c, T as r, ax as o, C as a, a as s } from "../index-lfg6LZ1p.js";
|
|
3
|
+
import { Anchor as d, Zap as n, Palette as h, Globe as m } from "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const w = () => /* @__PURE__ */ t(l, { children: [
|
|
8
|
+
/* @__PURE__ */ e(
|
|
9
|
+
c,
|
|
10
|
+
{
|
|
11
|
+
title: "Theme Hooks",
|
|
12
|
+
description: "Powerful hooks for accessing, modifying, and reacting to theme state throughout your application.",
|
|
13
|
+
icon: /* @__PURE__ */ e("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-yellow-500 via-amber-500 to-orange-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(d, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
14
|
+
}
|
|
15
|
+
),
|
|
16
|
+
/* @__PURE__ */ t("section", { className: "space-y-8", children: [
|
|
17
|
+
/* @__PURE__ */ t("div", { className: "text-center", children: [
|
|
18
|
+
/* @__PURE__ */ e(r, { tag: "h2", className: "mb-2", children: "Available Hooks" }),
|
|
19
|
+
/* @__PURE__ */ e(
|
|
20
|
+
r,
|
|
21
|
+
{
|
|
22
|
+
tag: "p",
|
|
23
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
24
|
+
children: "Three hooks that power the theming system"
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
] }),
|
|
28
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 sm:gap-6", children: [
|
|
29
|
+
{
|
|
30
|
+
icon: /* @__PURE__ */ e(n, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
31
|
+
title: "useTheme",
|
|
32
|
+
description: "Main hook — all state, setters, and actions. Zustand-based with localStorage persistence.",
|
|
33
|
+
iconBgClassName: "from-yellow-500 via-amber-500 to-orange-500"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
icon: /* @__PURE__ */ e(h, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
37
|
+
title: "useThemeColor",
|
|
38
|
+
description: "Injects 12 CSS variables (6 light/dark pairs) into document root for real-time theming.",
|
|
39
|
+
iconBgClassName: "from-blue-500 via-cyan-500 to-teal-500"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
icon: /* @__PURE__ */ e(m, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
43
|
+
title: "useDirection",
|
|
44
|
+
description: "Sets document.documentElement.dir for RTL/LTR layout support.",
|
|
45
|
+
iconBgClassName: "from-purple-500 via-violet-500 to-indigo-500"
|
|
46
|
+
}
|
|
47
|
+
].map((i) => /* @__PURE__ */ e(o, { layout: "horizontal", ...i }, i.title)) })
|
|
48
|
+
] }),
|
|
49
|
+
/* @__PURE__ */ t("section", { className: "space-y-8", children: [
|
|
50
|
+
/* @__PURE__ */ t("div", { className: "text-center", children: [
|
|
51
|
+
/* @__PURE__ */ e(r, { tag: "h2", className: "mb-2", children: "useTheme Hook API" }),
|
|
52
|
+
/* @__PURE__ */ e(
|
|
53
|
+
r,
|
|
54
|
+
{
|
|
55
|
+
tag: "p",
|
|
56
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
57
|
+
children: "Complete state, setters, and actions reference"
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ t("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
|
|
62
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(s, { title: "State Properties", children: /* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
63
|
+
/* @__PURE__ */ t(
|
|
64
|
+
r,
|
|
65
|
+
{
|
|
66
|
+
tag: "p",
|
|
67
|
+
className: "text-gray-600 dark:text-gray-400 text-sm",
|
|
68
|
+
children: [
|
|
69
|
+
"Accessed via",
|
|
70
|
+
" ",
|
|
71
|
+
/* @__PURE__ */ e("code", { className: "px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs", children: "useTheme()" }),
|
|
72
|
+
" ",
|
|
73
|
+
"— persisted to localStorage automatically."
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
),
|
|
77
|
+
/* @__PURE__ */ t("ul", { className: "text-xs text-gray-600 dark:text-gray-400 space-y-1 ml-4 list-disc", children: [
|
|
78
|
+
/* @__PURE__ */ e("li", { children: "mode, layout, direction, logo, lang" }),
|
|
79
|
+
/* @__PURE__ */ e("li", { children: "colorScheme (theme variant: default | macos | macos-tahoe)" }),
|
|
80
|
+
/* @__PURE__ */ e("li", { children: "primaryPreset, darkPrimaryPreset" }),
|
|
81
|
+
/* @__PURE__ */ e("li", { children: "secondaryPreset, darkSecondaryPreset" }),
|
|
82
|
+
/* @__PURE__ */ e("li", { children: "accentPreset, darkAccentPreset" }),
|
|
83
|
+
/* @__PURE__ */ e("li", { children: "mutedPreset, darkMutedPreset" }),
|
|
84
|
+
/* @__PURE__ */ e("li", { children: "darkBgPreset, lightBgPreset" }),
|
|
85
|
+
/* @__PURE__ */ e("li", { children: "lightDarkPreset, darkLightDarkPreset" }),
|
|
86
|
+
/* @__PURE__ */ e("li", { children: "isSettingsOpen, showSettings" })
|
|
87
|
+
] })
|
|
88
|
+
] }) }) }),
|
|
89
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(s, { title: "Setters", children: /* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
90
|
+
/* @__PURE__ */ e(
|
|
91
|
+
r,
|
|
92
|
+
{
|
|
93
|
+
tag: "p",
|
|
94
|
+
className: "text-gray-600 dark:text-gray-400 text-sm",
|
|
95
|
+
children: "Each setter updates the store and persists to localStorage."
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ t("ul", { className: "text-xs text-gray-600 dark:text-gray-400 space-y-1 ml-4 list-disc", children: [
|
|
99
|
+
/* @__PURE__ */ e("li", { children: "setMode, setLayout, setDirection" }),
|
|
100
|
+
/* @__PURE__ */ e("li", { children: "setPrimaryPreset, setDarkPrimaryPreset" }),
|
|
101
|
+
/* @__PURE__ */ e("li", { children: "setSecondaryPreset, setDarkSecondaryPreset" }),
|
|
102
|
+
/* @__PURE__ */ e("li", { children: "setAccentPreset, setDarkAccentPreset" }),
|
|
103
|
+
/* @__PURE__ */ e("li", { children: "setMutedPreset, setDarkMutedPreset" }),
|
|
104
|
+
/* @__PURE__ */ e("li", { children: "setDarkBgPreset, setLightBgPreset" }),
|
|
105
|
+
/* @__PURE__ */ e("li", { children: "setLightDarkPreset, setDarkLightDarkPreset" }),
|
|
106
|
+
/* @__PURE__ */ e("li", { children: "setLogo, setLang, setIsSettingsOpen" }),
|
|
107
|
+
/* @__PURE__ */ e("li", { children: "setShowSettings" })
|
|
108
|
+
] })
|
|
109
|
+
] }) }) }),
|
|
110
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(s, { title: "Actions", children: /* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
111
|
+
/* @__PURE__ */ e(
|
|
112
|
+
r,
|
|
113
|
+
{
|
|
114
|
+
tag: "p",
|
|
115
|
+
className: "text-gray-600 dark:text-gray-400 text-sm",
|
|
116
|
+
children: "Compound actions that apply multiple state changes at once."
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
/* @__PURE__ */ t("ul", { className: "text-xs text-gray-600 dark:text-gray-400 space-y-1 ml-4 list-disc", children: [
|
|
120
|
+
/* @__PURE__ */ e("li", { children: "restoreDefaultColors — resets all color presets to defaults" }),
|
|
121
|
+
/* @__PURE__ */ e("li", { children: "applyMacOSTheme — sets layout to MACOS + Sonoma style" }),
|
|
122
|
+
/* @__PURE__ */ e("li", { children: "applyMacOSTahoeTheme — sets layout to MACOS_TAHOE + Tahoe style" }),
|
|
123
|
+
/* @__PURE__ */ e("li", { children: "applyThemeStyle(style: THEME_VARIANT) — generic applicator for any variant" })
|
|
124
|
+
] })
|
|
125
|
+
] }) }) }),
|
|
126
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(s, { title: "useThemeColor Variables", children: /* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
127
|
+
/* @__PURE__ */ t(
|
|
128
|
+
r,
|
|
129
|
+
{
|
|
130
|
+
tag: "p",
|
|
131
|
+
className: "text-gray-600 dark:text-gray-400 text-sm",
|
|
132
|
+
children: [
|
|
133
|
+
"12 CSS variables injected into",
|
|
134
|
+
" ",
|
|
135
|
+
/* @__PURE__ */ e("code", { className: "px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs", children: "document.documentElement" }),
|
|
136
|
+
":"
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
),
|
|
140
|
+
/* @__PURE__ */ t("ul", { className: "text-xs text-gray-600 dark:text-gray-400 space-y-1 ml-4 list-disc", children: [
|
|
141
|
+
/* @__PURE__ */ e("li", { children: "--color-semantic-bg-primary / dark variant" }),
|
|
142
|
+
/* @__PURE__ */ e("li", { children: "--color-semantic-bg-secondary / dark variant" }),
|
|
143
|
+
/* @__PURE__ */ e("li", { children: "--color-semantic-accent-bold-yellow / dark variant" }),
|
|
144
|
+
/* @__PURE__ */ e("li", { children: "--color-semantic-fg-muted / dark variant" }),
|
|
145
|
+
/* @__PURE__ */ e("li", { children: "--color-semantic-bg / dark variant" }),
|
|
146
|
+
/* @__PURE__ */ e("li", { children: "--color-semantic-bg-secondary-wash / dark variant" })
|
|
147
|
+
] })
|
|
148
|
+
] }) }) })
|
|
149
|
+
] })
|
|
150
|
+
] })
|
|
151
|
+
] });
|
|
152
|
+
export {
|
|
153
|
+
w as default
|
|
154
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-BaGqriuz.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>{const a=[{icon:e.jsx(t.Zap,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"useTheme",description:"Main hook — all state, setters, and actions. Zustand-based with localStorage persistence.",iconBgClassName:"from-yellow-500 via-amber-500 to-orange-500"},{icon:e.jsx(t.Palette,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"useThemeColor",description:"Injects 12 CSS variables (6 light/dark pairs) into document root for real-time theming.",iconBgClassName:"from-blue-500 via-cyan-500 to-teal-500"},{icon:e.jsx(t.Globe,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"useDirection",description:"Sets document.documentElement.dir for RTL/LTR layout support.",iconBgClassName:"from-purple-500 via-violet-500 to-indigo-500"}];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Theme Hooks",description:"Powerful hooks for accessing, modifying, and reacting to theme state throughout your application.",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-yellow-500 via-amber-500 to-orange-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Anchor,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Available Hooks"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Three hooks that power the theming system"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 sm:gap-6",children:a.map(r=>e.jsx(s.FeatureCard,{layout:"horizontal",...r},r.title))})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"useTheme Hook API"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Complete state, setters, and actions reference"})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"State Properties",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 text-sm",children:["Accessed via"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"useTheme()"})," ","— persisted to localStorage automatically."]}),e.jsxs("ul",{className:"text-xs text-gray-600 dark:text-gray-400 space-y-1 ml-4 list-disc",children:[e.jsx("li",{children:"mode, layout, direction, logo, lang"}),e.jsx("li",{children:"colorScheme (theme variant: default | macos | macos-tahoe)"}),e.jsx("li",{children:"primaryPreset, darkPrimaryPreset"}),e.jsx("li",{children:"secondaryPreset, darkSecondaryPreset"}),e.jsx("li",{children:"accentPreset, darkAccentPreset"}),e.jsx("li",{children:"mutedPreset, darkMutedPreset"}),e.jsx("li",{children:"darkBgPreset, lightBgPreset"}),e.jsx("li",{children:"lightDarkPreset, darkLightDarkPreset"}),e.jsx("li",{children:"isSettingsOpen, showSettings"})]})]})})}),e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Setters",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 text-sm",children:"Each setter updates the store and persists to localStorage."}),e.jsxs("ul",{className:"text-xs text-gray-600 dark:text-gray-400 space-y-1 ml-4 list-disc",children:[e.jsx("li",{children:"setMode, setLayout, setDirection"}),e.jsx("li",{children:"setPrimaryPreset, setDarkPrimaryPreset"}),e.jsx("li",{children:"setSecondaryPreset, setDarkSecondaryPreset"}),e.jsx("li",{children:"setAccentPreset, setDarkAccentPreset"}),e.jsx("li",{children:"setMutedPreset, setDarkMutedPreset"}),e.jsx("li",{children:"setDarkBgPreset, setLightBgPreset"}),e.jsx("li",{children:"setLightDarkPreset, setDarkLightDarkPreset"}),e.jsx("li",{children:"setLogo, setLang, setIsSettingsOpen"}),e.jsx("li",{children:"setShowSettings"})]})]})})}),e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Actions",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 text-sm",children:"Compound actions that apply multiple state changes at once."}),e.jsxs("ul",{className:"text-xs text-gray-600 dark:text-gray-400 space-y-1 ml-4 list-disc",children:[e.jsx("li",{children:"restoreDefaultColors — resets all color presets to defaults"}),e.jsx("li",{children:"applyMacOSTheme — sets layout to MACOS + Sonoma style"}),e.jsx("li",{children:"applyMacOSTahoeTheme — sets layout to MACOS_TAHOE + Tahoe style"}),e.jsx("li",{children:"applyThemeStyle(style: THEME_VARIANT) — generic applicator for any variant"})]})]})})}),e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"useThemeColor Variables",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 text-sm",children:["12 CSS variables injected into"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"document.documentElement"}),":"]}),e.jsxs("ul",{className:"text-xs text-gray-600 dark:text-gray-400 space-y-1 ml-4 list-disc",children:[e.jsx("li",{children:"--color-semantic-bg-primary / dark variant"}),e.jsx("li",{children:"--color-semantic-bg-secondary / dark variant"}),e.jsx("li",{children:"--color-semantic-accent-bold-yellow / dark variant"}),e.jsx("li",{children:"--color-semantic-fg-muted / dark variant"}),e.jsx("li",{children:"--color-semantic-bg / dark variant"}),e.jsx("li",{children:"--color-semantic-bg-secondary-wash / dark variant"})]})]})})})]})]})]})};exports.default=i;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { jsxs as t, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { H as i, T as o, C as a, a as r, c as s } from "../index-lfg6LZ1p.js";
|
|
3
|
+
import { Puzzle as m } from "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const P = () => /* @__PURE__ */ t(n, { children: [
|
|
8
|
+
/* @__PURE__ */ e(
|
|
9
|
+
i,
|
|
10
|
+
{
|
|
11
|
+
title: "ThemeProvider Integration",
|
|
12
|
+
description: "The routing system is fully integrated with ThemeProvider. It provides seamless navigation, layout management, and theming through the architecturalPatterns prop.",
|
|
13
|
+
icon: /* @__PURE__ */ e("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-blue-500 via-indigo-500 to-purple-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(m, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
14
|
+
}
|
|
15
|
+
),
|
|
16
|
+
/* @__PURE__ */ t("section", { className: "space-y-8", children: [
|
|
17
|
+
/* @__PURE__ */ t("div", { className: "text-center", children: [
|
|
18
|
+
/* @__PURE__ */ e(o, { tag: "h2", className: "mb-2", children: "ThemeProvider Props" }),
|
|
19
|
+
/* @__PURE__ */ e(
|
|
20
|
+
o,
|
|
21
|
+
{
|
|
22
|
+
tag: "p",
|
|
23
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
24
|
+
children: "The ThemeProvider accepts layout, theming, and routing configuration"
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
] }),
|
|
28
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(r, { title: "Interface Definition", children: /* @__PURE__ */ e(s, { language: "typescript", code: `interface StandaloneAppProviderProps
|
|
29
|
+
extends Omit<ThemeWrapperProps, 'menuItems' | 'children'> {
|
|
30
|
+
menuItems: StandaloneAppRoutesMenuItem[]; // Required: Array of route items
|
|
31
|
+
customRoutes?: React.ReactElement<typeof Routes>; // Override default routing
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
interface ThemeWrapperProps {
|
|
35
|
+
// Layout Configuration
|
|
36
|
+
themeStyle?: 'default' | 'macos' | 'macos-tahoe';
|
|
37
|
+
layout?: LAYOUT_OPTIONS; // Values depend on themeStyle
|
|
38
|
+
|
|
39
|
+
// Layout values per themeStyle:
|
|
40
|
+
// default → 'clean' | 'admin' | 'horizontal'
|
|
41
|
+
// macos → 'macos'
|
|
42
|
+
// macos-tahoe → 'macos-tahoe' | 'macos-tahoe-dock'
|
|
43
|
+
|
|
44
|
+
// Branding
|
|
45
|
+
logo?: { name: string; secondName?: string };
|
|
46
|
+
rightButton?: React.ReactNode;
|
|
47
|
+
|
|
48
|
+
// Theming
|
|
49
|
+
brandColor?: PresetColorType;
|
|
50
|
+
mode?: 'light' | 'dark';
|
|
51
|
+
customPaletteColor?: { ... };
|
|
52
|
+
|
|
53
|
+
// Settings Panel
|
|
54
|
+
showSettings?: boolean;
|
|
55
|
+
|
|
56
|
+
// Layout customization
|
|
57
|
+
className?: string;
|
|
58
|
+
headerClassName?: string;
|
|
59
|
+
contentClassName?: string;
|
|
60
|
+
fullWidth?: boolean;
|
|
61
|
+
}` }) }) })
|
|
62
|
+
] }),
|
|
63
|
+
/* @__PURE__ */ t("section", { className: "space-y-8", children: [
|
|
64
|
+
/* @__PURE__ */ t("div", { className: "text-center", children: [
|
|
65
|
+
/* @__PURE__ */ e(o, { tag: "h2", className: "mb-2", children: "Usage Examples" }),
|
|
66
|
+
/* @__PURE__ */ e(
|
|
67
|
+
o,
|
|
68
|
+
{
|
|
69
|
+
tag: "p",
|
|
70
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
71
|
+
children: "Custom layout and routing override patterns"
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
] }),
|
|
75
|
+
/* @__PURE__ */ t("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
|
|
76
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(r, { title: "Custom Layout", children: /* @__PURE__ */ e(s, { language: "tsx", code: `import { ThemeProvider } from '@e-burgos/tucu-ui';
|
|
77
|
+
|
|
78
|
+
function CustomLayoutApp() {
|
|
79
|
+
return (
|
|
80
|
+
<ThemeProvider
|
|
81
|
+
themeStyle="default"
|
|
82
|
+
layout="admin"
|
|
83
|
+
menuItems={menuItems}
|
|
84
|
+
logo={{ name: 'My', secondName: 'App' }}
|
|
85
|
+
rightButton={
|
|
86
|
+
<div className="flex gap-2">
|
|
87
|
+
<Button variant="ghost" size="small">
|
|
88
|
+
Profile
|
|
89
|
+
</Button>
|
|
90
|
+
<Button variant="ghost" size="small">
|
|
91
|
+
Logout
|
|
92
|
+
</Button>
|
|
93
|
+
</div>
|
|
94
|
+
}
|
|
95
|
+
headerClassName="bg-brand/5 border-b border-brand/20"
|
|
96
|
+
contentClassName="max-w-7xl mx-auto"
|
|
97
|
+
fullWidth={false}
|
|
98
|
+
/>
|
|
99
|
+
);
|
|
100
|
+
}` }) }) }),
|
|
101
|
+
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(r, { title: "Custom Routes Override", children: /* @__PURE__ */ e(s, { language: "tsx", code: `import { ThemeProvider } from '@e-burgos/tucu-ui';
|
|
102
|
+
|
|
103
|
+
function App() {
|
|
104
|
+
return (
|
|
105
|
+
<ThemeProvider
|
|
106
|
+
menuItems={menuItems}
|
|
107
|
+
customRoutes={
|
|
108
|
+
<Routes>
|
|
109
|
+
<Route path="/" element={<HomePage />} />
|
|
110
|
+
<Route path="/custom" element={<CustomPage />} />
|
|
111
|
+
<Route path="*" element={<NotFoundPage />} />
|
|
112
|
+
</Routes>
|
|
113
|
+
}
|
|
114
|
+
/>
|
|
115
|
+
);
|
|
116
|
+
}` }) }) })
|
|
117
|
+
] })
|
|
118
|
+
] })
|
|
119
|
+
] });
|
|
120
|
+
export {
|
|
121
|
+
P as default
|
|
122
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-BaGqriuz.js"),o=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const a=()=>e.jsxs(e.Fragment,{children:[e.jsx(t.HeroCard,{title:"ThemeProvider Integration",description:"The routing system is fully integrated with ThemeProvider. It provides seamless navigation, layout management, and theming through the architecturalPatterns prop.",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-blue-500 via-indigo-500 to-purple-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(o.Puzzle,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(t.Typography,{tag:"h2",className:"mb-2",children:"ThemeProvider Props"}),e.jsx(t.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"The ThemeProvider accepts layout, theming, and routing configuration"})]}),e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Interface Definition",children:e.jsx(t.CodeBlock,{language:"typescript",code:`interface StandaloneAppProviderProps
|
|
2
|
+
extends Omit<ThemeWrapperProps, 'menuItems' | 'children'> {
|
|
3
|
+
menuItems: StandaloneAppRoutesMenuItem[]; // Required: Array of route items
|
|
4
|
+
customRoutes?: React.ReactElement<typeof Routes>; // Override default routing
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
interface ThemeWrapperProps {
|
|
8
|
+
// Layout Configuration
|
|
9
|
+
themeStyle?: 'default' | 'macos' | 'macos-tahoe';
|
|
10
|
+
layout?: LAYOUT_OPTIONS; // Values depend on themeStyle
|
|
11
|
+
|
|
12
|
+
// Layout values per themeStyle:
|
|
13
|
+
// default → 'clean' | 'admin' | 'horizontal'
|
|
14
|
+
// macos → 'macos'
|
|
15
|
+
// macos-tahoe → 'macos-tahoe' | 'macos-tahoe-dock'
|
|
16
|
+
|
|
17
|
+
// Branding
|
|
18
|
+
logo?: { name: string; secondName?: string };
|
|
19
|
+
rightButton?: React.ReactNode;
|
|
20
|
+
|
|
21
|
+
// Theming
|
|
22
|
+
brandColor?: PresetColorType;
|
|
23
|
+
mode?: 'light' | 'dark';
|
|
24
|
+
customPaletteColor?: { ... };
|
|
25
|
+
|
|
26
|
+
// Settings Panel
|
|
27
|
+
showSettings?: boolean;
|
|
28
|
+
|
|
29
|
+
// Layout customization
|
|
30
|
+
className?: string;
|
|
31
|
+
headerClassName?: string;
|
|
32
|
+
contentClassName?: string;
|
|
33
|
+
fullWidth?: boolean;
|
|
34
|
+
}`})})})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(t.Typography,{tag:"h2",className:"mb-2",children:"Usage Examples"}),e.jsx(t.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Custom layout and routing override patterns"})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Custom Layout",children:e.jsx(t.CodeBlock,{language:"tsx",code:`import { ThemeProvider } from '@e-burgos/tucu-ui';
|
|
35
|
+
|
|
36
|
+
function CustomLayoutApp() {
|
|
37
|
+
return (
|
|
38
|
+
<ThemeProvider
|
|
39
|
+
themeStyle="default"
|
|
40
|
+
layout="admin"
|
|
41
|
+
menuItems={menuItems}
|
|
42
|
+
logo={{ name: 'My', secondName: 'App' }}
|
|
43
|
+
rightButton={
|
|
44
|
+
<div className="flex gap-2">
|
|
45
|
+
<Button variant="ghost" size="small">
|
|
46
|
+
Profile
|
|
47
|
+
</Button>
|
|
48
|
+
<Button variant="ghost" size="small">
|
|
49
|
+
Logout
|
|
50
|
+
</Button>
|
|
51
|
+
</div>
|
|
52
|
+
}
|
|
53
|
+
headerClassName="bg-brand/5 border-b border-brand/20"
|
|
54
|
+
contentClassName="max-w-7xl mx-auto"
|
|
55
|
+
fullWidth={false}
|
|
56
|
+
/>
|
|
57
|
+
);
|
|
58
|
+
}`})})}),e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Custom Routes Override",children:e.jsx(t.CodeBlock,{language:"tsx",code:`import { ThemeProvider } from '@e-burgos/tucu-ui';
|
|
59
|
+
|
|
60
|
+
function App() {
|
|
61
|
+
return (
|
|
62
|
+
<ThemeProvider
|
|
63
|
+
menuItems={menuItems}
|
|
64
|
+
customRoutes={
|
|
65
|
+
<Routes>
|
|
66
|
+
<Route path="/" element={<HomePage />} />
|
|
67
|
+
<Route path="/custom" element={<CustomPage />} />
|
|
68
|
+
<Route path="*" element={<NotFoundPage />} />
|
|
69
|
+
</Routes>
|
|
70
|
+
}
|
|
71
|
+
/>
|
|
72
|
+
);
|
|
73
|
+
}`})})})]})]})]});exports.default=a;
|
|
@@ -1,13 +1,32 @@
|
|
|
1
|
-
import { jsxs as r, Fragment as
|
|
2
|
-
import {
|
|
3
|
-
import { AlertTriangle as
|
|
1
|
+
import { jsxs as r, Fragment as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { H as a, T as t, aj as d, C as i, a as n } from "../index-lfg6LZ1p.js";
|
|
3
|
+
import { Shield as s, AlertTriangle as l } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
8
|
-
/* @__PURE__ */ e(
|
|
7
|
+
const y = () => /* @__PURE__ */ r(o, { children: [
|
|
8
|
+
/* @__PURE__ */ e(
|
|
9
|
+
a,
|
|
10
|
+
{
|
|
11
|
+
title: "ThemeProvider Required",
|
|
12
|
+
description: "Essential prerequisite for using the layout system and theme hooks. All layout components depend on the theme context.",
|
|
13
|
+
icon: /* @__PURE__ */ e("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-purple-500 via-violet-500 to-indigo-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(s, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
14
|
+
}
|
|
15
|
+
),
|
|
16
|
+
/* @__PURE__ */ r("div", { className: "text-center", children: [
|
|
17
|
+
/* @__PURE__ */ e(t, { tag: "h2", className: "mb-2", children: "ThemeProvider Required" }),
|
|
18
|
+
/* @__PURE__ */ e(
|
|
19
|
+
t,
|
|
20
|
+
{
|
|
21
|
+
tag: "p",
|
|
22
|
+
className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
|
|
23
|
+
children: "Essential prerequisite for using the layout system and theme hooks"
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
] }),
|
|
27
|
+
/* @__PURE__ */ e(d, { variant: "warning", children: /* @__PURE__ */ r("div", { children: [
|
|
9
28
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-2 font-semibold", children: [
|
|
10
|
-
/* @__PURE__ */ e(
|
|
29
|
+
/* @__PURE__ */ e(l, { className: "h-4 w-4" }),
|
|
11
30
|
"ThemeProvider Required"
|
|
12
31
|
] }),
|
|
13
32
|
/* @__PURE__ */ r("div", { children: [
|
|
@@ -17,8 +36,8 @@ const g = () => /* @__PURE__ */ r(t, { children: [
|
|
|
17
36
|
"."
|
|
18
37
|
] })
|
|
19
38
|
] }) }),
|
|
20
|
-
/* @__PURE__ */ e(
|
|
21
|
-
/* @__PURE__ */ r(
|
|
39
|
+
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Routing System", className: "mt-2 mb-2", children: /* @__PURE__ */ r("div", { className: "w-full space-y-6 p-4 sm:p-6", children: [
|
|
40
|
+
/* @__PURE__ */ r(t, { tag: "p", className: "text-gray-600 dark:text-gray-400", children: [
|
|
22
41
|
/* @__PURE__ */ e("strong", { children: "ThemeProvider" }),
|
|
23
42
|
" includes",
|
|
24
43
|
" ",
|
|
@@ -28,9 +47,9 @@ const g = () => /* @__PURE__ */ r(t, { children: [
|
|
|
28
47
|
] }),
|
|
29
48
|
/* @__PURE__ */ r("div", { className: "space-y-4", children: [
|
|
30
49
|
/* @__PURE__ */ r("div", { className: "p-4 bg-blue-50 dark:bg-blue-900/20 rounded-lg border border-blue-200 dark:border-blue-800", children: [
|
|
31
|
-
/* @__PURE__ */ e(
|
|
50
|
+
/* @__PURE__ */ e(t, { tag: "h4", className: "font-semibold mb-2", children: "1. Automatic Routing (Default)" }),
|
|
32
51
|
/* @__PURE__ */ r(
|
|
33
|
-
|
|
52
|
+
t,
|
|
34
53
|
{
|
|
35
54
|
tag: "p",
|
|
36
55
|
className: "text-sm text-gray-700 dark:text-gray-300 mb-2",
|
|
@@ -45,7 +64,7 @@ const g = () => /* @__PURE__ */ r(t, { children: [
|
|
|
45
64
|
}
|
|
46
65
|
),
|
|
47
66
|
/* @__PURE__ */ r(
|
|
48
|
-
|
|
67
|
+
t,
|
|
49
68
|
{
|
|
50
69
|
tag: "p",
|
|
51
70
|
className: "text-xs text-gray-600 dark:text-gray-400",
|
|
@@ -59,9 +78,9 @@ const g = () => /* @__PURE__ */ r(t, { children: [
|
|
|
59
78
|
)
|
|
60
79
|
] }),
|
|
61
80
|
/* @__PURE__ */ r("div", { className: "p-4 bg-green-50 dark:bg-green-900/20 rounded-lg border border-green-200 dark:border-green-800", children: [
|
|
62
|
-
/* @__PURE__ */ e(
|
|
81
|
+
/* @__PURE__ */ e(t, { tag: "h4", className: "font-semibold mb-2", children: "2. Custom Routing" }),
|
|
63
82
|
/* @__PURE__ */ r(
|
|
64
|
-
|
|
83
|
+
t,
|
|
65
84
|
{
|
|
66
85
|
tag: "p",
|
|
67
86
|
className: "text-sm text-gray-700 dark:text-gray-300 mb-2",
|
|
@@ -76,7 +95,7 @@ const g = () => /* @__PURE__ */ r(t, { children: [
|
|
|
76
95
|
}
|
|
77
96
|
),
|
|
78
97
|
/* @__PURE__ */ r(
|
|
79
|
-
|
|
98
|
+
t,
|
|
80
99
|
{
|
|
81
100
|
tag: "p",
|
|
82
101
|
className: "text-xs text-gray-600 dark:text-gray-400",
|
|
@@ -91,5 +110,5 @@ const g = () => /* @__PURE__ */ r(t, { children: [
|
|
|
91
110
|
] }) }) })
|
|
92
111
|
] });
|
|
93
112
|
export {
|
|
94
|
-
|
|
113
|
+
y as default
|
|
95
114
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-BaGqriuz.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=()=>e.jsxs(e.Fragment,{children:[e.jsx(r.HeroCard,{title:"ThemeProvider Required",description:"Essential prerequisite for using the layout system and theme hooks. All layout components depend on the theme context.",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-purple-500 via-violet-500 to-indigo-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Shield,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("div",{className:"text-center",children:[e.jsx(r.Typography,{tag:"h2",className:"mb-2",children:"ThemeProvider Required"}),e.jsx(r.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Essential prerequisite for using the layout system and theme hooks"})]}),e.jsx(r.Alert,{variant:"warning",children:e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 font-semibold",children:[e.jsx(t.AlertTriangle,{className:"h-4 w-4"}),"ThemeProvider Required"]}),e.jsxs("div",{children:["Before using any layout components or theme hooks, you MUST wrap your application with ThemeProvider. All layout components and theme hooks depend on the theme context provided by ThemeProvider. Located in"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-700 rounded text-xs",children:"ui/tucu-ui/src/themes/components/theme-provider"}),"."]})]})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Routing System",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs(r.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:[e.jsx("strong",{children:"ThemeProvider"})," includes"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-700 rounded text-xs",children:"BrowserRouter"})," ","from React Router and handles routing automatically. You have two options:"]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"p-4 bg-blue-50 dark:bg-blue-900/20 rounded-lg border border-blue-200 dark:border-blue-800",children:[e.jsx(r.Typography,{tag:"h4",className:"font-semibold mb-2",children:"1. Automatic Routing (Default)"}),e.jsxs(r.Typography,{tag:"p",className:"text-sm text-gray-700 dark:text-gray-300 mb-2",children:["Provide ",e.jsx("code",{children:"menuItems"})," with ",e.jsx("code",{children:"component"})," ","prop. ThemeProvider will automatically generate routes from your menu items."]}),e.jsxs(r.Typography,{tag:"p",className:"text-xs text-gray-600 dark:text-gray-400",children:[e.jsx("strong",{children:"Use when:"})," You want routing based on menu items. Each menu item with a ",e.jsx("code",{children:"component"})," prop becomes a route."]})]}),e.jsxs("div",{className:"p-4 bg-green-50 dark:bg-green-900/20 rounded-lg border border-green-200 dark:border-green-800",children:[e.jsx(r.Typography,{tag:"h4",className:"font-semibold mb-2",children:"2. Custom Routing"}),e.jsxs(r.Typography,{tag:"p",className:"text-sm text-gray-700 dark:text-gray-300 mb-2",children:["Provide ",e.jsx("code",{children:"customRoutes"})," prop with your own"," ",e.jsx("code",{children:"<Routes>"})," component. This gives you full control over routing."]}),e.jsxs(r.Typography,{tag:"p",className:"text-xs text-gray-600 dark:text-gray-400",children:[e.jsx("strong",{children:"Use when:"})," You need custom routing logic, landing pages without navigation, or complex routing scenarios."]})]})]})]})})})]});exports.default=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-BaGqriuz.js"),i=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const o=[{key:"prop",label:"Prop"},{key:"type",label:"Type"},{key:"default",label:"Default"},{key:"description",label:"Description"}],s=[{prop:"menuItems",type:"IMenuItem[]",default:"Required",description:"Navigation menu items"},{prop:"themeStyle",type:"'default' | 'macos' | 'macos-tahoe'",default:"'default'",description:"Visual theme variant — constrains available layouts"},{prop:"layout",type:"LAYOUT_OPTIONS",default:"HORIZONTAL",description:"Layout type (constrained by themeStyle)"},{prop:"mode",type:"'light' | 'dark'",default:"'dark'",description:"Color mode"},{prop:"showSettings",type:"boolean",default:"false",description:"Show theme settings drawer button"},{prop:"customPaletteColor",type:"object",default:"-",description:"Custom color palette with 12 color slots (primary, darkPrimary, secondary, etc.)"},{prop:"logo",type:"LogoType",default:"{ path: '/', name: '' }",description:"Logo configuration object with path and name"},{prop:"brandColor",type:"PresetColorType",default:"-",description:"Brand color preset name"},{prop:"headerClassName",type:"string",default:"-",description:"Custom CSS classes for header"},{prop:"contentClassName",type:"string",default:"-",description:"Custom CSS classes for content area"},{prop:"fullWidth",type:"boolean",default:"false",description:"Enable full width layout"},{prop:"rightButton",type:"ReactNode",default:"-",description:"Custom button component for header right area"},{prop:"className",type:"string",default:"-",description:"Custom CSS classes for root layout"},{prop:"setCurrentPathname",type:"(pathname: string) => void",default:"-",description:"Callback invoked on route change with current pathname"}];return e.jsxs(e.Fragment,{children:[e.jsx(t.HeroCard,{title:"ThemeProvider Component",description:"The root component that wraps your application, manages all theme state, handles routing, and applies color configurations.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-blue-500 via-cyan-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(i.Component,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(t.Typography,{tag:"h2",className:"mb-2",children:"Props Reference"}),e.jsx(t.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Complete list of ThemeProvider configuration props"})]}),e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"ThemeProvider Props",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(t.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["Located in"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"ui/tucu-ui/src/themes/components/theme-provider/"})]}),e.jsx(t.BasicTable,{columns:o.map(r=>({...r,render:a=>r.key==="prop"?e.jsx("code",{className:"text-xs text-brand",children:String(a??"")}):r.key==="type"||r.key==="default"?e.jsx("code",{className:"text-xs text-gray-600 dark:text-gray-400",children:String(a??"")}):r.key==="description"?e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:String(a??"")}):String(a??"")})),data:s,containerClassName:"mb-4"})]})})})]})]})};exports.default=n;
|