@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
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as n, J as l } from "../index-D3gBsvbO.js";
|
|
3
|
-
import { Router as d, Menu as c, Layers3 as m, Box as u } from "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const v = () => /* @__PURE__ */ a("div", { className: "space-y-8", children: [
|
|
8
|
-
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
9
|
-
/* @__PURE__ */ e(
|
|
10
|
-
r,
|
|
11
|
-
{
|
|
12
|
-
tag: "h2",
|
|
13
|
-
className: "mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",
|
|
14
|
-
children: "System Overview"
|
|
15
|
-
}
|
|
16
|
-
),
|
|
17
|
-
/* @__PURE__ */ e(
|
|
18
|
-
r,
|
|
19
|
-
{
|
|
20
|
-
tag: "p",
|
|
21
|
-
className: "text-base sm:text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto",
|
|
22
|
-
children: "Built on React Router with automatic menu generation and nested route support. Supports both Standalone and Micro Frontend (MFE) architectural patterns."
|
|
23
|
-
}
|
|
24
|
-
)
|
|
25
|
-
] }),
|
|
26
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6", children: [
|
|
27
|
-
{
|
|
28
|
-
icon: /* @__PURE__ */ e(d, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
29
|
-
title: "React Router Integration",
|
|
30
|
-
description: "Built on React Router v6 with full compatibility and modern routing features",
|
|
31
|
-
features: ["Browser History", "Nested Routes", "Route Guards"],
|
|
32
|
-
color: "from-blue-500 to-cyan-500"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
icon: /* @__PURE__ */ e(c, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
36
|
-
title: "Automatic Navigation",
|
|
37
|
-
description: "Generate navigation menus automatically from route configuration",
|
|
38
|
-
features: ["Auto Sidebar", "Breadcrumb Support", "Active States"],
|
|
39
|
-
color: "from-green-500 to-emerald-500"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
icon: /* @__PURE__ */ e(m, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
43
|
-
title: "Nested Route Support",
|
|
44
|
-
description: "Support for unlimited nesting levels with dropdown menus and sub-navigation",
|
|
45
|
-
features: ["Multi-level", "Dropdown Menus", "Hierarchical"],
|
|
46
|
-
color: "from-purple-500 to-indigo-500"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
icon: /* @__PURE__ */ e(u, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
50
|
-
title: "Architectural Patterns",
|
|
51
|
-
description: "Support for both Standalone and Micro Frontend (MFE) patterns with type-safe configuration",
|
|
52
|
-
features: ["Standalone", "MFE", "Type-Safe"],
|
|
53
|
-
color: "from-orange-500 to-amber-500"
|
|
54
|
-
}
|
|
55
|
-
].map((t, o) => /* @__PURE__ */ e(
|
|
56
|
-
n,
|
|
57
|
-
{
|
|
58
|
-
className: "group hover:shadow-large transition-all duration-300 hover:-translate-y-1",
|
|
59
|
-
children: /* @__PURE__ */ a("div", { className: "space-y-4", children: [
|
|
60
|
-
/* @__PURE__ */ a("div", { className: "flex items-center gap-4", children: [
|
|
61
|
-
/* @__PURE__ */ e(
|
|
62
|
-
"div",
|
|
63
|
-
{
|
|
64
|
-
className: `p-3 rounded-xl bg-linear-to-br ${t.color} text-white shadow-lg group-hover:scale-110 transition-all duration-300`,
|
|
65
|
-
children: t.icon
|
|
66
|
-
}
|
|
67
|
-
),
|
|
68
|
-
/* @__PURE__ */ e(
|
|
69
|
-
r,
|
|
70
|
-
{
|
|
71
|
-
tag: "h3",
|
|
72
|
-
className: "font-semibold text-lg group-hover:text-primary transition-colors duration-300",
|
|
73
|
-
children: t.title
|
|
74
|
-
}
|
|
75
|
-
)
|
|
76
|
-
] }),
|
|
77
|
-
/* @__PURE__ */ e(
|
|
78
|
-
r,
|
|
79
|
-
{
|
|
80
|
-
tag: "p",
|
|
81
|
-
className: "text-gray-600 dark:text-gray-400 leading-relaxed",
|
|
82
|
-
children: t.description
|
|
83
|
-
}
|
|
84
|
-
),
|
|
85
|
-
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: t.features.map((i, s) => /* @__PURE__ */ e(l, { variant: "outline", className: "text-xs", children: i }, s)) })
|
|
86
|
-
] })
|
|
87
|
-
},
|
|
88
|
-
o
|
|
89
|
-
)) })
|
|
90
|
-
] });
|
|
91
|
-
export {
|
|
92
|
-
v as default
|
|
93
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),t=require("../index-VrMogvDN.js"),s=require("lucide-react");require("react-router-dom");require("react-dom");const d=()=>{const[l,a]=i.useState(!1),[r,n]=i.useState(!1),[c,o]=i.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(t.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"TabModal"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A modal dialog with built-in tab navigation, header with icon/badge, expandable footer, and mobile-first responsive design."})]}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"With Tabs"}),e.jsx(t.Button,{onClick:()=>n(!0),children:"Open TabModal (Tabs)"}),r&&e.jsx(t.TabModal,{icon:s.Activity,title:"Dashboard",subtitle:"View your activity and stats",badgeHeader:"LIVE",badgeHeaderClassName:"text-green-600 bg-green-100 border-green-300",tabs:[{icon:s.BarChart3,name:"Overview",content:e.jsxs("div",{className:"space-y-3",children:[e.jsx(t.Typography,{tag:"h5",children:"Overview Tab"}),e.jsx(t.Typography,{tag:"p",children:"This is the overview content with charts and metrics."})]})},{icon:s.Settings,name:"Settings",content:e.jsxs("div",{className:"space-y-3",children:[e.jsx(t.Typography,{tag:"h5",children:"Settings Tab"}),e.jsx(t.Typography,{tag:"p",children:"Configure your preferences here."})]})}],footerLabel:"Last updated: 2 minutes ago",successButton:{label:"Save",onClick:()=>n(!1)},onClose:()=>n(!1)})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"With Direct Content"}),e.jsx(t.Button,{onClick:()=>o(!0),children:"Open TabModal (Content)"}),c&&e.jsx(t.TabModal,{icon:s.Settings,title:"Preferences",subtitle:"Manage your account settings",content:e.jsx("div",{className:"space-y-4",children:e.jsxs(t.Typography,{tag:"p",children:["When you pass the ",e.jsx("code",{children:"content"})," prop directly, the tab bar is hidden and this content fills the body."]})}),onClose:()=>o(!1)})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Minimal (No Tabs, No Content)"}),e.jsx(t.Button,{onClick:()=>a(!0),children:"Open Minimal TabModal"}),l&&e.jsx(t.TabModal,{title:"Confirmation",successButton:{label:"Confirm",onClick:()=>a(!1)},closeButton:{label:"Cancel",onClick:()=>a(!1)},onClose:()=>a(!1)})]})]})})})}),e.jsx(t.AutoPropsTable,{componentName:"TabModal"}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.CodeBlock,{language:"tsx",code:`import { TabModal } from '@e-burgos/tucu-ui';
|
|
2
|
-
import { Activity, BarChart3, Settings } from 'lucide-react';
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
|
|
5
|
-
function MyComponent() {
|
|
6
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
7
|
-
|
|
8
|
-
return (
|
|
9
|
-
<>
|
|
10
|
-
<button onClick={() => setIsOpen(true)}>Open</button>
|
|
11
|
-
{isOpen && (
|
|
12
|
-
<TabModal
|
|
13
|
-
icon={Activity}
|
|
14
|
-
title="Dashboard"
|
|
15
|
-
subtitle="Activity overview"
|
|
16
|
-
badgeHeader="LIVE"
|
|
17
|
-
tabs={[
|
|
18
|
-
{
|
|
19
|
-
icon: BarChart3,
|
|
20
|
-
name: 'Overview',
|
|
21
|
-
content: <div>Overview content</div>,
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
icon: Settings,
|
|
25
|
-
name: 'Settings',
|
|
26
|
-
content: <div>Settings content</div>,
|
|
27
|
-
},
|
|
28
|
-
]}
|
|
29
|
-
footerLabel="Last updated: 2 min ago"
|
|
30
|
-
successButton={{ label: 'Save', onClick: () => setIsOpen(false) }}
|
|
31
|
-
onClose={() => setIsOpen(false)}
|
|
32
|
-
/>
|
|
33
|
-
)}
|
|
34
|
-
</>
|
|
35
|
-
);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// Direct content (no tabs)
|
|
39
|
-
<TabModal
|
|
40
|
-
title="Preferences"
|
|
41
|
-
content={<div>Direct body content</div>}
|
|
42
|
-
onClose={() => setIsOpen(false)}
|
|
43
|
-
/>
|
|
44
|
-
|
|
45
|
-
// With expandable footer label
|
|
46
|
-
<TabModal
|
|
47
|
-
title="Details"
|
|
48
|
-
content={<div>Body</div>}
|
|
49
|
-
footerLabel="Long description that expands on click..."
|
|
50
|
-
onClose={() => setIsOpen(false)}
|
|
51
|
-
/>`})})})})]})};exports.default=d;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../index-VrMogvDN.js"),n=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx(e.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Tabs"}),a.jsx(e.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A flexible tab component system with multiple variants, smooth animations, and mobile-responsive design built on Headless UI."})]}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-8",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Underline Variant (Default)"}),a.jsxs(e.TabGroup,{variant:"underline",children:[a.jsxs(e.TabList,{variant:"underline",children:[a.jsx(e.TabItem,{variant:"underline",children:"Overview"}),a.jsx(e.TabItem,{variant:"underline",children:"Details"}),a.jsx(e.TabItem,{variant:"underline",children:"Settings"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Overview content with clean underline design."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Detailed information with professional styling."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Settings panel with modern appearance."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Pills Variant"}),a.jsxs(e.TabGroup,{variant:"pills",children:[a.jsxs(e.TabList,{variant:"pills",children:[a.jsx(e.TabItem,{variant:"pills",children:"Dashboard"}),a.jsx(e.TabItem,{variant:"pills",children:"Analytics"}),a.jsx(e.TabItem,{variant:"pills",children:"Reports"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Dashboard with rounded pill tabs for a modern look."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Analytics data with smooth transitions."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Reports section with clean design."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Bordered Variant"}),a.jsxs(e.TabGroup,{variant:"bordered",children:[a.jsxs(e.TabList,{variant:"bordered",children:[a.jsx(e.TabItem,{variant:"bordered",children:"Account"}),a.jsx(e.TabItem,{variant:"bordered",children:"Security"}),a.jsx(e.TabItem,{variant:"bordered",children:"Billing"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Account settings with bordered tab style."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Security options with clear visual distinction."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Billing information with professional appearance."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Solid Variant"}),a.jsxs(e.TabGroup,{variant:"solid",children:[a.jsxs(e.TabList,{variant:"solid",children:[a.jsx(e.TabItem,{variant:"solid",children:"Profile"}),a.jsx(e.TabItem,{variant:"solid",children:"Notifications"}),a.jsx(e.TabItem,{variant:"solid",children:"Privacy"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Profile section with solid background tabs."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Notifications center with modern design."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Privacy settings with clean interface."})})})]})]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"With Icons",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Pills with Icons"}),a.jsxs(e.TabGroup,{variant:"pills",children:[a.jsxs(e.TabList,{variant:"pills",children:[a.jsx(e.TabItem,{variant:"pills",icon:a.jsx(n.Home,{size:16}),children:"Home"}),a.jsx(e.TabItem,{variant:"pills",icon:a.jsx(n.User,{size:16}),children:"Profile"}),a.jsx(e.TabItem,{variant:"pills",icon:a.jsx(n.Settings,{size:16}),children:"Settings"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Home dashboard content."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"User profile information."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Application settings."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Bordered with Icons"}),a.jsxs(e.TabGroup,{variant:"bordered",children:[a.jsxs(e.TabList,{variant:"bordered",children:[a.jsx(e.TabItem,{variant:"bordered",icon:a.jsx(n.Mail,{size:16}),children:"Messages"}),a.jsx(e.TabItem,{variant:"bordered",icon:a.jsx(n.Bell,{size:16}),children:"Alerts"}),a.jsx(e.TabItem,{variant:"bordered",icon:a.jsx(n.Calendar,{size:16}),children:"Schedule"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Your messages and conversations."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"System alerts and notifications."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Calendar and scheduled events."})})})]})]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Small Size"}),a.jsxs(e.TabGroup,{variant:"pills",children:[a.jsxs(e.TabList,{variant:"pills",children:[a.jsx(e.TabItem,{variant:"pills",size:"small",children:"Tab 1"}),a.jsx(e.TabItem,{variant:"pills",size:"small",children:"Tab 2"}),a.jsx(e.TabItem,{variant:"pills",size:"small",children:"Tab 3"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Small size tabs content."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Compact design for space-constrained layouts."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Perfect for dense information displays."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Large Size"}),a.jsxs(e.TabGroup,{variant:"pills",children:[a.jsxs(e.TabList,{variant:"pills",children:[a.jsx(e.TabItem,{variant:"pills",size:"large",children:"Tab 1"}),a.jsx(e.TabItem,{variant:"pills",size:"large",children:"Tab 2"}),a.jsx(e.TabItem,{variant:"pills",size:"large",children:"Tab 3"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Large size tabs content."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Prominent design for main navigation."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Great for primary interface elements."})})})]})]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"States",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Disabled Tab"}),a.jsxs(e.TabGroup,{variant:"pills",children:[a.jsxs(e.TabList,{variant:"pills",children:[a.jsx(e.TabItem,{variant:"pills",children:"Active"}),a.jsx(e.TabItem,{variant:"pills",disabled:!0,children:"Disabled"}),a.jsx(e.TabItem,{variant:"pills",children:"Available"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Active tab content."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"This tab is disabled."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Available tab content."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Color Variants"}),a.jsxs(e.TabGroup,{variant:"underline",children:[a.jsxs(e.TabList,{variant:"underline",children:[a.jsx(e.TabItem,{variant:"underline",color:"primary",children:"Primary"}),a.jsx(e.TabItem,{variant:"underline",color:"success",children:"Success"}),a.jsx(e.TabItem,{variant:"underline",color:"danger",children:"Danger"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Primary color theme."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Success color theme."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Danger color theme."})})})]})]})]})]})})})}),a.jsx(e.AutoPropsTable,{componentName:"Tab"}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.CodeBlock,{language:"tsx",code:`import {
|
|
2
|
-
TabGroup,
|
|
3
|
-
TabList,
|
|
4
|
-
TabItem,
|
|
5
|
-
TabPanels,
|
|
6
|
-
TabPanel,
|
|
7
|
-
} from '@e-burgos/tucu-ui';
|
|
8
|
-
import { Home, User, Settings } from 'lucide-react';
|
|
9
|
-
|
|
10
|
-
// Basic underline tabs
|
|
11
|
-
<TabGroup variant="underline">
|
|
12
|
-
<TabList variant="underline">
|
|
13
|
-
<TabItem variant="underline">Tab 1</TabItem>
|
|
14
|
-
<TabItem variant="underline">Tab 2</TabItem>
|
|
15
|
-
<TabItem variant="underline">Tab 3</TabItem>
|
|
16
|
-
</TabList>
|
|
17
|
-
<TabPanels>
|
|
18
|
-
<TabPanel>Content 1</TabPanel>
|
|
19
|
-
<TabPanel>Content 2</TabPanel>
|
|
20
|
-
<TabPanel>Content 3</TabPanel>
|
|
21
|
-
</TabPanels>
|
|
22
|
-
</TabGroup>
|
|
23
|
-
|
|
24
|
-
// Pills variant with icons
|
|
25
|
-
<TabGroup variant="pills">
|
|
26
|
-
<TabList variant="pills">
|
|
27
|
-
<TabItem variant="pills" icon={<Home size={16} />}>
|
|
28
|
-
Home
|
|
29
|
-
</TabItem>
|
|
30
|
-
<TabItem variant="pills" icon={<User size={16} />}>
|
|
31
|
-
Profile
|
|
32
|
-
</TabItem>
|
|
33
|
-
<TabItem variant="pills" icon={<Settings size={16} />}>
|
|
34
|
-
Settings
|
|
35
|
-
</TabItem>
|
|
36
|
-
</TabList>
|
|
37
|
-
<TabPanels>
|
|
38
|
-
<TabPanel>Home content</TabPanel>
|
|
39
|
-
<TabPanel>Profile content</TabPanel>
|
|
40
|
-
<TabPanel>Settings content</TabPanel>
|
|
41
|
-
</TabPanels>
|
|
42
|
-
</TabGroup>
|
|
43
|
-
|
|
44
|
-
// Bordered variant with sizes
|
|
45
|
-
<TabGroup variant="bordered">
|
|
46
|
-
<TabList variant="bordered">
|
|
47
|
-
<TabItem variant="bordered" size="small">Small</TabItem>
|
|
48
|
-
<TabItem variant="bordered" size="medium">Medium</TabItem>
|
|
49
|
-
<TabItem variant="bordered" size="large">Large</TabItem>
|
|
50
|
-
</TabList>
|
|
51
|
-
<TabPanels>
|
|
52
|
-
<TabPanel>Small content</TabPanel>
|
|
53
|
-
<TabPanel>Medium content</TabPanel>
|
|
54
|
-
<TabPanel>Large content</TabPanel>
|
|
55
|
-
</TabPanels>
|
|
56
|
-
</TabGroup>
|
|
57
|
-
|
|
58
|
-
// Solid variant with disabled tab
|
|
59
|
-
<TabGroup variant="solid">
|
|
60
|
-
<TabList variant="solid">
|
|
61
|
-
<TabItem variant="solid">Active</TabItem>
|
|
62
|
-
<TabItem variant="solid" disabled>Disabled</TabItem>
|
|
63
|
-
<TabItem variant="solid">Available</TabItem>
|
|
64
|
-
</TabList>
|
|
65
|
-
<TabPanels>
|
|
66
|
-
<TabPanel>Active content</TabPanel>
|
|
67
|
-
<TabPanel>Disabled content</TabPanel>
|
|
68
|
-
<TabPanel>Available content</TabPanel>
|
|
69
|
-
</TabPanels>
|
|
70
|
-
</TabGroup>
|
|
71
|
-
|
|
72
|
-
// With color variants
|
|
73
|
-
<TabGroup variant="underline">
|
|
74
|
-
<TabList variant="underline">
|
|
75
|
-
<TabItem variant="underline" color="primary">Primary</TabItem>
|
|
76
|
-
<TabItem variant="underline" color="success">Success</TabItem>
|
|
77
|
-
<TabItem variant="underline" color="danger">Danger</TabItem>
|
|
78
|
-
</TabList>
|
|
79
|
-
<TabPanels>
|
|
80
|
-
<TabPanel>Primary content</TabPanel>
|
|
81
|
-
<TabPanel>Success content</TabPanel>
|
|
82
|
-
<TabPanel>Danger content</TabPanel>
|
|
83
|
-
</TabPanels>
|
|
84
|
-
</TabGroup>`})})})})]});exports.default=i;
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),t=require("../index-VrMogvDN.js"),n=require("lucide-react");require("react-router-dom");require("react-dom");const g=()=>{const[i,p]=r.useState(0),[d,m]=r.useState(0),[s,x]=r.useState(0),c=[{title:"Dashboard",path:"dashboard"},{title:"Analytics",path:"analytics"},{title:"Reports",path:"reports"},{title:"Settings",path:"settings"}],o=[{title:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(n.Home,{size:16}),"Home"]}),path:"home"},{title:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(n.User,{size:16}),"Profile"]}),path:"profile"},{title:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(n.Settings,{size:16}),"Settings"]}),path:"settings"}],l=[{title:"Orders",path:"orders"},{title:"Products",path:"products"},{title:"Customers",path:"customers"},{title:"Analytics",path:"analytics"},{title:"Marketing",path:"marketing"},{title:"Reports",path:"reports"},{title:"Integrations",path:"integrations"},{title:"Settings",path:"settings"}],h=[{prop:"title",type:"React.ReactNode",default:"required",description:"Tab label (can be text, JSX, or components)"},{prop:"path",type:"string",default:"required",description:"Unique identifier/route path for the tab"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(t.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"TabSelect"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A mobile-friendly dropdown tab selector with smooth animations and transitions, designed for responsive tab navigation in constrained spaces."})]}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Basic TabSelect"}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Standard dropdown selector with text options. Click to expand and select a tab."}),e.jsx("div",{className:"max-w-md",children:e.jsx(t.TabSelect,{tabMenu:c,selectedTabIndex:i,onChange:p})}),e.jsx("div",{className:"mt-4 p-4 bg-light-dark rounded-lg",children:e.jsxs(t.Typography,{tag:"p",className:"text-sm",children:["Selected:"," ",e.jsx("span",{className:"font-semibold text-brand",children:c[i].title})]})})]}),e.jsxs("div",{children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"With Icons"}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Enhanced dropdown with icon support for better visual clarity."}),e.jsx("div",{className:"max-w-md",children:e.jsx(t.TabSelect,{tabMenu:o,selectedTabIndex:d,onChange:m})}),e.jsx("div",{className:"mt-4 p-4 bg-light-dark rounded-lg",children:e.jsxs(t.Typography,{tag:"p",className:"text-sm",children:["Current selection:"," ",e.jsx("span",{className:"font-semibold text-brand",children:o[d].path})]})})]}),e.jsxs("div",{children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Many Options"}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Handles large lists efficiently with scrollable dropdown."}),e.jsx("div",{className:"max-w-md",children:e.jsx(t.TabSelect,{tabMenu:l,selectedTabIndex:s,onChange:x})}),e.jsx("div",{className:"mt-4 p-4 bg-light-dark rounded-lg",children:e.jsxs(t.Typography,{tag:"p",className:"text-sm",children:["Selected option:"," ",e.jsx("span",{className:"font-semibold text-brand",children:l[s].title})," ","(",s+1," of ",l.length,")"]})})]})]})})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Use Cases",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(t.Typography,{tag:"h5",className:"mb-2",children:"Mobile Navigation"}),e.jsxs(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:["Perfect for replacing horizontal tab bars on mobile devices where space is limited.",e.jsx("code",{className:"ml-1 text-xs border border-gray-300 dark:border-gray-600 px-2 py-1 rounded",children:"ParamTab"})," ","automatically switches to TabSelect on mobile breakpoints."]}),e.jsx(t.CardContainer,{className:"p-4 bg-blue-50 dark:bg-blue-900/20",children:e.jsxs(t.Typography,{tag:"p",className:"text-sm",children:[e.jsx("span",{role:"img","aria-label":"tip",children:"💡"})," ",e.jsx("span",{className:"font-semibold",children:"Tip:"})," Use TabSelect when you have 4+ tabs and limited horizontal space."]})})]}),e.jsxs("div",{children:[e.jsx(t.Typography,{tag:"h5",className:"mb-2",children:"Form Filters"}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Use as a filter selector in forms and data tables to switch between different views or data categories."})]}),e.jsxs("div",{children:[e.jsx(t.Typography,{tag:"h5",className:"mb-2",children:"Settings Panels"}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Navigate between different settings sections in a compact, accessible dropdown format."})]})]})})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Features",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsxs(t.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"palette",children:"🎨"})," ","Smooth Animations"]}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Chevron rotation and dropdown transitions with translate-y effects."})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsxs(t.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"moon",children:"🌙"})," ","Dark Mode"]}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Full dark mode support with automatic theme adaptation."})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsxs(t.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"lightning",children:"⚡"})," ","Performance"]}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Optimized rendering with proper key management for large lists."})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsxs(t.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"target",children:"🎯"})," ","Accessibility"]}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Keyboard navigation and focus management built-in."})]})]})})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"TabSelectMenuItem Interface",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("table",{className:"w-full text-sm text-left",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-gray-200 dark:border-gray-700",children:[e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Prop"}),e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Type"}),e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Default"}),e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Description"})]})}),e.jsx("tbody",{children:h.map(a=>e.jsxs("tr",{className:"border-b border-gray-100 dark:border-gray-800",children:[e.jsx("td",{className:"px-3 py-2",children:e.jsx("code",{className:"text-xs text-brand",children:a.prop})}),e.jsx("td",{className:"px-3 py-2",children:e.jsx("code",{className:"text-xs",children:a.type})}),e.jsx("td",{className:"px-3 py-2",children:a.default==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:a.default})}),e.jsx("td",{className:"px-3 py-2 text-gray-600 dark:text-gray-400",children:a.description})]},a.prop))})]})})})}),e.jsx(t.AutoPropsTable,{componentName:"TabSelect"}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Code Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.CodeBlock,{language:"tsx",code:`import { TabSelect } from '@e-burgos/tucu-ui';
|
|
2
|
-
import { useState } from 'react';
|
|
3
|
-
import { Home, Settings, User } from 'lucide-react';
|
|
4
|
-
|
|
5
|
-
// Basic usage
|
|
6
|
-
function BasicExample() {
|
|
7
|
-
const [selectedIndex, setSelectedIndex] = useState(0);
|
|
8
|
-
|
|
9
|
-
const tabMenu = [
|
|
10
|
-
{ title: 'Dashboard', path: 'dashboard' },
|
|
11
|
-
{ title: 'Analytics', path: 'analytics' },
|
|
12
|
-
{ title: 'Reports', path: 'reports' },
|
|
13
|
-
{ title: 'Settings', path: 'settings' },
|
|
14
|
-
];
|
|
15
|
-
|
|
16
|
-
return (
|
|
17
|
-
<TabSelect
|
|
18
|
-
tabMenu={tabMenu}
|
|
19
|
-
selectedTabIndex={selectedIndex}
|
|
20
|
-
onChange={setSelectedIndex}
|
|
21
|
-
/>
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// With icons
|
|
26
|
-
function IconExample() {
|
|
27
|
-
const [selectedIndex, setSelectedIndex] = useState(0);
|
|
28
|
-
|
|
29
|
-
const tabMenu = [
|
|
30
|
-
{
|
|
31
|
-
title: (
|
|
32
|
-
<span className="flex items-center gap-2">
|
|
33
|
-
<Home size={16} />
|
|
34
|
-
Home
|
|
35
|
-
</span>
|
|
36
|
-
),
|
|
37
|
-
path: 'home'
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
title: (
|
|
41
|
-
<span className="flex items-center gap-2">
|
|
42
|
-
<User size={16} />
|
|
43
|
-
Profile
|
|
44
|
-
</span>
|
|
45
|
-
),
|
|
46
|
-
path: 'profile'
|
|
47
|
-
},
|
|
48
|
-
];
|
|
49
|
-
|
|
50
|
-
return (
|
|
51
|
-
<TabSelect
|
|
52
|
-
tabMenu={tabMenu}
|
|
53
|
-
selectedTabIndex={selectedIndex}
|
|
54
|
-
onChange={setSelectedIndex}
|
|
55
|
-
/>
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Integration with ParamTab
|
|
60
|
-
// ParamTab automatically uses TabSelect on mobile devices
|
|
61
|
-
import { ParamTab, TabPanel } from '@e-burgos/tucu-ui';
|
|
62
|
-
|
|
63
|
-
function ResponsiveTabs() {
|
|
64
|
-
const tabMenu = [
|
|
65
|
-
{ title: 'Overview', path: 'overview' },
|
|
66
|
-
{ title: 'Details', path: 'details' },
|
|
67
|
-
{ title: 'Settings', path: 'settings' },
|
|
68
|
-
];
|
|
69
|
-
|
|
70
|
-
return (
|
|
71
|
-
<ParamTab tabMenu={tabMenu}>
|
|
72
|
-
<TabPanel>Overview content</TabPanel>
|
|
73
|
-
<TabPanel>Details content</TabPanel>
|
|
74
|
-
<TabPanel>Settings content</TabPanel>
|
|
75
|
-
</ParamTab>
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// Custom styling
|
|
80
|
-
function CustomExample() {
|
|
81
|
-
const [selectedIndex, setSelectedIndex] = useState(0);
|
|
82
|
-
|
|
83
|
-
const tabMenu = [
|
|
84
|
-
{ title: 'Option 1', path: 'opt1' },
|
|
85
|
-
{ title: 'Option 2', path: 'opt2' },
|
|
86
|
-
];
|
|
87
|
-
|
|
88
|
-
return (
|
|
89
|
-
<div className="max-w-md">
|
|
90
|
-
<TabSelect
|
|
91
|
-
tabMenu={tabMenu}
|
|
92
|
-
selectedTabIndex={selectedIndex}
|
|
93
|
-
onChange={(index) => {
|
|
94
|
-
console.log('Selected:', tabMenu[index].path);
|
|
95
|
-
setSelectedIndex(index);
|
|
96
|
-
}}
|
|
97
|
-
/>
|
|
98
|
-
</div>
|
|
99
|
-
);
|
|
100
|
-
}`})})})})]})};exports.default=g;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-VrMogvDN.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",children:"Tailwind CSS Configuration"}),e.jsx(s.Typography,{tag:"p",className:"text-base sm:text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto",children:"Built on Tailwind CSS v4 with Tucu UI Design Tokens"})]}),e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Design Tokens & Configuration",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-gradient-to-br from-indigo-500 to-purple-500 rounded-lg shadow-lg",children:e.jsx(a.Palette,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:"Color Spectrums"})]}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 text-sm",children:"The system uses Tucu UI Design Tokens organized into color spectrums:"}),e.jsxs("ul",{className:"space-y-2 text-sm text-gray-600 dark:text-gray-400",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.Circle,{className:"w-2 h-2 mt-1.5 shrink-0 text-brand"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Color Spectrums:"})," Blue, Green, Orange, Gray, Indigo, Pink, Purple, Red, Teal, Yellow, Chartreuse"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.Circle,{className:"w-2 h-2 mt-1.5 shrink-0 text-brand"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Color Scale:"})," Each spectrum has values from 0-100 (e.g., blue-0 to blue-100)"]})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.Circle,{className:"w-2 h-2 mt-1.5 shrink-0 text-brand"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Light & Dark Variants:"})," Separate color sets for light and dark modes"]})]})]})]}),e.jsxs("div",{className:"space-y-4 mt-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-gradient-to-br from-cyan-500 to-blue-500 rounded-lg shadow-lg",children:e.jsx(a.Code,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:"Semantic Colors"})]}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 text-sm mb-3",children:"Semantic colors map design tokens to functional purposes:"}),e.jsx(s.CodeBlock,{language:"css",code:`/* Semantic Background Colors */
|
|
2
|
-
--color-semantic-bg-primary: var(--color-tucu-ui-blue-60);
|
|
3
|
-
--color-semantic-bg-secondary: var(--color-tucu-ui-gray-10);
|
|
4
|
-
--color-semantic-bg-positive: var(--color-tucu-ui-green-60);
|
|
5
|
-
--color-semantic-bg-negative: var(--color-tucu-ui-red-60);
|
|
6
|
-
|
|
7
|
-
/* Semantic Foreground Colors */
|
|
8
|
-
--color-semantic-fg: var(--color-tucu-ui-gray-100);
|
|
9
|
-
--color-semantic-fg-muted: var(--color-tucu-ui-gray-60);
|
|
10
|
-
--color-semantic-fg-primary: var(--color-tucu-ui-blue-60);`})]})]}),e.jsxs("div",{className:"space-y-4 mt-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-gradient-to-br from-green-500 to-emerald-500 rounded-lg shadow-lg",children:e.jsx(a.Ruler,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:"Spacing Scale"})]}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 text-sm mb-3",children:"The spacing scale is mapped to Tucu UI Design Tokens. All spacing values use arbitrary values in pixels to maintain consistency:"}),e.jsx(s.CodeBlock,{language:"css",code:`/* Spacing Scale - Mapped to Tucu UI Design Tokens */
|
|
11
|
-
--spacing-0: 0px;
|
|
12
|
-
--spacing-1: 8px; /* --spacing-tucu-ui-1 */
|
|
13
|
-
--spacing-2: 16px; /* --spacing-tucu-ui-2 */
|
|
14
|
-
--spacing-3: 24px; /* --spacing-tucu-ui-3 */
|
|
15
|
-
--spacing-4: 32px; /* --spacing-tucu-ui-4 */
|
|
16
|
-
--spacing-5: 40px; /* --spacing-tucu-ui-5 */
|
|
17
|
-
--spacing-6: 48px; /* --spacing-tucu-ui-6 */
|
|
18
|
-
--spacing-8: 64px; /* --spacing-tucu-ui-8 */
|
|
19
|
-
--spacing-10: 80px; /* --spacing-tucu-ui-10 */`}),e.jsxs(s.Alert,{variant:"info",children:[" ",e.jsxs(s.Typography,{tag:"p",className:"text-sm",children:[e.jsx("strong",{children:"Note:"})," Components use arbitrary values like"," ",e.jsx("code",{className:"p-1 border border-gray-300 dark:border-gray-700 rounded text-xs",children:"p-[16px]"})," ","instead of"," ",e.jsx("code",{className:"p-1 border border-gray-300 dark:border-gray-700 rounded text-xs",children:"p-4"})," ","to maintain original Tailwind spacing values."]})]})]})]})})})]});exports.default=r;
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, Fragment as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as s, C as c, a as l, c as t, ag as n } from "../index-D3gBsvbO.js";
|
|
3
|
-
import { Palette as o, Circle as r, Code as d, Ruler as g } from "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const N = () => /* @__PURE__ */ a(i, { children: [
|
|
8
|
-
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
9
|
-
/* @__PURE__ */ e(
|
|
10
|
-
s,
|
|
11
|
-
{
|
|
12
|
-
tag: "h2",
|
|
13
|
-
className: "mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",
|
|
14
|
-
children: "Tailwind CSS Configuration"
|
|
15
|
-
}
|
|
16
|
-
),
|
|
17
|
-
/* @__PURE__ */ e(
|
|
18
|
-
s,
|
|
19
|
-
{
|
|
20
|
-
tag: "p",
|
|
21
|
-
className: "text-base sm:text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto",
|
|
22
|
-
children: "Built on Tailwind CSS v4 with Tucu UI Design Tokens"
|
|
23
|
-
}
|
|
24
|
-
)
|
|
25
|
-
] }),
|
|
26
|
-
/* @__PURE__ */ e(c, { children: /* @__PURE__ */ e(
|
|
27
|
-
l,
|
|
28
|
-
{
|
|
29
|
-
title: "Design Tokens & Configuration",
|
|
30
|
-
className: "mt-2 mb-6",
|
|
31
|
-
children: /* @__PURE__ */ a("div", { className: "space-y-8", children: [
|
|
32
|
-
/* @__PURE__ */ a("div", { className: "grid grid-cols-1 gap-6", children: [
|
|
33
|
-
/* @__PURE__ */ a("div", { className: "space-y-4", children: [
|
|
34
|
-
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
35
|
-
/* @__PURE__ */ e("div", { className: "p-2 bg-gradient-to-br from-indigo-500 to-purple-500 rounded-lg shadow-lg", children: /* @__PURE__ */ e(o, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
|
|
36
|
-
/* @__PURE__ */ e(s, { tag: "h4", className: "font-semibold", children: "Color Spectrums" })
|
|
37
|
-
] }),
|
|
38
|
-
/* @__PURE__ */ e(
|
|
39
|
-
s,
|
|
40
|
-
{
|
|
41
|
-
tag: "p",
|
|
42
|
-
className: "text-gray-600 dark:text-gray-400 text-sm",
|
|
43
|
-
children: "The system uses Tucu UI Design Tokens organized into color spectrums:"
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
/* @__PURE__ */ a("ul", { className: "space-y-2 text-sm text-gray-600 dark:text-gray-400", children: [
|
|
47
|
-
/* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
|
|
48
|
-
/* @__PURE__ */ e(r, { className: "w-2 h-2 mt-1.5 shrink-0 text-brand" }),
|
|
49
|
-
/* @__PURE__ */ a("span", { children: [
|
|
50
|
-
/* @__PURE__ */ e("strong", { children: "Color Spectrums:" }),
|
|
51
|
-
" Blue, Green, Orange, Gray, Indigo, Pink, Purple, Red, Teal, Yellow, Chartreuse"
|
|
52
|
-
] })
|
|
53
|
-
] }),
|
|
54
|
-
/* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
|
|
55
|
-
/* @__PURE__ */ e(r, { className: "w-2 h-2 mt-1.5 shrink-0 text-brand" }),
|
|
56
|
-
/* @__PURE__ */ a("span", { children: [
|
|
57
|
-
/* @__PURE__ */ e("strong", { children: "Color Scale:" }),
|
|
58
|
-
" Each spectrum has values from 0-100 (e.g., blue-0 to blue-100)"
|
|
59
|
-
] })
|
|
60
|
-
] }),
|
|
61
|
-
/* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
|
|
62
|
-
/* @__PURE__ */ e(r, { className: "w-2 h-2 mt-1.5 shrink-0 text-brand" }),
|
|
63
|
-
/* @__PURE__ */ a("span", { children: [
|
|
64
|
-
/* @__PURE__ */ e("strong", { children: "Light & Dark Variants:" }),
|
|
65
|
-
" Separate color sets for light and dark modes"
|
|
66
|
-
] })
|
|
67
|
-
] })
|
|
68
|
-
] })
|
|
69
|
-
] }),
|
|
70
|
-
/* @__PURE__ */ a("div", { className: "space-y-4 mt-4", children: [
|
|
71
|
-
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
72
|
-
/* @__PURE__ */ e("div", { className: "p-2 bg-gradient-to-br from-cyan-500 to-blue-500 rounded-lg shadow-lg", children: /* @__PURE__ */ e(d, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
|
|
73
|
-
/* @__PURE__ */ e(s, { tag: "h4", className: "font-semibold", children: "Semantic Colors" })
|
|
74
|
-
] }),
|
|
75
|
-
/* @__PURE__ */ e(
|
|
76
|
-
s,
|
|
77
|
-
{
|
|
78
|
-
tag: "p",
|
|
79
|
-
className: "text-gray-600 dark:text-gray-400 text-sm mb-3",
|
|
80
|
-
children: "Semantic colors map design tokens to functional purposes:"
|
|
81
|
-
}
|
|
82
|
-
),
|
|
83
|
-
/* @__PURE__ */ e(
|
|
84
|
-
t,
|
|
85
|
-
{
|
|
86
|
-
language: "css",
|
|
87
|
-
code: `/* Semantic Background Colors */
|
|
88
|
-
--color-semantic-bg-primary: var(--color-tucu-ui-blue-60);
|
|
89
|
-
--color-semantic-bg-secondary: var(--color-tucu-ui-gray-10);
|
|
90
|
-
--color-semantic-bg-positive: var(--color-tucu-ui-green-60);
|
|
91
|
-
--color-semantic-bg-negative: var(--color-tucu-ui-red-60);
|
|
92
|
-
|
|
93
|
-
/* Semantic Foreground Colors */
|
|
94
|
-
--color-semantic-fg: var(--color-tucu-ui-gray-100);
|
|
95
|
-
--color-semantic-fg-muted: var(--color-tucu-ui-gray-60);
|
|
96
|
-
--color-semantic-fg-primary: var(--color-tucu-ui-blue-60);`
|
|
97
|
-
}
|
|
98
|
-
)
|
|
99
|
-
] })
|
|
100
|
-
] }),
|
|
101
|
-
/* @__PURE__ */ a("div", { className: "space-y-4 mt-4", children: [
|
|
102
|
-
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
103
|
-
/* @__PURE__ */ e("div", { className: "p-2 bg-gradient-to-br from-green-500 to-emerald-500 rounded-lg shadow-lg", children: /* @__PURE__ */ e(g, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
|
|
104
|
-
/* @__PURE__ */ e(s, { tag: "h4", className: "font-semibold", children: "Spacing Scale" })
|
|
105
|
-
] }),
|
|
106
|
-
/* @__PURE__ */ e(
|
|
107
|
-
s,
|
|
108
|
-
{
|
|
109
|
-
tag: "p",
|
|
110
|
-
className: "text-gray-600 dark:text-gray-400 text-sm mb-3",
|
|
111
|
-
children: "The spacing scale is mapped to Tucu UI Design Tokens. All spacing values use arbitrary values in pixels to maintain consistency:"
|
|
112
|
-
}
|
|
113
|
-
),
|
|
114
|
-
/* @__PURE__ */ e(
|
|
115
|
-
t,
|
|
116
|
-
{
|
|
117
|
-
language: "css",
|
|
118
|
-
code: `/* Spacing Scale - Mapped to Tucu UI Design Tokens */
|
|
119
|
-
--spacing-0: 0px;
|
|
120
|
-
--spacing-1: 8px; /* --spacing-tucu-ui-1 */
|
|
121
|
-
--spacing-2: 16px; /* --spacing-tucu-ui-2 */
|
|
122
|
-
--spacing-3: 24px; /* --spacing-tucu-ui-3 */
|
|
123
|
-
--spacing-4: 32px; /* --spacing-tucu-ui-4 */
|
|
124
|
-
--spacing-5: 40px; /* --spacing-tucu-ui-5 */
|
|
125
|
-
--spacing-6: 48px; /* --spacing-tucu-ui-6 */
|
|
126
|
-
--spacing-8: 64px; /* --spacing-tucu-ui-8 */
|
|
127
|
-
--spacing-10: 80px; /* --spacing-tucu-ui-10 */`
|
|
128
|
-
}
|
|
129
|
-
),
|
|
130
|
-
/* @__PURE__ */ a(n, { variant: "info", children: [
|
|
131
|
-
" ",
|
|
132
|
-
/* @__PURE__ */ a(s, { tag: "p", className: "text-sm", children: [
|
|
133
|
-
/* @__PURE__ */ e("strong", { children: "Note:" }),
|
|
134
|
-
" Components use arbitrary values like",
|
|
135
|
-
" ",
|
|
136
|
-
/* @__PURE__ */ e("code", { className: "p-1 border border-gray-300 dark:border-gray-700 rounded text-xs", children: "p-[16px]" }),
|
|
137
|
-
" ",
|
|
138
|
-
"instead of",
|
|
139
|
-
" ",
|
|
140
|
-
/* @__PURE__ */ e("code", { className: "p-1 border border-gray-300 dark:border-gray-700 rounded text-xs", children: "p-4" }),
|
|
141
|
-
" ",
|
|
142
|
-
"to maintain original Tailwind spacing values."
|
|
143
|
-
] })
|
|
144
|
-
] })
|
|
145
|
-
] })
|
|
146
|
-
] })
|
|
147
|
-
}
|
|
148
|
-
) })
|
|
149
|
-
] });
|
|
150
|
-
export {
|
|
151
|
-
N as default
|
|
152
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { C as r, a as l, T as s, c as o } from "../index-D3gBsvbO.js";
|
|
3
|
-
import { TestTube as c, Check as n } from "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const f = () => /* @__PURE__ */ e("div", { className: "space-y-8", children: /* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "Accessibility Testing", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full space-y-8 p-4 sm:p-6", children: [
|
|
8
|
-
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
9
|
-
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-orange-500 via-amber-500 to-yellow-500 shadow-lg", children: /* @__PURE__ */ e(c, { className: "w-6 h-6 text-white filter drop-shadow-sm" }) }),
|
|
10
|
-
/* @__PURE__ */ e(s, { tag: "h3", className: "text-xl font-semibold", children: "Testing Guidelines" })
|
|
11
|
-
] }),
|
|
12
|
-
/* @__PURE__ */ a("div", { className: "space-y-6", children: [
|
|
13
|
-
/* @__PURE__ */ a("div", { className: "space-y-4", children: [
|
|
14
|
-
/* @__PURE__ */ e(s, { tag: "h4", className: "font-semibold", children: "Manual Testing Checklist" }),
|
|
15
|
-
/* @__PURE__ */ e("div", { className: "space-y-2", children: [
|
|
16
|
-
"Navigate using only keyboard",
|
|
17
|
-
"Test with screen reader (NVDA, JAWS, VoiceOver)",
|
|
18
|
-
"Check color contrast ratios",
|
|
19
|
-
"Verify focus indicators are visible",
|
|
20
|
-
"Test at 200% zoom level",
|
|
21
|
-
"Validate HTML markup",
|
|
22
|
-
"Check for proper heading hierarchy",
|
|
23
|
-
"Test form labels and error messages"
|
|
24
|
-
].map((t, i) => /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
|
|
25
|
-
/* @__PURE__ */ e(n, { className: "w-4 h-4 text-green-500" }),
|
|
26
|
-
/* @__PURE__ */ e(s, { tag: "p", className: "text-sm", children: t })
|
|
27
|
-
] }, i)) })
|
|
28
|
-
] }),
|
|
29
|
-
/* @__PURE__ */ a("div", { className: "space-y-4", children: [
|
|
30
|
-
/* @__PURE__ */ e(s, { tag: "h4", className: "font-semibold", children: "Automated Testing Example" }),
|
|
31
|
-
/* @__PURE__ */ e(o, { code: `import { render, screen } from '@testing-library/react';
|
|
32
|
-
import { axe, toHaveNoViolations } from 'jest-axe';
|
|
33
|
-
|
|
34
|
-
expect.extend(toHaveNoViolations);
|
|
35
|
-
|
|
36
|
-
test('Input has no accessibility violations', async () => {
|
|
37
|
-
const { container } = render(
|
|
38
|
-
<Input label="Email" required error="Invalid email" />
|
|
39
|
-
);
|
|
40
|
-
const results = await axe(container);
|
|
41
|
-
expect(results).toHaveNoViolations();
|
|
42
|
-
});`, language: "js" })
|
|
43
|
-
] })
|
|
44
|
-
] })
|
|
45
|
-
] }) }) }) });
|
|
46
|
-
export {
|
|
47
|
-
f as default
|
|
48
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-VrMogvDN.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r=()=>e.jsx("div",{className:"space-y-8",children:e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Accessibility Testing",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-orange-500 via-amber-500 to-yellow-500 shadow-lg",children:e.jsx(a.TestTube,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Testing Guidelines"})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:"Manual Testing Checklist"}),e.jsx("div",{className:"space-y-2",children:["Navigate using only keyboard","Test with screen reader (NVDA, JAWS, VoiceOver)","Check color contrast ratios","Verify focus indicators are visible","Test at 200% zoom level","Validate HTML markup","Check for proper heading hierarchy","Test form labels and error messages"].map((i,t)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a.Check,{className:"w-4 h-4 text-green-500"}),e.jsx(s.Typography,{tag:"p",className:"text-sm",children:i})]},t))})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:"Automated Testing Example"}),e.jsx(s.CodeBlock,{code:`import { render, screen } from '@testing-library/react';
|
|
2
|
-
import { axe, toHaveNoViolations } from 'jest-axe';
|
|
3
|
-
|
|
4
|
-
expect.extend(toHaveNoViolations);
|
|
5
|
-
|
|
6
|
-
test('Input has no accessibility violations', async () => {
|
|
7
|
-
const { container } = render(
|
|
8
|
-
<Input label="Email" required error="Invalid email" />
|
|
9
|
-
);
|
|
10
|
-
const results = await axe(container);
|
|
11
|
-
expect(results).toHaveNoViolations();
|
|
12
|
-
});`,language:"js"})]})]})]})})})});exports.default=r;
|