@e-burgos/tucu-ui 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +166 -0
- package/README.md +27 -4
- package/components/cards/card-container.d.ts +1 -1
- package/components/cards/color-card.d.ts +20 -0
- package/components/cards/feature-card.d.ts +23 -0
- package/components/cards/index.d.ts +2 -0
- package/components/dialog/drawer-container.d.ts +2 -1
- package/components/dialog/modal.d.ts +1 -0
- package/components/dialog/sidebar-menu.d.ts +2 -1
- package/components/dialog/sidebar.d.ts +2 -1
- package/components/index.d.ts +1 -0
- package/components/inputs/file-input.d.ts +3 -0
- package/components/inputs/helpers/control-colors.d.ts +13 -0
- package/components/inputs/helpers/control-sizes.d.ts +2 -0
- package/components/inputs/input-searcher.d.ts +6 -2
- package/components/inputs/input.d.ts +6 -1
- package/components/inputs/pin-code.d.ts +2 -25
- package/components/inputs/radio-group.d.ts +1 -1
- package/components/inputs/radio.d.ts +3 -0
- package/components/inputs/select.d.ts +5 -1
- package/components/inputs/switch.d.ts +2 -0
- package/components/inputs/textarea.d.ts +4 -0
- package/components/inputs/toggle-bar.d.ts +3 -1
- package/components/layouts/index.d.ts +1 -0
- package/components/layouts/macos-layout/index.d.ts +21 -0
- package/components/layouts/macos-layout/macos-sonoma-clean-layout.d.ts +7 -0
- package/components/layouts/macos-layout/macos-sonoma-layout.d.ts +14 -0
- package/components/layouts/macos-layout/macos-tahoe-clean-layout.d.ts +7 -0
- package/components/layouts/macos-layout/macos-tahoe-dock-layout.d.ts +14 -0
- package/components/layouts/macos-layout/macos-tahoe-layout.d.ts +14 -0
- package/components/layouts/macos-layout/utils.d.ts +3 -0
- package/components/macos/index.d.ts +2 -0
- package/components/macos/sonoma/containers/sidebar.d.ts +22 -0
- package/components/macos/sonoma/containers/widget.d.ts +17 -0
- package/components/macos/sonoma/containers/window.d.ts +26 -0
- package/components/macos/sonoma/controls/search-bar.d.ts +12 -0
- package/components/macos/sonoma/controls/segmented-control.d.ts +16 -0
- package/components/macos/sonoma/controls/types.d.ts +10 -0
- package/components/macos/sonoma/feedback/command-palette.d.ts +20 -0
- package/components/macos/sonoma/feedback/macos-sonoma-toast.d.ts +2 -0
- package/components/macos/sonoma/feedback/notification-banner.d.ts +17 -0
- package/components/macos/sonoma/feedback/popover.d.ts +22 -0
- package/components/macos/sonoma/index.d.ts +13 -0
- package/components/macos/sonoma/layout/layout-content-sonoma.d.ts +15 -0
- package/components/macos/sonoma/layout/layout-sidebar-sonoma.d.ts +10 -0
- package/components/macos/sonoma/layout/toolbar-sonoma.d.ts +6 -0
- package/components/macos/tahoe/containers/dialog-tahoe.d.ts +21 -0
- package/components/macos/tahoe/containers/widget-tahoe.d.ts +15 -0
- package/components/macos/tahoe/containers/window-tahoe.d.ts +36 -0
- package/components/macos/tahoe/controls/macos-tahoe-toast.d.ts +2 -0
- package/components/macos/tahoe/controls/notification-banner-tahoe.d.ts +17 -0
- package/components/macos/tahoe/controls/progress-bar-tahoe.d.ts +10 -0
- package/components/macos/tahoe/controls/search-bar-tahoe.d.ts +12 -0
- package/components/macos/tahoe/controls/segmented-control-tahoe.d.ts +16 -0
- package/components/macos/tahoe/controls/types.d.ts +10 -0
- package/components/macos/tahoe/feedback/command-palette-tahoe.d.ts +18 -0
- package/components/macos/tahoe/feedback/popover-tahoe.d.ts +22 -0
- package/components/macos/tahoe/foundations/background.d.ts +7 -0
- package/components/macos/tahoe/index.d.ts +15 -0
- package/components/macos/tahoe/layout/dock-tahoe.d.ts +27 -0
- package/components/macos/tahoe/layout/layout-content-tahoe.d.ts +17 -0
- package/components/macos/tahoe/layout/layout-sidebar-tahoe.d.ts +13 -0
- package/components/macos/tahoe/layout/toolbar-tahoe.d.ts +5 -0
- package/components/table/basic-table.d.ts +4 -1
- package/demo/components/dynamic-sections-page.d.ts +2 -0
- package/demo/components/prop-playground.d.ts +13 -0
- package/demo/components/table-of-contents/index.d.ts +5 -0
- package/demo/components/table-of-contents/toc-default.d.ts +3 -0
- package/demo/components/table-of-contents/toc-sonoma.d.ts +3 -0
- package/demo/components/table-of-contents/toc-tahoe.d.ts +3 -0
- package/demo/components/{table-of-contents.d.ts → table-of-contents/types.d.ts} +1 -4
- package/demo/components/table-of-contents/use-toc.d.ts +26 -0
- package/demo/generated/props-metadata.d.ts +2 -2
- package/demo/pages/design-system/design-system-sections/BackgroundsSection.d.ts +3 -0
- package/demo/pages/index.d.ts +3 -0
- package/demo/pages/macos/MacOSShowcase.d.ts +2 -0
- package/demo/pages/macos/MacOSSonomaShowcase.d.ts +2 -0
- package/demo/pages/macos/MacOSTahoeShowcase.d.ts +2 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSCommandPaletteSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSNotificationBannerSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSPopoverSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSSearchBarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSSegmentedControlSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSSidebarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSToolbarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSWidgetSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSWindowSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaColorsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaLayoutContentSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaLayoutSidebarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaMaterialsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaShapesSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaTypographySection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSBackgroundsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSColorsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSMaterialsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSTahoeSection.d.ts +2 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSTextStylesSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeCommandPaletteSection.d.ts +2 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeDialogSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeDockSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeLayoutContentSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeLayoutSidebarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeNotificationBannerSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoePopoverSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeProgressBarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeSearchBarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeSegmentedControlSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeToolbarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeWidgetSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeWindowSection.d.ts +3 -0
- package/documentation/APIReferenceSection-CD5kel2M.js +1 -0
- package/documentation/APIReferenceSection-DNiwamR3.js +213 -0
- package/documentation/ActiveLinkSection-CLeqqRJA.js +23 -0
- package/documentation/{ActiveLinkSection-DQHXQYml.js → ActiveLinkSection-nW2qUEkC.js} +26 -28
- package/documentation/AdvancedColorSystemSection-CcXCp_R4.js +181 -0
- package/documentation/AdvancedColorSystemSection-ClZP9L76.js +17 -0
- package/documentation/AdvancedFeaturesSection-DTklgMJa.js +1 -0
- package/documentation/AdvancedFeaturesSection-DZsIzQM1.js +70 -0
- package/documentation/AdvancedFeaturesSection-DeodzomR.js +32 -0
- package/documentation/AdvancedFeaturesSection-dp4NWt73.js +117 -0
- package/documentation/AlertSection-C8JxRieS.js +96 -0
- package/documentation/AlertSection-CqhX5i16.js +26 -0
- package/documentation/AnchorLinkSection-Cnh7qsTW.js +20 -0
- package/documentation/AnchorLinkSection-DMdLIqCp.js +65 -0
- package/documentation/ArchitecturalPatternsComparisonSection-Bgp9PUt7.js +34 -0
- package/documentation/ArchitecturalPatternsComparisonSection-vYbHlGY-.js +182 -0
- package/documentation/ArchitectureOverviewSection-Cw1LKmfg.js +1 -0
- package/documentation/ArchitectureOverviewSection-D_RmIFCA.js +210 -0
- package/documentation/AreaChartSection-CPJSq736.js +22 -0
- package/documentation/{AreaChartSection-Dbr8pnJS.js → AreaChartSection-SQjiTBmB.js} +5 -5
- package/documentation/AuthorCardSection-DPF5SE5r.js +18 -0
- package/documentation/AuthorCardSection-kk79QuNK.js +79 -0
- package/documentation/AvatarSection-BnRHw27e.js +19 -0
- package/documentation/AvatarSection-CLq51gbg.js +89 -0
- package/documentation/BackgroundsSection-3X9Iw31T.js +367 -0
- package/documentation/BackgroundsSection-Ibr9oqUO.js +6 -0
- package/documentation/{BadgeSection-yihyh7oT.js → BadgeSection-C9_vLylm.js} +29 -31
- package/documentation/BadgeSection-Dy1g7XfP.js +49 -0
- package/documentation/BarChartSection-BTBiEaRw.js +23 -0
- package/documentation/{BarChartSection-vXs_Yolq.js → BarChartSection-Do0Yq1CS.js} +13 -13
- package/documentation/BasicTableSection-C5yPODL4.js +36 -0
- package/documentation/BasicTableSection-Lylimu25.js +133 -0
- package/documentation/BasicUsageSection-B_tT0vDW.js +133 -0
- package/documentation/BasicUsageSection-wciC808E.js +45 -0
- package/documentation/BestPracticesSection-B9oMqKhX.js +153 -0
- package/documentation/BestPracticesSection-BFNYdJVh.js +1 -0
- package/documentation/{BestPracticesSection-D_p0GeS5.js → BestPracticesSection-BIbDXxnD.js} +18 -10
- package/documentation/BestPracticesSection-BYBZdfg8.js +1 -0
- package/documentation/BestPracticesSection-BihjJ2QU.js +1 -0
- package/documentation/BestPracticesSection-BrTenNsc.js +151 -0
- package/documentation/BestPracticesSection-Bsi45c48.js +34 -0
- package/documentation/BestPracticesSection-BwTc9PvE.js +1 -0
- package/documentation/BestPracticesSection-CdqrTgh6.js +1 -0
- package/documentation/BestPracticesSection-D3PLwaiL.js +61 -0
- package/documentation/BestPracticesSection-D9x1gLFW.js +1 -0
- package/documentation/BestPracticesSection-DXd2F40Q.js +151 -0
- package/documentation/BestPracticesSection-V_icrn3I.js +137 -0
- package/documentation/BestPracticesSection-WJyPTPT5.js +79 -0
- package/documentation/BorderRadiusSection-DnrQs0UO.js +58 -0
- package/documentation/BorderRadiusSection-DtqKxbF6.js +1 -0
- package/documentation/{ButtonDripSection-BtsL1Kt8.js → ButtonDripSection-C5biHmZq.js} +29 -32
- package/documentation/ButtonDripSection-DEZ07Ezd.js +21 -0
- package/documentation/ButtonLoaderSection-BVgZFpeK.js +153 -0
- package/documentation/ButtonLoaderSection-CGJBeqr-.js +31 -0
- package/documentation/CardContainerSection-Cs2cKwb4.js +61 -0
- package/documentation/CardContainerSection-yjkb4krj.js +22 -0
- package/documentation/{CardSection-ckUG_wKv.js → CardSection-CWikpGMD.js} +45 -34
- package/documentation/CardSection-FjHnUXDc.js +26 -0
- package/documentation/CardTitleSection-B4OARul9.js +72 -0
- package/documentation/CardTitleSection-BwmJtkj8.js +20 -0
- package/documentation/CarouselCardsSection-DETthGNT.js +38 -0
- package/documentation/CarouselCardsSection-DV9s2xIN.js +174 -0
- package/documentation/CarouselImageSection-B2VbVdOf.js +39 -0
- package/documentation/CarouselImageSection-BsgN88AS.js +179 -0
- package/documentation/CarouselSection-BuAhrfl8.js +123 -0
- package/documentation/CarouselSection-CBlMfgGw.js +25 -0
- package/documentation/CheckboxSection-D5f8a17w.js +175 -0
- package/documentation/CheckboxSection-DpC1rIxz.js +29 -0
- package/documentation/CodeExamplesSection-CzT6xoBd.js +68 -0
- package/documentation/CodeExamplesSection-DmnhyUyh.js +134 -0
- package/documentation/{CoinCardSection-_nBvI_X8.js → CoinCardSection-B6mFIGWY.js} +69 -33
- package/documentation/CoinCardSection-B8xYe_14.js +13 -0
- package/documentation/{CoinInfoCardSection-AEcJ5uK3.js → CoinInfoCardSection-B6WuOwgK.js} +62 -34
- package/documentation/CoinInfoCardSection-DrlLjeme.js +12 -0
- package/documentation/CoinListBoxSection-DkQKAYd4.js +24 -0
- package/documentation/CoinListBoxSection-h2EIhbc6.js +129 -0
- package/documentation/{CollapseSection-BgyMQlIv.js → CollapseSection-BgUzBjdQ.js} +30 -32
- package/documentation/CollapseSection-DjToAVsV.js +28 -0
- package/documentation/{CollectionCardSection-COmO7Vc5.js → CollectionCardSection-Bso5dTm0.js} +47 -29
- package/documentation/CollectionCardSection-CLYRjHZ3.js +17 -0
- package/documentation/CollectionSelectListSection-U1691doa.js +149 -0
- package/documentation/CollectionSelectListSection-yeCip8aj.js +15 -0
- package/documentation/ColorCustomizationSection-DAyuywgq.js +141 -0
- package/documentation/ColorCustomizationSection-Dq8eABfF.js +1 -0
- package/documentation/ColorSystemSection-B3tm49L7.js +1 -0
- package/documentation/ColorSystemSection-yh45iiHj.js +339 -0
- package/documentation/CommonErrorsSection-DQrjcfPF.js +77 -0
- package/documentation/CommonErrorsSection-Dy04oSz_.js +1 -0
- package/documentation/ComponentAnatomySection-CqMqeGRG.js +78 -0
- package/documentation/ComponentAnatomySection-J7_m5JbP.js +1 -0
- package/documentation/ComponentStatusSection-FFk0aqBc.js +1 -0
- package/documentation/ComponentStatusSection-Yo0G0loR.js +148 -0
- package/documentation/{ComposedChartSection-M70OxN8v.js → ComposedChartSection-hW66uHot.js} +10 -10
- package/documentation/ComposedChartSection-tNIAiTDy.js +21 -0
- package/documentation/CurrencySwapIconsSection-BBnjn3uo.js +73 -0
- package/documentation/CurrencySwapIconsSection-B_bHfyHa.js +7 -0
- package/documentation/CustomColorPaletteSection-C0QH-Gjh.js +74 -0
- package/documentation/CustomColorPaletteSection-DO8oEjzW.js +19 -0
- package/documentation/CustomIconsSection-BASoblRw.js +3 -0
- package/documentation/CustomIconsSection-BNBsaI1Y.js +172 -0
- package/documentation/DefiAppLogoSection-CJ_WaEEM.js +38 -0
- package/documentation/DefiAppLogoSection-bB5g79Z4.js +132 -0
- package/documentation/DesignPrinciplesSection-DeSp3YGO.js +68 -0
- package/documentation/DesignPrinciplesSection-Zl0xFCt6.js +1 -0
- package/documentation/{DrawerSection-D5pDeoKz.js → DrawerSection-CrMh4USZ.js} +44 -47
- package/documentation/DrawerSection-DsqcxtDs.js +42 -0
- package/documentation/DynamicRoutesSection-C9QESfkX.js +47 -0
- package/documentation/DynamicRoutesSection-mzGjrsjc.js +112 -0
- package/documentation/FileInputSection-5T-xJxsP.js +73 -0
- package/documentation/FileInputSection-Ct4GqFfT.js +237 -0
- package/documentation/{FileStructureSection-DrQtyycO.js → FileStructureSection-14xCYpSc.js} +44 -30
- package/documentation/FileStructureSection-9lInEOF5.js +26 -0
- package/documentation/FormComponentsSection-BjJY47h7.js +148 -0
- package/documentation/FormComponentsSection-CVdYFyUi.js +1 -0
- package/documentation/FormMethodsSection-DlBnV-Aj.js +194 -0
- package/documentation/FormMethodsSection-R2SW4g00.js +53 -0
- package/documentation/{HamburgerSection-Dnh6Wf78.js → HamburgerSection-BpoVoDOi.js} +27 -29
- package/documentation/HamburgerSection-VxfOCf7c.js +19 -0
- package/documentation/HookCategoriesSection-B_TOE9Dl.js +119 -0
- package/documentation/HookCategoriesSection-GgKNpxrq.js +1 -0
- package/documentation/HookDocumentationSection-CBtlj0Xo.js +467 -0
- package/documentation/HookDocumentationSection-DC-uDZ1A.js +100 -0
- package/documentation/HookFeaturesSection-C46s1I46.js +1 -0
- package/documentation/HookFeaturesSection-CYQq8uiT.js +70 -0
- package/documentation/IconArchitectureSection-DVwo8J6J.js +11 -0
- package/documentation/IconArchitectureSection-Dg0P4xJM.js +145 -0
- package/documentation/IconSizingGuideSection-4CGLUtLH.js +118 -0
- package/documentation/IconSizingGuideSection-DV6KbqA2.js +1 -0
- package/documentation/IconSystemAPISection-B4lcpmhY.js +1 -0
- package/documentation/IconSystemAPISection-feuWPuII.js +138 -0
- package/documentation/IconSystemBenefitsSection-BlEPp4PZ.js +120 -0
- package/documentation/IconSystemBenefitsSection-isJXtAnP.js +1 -0
- package/documentation/{ImageSection-D2nnAJjT.js → ImageSection-90o9mI_A.js} +19 -20
- package/documentation/ImageSection-lfQJq_9S.js +82 -0
- package/documentation/ImplementationExamplesSection-DJxSTPAz.js +761 -0
- package/documentation/ImplementationExamplesSection-Ds4REGcS.js +429 -0
- package/documentation/ImplementationGuidelinesSection-DyggNHxr.js +1 -0
- package/documentation/ImplementationGuidelinesSection-z14_D9y4.js +144 -0
- package/documentation/ImplementationStatusSection-CCTRI00N.js +1 -0
- package/documentation/ImplementationStatusSection-D3FnRWV-.js +62 -0
- package/documentation/ImplementedFeaturesSection-C-hPiVlX.js +70 -0
- package/documentation/ImplementedFeaturesSection-KvlP_7ja.js +1 -0
- package/documentation/InfoCardSection-BBd3_OzF.js +38 -0
- package/documentation/{InfoCardSection-BhJTN7zz.js → InfoCardSection-DHQuZzE7.js} +64 -39
- package/documentation/InputSearcherSection-BQ4cUC16.js +267 -0
- package/documentation/InputSearcherSection-DFk3eBSo.js +45 -0
- package/documentation/InputSection-B5ty4Onb.js +280 -0
- package/documentation/InputSection-DLQ6hyWl.js +50 -0
- package/documentation/KeyValueRowSection-BgKXD67j.js +17 -0
- package/documentation/KeyValueRowSection-CJWvh1z_.js +117 -0
- package/documentation/KeyboardNavigationSection-B38QXuO1.js +27 -0
- package/documentation/KeyboardNavigationSection-B8IX8HhB.js +130 -0
- package/documentation/LayoutPrinciplesSection-Dtv-aHj6.js +148 -0
- package/documentation/LayoutPrinciplesSection-TN7sNEHN.js +1 -0
- package/documentation/LayoutTypesSection-DtAUqzLt.js +390 -0
- package/documentation/LayoutTypesSection-prvabVsZ.js +1 -0
- package/documentation/{LineChartSection-BsupR4NA.js → LineChartSection-CzARfWf9.js} +7 -7
- package/documentation/LineChartSection-HJuiXWwE.js +21 -0
- package/documentation/ListContainerSection-Ca8Y_cJJ.js +153 -0
- package/documentation/ListContainerSection-CkEy8kTD.js +39 -0
- package/documentation/ListItemSection-C57wh8xh.js +37 -0
- package/documentation/{ListItemSection-Ba24GQNN.js → ListItemSection-CrUwVDa7.js} +29 -31
- package/documentation/LiveDemoSection-C6YvjWGX.js +1 -0
- package/documentation/LiveDemoSection-Di6_Ljzt.js +56 -0
- package/documentation/LiveDemonstrationsSection-D7NGWZ3I.js +539 -0
- package/documentation/LiveDemonstrationsSection-Dby6VHKw.js +28 -0
- package/documentation/LivePriceFeedSection-BGUKPNUb.js +20 -0
- package/documentation/LivePriceFeedSection-B_GgiNK8.js +143 -0
- package/documentation/LoaderSection-Chy1mcXx.js +96 -0
- package/documentation/LoaderSection-yuB9Toxf.js +23 -0
- package/documentation/LogoSection-BVWSaZET.js +101 -0
- package/documentation/{LogoSection-CfykWQ4k.js → LogoSection-iUxlu-_p.js} +17 -19
- package/documentation/LucideIconsSection-CX6vVBZA.js +169 -0
- package/documentation/LucideIconsSection-CXfT5lQb.js +1 -0
- package/documentation/MFESupportSection-B6RwP4pS.js +97 -0
- package/documentation/MFESupportSection-DamrDMWD.js +222 -0
- package/documentation/MacOSBackgroundsSection-Cx_1ZLMj.js +293 -0
- package/documentation/MacOSBackgroundsSection-ZPqiqQex.js +1 -0
- package/documentation/MacOSColorsSection-C3PgogP4.js +1 -0
- package/documentation/MacOSColorsSection-DFSpSHs_.js +305 -0
- package/documentation/MacOSCommandPaletteSection-BuwzwV8l.js +33 -0
- package/documentation/MacOSCommandPaletteSection-CNIbgVQz.js +143 -0
- package/documentation/MacOSMaterialsSection-B0bCcOWV.js +280 -0
- package/documentation/MacOSMaterialsSection-CgulMHAk.js +1 -0
- package/documentation/MacOSNotificationBannerSection-C9SIbT7b.js +25 -0
- package/documentation/MacOSNotificationBannerSection-DL_wVvSM.js +169 -0
- package/documentation/MacOSPopoverSection-DQkkxFZi.js +266 -0
- package/documentation/MacOSPopoverSection-whmFuYxn.js +33 -0
- package/documentation/MacOSSearchBarSection-D7I0Bvgv.js +108 -0
- package/documentation/MacOSSearchBarSection-NVzpmwpm.js +17 -0
- package/documentation/MacOSSegmentedControlSection-BZVQzIRB.js +138 -0
- package/documentation/MacOSSegmentedControlSection-DbdRCqFk.js +19 -0
- package/documentation/MacOSSidebarSection-C_9PEk_f.js +35 -0
- package/documentation/MacOSSidebarSection-DYZ6onyY.js +251 -0
- package/documentation/MacOSTahoeSection-DCwsZnWz.js +98 -0
- package/documentation/MacOSTahoeSection-dZq5MXs6.js +1 -0
- package/documentation/MacOSTextStylesSection-DGktqEPk.js +1 -0
- package/documentation/MacOSTextStylesSection-DZmQayrr.js +366 -0
- package/documentation/MacOSToolbarSection-B_bHKn8G.js +23 -0
- package/documentation/MacOSToolbarSection-Ci3H22eP.js +100 -0
- package/documentation/MacOSWidgetSection-CEJiUAXx.js +107 -0
- package/documentation/MacOSWidgetSection-CS6SNE1x.js +19 -0
- package/documentation/MacOSWindowSection-Cj5W9tOb.js +22 -0
- package/documentation/MacOSWindowSection-DqJp_sYV.js +237 -0
- package/documentation/{MenuItemsGuideSection-D8eRUuUw.js → MenuItemsGuideSection-B7BCFEzC.js} +2 -2
- package/documentation/{MenuItemsGuideSection-ChPa1HVx.js → MenuItemsGuideSection-DGwGu1eO.js} +54 -28
- package/documentation/ModalSection-BAl0KIk0.js +30 -0
- package/documentation/{ModalSection-Df8_-5Mu.js → ModalSection-BVVp2SX8.js} +40 -42
- package/documentation/NFTGridSection-BNFbcFZG.js +160 -0
- package/documentation/NFTGridSection-Wl711fIz.js +19 -0
- package/documentation/NestedRoutesSection-D8PkxU8h.js +120 -0
- package/documentation/NestedRoutesSection-wmlrMDJq.js +39 -0
- package/documentation/NotificationCardSection-CbQt_XUN.js +29 -0
- package/documentation/{NotificationCardSection-B5CPgG4B.js → NotificationCardSection-Dd1DGkKw.js} +25 -27
- package/documentation/PaginationSection-BUPepKIu.js +19 -0
- package/documentation/{PaginationSection-30WC5ZN7.js → PaginationSection-lSE7L18v.js} +45 -32
- package/documentation/PanelActionCardSection-BdiVGZct.js +29 -0
- package/documentation/{PanelActionCardSection-CC-DAySo.js → PanelActionCardSection-BgBQ-yk0.js} +15 -17
- package/documentation/{PanelCardSection-OBm47mh0.js → PanelCardSection-CxgguBdn.js} +14 -16
- package/documentation/PanelCardSection-DepwDiot.js +16 -0
- package/documentation/{ParamTabSection-TcsbnNAx.js → ParamTabSection-7WqNq93W.js} +138 -78
- package/documentation/ParamTabSection-CRAA5456.js +94 -0
- package/documentation/PieChartSection-CjOgCPaN.js +19 -0
- package/documentation/{PieChartSection-DuRH9AFw.js → PieChartSection-DgARlxCn.js} +14 -14
- package/documentation/PinCodeSection-BZ9lZb1m.js +32 -0
- package/documentation/PinCodeSection-v_9DV5Lk.js +235 -0
- package/documentation/ProgressbarSection-D3DYoI4Y.js +22 -0
- package/documentation/ProgressbarSection-DlUhNhf2.js +142 -0
- package/documentation/{RadarChartSection-CrY3D0r8.js → RadarChartSection-CUbzsVhA.js} +7 -7
- package/documentation/RadarChartSection-Ddb_fGPc.js +21 -0
- package/documentation/RadioGroupSection-5l0IDcfd.js +269 -0
- package/documentation/RadioGroupSection-CZQzvhOR.js +37 -0
- package/documentation/RadioSection-D-KPVIm_.js +183 -0
- package/documentation/RadioSection-D6bi4kIt.js +27 -0
- package/documentation/{RevealContentSection-D1NNa1Zb.js → RevealContentSection-DZhCRfDI.js} +14 -17
- package/documentation/RevealContentSection-xWU5mwxK.js +21 -0
- package/documentation/RouteConfigurationSection-BNlfPveX.js +42 -0
- package/documentation/RouteConfigurationSection-CGohU3dz.js +88 -0
- package/documentation/ScrollToTopSection-CE_chqn5.js +38 -0
- package/documentation/ScrollToTopSection-DTIMzJcL.js +141 -0
- package/documentation/ScrollbarSection-BtFed7RJ.js +30 -0
- package/documentation/{ScrollbarSection-DYHKnFn2.js → ScrollbarSection-UGhiUlT9.js} +25 -27
- package/documentation/SelectSection-B_s_pRsx.js +346 -0
- package/documentation/SelectSection-DQZ8bxsN.js +52 -0
- package/documentation/SettingsPanelSection-D2vZ81r5.js +139 -0
- package/documentation/SettingsPanelSection-DmeXjrx0.js +1 -0
- package/documentation/ShadowsSection-Br8AictP.js +1 -0
- package/documentation/ShadowsSection-CoUWlYA-.js +101 -0
- package/documentation/SidebarMenuSection-BuyjfISB.js +108 -0
- package/documentation/SidebarMenuSection-DL9USgCd.js +47 -0
- package/documentation/SidebarSection-B-rHd7VC.js +70 -0
- package/documentation/SidebarSection-DMPBCRIo.js +26 -0
- package/documentation/SizingSection--Jco3RIU.js +97 -0
- package/documentation/SizingSection-CUt8NIK0.js +1 -0
- package/documentation/{SkeletonSection-BjYOD-Ui.js → SkeletonSection-DJdKo1ja.js} +79 -81
- package/documentation/SkeletonSection-DqrX4Bdv.js +53 -0
- package/documentation/SonomaColorsSection-DJtL9gyt.js +388 -0
- package/documentation/SonomaColorsSection-ymNouzEh.js +1 -0
- package/documentation/SonomaLayoutContentSection-BUpCwKvI.js +16 -0
- package/documentation/SonomaLayoutContentSection-DUaqAxji.js +67 -0
- package/documentation/SonomaLayoutSidebarSection-5eYi4AN9.js +27 -0
- package/documentation/SonomaLayoutSidebarSection-pojkz3vG.js +96 -0
- package/documentation/SonomaMaterialsSection-C96PRKqk.js +9 -0
- package/documentation/SonomaMaterialsSection-DGAN4s50.js +334 -0
- package/documentation/SonomaShapesSection-BhLTcP3w.js +10 -0
- package/documentation/SonomaShapesSection-C8Pf87LY.js +482 -0
- package/documentation/SonomaTypographySection-COUn6t7v.js +389 -0
- package/documentation/SonomaTypographySection-Ds10GLYv.js +1 -0
- package/documentation/SpacingSystemSection-BF3PHq5h.js +1 -0
- package/documentation/{SpacingSystemSection-D1Z2lzGW.js → SpacingSystemSection-BqrzSpri.js} +24 -27
- package/documentation/SpinnerSection-Dk30YZJZ.js +18 -0
- package/documentation/SpinnerSection-yr2tRAM5.js +78 -0
- package/documentation/StandaloneAppSection-BELaa7LI.js +71 -0
- package/documentation/StandaloneAppSection-DCFC1XZR.js +181 -0
- package/documentation/StepperSection-B1XhYQK-.js +29 -0
- package/documentation/{StepperSection-D7wP-dU3.js → StepperSection-By_Ml_tV.js} +66 -46
- package/documentation/SwitchSection-BUQdc358.js +223 -0
- package/documentation/SwitchSection-C85IWY-t.js +28 -0
- package/documentation/SystemOverviewSection-C1qBmPHN.js +58 -0
- package/documentation/SystemOverviewSection-rljSEGcG.js +1 -0
- package/documentation/TabModalSection-Dv5x_sEQ.js +52 -0
- package/documentation/{TabModalSection-cPdxSg37.js → TabModalSection-IuUO4qiP.js} +55 -31
- package/documentation/{TabSection-B0K0gRVb.js → TabSection-Caok23rW.js} +71 -49
- package/documentation/TabSection-DDHTGSIS.js +85 -0
- package/documentation/{TabSelectSection-or6HVCzs.js → TabSelectSection-B4rEgVlu.js} +91 -61
- package/documentation/TabSelectSection-BseTPExy.js +102 -0
- package/documentation/TahoeCommandPaletteSection-DaORHbNv.js +21 -0
- package/documentation/TahoeCommandPaletteSection-v_iOPj8C.js +217 -0
- package/documentation/TahoeDialogSection-BoY2025y.js +22 -0
- package/documentation/TahoeDialogSection-CqKQ-RDj.js +228 -0
- package/documentation/TahoeDockSection-C7harqcu.js +29 -0
- package/documentation/TahoeDockSection-DhRRBnTT.js +228 -0
- package/documentation/TahoeLayoutContentSection-C4BE8wc4.js +68 -0
- package/documentation/TahoeLayoutContentSection-_mL3T_3K.js +17 -0
- package/documentation/TahoeLayoutSidebarSection-BUXgOJBx.js +36 -0
- package/documentation/TahoeLayoutSidebarSection-BmCZJ9fX.js +114 -0
- package/documentation/TahoeNotificationBannerSection-CSlPVrTp.js +144 -0
- package/documentation/TahoeNotificationBannerSection-D4E3b7uT.js +22 -0
- package/documentation/TahoePopoverSection-CJaeo55K.js +24 -0
- package/documentation/TahoePopoverSection-D3zoltMl.js +220 -0
- package/documentation/TahoeProgressBarSection-C_2fAhY_.js +16 -0
- package/documentation/TahoeProgressBarSection-DO21lvmq.js +124 -0
- package/documentation/TahoeSearchBarSection-2siyD6LM.js +117 -0
- package/documentation/TahoeSearchBarSection-DdXfb6P6.js +10 -0
- package/documentation/TahoeSegmentedControlSection-CGHYXp6R.js +12 -0
- package/documentation/TahoeSegmentedControlSection-CcSHJml_.js +178 -0
- package/documentation/TahoeToolbarSection-BCpyfad4.js +81 -0
- package/documentation/TahoeToolbarSection-C10KKCyu.js +17 -0
- package/documentation/TahoeWidgetSection-BUaOmNIc.js +121 -0
- package/documentation/TahoeWidgetSection-sxxKh9VM.js +13 -0
- package/documentation/TahoeWindowSection-COl0UCS1.js +289 -0
- package/documentation/TahoeWindowSection-KL3yHPI3.js +24 -0
- package/documentation/TailwindConfigSection-DPCR4e0X.js +23 -0
- package/documentation/TailwindConfigSection-DdJnfBeo.js +128 -0
- package/documentation/TestingSection-4eyjrj1_.js +36 -0
- package/documentation/TestingSection-laVHmYZE.js +150 -0
- package/documentation/TextareaSection-D_4-b9Jx.js +258 -0
- package/documentation/TextareaSection-Dx8UEgUG.js +34 -0
- package/documentation/ThemeArchitectureSection-BJt75CEU.js +27 -0
- package/documentation/ThemeArchitectureSection-BOTLbXFq.js +143 -0
- package/documentation/ThemeConfigurationSection-CGRi9uGX.js +1 -0
- package/documentation/ThemeConfigurationSection-sgJA0wX0.js +139 -0
- package/documentation/ThemeHooksSection-BU9VAEIQ.js +1 -0
- package/documentation/ThemeHooksSection-DN-dSaho.js +173 -0
- package/documentation/ThemeProviderIntegrationSection-CtckSEZ6.js +122 -0
- package/documentation/ThemeProviderIntegrationSection-DxWYUVNo.js +73 -0
- package/documentation/{ThemeProviderRequiredSection-DlOJ3rB6.js → ThemeProviderRequiredSection-BHmXKzqL.js} +36 -17
- package/documentation/ThemeProviderRequiredSection-DMStR6-A.js +1 -0
- package/documentation/ThemeProviderSection-CTTjgBhZ.js +143 -0
- package/documentation/ThemeProviderSection-DSllsxjP.js +1 -0
- package/documentation/{ToastSection-BeNEBfZU.js → ToastSection-BcMWRjYM.js} +3 -2
- package/documentation/{ToastSection-CY2Mbvzy.js → ToastSection-CAz8Hcgy.js} +43 -45
- package/documentation/ToggleBarSection-BAJRL-JL.js +45 -0
- package/documentation/ToggleBarSection-D0gxe4bi.js +186 -0
- package/documentation/TooltipSection-8BAcW1F8.js +64 -0
- package/documentation/{TooltipSection-CoTGjIYK.js → TooltipSection-8ft95fhM.js} +31 -32
- package/documentation/TopupButtonSection-BsP9qMKz.js +98 -0
- package/documentation/TopupButtonSection-DMX7DHtm.js +25 -0
- package/documentation/TransactionInfoSection-Dfyi0vTL.js +16 -0
- package/documentation/TransactionInfoSection-gfy4OG-G.js +86 -0
- package/documentation/TucuUiLogoSection-BlyXPiuE.js +26 -0
- package/documentation/TucuUiLogoSection-Dr4QKJE2.js +85 -0
- package/documentation/TypographySection-BvFi0bpr.js +276 -0
- package/documentation/{TypographySection-DAwRhonX.js → TypographySection-C4YFmIj_.js} +49 -51
- package/documentation/TypographySection-CxZfc6YL.js +1 -0
- package/documentation/TypographySection-bXUV6Bmt.js +33 -0
- package/documentation/UsageExamplesSection-BwcRgeyU.js +150 -0
- package/documentation/UsageExamplesSection-CRg9RYfR.js +84 -0
- package/documentation/UsingThemeSystemSection-DB_ErOba.js +106 -0
- package/documentation/UsingThemeSystemSection-DYUkPUnX.js +164 -0
- package/documentation/ValidationSystemSection-BEwX_nlY.js +222 -0
- package/documentation/ValidationSystemSection-BdPgfg9x.js +53 -0
- package/documentation/WCAGPrinciplesSection-CgWqrIwS.js +1 -0
- package/documentation/WCAGPrinciplesSection-qmAtTMZv.js +126 -0
- package/{index-D3gBsvbO.js → index-19KsCnyX.js} +38743 -29988
- package/index-DMs_SmPq.js +1178 -0
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +373 -307
- package/package.json +1 -1
- package/themes/components/index.d.ts +1 -0
- package/themes/components/settings/index.d.ts +1 -0
- package/themes/components/settings/switch-variant.d.ts +5 -0
- package/themes/components/theme-background.d.ts +33 -0
- package/themes/components/theme-provider/mfe-app-theme-provider.d.ts +3 -3
- package/themes/components/theme-provider/standalone-app-theme-provider.d.ts +3 -3
- package/themes/components/theme-provider/theme-wrapper.d.ts +35 -3
- package/themes/config/index.d.ts +258 -6
- package/themes/hooks/use-theme-color.d.ts +13 -1
- package/themes/hooks/use-theme.d.ts +21 -1
- package/documentation/APIReferenceSection-3tw3kbSC.js +0 -142
- package/documentation/APIReferenceSection-Bi_II-dh.js +0 -1
- package/documentation/ActiveLinkSection-CbQ9Ib2C.js +0 -22
- package/documentation/AdvancedColorSystemSection-C037qEf7.js +0 -17
- package/documentation/AdvancedColorSystemSection-eBshfqfD.js +0 -173
- package/documentation/AdvancedFeaturesSection-BYLSytEq.js +0 -82
- package/documentation/AdvancedFeaturesSection-CAG7FjH1.js +0 -1
- package/documentation/AdvancedFeaturesSection-CEhYolpb.js +0 -1
- package/documentation/AdvancedFeaturesSection-WMvC_2If.js +0 -100
- package/documentation/AlertSection-CzmwMiuZ.js +0 -98
- package/documentation/AlertSection-pIvh75mZ.js +0 -25
- package/documentation/AnchorLinkSection-diTL_uYY.js +0 -67
- package/documentation/AnchorLinkSection-vCfJpTVG.js +0 -19
- package/documentation/ArchitecturalPatternsComparisonSection-C-eRoUaS.js +0 -325
- package/documentation/ArchitecturalPatternsComparisonSection-FO_wmSbl.js +0 -31
- package/documentation/ArchitectureOverviewSection-DGvqMSQ0.js +0 -1
- package/documentation/ArchitectureOverviewSection-eB86uJbU.js +0 -88
- package/documentation/AreaChartSection-BdHkWEIb.js +0 -22
- package/documentation/AuthorCardSection-Bt0zkOUD.js +0 -17
- package/documentation/AuthorCardSection-C9h7A21b.js +0 -81
- package/documentation/AvatarSection-CrG4z7NV.js +0 -18
- package/documentation/AvatarSection-D9lO80xk.js +0 -91
- package/documentation/BadgeSection-C3ZMK9x_.js +0 -48
- package/documentation/BarChartSection-ninE-2Gk.js +0 -23
- package/documentation/BasicTableSection-BebGMD_K.js +0 -103
- package/documentation/BasicTableSection-CAWStbqv.js +0 -35
- package/documentation/BasicUsageSection-DodQMzbr.js +0 -103
- package/documentation/BasicUsageSection-MrvJphH5.js +0 -45
- package/documentation/BestPracticesSection-B6LVbicQ.js +0 -49
- package/documentation/BestPracticesSection-BeWcRejA.js +0 -41
- package/documentation/BestPracticesSection-CuKCCDE_.js +0 -1
- package/documentation/BestPracticesSection-D9Vu3Kmk.js +0 -83
- package/documentation/BestPracticesSection-D9l9mXg1.js +0 -1
- package/documentation/BestPracticesSection-DAQNq7Uq.js +0 -1
- package/documentation/BestPracticesSection-DDwlvSk9.js +0 -84
- package/documentation/BestPracticesSection-DYjT_pUO.js +0 -43
- package/documentation/BestPracticesSection-DcW9m66-.js +0 -1
- package/documentation/BestPracticesSection-DmPn1IqW.js +0 -1
- package/documentation/BestPracticesSection-DpIzRMX9.js +0 -1
- package/documentation/BestPracticesSection-DtG4Wv2c.js +0 -1
- package/documentation/BestPracticesSection-OQoXjdBp.js +0 -57
- package/documentation/BorderRadiusSection-C62w8z9T.js +0 -72
- package/documentation/BorderRadiusSection-CuZ8GG_0.js +0 -1
- package/documentation/ButtonDripSection-CznoyKBs.js +0 -21
- package/documentation/ButtonLoaderSection-B3jm0Tol.js +0 -30
- package/documentation/ButtonLoaderSection-BDtqxrUY.js +0 -155
- package/documentation/CardContainerSection-B8JvSNpy.js +0 -63
- package/documentation/CardContainerSection-CxfdSIAS.js +0 -21
- package/documentation/CardSection-D66ytgEc.js +0 -25
- package/documentation/CardTitleSection-PbgJ_cjd.js +0 -19
- package/documentation/CardTitleSection-eOKcETMp.js +0 -74
- package/documentation/CarouselCardsSection-CBG6p7HK.js +0 -147
- package/documentation/CarouselCardsSection-DO3LU16T.js +0 -37
- package/documentation/CarouselImageSection-BWhCTLiW.js +0 -152
- package/documentation/CarouselImageSection-C0xXpyka.js +0 -38
- package/documentation/CarouselSection-BxjV5FP1.js +0 -24
- package/documentation/CarouselSection-CjgQuZlV.js +0 -99
- package/documentation/CheckboxSection-BsMbLIWZ.js +0 -26
- package/documentation/CheckboxSection-C7eyYPAa.js +0 -137
- package/documentation/CodeExamplesSection-1kUyGWeU.js +0 -137
- package/documentation/CodeExamplesSection-CWmj5VeF.js +0 -28
- package/documentation/CoinCardSection-iY8J7SEG.js +0 -13
- package/documentation/CoinInfoCardSection-DUtW5rPH.js +0 -12
- package/documentation/CoinListBoxSection-CyUNnrfp.js +0 -24
- package/documentation/CoinListBoxSection-WDINLmD6.js +0 -106
- package/documentation/CollapseSection-BF47ExQb.js +0 -27
- package/documentation/CollectionCardSection-D81QeoBz.js +0 -17
- package/documentation/CollectionSelectListSection-BBvFYU73.js +0 -15
- package/documentation/CollectionSelectListSection-_ChExFJE.js +0 -120
- package/documentation/ColorCustomizationSection-D0mDozfQ.js +0 -117
- package/documentation/ColorCustomizationSection-sJ2eDKR0.js +0 -1
- package/documentation/ColorSystemSection-CHCxVk-I.js +0 -149
- package/documentation/ColorSystemSection-DUCsacWs.js +0 -1
- package/documentation/CommonErrorsSection-BKpCa6rH.js +0 -54
- package/documentation/CommonErrorsSection-C3bp7oeX.js +0 -1
- package/documentation/ComponentAnatomySection-BbsJXnu1.js +0 -72
- package/documentation/ComponentAnatomySection-Bcl5DWBQ.js +0 -1
- package/documentation/ComponentStatusSection-CMae0800.js +0 -1
- package/documentation/ComponentStatusSection-lHvcoI9y.js +0 -84
- package/documentation/ComposedChartSection-Bngkob8v.js +0 -21
- package/documentation/CurrencySwapIconsSection-C8Ux6YVv.js +0 -50
- package/documentation/CurrencySwapIconsSection-DiR8Lm4T.js +0 -7
- package/documentation/CustomColorPaletteSection-7dKh6HB9.js +0 -54
- package/documentation/CustomColorPaletteSection-C35acsIh.js +0 -19
- package/documentation/CustomIconsSection-DPDDT3QV.js +0 -162
- package/documentation/CustomIconsSection-DtSZNlaG.js +0 -3
- package/documentation/DefiAppLogoSection-BkneLGwI.js +0 -120
- package/documentation/DefiAppLogoSection-Dytt0bXd.js +0 -36
- package/documentation/DesignPrinciplesSection-BOiDQmuk.js +0 -1
- package/documentation/DesignPrinciplesSection-GaW5AHDx.js +0 -81
- package/documentation/DrawerSection-Hniq0ExB.js +0 -41
- package/documentation/DynamicRoutesSection-B-wIQRz6.js +0 -100
- package/documentation/DynamicRoutesSection-EyN4-iMU.js +0 -42
- package/documentation/FileInputSection-BRBK7QWu.js +0 -65
- package/documentation/FileInputSection-CgDB4RB5.js +0 -277
- package/documentation/FileStructureSection-CSKmwLEr.js +0 -26
- package/documentation/FormComponentsSection-Ctj1Myfu.js +0 -116
- package/documentation/FormComponentsSection-Dc-8r3Dp.js +0 -1
- package/documentation/FormMethodsSection-B0CH8AFm.js +0 -119
- package/documentation/FormMethodsSection-BNAJnxtE.js +0 -55
- package/documentation/HamburgerSection-DhrGpeO0.js +0 -18
- package/documentation/HookCategoriesSection-DvMKFjMc.js +0 -1
- package/documentation/HookCategoriesSection-DxPpsCI_.js +0 -97
- package/documentation/HookDocumentationSection-CgZD1tOq.js +0 -272
- package/documentation/HookDocumentationSection-Ml6FfZD7.js +0 -73
- package/documentation/HookFeaturesSection-DXGn9w9N.js +0 -81
- package/documentation/HookFeaturesSection-DoWYjwx3.js +0 -1
- package/documentation/IconArchitectureSection-BAVtVvWp.js +0 -1
- package/documentation/IconArchitectureSection-OOghFbiq.js +0 -108
- package/documentation/IconSizingGuideSection-CF9itTi0.js +0 -69
- package/documentation/IconSizingGuideSection-vD6v4fMa.js +0 -1
- package/documentation/IconSystemAPISection-BSOV3etR.js +0 -1
- package/documentation/IconSystemAPISection-D6eLCOaG.js +0 -61
- package/documentation/IconSystemBenefitsSection-CLjshxlO.js +0 -1
- package/documentation/IconSystemBenefitsSection-Cv_9L1Kq.js +0 -41
- package/documentation/ImageSection-CKKC4aJN.js +0 -80
- package/documentation/ImplementationExamplesSection-BKfCgO3N.js +0 -178
- package/documentation/ImplementationExamplesSection-DXqrijp1.js +0 -284
- package/documentation/ImplementationGuidelinesSection-7Y4ZRzgG.js +0 -52
- package/documentation/ImplementationGuidelinesSection-CdbW-zbQ.js +0 -1
- package/documentation/ImplementationStatusSection-BFNsxVIb.js +0 -23
- package/documentation/ImplementationStatusSection-eRpOuc9O.js +0 -1
- package/documentation/ImplementedFeaturesSection-LQqKN75c.js +0 -116
- package/documentation/ImplementedFeaturesSection-vdhErGHI.js +0 -1
- package/documentation/InfoCardSection-Brt8Px1M.js +0 -37
- package/documentation/InputSearcherSection-BDc9Ymtf.js +0 -32
- package/documentation/InputSearcherSection-CNmnq7Gc.js +0 -180
- package/documentation/InputSection-Dd2sBkoW.js +0 -37
- package/documentation/InputSection-DzPq_I1Q.js +0 -159
- package/documentation/KeyValueRowSection-DABdzrIi.js +0 -104
- package/documentation/KeyValueRowSection-J2dPxoZS.js +0 -16
- package/documentation/KeyboardNavigationSection-AU-ysaQM.js +0 -69
- package/documentation/KeyboardNavigationSection-DvzCL_fF.js +0 -1
- package/documentation/LayoutPrinciplesSection-B1JTervM.js +0 -1
- package/documentation/LayoutPrinciplesSection-DOzrWMwV.js +0 -106
- package/documentation/LayoutTypesSection-Bf6A4n7o.js +0 -239
- package/documentation/LayoutTypesSection-DwAR3avS.js +0 -1
- package/documentation/LineChartSection-B0G_cUQK.js +0 -21
- package/documentation/ListContainerSection-C3uVOfda.js +0 -125
- package/documentation/ListContainerSection-Dnx_3dZ9.js +0 -38
- package/documentation/ListItemSection-DT3H_Ias.js +0 -36
- package/documentation/LiveDemoSection-C8RKb2J9.js +0 -1
- package/documentation/LiveDemoSection-DlZp0AJU.js +0 -16
- package/documentation/LiveDemonstrationsSection-BB_ccb5S.js +0 -4
- package/documentation/LiveDemonstrationsSection-DRB4N92_.js +0 -445
- package/documentation/LivePriceFeedSection-Dc-WTk58.js +0 -20
- package/documentation/LivePriceFeedSection-j_73wZas.js +0 -97
- package/documentation/LoaderSection-BQiBqcx7.js +0 -22
- package/documentation/LoaderSection-Bh-7FMwt.js +0 -98
- package/documentation/LogoSection-D4muoIqm.js +0 -100
- package/documentation/LucideIconsSection-BcZP__26.js +0 -128
- package/documentation/LucideIconsSection-BwABNPko.js +0 -1
- package/documentation/MFESupportSection-BHDOPkT0.js +0 -354
- package/documentation/MFESupportSection-C8JljXvo.js +0 -122
- package/documentation/ModalSection-CmRW0lMU.js +0 -29
- package/documentation/NFTGridSection-DFUFgtKg.js +0 -117
- package/documentation/NFTGridSection-DFudkupA.js +0 -19
- package/documentation/NestedRoutesSection-C8UBWGHx.js +0 -88
- package/documentation/NestedRoutesSection-CcrsqPxg.js +0 -36
- package/documentation/NotificationCardSection-YXMF3x55.js +0 -28
- package/documentation/PaginationSection-Bo5cGJPv.js +0 -18
- package/documentation/PanelActionCardSection-XHOuTUHD.js +0 -28
- package/documentation/PanelCardSection-BuALUip4.js +0 -15
- package/documentation/ParamTabSection-Do6psgA6.js +0 -92
- package/documentation/PieChartSection-Donq3tpM.js +0 -19
- package/documentation/PinCodeSection-CALXe-QN.js +0 -167
- package/documentation/PinCodeSection-CKZtH4xU.js +0 -22
- package/documentation/ProgressbarSection-BiSzB70h.js +0 -21
- package/documentation/ProgressbarSection-RSBVXiEx.js +0 -144
- package/documentation/RadarChartSection-DJHkW4Iv.js +0 -21
- package/documentation/RadioGroupSection-BP3Q14TK.js +0 -192
- package/documentation/RadioGroupSection-CoDOy57g.js +0 -27
- package/documentation/RadioSection-BmVNxa2g.js +0 -23
- package/documentation/RadioSection-DycbvkTC.js +0 -130
- package/documentation/RevealContentSection-DJLCAigH.js +0 -21
- package/documentation/RouteConfigurationSection-Drc5LJiF.js +0 -81
- package/documentation/RouteConfigurationSection-nhWEjPVc.js +0 -40
- package/documentation/ScrollToTopSection-CD0lf-YM.js +0 -142
- package/documentation/ScrollToTopSection-Dg1DqNQU.js +0 -36
- package/documentation/ScrollbarSection-DcH7wKa4.js +0 -29
- package/documentation/SelectSection-BsqXWvqu.js +0 -39
- package/documentation/SelectSection-Bw7z6boY.js +0 -242
- package/documentation/SettingsPanelSection-BL1MGm6Q.js +0 -126
- package/documentation/SettingsPanelSection-CTuxkv-A.js +0 -1
- package/documentation/ShadowsSection-BxIUSqgJ.js +0 -1
- package/documentation/ShadowsSection-DEDnh4VA.js +0 -90
- package/documentation/SidebarMenuSection-B566bFj0.js +0 -80
- package/documentation/SidebarMenuSection-C_FRWnLf.js +0 -46
- package/documentation/SidebarSection-BxcsWxss.js +0 -62
- package/documentation/SidebarSection-x6UljOok.js +0 -25
- package/documentation/SizingSection-Bkk50xTx.js +0 -1
- package/documentation/SizingSection-DmDvMmpv.js +0 -86
- package/documentation/SkeletonSection-CtCnpdjN.js +0 -52
- package/documentation/SpacingSystemSection-kZaFDYxR.js +0 -1
- package/documentation/SpinnerSection-Cy4RKNBM.js +0 -80
- package/documentation/SpinnerSection-JoJL6hKq.js +0 -17
- package/documentation/StandaloneAppSection-BnE09OsJ.js +0 -69
- package/documentation/StandaloneAppSection-Dn2EcBsk.js +0 -244
- package/documentation/StepperSection-dLbIrNgm.js +0 -28
- package/documentation/SwitchSection-D_063gA9.js +0 -20
- package/documentation/SwitchSection-_aCMYfZ_.js +0 -152
- package/documentation/SystemOverviewSection-BWie2kgj.js +0 -1
- package/documentation/SystemOverviewSection-zs1sgBU4.js +0 -93
- package/documentation/TabModalSection-DAR0pwr1.js +0 -51
- package/documentation/TabSection-BxVPhqk9.js +0 -84
- package/documentation/TabSelectSection-CQ_IXo8B.js +0 -100
- package/documentation/TailwindConfigSection-BcZJYWM7.js +0 -19
- package/documentation/TailwindConfigSection-DTJZOW6I.js +0 -152
- package/documentation/TestingSection-8TPddPms.js +0 -48
- package/documentation/TestingSection-BorSrvSC.js +0 -12
- package/documentation/TextareaSection-BNvWR0os.js +0 -21
- package/documentation/TextareaSection-Bweh8_uz.js +0 -142
- package/documentation/ThemeArchitectureSection-B4Gn1V7O.js +0 -86
- package/documentation/ThemeArchitectureSection-CJ0hFkh6.js +0 -1
- package/documentation/ThemeConfigurationSection-4LSUu_UO.js +0 -1
- package/documentation/ThemeConfigurationSection-CeifudQ5.js +0 -132
- package/documentation/ThemeHooksSection-CGJts7Ed.js +0 -119
- package/documentation/ThemeHooksSection-CPhNS-qC.js +0 -1
- package/documentation/ThemeProviderIntegrationSection-88jAWm2A.js +0 -61
- package/documentation/ThemeProviderIntegrationSection-BbKuNCBE.js +0 -108
- package/documentation/ThemeProviderRequiredSection-BwXR1i1V.js +0 -1
- package/documentation/ThemeProviderSection-Bh7hWBV8.js +0 -128
- package/documentation/ThemeProviderSection-D6v8Vlhs.js +0 -1
- package/documentation/ToggleBarSection-BCAgChf-.js +0 -127
- package/documentation/ToggleBarSection-Dw4ywuTP.js +0 -37
- package/documentation/TooltipSection-CWZ2P_XP.js +0 -62
- package/documentation/TopupButtonSection-CUyRtVu1.js +0 -24
- package/documentation/TopupButtonSection-DibjXivu.js +0 -100
- package/documentation/TransactionInfoSection-CP75u7WX.js +0 -16
- package/documentation/TransactionInfoSection-DDg2tzY8.js +0 -65
- package/documentation/TucuUiLogoSection-BVMLRhro.js +0 -88
- package/documentation/TucuUiLogoSection-DjvrfpTA.js +0 -26
- package/documentation/TypographySection-DrWlVZdp.js +0 -32
- package/documentation/TypographySection-FEhLWV6X.js +0 -214
- package/documentation/TypographySection-RTEBtLau.js +0 -1
- package/documentation/UsageExamplesSection-CQsfAsO1.js +0 -147
- package/documentation/UsageExamplesSection-Cika-E5i.js +0 -83
- package/documentation/UsingThemeSystemSection-BXzyzQVv.js +0 -176
- package/documentation/UsingThemeSystemSection-CDie8_J5.js +0 -140
- package/documentation/ValidationSystemSection-Ca9vjcW1.js +0 -54
- package/documentation/ValidationSystemSection-CiTBMt8_.js +0 -197
- package/documentation/WCAGPrinciplesSection-B9sZXPfQ.js +0 -116
- package/documentation/WCAGPrinciplesSection-C9SsLYli.js +0 -1
- package/index-VrMogvDN.js +0 -1137
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as g, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d } from "react";
|
|
3
|
+
import { H as v, C as e, a as t, T as i, t as o, P as N, A as f, c as G } from "../index-19KsCnyX.js";
|
|
4
|
+
import { CircleDot as w } from "lucide-react";
|
|
5
|
+
import "react-router-dom";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const P = () => {
|
|
8
|
+
const [c, p] = d(""), [m, u] = d("starter"), h = [
|
|
9
|
+
{ label: "Primary", color: "primary" },
|
|
10
|
+
{ label: "Secondary", color: "secondary" },
|
|
11
|
+
{ label: "Danger", color: "danger" },
|
|
12
|
+
{ label: "Info", color: "info" },
|
|
13
|
+
{ label: "Success", color: "success" },
|
|
14
|
+
{ label: "Warning", color: "warning" }
|
|
15
|
+
], b = [
|
|
16
|
+
{ label: "Small", size: "sm" },
|
|
17
|
+
{ label: "Medium", size: "md" },
|
|
18
|
+
{ label: "Large", size: "lg" },
|
|
19
|
+
{ label: "Extra Large", size: "xl" }
|
|
20
|
+
], n = [
|
|
21
|
+
{ value: "male", label: "Male" },
|
|
22
|
+
{ value: "female", label: "Female" },
|
|
23
|
+
{ value: "other", label: "Other" }
|
|
24
|
+
];
|
|
25
|
+
return /* @__PURE__ */ a(g, { children: [
|
|
26
|
+
/* @__PURE__ */ l(
|
|
27
|
+
v,
|
|
28
|
+
{
|
|
29
|
+
title: "RadioGroup",
|
|
30
|
+
description: "A group of radio buttons for selecting one option from multiple choices.",
|
|
31
|
+
icon: /* @__PURE__ */ l("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-indigo-500 via-purple-500 to-pink-500 rounded-full flex items-center justify-center shadow-lg border border-indigo-500/50", children: /* @__PURE__ */ l(w, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
32
|
+
}
|
|
33
|
+
),
|
|
34
|
+
/* @__PURE__ */ l(e, { className: "overflow-hidden", children: /* @__PURE__ */ l(t, { title: "Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ l("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
35
|
+
/* @__PURE__ */ a(e, { className: "p-4", children: [
|
|
36
|
+
/* @__PURE__ */ l(i, { tag: "h5", className: "mb-3", children: "Basic RadioGroup" }),
|
|
37
|
+
/* @__PURE__ */ l(
|
|
38
|
+
o,
|
|
39
|
+
{
|
|
40
|
+
label: "Gender",
|
|
41
|
+
options: n,
|
|
42
|
+
value: c,
|
|
43
|
+
onChange: (r) => p(r)
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
] }),
|
|
47
|
+
/* @__PURE__ */ a(e, { className: "p-4", children: [
|
|
48
|
+
/* @__PURE__ */ l(i, { tag: "h5", className: "mb-3", children: "With Helper Text" }),
|
|
49
|
+
/* @__PURE__ */ l(
|
|
50
|
+
o,
|
|
51
|
+
{
|
|
52
|
+
label: "Size",
|
|
53
|
+
helperText: "Select your preferred size",
|
|
54
|
+
options: [
|
|
55
|
+
{ value: "small", label: "Small" },
|
|
56
|
+
{ value: "medium", label: "Medium" },
|
|
57
|
+
{ value: "large", label: "Large" }
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ a(e, { className: "p-4", children: [
|
|
63
|
+
/* @__PURE__ */ l(i, { tag: "h5", className: "mb-3", children: "With Error" }),
|
|
64
|
+
/* @__PURE__ */ l(
|
|
65
|
+
o,
|
|
66
|
+
{
|
|
67
|
+
label: "Priority",
|
|
68
|
+
error: "Please select a priority",
|
|
69
|
+
options: [
|
|
70
|
+
{ value: "low", label: "Low" },
|
|
71
|
+
{ value: "high", label: "High" }
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
] }),
|
|
76
|
+
/* @__PURE__ */ a(e, { className: "p-4", children: [
|
|
77
|
+
/* @__PURE__ */ l(i, { tag: "h5", className: "mb-3", children: "Disabled" }),
|
|
78
|
+
/* @__PURE__ */ l(
|
|
79
|
+
o,
|
|
80
|
+
{
|
|
81
|
+
label: "Status",
|
|
82
|
+
disabled: !0,
|
|
83
|
+
options: [
|
|
84
|
+
{ value: "active", label: "Active" },
|
|
85
|
+
{ value: "inactive", label: "Inactive" }
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
] }),
|
|
90
|
+
/* @__PURE__ */ a(e, { className: "p-4", children: [
|
|
91
|
+
/* @__PURE__ */ l(i, { tag: "h5", className: "mb-3", children: "Horizontal Layout" }),
|
|
92
|
+
/* @__PURE__ */ l(
|
|
93
|
+
o,
|
|
94
|
+
{
|
|
95
|
+
label: "Direction",
|
|
96
|
+
direction: "horizontal",
|
|
97
|
+
options: [
|
|
98
|
+
{ value: "vertical", label: "Vertical" },
|
|
99
|
+
{ value: "horizontal", label: "Horizontal" }
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
] })
|
|
104
|
+
] }) }) }) }),
|
|
105
|
+
/* @__PURE__ */ l(e, { className: "overflow-hidden", children: /* @__PURE__ */ l(t, { title: "Variants", className: "mt-2 mb-2", children: /* @__PURE__ */ l("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [
|
|
106
|
+
/* @__PURE__ */ a(e, { className: "p-4", children: [
|
|
107
|
+
/* @__PURE__ */ l(i, { tag: "h5", className: "mb-3", children: "Ghost (default)" }),
|
|
108
|
+
/* @__PURE__ */ l(
|
|
109
|
+
o,
|
|
110
|
+
{
|
|
111
|
+
label: "Ghost Variant",
|
|
112
|
+
variant: "ghost",
|
|
113
|
+
options: [
|
|
114
|
+
{ value: "opt1", label: "Option 1" },
|
|
115
|
+
{ value: "opt2", label: "Option 2" }
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
)
|
|
119
|
+
] }),
|
|
120
|
+
/* @__PURE__ */ a(e, { className: "p-4", children: [
|
|
121
|
+
/* @__PURE__ */ l(i, { tag: "h5", className: "mb-3", children: "Solid" }),
|
|
122
|
+
/* @__PURE__ */ l(
|
|
123
|
+
o,
|
|
124
|
+
{
|
|
125
|
+
label: "Solid Variant",
|
|
126
|
+
variant: "solid",
|
|
127
|
+
options: [
|
|
128
|
+
{ value: "opt1", label: "Option 1" },
|
|
129
|
+
{ value: "opt2", label: "Option 2" }
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
)
|
|
133
|
+
] }),
|
|
134
|
+
/* @__PURE__ */ a(e, { className: "p-4", children: [
|
|
135
|
+
/* @__PURE__ */ l(i, { tag: "h5", className: "mb-3", children: "Transparent" }),
|
|
136
|
+
/* @__PURE__ */ l(
|
|
137
|
+
o,
|
|
138
|
+
{
|
|
139
|
+
label: "Transparent Variant",
|
|
140
|
+
variant: "transparent",
|
|
141
|
+
options: [
|
|
142
|
+
{ value: "opt1", label: "Option 1" },
|
|
143
|
+
{ value: "opt2", label: "Option 2" }
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
] })
|
|
148
|
+
] }) }) }) }),
|
|
149
|
+
/* @__PURE__ */ l(e, { className: "overflow-hidden", children: /* @__PURE__ */ l(t, { title: "Colors", className: "mt-2 mb-2", children: /* @__PURE__ */ l("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3", children: h.map(({ label: r, color: s }) => /* @__PURE__ */ a(e, { className: "p-4", children: [
|
|
150
|
+
/* @__PURE__ */ l(i, { tag: "h5", className: "mb-3", children: r }),
|
|
151
|
+
/* @__PURE__ */ l(
|
|
152
|
+
o,
|
|
153
|
+
{
|
|
154
|
+
label: `${r} Group`,
|
|
155
|
+
color: s,
|
|
156
|
+
options: n
|
|
157
|
+
}
|
|
158
|
+
)
|
|
159
|
+
] }, s)) }) }) }) }),
|
|
160
|
+
/* @__PURE__ */ l(e, { className: "overflow-hidden", children: /* @__PURE__ */ l(t, { title: "Sizes", className: "mt-2 mb-2", children: /* @__PURE__ */ l("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-4", children: b.map(({ label: r, size: s }) => /* @__PURE__ */ a(e, { className: "p-4", children: [
|
|
161
|
+
/* @__PURE__ */ l(i, { tag: "h5", className: "mb-3", children: r }),
|
|
162
|
+
/* @__PURE__ */ l(
|
|
163
|
+
o,
|
|
164
|
+
{
|
|
165
|
+
label: `${r} Group`,
|
|
166
|
+
size: s,
|
|
167
|
+
options: n
|
|
168
|
+
}
|
|
169
|
+
)
|
|
170
|
+
] }, s)) }) }) }) }),
|
|
171
|
+
/* @__PURE__ */ l(
|
|
172
|
+
N,
|
|
173
|
+
{
|
|
174
|
+
componentName: "RadioGroup",
|
|
175
|
+
defaultValues: {
|
|
176
|
+
label: "Preview RadioGroup",
|
|
177
|
+
variant: "ghost",
|
|
178
|
+
color: "primary",
|
|
179
|
+
size: "md",
|
|
180
|
+
labelPlacement: "end",
|
|
181
|
+
disabled: !1,
|
|
182
|
+
helperText: "",
|
|
183
|
+
error: "",
|
|
184
|
+
direction: "vertical",
|
|
185
|
+
gap: "md"
|
|
186
|
+
},
|
|
187
|
+
includeProps: [
|
|
188
|
+
"label",
|
|
189
|
+
"variant",
|
|
190
|
+
"color",
|
|
191
|
+
"size",
|
|
192
|
+
"labelPlacement",
|
|
193
|
+
"disabled",
|
|
194
|
+
"helperText",
|
|
195
|
+
"error",
|
|
196
|
+
"direction",
|
|
197
|
+
"gap"
|
|
198
|
+
],
|
|
199
|
+
excludeProps: [
|
|
200
|
+
"options",
|
|
201
|
+
"value",
|
|
202
|
+
"defaultValue",
|
|
203
|
+
"children",
|
|
204
|
+
"onChange"
|
|
205
|
+
],
|
|
206
|
+
children: (r) => /* @__PURE__ */ l("div", { className: "w-full max-w-lg", children: /* @__PURE__ */ l(
|
|
207
|
+
o,
|
|
208
|
+
{
|
|
209
|
+
...r,
|
|
210
|
+
options: [
|
|
211
|
+
{ value: "starter", label: "Starter" },
|
|
212
|
+
{ value: "growth", label: "Growth" },
|
|
213
|
+
{ value: "scale", label: "Scale" }
|
|
214
|
+
],
|
|
215
|
+
value: m,
|
|
216
|
+
onChange: (s) => u(String(s))
|
|
217
|
+
}
|
|
218
|
+
) })
|
|
219
|
+
}
|
|
220
|
+
),
|
|
221
|
+
/* @__PURE__ */ l(f, { componentName: "RadioGroup" }),
|
|
222
|
+
/* @__PURE__ */ l(e, { className: "overflow-hidden", children: /* @__PURE__ */ l(t, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ l("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l(
|
|
223
|
+
G,
|
|
224
|
+
{
|
|
225
|
+
language: "typescript",
|
|
226
|
+
code: `import { RadioGroup } from '@e-burgos/tucu-ui';
|
|
227
|
+
|
|
228
|
+
const options = [
|
|
229
|
+
{ value: 'male', label: 'Male' },
|
|
230
|
+
{ value: 'female', label: 'Female' },
|
|
231
|
+
{ value: 'other', label: 'Other' },
|
|
232
|
+
];
|
|
233
|
+
|
|
234
|
+
<RadioGroup
|
|
235
|
+
label="Gender"
|
|
236
|
+
options={options}
|
|
237
|
+
value={value}
|
|
238
|
+
onChange={(value) => setValue(value)}
|
|
239
|
+
/>
|
|
240
|
+
|
|
241
|
+
// Variants
|
|
242
|
+
<RadioGroup label="Ghost" variant="ghost" options={options} />
|
|
243
|
+
<RadioGroup label="Solid" variant="solid" options={options} />
|
|
244
|
+
<RadioGroup label="Transparent" variant="transparent" options={options} />
|
|
245
|
+
|
|
246
|
+
// Colors
|
|
247
|
+
<RadioGroup label="Primary" color="primary" options={options} />
|
|
248
|
+
<RadioGroup label="Secondary" color="secondary" options={options} />
|
|
249
|
+
<RadioGroup label="Danger" color="danger" options={options} />
|
|
250
|
+
<RadioGroup label="Info" color="info" options={options} />
|
|
251
|
+
<RadioGroup label="Success" color="success" options={options} />
|
|
252
|
+
<RadioGroup label="Warning" color="warning" options={options} />
|
|
253
|
+
|
|
254
|
+
// Sizes
|
|
255
|
+
<RadioGroup label="Small" size="sm" options={options} />
|
|
256
|
+
<RadioGroup label="Medium" size="md" options={options} />
|
|
257
|
+
<RadioGroup label="Large" size="lg" options={options} />
|
|
258
|
+
<RadioGroup label="Extra Large" size="xl" options={options} />
|
|
259
|
+
|
|
260
|
+
// Layout
|
|
261
|
+
<RadioGroup label="Horizontal" direction="horizontal" options={options} />
|
|
262
|
+
<RadioGroup label="Vertical" direction="vertical" options={options} />`
|
|
263
|
+
}
|
|
264
|
+
) }) }) })
|
|
265
|
+
] });
|
|
266
|
+
};
|
|
267
|
+
export {
|
|
268
|
+
P as default
|
|
269
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),i=require("react"),e=require("../index-DMs_SmPq.js"),u=require("lucide-react");require("react-router-dom");require("react-dom");const m=()=>{const[s,n]=i.useState(""),[t,d]=i.useState("starter"),p=[{label:"Primary",color:"primary"},{label:"Secondary",color:"secondary"},{label:"Danger",color:"danger"},{label:"Info",color:"info"},{label:"Success",color:"success"},{label:"Warning",color:"warning"}],c=[{label:"Small",size:"sm"},{label:"Medium",size:"md"},{label:"Large",size:"lg"},{label:"Extra Large",size:"xl"}],r=[{value:"male",label:"Male"},{value:"female",label:"Female"},{value:"other",label:"Other"}];return a.jsxs(a.Fragment,{children:[a.jsx(e.HeroCard,{title:"RadioGroup",description:"A group of radio buttons for selecting one option from multiple choices.",icon:a.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-indigo-500 via-purple-500 to-pink-500 rounded-full flex items-center justify-center shadow-lg border border-indigo-500/50",children:a.jsx(u.CircleDot,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Basic RadioGroup"}),a.jsx(e.RadioGroup,{label:"Gender",options:r,value:s,onChange:l=>n(l)})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),a.jsx(e.RadioGroup,{label:"Size",helperText:"Select your preferred size",options:[{value:"small",label:"Small"},{value:"medium",label:"Medium"},{value:"large",label:"Large"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),a.jsx(e.RadioGroup,{label:"Priority",error:"Please select a priority",options:[{value:"low",label:"Low"},{value:"high",label:"High"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),a.jsx(e.RadioGroup,{label:"Status",disabled:!0,options:[{value:"active",label:"Active"},{value:"inactive",label:"Inactive"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Horizontal Layout"}),a.jsx(e.RadioGroup,{label:"Direction",direction:"horizontal",options:[{value:"vertical",label:"Vertical"},{value:"horizontal",label:"Horizontal"}]})]})]})})})}),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:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),a.jsx(e.RadioGroup,{label:"Ghost Variant",variant:"ghost",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),a.jsx(e.RadioGroup,{label:"Solid Variant",variant:"solid",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),a.jsx(e.RadioGroup,{label:"Transparent Variant",variant:"transparent",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Colors",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3",children:p.map(({label:l,color:o})=>a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:l}),a.jsx(e.RadioGroup,{label:`${l} Group`,color:o,options:r})]},o))})})})}),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.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-4",children:c.map(({label:l,size:o})=>a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:l}),a.jsx(e.RadioGroup,{label:`${l} Group`,size:o,options:r})]},o))})})})}),a.jsx(e.PropPlayground,{componentName:"RadioGroup",defaultValues:{label:"Preview RadioGroup",variant:"ghost",color:"primary",size:"md",labelPlacement:"end",disabled:!1,helperText:"",error:"",direction:"vertical",gap:"md"},includeProps:["label","variant","color","size","labelPlacement","disabled","helperText","error","direction","gap"],excludeProps:["options","value","defaultValue","children","onChange"],children:l=>a.jsx("div",{className:"w-full max-w-lg",children:a.jsx(e.RadioGroup,{...l,options:[{value:"starter",label:"Starter"},{value:"growth",label:"Growth"},{value:"scale",label:"Scale"}],value:t,onChange:o=>d(String(o))})})}),a.jsx(e.AutoPropsTable,{componentName:"RadioGroup"}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.CodeBlock,{language:"typescript",code:`import { RadioGroup } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
const options = [
|
|
4
|
+
{ value: 'male', label: 'Male' },
|
|
5
|
+
{ value: 'female', label: 'Female' },
|
|
6
|
+
{ value: 'other', label: 'Other' },
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
<RadioGroup
|
|
10
|
+
label="Gender"
|
|
11
|
+
options={options}
|
|
12
|
+
value={value}
|
|
13
|
+
onChange={(value) => setValue(value)}
|
|
14
|
+
/>
|
|
15
|
+
|
|
16
|
+
// Variants
|
|
17
|
+
<RadioGroup label="Ghost" variant="ghost" options={options} />
|
|
18
|
+
<RadioGroup label="Solid" variant="solid" options={options} />
|
|
19
|
+
<RadioGroup label="Transparent" variant="transparent" options={options} />
|
|
20
|
+
|
|
21
|
+
// Colors
|
|
22
|
+
<RadioGroup label="Primary" color="primary" options={options} />
|
|
23
|
+
<RadioGroup label="Secondary" color="secondary" options={options} />
|
|
24
|
+
<RadioGroup label="Danger" color="danger" options={options} />
|
|
25
|
+
<RadioGroup label="Info" color="info" options={options} />
|
|
26
|
+
<RadioGroup label="Success" color="success" options={options} />
|
|
27
|
+
<RadioGroup label="Warning" color="warning" options={options} />
|
|
28
|
+
|
|
29
|
+
// Sizes
|
|
30
|
+
<RadioGroup label="Small" size="sm" options={options} />
|
|
31
|
+
<RadioGroup label="Medium" size="md" options={options} />
|
|
32
|
+
<RadioGroup label="Large" size="lg" options={options} />
|
|
33
|
+
<RadioGroup label="Extra Large" size="xl" options={options} />
|
|
34
|
+
|
|
35
|
+
// Layout
|
|
36
|
+
<RadioGroup label="Horizontal" direction="horizontal" options={options} />
|
|
37
|
+
<RadioGroup label="Vertical" direction="vertical" options={options} />`})})})})]})};exports.default=m;
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { jsxs as i, Fragment as p, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useState as g } from "react";
|
|
3
|
+
import { H as v, C as l, a as d, T as o, s as r, P as N, A as f, c as R } from "../index-19KsCnyX.js";
|
|
4
|
+
import { Circle as w } from "lucide-react";
|
|
5
|
+
import "react-router-dom";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const V = () => {
|
|
8
|
+
const [c, n] = g(""), [m, h] = g("a"), b = [
|
|
9
|
+
{ label: "Primary", color: "primary" },
|
|
10
|
+
{ label: "Secondary", color: "secondary" },
|
|
11
|
+
{ label: "Danger", color: "danger" },
|
|
12
|
+
{ label: "Info", color: "info" },
|
|
13
|
+
{ label: "Success", color: "success" },
|
|
14
|
+
{ label: "Warning", color: "warning" }
|
|
15
|
+
], u = [
|
|
16
|
+
{ label: "Small", size: "sm" },
|
|
17
|
+
{ label: "Medium", size: "md" },
|
|
18
|
+
{ label: "Large", size: "lg" },
|
|
19
|
+
{ label: "Extra Large", size: "xl" }
|
|
20
|
+
];
|
|
21
|
+
return /* @__PURE__ */ i(p, { children: [
|
|
22
|
+
/* @__PURE__ */ a(
|
|
23
|
+
v,
|
|
24
|
+
{
|
|
25
|
+
title: "Radio",
|
|
26
|
+
description: "A single radio button component for binary choices.",
|
|
27
|
+
icon: /* @__PURE__ */ a("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-violet-500 via-purple-500 to-fuchsia-500 rounded-full flex items-center justify-center shadow-lg border border-violet-500/50", children: /* @__PURE__ */ a(w, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ a(l, { className: "overflow-hidden", children: /* @__PURE__ */ a(d, { title: "Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ i("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
31
|
+
/* @__PURE__ */ i(l, { className: "p-4", children: [
|
|
32
|
+
/* @__PURE__ */ a(o, { tag: "h5", className: "mb-3", children: "Basic Radio" }),
|
|
33
|
+
/* @__PURE__ */ a(
|
|
34
|
+
r,
|
|
35
|
+
{
|
|
36
|
+
label: "Option 1",
|
|
37
|
+
value: "option1",
|
|
38
|
+
checked: c === "option1",
|
|
39
|
+
onChange: (e) => n(e.target.value)
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ i(l, { className: "p-4", children: [
|
|
44
|
+
/* @__PURE__ */ a(o, { tag: "h5", className: "mb-3", children: "Disabled" }),
|
|
45
|
+
/* @__PURE__ */ a(r, { label: "Disabled option", value: "disabled", disabled: !0 })
|
|
46
|
+
] })
|
|
47
|
+
] }) }) }) }),
|
|
48
|
+
/* @__PURE__ */ a(l, { className: "overflow-hidden", children: /* @__PURE__ */ a(d, { title: "Variants", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ i("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [
|
|
49
|
+
/* @__PURE__ */ i(l, { className: "p-4", children: [
|
|
50
|
+
/* @__PURE__ */ a(o, { tag: "h5", className: "mb-3", children: "Ghost (default)" }),
|
|
51
|
+
/* @__PURE__ */ a(
|
|
52
|
+
r,
|
|
53
|
+
{
|
|
54
|
+
label: "Ghost Variant",
|
|
55
|
+
value: "ghost",
|
|
56
|
+
variant: "ghost",
|
|
57
|
+
checked: c === "ghost",
|
|
58
|
+
onChange: (e) => n(e.target.value)
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ i(l, { className: "p-4", children: [
|
|
63
|
+
/* @__PURE__ */ a(o, { tag: "h5", className: "mb-3", children: "Solid" }),
|
|
64
|
+
/* @__PURE__ */ a(
|
|
65
|
+
r,
|
|
66
|
+
{
|
|
67
|
+
label: "Solid Variant",
|
|
68
|
+
value: "solid",
|
|
69
|
+
variant: "solid",
|
|
70
|
+
checked: c === "solid",
|
|
71
|
+
onChange: (e) => n(e.target.value)
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
] }),
|
|
75
|
+
/* @__PURE__ */ i(l, { className: "p-4", children: [
|
|
76
|
+
/* @__PURE__ */ a(o, { tag: "h5", className: "mb-3", children: "Transparent" }),
|
|
77
|
+
/* @__PURE__ */ a(
|
|
78
|
+
r,
|
|
79
|
+
{
|
|
80
|
+
label: "Transparent Variant",
|
|
81
|
+
value: "transparent",
|
|
82
|
+
variant: "transparent",
|
|
83
|
+
checked: c === "transparent",
|
|
84
|
+
onChange: (e) => n(e.target.value)
|
|
85
|
+
}
|
|
86
|
+
)
|
|
87
|
+
] })
|
|
88
|
+
] }) }) }) }),
|
|
89
|
+
/* @__PURE__ */ a(l, { className: "overflow-hidden", children: /* @__PURE__ */ a(d, { title: "Colors", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3", children: b.map(({ label: e, color: s }) => /* @__PURE__ */ i(l, { className: "p-4", children: [
|
|
90
|
+
/* @__PURE__ */ a(o, { tag: "h5", className: "mb-3", children: e }),
|
|
91
|
+
/* @__PURE__ */ a(r, { label: `${e} Radio`, value: s, color: s })
|
|
92
|
+
] }, s)) }) }) }) }),
|
|
93
|
+
/* @__PURE__ */ a(l, { className: "overflow-hidden", children: /* @__PURE__ */ a(d, { title: "Sizes", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-4", children: u.map(({ label: e, size: s }) => /* @__PURE__ */ i(l, { className: "p-4", children: [
|
|
94
|
+
/* @__PURE__ */ a(o, { tag: "h5", className: "mb-3", children: e }),
|
|
95
|
+
/* @__PURE__ */ a(r, { label: `${e} Radio`, value: s, size: s })
|
|
96
|
+
] }, s)) }) }) }) }),
|
|
97
|
+
/* @__PURE__ */ a(
|
|
98
|
+
N,
|
|
99
|
+
{
|
|
100
|
+
componentName: "Radio",
|
|
101
|
+
defaultValues: {
|
|
102
|
+
label: "Preview Radio",
|
|
103
|
+
variant: "ghost",
|
|
104
|
+
color: "primary",
|
|
105
|
+
size: "md",
|
|
106
|
+
disabled: !1,
|
|
107
|
+
labelPlacement: "end"
|
|
108
|
+
},
|
|
109
|
+
includeProps: [
|
|
110
|
+
"label",
|
|
111
|
+
"variant",
|
|
112
|
+
"color",
|
|
113
|
+
"size",
|
|
114
|
+
"disabled",
|
|
115
|
+
"labelPlacement"
|
|
116
|
+
],
|
|
117
|
+
excludeProps: ["checked", "onChange", "value"],
|
|
118
|
+
children: (e) => {
|
|
119
|
+
const s = typeof e.label == "string" && e.label.length > 0 ? e.label : "Preview Radio";
|
|
120
|
+
return /* @__PURE__ */ i("div", { className: "space-y-3", children: [
|
|
121
|
+
/* @__PURE__ */ a(
|
|
122
|
+
r,
|
|
123
|
+
{
|
|
124
|
+
...e,
|
|
125
|
+
label: `${s} A`,
|
|
126
|
+
value: "a",
|
|
127
|
+
checked: m === "a",
|
|
128
|
+
onChange: (t) => h(t.target.value)
|
|
129
|
+
}
|
|
130
|
+
),
|
|
131
|
+
/* @__PURE__ */ a(
|
|
132
|
+
r,
|
|
133
|
+
{
|
|
134
|
+
...e,
|
|
135
|
+
label: `${s} B`,
|
|
136
|
+
value: "b",
|
|
137
|
+
checked: m === "b",
|
|
138
|
+
onChange: (t) => h(t.target.value)
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
] });
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
),
|
|
145
|
+
/* @__PURE__ */ a(f, { componentName: "Radio" }),
|
|
146
|
+
/* @__PURE__ */ a(l, { className: "overflow-hidden", children: /* @__PURE__ */ a(d, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a(
|
|
147
|
+
R,
|
|
148
|
+
{
|
|
149
|
+
language: "tsx",
|
|
150
|
+
code: `import { Radio } from '@e-burgos/tucu-ui';
|
|
151
|
+
|
|
152
|
+
<Radio
|
|
153
|
+
label="Option 1"
|
|
154
|
+
value="option1"
|
|
155
|
+
checked={value === 'option1'}
|
|
156
|
+
onChange={(e) => setValue(e.target.value)}
|
|
157
|
+
/>
|
|
158
|
+
|
|
159
|
+
// Variants
|
|
160
|
+
<Radio label="Ghost" variant="ghost" value="ghost" />
|
|
161
|
+
<Radio label="Solid" variant="solid" value="solid" />
|
|
162
|
+
<Radio label="Transparent" variant="transparent" value="transparent" />
|
|
163
|
+
|
|
164
|
+
// Colors
|
|
165
|
+
<Radio label="Primary" color="primary" />
|
|
166
|
+
<Radio label="Secondary" color="secondary" />
|
|
167
|
+
<Radio label="Danger" color="danger" />
|
|
168
|
+
<Radio label="Info" color="info" />
|
|
169
|
+
<Radio label="Success" color="success" />
|
|
170
|
+
<Radio label="Warning" color="warning" />
|
|
171
|
+
|
|
172
|
+
// Sizes
|
|
173
|
+
<Radio label="Small" size="sm" />
|
|
174
|
+
<Radio label="Medium" size="md" />
|
|
175
|
+
<Radio label="Large" size="lg" />
|
|
176
|
+
<Radio label="Extra Large" size="xl" />`
|
|
177
|
+
}
|
|
178
|
+
) }) }) })
|
|
179
|
+
] });
|
|
180
|
+
};
|
|
181
|
+
export {
|
|
182
|
+
V as default
|
|
183
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),t=require("react"),e=require("../index-DMs_SmPq.js"),h=require("lucide-react");require("react-router-dom");require("react-dom");const g=()=>{const[r,i]=t.useState(""),[d,n]=t.useState("a"),c=[{label:"Primary",color:"primary"},{label:"Secondary",color:"secondary"},{label:"Danger",color:"danger"},{label:"Info",color:"info"},{label:"Success",color:"success"},{label:"Warning",color:"warning"}],m=[{label:"Small",size:"sm"},{label:"Medium",size:"md"},{label:"Large",size:"lg"},{label:"Extra Large",size:"xl"}];return a.jsxs(a.Fragment,{children:[a.jsx(e.HeroCard,{title:"Radio",description:"A single radio button component for binary choices.",icon:a.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-violet-500 via-purple-500 to-fuchsia-500 rounded-full flex items-center justify-center shadow-lg border border-violet-500/50",children:a.jsx(h.Circle,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Basic Radio"}),a.jsx(e.Radio,{label:"Option 1",value:"option1",checked:r==="option1",onChange:l=>i(l.target.value)})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),a.jsx(e.Radio,{label:"Disabled option",value:"disabled",disabled:!0})]})]})})})}),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:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),a.jsx(e.Radio,{label:"Ghost Variant",value:"ghost",variant:"ghost",checked:r==="ghost",onChange:l=>i(l.target.value)})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),a.jsx(e.Radio,{label:"Solid Variant",value:"solid",variant:"solid",checked:r==="solid",onChange:l=>i(l.target.value)})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),a.jsx(e.Radio,{label:"Transparent Variant",value:"transparent",variant:"transparent",checked:r==="transparent",onChange:l=>i(l.target.value)})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Colors",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3",children:c.map(({label:l,color:s})=>a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:l}),a.jsx(e.Radio,{label:`${l} Radio`,value:s,color:s})]},s))})})})}),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.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-4",children:m.map(({label:l,size:s})=>a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:l}),a.jsx(e.Radio,{label:`${l} Radio`,value:s,size:s})]},s))})})})}),a.jsx(e.PropPlayground,{componentName:"Radio",defaultValues:{label:"Preview Radio",variant:"ghost",color:"primary",size:"md",disabled:!1,labelPlacement:"end"},includeProps:["label","variant","color","size","disabled","labelPlacement"],excludeProps:["checked","onChange","value"],children:l=>{const s=typeof l.label=="string"&&l.label.length>0?l.label:"Preview Radio";return a.jsxs("div",{className:"space-y-3",children:[a.jsx(e.Radio,{...l,label:`${s} A`,value:"a",checked:d==="a",onChange:o=>n(o.target.value)}),a.jsx(e.Radio,{...l,label:`${s} B`,value:"b",checked:d==="b",onChange:o=>n(o.target.value)})]})}}),a.jsx(e.AutoPropsTable,{componentName:"Radio"}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Example",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 { Radio } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
<Radio
|
|
4
|
+
label="Option 1"
|
|
5
|
+
value="option1"
|
|
6
|
+
checked={value === 'option1'}
|
|
7
|
+
onChange={(e) => setValue(e.target.value)}
|
|
8
|
+
/>
|
|
9
|
+
|
|
10
|
+
// Variants
|
|
11
|
+
<Radio label="Ghost" variant="ghost" value="ghost" />
|
|
12
|
+
<Radio label="Solid" variant="solid" value="solid" />
|
|
13
|
+
<Radio label="Transparent" variant="transparent" value="transparent" />
|
|
14
|
+
|
|
15
|
+
// Colors
|
|
16
|
+
<Radio label="Primary" color="primary" />
|
|
17
|
+
<Radio label="Secondary" color="secondary" />
|
|
18
|
+
<Radio label="Danger" color="danger" />
|
|
19
|
+
<Radio label="Info" color="info" />
|
|
20
|
+
<Radio label="Success" color="success" />
|
|
21
|
+
<Radio label="Warning" color="warning" />
|
|
22
|
+
|
|
23
|
+
// Sizes
|
|
24
|
+
<Radio label="Small" size="sm" />
|
|
25
|
+
<Radio label="Medium" size="md" />
|
|
26
|
+
<Radio label="Large" size="lg" />
|
|
27
|
+
<Radio label="Extra Large" size="xl" />`})})})})]})};exports.default=g;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "lucide-react";
|
|
2
|
+
import { H as h, C as n, a as o, T as t, au as l, P as d, A as c, c as p } from "../index-19KsCnyX.js";
|
|
3
|
+
import { Eye as m } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
7
|
+
const x = () => {
|
|
8
8
|
const i = /* @__PURE__ */ a("div", { className: "space-y-2", children: [
|
|
9
9
|
/* @__PURE__ */ e(t, { tag: "p", children: "This is a long piece of content that will be collapsed by default." }),
|
|
10
10
|
/* @__PURE__ */ e(t, { tag: "p", children: 'When the content exceeds the default height, a "Show More" button will appear.' }),
|
|
@@ -13,17 +13,14 @@ const f = () => {
|
|
|
13
13
|
/* @__PURE__ */ e(t, { tag: "p", children: "This is useful for displaying long descriptions, articles, or any content that might be too long for the initial view." })
|
|
14
14
|
] });
|
|
15
15
|
return /* @__PURE__ */ a(r, { children: [
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
)
|
|
26
|
-
] }),
|
|
16
|
+
/* @__PURE__ */ e(
|
|
17
|
+
h,
|
|
18
|
+
{
|
|
19
|
+
title: "RevealContent",
|
|
20
|
+
description: 'A component that automatically collapses long content and provides a "Show More" / "Show Less" button.',
|
|
21
|
+
icon: /* @__PURE__ */ e("div", { className: "w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-sky-500 to-blue-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(m, { className: "w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg" }) })
|
|
22
|
+
}
|
|
23
|
+
),
|
|
27
24
|
/* @__PURE__ */ e(n, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "space-y-4", children: [
|
|
28
25
|
/* @__PURE__ */ a(n, { className: "p-4", children: [
|
|
29
26
|
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Default Height 100px" }),
|
|
@@ -35,7 +32,7 @@ const f = () => {
|
|
|
35
32
|
] })
|
|
36
33
|
] }) }) }) }),
|
|
37
34
|
/* @__PURE__ */ e(
|
|
38
|
-
|
|
35
|
+
d,
|
|
39
36
|
{
|
|
40
37
|
componentName: "RevealContent",
|
|
41
38
|
defaultValues: { defaultHeight: 100 },
|
|
@@ -50,7 +47,7 @@ const f = () => {
|
|
|
50
47
|
),
|
|
51
48
|
/* @__PURE__ */ e(c, { componentName: "RevealContent" }),
|
|
52
49
|
/* @__PURE__ */ e(n, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
53
|
-
|
|
50
|
+
p,
|
|
54
51
|
{
|
|
55
52
|
language: "tsx",
|
|
56
53
|
code: `import { RevealContent, Typography } from '@e-burgos/tucu-ui';
|
|
@@ -79,5 +76,5 @@ const f = () => {
|
|
|
79
76
|
] });
|
|
80
77
|
};
|
|
81
78
|
export {
|
|
82
|
-
|
|
79
|
+
x as default
|
|
83
80
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DMs_SmPq.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const a=e.jsxs("div",{className:"space-y-2",children:[e.jsx(t.Typography,{tag:"p",children:"This is a long piece of content that will be collapsed by default."}),e.jsx(t.Typography,{tag:"p",children:'When the content exceeds the default height, a "Show More" button will appear.'}),e.jsx(t.Typography,{tag:"p",children:"Clicking the button will expand the content to show everything."}),e.jsx(t.Typography,{tag:"p",children:'You can then click "Show Less" to collapse it back to the default height.'}),e.jsx(t.Typography,{tag:"p",children:"This is useful for displaying long descriptions, articles, or any content that might be too long for the initial view."})]});return e.jsxs(e.Fragment,{children:[e.jsx(t.HeroCard,{title:"RevealContent",description:'A component that automatically collapses long content and provides a "Show More" / "Show Less" button.',icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-sky-500 to-blue-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(s.Eye,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(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:"Default Height 100px"}),e.jsx(t.RevealContent,{defaultHeight:100,children:a})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Default Height 150px"}),e.jsx(t.RevealContent,{defaultHeight:150,children:a})]})]})})})}),e.jsx(t.PropPlayground,{componentName:"RevealContent",defaultValues:{defaultHeight:100},excludeProps:[],children:n=>e.jsx(t.RevealContent,{...n,children:e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"This is the first paragraph of content that is initially visible."}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"This second paragraph may be hidden depending on the defaultHeight value."}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"This third paragraph is likely hidden and revealed when expanded."}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"And here is even more content to demonstrate the reveal functionality."})]})})}),e.jsx(t.AutoPropsTable,{componentName:"RevealContent"}),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 { RevealContent, Typography } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
// Basic usage
|
|
4
|
+
<RevealContent defaultHeight={100}>
|
|
5
|
+
<div>
|
|
6
|
+
<Typography tag="p">Long content here...</Typography>
|
|
7
|
+
<Typography tag="p">More content...</Typography>
|
|
8
|
+
</div>
|
|
9
|
+
</RevealContent>
|
|
10
|
+
|
|
11
|
+
// With custom height
|
|
12
|
+
<RevealContent defaultHeight={150}>
|
|
13
|
+
<div>
|
|
14
|
+
{/* Your long content */}
|
|
15
|
+
</div>
|
|
16
|
+
</RevealContent>
|
|
17
|
+
|
|
18
|
+
// The component automatically:
|
|
19
|
+
// - Shows "Show More" if content exceeds defaultHeight
|
|
20
|
+
// - Shows "Show Less" when expanded
|
|
21
|
+
// - Hides button if content is shorter than defaultHeight`})})})})]})};exports.default=l;
|