@e-burgos/tucu-ui 2.0.8 → 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-DQHXQYml.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-Dbr8pnJS.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-yihyh7oT.js → BadgeSection-Cteg--jV.js} +29 -31
- package/documentation/BarChartSection-Clrho1um.js +23 -0
- package/documentation/{BarChartSection-vXs_Yolq.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-D_p0GeS5.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-BtsL1Kt8.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-ckUG_wKv.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-_nBvI_X8.js → CoinCardSection-DWe-P9aE.js} +69 -33
- package/documentation/{CoinInfoCardSection-AEcJ5uK3.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-BgyMQlIv.js → CollapseSection-DV4iEoTo.js} +30 -32
- package/documentation/CollectionCardSection-Cl5rgWzn.js +17 -0
- package/documentation/{CollectionCardSection-COmO7Vc5.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-M70OxN8v.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-D5pDeoKz.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-DrQtyycO.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-Dnh6Wf78.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-D2nnAJjT.js → ImageSection-BDC-XBOn.js} +17 -18
- package/documentation/ImageSection-C1nOKmH2.js +82 -0
- package/documentation/ImplementationExamplesSection-Cxl08TTf.js +305 -0
- package/documentation/{ImplementationExamplesSection-BKfCgO3N.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-BhJTN7zz.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-Bf6A4n7o.js → LayoutTypesSection-847E1FZA.js} +44 -43
- package/documentation/LayoutTypesSection-hnxHeuA2.js +1 -0
- package/documentation/LineChartSection-BFVXYiK4.js +21 -0
- package/documentation/{LineChartSection-BsupR4NA.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-Ba24GQNN.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-CfykWQ4k.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-ChPa1HVx.js → MenuItemsGuideSection-3rCQXRbI.js} +54 -28
- package/documentation/{MenuItemsGuideSection-D8eRUuUw.js → MenuItemsGuideSection-CW7znzf9.js} +2 -2
- package/documentation/ModalSection-B4Ay5tMm.js +30 -0
- package/documentation/{ModalSection-Df8_-5Mu.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-B5CPgG4B.js → NotificationCardSection-Dc9k9m0z.js} +25 -27
- package/documentation/NotificationCardSection-fW5poNpt.js +29 -0
- package/documentation/PaginationSection-Chxlsiar.js +19 -0
- package/documentation/{PaginationSection-30WC5ZN7.js → PaginationSection-Dkozx1NR.js} +45 -32
- package/documentation/{PanelActionCardSection-CC-DAySo.js → PanelActionCardSection-CrHET2qr.js} +15 -17
- package/documentation/PanelActionCardSection-DH2lDA1v.js +29 -0
- package/documentation/PanelCardSection-4huN71a_.js +16 -0
- package/documentation/{PanelCardSection-OBm47mh0.js → PanelCardSection-Cxgvd7E9.js} +14 -16
- package/documentation/{ParamTabSection-TcsbnNAx.js → ParamTabSection-CnjtpMbJ.js} +59 -36
- package/documentation/ParamTabSection-hI9LkIIz.js +94 -0
- package/documentation/{PieChartSection-DuRH9AFw.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-CrY3D0r8.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-D1NNa1Zb.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-DYHKnFn2.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-BjYOD-Ui.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-D1Z2lzGW.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-D7wP-dU3.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-cPdxSg37.js → TabModalSection-dg7LGi0f.js} +55 -31
- package/documentation/TabSection-DPBrpBDN.js +85 -0
- package/documentation/{TabSection-B0K0gRVb.js → TabSection-DnD_Te-M.js} +71 -49
- package/documentation/{TabSelectSection-or6HVCzs.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-DlOJ3rB6.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-CY2Mbvzy.js → ToastSection-C3RQpSox.js} +43 -45
- package/documentation/{ToastSection-BeNEBfZU.js → ToastSection-DF3L8jxW.js} +3 -2
- package/documentation/ToggleBarSection-CJmXFlZa.js +45 -0
- package/documentation/ToggleBarSection-D26Mzrf4.js +186 -0
- package/documentation/{TooltipSection-CoTGjIYK.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-DAwRhonX.js → TypographySection-BPidPkKl.js} +49 -51
- package/documentation/TypographySection-BVa4hd_u.js +33 -0
- package/documentation/TypographySection-Co79YcZL.js +1 -0
- package/documentation/{TypographySection-FEhLWV6X.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-D3gBsvbO.js → index-lfg6LZ1p.js} +35911 -27765
- 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-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-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-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-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,280 @@
|
|
|
1
|
+
import { jsxs as r, Fragment as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { ay as m, H as b, C as s, a as i, T as d } from "../index-lfg6LZ1p.js";
|
|
3
|
+
import { Layers as g } from "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const u = [
|
|
8
|
+
{
|
|
9
|
+
name: "UltraThin",
|
|
10
|
+
opacity: 0.36,
|
|
11
|
+
blur: 15,
|
|
12
|
+
lightBg: "rgba(246, 246, 248, 0.36)",
|
|
13
|
+
darkBg: "rgba(28, 28, 30, 0.36)",
|
|
14
|
+
desc: "Maximum translucency — content behind is clearly visible"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
name: "Thin",
|
|
18
|
+
opacity: 0.48,
|
|
19
|
+
blur: 15,
|
|
20
|
+
lightBg: "rgba(246, 246, 248, 0.48)",
|
|
21
|
+
darkBg: "rgba(28, 28, 30, 0.48)",
|
|
22
|
+
desc: "High translucency — subtle tinting of background content"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: "Medium",
|
|
26
|
+
opacity: 0.6,
|
|
27
|
+
blur: 15,
|
|
28
|
+
lightBg: "rgba(246, 246, 248, 0.60)",
|
|
29
|
+
darkBg: "rgba(28, 28, 30, 0.60)",
|
|
30
|
+
desc: "Balanced — background content is muted but perceptible"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "Thick",
|
|
34
|
+
opacity: 0.72,
|
|
35
|
+
blur: 15,
|
|
36
|
+
lightBg: "rgba(246, 246, 248, 0.72)",
|
|
37
|
+
darkBg: "rgba(40, 40, 42, 0.72)",
|
|
38
|
+
desc: "Low translucency — subtle depth hint from background"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: "UltraThick",
|
|
42
|
+
opacity: 0.84,
|
|
43
|
+
blur: 15,
|
|
44
|
+
lightBg: "rgba(246, 246, 248, 0.84)",
|
|
45
|
+
darkBg: "rgba(44, 44, 46, 0.84)",
|
|
46
|
+
desc: "Near-opaque — minimal translucency, maximum legibility"
|
|
47
|
+
}
|
|
48
|
+
], o = {
|
|
49
|
+
light: [
|
|
50
|
+
{
|
|
51
|
+
name: "Sidebar",
|
|
52
|
+
css: "var(--macos-material-sidebar)",
|
|
53
|
+
blur: "20px",
|
|
54
|
+
value: "rgba(246, 246, 248, 0.82)"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "Toolbar",
|
|
58
|
+
css: "var(--macos-material-toolbar)",
|
|
59
|
+
blur: "16px",
|
|
60
|
+
value: "rgba(255, 255, 255, 0.72)"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "Popover",
|
|
64
|
+
css: "var(--macos-material-popover)",
|
|
65
|
+
blur: "24px",
|
|
66
|
+
value: "rgba(255, 255, 255, 0.9)"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "Sheet",
|
|
70
|
+
css: "var(--macos-material-sheet)",
|
|
71
|
+
blur: "30px",
|
|
72
|
+
value: "rgba(255, 255, 255, 0.94)"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
dark: [
|
|
76
|
+
{
|
|
77
|
+
name: "Sidebar",
|
|
78
|
+
css: "var(--macos-material-sidebar)",
|
|
79
|
+
blur: "20px",
|
|
80
|
+
value: "rgba(28, 28, 30, 0.85)"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: "Toolbar",
|
|
84
|
+
css: "var(--macos-material-toolbar)",
|
|
85
|
+
blur: "16px",
|
|
86
|
+
value: "rgba(40, 40, 42, 0.8)"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "Popover",
|
|
90
|
+
css: "var(--macos-material-popover)",
|
|
91
|
+
blur: "24px",
|
|
92
|
+
value: "rgba(44, 44, 46, 0.92)"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: "Sheet",
|
|
96
|
+
css: "var(--macos-material-sheet)",
|
|
97
|
+
blur: "30px",
|
|
98
|
+
value: "rgba(44, 44, 46, 0.96)"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}, k = () => {
|
|
102
|
+
const { mode: c } = m(), l = c === "dark", n = l ? o.dark : o.light;
|
|
103
|
+
return /* @__PURE__ */ r(t, { children: [
|
|
104
|
+
/* @__PURE__ */ e(
|
|
105
|
+
b,
|
|
106
|
+
{
|
|
107
|
+
title: "Materials",
|
|
108
|
+
description: "macOS vibrancy materials combine translucency and blur to provide depth and context. Content behind the material informs the user of spatial hierarchy.",
|
|
109
|
+
icon: /* @__PURE__ */ e("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-white/80 via-gray-200/60 to-gray-400/40 dark:from-gray-700/80 dark:via-gray-800/60 dark:to-gray-900/40 rounded-full flex items-center justify-center shadow-lg border border-white/50 dark:border-gray-600/50 backdrop-blur-md", children: /* @__PURE__ */ e(g, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-gray-700 dark:text-gray-200 filter drop-shadow-lg" }) })
|
|
110
|
+
}
|
|
111
|
+
),
|
|
112
|
+
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Material Levels", className: "mt-2 mb-2", children: /* @__PURE__ */ r("div", { className: "w-full p-4 sm:p-6", children: [
|
|
113
|
+
/* @__PURE__ */ e(
|
|
114
|
+
d,
|
|
115
|
+
{
|
|
116
|
+
tag: "p",
|
|
117
|
+
className: "text-sm text-gray-500 dark:text-gray-400 mb-6",
|
|
118
|
+
children: "Five translucency levels from UltraThin (most transparent) to UltraThick (near-opaque). All use backdrop-filter blur for the frosted-glass effect."
|
|
119
|
+
}
|
|
120
|
+
),
|
|
121
|
+
/* @__PURE__ */ r(
|
|
122
|
+
"div",
|
|
123
|
+
{
|
|
124
|
+
className: "relative rounded-xl overflow-hidden p-6",
|
|
125
|
+
style: {
|
|
126
|
+
background: l ? "linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%)" : "linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%)",
|
|
127
|
+
minHeight: "400px"
|
|
128
|
+
},
|
|
129
|
+
children: [
|
|
130
|
+
/* @__PURE__ */ e("div", { className: "absolute inset-0 opacity-60", children: l ? /* @__PURE__ */ r(t, { children: [
|
|
131
|
+
/* @__PURE__ */ e("div", { className: "absolute top-6 left-8 w-20 h-20 rounded-full bg-purple-600" }),
|
|
132
|
+
/* @__PURE__ */ e("div", { className: "absolute top-12 right-16 w-28 h-28 rounded-full bg-indigo-600" }),
|
|
133
|
+
/* @__PURE__ */ e("div", { className: "absolute bottom-6 left-1/3 w-16 h-16 rounded-full bg-blue-600" }),
|
|
134
|
+
/* @__PURE__ */ e("div", { className: "absolute bottom-8 right-8 w-24 h-24 rounded-full bg-violet-700" })
|
|
135
|
+
] }) : /* @__PURE__ */ r(t, { children: [
|
|
136
|
+
/* @__PURE__ */ e("div", { className: "absolute top-4 left-4 w-24 h-24 rounded-full bg-yellow-300" }),
|
|
137
|
+
/* @__PURE__ */ e("div", { className: "absolute top-16 right-12 w-32 h-32 rounded-full bg-pink-400" }),
|
|
138
|
+
/* @__PURE__ */ e("div", { className: "absolute bottom-8 left-1/4 w-20 h-20 rounded-full bg-green-400" }),
|
|
139
|
+
/* @__PURE__ */ e("div", { className: "absolute bottom-4 right-8 w-28 h-28 rounded-full bg-blue-300" })
|
|
140
|
+
] }) }),
|
|
141
|
+
/* @__PURE__ */ e("div", { className: "relative flex flex-col gap-4", children: u.map((a) => /* @__PURE__ */ e(
|
|
142
|
+
"div",
|
|
143
|
+
{
|
|
144
|
+
className: "rounded-xl p-4 border border-white/20",
|
|
145
|
+
style: {
|
|
146
|
+
backgroundColor: l ? a.darkBg : a.lightBg,
|
|
147
|
+
backdropFilter: `blur(${a.blur}px)`,
|
|
148
|
+
WebkitBackdropFilter: `blur(${a.blur}px)`
|
|
149
|
+
},
|
|
150
|
+
children: /* @__PURE__ */ r("div", { className: "flex items-center justify-between", children: [
|
|
151
|
+
/* @__PURE__ */ r("div", { children: [
|
|
152
|
+
/* @__PURE__ */ e(
|
|
153
|
+
"span",
|
|
154
|
+
{
|
|
155
|
+
className: `text-sm font-semibold ${l ? "text-gray-100" : "text-gray-800"}`,
|
|
156
|
+
children: a.name
|
|
157
|
+
}
|
|
158
|
+
),
|
|
159
|
+
/* @__PURE__ */ e(
|
|
160
|
+
"p",
|
|
161
|
+
{
|
|
162
|
+
className: `text-xs mt-0.5 ${l ? "text-gray-300" : "text-gray-600"}`,
|
|
163
|
+
children: a.desc
|
|
164
|
+
}
|
|
165
|
+
)
|
|
166
|
+
] }),
|
|
167
|
+
/* @__PURE__ */ r("div", { className: "text-right", children: [
|
|
168
|
+
/* @__PURE__ */ r(
|
|
169
|
+
"span",
|
|
170
|
+
{
|
|
171
|
+
className: `text-xs font-mono ${l ? "text-gray-400" : "text-gray-600"}`,
|
|
172
|
+
children: [
|
|
173
|
+
"opacity: ",
|
|
174
|
+
a.opacity
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
),
|
|
178
|
+
/* @__PURE__ */ e("br", {}),
|
|
179
|
+
/* @__PURE__ */ r(
|
|
180
|
+
"span",
|
|
181
|
+
{
|
|
182
|
+
className: `text-xs font-mono ${l ? "text-gray-400" : "text-gray-600"}`,
|
|
183
|
+
children: [
|
|
184
|
+
"blur: ",
|
|
185
|
+
a.blur,
|
|
186
|
+
"px"
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
)
|
|
190
|
+
] })
|
|
191
|
+
] })
|
|
192
|
+
},
|
|
193
|
+
a.name
|
|
194
|
+
)) })
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
)
|
|
198
|
+
] }) }) }),
|
|
199
|
+
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(
|
|
200
|
+
i,
|
|
201
|
+
{
|
|
202
|
+
title: "Named Materials (CSS Variables)",
|
|
203
|
+
className: "mt-2 mb-2",
|
|
204
|
+
children: /* @__PURE__ */ r("div", { className: "w-full p-4 sm:p-6", children: [
|
|
205
|
+
/* @__PURE__ */ r(
|
|
206
|
+
d,
|
|
207
|
+
{
|
|
208
|
+
tag: "p",
|
|
209
|
+
className: "text-sm text-gray-500 dark:text-gray-400 mb-4",
|
|
210
|
+
children: [
|
|
211
|
+
"Pre-defined materials for common macOS surfaces. Each maps to a CSS custom property. Showing ",
|
|
212
|
+
l ? "dark" : "light",
|
|
213
|
+
" mode values."
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
),
|
|
217
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4", children: n.map((a) => /* @__PURE__ */ e(
|
|
218
|
+
"div",
|
|
219
|
+
{
|
|
220
|
+
className: "rounded-xl p-4 border border-gray-200 dark:border-gray-700",
|
|
221
|
+
style: {
|
|
222
|
+
background: l ? "linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%)" : "linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #d299c2 100%)"
|
|
223
|
+
},
|
|
224
|
+
children: /* @__PURE__ */ r(
|
|
225
|
+
"div",
|
|
226
|
+
{
|
|
227
|
+
className: "rounded-lg p-4 border border-white/30 dark:border-white/10",
|
|
228
|
+
style: {
|
|
229
|
+
backgroundColor: a.value,
|
|
230
|
+
backdropFilter: `blur(${a.blur})`,
|
|
231
|
+
WebkitBackdropFilter: `blur(${a.blur})`
|
|
232
|
+
},
|
|
233
|
+
children: [
|
|
234
|
+
/* @__PURE__ */ e(
|
|
235
|
+
"span",
|
|
236
|
+
{
|
|
237
|
+
className: `text-sm font-semibold ${l ? "text-gray-100" : "text-gray-800"}`,
|
|
238
|
+
children: a.name
|
|
239
|
+
}
|
|
240
|
+
),
|
|
241
|
+
/* @__PURE__ */ r("div", { className: "mt-2 space-y-1", children: [
|
|
242
|
+
/* @__PURE__ */ e(
|
|
243
|
+
"p",
|
|
244
|
+
{
|
|
245
|
+
className: `text-[10px] font-mono ${l ? "text-gray-400" : "text-gray-500"}`,
|
|
246
|
+
children: a.css
|
|
247
|
+
}
|
|
248
|
+
),
|
|
249
|
+
/* @__PURE__ */ r(
|
|
250
|
+
"p",
|
|
251
|
+
{
|
|
252
|
+
className: `text-[10px] font-mono ${l ? "text-gray-400" : "text-gray-500"}`,
|
|
253
|
+
children: [
|
|
254
|
+
"blur: ",
|
|
255
|
+
a.blur
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
),
|
|
259
|
+
/* @__PURE__ */ e(
|
|
260
|
+
"p",
|
|
261
|
+
{
|
|
262
|
+
className: `text-[10px] font-mono ${l ? "text-gray-400" : "text-gray-500"}`,
|
|
263
|
+
children: a.value
|
|
264
|
+
}
|
|
265
|
+
)
|
|
266
|
+
] })
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
)
|
|
270
|
+
},
|
|
271
|
+
a.name
|
|
272
|
+
)) })
|
|
273
|
+
] })
|
|
274
|
+
}
|
|
275
|
+
) })
|
|
276
|
+
] });
|
|
277
|
+
};
|
|
278
|
+
export {
|
|
279
|
+
k as default
|
|
280
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-BaGqriuz.js"),d=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=[{name:"UltraThin",opacity:.36,blur:15,lightBg:"rgba(246, 246, 248, 0.36)",darkBg:"rgba(28, 28, 30, 0.36)",desc:"Maximum translucency — content behind is clearly visible"},{name:"Thin",opacity:.48,blur:15,lightBg:"rgba(246, 246, 248, 0.48)",darkBg:"rgba(28, 28, 30, 0.48)",desc:"High translucency — subtle tinting of background content"},{name:"Medium",opacity:.6,blur:15,lightBg:"rgba(246, 246, 248, 0.60)",darkBg:"rgba(28, 28, 30, 0.60)",desc:"Balanced — background content is muted but perceptible"},{name:"Thick",opacity:.72,blur:15,lightBg:"rgba(246, 246, 248, 0.72)",darkBg:"rgba(40, 40, 42, 0.72)",desc:"Low translucency — subtle depth hint from background"},{name:"UltraThick",opacity:.84,blur:15,lightBg:"rgba(246, 246, 248, 0.84)",darkBg:"rgba(44, 44, 46, 0.84)",desc:"Near-opaque — minimal translucency, maximum legibility"}],l={light:[{name:"Sidebar",css:"var(--macos-material-sidebar)",blur:"20px",value:"rgba(246, 246, 248, 0.82)"},{name:"Toolbar",css:"var(--macos-material-toolbar)",blur:"16px",value:"rgba(255, 255, 255, 0.72)"},{name:"Popover",css:"var(--macos-material-popover)",blur:"24px",value:"rgba(255, 255, 255, 0.9)"},{name:"Sheet",css:"var(--macos-material-sheet)",blur:"30px",value:"rgba(255, 255, 255, 0.94)"}],dark:[{name:"Sidebar",css:"var(--macos-material-sidebar)",blur:"20px",value:"rgba(28, 28, 30, 0.85)"},{name:"Toolbar",css:"var(--macos-material-toolbar)",blur:"16px",value:"rgba(40, 40, 42, 0.8)"},{name:"Popover",css:"var(--macos-material-popover)",blur:"24px",value:"rgba(44, 44, 46, 0.92)"},{name:"Sheet",css:"var(--macos-material-sheet)",blur:"30px",value:"rgba(44, 44, 46, 0.96)"}]},n=()=>{const{mode:t}=s.useTheme(),r=t==="dark",i=r?l.dark:l.light;return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Materials",description:"macOS vibrancy materials combine translucency and blur to provide depth and context. Content behind the material informs the user of spatial hierarchy.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-white/80 via-gray-200/60 to-gray-400/40 dark:from-gray-700/80 dark:via-gray-800/60 dark:to-gray-900/40 rounded-full flex items-center justify-center shadow-lg border border-white/50 dark:border-gray-600/50 backdrop-blur-md",children:e.jsx(d.Layers,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-gray-700 dark:text-gray-200 filter drop-shadow-lg"})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Material Levels",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-6",children:"Five translucency levels from UltraThin (most transparent) to UltraThick (near-opaque). All use backdrop-filter blur for the frosted-glass effect."}),e.jsxs("div",{className:"relative rounded-xl overflow-hidden p-6",style:{background:r?"linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%)":"linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%)",minHeight:"400px"},children:[e.jsx("div",{className:"absolute inset-0 opacity-60",children:r?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"absolute top-6 left-8 w-20 h-20 rounded-full bg-purple-600"}),e.jsx("div",{className:"absolute top-12 right-16 w-28 h-28 rounded-full bg-indigo-600"}),e.jsx("div",{className:"absolute bottom-6 left-1/3 w-16 h-16 rounded-full bg-blue-600"}),e.jsx("div",{className:"absolute bottom-8 right-8 w-24 h-24 rounded-full bg-violet-700"})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"absolute top-4 left-4 w-24 h-24 rounded-full bg-yellow-300"}),e.jsx("div",{className:"absolute top-16 right-12 w-32 h-32 rounded-full bg-pink-400"}),e.jsx("div",{className:"absolute bottom-8 left-1/4 w-20 h-20 rounded-full bg-green-400"}),e.jsx("div",{className:"absolute bottom-4 right-8 w-28 h-28 rounded-full bg-blue-300"})]})}),e.jsx("div",{className:"relative flex flex-col gap-4",children:o.map(a=>e.jsx("div",{className:"rounded-xl p-4 border border-white/20",style:{backgroundColor:r?a.darkBg:a.lightBg,backdropFilter:`blur(${a.blur}px)`,WebkitBackdropFilter:`blur(${a.blur}px)`},children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("span",{className:`text-sm font-semibold ${r?"text-gray-100":"text-gray-800"}`,children:a.name}),e.jsx("p",{className:`text-xs mt-0.5 ${r?"text-gray-300":"text-gray-600"}`,children:a.desc})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("span",{className:`text-xs font-mono ${r?"text-gray-400":"text-gray-600"}`,children:["opacity: ",a.opacity]}),e.jsx("br",{}),e.jsxs("span",{className:`text-xs font-mono ${r?"text-gray-400":"text-gray-600"}`,children:["blur: ",a.blur,"px"]})]})]})},a.name))})]})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Named Materials (CSS Variables)",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Pre-defined materials for common macOS surfaces. Each maps to a CSS custom property. Showing ",r?"dark":"light"," mode values."]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:i.map(a=>e.jsx("div",{className:"rounded-xl p-4 border border-gray-200 dark:border-gray-700",style:{background:r?"linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%)":"linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #d299c2 100%)"},children:e.jsxs("div",{className:"rounded-lg p-4 border border-white/30 dark:border-white/10",style:{backgroundColor:a.value,backdropFilter:`blur(${a.blur})`,WebkitBackdropFilter:`blur(${a.blur})`},children:[e.jsx("span",{className:`text-sm font-semibold ${r?"text-gray-100":"text-gray-800"}`,children:a.name}),e.jsxs("div",{className:"mt-2 space-y-1",children:[e.jsx("p",{className:`text-[10px] font-mono ${r?"text-gray-400":"text-gray-500"}`,children:a.css}),e.jsxs("p",{className:`text-[10px] font-mono ${r?"text-gray-400":"text-gray-500"}`,children:["blur: ",a.blur]}),e.jsx("p",{className:`text-[10px] font-mono ${r?"text-gray-400":"text-gray-500"}`,children:a.value})]})]})},a.name))})]})})})]})};exports.default=n;
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { jsxs as l, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c } from "react";
|
|
3
|
+
import { H as f, C as o, a as r, bu as n, x as m, P as u, A as h, c as b } from "../index-lfg6LZ1p.js";
|
|
4
|
+
import { Bell as g, Info as p, CheckCircle as w, AlertTriangle as v, WifiOff as N } from "lucide-react";
|
|
5
|
+
import "react-router-dom";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
function x(i) {
|
|
8
|
+
const [a, t] = c(!0);
|
|
9
|
+
return a ? /* @__PURE__ */ e("div", { className: "w-full max-w-xl mx-auto", children: /* @__PURE__ */ e(
|
|
10
|
+
n,
|
|
11
|
+
{
|
|
12
|
+
title: i.title || "Notification",
|
|
13
|
+
variant: i.variant,
|
|
14
|
+
message: i.message,
|
|
15
|
+
dismissible: i.dismissible,
|
|
16
|
+
onDismiss: i.dismissible !== !1 ? () => t(!1) : void 0,
|
|
17
|
+
actions: [{ label: "Action", onClick: () => {
|
|
18
|
+
} }]
|
|
19
|
+
}
|
|
20
|
+
) }) : /* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-2", children: [
|
|
21
|
+
/* @__PURE__ */ e("p", { className: "text-sm text-gray-500", children: "Banner dismissed" }),
|
|
22
|
+
/* @__PURE__ */ e(m, { size: "mini", onClick: () => t(!0), children: "Restore" })
|
|
23
|
+
] });
|
|
24
|
+
}
|
|
25
|
+
const S = () => {
|
|
26
|
+
const [i, a] = c({
|
|
27
|
+
info: !0,
|
|
28
|
+
success: !0,
|
|
29
|
+
warning: !0,
|
|
30
|
+
error: !0
|
|
31
|
+
}), t = () => a({ info: !0, success: !0, warning: !0, error: !0 });
|
|
32
|
+
return /* @__PURE__ */ l(d, { children: [
|
|
33
|
+
/* @__PURE__ */ e(
|
|
34
|
+
f,
|
|
35
|
+
{
|
|
36
|
+
title: "NotificationBanner",
|
|
37
|
+
description: "macOS-style notification banners with four variants (info, success, warning, error), optional dismiss button, action buttons, custom icons, and smooth enter/exit animations.",
|
|
38
|
+
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-amber-500 via-orange-500 to-red-500 rounded-full flex items-center justify-center shadow-lg border border-amber-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" }) })
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
/* @__PURE__ */ e(o, { className: "overflow-hidden", children: /* @__PURE__ */ e(r, { title: "All Variants", className: "mt-2 mb-2", children: /* @__PURE__ */ l("div", { className: "w-full p-4 sm:p-6 space-y-3", children: [
|
|
42
|
+
i.info && /* @__PURE__ */ e(
|
|
43
|
+
n,
|
|
44
|
+
{
|
|
45
|
+
variant: "info",
|
|
46
|
+
title: "Update available",
|
|
47
|
+
message: "macOS 14.5 is now available. Restart to install.",
|
|
48
|
+
icon: /* @__PURE__ */ e(p, { className: "w-5 h-5" }),
|
|
49
|
+
actions: [{ label: "Update Now", onClick: () => {
|
|
50
|
+
} }],
|
|
51
|
+
onDismiss: () => a((s) => ({ ...s, info: !1 }))
|
|
52
|
+
}
|
|
53
|
+
),
|
|
54
|
+
i.success && /* @__PURE__ */ e(
|
|
55
|
+
n,
|
|
56
|
+
{
|
|
57
|
+
variant: "success",
|
|
58
|
+
title: "Backup complete",
|
|
59
|
+
message: "Time Machine backup finished successfully.",
|
|
60
|
+
icon: /* @__PURE__ */ e(w, { className: "w-5 h-5" }),
|
|
61
|
+
onDismiss: () => a((s) => ({ ...s, success: !1 }))
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
i.warning && /* @__PURE__ */ e(
|
|
65
|
+
n,
|
|
66
|
+
{
|
|
67
|
+
variant: "warning",
|
|
68
|
+
title: "Low storage",
|
|
69
|
+
message: "Only 5 GB remaining. Free up space to avoid performance issues.",
|
|
70
|
+
icon: /* @__PURE__ */ e(v, { className: "w-5 h-5" }),
|
|
71
|
+
actions: [{ label: "Manage", onClick: () => {
|
|
72
|
+
} }],
|
|
73
|
+
onDismiss: () => a((s) => ({ ...s, warning: !1 }))
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
i.error && /* @__PURE__ */ e(
|
|
77
|
+
n,
|
|
78
|
+
{
|
|
79
|
+
variant: "error",
|
|
80
|
+
title: "Network error",
|
|
81
|
+
message: "Unable to connect. Check your internet connection.",
|
|
82
|
+
icon: /* @__PURE__ */ e(N, { className: "w-5 h-5" }),
|
|
83
|
+
actions: [{ label: "Try Again", onClick: () => {
|
|
84
|
+
} }],
|
|
85
|
+
onDismiss: () => a((s) => ({ ...s, error: !1 }))
|
|
86
|
+
}
|
|
87
|
+
),
|
|
88
|
+
!Object.values(i).some(Boolean) && /* @__PURE__ */ e("p", { className: "text-center text-sm text-gray-400 py-4", children: "All banners dismissed." }),
|
|
89
|
+
/* @__PURE__ */ e("div", { className: "flex justify-center pt-2", children: /* @__PURE__ */ e(m, { size: "mini", shape: "rounded", onClick: t, children: "Restore All" }) })
|
|
90
|
+
] }) }) }),
|
|
91
|
+
/* @__PURE__ */ e(o, { className: "overflow-hidden", children: /* @__PURE__ */ e(r, { title: "Non-dismissible", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
92
|
+
n,
|
|
93
|
+
{
|
|
94
|
+
variant: "warning",
|
|
95
|
+
title: "Attention required",
|
|
96
|
+
message: "This notification cannot be dismissed and requires action.",
|
|
97
|
+
dismissible: !1,
|
|
98
|
+
actions: [{ label: "Take Action", onClick: () => {
|
|
99
|
+
} }]
|
|
100
|
+
}
|
|
101
|
+
) }) }) }),
|
|
102
|
+
/* @__PURE__ */ e(
|
|
103
|
+
u,
|
|
104
|
+
{
|
|
105
|
+
componentName: "MacOSNotificationBanner",
|
|
106
|
+
defaultValues: {
|
|
107
|
+
variant: "info",
|
|
108
|
+
title: "Notification Title",
|
|
109
|
+
message: "This is a notification message with details.",
|
|
110
|
+
dismissible: !0
|
|
111
|
+
},
|
|
112
|
+
controlOverrides: [
|
|
113
|
+
{
|
|
114
|
+
name: "variant",
|
|
115
|
+
type: "select",
|
|
116
|
+
options: ["info", "success", "warning", "error"],
|
|
117
|
+
description: "Banner severity variant"
|
|
118
|
+
},
|
|
119
|
+
{ name: "title", type: "text", description: "Banner heading" },
|
|
120
|
+
{ name: "message", type: "text", description: "Banner body message" },
|
|
121
|
+
{
|
|
122
|
+
name: "dismissible",
|
|
123
|
+
type: "boolean",
|
|
124
|
+
description: "Show dismiss (×) button"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
includeProps: ["variant", "title", "message", "dismissible"],
|
|
128
|
+
excludeProps: ["className", "icon", "actions", "onDismiss"],
|
|
129
|
+
children: (s) => /* @__PURE__ */ e(x, { ...s })
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
/* @__PURE__ */ e(h, { componentName: "MacOSNotificationBanner" }),
|
|
133
|
+
/* @__PURE__ */ e(o, { className: "overflow-hidden", children: /* @__PURE__ */ e(r, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
134
|
+
b,
|
|
135
|
+
{
|
|
136
|
+
language: "tsx",
|
|
137
|
+
code: `import { MacOSNotificationBanner } from '@e-burgos/tucu-ui';
|
|
138
|
+
|
|
139
|
+
// Info banner with action buttons
|
|
140
|
+
<MacOSNotificationBanner
|
|
141
|
+
variant="info"
|
|
142
|
+
title="Update available"
|
|
143
|
+
message="macOS 14.5 is ready to install."
|
|
144
|
+
icon={<InfoIcon />}
|
|
145
|
+
actions={[
|
|
146
|
+
{ label: 'Update Now', onClick: handleUpdate },
|
|
147
|
+
{ label: 'Later', onClick: handleDismiss },
|
|
148
|
+
]}
|
|
149
|
+
onDismiss={handleDismiss}
|
|
150
|
+
/>
|
|
151
|
+
|
|
152
|
+
// Non-dismissible warning
|
|
153
|
+
<MacOSNotificationBanner
|
|
154
|
+
variant="warning"
|
|
155
|
+
title="Attention"
|
|
156
|
+
message="Action required."
|
|
157
|
+
dismissible={false}
|
|
158
|
+
actions={[{ label: 'Take Action', onClick: handle }]}
|
|
159
|
+
/>
|
|
160
|
+
|
|
161
|
+
// Variants: 'info' | 'success' | 'warning' | 'error'`
|
|
162
|
+
}
|
|
163
|
+
) }) }) })
|
|
164
|
+
] });
|
|
165
|
+
};
|
|
166
|
+
export {
|
|
167
|
+
S as MacOSNotificationBannerSection,
|
|
168
|
+
S as default
|
|
169
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),i=require("../index-BaGqriuz.js"),t=require("lucide-react");require("react-router-dom");require("react-dom");function c(s){const[a,o]=r.useState(!0);return a?e.jsx("div",{className:"w-full max-w-xl mx-auto",children:e.jsx(i.MacOSNotificationBanner,{title:s.title||"Notification",variant:s.variant,message:s.message,dismissible:s.dismissible,onDismiss:s.dismissible!==!1?()=>o(!1):void 0,actions:[{label:"Action",onClick:()=>{}}]})}):e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("p",{className:"text-sm text-gray-500",children:"Banner dismissed"}),e.jsx(i.Button,{size:"mini",onClick:()=>o(!0),children:"Restore"})]})}const l=()=>{const[s,a]=r.useState({info:!0,success:!0,warning:!0,error:!0}),o=()=>a({info:!0,success:!0,warning:!0,error:!0});return e.jsxs(e.Fragment,{children:[e.jsx(i.HeroCard,{title:"NotificationBanner",description:"macOS-style notification banners with four variants (info, success, warning, error), optional dismiss button, action buttons, custom icons, and smooth enter/exit animations.",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-amber-500 via-orange-500 to-red-500 rounded-full flex items-center justify-center shadow-lg border border-amber-500/50",children:e.jsx(t.Bell,{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(i.CardContainer,{className:"overflow-hidden",children:e.jsx(i.CardTitle,{title:"All Variants",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[s.info&&e.jsx(i.MacOSNotificationBanner,{variant:"info",title:"Update available",message:"macOS 14.5 is now available. Restart to install.",icon:e.jsx(t.Info,{className:"w-5 h-5"}),actions:[{label:"Update Now",onClick:()=>{}}],onDismiss:()=>a(n=>({...n,info:!1}))}),s.success&&e.jsx(i.MacOSNotificationBanner,{variant:"success",title:"Backup complete",message:"Time Machine backup finished successfully.",icon:e.jsx(t.CheckCircle,{className:"w-5 h-5"}),onDismiss:()=>a(n=>({...n,success:!1}))}),s.warning&&e.jsx(i.MacOSNotificationBanner,{variant:"warning",title:"Low storage",message:"Only 5 GB remaining. Free up space to avoid performance issues.",icon:e.jsx(t.AlertTriangle,{className:"w-5 h-5"}),actions:[{label:"Manage",onClick:()=>{}}],onDismiss:()=>a(n=>({...n,warning:!1}))}),s.error&&e.jsx(i.MacOSNotificationBanner,{variant:"error",title:"Network error",message:"Unable to connect. Check your internet connection.",icon:e.jsx(t.WifiOff,{className:"w-5 h-5"}),actions:[{label:"Try Again",onClick:()=>{}}],onDismiss:()=>a(n=>({...n,error:!1}))}),!Object.values(s).some(Boolean)&&e.jsx("p",{className:"text-center text-sm text-gray-400 py-4",children:"All banners dismissed."}),e.jsx("div",{className:"flex justify-center pt-2",children:e.jsx(i.Button,{size:"mini",shape:"rounded",onClick:o,children:"Restore All"})})]})})}),e.jsx(i.CardContainer,{className:"overflow-hidden",children:e.jsx(i.CardTitle,{title:"Non-dismissible",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(i.MacOSNotificationBanner,{variant:"warning",title:"Attention required",message:"This notification cannot be dismissed and requires action.",dismissible:!1,actions:[{label:"Take Action",onClick:()=>{}}]})})})}),e.jsx(i.PropPlayground,{componentName:"MacOSNotificationBanner",defaultValues:{variant:"info",title:"Notification Title",message:"This is a notification message with details.",dismissible:!0},controlOverrides:[{name:"variant",type:"select",options:["info","success","warning","error"],description:"Banner severity variant"},{name:"title",type:"text",description:"Banner heading"},{name:"message",type:"text",description:"Banner body message"},{name:"dismissible",type:"boolean",description:"Show dismiss (×) button"}],includeProps:["variant","title","message","dismissible"],excludeProps:["className","icon","actions","onDismiss"],children:n=>e.jsx(c,{...n})}),e.jsx(i.AutoPropsTable,{componentName:"MacOSNotificationBanner"}),e.jsx(i.CardContainer,{className:"overflow-hidden",children:e.jsx(i.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(i.CodeBlock,{language:"tsx",code:`import { MacOSNotificationBanner } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
// Info banner with action buttons
|
|
4
|
+
<MacOSNotificationBanner
|
|
5
|
+
variant="info"
|
|
6
|
+
title="Update available"
|
|
7
|
+
message="macOS 14.5 is ready to install."
|
|
8
|
+
icon={<InfoIcon />}
|
|
9
|
+
actions={[
|
|
10
|
+
{ label: 'Update Now', onClick: handleUpdate },
|
|
11
|
+
{ label: 'Later', onClick: handleDismiss },
|
|
12
|
+
]}
|
|
13
|
+
onDismiss={handleDismiss}
|
|
14
|
+
/>
|
|
15
|
+
|
|
16
|
+
// Non-dismissible warning
|
|
17
|
+
<MacOSNotificationBanner
|
|
18
|
+
variant="warning"
|
|
19
|
+
title="Attention"
|
|
20
|
+
message="Action required."
|
|
21
|
+
dismissible={false}
|
|
22
|
+
actions={[{ label: 'Take Action', onClick: handle }]}
|
|
23
|
+
/>
|
|
24
|
+
|
|
25
|
+
// Variants: 'info' | 'success' | 'warning' | 'error'`})})})})]})};exports.MacOSNotificationBannerSection=l;exports.default=l;
|
|
@@ -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-BaGqriuz.js"),s=require("lucide-react");require("react-router-dom");require("react-dom");function m(a){const[n,l]=c.useState(!1);return e.jsx("div",{className:"flex justify-center py-12",children:e.jsx(o.MacOSPopover,{isOpen:n,onClose:()=>l(!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:()=>l(!1)}),e.jsx(o.MacOSPopoverItem,{label:"Open",icon:e.jsx(s.FolderOpen,{className:"w-4 h-4"}),shortcut:"⌘O",onClick:()=>l(!1)}),e.jsx(o.MacOSPopoverItem,{label:"Delete",icon:e.jsx(s.Trash2,{className:"w-4 h-4"}),destructive:!0,onClick:()=>l(!1)})]}),children:e.jsxs("button",{onClick:()=>l(!0),className:"rounded-lg border border-gray-300 dark:border-gray-600 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),l=r=>n(d=>d===r?null:r),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:()=>l("context"),className:"rounded-lg border border-gray-300 dark:border-gray-600 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(r=>e.jsx("div",{className:"flex justify-center",children:e.jsx(o.MacOSPopover,{isOpen:a===r,onClose:t,placement:r,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:()=>l(r),className:"rounded-lg border border-gray-300 dark:border-gray-600 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:r})})},r))})})})}),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:()=>l("disabled"),className:"rounded-lg border border-gray-300 dark:border-gray-600 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:r=>e.jsx(m,{...r})}),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;
|