@e-burgos/tucu-ui 2.0.8 → 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 +166 -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 +21 -0
- package/components/layouts/macos-layout/macos-sonoma-clean-layout.d.ts +7 -0
- package/components/layouts/macos-layout/macos-sonoma-layout.d.ts +14 -0
- package/components/layouts/macos-layout/macos-tahoe-clean-layout.d.ts +7 -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 +7 -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/design-system/design-system-sections/BackgroundsSection.d.ts +3 -0
- 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-CD5kel2M.js +1 -0
- package/documentation/APIReferenceSection-DNiwamR3.js +213 -0
- package/documentation/ActiveLinkSection-CLeqqRJA.js +23 -0
- package/documentation/{ActiveLinkSection-DQHXQYml.js → ActiveLinkSection-nW2qUEkC.js} +26 -28
- package/documentation/AdvancedColorSystemSection-CcXCp_R4.js +181 -0
- package/documentation/AdvancedColorSystemSection-ClZP9L76.js +17 -0
- package/documentation/AdvancedFeaturesSection-DTklgMJa.js +1 -0
- package/documentation/AdvancedFeaturesSection-DZsIzQM1.js +70 -0
- package/documentation/AdvancedFeaturesSection-DeodzomR.js +32 -0
- package/documentation/AdvancedFeaturesSection-dp4NWt73.js +117 -0
- package/documentation/AlertSection-C8JxRieS.js +96 -0
- package/documentation/AlertSection-CqhX5i16.js +26 -0
- package/documentation/AnchorLinkSection-Cnh7qsTW.js +20 -0
- package/documentation/AnchorLinkSection-DMdLIqCp.js +65 -0
- package/documentation/ArchitecturalPatternsComparisonSection-Bgp9PUt7.js +34 -0
- package/documentation/ArchitecturalPatternsComparisonSection-vYbHlGY-.js +182 -0
- package/documentation/ArchitectureOverviewSection-Cw1LKmfg.js +1 -0
- package/documentation/ArchitectureOverviewSection-D_RmIFCA.js +210 -0
- package/documentation/AreaChartSection-CPJSq736.js +22 -0
- package/documentation/{AreaChartSection-Dbr8pnJS.js → AreaChartSection-SQjiTBmB.js} +5 -5
- package/documentation/AuthorCardSection-DPF5SE5r.js +18 -0
- package/documentation/AuthorCardSection-kk79QuNK.js +79 -0
- package/documentation/AvatarSection-BnRHw27e.js +19 -0
- package/documentation/AvatarSection-CLq51gbg.js +89 -0
- package/documentation/BackgroundsSection-3X9Iw31T.js +367 -0
- package/documentation/BackgroundsSection-Ibr9oqUO.js +6 -0
- package/documentation/{BadgeSection-yihyh7oT.js → BadgeSection-C9_vLylm.js} +29 -31
- package/documentation/BadgeSection-Dy1g7XfP.js +49 -0
- package/documentation/BarChartSection-BTBiEaRw.js +23 -0
- package/documentation/{BarChartSection-vXs_Yolq.js → BarChartSection-Do0Yq1CS.js} +13 -13
- package/documentation/BasicTableSection-C5yPODL4.js +36 -0
- package/documentation/BasicTableSection-Lylimu25.js +133 -0
- package/documentation/BasicUsageSection-B_tT0vDW.js +133 -0
- package/documentation/BasicUsageSection-wciC808E.js +45 -0
- package/documentation/BestPracticesSection-B9oMqKhX.js +153 -0
- package/documentation/BestPracticesSection-BFNYdJVh.js +1 -0
- package/documentation/{BestPracticesSection-D_p0GeS5.js → BestPracticesSection-BIbDXxnD.js} +18 -10
- package/documentation/BestPracticesSection-BYBZdfg8.js +1 -0
- package/documentation/BestPracticesSection-BihjJ2QU.js +1 -0
- package/documentation/BestPracticesSection-BrTenNsc.js +151 -0
- package/documentation/BestPracticesSection-Bsi45c48.js +34 -0
- package/documentation/BestPracticesSection-BwTc9PvE.js +1 -0
- package/documentation/BestPracticesSection-CdqrTgh6.js +1 -0
- package/documentation/BestPracticesSection-D3PLwaiL.js +61 -0
- package/documentation/BestPracticesSection-D9x1gLFW.js +1 -0
- package/documentation/BestPracticesSection-DXd2F40Q.js +151 -0
- package/documentation/BestPracticesSection-V_icrn3I.js +137 -0
- package/documentation/BestPracticesSection-WJyPTPT5.js +79 -0
- package/documentation/BorderRadiusSection-DnrQs0UO.js +58 -0
- package/documentation/BorderRadiusSection-DtqKxbF6.js +1 -0
- package/documentation/{ButtonDripSection-BtsL1Kt8.js → ButtonDripSection-C5biHmZq.js} +29 -32
- package/documentation/ButtonDripSection-DEZ07Ezd.js +21 -0
- package/documentation/ButtonLoaderSection-BVgZFpeK.js +153 -0
- package/documentation/ButtonLoaderSection-CGJBeqr-.js +31 -0
- package/documentation/CardContainerSection-Cs2cKwb4.js +61 -0
- package/documentation/CardContainerSection-yjkb4krj.js +22 -0
- package/documentation/{CardSection-ckUG_wKv.js → CardSection-CWikpGMD.js} +45 -34
- package/documentation/CardSection-FjHnUXDc.js +26 -0
- package/documentation/CardTitleSection-B4OARul9.js +72 -0
- package/documentation/CardTitleSection-BwmJtkj8.js +20 -0
- package/documentation/CarouselCardsSection-DETthGNT.js +38 -0
- package/documentation/CarouselCardsSection-DV9s2xIN.js +174 -0
- package/documentation/CarouselImageSection-B2VbVdOf.js +39 -0
- package/documentation/CarouselImageSection-BsgN88AS.js +179 -0
- package/documentation/CarouselSection-BuAhrfl8.js +123 -0
- package/documentation/CarouselSection-CBlMfgGw.js +25 -0
- package/documentation/CheckboxSection-D5f8a17w.js +175 -0
- package/documentation/CheckboxSection-DpC1rIxz.js +29 -0
- package/documentation/CodeExamplesSection-CzT6xoBd.js +68 -0
- package/documentation/CodeExamplesSection-DmnhyUyh.js +134 -0
- package/documentation/{CoinCardSection-_nBvI_X8.js → CoinCardSection-B6mFIGWY.js} +69 -33
- package/documentation/CoinCardSection-B8xYe_14.js +13 -0
- package/documentation/{CoinInfoCardSection-AEcJ5uK3.js → CoinInfoCardSection-B6WuOwgK.js} +62 -34
- package/documentation/CoinInfoCardSection-DrlLjeme.js +12 -0
- package/documentation/CoinListBoxSection-DkQKAYd4.js +24 -0
- package/documentation/CoinListBoxSection-h2EIhbc6.js +129 -0
- package/documentation/{CollapseSection-BgyMQlIv.js → CollapseSection-BgUzBjdQ.js} +30 -32
- package/documentation/CollapseSection-DjToAVsV.js +28 -0
- package/documentation/{CollectionCardSection-COmO7Vc5.js → CollectionCardSection-Bso5dTm0.js} +47 -29
- package/documentation/CollectionCardSection-CLYRjHZ3.js +17 -0
- package/documentation/CollectionSelectListSection-U1691doa.js +149 -0
- package/documentation/CollectionSelectListSection-yeCip8aj.js +15 -0
- package/documentation/ColorCustomizationSection-DAyuywgq.js +141 -0
- package/documentation/ColorCustomizationSection-Dq8eABfF.js +1 -0
- package/documentation/ColorSystemSection-B3tm49L7.js +1 -0
- package/documentation/ColorSystemSection-yh45iiHj.js +339 -0
- package/documentation/CommonErrorsSection-DQrjcfPF.js +77 -0
- package/documentation/CommonErrorsSection-Dy04oSz_.js +1 -0
- package/documentation/ComponentAnatomySection-CqMqeGRG.js +78 -0
- package/documentation/ComponentAnatomySection-J7_m5JbP.js +1 -0
- package/documentation/ComponentStatusSection-FFk0aqBc.js +1 -0
- package/documentation/ComponentStatusSection-Yo0G0loR.js +148 -0
- package/documentation/{ComposedChartSection-M70OxN8v.js → ComposedChartSection-hW66uHot.js} +10 -10
- package/documentation/ComposedChartSection-tNIAiTDy.js +21 -0
- package/documentation/CurrencySwapIconsSection-BBnjn3uo.js +73 -0
- package/documentation/CurrencySwapIconsSection-B_bHfyHa.js +7 -0
- package/documentation/CustomColorPaletteSection-C0QH-Gjh.js +74 -0
- package/documentation/CustomColorPaletteSection-DO8oEjzW.js +19 -0
- package/documentation/CustomIconsSection-BASoblRw.js +3 -0
- package/documentation/CustomIconsSection-BNBsaI1Y.js +172 -0
- package/documentation/DefiAppLogoSection-CJ_WaEEM.js +38 -0
- package/documentation/DefiAppLogoSection-bB5g79Z4.js +132 -0
- package/documentation/DesignPrinciplesSection-DeSp3YGO.js +68 -0
- package/documentation/DesignPrinciplesSection-Zl0xFCt6.js +1 -0
- package/documentation/{DrawerSection-D5pDeoKz.js → DrawerSection-CrMh4USZ.js} +44 -47
- package/documentation/DrawerSection-DsqcxtDs.js +42 -0
- package/documentation/DynamicRoutesSection-C9QESfkX.js +47 -0
- package/documentation/DynamicRoutesSection-mzGjrsjc.js +112 -0
- package/documentation/FileInputSection-5T-xJxsP.js +73 -0
- package/documentation/FileInputSection-Ct4GqFfT.js +237 -0
- package/documentation/{FileStructureSection-DrQtyycO.js → FileStructureSection-14xCYpSc.js} +44 -30
- package/documentation/FileStructureSection-9lInEOF5.js +26 -0
- package/documentation/FormComponentsSection-BjJY47h7.js +148 -0
- package/documentation/FormComponentsSection-CVdYFyUi.js +1 -0
- package/documentation/FormMethodsSection-DlBnV-Aj.js +194 -0
- package/documentation/FormMethodsSection-R2SW4g00.js +53 -0
- package/documentation/{HamburgerSection-Dnh6Wf78.js → HamburgerSection-BpoVoDOi.js} +27 -29
- package/documentation/HamburgerSection-VxfOCf7c.js +19 -0
- package/documentation/HookCategoriesSection-B_TOE9Dl.js +119 -0
- package/documentation/HookCategoriesSection-GgKNpxrq.js +1 -0
- package/documentation/HookDocumentationSection-CBtlj0Xo.js +467 -0
- package/documentation/HookDocumentationSection-DC-uDZ1A.js +100 -0
- package/documentation/HookFeaturesSection-C46s1I46.js +1 -0
- package/documentation/HookFeaturesSection-CYQq8uiT.js +70 -0
- package/documentation/IconArchitectureSection-DVwo8J6J.js +11 -0
- package/documentation/IconArchitectureSection-Dg0P4xJM.js +145 -0
- package/documentation/IconSizingGuideSection-4CGLUtLH.js +118 -0
- package/documentation/IconSizingGuideSection-DV6KbqA2.js +1 -0
- package/documentation/IconSystemAPISection-B4lcpmhY.js +1 -0
- package/documentation/IconSystemAPISection-feuWPuII.js +138 -0
- package/documentation/IconSystemBenefitsSection-BlEPp4PZ.js +120 -0
- package/documentation/IconSystemBenefitsSection-isJXtAnP.js +1 -0
- package/documentation/{ImageSection-D2nnAJjT.js → ImageSection-90o9mI_A.js} +19 -20
- 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-DyggNHxr.js +1 -0
- package/documentation/ImplementationGuidelinesSection-z14_D9y4.js +144 -0
- package/documentation/ImplementationStatusSection-CCTRI00N.js +1 -0
- package/documentation/ImplementationStatusSection-D3FnRWV-.js +62 -0
- package/documentation/ImplementedFeaturesSection-C-hPiVlX.js +70 -0
- package/documentation/ImplementedFeaturesSection-KvlP_7ja.js +1 -0
- package/documentation/InfoCardSection-BBd3_OzF.js +38 -0
- package/documentation/{InfoCardSection-BhJTN7zz.js → InfoCardSection-DHQuZzE7.js} +64 -39
- package/documentation/InputSearcherSection-BQ4cUC16.js +267 -0
- package/documentation/InputSearcherSection-DFk3eBSo.js +45 -0
- package/documentation/InputSection-B5ty4Onb.js +280 -0
- package/documentation/InputSection-DLQ6hyWl.js +50 -0
- package/documentation/KeyValueRowSection-BgKXD67j.js +17 -0
- package/documentation/KeyValueRowSection-CJWvh1z_.js +117 -0
- package/documentation/KeyboardNavigationSection-B38QXuO1.js +27 -0
- package/documentation/KeyboardNavigationSection-B8IX8HhB.js +130 -0
- package/documentation/LayoutPrinciplesSection-Dtv-aHj6.js +148 -0
- package/documentation/LayoutPrinciplesSection-TN7sNEHN.js +1 -0
- package/documentation/LayoutTypesSection-DtAUqzLt.js +390 -0
- package/documentation/LayoutTypesSection-prvabVsZ.js +1 -0
- package/documentation/{LineChartSection-BsupR4NA.js → LineChartSection-CzARfWf9.js} +7 -7
- package/documentation/LineChartSection-HJuiXWwE.js +21 -0
- package/documentation/ListContainerSection-Ca8Y_cJJ.js +153 -0
- package/documentation/ListContainerSection-CkEy8kTD.js +39 -0
- package/documentation/ListItemSection-C57wh8xh.js +37 -0
- package/documentation/{ListItemSection-Ba24GQNN.js → ListItemSection-CrUwVDa7.js} +29 -31
- package/documentation/LiveDemoSection-C6YvjWGX.js +1 -0
- package/documentation/LiveDemoSection-Di6_Ljzt.js +56 -0
- package/documentation/LiveDemonstrationsSection-D7NGWZ3I.js +539 -0
- package/documentation/LiveDemonstrationsSection-Dby6VHKw.js +28 -0
- package/documentation/LivePriceFeedSection-BGUKPNUb.js +20 -0
- package/documentation/LivePriceFeedSection-B_GgiNK8.js +143 -0
- package/documentation/LoaderSection-Chy1mcXx.js +96 -0
- package/documentation/LoaderSection-yuB9Toxf.js +23 -0
- package/documentation/LogoSection-BVWSaZET.js +101 -0
- package/documentation/{LogoSection-CfykWQ4k.js → LogoSection-iUxlu-_p.js} +17 -19
- package/documentation/LucideIconsSection-CX6vVBZA.js +169 -0
- package/documentation/LucideIconsSection-CXfT5lQb.js +1 -0
- package/documentation/MFESupportSection-B6RwP4pS.js +97 -0
- package/documentation/MFESupportSection-DamrDMWD.js +222 -0
- package/documentation/MacOSBackgroundsSection-Cx_1ZLMj.js +293 -0
- package/documentation/MacOSBackgroundsSection-ZPqiqQex.js +1 -0
- package/documentation/MacOSColorsSection-C3PgogP4.js +1 -0
- package/documentation/MacOSColorsSection-DFSpSHs_.js +305 -0
- package/documentation/MacOSCommandPaletteSection-BuwzwV8l.js +33 -0
- package/documentation/MacOSCommandPaletteSection-CNIbgVQz.js +143 -0
- package/documentation/MacOSMaterialsSection-B0bCcOWV.js +280 -0
- package/documentation/MacOSMaterialsSection-CgulMHAk.js +1 -0
- package/documentation/MacOSNotificationBannerSection-C9SIbT7b.js +25 -0
- package/documentation/MacOSNotificationBannerSection-DL_wVvSM.js +169 -0
- package/documentation/MacOSPopoverSection-DQkkxFZi.js +266 -0
- package/documentation/MacOSPopoverSection-whmFuYxn.js +33 -0
- package/documentation/MacOSSearchBarSection-D7I0Bvgv.js +108 -0
- package/documentation/MacOSSearchBarSection-NVzpmwpm.js +17 -0
- package/documentation/MacOSSegmentedControlSection-BZVQzIRB.js +138 -0
- package/documentation/MacOSSegmentedControlSection-DbdRCqFk.js +19 -0
- package/documentation/MacOSSidebarSection-C_9PEk_f.js +35 -0
- package/documentation/MacOSSidebarSection-DYZ6onyY.js +251 -0
- package/documentation/MacOSTahoeSection-DCwsZnWz.js +98 -0
- package/documentation/MacOSTahoeSection-dZq5MXs6.js +1 -0
- package/documentation/MacOSTextStylesSection-DGktqEPk.js +1 -0
- package/documentation/MacOSTextStylesSection-DZmQayrr.js +366 -0
- package/documentation/MacOSToolbarSection-B_bHKn8G.js +23 -0
- package/documentation/MacOSToolbarSection-Ci3H22eP.js +100 -0
- package/documentation/MacOSWidgetSection-CEJiUAXx.js +107 -0
- package/documentation/MacOSWidgetSection-CS6SNE1x.js +19 -0
- package/documentation/MacOSWindowSection-Cj5W9tOb.js +22 -0
- package/documentation/MacOSWindowSection-DqJp_sYV.js +237 -0
- package/documentation/{MenuItemsGuideSection-D8eRUuUw.js → MenuItemsGuideSection-B7BCFEzC.js} +2 -2
- package/documentation/{MenuItemsGuideSection-ChPa1HVx.js → MenuItemsGuideSection-DGwGu1eO.js} +54 -28
- package/documentation/ModalSection-BAl0KIk0.js +30 -0
- package/documentation/{ModalSection-Df8_-5Mu.js → ModalSection-BVVp2SX8.js} +40 -42
- package/documentation/NFTGridSection-BNFbcFZG.js +160 -0
- package/documentation/NFTGridSection-Wl711fIz.js +19 -0
- package/documentation/NestedRoutesSection-D8PkxU8h.js +120 -0
- package/documentation/NestedRoutesSection-wmlrMDJq.js +39 -0
- package/documentation/NotificationCardSection-CbQt_XUN.js +29 -0
- package/documentation/{NotificationCardSection-B5CPgG4B.js → NotificationCardSection-Dd1DGkKw.js} +25 -27
- package/documentation/PaginationSection-BUPepKIu.js +19 -0
- package/documentation/{PaginationSection-30WC5ZN7.js → PaginationSection-lSE7L18v.js} +45 -32
- package/documentation/PanelActionCardSection-BdiVGZct.js +29 -0
- package/documentation/{PanelActionCardSection-CC-DAySo.js → PanelActionCardSection-BgBQ-yk0.js} +15 -17
- package/documentation/{PanelCardSection-OBm47mh0.js → PanelCardSection-CxgguBdn.js} +14 -16
- package/documentation/PanelCardSection-DepwDiot.js +16 -0
- package/documentation/{ParamTabSection-TcsbnNAx.js → ParamTabSection-7WqNq93W.js} +138 -78
- package/documentation/ParamTabSection-CRAA5456.js +94 -0
- package/documentation/PieChartSection-CjOgCPaN.js +19 -0
- package/documentation/{PieChartSection-DuRH9AFw.js → PieChartSection-DgARlxCn.js} +14 -14
- package/documentation/PinCodeSection-BZ9lZb1m.js +32 -0
- package/documentation/PinCodeSection-v_9DV5Lk.js +235 -0
- package/documentation/ProgressbarSection-D3DYoI4Y.js +22 -0
- package/documentation/ProgressbarSection-DlUhNhf2.js +142 -0
- package/documentation/{RadarChartSection-CrY3D0r8.js → RadarChartSection-CUbzsVhA.js} +7 -7
- package/documentation/RadarChartSection-Ddb_fGPc.js +21 -0
- package/documentation/RadioGroupSection-5l0IDcfd.js +269 -0
- package/documentation/RadioGroupSection-CZQzvhOR.js +37 -0
- package/documentation/RadioSection-D-KPVIm_.js +183 -0
- package/documentation/RadioSection-D6bi4kIt.js +27 -0
- package/documentation/{RevealContentSection-D1NNa1Zb.js → RevealContentSection-DZhCRfDI.js} +14 -17
- package/documentation/RevealContentSection-xWU5mwxK.js +21 -0
- package/documentation/RouteConfigurationSection-BNlfPveX.js +42 -0
- package/documentation/RouteConfigurationSection-CGohU3dz.js +88 -0
- package/documentation/ScrollToTopSection-CE_chqn5.js +38 -0
- package/documentation/ScrollToTopSection-DTIMzJcL.js +141 -0
- package/documentation/ScrollbarSection-BtFed7RJ.js +30 -0
- package/documentation/{ScrollbarSection-DYHKnFn2.js → ScrollbarSection-UGhiUlT9.js} +25 -27
- package/documentation/SelectSection-B_s_pRsx.js +346 -0
- package/documentation/SelectSection-DQZ8bxsN.js +52 -0
- package/documentation/SettingsPanelSection-D2vZ81r5.js +139 -0
- package/documentation/SettingsPanelSection-DmeXjrx0.js +1 -0
- package/documentation/ShadowsSection-Br8AictP.js +1 -0
- package/documentation/ShadowsSection-CoUWlYA-.js +101 -0
- package/documentation/SidebarMenuSection-BuyjfISB.js +108 -0
- package/documentation/SidebarMenuSection-DL9USgCd.js +47 -0
- package/documentation/SidebarSection-B-rHd7VC.js +70 -0
- package/documentation/SidebarSection-DMPBCRIo.js +26 -0
- package/documentation/SizingSection--Jco3RIU.js +97 -0
- package/documentation/SizingSection-CUt8NIK0.js +1 -0
- package/documentation/{SkeletonSection-BjYOD-Ui.js → SkeletonSection-DJdKo1ja.js} +79 -81
- package/documentation/SkeletonSection-DqrX4Bdv.js +53 -0
- package/documentation/SonomaColorsSection-DJtL9gyt.js +388 -0
- package/documentation/SonomaColorsSection-ymNouzEh.js +1 -0
- package/documentation/SonomaLayoutContentSection-BUpCwKvI.js +16 -0
- package/documentation/SonomaLayoutContentSection-DUaqAxji.js +67 -0
- package/documentation/SonomaLayoutSidebarSection-5eYi4AN9.js +27 -0
- package/documentation/SonomaLayoutSidebarSection-pojkz3vG.js +96 -0
- package/documentation/SonomaMaterialsSection-C96PRKqk.js +9 -0
- package/documentation/SonomaMaterialsSection-DGAN4s50.js +334 -0
- package/documentation/SonomaShapesSection-BhLTcP3w.js +10 -0
- package/documentation/SonomaShapesSection-C8Pf87LY.js +482 -0
- package/documentation/SonomaTypographySection-COUn6t7v.js +389 -0
- package/documentation/SonomaTypographySection-Ds10GLYv.js +1 -0
- package/documentation/SpacingSystemSection-BF3PHq5h.js +1 -0
- package/documentation/{SpacingSystemSection-D1Z2lzGW.js → SpacingSystemSection-BqrzSpri.js} +24 -27
- package/documentation/SpinnerSection-Dk30YZJZ.js +18 -0
- package/documentation/SpinnerSection-yr2tRAM5.js +78 -0
- package/documentation/StandaloneAppSection-BELaa7LI.js +71 -0
- package/documentation/StandaloneAppSection-DCFC1XZR.js +181 -0
- package/documentation/StepperSection-B1XhYQK-.js +29 -0
- package/documentation/{StepperSection-D7wP-dU3.js → StepperSection-By_Ml_tV.js} +66 -46
- package/documentation/SwitchSection-BUQdc358.js +223 -0
- package/documentation/SwitchSection-C85IWY-t.js +28 -0
- package/documentation/SystemOverviewSection-C1qBmPHN.js +58 -0
- package/documentation/SystemOverviewSection-rljSEGcG.js +1 -0
- package/documentation/TabModalSection-Dv5x_sEQ.js +52 -0
- package/documentation/{TabModalSection-cPdxSg37.js → TabModalSection-IuUO4qiP.js} +55 -31
- package/documentation/{TabSection-B0K0gRVb.js → TabSection-Caok23rW.js} +71 -49
- package/documentation/TabSection-DDHTGSIS.js +85 -0
- package/documentation/{TabSelectSection-or6HVCzs.js → TabSelectSection-B4rEgVlu.js} +91 -61
- package/documentation/TabSelectSection-BseTPExy.js +102 -0
- package/documentation/TahoeCommandPaletteSection-DaORHbNv.js +21 -0
- package/documentation/TahoeCommandPaletteSection-v_iOPj8C.js +217 -0
- package/documentation/TahoeDialogSection-BoY2025y.js +22 -0
- package/documentation/TahoeDialogSection-CqKQ-RDj.js +228 -0
- package/documentation/TahoeDockSection-C7harqcu.js +29 -0
- package/documentation/TahoeDockSection-DhRRBnTT.js +228 -0
- package/documentation/TahoeLayoutContentSection-C4BE8wc4.js +68 -0
- package/documentation/TahoeLayoutContentSection-_mL3T_3K.js +17 -0
- package/documentation/TahoeLayoutSidebarSection-BUXgOJBx.js +36 -0
- package/documentation/TahoeLayoutSidebarSection-BmCZJ9fX.js +114 -0
- package/documentation/TahoeNotificationBannerSection-CSlPVrTp.js +144 -0
- package/documentation/TahoeNotificationBannerSection-D4E3b7uT.js +22 -0
- package/documentation/TahoePopoverSection-CJaeo55K.js +24 -0
- package/documentation/TahoePopoverSection-D3zoltMl.js +220 -0
- package/documentation/TahoeProgressBarSection-C_2fAhY_.js +16 -0
- package/documentation/TahoeProgressBarSection-DO21lvmq.js +124 -0
- package/documentation/TahoeSearchBarSection-2siyD6LM.js +117 -0
- package/documentation/TahoeSearchBarSection-DdXfb6P6.js +10 -0
- package/documentation/TahoeSegmentedControlSection-CGHYXp6R.js +12 -0
- package/documentation/TahoeSegmentedControlSection-CcSHJml_.js +178 -0
- package/documentation/TahoeToolbarSection-BCpyfad4.js +81 -0
- package/documentation/TahoeToolbarSection-C10KKCyu.js +17 -0
- package/documentation/TahoeWidgetSection-BUaOmNIc.js +121 -0
- package/documentation/TahoeWidgetSection-sxxKh9VM.js +13 -0
- package/documentation/TahoeWindowSection-COl0UCS1.js +289 -0
- package/documentation/TahoeWindowSection-KL3yHPI3.js +24 -0
- package/documentation/TailwindConfigSection-DPCR4e0X.js +23 -0
- package/documentation/TailwindConfigSection-DdJnfBeo.js +128 -0
- package/documentation/TestingSection-4eyjrj1_.js +36 -0
- package/documentation/TestingSection-laVHmYZE.js +150 -0
- package/documentation/TextareaSection-D_4-b9Jx.js +258 -0
- package/documentation/TextareaSection-Dx8UEgUG.js +34 -0
- package/documentation/ThemeArchitectureSection-BJt75CEU.js +27 -0
- package/documentation/ThemeArchitectureSection-BOTLbXFq.js +143 -0
- package/documentation/ThemeConfigurationSection-CGRi9uGX.js +1 -0
- package/documentation/ThemeConfigurationSection-sgJA0wX0.js +139 -0
- package/documentation/ThemeHooksSection-BU9VAEIQ.js +1 -0
- package/documentation/ThemeHooksSection-DN-dSaho.js +173 -0
- package/documentation/ThemeProviderIntegrationSection-CtckSEZ6.js +122 -0
- package/documentation/ThemeProviderIntegrationSection-DxWYUVNo.js +73 -0
- package/documentation/{ThemeProviderRequiredSection-DlOJ3rB6.js → ThemeProviderRequiredSection-BHmXKzqL.js} +36 -17
- package/documentation/ThemeProviderRequiredSection-DMStR6-A.js +1 -0
- package/documentation/ThemeProviderSection-CTTjgBhZ.js +143 -0
- package/documentation/ThemeProviderSection-DSllsxjP.js +1 -0
- package/documentation/{ToastSection-BeNEBfZU.js → ToastSection-BcMWRjYM.js} +3 -2
- package/documentation/{ToastSection-CY2Mbvzy.js → ToastSection-CAz8Hcgy.js} +43 -45
- package/documentation/ToggleBarSection-BAJRL-JL.js +45 -0
- package/documentation/ToggleBarSection-D0gxe4bi.js +186 -0
- package/documentation/TooltipSection-8BAcW1F8.js +64 -0
- package/documentation/{TooltipSection-CoTGjIYK.js → TooltipSection-8ft95fhM.js} +31 -32
- package/documentation/TopupButtonSection-BsP9qMKz.js +98 -0
- package/documentation/TopupButtonSection-DMX7DHtm.js +25 -0
- package/documentation/TransactionInfoSection-Dfyi0vTL.js +16 -0
- package/documentation/TransactionInfoSection-gfy4OG-G.js +86 -0
- package/documentation/TucuUiLogoSection-BlyXPiuE.js +26 -0
- package/documentation/TucuUiLogoSection-Dr4QKJE2.js +85 -0
- package/documentation/TypographySection-BvFi0bpr.js +276 -0
- package/documentation/{TypographySection-DAwRhonX.js → TypographySection-C4YFmIj_.js} +49 -51
- package/documentation/TypographySection-CxZfc6YL.js +1 -0
- package/documentation/TypographySection-bXUV6Bmt.js +33 -0
- package/documentation/UsageExamplesSection-BwcRgeyU.js +150 -0
- package/documentation/UsageExamplesSection-CRg9RYfR.js +84 -0
- package/documentation/UsingThemeSystemSection-DB_ErOba.js +106 -0
- package/documentation/UsingThemeSystemSection-DYUkPUnX.js +164 -0
- package/documentation/ValidationSystemSection-BEwX_nlY.js +222 -0
- package/documentation/ValidationSystemSection-BdPgfg9x.js +53 -0
- package/documentation/WCAGPrinciplesSection-CgWqrIwS.js +1 -0
- package/documentation/WCAGPrinciplesSection-qmAtTMZv.js +126 -0
- package/{index-D3gBsvbO.js → index-19KsCnyX.js} +38743 -29988
- package/index-DMs_SmPq.js +1178 -0
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +373 -307
- package/package.json +1 -1
- package/themes/components/index.d.ts +1 -0
- package/themes/components/settings/index.d.ts +1 -0
- package/themes/components/settings/switch-variant.d.ts +5 -0
- package/themes/components/theme-background.d.ts +33 -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 +35 -3
- package/themes/config/index.d.ts +258 -6
- package/themes/hooks/use-theme-color.d.ts +13 -1
- package/themes/hooks/use-theme.d.ts +21 -1
- package/documentation/APIReferenceSection-3tw3kbSC.js +0 -142
- package/documentation/APIReferenceSection-Bi_II-dh.js +0 -1
- package/documentation/ActiveLinkSection-CbQ9Ib2C.js +0 -22
- package/documentation/AdvancedColorSystemSection-C037qEf7.js +0 -17
- package/documentation/AdvancedColorSystemSection-eBshfqfD.js +0 -173
- package/documentation/AdvancedFeaturesSection-BYLSytEq.js +0 -82
- package/documentation/AdvancedFeaturesSection-CAG7FjH1.js +0 -1
- package/documentation/AdvancedFeaturesSection-CEhYolpb.js +0 -1
- package/documentation/AdvancedFeaturesSection-WMvC_2If.js +0 -100
- package/documentation/AlertSection-CzmwMiuZ.js +0 -98
- package/documentation/AlertSection-pIvh75mZ.js +0 -25
- package/documentation/AnchorLinkSection-diTL_uYY.js +0 -67
- package/documentation/AnchorLinkSection-vCfJpTVG.js +0 -19
- package/documentation/ArchitecturalPatternsComparisonSection-C-eRoUaS.js +0 -325
- package/documentation/ArchitecturalPatternsComparisonSection-FO_wmSbl.js +0 -31
- package/documentation/ArchitectureOverviewSection-DGvqMSQ0.js +0 -1
- package/documentation/ArchitectureOverviewSection-eB86uJbU.js +0 -88
- package/documentation/AreaChartSection-BdHkWEIb.js +0 -22
- package/documentation/AuthorCardSection-Bt0zkOUD.js +0 -17
- package/documentation/AuthorCardSection-C9h7A21b.js +0 -81
- package/documentation/AvatarSection-CrG4z7NV.js +0 -18
- package/documentation/AvatarSection-D9lO80xk.js +0 -91
- package/documentation/BadgeSection-C3ZMK9x_.js +0 -48
- package/documentation/BarChartSection-ninE-2Gk.js +0 -23
- package/documentation/BasicTableSection-BebGMD_K.js +0 -103
- package/documentation/BasicTableSection-CAWStbqv.js +0 -35
- package/documentation/BasicUsageSection-DodQMzbr.js +0 -103
- package/documentation/BasicUsageSection-MrvJphH5.js +0 -45
- package/documentation/BestPracticesSection-B6LVbicQ.js +0 -49
- package/documentation/BestPracticesSection-BeWcRejA.js +0 -41
- package/documentation/BestPracticesSection-CuKCCDE_.js +0 -1
- package/documentation/BestPracticesSection-D9Vu3Kmk.js +0 -83
- package/documentation/BestPracticesSection-D9l9mXg1.js +0 -1
- package/documentation/BestPracticesSection-DAQNq7Uq.js +0 -1
- package/documentation/BestPracticesSection-DDwlvSk9.js +0 -84
- package/documentation/BestPracticesSection-DYjT_pUO.js +0 -43
- package/documentation/BestPracticesSection-DcW9m66-.js +0 -1
- package/documentation/BestPracticesSection-DmPn1IqW.js +0 -1
- package/documentation/BestPracticesSection-DpIzRMX9.js +0 -1
- package/documentation/BestPracticesSection-DtG4Wv2c.js +0 -1
- package/documentation/BestPracticesSection-OQoXjdBp.js +0 -57
- package/documentation/BorderRadiusSection-C62w8z9T.js +0 -72
- package/documentation/BorderRadiusSection-CuZ8GG_0.js +0 -1
- package/documentation/ButtonDripSection-CznoyKBs.js +0 -21
- package/documentation/ButtonLoaderSection-B3jm0Tol.js +0 -30
- package/documentation/ButtonLoaderSection-BDtqxrUY.js +0 -155
- package/documentation/CardContainerSection-B8JvSNpy.js +0 -63
- package/documentation/CardContainerSection-CxfdSIAS.js +0 -21
- package/documentation/CardSection-D66ytgEc.js +0 -25
- package/documentation/CardTitleSection-PbgJ_cjd.js +0 -19
- package/documentation/CardTitleSection-eOKcETMp.js +0 -74
- package/documentation/CarouselCardsSection-CBG6p7HK.js +0 -147
- package/documentation/CarouselCardsSection-DO3LU16T.js +0 -37
- package/documentation/CarouselImageSection-BWhCTLiW.js +0 -152
- package/documentation/CarouselImageSection-C0xXpyka.js +0 -38
- package/documentation/CarouselSection-BxjV5FP1.js +0 -24
- package/documentation/CarouselSection-CjgQuZlV.js +0 -99
- package/documentation/CheckboxSection-BsMbLIWZ.js +0 -26
- package/documentation/CheckboxSection-C7eyYPAa.js +0 -137
- package/documentation/CodeExamplesSection-1kUyGWeU.js +0 -137
- package/documentation/CodeExamplesSection-CWmj5VeF.js +0 -28
- package/documentation/CoinCardSection-iY8J7SEG.js +0 -13
- package/documentation/CoinInfoCardSection-DUtW5rPH.js +0 -12
- package/documentation/CoinListBoxSection-CyUNnrfp.js +0 -24
- package/documentation/CoinListBoxSection-WDINLmD6.js +0 -106
- package/documentation/CollapseSection-BF47ExQb.js +0 -27
- package/documentation/CollectionCardSection-D81QeoBz.js +0 -17
- package/documentation/CollectionSelectListSection-BBvFYU73.js +0 -15
- package/documentation/CollectionSelectListSection-_ChExFJE.js +0 -120
- package/documentation/ColorCustomizationSection-D0mDozfQ.js +0 -117
- package/documentation/ColorCustomizationSection-sJ2eDKR0.js +0 -1
- package/documentation/ColorSystemSection-CHCxVk-I.js +0 -149
- package/documentation/ColorSystemSection-DUCsacWs.js +0 -1
- package/documentation/CommonErrorsSection-BKpCa6rH.js +0 -54
- package/documentation/CommonErrorsSection-C3bp7oeX.js +0 -1
- package/documentation/ComponentAnatomySection-BbsJXnu1.js +0 -72
- package/documentation/ComponentAnatomySection-Bcl5DWBQ.js +0 -1
- package/documentation/ComponentStatusSection-CMae0800.js +0 -1
- package/documentation/ComponentStatusSection-lHvcoI9y.js +0 -84
- package/documentation/ComposedChartSection-Bngkob8v.js +0 -21
- package/documentation/CurrencySwapIconsSection-C8Ux6YVv.js +0 -50
- package/documentation/CurrencySwapIconsSection-DiR8Lm4T.js +0 -7
- package/documentation/CustomColorPaletteSection-7dKh6HB9.js +0 -54
- package/documentation/CustomColorPaletteSection-C35acsIh.js +0 -19
- package/documentation/CustomIconsSection-DPDDT3QV.js +0 -162
- package/documentation/CustomIconsSection-DtSZNlaG.js +0 -3
- package/documentation/DefiAppLogoSection-BkneLGwI.js +0 -120
- package/documentation/DefiAppLogoSection-Dytt0bXd.js +0 -36
- package/documentation/DesignPrinciplesSection-BOiDQmuk.js +0 -1
- package/documentation/DesignPrinciplesSection-GaW5AHDx.js +0 -81
- package/documentation/DrawerSection-Hniq0ExB.js +0 -41
- package/documentation/DynamicRoutesSection-B-wIQRz6.js +0 -100
- package/documentation/DynamicRoutesSection-EyN4-iMU.js +0 -42
- package/documentation/FileInputSection-BRBK7QWu.js +0 -65
- package/documentation/FileInputSection-CgDB4RB5.js +0 -277
- package/documentation/FileStructureSection-CSKmwLEr.js +0 -26
- package/documentation/FormComponentsSection-Ctj1Myfu.js +0 -116
- package/documentation/FormComponentsSection-Dc-8r3Dp.js +0 -1
- package/documentation/FormMethodsSection-B0CH8AFm.js +0 -119
- package/documentation/FormMethodsSection-BNAJnxtE.js +0 -55
- package/documentation/HamburgerSection-DhrGpeO0.js +0 -18
- package/documentation/HookCategoriesSection-DvMKFjMc.js +0 -1
- package/documentation/HookCategoriesSection-DxPpsCI_.js +0 -97
- package/documentation/HookDocumentationSection-CgZD1tOq.js +0 -272
- package/documentation/HookDocumentationSection-Ml6FfZD7.js +0 -73
- package/documentation/HookFeaturesSection-DXGn9w9N.js +0 -81
- package/documentation/HookFeaturesSection-DoWYjwx3.js +0 -1
- package/documentation/IconArchitectureSection-BAVtVvWp.js +0 -1
- package/documentation/IconArchitectureSection-OOghFbiq.js +0 -108
- package/documentation/IconSizingGuideSection-CF9itTi0.js +0 -69
- package/documentation/IconSizingGuideSection-vD6v4fMa.js +0 -1
- package/documentation/IconSystemAPISection-BSOV3etR.js +0 -1
- package/documentation/IconSystemAPISection-D6eLCOaG.js +0 -61
- package/documentation/IconSystemBenefitsSection-CLjshxlO.js +0 -1
- package/documentation/IconSystemBenefitsSection-Cv_9L1Kq.js +0 -41
- package/documentation/ImageSection-CKKC4aJN.js +0 -80
- package/documentation/ImplementationExamplesSection-BKfCgO3N.js +0 -178
- package/documentation/ImplementationExamplesSection-DXqrijp1.js +0 -284
- package/documentation/ImplementationGuidelinesSection-7Y4ZRzgG.js +0 -52
- package/documentation/ImplementationGuidelinesSection-CdbW-zbQ.js +0 -1
- package/documentation/ImplementationStatusSection-BFNsxVIb.js +0 -23
- package/documentation/ImplementationStatusSection-eRpOuc9O.js +0 -1
- package/documentation/ImplementedFeaturesSection-LQqKN75c.js +0 -116
- package/documentation/ImplementedFeaturesSection-vdhErGHI.js +0 -1
- package/documentation/InfoCardSection-Brt8Px1M.js +0 -37
- package/documentation/InputSearcherSection-BDc9Ymtf.js +0 -32
- package/documentation/InputSearcherSection-CNmnq7Gc.js +0 -180
- package/documentation/InputSection-Dd2sBkoW.js +0 -37
- package/documentation/InputSection-DzPq_I1Q.js +0 -159
- package/documentation/KeyValueRowSection-DABdzrIi.js +0 -104
- package/documentation/KeyValueRowSection-J2dPxoZS.js +0 -16
- package/documentation/KeyboardNavigationSection-AU-ysaQM.js +0 -69
- package/documentation/KeyboardNavigationSection-DvzCL_fF.js +0 -1
- package/documentation/LayoutPrinciplesSection-B1JTervM.js +0 -1
- package/documentation/LayoutPrinciplesSection-DOzrWMwV.js +0 -106
- package/documentation/LayoutTypesSection-Bf6A4n7o.js +0 -239
- package/documentation/LayoutTypesSection-DwAR3avS.js +0 -1
- package/documentation/LineChartSection-B0G_cUQK.js +0 -21
- package/documentation/ListContainerSection-C3uVOfda.js +0 -125
- package/documentation/ListContainerSection-Dnx_3dZ9.js +0 -38
- package/documentation/ListItemSection-DT3H_Ias.js +0 -36
- package/documentation/LiveDemoSection-C8RKb2J9.js +0 -1
- package/documentation/LiveDemoSection-DlZp0AJU.js +0 -16
- package/documentation/LiveDemonstrationsSection-BB_ccb5S.js +0 -4
- package/documentation/LiveDemonstrationsSection-DRB4N92_.js +0 -445
- package/documentation/LivePriceFeedSection-Dc-WTk58.js +0 -20
- package/documentation/LivePriceFeedSection-j_73wZas.js +0 -97
- package/documentation/LoaderSection-BQiBqcx7.js +0 -22
- package/documentation/LoaderSection-Bh-7FMwt.js +0 -98
- package/documentation/LogoSection-D4muoIqm.js +0 -100
- package/documentation/LucideIconsSection-BcZP__26.js +0 -128
- package/documentation/LucideIconsSection-BwABNPko.js +0 -1
- package/documentation/MFESupportSection-BHDOPkT0.js +0 -354
- package/documentation/MFESupportSection-C8JljXvo.js +0 -122
- package/documentation/ModalSection-CmRW0lMU.js +0 -29
- package/documentation/NFTGridSection-DFUFgtKg.js +0 -117
- package/documentation/NFTGridSection-DFudkupA.js +0 -19
- package/documentation/NestedRoutesSection-C8UBWGHx.js +0 -88
- package/documentation/NestedRoutesSection-CcrsqPxg.js +0 -36
- package/documentation/NotificationCardSection-YXMF3x55.js +0 -28
- package/documentation/PaginationSection-Bo5cGJPv.js +0 -18
- package/documentation/PanelActionCardSection-XHOuTUHD.js +0 -28
- package/documentation/PanelCardSection-BuALUip4.js +0 -15
- package/documentation/ParamTabSection-Do6psgA6.js +0 -92
- package/documentation/PieChartSection-Donq3tpM.js +0 -19
- package/documentation/PinCodeSection-CALXe-QN.js +0 -167
- package/documentation/PinCodeSection-CKZtH4xU.js +0 -22
- package/documentation/ProgressbarSection-BiSzB70h.js +0 -21
- package/documentation/ProgressbarSection-RSBVXiEx.js +0 -144
- package/documentation/RadarChartSection-DJHkW4Iv.js +0 -21
- package/documentation/RadioGroupSection-BP3Q14TK.js +0 -192
- package/documentation/RadioGroupSection-CoDOy57g.js +0 -27
- package/documentation/RadioSection-BmVNxa2g.js +0 -23
- package/documentation/RadioSection-DycbvkTC.js +0 -130
- package/documentation/RevealContentSection-DJLCAigH.js +0 -21
- package/documentation/RouteConfigurationSection-Drc5LJiF.js +0 -81
- package/documentation/RouteConfigurationSection-nhWEjPVc.js +0 -40
- package/documentation/ScrollToTopSection-CD0lf-YM.js +0 -142
- package/documentation/ScrollToTopSection-Dg1DqNQU.js +0 -36
- package/documentation/ScrollbarSection-DcH7wKa4.js +0 -29
- package/documentation/SelectSection-BsqXWvqu.js +0 -39
- package/documentation/SelectSection-Bw7z6boY.js +0 -242
- package/documentation/SettingsPanelSection-BL1MGm6Q.js +0 -126
- package/documentation/SettingsPanelSection-CTuxkv-A.js +0 -1
- package/documentation/ShadowsSection-BxIUSqgJ.js +0 -1
- package/documentation/ShadowsSection-DEDnh4VA.js +0 -90
- package/documentation/SidebarMenuSection-B566bFj0.js +0 -80
- package/documentation/SidebarMenuSection-C_FRWnLf.js +0 -46
- package/documentation/SidebarSection-BxcsWxss.js +0 -62
- package/documentation/SidebarSection-x6UljOok.js +0 -25
- package/documentation/SizingSection-Bkk50xTx.js +0 -1
- package/documentation/SizingSection-DmDvMmpv.js +0 -86
- package/documentation/SkeletonSection-CtCnpdjN.js +0 -52
- package/documentation/SpacingSystemSection-kZaFDYxR.js +0 -1
- package/documentation/SpinnerSection-Cy4RKNBM.js +0 -80
- package/documentation/SpinnerSection-JoJL6hKq.js +0 -17
- package/documentation/StandaloneAppSection-BnE09OsJ.js +0 -69
- package/documentation/StandaloneAppSection-Dn2EcBsk.js +0 -244
- package/documentation/StepperSection-dLbIrNgm.js +0 -28
- package/documentation/SwitchSection-D_063gA9.js +0 -20
- package/documentation/SwitchSection-_aCMYfZ_.js +0 -152
- package/documentation/SystemOverviewSection-BWie2kgj.js +0 -1
- package/documentation/SystemOverviewSection-zs1sgBU4.js +0 -93
- package/documentation/TabModalSection-DAR0pwr1.js +0 -51
- package/documentation/TabSection-BxVPhqk9.js +0 -84
- package/documentation/TabSelectSection-CQ_IXo8B.js +0 -100
- package/documentation/TailwindConfigSection-BcZJYWM7.js +0 -19
- package/documentation/TailwindConfigSection-DTJZOW6I.js +0 -152
- package/documentation/TestingSection-8TPddPms.js +0 -48
- package/documentation/TestingSection-BorSrvSC.js +0 -12
- package/documentation/TextareaSection-BNvWR0os.js +0 -21
- package/documentation/TextareaSection-Bweh8_uz.js +0 -142
- package/documentation/ThemeArchitectureSection-B4Gn1V7O.js +0 -86
- package/documentation/ThemeArchitectureSection-CJ0hFkh6.js +0 -1
- package/documentation/ThemeConfigurationSection-4LSUu_UO.js +0 -1
- package/documentation/ThemeConfigurationSection-CeifudQ5.js +0 -132
- package/documentation/ThemeHooksSection-CGJts7Ed.js +0 -119
- package/documentation/ThemeHooksSection-CPhNS-qC.js +0 -1
- package/documentation/ThemeProviderIntegrationSection-88jAWm2A.js +0 -61
- package/documentation/ThemeProviderIntegrationSection-BbKuNCBE.js +0 -108
- package/documentation/ThemeProviderRequiredSection-BwXR1i1V.js +0 -1
- package/documentation/ThemeProviderSection-Bh7hWBV8.js +0 -128
- package/documentation/ThemeProviderSection-D6v8Vlhs.js +0 -1
- package/documentation/ToggleBarSection-BCAgChf-.js +0 -127
- package/documentation/ToggleBarSection-Dw4ywuTP.js +0 -37
- package/documentation/TooltipSection-CWZ2P_XP.js +0 -62
- package/documentation/TopupButtonSection-CUyRtVu1.js +0 -24
- package/documentation/TopupButtonSection-DibjXivu.js +0 -100
- package/documentation/TransactionInfoSection-CP75u7WX.js +0 -16
- package/documentation/TransactionInfoSection-DDg2tzY8.js +0 -65
- package/documentation/TucuUiLogoSection-BVMLRhro.js +0 -88
- package/documentation/TucuUiLogoSection-DjvrfpTA.js +0 -26
- package/documentation/TypographySection-DrWlVZdp.js +0 -32
- package/documentation/TypographySection-FEhLWV6X.js +0 -214
- package/documentation/TypographySection-RTEBtLau.js +0 -1
- package/documentation/UsageExamplesSection-CQsfAsO1.js +0 -147
- package/documentation/UsageExamplesSection-Cika-E5i.js +0 -83
- package/documentation/UsingThemeSystemSection-BXzyzQVv.js +0 -176
- package/documentation/UsingThemeSystemSection-CDie8_J5.js +0 -140
- package/documentation/ValidationSystemSection-Ca9vjcW1.js +0 -54
- package/documentation/ValidationSystemSection-CiTBMt8_.js +0 -197
- package/documentation/WCAGPrinciplesSection-B9sZXPfQ.js +0 -116
- package/documentation/WCAGPrinciplesSection-C9SsLYli.js +0 -1
- package/index-VrMogvDN.js +0 -1137
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { jsxs as n, Fragment as b, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as p } from "react";
|
|
3
|
+
import { H as v, C as i, a as c, bx as d, by as o, P as g, A as N, c as f } from "../index-19KsCnyX.js";
|
|
4
|
+
import { MessageSquare as y, FilePlus as h, Clock as x, Save as C, Trash2 as m, Check as O, Lock as k, FolderOpen as w } from "lucide-react";
|
|
5
|
+
import "react-router-dom";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
function P(r) {
|
|
8
|
+
const [s, a] = p(!1);
|
|
9
|
+
return /* @__PURE__ */ e("div", { className: "flex justify-center py-12", children: /* @__PURE__ */ e(
|
|
10
|
+
d,
|
|
11
|
+
{
|
|
12
|
+
isOpen: s,
|
|
13
|
+
onClose: () => a(!1),
|
|
14
|
+
placement: r.placement,
|
|
15
|
+
minWidth: r.minWidth,
|
|
16
|
+
content: /* @__PURE__ */ n("div", { className: "py-1", children: [
|
|
17
|
+
/* @__PURE__ */ e(
|
|
18
|
+
o,
|
|
19
|
+
{
|
|
20
|
+
label: "New File",
|
|
21
|
+
icon: /* @__PURE__ */ e(h, { className: "w-4 h-4" }),
|
|
22
|
+
shortcut: "⌘N",
|
|
23
|
+
onClick: () => a(!1)
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ e(
|
|
27
|
+
o,
|
|
28
|
+
{
|
|
29
|
+
label: "Open",
|
|
30
|
+
icon: /* @__PURE__ */ e(w, { className: "w-4 h-4" }),
|
|
31
|
+
shortcut: "⌘O",
|
|
32
|
+
onClick: () => a(!1)
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
/* @__PURE__ */ e(
|
|
36
|
+
o,
|
|
37
|
+
{
|
|
38
|
+
label: "Delete",
|
|
39
|
+
icon: /* @__PURE__ */ e(m, { className: "w-4 h-4" }),
|
|
40
|
+
destructive: !0,
|
|
41
|
+
onClick: () => a(!1)
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] }),
|
|
45
|
+
children: /* @__PURE__ */ n(
|
|
46
|
+
"button",
|
|
47
|
+
{
|
|
48
|
+
onClick: () => a(!0),
|
|
49
|
+
className: "rounded-lg border border-border px-4 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",
|
|
50
|
+
children: [
|
|
51
|
+
"Open Popover (",
|
|
52
|
+
r.placement,
|
|
53
|
+
")"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
}
|
|
58
|
+
) });
|
|
59
|
+
}
|
|
60
|
+
const D = () => {
|
|
61
|
+
const [r, s] = p(null), a = (l) => s((u) => u === l ? null : l), t = () => s(null);
|
|
62
|
+
return /* @__PURE__ */ n(b, { children: [
|
|
63
|
+
/* @__PURE__ */ e(
|
|
64
|
+
v,
|
|
65
|
+
{
|
|
66
|
+
title: "Popover",
|
|
67
|
+
description: "A macOS-style popover / context menu with backdrop blur, placement options, keyboard shortcuts, destructive styling, disabled items, and animated show/hide.",
|
|
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-violet-500 via-purple-500 to-fuchsia-600 rounded-full flex items-center justify-center shadow-lg border border-violet-500/50", children: /* @__PURE__ */ e(y, { 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__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Context Menu", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6 flex justify-center pb-40", children: /* @__PURE__ */ e(
|
|
72
|
+
d,
|
|
73
|
+
{
|
|
74
|
+
isOpen: r === "context",
|
|
75
|
+
onClose: t,
|
|
76
|
+
placement: "bottom",
|
|
77
|
+
content: /* @__PURE__ */ n("div", { className: "py-1", children: [
|
|
78
|
+
/* @__PURE__ */ e(
|
|
79
|
+
o,
|
|
80
|
+
{
|
|
81
|
+
label: "New File",
|
|
82
|
+
icon: /* @__PURE__ */ e(h, { className: "w-4 h-4" }),
|
|
83
|
+
shortcut: "⌘N",
|
|
84
|
+
onClick: t
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ e(
|
|
88
|
+
o,
|
|
89
|
+
{
|
|
90
|
+
label: "Open Recent",
|
|
91
|
+
icon: /* @__PURE__ */ e(x, { className: "w-4 h-4" }),
|
|
92
|
+
onClick: t
|
|
93
|
+
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ e(
|
|
96
|
+
o,
|
|
97
|
+
{
|
|
98
|
+
label: "Save As…",
|
|
99
|
+
icon: /* @__PURE__ */ e(C, { className: "w-4 h-4" }),
|
|
100
|
+
shortcut: "⌘⇧S",
|
|
101
|
+
onClick: t
|
|
102
|
+
}
|
|
103
|
+
),
|
|
104
|
+
/* @__PURE__ */ e(
|
|
105
|
+
o,
|
|
106
|
+
{
|
|
107
|
+
label: "Delete",
|
|
108
|
+
icon: /* @__PURE__ */ e(m, { className: "w-4 h-4" }),
|
|
109
|
+
destructive: !0,
|
|
110
|
+
onClick: t
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
] }),
|
|
114
|
+
children: /* @__PURE__ */ e(
|
|
115
|
+
"button",
|
|
116
|
+
{
|
|
117
|
+
onClick: () => a("context"),
|
|
118
|
+
className: "rounded-lg border border-border px-3 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",
|
|
119
|
+
children: "Right-click Menu"
|
|
120
|
+
}
|
|
121
|
+
)
|
|
122
|
+
}
|
|
123
|
+
) }) }) }),
|
|
124
|
+
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Four Placements", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-2 gap-8 p-8", children: ["bottom", "top", "right", "left"].map(
|
|
125
|
+
(l) => /* @__PURE__ */ e("div", { className: "flex justify-center", children: /* @__PURE__ */ e(
|
|
126
|
+
d,
|
|
127
|
+
{
|
|
128
|
+
isOpen: r === l,
|
|
129
|
+
onClose: t,
|
|
130
|
+
placement: l,
|
|
131
|
+
content: /* @__PURE__ */ n("div", { className: "py-1", children: [
|
|
132
|
+
/* @__PURE__ */ e(o, { label: "Option A", onClick: t }),
|
|
133
|
+
/* @__PURE__ */ e(o, { label: "Option B", onClick: t })
|
|
134
|
+
] }),
|
|
135
|
+
children: /* @__PURE__ */ e(
|
|
136
|
+
"button",
|
|
137
|
+
{
|
|
138
|
+
onClick: () => a(l),
|
|
139
|
+
className: "rounded-lg border border-border px-3 py-2 text-xs text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors capitalize",
|
|
140
|
+
children: l
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
}
|
|
144
|
+
) }, l)
|
|
145
|
+
) }) }) }) }),
|
|
146
|
+
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Disabled & Destructive Items", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6 flex justify-center pb-40", children: /* @__PURE__ */ e(
|
|
147
|
+
d,
|
|
148
|
+
{
|
|
149
|
+
isOpen: r === "disabled",
|
|
150
|
+
onClose: t,
|
|
151
|
+
content: /* @__PURE__ */ n("div", { className: "py-1", children: [
|
|
152
|
+
/* @__PURE__ */ e(
|
|
153
|
+
o,
|
|
154
|
+
{
|
|
155
|
+
label: "Available",
|
|
156
|
+
icon: /* @__PURE__ */ e(O, { className: "w-4 h-4" }),
|
|
157
|
+
onClick: t
|
|
158
|
+
}
|
|
159
|
+
),
|
|
160
|
+
/* @__PURE__ */ e(
|
|
161
|
+
o,
|
|
162
|
+
{
|
|
163
|
+
label: "Unavailable",
|
|
164
|
+
icon: /* @__PURE__ */ e(k, { className: "w-4 h-4" }),
|
|
165
|
+
disabled: !0,
|
|
166
|
+
onClick: t
|
|
167
|
+
}
|
|
168
|
+
),
|
|
169
|
+
/* @__PURE__ */ e(
|
|
170
|
+
o,
|
|
171
|
+
{
|
|
172
|
+
label: "Delete",
|
|
173
|
+
destructive: !0,
|
|
174
|
+
icon: /* @__PURE__ */ e(m, { className: "w-4 h-4" }),
|
|
175
|
+
onClick: t
|
|
176
|
+
}
|
|
177
|
+
)
|
|
178
|
+
] }),
|
|
179
|
+
children: /* @__PURE__ */ e(
|
|
180
|
+
"button",
|
|
181
|
+
{
|
|
182
|
+
onClick: () => a("disabled"),
|
|
183
|
+
className: "rounded-lg border border-border px-3 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",
|
|
184
|
+
children: "Show Popover"
|
|
185
|
+
}
|
|
186
|
+
)
|
|
187
|
+
}
|
|
188
|
+
) }) }) }),
|
|
189
|
+
/* @__PURE__ */ e(
|
|
190
|
+
g,
|
|
191
|
+
{
|
|
192
|
+
componentName: "MacOSPopover",
|
|
193
|
+
defaultValues: {
|
|
194
|
+
placement: "bottom",
|
|
195
|
+
minWidth: 200
|
|
196
|
+
},
|
|
197
|
+
controlOverrides: [
|
|
198
|
+
{
|
|
199
|
+
name: "placement",
|
|
200
|
+
type: "select",
|
|
201
|
+
options: ["top", "bottom", "left", "right"],
|
|
202
|
+
description: "Popover placement relative to trigger"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
name: "minWidth",
|
|
206
|
+
type: "text",
|
|
207
|
+
description: "Minimum width in pixels"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
includeProps: ["placement", "minWidth"],
|
|
211
|
+
excludeProps: [
|
|
212
|
+
"className",
|
|
213
|
+
"contentClassName",
|
|
214
|
+
"isOpen",
|
|
215
|
+
"onClose",
|
|
216
|
+
"content"
|
|
217
|
+
],
|
|
218
|
+
children: (l) => /* @__PURE__ */ e(P, { ...l })
|
|
219
|
+
}
|
|
220
|
+
),
|
|
221
|
+
/* @__PURE__ */ e(N, { componentName: "MacOSPopover" }),
|
|
222
|
+
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
223
|
+
f,
|
|
224
|
+
{
|
|
225
|
+
language: "tsx",
|
|
226
|
+
code: `import { MacOSPopover, MacOSPopoverItem } from '@e-burgos/tucu-ui';
|
|
227
|
+
|
|
228
|
+
function ContextMenu() {
|
|
229
|
+
const [open, setOpen] = useState(false);
|
|
230
|
+
|
|
231
|
+
return (
|
|
232
|
+
<MacOSPopover
|
|
233
|
+
isOpen={open}
|
|
234
|
+
onClose={() => setOpen(false)}
|
|
235
|
+
placement="bottom" // 'top' | 'bottom' | 'left' | 'right'
|
|
236
|
+
minWidth={200}
|
|
237
|
+
content={
|
|
238
|
+
<div className="py-1">
|
|
239
|
+
<MacOSPopoverItem
|
|
240
|
+
label="New File"
|
|
241
|
+
icon={<FilePlusIcon />}
|
|
242
|
+
shortcut="⌘N"
|
|
243
|
+
onClick={() => setOpen(false)}
|
|
244
|
+
/>
|
|
245
|
+
<MacOSPopoverItem
|
|
246
|
+
label="Delete"
|
|
247
|
+
icon={<TrashIcon />}
|
|
248
|
+
destructive
|
|
249
|
+
onClick={() => setOpen(false)}
|
|
250
|
+
/>
|
|
251
|
+
<MacOSPopoverItem label="Admin Only" disabled />
|
|
252
|
+
</div>
|
|
253
|
+
}
|
|
254
|
+
>
|
|
255
|
+
<button onClick={() => setOpen(true)}>Open Menu</button>
|
|
256
|
+
</MacOSPopover>
|
|
257
|
+
);
|
|
258
|
+
}`
|
|
259
|
+
}
|
|
260
|
+
) }) }) })
|
|
261
|
+
] });
|
|
262
|
+
};
|
|
263
|
+
export {
|
|
264
|
+
D as MacOSPopoverSection,
|
|
265
|
+
D as default
|
|
266
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),o=require("../index-DMs_SmPq.js"),s=require("lucide-react");require("react-router-dom");require("react-dom");function m(a){const[n,r]=c.useState(!1);return e.jsx("div",{className:"flex justify-center py-12",children:e.jsx(o.MacOSPopover,{isOpen:n,onClose:()=>r(!1),placement:a.placement,minWidth:a.minWidth,content:e.jsxs("div",{className:"py-1",children:[e.jsx(o.MacOSPopoverItem,{label:"New File",icon:e.jsx(s.FilePlus,{className:"w-4 h-4"}),shortcut:"⌘N",onClick:()=>r(!1)}),e.jsx(o.MacOSPopoverItem,{label:"Open",icon:e.jsx(s.FolderOpen,{className:"w-4 h-4"}),shortcut:"⌘O",onClick:()=>r(!1)}),e.jsx(o.MacOSPopoverItem,{label:"Delete",icon:e.jsx(s.Trash2,{className:"w-4 h-4"}),destructive:!0,onClick:()=>r(!1)})]}),children:e.jsxs("button",{onClick:()=>r(!0),className:"rounded-lg border border-border px-4 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",children:["Open Popover (",a.placement,")"]})})})}const i=()=>{const[a,n]=c.useState(null),r=l=>n(d=>d===l?null:l),t=()=>n(null);return e.jsxs(e.Fragment,{children:[e.jsx(o.HeroCard,{title:"Popover",description:"A macOS-style popover / context menu with backdrop blur, placement options, keyboard shortcuts, destructive styling, disabled items, and animated show/hide.",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-violet-500 via-purple-500 to-fuchsia-600 rounded-full flex items-center justify-center shadow-lg border border-violet-500/50",children:e.jsx(s.MessageSquare,{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(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:"Context Menu",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6 flex justify-center pb-40",children:e.jsx(o.MacOSPopover,{isOpen:a==="context",onClose:t,placement:"bottom",content:e.jsxs("div",{className:"py-1",children:[e.jsx(o.MacOSPopoverItem,{label:"New File",icon:e.jsx(s.FilePlus,{className:"w-4 h-4"}),shortcut:"⌘N",onClick:t}),e.jsx(o.MacOSPopoverItem,{label:"Open Recent",icon:e.jsx(s.Clock,{className:"w-4 h-4"}),onClick:t}),e.jsx(o.MacOSPopoverItem,{label:"Save As…",icon:e.jsx(s.Save,{className:"w-4 h-4"}),shortcut:"⌘⇧S",onClick:t}),e.jsx(o.MacOSPopoverItem,{label:"Delete",icon:e.jsx(s.Trash2,{className:"w-4 h-4"}),destructive:!0,onClick:t})]}),children:e.jsx("button",{onClick:()=>r("context"),className:"rounded-lg border border-border px-3 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",children:"Right-click Menu"})})})})}),e.jsx(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:"Four Placements",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-2 gap-8 p-8",children:["bottom","top","right","left"].map(l=>e.jsx("div",{className:"flex justify-center",children:e.jsx(o.MacOSPopover,{isOpen:a===l,onClose:t,placement:l,content:e.jsxs("div",{className:"py-1",children:[e.jsx(o.MacOSPopoverItem,{label:"Option A",onClick:t}),e.jsx(o.MacOSPopoverItem,{label:"Option B",onClick:t})]}),children:e.jsx("button",{onClick:()=>r(l),className:"rounded-lg border border-border px-3 py-2 text-xs text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors capitalize",children:l})})},l))})})})}),e.jsx(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:"Disabled & Destructive Items",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6 flex justify-center pb-40",children:e.jsx(o.MacOSPopover,{isOpen:a==="disabled",onClose:t,content:e.jsxs("div",{className:"py-1",children:[e.jsx(o.MacOSPopoverItem,{label:"Available",icon:e.jsx(s.Check,{className:"w-4 h-4"}),onClick:t}),e.jsx(o.MacOSPopoverItem,{label:"Unavailable",icon:e.jsx(s.Lock,{className:"w-4 h-4"}),disabled:!0,onClick:t}),e.jsx(o.MacOSPopoverItem,{label:"Delete",destructive:!0,icon:e.jsx(s.Trash2,{className:"w-4 h-4"}),onClick:t})]}),children:e.jsx("button",{onClick:()=>r("disabled"),className:"rounded-lg border border-border px-3 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",children:"Show Popover"})})})})}),e.jsx(o.PropPlayground,{componentName:"MacOSPopover",defaultValues:{placement:"bottom",minWidth:200},controlOverrides:[{name:"placement",type:"select",options:["top","bottom","left","right"],description:"Popover placement relative to trigger"},{name:"minWidth",type:"text",description:"Minimum width in pixels"}],includeProps:["placement","minWidth"],excludeProps:["className","contentClassName","isOpen","onClose","content"],children:l=>e.jsx(m,{...l})}),e.jsx(o.AutoPropsTable,{componentName:"MacOSPopover"}),e.jsx(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(o.CodeBlock,{language:"tsx",code:`import { MacOSPopover, MacOSPopoverItem } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
function ContextMenu() {
|
|
4
|
+
const [open, setOpen] = useState(false);
|
|
5
|
+
|
|
6
|
+
return (
|
|
7
|
+
<MacOSPopover
|
|
8
|
+
isOpen={open}
|
|
9
|
+
onClose={() => setOpen(false)}
|
|
10
|
+
placement="bottom" // 'top' | 'bottom' | 'left' | 'right'
|
|
11
|
+
minWidth={200}
|
|
12
|
+
content={
|
|
13
|
+
<div className="py-1">
|
|
14
|
+
<MacOSPopoverItem
|
|
15
|
+
label="New File"
|
|
16
|
+
icon={<FilePlusIcon />}
|
|
17
|
+
shortcut="⌘N"
|
|
18
|
+
onClick={() => setOpen(false)}
|
|
19
|
+
/>
|
|
20
|
+
<MacOSPopoverItem
|
|
21
|
+
label="Delete"
|
|
22
|
+
icon={<TrashIcon />}
|
|
23
|
+
destructive
|
|
24
|
+
onClick={() => setOpen(false)}
|
|
25
|
+
/>
|
|
26
|
+
<MacOSPopoverItem label="Admin Only" disabled />
|
|
27
|
+
</div>
|
|
28
|
+
}
|
|
29
|
+
>
|
|
30
|
+
<button onClick={() => setOpen(true)}>Open Menu</button>
|
|
31
|
+
</MacOSPopover>
|
|
32
|
+
);
|
|
33
|
+
}`})})})})]})};exports.MacOSPopoverSection=i;exports.default=i;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { jsxs as l, Fragment as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as n } from "react";
|
|
3
|
+
import { H as d, C as o, a as s, bo as c, P as u, A as h, c as p } from "../index-19KsCnyX.js";
|
|
4
|
+
import { Search as g } from "lucide-react";
|
|
5
|
+
import "react-router-dom";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
function S(t) {
|
|
8
|
+
const [r, a] = n("");
|
|
9
|
+
return /* @__PURE__ */ e("div", { className: "w-full max-w-lg mx-auto", children: /* @__PURE__ */ e(
|
|
10
|
+
c,
|
|
11
|
+
{
|
|
12
|
+
...t,
|
|
13
|
+
value: r,
|
|
14
|
+
onChange: a,
|
|
15
|
+
onClear: () => a(""),
|
|
16
|
+
onSubmit: (m) => alert(`Submitted: ${m}`)
|
|
17
|
+
}
|
|
18
|
+
) });
|
|
19
|
+
}
|
|
20
|
+
const N = () => {
|
|
21
|
+
const [t, r] = n("");
|
|
22
|
+
return /* @__PURE__ */ l(i, { children: [
|
|
23
|
+
/* @__PURE__ */ e(
|
|
24
|
+
d,
|
|
25
|
+
{
|
|
26
|
+
title: "SearchBar",
|
|
27
|
+
description: "A macOS-style search input with clear button, keyboard submit, auto-focus, and multiple sizes. Includes smooth transitions and icon accent matching the system appearance.",
|
|
28
|
+
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-cyan-500 via-blue-500 to-indigo-600 rounded-full flex items-center justify-center shadow-lg border border-cyan-500/50", children: /* @__PURE__ */ e(g, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
/* @__PURE__ */ e(o, { className: "overflow-hidden", children: /* @__PURE__ */ e(s, { title: "Interactive", className: "mt-2 mb-2", children: /* @__PURE__ */ l("div", { className: "w-full p-4 sm:p-6 max-w-lg mx-auto", children: [
|
|
32
|
+
/* @__PURE__ */ e(
|
|
33
|
+
c,
|
|
34
|
+
{
|
|
35
|
+
value: t,
|
|
36
|
+
onChange: r,
|
|
37
|
+
onClear: () => r(""),
|
|
38
|
+
onSubmit: (a) => alert(`Search: ${a}`),
|
|
39
|
+
placeholder: "Search files, apps, settings…"
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
/* @__PURE__ */ l("p", { className: "mt-3 text-xs text-gray-500 dark:text-gray-400 text-center", children: [
|
|
43
|
+
"Current value: ",
|
|
44
|
+
/* @__PURE__ */ e("code", { className: "bg-gray-100 dark:bg-gray-800 px-1 rounded", children: t || "(empty)" })
|
|
45
|
+
] })
|
|
46
|
+
] }) }) }),
|
|
47
|
+
/* @__PURE__ */ e(o, { className: "overflow-hidden", children: /* @__PURE__ */ e(s, { title: "Sizes", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6 space-y-4 max-w-lg mx-auto", children: ["sm", "md", "lg"].map((a) => /* @__PURE__ */ l("div", { children: [
|
|
48
|
+
/* @__PURE__ */ e("p", { className: "text-xs font-medium text-gray-500 dark:text-gray-400 mb-1 uppercase", children: a }),
|
|
49
|
+
/* @__PURE__ */ e(
|
|
50
|
+
c,
|
|
51
|
+
{
|
|
52
|
+
size: a,
|
|
53
|
+
placeholder: `Size: ${a}`,
|
|
54
|
+
value: "",
|
|
55
|
+
onChange: () => {
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
] }, a)) }) }) }),
|
|
60
|
+
/* @__PURE__ */ e(
|
|
61
|
+
u,
|
|
62
|
+
{
|
|
63
|
+
componentName: "MacOSSearchBar",
|
|
64
|
+
defaultValues: {
|
|
65
|
+
placeholder: "Search…",
|
|
66
|
+
size: "md",
|
|
67
|
+
autoFocus: !1
|
|
68
|
+
},
|
|
69
|
+
controlOverrides: [
|
|
70
|
+
{ name: "placeholder", type: "text", description: "Placeholder text" },
|
|
71
|
+
{ name: "size", type: "select", options: ["sm", "md", "lg"], description: "Input size" },
|
|
72
|
+
{ name: "autoFocus", type: "boolean", description: "Auto-focus on mount" }
|
|
73
|
+
],
|
|
74
|
+
includeProps: ["placeholder", "size", "autoFocus"],
|
|
75
|
+
excludeProps: ["className", "value", "onChange", "onClear", "onSubmit"],
|
|
76
|
+
children: (a) => /* @__PURE__ */ e(S, { ...a })
|
|
77
|
+
}
|
|
78
|
+
),
|
|
79
|
+
/* @__PURE__ */ e(h, { componentName: "MacOSSearchBar" }),
|
|
80
|
+
/* @__PURE__ */ e(o, { className: "overflow-hidden", children: /* @__PURE__ */ e(s, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
81
|
+
p,
|
|
82
|
+
{
|
|
83
|
+
language: "tsx",
|
|
84
|
+
code: `import { MacOSSearchBar } from '@e-burgos/tucu-ui';
|
|
85
|
+
|
|
86
|
+
function SearchDemo() {
|
|
87
|
+
const [value, setValue] = useState('');
|
|
88
|
+
|
|
89
|
+
return (
|
|
90
|
+
<MacOSSearchBar
|
|
91
|
+
value={value}
|
|
92
|
+
onChange={setValue}
|
|
93
|
+
onClear={() => setValue('')}
|
|
94
|
+
onSubmit={(v) => console.log('Search:', v)}
|
|
95
|
+
placeholder="Search files, apps, settings…"
|
|
96
|
+
size="md" // 'sm' | 'md' | 'lg'
|
|
97
|
+
autoFocus={false}
|
|
98
|
+
/>
|
|
99
|
+
);
|
|
100
|
+
}`
|
|
101
|
+
}
|
|
102
|
+
) }) }) })
|
|
103
|
+
] });
|
|
104
|
+
};
|
|
105
|
+
export {
|
|
106
|
+
N as MacOSSearchBarSection,
|
|
107
|
+
N as default
|
|
108
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("react"),a=require("../index-DMs_SmPq.js"),n=require("lucide-react");require("react-router-dom");require("react-dom");function i(t){const[s,r]=l.useState("");return e.jsx("div",{className:"w-full max-w-lg mx-auto",children:e.jsx(a.MacOSSearchBar,{...t,value:s,onChange:r,onClear:()=>r(""),onSubmit:o=>alert(`Submitted: ${o}`)})})}const c=()=>{const[t,s]=l.useState("");return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"SearchBar",description:"A macOS-style search input with clear button, keyboard submit, auto-focus, and multiple sizes. Includes smooth transitions and icon accent matching the system appearance.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-cyan-500 via-blue-500 to-indigo-600 rounded-full flex items-center justify-center shadow-lg border border-cyan-500/50",children:e.jsx(n.Search,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Interactive",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6 max-w-lg mx-auto",children:[e.jsx(a.MacOSSearchBar,{value:t,onChange:s,onClear:()=>s(""),onSubmit:r=>alert(`Search: ${r}`),placeholder:"Search files, apps, settings…"}),e.jsxs("p",{className:"mt-3 text-xs text-gray-500 dark:text-gray-400 text-center",children:["Current value: ",e.jsx("code",{className:"bg-gray-100 dark:bg-gray-800 px-1 rounded",children:t||"(empty)"})]})]})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6 space-y-4 max-w-lg mx-auto",children:["sm","md","lg"].map(r=>e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 mb-1 uppercase",children:r}),e.jsx(a.MacOSSearchBar,{size:r,placeholder:`Size: ${r}`,value:"",onChange:()=>{}})]},r))})})}),e.jsx(a.PropPlayground,{componentName:"MacOSSearchBar",defaultValues:{placeholder:"Search…",size:"md",autoFocus:!1},controlOverrides:[{name:"placeholder",type:"text",description:"Placeholder text"},{name:"size",type:"select",options:["sm","md","lg"],description:"Input size"},{name:"autoFocus",type:"boolean",description:"Auto-focus on mount"}],includeProps:["placeholder","size","autoFocus"],excludeProps:["className","value","onChange","onClear","onSubmit"],children:r=>e.jsx(i,{...r})}),e.jsx(a.AutoPropsTable,{componentName:"MacOSSearchBar"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { MacOSSearchBar } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
function SearchDemo() {
|
|
4
|
+
const [value, setValue] = useState('');
|
|
5
|
+
|
|
6
|
+
return (
|
|
7
|
+
<MacOSSearchBar
|
|
8
|
+
value={value}
|
|
9
|
+
onChange={setValue}
|
|
10
|
+
onClear={() => setValue('')}
|
|
11
|
+
onSubmit={(v) => console.log('Search:', v)}
|
|
12
|
+
placeholder="Search files, apps, settings…"
|
|
13
|
+
size="md" // 'sm' | 'md' | 'lg'
|
|
14
|
+
autoFocus={false}
|
|
15
|
+
/>
|
|
16
|
+
);
|
|
17
|
+
}`})})})})]})};exports.MacOSSearchBarSection=c;exports.default=c;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { jsxs as d, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as r } from "react";
|
|
3
|
+
import { H as u, C as a, a as t, bu as n, P as v, A as h, c as p } from "../index-19KsCnyX.js";
|
|
4
|
+
import { ToggleLeft as b, LayoutGrid as f, List as g, Columns3 as w } from "lucide-react";
|
|
5
|
+
import "react-router-dom";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
function N(i) {
|
|
8
|
+
const [o, s] = r("tab1");
|
|
9
|
+
return /* @__PURE__ */ e("div", { className: "w-full max-w-lg mx-auto", children: /* @__PURE__ */ e(
|
|
10
|
+
n,
|
|
11
|
+
{
|
|
12
|
+
...i,
|
|
13
|
+
value: o,
|
|
14
|
+
onChange: s,
|
|
15
|
+
options: [
|
|
16
|
+
{ label: "General", value: "tab1" },
|
|
17
|
+
{ label: "Privacy", value: "tab2" },
|
|
18
|
+
{ label: "Advanced", value: "tab3" }
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
) });
|
|
22
|
+
}
|
|
23
|
+
const A = () => {
|
|
24
|
+
const [i, o] = r("general"), [s, c] = r("grid");
|
|
25
|
+
return /* @__PURE__ */ d(m, { children: [
|
|
26
|
+
/* @__PURE__ */ e(
|
|
27
|
+
u,
|
|
28
|
+
{
|
|
29
|
+
title: "SegmentedControl",
|
|
30
|
+
description: "A macOS-style segmented control (tab bar) with animated sliding indicator, icon+text options, keyboard navigation, size variants, and full-width mode.",
|
|
31
|
+
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-teal-500 via-emerald-500 to-green-600 rounded-full flex items-center justify-center shadow-lg border border-teal-500/50", children: /* @__PURE__ */ e(b, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
32
|
+
}
|
|
33
|
+
),
|
|
34
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "With Icons", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6 flex justify-center", children: /* @__PURE__ */ e(
|
|
35
|
+
n,
|
|
36
|
+
{
|
|
37
|
+
value: s,
|
|
38
|
+
onChange: c,
|
|
39
|
+
options: [
|
|
40
|
+
{ label: "Grid", value: "grid", icon: /* @__PURE__ */ e(f, { className: "w-3.5 h-3.5" }) },
|
|
41
|
+
{ label: "List", value: "list", icon: /* @__PURE__ */ e(g, { className: "w-3.5 h-3.5" }) },
|
|
42
|
+
{ label: "Column", value: "column", icon: /* @__PURE__ */ e(w, { className: "w-3.5 h-3.5" }) }
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
) }) }) }),
|
|
46
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Text Only — Full Width", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
47
|
+
n,
|
|
48
|
+
{
|
|
49
|
+
value: i,
|
|
50
|
+
onChange: o,
|
|
51
|
+
fullWidth: !0,
|
|
52
|
+
options: [
|
|
53
|
+
{ label: "General", value: "general" },
|
|
54
|
+
{ label: "Privacy", value: "privacy" },
|
|
55
|
+
{ label: "Security", value: "security" },
|
|
56
|
+
{ label: "Advanced", value: "advanced" }
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
) }) }) }),
|
|
60
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Sizes", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6 space-y-4", children: ["sm", "md", "lg"].map((l) => /* @__PURE__ */ d("div", { className: "flex items-center gap-4", children: [
|
|
61
|
+
/* @__PURE__ */ e("span", { className: "text-xs font-medium text-gray-500 dark:text-gray-400 uppercase w-8", children: l }),
|
|
62
|
+
/* @__PURE__ */ e(
|
|
63
|
+
n,
|
|
64
|
+
{
|
|
65
|
+
size: l,
|
|
66
|
+
value: "a",
|
|
67
|
+
onChange: () => {
|
|
68
|
+
},
|
|
69
|
+
options: [
|
|
70
|
+
{ label: "Alpha", value: "a" },
|
|
71
|
+
{ label: "Beta", value: "b" },
|
|
72
|
+
{ label: "Gamma", value: "c" }
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
] }, l)) }) }) }),
|
|
77
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Disabled Option", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6 flex justify-center", children: /* @__PURE__ */ e(
|
|
78
|
+
n,
|
|
79
|
+
{
|
|
80
|
+
value: "on",
|
|
81
|
+
onChange: () => {
|
|
82
|
+
},
|
|
83
|
+
options: [
|
|
84
|
+
{ label: "On", value: "on" },
|
|
85
|
+
{ label: "Off", value: "off" },
|
|
86
|
+
{ label: "Unavailable", value: "na", disabled: !0 }
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
) }) }) }),
|
|
90
|
+
/* @__PURE__ */ e(
|
|
91
|
+
v,
|
|
92
|
+
{
|
|
93
|
+
componentName: "MacOSSegmentedControl",
|
|
94
|
+
defaultValues: {
|
|
95
|
+
size: "md",
|
|
96
|
+
fullWidth: !1
|
|
97
|
+
},
|
|
98
|
+
controlOverrides: [
|
|
99
|
+
{ name: "size", type: "select", options: ["sm", "md", "lg"], description: "Control size" },
|
|
100
|
+
{ name: "fullWidth", type: "boolean", description: "Stretch to fill container width" }
|
|
101
|
+
],
|
|
102
|
+
includeProps: ["size", "fullWidth"],
|
|
103
|
+
excludeProps: ["className", "options", "value", "onChange"],
|
|
104
|
+
children: (l) => /* @__PURE__ */ e(N, { ...l })
|
|
105
|
+
}
|
|
106
|
+
),
|
|
107
|
+
/* @__PURE__ */ e(h, { componentName: "MacOSSegmentedControl" }),
|
|
108
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
109
|
+
p,
|
|
110
|
+
{
|
|
111
|
+
language: "tsx",
|
|
112
|
+
code: `import { MacOSSegmentedControl } from '@e-burgos/tucu-ui';
|
|
113
|
+
|
|
114
|
+
function TabsDemo() {
|
|
115
|
+
const [value, setValue] = useState('general');
|
|
116
|
+
|
|
117
|
+
return (
|
|
118
|
+
<MacOSSegmentedControl
|
|
119
|
+
value={value}
|
|
120
|
+
onChange={setValue}
|
|
121
|
+
size="md" // 'sm' | 'md' | 'lg'
|
|
122
|
+
fullWidth={false}
|
|
123
|
+
options={[
|
|
124
|
+
{ label: 'General', value: 'general' },
|
|
125
|
+
{ label: 'Privacy', value: 'privacy', icon: <LockIcon /> },
|
|
126
|
+
{ label: 'Disabled', value: 'x', disabled: true },
|
|
127
|
+
]}
|
|
128
|
+
/>
|
|
129
|
+
);
|
|
130
|
+
}`
|
|
131
|
+
}
|
|
132
|
+
) }) }) })
|
|
133
|
+
] });
|
|
134
|
+
};
|
|
135
|
+
export {
|
|
136
|
+
A as MacOSSegmentedControlSection,
|
|
137
|
+
A as default
|
|
138
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),l=require("../index-DMs_SmPq.js"),t=require("lucide-react");require("react-router-dom");require("react-dom");function c(n){const[s,i]=o.useState("tab1");return e.jsx("div",{className:"w-full max-w-lg mx-auto",children:e.jsx(l.MacOSSegmentedControl,{...n,value:s,onChange:i,options:[{label:"General",value:"tab1"},{label:"Privacy",value:"tab2"},{label:"Advanced",value:"tab3"}]})})}const r=()=>{const[n,s]=o.useState("general"),[i,d]=o.useState("grid");return e.jsxs(e.Fragment,{children:[e.jsx(l.HeroCard,{title:"SegmentedControl",description:"A macOS-style segmented control (tab bar) with animated sliding indicator, icon+text options, keyboard navigation, size variants, and full-width mode.",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-500 via-emerald-500 to-green-600 rounded-full flex items-center justify-center shadow-lg border border-teal-500/50",children:e.jsx(t.ToggleLeft,{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(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"With Icons",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6 flex justify-center",children:e.jsx(l.MacOSSegmentedControl,{value:i,onChange:d,options:[{label:"Grid",value:"grid",icon:e.jsx(t.LayoutGrid,{className:"w-3.5 h-3.5"})},{label:"List",value:"list",icon:e.jsx(t.List,{className:"w-3.5 h-3.5"})},{label:"Column",value:"column",icon:e.jsx(t.Columns3,{className:"w-3.5 h-3.5"})}]})})})}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Text Only — Full Width",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(l.MacOSSegmentedControl,{value:n,onChange:s,fullWidth:!0,options:[{label:"General",value:"general"},{label:"Privacy",value:"privacy"},{label:"Security",value:"security"},{label:"Advanced",value:"advanced"}]})})})}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6 space-y-4",children:["sm","md","lg"].map(a=>e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("span",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase w-8",children:a}),e.jsx(l.MacOSSegmentedControl,{size:a,value:"a",onChange:()=>{},options:[{label:"Alpha",value:"a"},{label:"Beta",value:"b"},{label:"Gamma",value:"c"}]})]},a))})})}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Disabled Option",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6 flex justify-center",children:e.jsx(l.MacOSSegmentedControl,{value:"on",onChange:()=>{},options:[{label:"On",value:"on"},{label:"Off",value:"off"},{label:"Unavailable",value:"na",disabled:!0}]})})})}),e.jsx(l.PropPlayground,{componentName:"MacOSSegmentedControl",defaultValues:{size:"md",fullWidth:!1},controlOverrides:[{name:"size",type:"select",options:["sm","md","lg"],description:"Control size"},{name:"fullWidth",type:"boolean",description:"Stretch to fill container width"}],includeProps:["size","fullWidth"],excludeProps:["className","options","value","onChange"],children:a=>e.jsx(c,{...a})}),e.jsx(l.AutoPropsTable,{componentName:"MacOSSegmentedControl"}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(l.CodeBlock,{language:"tsx",code:`import { MacOSSegmentedControl } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
function TabsDemo() {
|
|
4
|
+
const [value, setValue] = useState('general');
|
|
5
|
+
|
|
6
|
+
return (
|
|
7
|
+
<MacOSSegmentedControl
|
|
8
|
+
value={value}
|
|
9
|
+
onChange={setValue}
|
|
10
|
+
size="md" // 'sm' | 'md' | 'lg'
|
|
11
|
+
fullWidth={false}
|
|
12
|
+
options={[
|
|
13
|
+
{ label: 'General', value: 'general' },
|
|
14
|
+
{ label: 'Privacy', value: 'privacy', icon: <LockIcon /> },
|
|
15
|
+
{ label: 'Disabled', value: 'x', disabled: true },
|
|
16
|
+
]}
|
|
17
|
+
/>
|
|
18
|
+
);
|
|
19
|
+
}`})})})})]})};exports.MacOSSegmentedControlSection=r;exports.default=r;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("react"),a=require("../index-DMs_SmPq.js"),s=require("lucide-react");require("react-router-dom");require("react-dom");const d=[{label:"Favorites",items:[{id:"inbox",label:"Inbox",icon:e.jsx(s.Inbox,{className:"w-4 h-4"}),badge:12},{id:"starred",label:"Starred",icon:e.jsx(s.Star,{className:"w-4 h-4"})},{id:"sent",label:"Sent",icon:e.jsx(s.Send,{className:"w-4 h-4"})}]},{label:"Folders",items:[{id:"work",label:"Work",icon:e.jsx(s.Briefcase,{className:"w-4 h-4"}),badge:3},{id:"personal",label:"Personal",icon:e.jsx(s.User,{className:"w-4 h-4"})},{id:"archive",label:"Archive",icon:e.jsx(s.Archive,{className:"w-4 h-4"}),disabled:!0}]}];function n(t){const[r,i]=l.useState(t.activeId||"inbox");return e.jsxs("div",{className:"flex h-64 rounded-xl overflow-hidden border border-border",children:[e.jsx(a.MacSidebarCard,{sections:d,activeId:r,onSelect:i,header:e.jsx("p",{className:"text-sm font-semibold text-gray-800 dark:text-gray-100",children:"Mail"})}),e.jsxs("div",{className:"flex flex-1 items-center justify-center bg-gray-50 dark:bg-gray-900 text-sm text-gray-500",children:["Active:"," ",e.jsx("span",{className:"ml-1 font-medium text-gray-800 dark:text-gray-200",children:r})]})]})}const c=()=>{const[t,r]=l.useState("inbox");return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"MacSidebarCard",description:"A macOS-style navigation sidebar with backdrop blur, section group labels, badge counts, active-item tinting, header/footer slots, and disabled state for items.",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-slate-500 via-gray-600 to-zinc-700 rounded-full flex items-center justify-center shadow-lg border border-slate-500/50",children:e.jsx(s.PanelLeft,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Interactive Sidebar",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"flex h-72 rounded-xl overflow-hidden border border-border shadow-sm",children:[e.jsx(a.MacSidebarCard,{sections:d,activeId:t,onSelect:r,header:e.jsx("p",{className:"text-sm font-semibold text-gray-800 dark:text-gray-100",children:"Mail"}),footer:e.jsxs("button",{className:"flex items-center gap-2 text-xs text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",children:[e.jsx(s.Settings,{className:"w-3.5 h-3.5"}),"Preferences"]})}),e.jsxs("div",{className:"flex flex-1 items-center justify-center bg-gray-50 dark:bg-gray-900 text-sm text-gray-500",children:["Active:"," ",e.jsx("span",{className:"ml-1 font-medium text-gray-800 dark:text-gray-200",children:t})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Without Section Labels",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"flex h-56 rounded-xl overflow-hidden border border-border shadow-sm",children:[e.jsx(a.MacSidebarCard,{sections:[{items:[{id:"home",label:"Home",icon:e.jsx(s.Home,{className:"w-4 h-4"})},{id:"search",label:"Search",icon:e.jsx(s.Search,{className:"w-4 h-4"})},{id:"settings",label:"Settings",icon:e.jsx(s.Settings,{className:"w-4 h-4"})}]}],activeId:"home",onSelect:()=>{}}),e.jsx("div",{className:"flex flex-1 items-center justify-center bg-gray-50 dark:bg-gray-900 text-sm text-gray-400",children:"Main content area"})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"With Badge Counts & Disabled Items",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"flex h-64 rounded-xl overflow-hidden border border-border shadow-sm",children:[e.jsx(a.MacSidebarCard,{sections:[{label:"Notifications",items:[{id:"all",label:"All",icon:e.jsx(s.Bell,{className:"w-4 h-4"}),badge:42},{id:"mentions",label:"Mentions",icon:e.jsx(s.AtSign,{className:"w-4 h-4"}),badge:7},{id:"muted",label:"Muted",icon:e.jsx(s.BellOff,{className:"w-4 h-4"}),disabled:!0}]}],activeId:"all",onSelect:()=>{}}),e.jsx("div",{className:"flex flex-1 items-center justify-center bg-gray-50 dark:bg-gray-900 text-sm text-gray-400",children:"Badges show count; disabled items appear muted"})]})})})}),e.jsx(a.PropPlayground,{componentName:"MacOSSidebar",defaultValues:{activeId:"inbox"},controlOverrides:[{name:"activeId",type:"select",options:["inbox","starred","sent","work","personal","archive"],description:"Currently active item ID"}],includeProps:["activeId"],excludeProps:["className","sections","onSelect","header","footer"],children:i=>e.jsx(n,{...i})}),e.jsx(a.AutoPropsTable,{componentName:"MacOSSidebar"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { MacSidebarCard } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
const sections = [
|
|
4
|
+
{
|
|
5
|
+
label: 'Favorites',
|
|
6
|
+
items: [
|
|
7
|
+
{ id: 'inbox', label: 'Inbox', icon: <InboxIcon />, badge: 12 },
|
|
8
|
+
{ id: 'starred', label: 'Starred', icon: <StarIcon /> },
|
|
9
|
+
],
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
label: 'Folders',
|
|
13
|
+
items: [
|
|
14
|
+
{ id: 'work', label: 'Work', icon: <BriefcaseIcon /> },
|
|
15
|
+
{ id: 'archive', label: 'Archive', icon: <ArchiveIcon />, disabled: true },
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
function App() {
|
|
21
|
+
const [activeId, setActiveId] = useState('inbox');
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<div className="flex h-screen">
|
|
25
|
+
<MacSidebarCard
|
|
26
|
+
sections={sections}
|
|
27
|
+
activeId={activeId}
|
|
28
|
+
onSelect={setActiveId}
|
|
29
|
+
header={<h2>Mail</h2>}
|
|
30
|
+
footer={<PreferencesButton />}
|
|
31
|
+
/>
|
|
32
|
+
<main className="flex-1">Content</main>
|
|
33
|
+
</div>
|
|
34
|
+
);
|
|
35
|
+
}`})})})})]})};exports.MacOSSidebarSection=c;exports.default=c;
|