@e-burgos/tucu-ui 1.5.0 → 2.0.0
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/{APIReferenceSection-CHFWh_o7.mjs → APIReferenceSection-BWjvmObc.mjs} +1 -1
- package/{APIReferenceSection-DluVuy7j.js → APIReferenceSection-BYpmlTa1.js} +1 -1
- package/{ActiveLinkSection-6ybcGGt2.mjs → ActiveLinkSection-QE4rt7E7.mjs} +1 -1
- package/{ActiveLinkSection-eR2Tdsul.js → ActiveLinkSection-koQfqiWT.js} +1 -1
- package/{AdvancedColorSystemSection-DKMWh-a_.js → AdvancedColorSystemSection-BMjT0GS3.js} +1 -1
- package/{AdvancedColorSystemSection-B_8HoiQ3.mjs → AdvancedColorSystemSection-Cm3q7pci.mjs} +1 -1
- package/{AdvancedFeaturesSection-DpTDCRTm.js → AdvancedFeaturesSection-BvQzMRC_.js} +1 -1
- package/{AdvancedFeaturesSection-q8VXmitJ.mjs → AdvancedFeaturesSection-CsHt-5rZ.mjs} +1 -1
- package/{AdvancedFeaturesSection-DbPXJd4H.js → AdvancedFeaturesSection-UC1uVDPQ.js} +1 -1
- package/{AdvancedFeaturesSection-sL-_vRo2.mjs → AdvancedFeaturesSection-o4D1pf9b.mjs} +1 -1
- package/{AlertSection-Dn6NjQDr.mjs → AlertSection-DPxTJhXM.mjs} +1 -1
- package/{AlertSection-Bqcg-w-7.js → AlertSection-Di1Vmdlp.js} +1 -1
- package/{AnchorLinkSection-B5z9BGZb.mjs → AnchorLinkSection-Ce1TtPg5.mjs} +1 -1
- package/{AnchorLinkSection-3cpqAe_7.js → AnchorLinkSection-dexXCWm0.js} +1 -1
- package/{ArchitecturalPatternsComparisonSection-D7aRdQjp.mjs → ArchitecturalPatternsComparisonSection-BGoc7LRz.mjs} +1 -1
- package/{ArchitecturalPatternsComparisonSection-D1lgF9Qq.js → ArchitecturalPatternsComparisonSection-bFhTZY--.js} +1 -1
- package/{ArchitectureOverviewSection-N-DTRCmA.mjs → ArchitectureOverviewSection-0kw6rJQn.mjs} +1 -1
- package/{ArchitectureOverviewSection-CI-HqKmP.js → ArchitectureOverviewSection-DI3j5QrY.js} +1 -1
- package/{AuthorCardSection-q-e7Fvih.js → AuthorCardSection-C9nyTm-Y.js} +1 -1
- package/{AuthorCardSection-ejoMkFT6.mjs → AuthorCardSection-CdrGEAlv.mjs} +1 -1
- package/{AvatarSection-CYIhQCW7.js → AvatarSection-DurCy8Tv.js} +1 -1
- package/{AvatarSection-CxQ9I8LE.mjs → AvatarSection-w5aVByxo.mjs} +1 -1
- package/{BadgeSection-BYDufusc.mjs → BadgeSection-BBrQIp_J.mjs} +1 -1
- package/{BadgeSection-kYu8t7T2.js → BadgeSection-C18_hgvN.js} +1 -1
- package/{BasicTableSection-QXvy76bx.js → BasicTableSection-CRoBEEqA.js} +1 -1
- package/{BasicTableSection-B3eoFQgO.mjs → BasicTableSection-CV_O4PiF.mjs} +1 -1
- package/{BasicUsageSection-Dk9S31nn.js → BasicUsageSection-BNMeKpps.js} +1 -1
- package/{BasicUsageSection-gHN131UX.mjs → BasicUsageSection-uA18k0GU.mjs} +1 -1
- package/{BestPracticesSection-Rin8bHTr.js → BestPracticesSection-B-JPz0Dc.js} +1 -1
- package/{BestPracticesSection-C-4JCVk8.mjs → BestPracticesSection-B9z8NSkq.mjs} +1 -1
- package/{BestPracticesSection-vTl1Ddip.mjs → BestPracticesSection-BATlfVaQ.mjs} +1 -1
- package/{BestPracticesSection-WJpORyLr.mjs → BestPracticesSection-BDukov7c.mjs} +1 -1
- package/{BestPracticesSection-NnTfU37k.mjs → BestPracticesSection-BWkl5DsH.mjs} +1 -1
- package/{BestPracticesSection-B-5IaVUl.mjs → BestPracticesSection-BbhipFte.mjs} +1 -1
- package/{BestPracticesSection-DTvZOXjW.js → BestPracticesSection-Bp-_tC8C.js} +1 -1
- package/{BestPracticesSection-bLuG1Luj.js → BestPracticesSection-CEu4bNZE.js} +1 -1
- package/{BestPracticesSection-CgYDQZ08.js → BestPracticesSection-CYtEiufQ.js} +1 -1
- package/{BestPracticesSection-B-x2dv0_.js → BestPracticesSection-CaE-0BTV.js} +1 -1
- package/{BestPracticesSection-CHiBf9j4.js → BestPracticesSection-CdY0wZsv.js} +1 -1
- package/{BestPracticesSection-CYYODLWD.mjs → BestPracticesSection-CoE_Xgj2.mjs} +1 -1
- package/{BestPracticesSection-DgzVoetG.js → BestPracticesSection-DN9K2d3_.js} +1 -1
- package/{BestPracticesSection-Csw9FmwN.mjs → BestPracticesSection-n_GJKuXp.mjs} +1 -1
- package/{BorderRadiusSection-Bqpjgp5K.js → BorderRadiusSection-BqRzkDYG.js} +1 -1
- package/{BorderRadiusSection-CYOGG5iZ.mjs → BorderRadiusSection-CvnMLFCh.mjs} +1 -1
- package/{ButtonDripSection-BzblNRvl.mjs → ButtonDripSection-BLa_mdeq.mjs} +1 -1
- package/{ButtonDripSection-DRspv1Jd.js → ButtonDripSection-D62t7cNU.js} +1 -1
- package/{ButtonLoaderSection-Blhaeqm7.js → ButtonLoaderSection-BAEAsnOQ.js} +1 -1
- package/{ButtonLoaderSection-D9La-WQM.mjs → ButtonLoaderSection-dY9Ctlyf.mjs} +1 -1
- package/CHANGELOG.md +1 -1
- package/{CardContainerSection-DS5PU6Wb.mjs → CardContainerSection-Cso5x1TX.mjs} +1 -1
- package/{CardContainerSection-Cu1AzOCt.js → CardContainerSection-_OZaMbIu.js} +1 -1
- package/{CardTitleSection-ju9F8Tyy.mjs → CardTitleSection-BNmdH8MJ.mjs} +1 -1
- package/{CardTitleSection-Wh6g54mJ.js → CardTitleSection-CGnIM20t.js} +1 -1
- package/{CarouselCardsSection-BVs6FbIw.js → CarouselCardsSection-CqwkiKuv.js} +1 -1
- package/{CarouselCardsSection-BjTszCQ3.mjs → CarouselCardsSection-DJUza5iT.mjs} +1 -1
- package/{CarouselImageSection-CrvNktF1.mjs → CarouselImageSection-CoNZlkZS.mjs} +1 -1
- package/{CarouselImageSection-B_H8sVnv.js → CarouselImageSection-sUP78k0h.js} +1 -1
- package/{CarouselSection-QmSC4Fer.mjs → CarouselSection-CLso38c7.mjs} +1 -1
- package/{CarouselSection-uwwpdSwJ.js → CarouselSection-DrLjfsDL.js} +1 -1
- package/{CheckboxSection-hX15QRdY.mjs → CheckboxSection-B1Thom62.mjs} +1 -1
- package/{CheckboxSection-Dwy_YlRw.js → CheckboxSection-ClRdRrG3.js} +1 -1
- package/{CodeExamplesSection-BUH5OyaH.mjs → CodeExamplesSection-DGdE5jIe.mjs} +1 -1
- package/{CodeExamplesSection-BNqHspuA.js → CodeExamplesSection-raO1hI2K.js} +1 -1
- package/{CoinCardSection-DFEAiQGO.js → CoinCardSection-BMWMx77E.js} +1 -1
- package/{CoinCardSection-BTdqO4no.mjs → CoinCardSection-CcmSvFrb.mjs} +1 -1
- package/{CoinInfoCardSection-3FTitkuN.mjs → CoinInfoCardSection-BXKoUx90.mjs} +1 -1
- package/{CoinInfoCardSection-B7Oz1TWD.js → CoinInfoCardSection-Cg7mcq06.js} +1 -1
- package/{CoinListBoxSection-_TubrBNV.mjs → CoinListBoxSection-CUGweWcL.mjs} +1 -1
- package/{CoinListBoxSection-BaH4hZWa.js → CoinListBoxSection-DlBbVyVM.js} +1 -1
- package/{CollapseSection-CRjrWcRJ.mjs → CollapseSection-98dxj6hh.mjs} +1 -1
- package/{CollapseSection-DqNvLafS.js → CollapseSection-kmcNxPMt.js} +1 -1
- package/{CollectionCardSection-DhyQKxxm.js → CollectionCardSection-BECI5Bd7.js} +1 -1
- package/{CollectionCardSection-BGZ1mE8u.mjs → CollectionCardSection-kQBMh56J.mjs} +1 -1
- package/{CollectionSelectListSection-CK1VQ7I0.mjs → CollectionSelectListSection-DF33zicH.mjs} +1 -1
- package/{CollectionSelectListSection-CKpKD67J.js → CollectionSelectListSection-Db5SV44f.js} +1 -1
- package/{ColorCustomizationSection-aKl6PI7A.mjs → ColorCustomizationSection-Bb6emsjF.mjs} +1 -1
- package/{ColorCustomizationSection-CE36WYNY.js → ColorCustomizationSection-CoATCcOw.js} +1 -1
- package/{ColorSystemSection-Bvcs1dxh.js → ColorSystemSection-BMcNOrJZ.js} +1 -1
- package/{ColorSystemSection-7uC0hJqW.mjs → ColorSystemSection-Cb3ON86x.mjs} +1 -1
- package/{CommonErrorsSection-CFR64ylt.mjs → CommonErrorsSection-CP45i0KI.mjs} +1 -1
- package/{CommonErrorsSection-D4_FTfVZ.js → CommonErrorsSection-Q2gLNsG4.js} +1 -1
- package/{ComponentAnatomySection-CPYdBCO6.mjs → ComponentAnatomySection-Bbig6v0L.mjs} +1 -1
- package/{ComponentAnatomySection-T1qWJOin.js → ComponentAnatomySection-Bq47Shzj.js} +1 -1
- package/{ComponentStatusSection-DrPj3CJM.js → ComponentStatusSection-2PqavyCq.js} +1 -1
- package/{ComponentStatusSection-CRoITF3h.mjs → ComponentStatusSection-DJCpIv1y.mjs} +1 -1
- package/{CurrencySwapIconsSection-CxKdhIow.js → CurrencySwapIconsSection-CycYbE0J.js} +1 -1
- package/{CurrencySwapIconsSection-BH3LQuBS.mjs → CurrencySwapIconsSection-JqjAN8xl.mjs} +1 -1
- package/{CustomColorPaletteSection-B3CsPSOE.mjs → CustomColorPaletteSection-CfXiJg17.mjs} +1 -1
- package/{CustomColorPaletteSection-BtxfPGfC.js → CustomColorPaletteSection-CzjNz2Lg.js} +1 -1
- package/{CustomIconsSection-DGEzlSMX.js → CustomIconsSection-0cWmXojJ.js} +1 -1
- package/{CustomIconsSection-BgV-WAPJ.mjs → CustomIconsSection-DJMbKrH3.mjs} +1 -1
- package/{DefiAppLogoSection-Dho5mLuT.mjs → DefiAppLogoSection-D7jgArKN.mjs} +1 -1
- package/{DefiAppLogoSection-PywyZ7Ds.js → DefiAppLogoSection-alsK3oh9.js} +1 -1
- package/{DesignPrinciplesSection-BgaeCDku.mjs → DesignPrinciplesSection-CbLaXe_T.mjs} +1 -1
- package/{DesignPrinciplesSection-DnOaJYVE.js → DesignPrinciplesSection-DHN9U0MX.js} +1 -1
- package/{DrawerSection-BrAQSdGk.js → DrawerSection-C2gb1jbq.js} +1 -1
- package/{DrawerSection-BFrAtmLv.mjs → DrawerSection-CxC9PQJU.mjs} +1 -1
- package/{DynamicRoutesSection-BN90cnDy.mjs → DynamicRoutesSection-C0hcJyEO.mjs} +1 -1
- package/{DynamicRoutesSection-BF1XqRl-.js → DynamicRoutesSection-DTEL6uSr.js} +1 -1
- package/{FileInputSection-BV0_j5aJ.mjs → FileInputSection-BuwiaCIE.mjs} +1 -1
- package/{FileInputSection-CIFSCnZT.js → FileInputSection-qzkjHIPs.js} +1 -1
- package/{FileStructureSection-DQQA-vIe.js → FileStructureSection-COelsTGH.js} +1 -1
- package/{FileStructureSection-Bd08VEZK.mjs → FileStructureSection-DGFd5OvW.mjs} +1 -1
- package/{FormComponentsSection-C5NZO7yV.mjs → FormComponentsSection-Dz4NJWIU.mjs} +1 -1
- package/{FormComponentsSection-CwJntEmg.js → FormComponentsSection-jDaUkbDC.js} +1 -1
- package/{FormMethodsSection-B98UkHBv.js → FormMethodsSection-BYQ_foZq.js} +1 -1
- package/{FormMethodsSection-D58xvtsL.mjs → FormMethodsSection-vLlj8oqq.mjs} +1 -1
- package/{HamburgerSection-BUji63CO.mjs → HamburgerSection-DCyFcRlT.mjs} +1 -1
- package/{HamburgerSection-n_xmP-wn.js → HamburgerSection-jpcdZ_hA.js} +1 -1
- package/{HookCategoriesSection-GYU7Iei5.mjs → HookCategoriesSection-CxOrlkB5.mjs} +1 -1
- package/{HookCategoriesSection-DhGSTU0B.js → HookCategoriesSection-DyOM1Dtj.js} +1 -1
- package/{HookDocumentationSection-DnqLYSGK.mjs → HookDocumentationSection-CkH1P0yQ.mjs} +1 -1
- package/{HookDocumentationSection-CKJJ-w_i.js → HookDocumentationSection-b60lRPki.js} +1 -1
- package/{HookFeaturesSection-Bqg-CA71.mjs → HookFeaturesSection-CFQ-th28.mjs} +1 -1
- package/{HookFeaturesSection-Csey5UTc.js → HookFeaturesSection-CM3rSPy7.js} +1 -1
- package/{IconArchitectureSection-hhRBUg-V.mjs → IconArchitectureSection-B44gXgNP.mjs} +1 -1
- package/{IconArchitectureSection-Wv-G2b6a.js → IconArchitectureSection-DNcAfKY5.js} +1 -1
- package/{IconSizingGuideSection-Dx8mN7PX.mjs → IconSizingGuideSection-CIOX5rAk.mjs} +1 -1
- package/{IconSizingGuideSection-YB-CGtnr.js → IconSizingGuideSection-u_m129SM.js} +1 -1
- package/{IconSystemAPISection-QJWhdfpo.js → IconSystemAPISection-BTFd0SEj.js} +1 -1
- package/{IconSystemAPISection-bXrudU06.mjs → IconSystemAPISection-C5oHKJSa.mjs} +1 -1
- package/{IconSystemBenefitsSection-BwanyP3c.js → IconSystemBenefitsSection-4vjBgOcL.js} +1 -1
- package/{IconSystemBenefitsSection-DKLtXb24.mjs → IconSystemBenefitsSection-DzNHxfsx.mjs} +1 -1
- package/{ImageSection-CSmiHV0L.mjs → ImageSection-B4Egz61c.mjs} +1 -1
- package/{ImageSection-sHVjMCnz.js → ImageSection-KRwcaC7i.js} +1 -1
- package/{ImplementationExamplesSection-DfHKYrzv.mjs → ImplementationExamplesSection-B0Iyb8pc.mjs} +1 -1
- package/{ImplementationExamplesSection-DwH6OVfU.js → ImplementationExamplesSection-D3GzoJHk.js} +1 -1
- package/{ImplementationGuidelinesSection-Bj4DFmdL.mjs → ImplementationGuidelinesSection-B986S98s.mjs} +1 -1
- package/{ImplementationGuidelinesSection-DP_I_Hi1.js → ImplementationGuidelinesSection-Di6FUATm.js} +1 -1
- package/{ImplementationStatusSection-VVEoRERd.js → ImplementationStatusSection-CqAnYtcw.js} +1 -1
- package/{ImplementationStatusSection-CRYiKU5h.mjs → ImplementationStatusSection-zClYTFYV.mjs} +1 -1
- package/{ImplementedFeaturesSection-DdDpTz2-.js → ImplementedFeaturesSection-BzhXFsJc.js} +1 -1
- package/{ImplementedFeaturesSection-BMT9e9nX.mjs → ImplementedFeaturesSection-bsALbW35.mjs} +1 -1
- package/{InputSearcherSection-CY1pJ7_p.js → InputSearcherSection-DQcFOSI_.js} +1 -1
- package/{InputSearcherSection-DBshLx3e.mjs → InputSearcherSection-uyHUHUxD.mjs} +1 -1
- package/{InputSection-BsdqucRI.js → InputSection-BhZmA0wW.js} +1 -1
- package/{InputSection-Ho687ul0.mjs → InputSection-BnRWQKM5.mjs} +1 -1
- package/{KeyboardNavigationSection-PpDOGCby.mjs → KeyboardNavigationSection-BVRBWrR_.mjs} +1 -1
- package/{KeyboardNavigationSection-4iRK0ZQA.js → KeyboardNavigationSection-DkV3cH4w.js} +1 -1
- package/{LayoutPrinciplesSection-D-vccfVu.mjs → LayoutPrinciplesSection-DTVK1_Ht.mjs} +1 -1
- package/{LayoutPrinciplesSection-D9_fFAF_.js → LayoutPrinciplesSection-wdSSdypw.js} +1 -1
- package/{LayoutTypesSection-BkcFBXXg.js → LayoutTypesSection-BTUS9xIl.js} +1 -1
- package/{LayoutTypesSection-usXYbbCR.mjs → LayoutTypesSection-D4eq7w9u.mjs} +1 -1
- package/{ListContainerSection-yeYEWBZY.js → ListContainerSection-CMukx5sM.js} +1 -1
- package/{ListContainerSection-PLAbcoL1.mjs → ListContainerSection-Lq00hl5g.mjs} +1 -1
- package/{ListItemSection-Cf0jmpas.mjs → ListItemSection-CEpCtoxu.mjs} +1 -1
- package/{ListItemSection-sb6shrQt.js → ListItemSection-D3CkNixV.js} +1 -1
- package/{LiveDemoSection-cPIxcIuZ.js → LiveDemoSection-DQDdyS8_.js} +1 -1
- package/{LiveDemoSection-DEQKbTQk.mjs → LiveDemoSection-Duz-z9Az.mjs} +1 -1
- package/{LiveDemonstrationsSection-DLwejyei.js → LiveDemonstrationsSection-7OJufZVy.js} +1 -1
- package/{LiveDemonstrationsSection-0qjqbzL8.mjs → LiveDemonstrationsSection-DFRqLVsW.mjs} +1 -1
- package/{LivePriceFeedSection-DEhOelW8.js → LivePriceFeedSection-BwQbsy1e.js} +1 -1
- package/{LivePriceFeedSection-DyMixQjB.mjs → LivePriceFeedSection-CVUYaDLi.mjs} +1 -1
- package/{LoaderSection-Zl3r1AHf.js → LoaderSection-DkC3hHKp.js} +1 -1
- package/{LoaderSection-HsHhN1fT.mjs → LoaderSection-DsDLwNrN.mjs} +1 -1
- package/{LogoSection-DrzsqfB_.js → LogoSection-B_ll9gcD.js} +1 -1
- package/{LogoSection-BjaE8rJp.mjs → LogoSection-BwE_ImN2.mjs} +1 -1
- package/{LucideIconsSection-BfQQfNnw.mjs → LucideIconsSection-BQH5Dipy.mjs} +1 -1
- package/{LucideIconsSection-CFioLWY9.js → LucideIconsSection-DYNzZsEN.js} +1 -1
- package/{MFESupportSection-aHAWy-oc.js → MFESupportSection-C1rBEqCL.js} +1 -1
- package/{MFESupportSection-CfqZiAlG.mjs → MFESupportSection-CMTM8pC1.mjs} +1 -1
- package/{MenuItemsGuideSection-DtqEz3te.mjs → MenuItemsGuideSection-CFz7XSzU.mjs} +1 -1
- package/{MenuItemsGuideSection-CfkMoYWs.js → MenuItemsGuideSection-uxlCicIJ.js} +1 -1
- package/{ModalSection-DoA3JVZO.mjs → ModalSection-C27D58m_.mjs} +1 -1
- package/{ModalSection-vV4oaIXq.js → ModalSection-DkdV4fA3.js} +1 -1
- package/{NFTGridSection-DmpbDmFp.js → NFTGridSection-BtE3eC62.js} +1 -1
- package/{NFTGridSection-BiqoU8o6.mjs → NFTGridSection-DLjDwzgW.mjs} +1 -1
- package/{NestedRoutesSection-CwHxcPIB.js → NestedRoutesSection-D-oKOn0R.js} +1 -1
- package/{NestedRoutesSection-BjrHulvK.mjs → NestedRoutesSection-DeQN7AC9.mjs} +1 -1
- package/{NotificationCardSection-BTvGBUp5.js → NotificationCardSection-CDjX06Tt.js} +1 -1
- package/{NotificationCardSection-yrGz8e61.mjs → NotificationCardSection-Ct2oUuXB.mjs} +1 -1
- package/{PanelActionCardSection-DtKYzJRz.mjs → PanelActionCardSection-BgWaRFVD.mjs} +1 -1
- package/{PanelActionCardSection-De_RT7Xx.js → PanelActionCardSection-Dpkzx-FH.js} +1 -1
- package/{PanelCardSection-BwdNRgHL.js → PanelCardSection-DtwFeOlW.js} +1 -1
- package/{PanelCardSection-BhHyd_RU.mjs → PanelCardSection-g8jYQ2i1.mjs} +1 -1
- package/{ParamTabSection-DW95bROn.mjs → ParamTabSection-DEcMYPi2.mjs} +1 -1
- package/{ParamTabSection-D-64gIJ0.js → ParamTabSection-fAirqQfE.js} +1 -1
- package/{PinCodeSection-DRvKUePb.mjs → PinCodeSection-BTtSu9RK.mjs} +1 -1
- package/{PinCodeSection-DLxT1qlT.js → PinCodeSection-HOx7RS53.js} +1 -1
- package/{ProgressbarSection-CKbkhmQS.mjs → ProgressbarSection-C_ipN0ko.mjs} +1 -1
- package/{ProgressbarSection-CRCYjRpw.js → ProgressbarSection-Cb4de9hD.js} +1 -1
- package/README.md +72 -44
- package/{RadioGroupSection-BUWSW6uI.js → RadioGroupSection-BIMkY1F0.js} +1 -1
- package/{RadioGroupSection-BPp-Tp9a.mjs → RadioGroupSection-CLbIvqN6.mjs} +1 -1
- package/{RadioSection-Cl2T68su.js → RadioSection-DZD5W976.js} +1 -1
- package/{RadioSection-CSn_sr4P.mjs → RadioSection-LW7GeXAA.mjs} +1 -1
- package/{RevealContentSection-B4yEXfQY.mjs → RevealContentSection-PGiR5VJY.mjs} +1 -1
- package/{RevealContentSection-DMZRYCm2.js → RevealContentSection-kDLDHOGV.js} +1 -1
- package/{RouteConfigurationSection-DqLJ2vbf.mjs → RouteConfigurationSection-BmwVvMMw.mjs} +1 -1
- package/{RouteConfigurationSection-CoQn38dJ.js → RouteConfigurationSection-DR7u1n3x.js} +1 -1
- package/{ScrollToTopSection-DY_WQiIp.js → ScrollToTopSection-BWEgLKlr.js} +1 -1
- package/{ScrollToTopSection-bsPO6VoN.mjs → ScrollToTopSection-CXx2x8gR.mjs} +1 -1
- package/{ScrollbarSection-f9m-PsRb.js → ScrollbarSection-DsoKO-RW.js} +1 -1
- package/{ScrollbarSection-BQLoKdfQ.mjs → ScrollbarSection-Dubf9f65.mjs} +1 -1
- package/{SelectSection-BN9qlOW6.mjs → SelectSection-Btr390sY.mjs} +1 -1
- package/{SelectSection-BSY-VzxD.js → SelectSection-D85H1YXr.js} +1 -1
- package/{SettingsPanelSection-C87nsYr6.mjs → SettingsPanelSection-BCjJfaLV.mjs} +1 -1
- package/{SettingsPanelSection-Beigs8Mz.js → SettingsPanelSection-CySxJ7Tt.js} +1 -1
- package/{ShadowsSection-Bc7fTEaF.js → ShadowsSection-D0X4gGde.js} +1 -1
- package/{ShadowsSection-swFi7rcU.mjs → ShadowsSection-sQXQR0iT.mjs} +1 -1
- package/{SidebarMenuSection-Ok5nM-Gb.mjs → SidebarMenuSection-CLhinak1.mjs} +1 -1
- package/{SidebarMenuSection-CrXxweh8.js → SidebarMenuSection-D9_kKfNh.js} +1 -1
- package/{SidebarSection-DBreiJzV.js → SidebarSection-BgHwGWPt.js} +1 -1
- package/{SidebarSection-eGUICII0.mjs → SidebarSection-DUgnUh5w.mjs} +1 -1
- package/{SizingSection-BZ6K7FDU.mjs → SizingSection-B89FO3ff.mjs} +1 -1
- package/{SizingSection-B79GMG1e.js → SizingSection-Z0pVTNKq.js} +1 -1
- package/{SkeletonSection-D3-GHpIx.mjs → SkeletonSection-BdhX4Xfv.mjs} +1 -1
- package/{SkeletonSection-CCNrjbhN.js → SkeletonSection-sriDQIKQ.js} +1 -1
- package/{SpacingSystemSection-00FcQc6s.js → SpacingSystemSection-B9JXurvm.js} +1 -1
- package/{SpacingSystemSection-CPC_ueHg.mjs → SpacingSystemSection-BPW-n6rL.mjs} +1 -1
- package/{SpinnerSection-BKxNrkZS.mjs → SpinnerSection-CUdRcW4b.mjs} +1 -1
- package/{SpinnerSection-CeTSWqKn.js → SpinnerSection-D1xuIeR2.js} +1 -1
- package/{StandaloneAppSection-CL7q2RAc.mjs → StandaloneAppSection-BF1C6FEF.mjs} +1 -1
- package/{StandaloneAppSection-xt8l3Kox.js → StandaloneAppSection-fhZ8XHQq.js} +1 -1
- package/{SwitchSection-KW_y9F1U.mjs → SwitchSection-BENFMw9r.mjs} +1 -1
- package/{SwitchSection-CPHMvmxe.js → SwitchSection-wuPSVKvN.js} +1 -1
- package/{SystemOverviewSection-9jmtz2sd.mjs → SystemOverviewSection-DS9SHn0L.mjs} +1 -1
- package/{SystemOverviewSection-QYqitAxQ.js → SystemOverviewSection-HRr9gFGM.js} +1 -1
- package/{TabSection-Cytn9Eg_.js → TabSection-Cb3Fykn2.js} +1 -1
- package/{TabSection-Dt7NHmRD.mjs → TabSection-aOHyWLGr.mjs} +1 -1
- package/{TabSelectSection-C3qtM1sO.js → TabSelectSection-CaGKQfWS.js} +1 -1
- package/{TabSelectSection-CIkC-gNn.mjs → TabSelectSection-M0E_Atxn.mjs} +1 -1
- package/{TailwindConfigSection-Beh2sEXt.js → TailwindConfigSection-BreVbZy8.js} +1 -1
- package/{TailwindConfigSection-B3u_7Uj3.mjs → TailwindConfigSection-C-PDB_22.mjs} +1 -1
- package/{TestingSection-jzeFF7T4.js → TestingSection-BW3pNxaB.js} +1 -1
- package/{TestingSection-DqUsgS3A.mjs → TestingSection-BwmJOUpE.mjs} +1 -1
- package/{TextareaSection-DdF73vjR.js → TextareaSection-BfNhLRBw.js} +1 -1
- package/{TextareaSection-BC5OuD6Y.mjs → TextareaSection-kn20lUc6.mjs} +1 -1
- package/{ThemeArchitectureSection-hVs57qtQ.mjs → ThemeArchitectureSection-C7b32fMB.mjs} +1 -1
- package/{ThemeArchitectureSection-CRMTbUjE.js → ThemeArchitectureSection-C8pBxgU3.js} +1 -1
- package/{ThemeConfigurationSection-V9NL4B6w.js → ThemeConfigurationSection-HI8FyfUk.js} +1 -1
- package/{ThemeConfigurationSection-ByKwC4NV.mjs → ThemeConfigurationSection-dExOlKvV.mjs} +1 -1
- package/{ThemeHooksSection-Cq7naa3J.js → ThemeHooksSection-00QYTX0m.js} +1 -1
- package/{ThemeHooksSection-BqMaxz3M.mjs → ThemeHooksSection-lG4XldVs.mjs} +1 -1
- package/{ThemeProviderIntegrationSection-Dd4ey6yw.mjs → ThemeProviderIntegrationSection-ByuwG8qJ.mjs} +1 -1
- package/{ThemeProviderIntegrationSection-BdyKt0OG.js → ThemeProviderIntegrationSection-rB1ZigMz.js} +1 -1
- package/{ThemeProviderRequiredSection-BC0SE1oX.mjs → ThemeProviderRequiredSection-B1-gtNbe.mjs} +1 -1
- package/{ThemeProviderRequiredSection-C38NrwgR.js → ThemeProviderRequiredSection-v10DfTl0.js} +1 -1
- package/{ThemeProviderSection-DH9EOiSK.mjs → ThemeProviderSection-BFOZTXGP.mjs} +1 -1
- package/{ThemeProviderSection-IP9yGtu9.js → ThemeProviderSection-BsMcUESl.js} +1 -1
- package/{ToastSection-DMKHXDUt.mjs → ToastSection-5qocQ7cH.mjs} +1 -1
- package/{ToastSection--5jtANA4.js → ToastSection-BKsJOkbs.js} +1 -1
- package/{ToggleBarSection-sLrIdWGE.js → ToggleBarSection-Cx7gCx2L.js} +1 -1
- package/{ToggleBarSection-DFyy46ps.mjs → ToggleBarSection-KeVNyc_h.mjs} +1 -1
- package/{TopupButtonSection-D4UKj_4e.js → TopupButtonSection-BkGsoYjc.js} +1 -1
- package/{TopupButtonSection-MWCr2HgN.mjs → TopupButtonSection-DFl6wlGA.mjs} +1 -1
- package/{TransactionInfoSection-Dow-BcLX.js → TransactionInfoSection-2IX3m2mI.js} +1 -1
- package/{TransactionInfoSection-BDjeyKVu.mjs → TransactionInfoSection-DQfuXrqZ.mjs} +1 -1
- package/{TucuUiLogoSection-D33WplqP.js → TucuUiLogoSection-BHibuIVc.js} +1 -1
- package/{TucuUiLogoSection-B98FqIGR.mjs → TucuUiLogoSection-D5VLGORL.mjs} +1 -1
- package/{TypographySection-D833eiFZ.js → TypographySection-CkBNo8uk.js} +1 -1
- package/{TypographySection-BhLYx-Kc.mjs → TypographySection-DszlzyIX.mjs} +1 -1
- package/{TypographySection-CGqn0YKc.js → TypographySection-Dv7RJSzI.js} +1 -1
- package/{TypographySection-C5qZROOc.mjs → TypographySection-fYLxICoM.mjs} +1 -1
- package/{UsageExamplesSection-BYqtf6E5.mjs → UsageExamplesSection-Bs8jQesE.mjs} +1 -1
- package/{UsageExamplesSection-B_3VW7eX.js → UsageExamplesSection-DlCIZC7Y.js} +1 -1
- package/{UsingThemeSystemSection-F28_AtB_.mjs → UsingThemeSystemSection-BKh8A4-r.mjs} +1 -1
- package/{UsingThemeSystemSection-DnfcjVLJ.js → UsingThemeSystemSection-Dk5n1wP3.js} +1 -1
- package/{ValidationSystemSection-Ci83T7Q5.mjs → ValidationSystemSection-9-Sh0rkM.mjs} +1 -1
- package/{ValidationSystemSection-Dsoz_A_r.js → ValidationSystemSection-BrpnhJ2J.js} +1 -1
- package/{WCAGPrinciplesSection-DCjENTGT.js → WCAGPrinciplesSection-W_P3HWdG.js} +1 -1
- package/{WCAGPrinciplesSection-zEOESp2h.mjs → WCAGPrinciplesSection-nFfogbYI.mjs} +1 -1
- package/{index-BoEJRnmP.js → index-CjRk4ezu.js} +47 -33
- package/{index-DCf83AyI.mjs → index-Hq6IUBmn.mjs} +1340 -1226
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
A modern, comprehensive React component library built with TypeScript, Tailwind CSS v4, and designed for creating production-ready web applications. Features **automatic layout generation**, **advanced routing system** with Standalone and Micro Frontends (MFE) support, **powerful form systems** with React Hook Form, **5000+ icons**, **specialized blockchain components**, and **WCAG 2.1 AA accessibility compliance**.
|
|
4
4
|
|
|
5
|
-
## 🌟
|
|
5
|
+
## 🌟 Documentation
|
|
6
6
|
|
|
7
|
-
- **📚 [Live Documentation](https://
|
|
8
|
-
-
|
|
9
|
-
- **🔧 [Component Examples](https://main--683712ba90eaad206f988c65.chromatic.com/?path=/story/ui-components-buttons-button--default)** - See all variations and use cases
|
|
7
|
+
- **📚 [Live Documentation](https://tucu-ui.netlify.app/)** - Complete component documentation
|
|
8
|
+
- **🔧 [Component Examples](https://tucu-ui.netlify.app/components)** - See all variations and use cases
|
|
10
9
|
|
|
11
10
|
## 🚀 Key Features
|
|
12
11
|
|
|
@@ -122,11 +121,11 @@ Available color presets include: Green, Black, Blue, Red, Purple, Orange, Rose,
|
|
|
122
121
|
### 1. **Basic Component Usage**
|
|
123
122
|
|
|
124
123
|
```tsx
|
|
125
|
-
import { Button,
|
|
124
|
+
import { Button, CardContainer, Input, Alert } from '@e-burgos/tucu-ui';
|
|
126
125
|
|
|
127
126
|
function App() {
|
|
128
127
|
return (
|
|
129
|
-
<
|
|
128
|
+
<CardContainer className="p-6">
|
|
130
129
|
<h2 className="text-2xl font-bold mb-4">Welcome to Tucu UI</h2>
|
|
131
130
|
<Input placeholder="Enter your name" className="mb-4" />
|
|
132
131
|
<Button size="large" className="w-full">
|
|
@@ -135,7 +134,7 @@ function App() {
|
|
|
135
134
|
<Alert variant="success" className="mt-4">
|
|
136
135
|
You're ready to build amazing UIs!
|
|
137
136
|
</Alert>
|
|
138
|
-
</
|
|
137
|
+
</CardContainer>
|
|
139
138
|
);
|
|
140
139
|
}
|
|
141
140
|
```
|
|
@@ -150,31 +149,31 @@ import { ThemeProvider, LucideIcons } from '@e-burgos/tucu-ui';
|
|
|
150
149
|
const menuItems = [
|
|
151
150
|
{
|
|
152
151
|
name: 'Dashboard',
|
|
153
|
-
|
|
152
|
+
path: '/',
|
|
154
153
|
icon: <LucideIcons.Home />,
|
|
155
154
|
component: <DashboardPage />,
|
|
156
155
|
},
|
|
157
156
|
{
|
|
158
157
|
name: 'Analytics',
|
|
159
|
-
|
|
158
|
+
path: '/analytics',
|
|
160
159
|
icon: <LucideIcons.BarChart3 />,
|
|
161
160
|
component: <AnalyticsPage />,
|
|
162
161
|
dropdownItems: [
|
|
163
162
|
{
|
|
164
163
|
name: 'Reports',
|
|
165
|
-
|
|
164
|
+
path: '/analytics/reports',
|
|
166
165
|
component: <ReportsPage />,
|
|
167
166
|
},
|
|
168
167
|
{
|
|
169
168
|
name: 'Insights',
|
|
170
|
-
|
|
169
|
+
path: '/analytics/insights',
|
|
171
170
|
component: <InsightsPage />,
|
|
172
171
|
},
|
|
173
172
|
],
|
|
174
173
|
},
|
|
175
174
|
{
|
|
176
175
|
name: 'Settings',
|
|
177
|
-
|
|
176
|
+
path: '/settings',
|
|
178
177
|
icon: <LucideIcons.Settings />,
|
|
179
178
|
component: <SettingsPage />,
|
|
180
179
|
},
|
|
@@ -190,6 +189,9 @@ function App() {
|
|
|
190
189
|
// Theme Configuration
|
|
191
190
|
brandColor="Blue"
|
|
192
191
|
mode="light"
|
|
192
|
+
// Authentication (Required)
|
|
193
|
+
isAuthenticated={true} // Authentication state
|
|
194
|
+
loginUrl="/login" // Optional: redirect URL for unauthenticated users
|
|
193
195
|
// Optional: Override automatic route generation
|
|
194
196
|
customRoutes={<CustomRoutes />}
|
|
195
197
|
// UI Customization
|
|
@@ -234,7 +236,8 @@ function MfeApp() {
|
|
|
234
236
|
architecturalPatterns="mfe" // Activates MFE mode
|
|
235
237
|
basePath="/my-app" // Base path for the micro frontend
|
|
236
238
|
appRoutesConfig={appRoutesConfig} // Required for MFE
|
|
237
|
-
isAuthenticated={true} // Authentication state
|
|
239
|
+
isAuthenticated={true} // Authentication state (Required)
|
|
240
|
+
loginUrl="/login" // Redirect URL for unauthenticated users (Required)
|
|
238
241
|
logo={{ name: 'MFE', secondName: 'App' }}
|
|
239
242
|
showSettings
|
|
240
243
|
/>
|
|
@@ -273,6 +276,8 @@ function MfeApp() {
|
|
|
273
276
|
| ----------------------- | ------------------------------- | -------------- | ------------------------------------------------ |
|
|
274
277
|
| `architecturalPatterns` | `'standalone'` | `'standalone'` | Architectural pattern (default, can be omitted) |
|
|
275
278
|
| `menuItems` | `StandaloneAppRoutesMenuItem[]` | Required | Navigation menu items with routing configuration |
|
|
279
|
+
| `isAuthenticated` | `boolean` | Required | Authentication state for route protection |
|
|
280
|
+
| `loginUrl` | `string` | - | Optional: Redirect URL for unauthenticated users |
|
|
276
281
|
| `customRoutes` | `ReactElement<typeof Routes>` | - | Optional: Override automatic route generation |
|
|
277
282
|
| `withRouterProvider` | `boolean` | `true` | Enable automatic React Router setup |
|
|
278
283
|
|
|
@@ -283,7 +288,8 @@ function MfeApp() {
|
|
|
283
288
|
| `architecturalPatterns` | `'mfe'` | Required | Must be set to `'mfe'` to activate MFE mode |
|
|
284
289
|
| `basePath` | `string` | Required | Base path for the micro frontend (e.g., `/my-app`) |
|
|
285
290
|
| `appRoutesConfig` | `IAppRouteConfig[]` | Required | Explicit route configuration with protection |
|
|
286
|
-
| `isAuthenticated` | `boolean` |
|
|
291
|
+
| `isAuthenticated` | `boolean` | Required | Authentication state for route protection |
|
|
292
|
+
| `loginUrl` | `string` | Required | Redirect URL for unauthenticated users |
|
|
287
293
|
| `menuItems` | `AppRoutesMenuItem[]` | - | Optional: Navigation menu items (separate from routes) |
|
|
288
294
|
|
|
289
295
|
**Note:** TypeScript ensures type safety - you cannot mix Standalone and MFE props. The type system will show errors at compile time if you use incorrect props for the selected pattern.
|
|
@@ -364,9 +370,11 @@ function ThemeControls() {
|
|
|
364
370
|
```tsx
|
|
365
371
|
interface StandaloneAppRoutesMenuItem {
|
|
366
372
|
name: string; // Display name
|
|
367
|
-
|
|
373
|
+
path: string; // Navigation URL path (route path)
|
|
374
|
+
href?: string; // Optional: external link URL (if different from path)
|
|
368
375
|
icon?: React.ReactNode; // Optional icon component
|
|
369
376
|
component: JSX.Element; // Page component to render
|
|
377
|
+
isPublic?: boolean; // Whether route is publicly accessible (default: true)
|
|
370
378
|
dropdownItems?: StandaloneAppRoutesMenuItem[]; // Nested submenu items
|
|
371
379
|
hide?: boolean; // Hide from navigation (default: false)
|
|
372
380
|
onClick?: () => void; // Optional click handler
|
|
@@ -386,8 +394,11 @@ interface IAppRouteConfig extends RouteProps {
|
|
|
386
394
|
|
|
387
395
|
interface AppRoutesMenuItem {
|
|
388
396
|
name: string; // Display name (for navigation menu)
|
|
389
|
-
|
|
397
|
+
path: string; // Navigation URL path
|
|
398
|
+
href?: string; // Optional: external link URL (if different from path)
|
|
390
399
|
icon?: React.ReactNode; // Optional icon component
|
|
400
|
+
hide?: boolean; // Hide from navigation (default: false)
|
|
401
|
+
onClick?: () => void; // Optional click handler
|
|
391
402
|
// Note: component is NOT used in MFE pattern - routes are defined in appRoutesConfig
|
|
392
403
|
}
|
|
393
404
|
```
|
|
@@ -842,33 +853,43 @@ import { Carousel, CarouselCards, CarouselImage } from '@e-burgos/tucu-ui';
|
|
|
842
853
|
|
|
843
854
|
// Basic Carousel
|
|
844
855
|
<Carousel
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
autoplay
|
|
856
|
+
slidesPerView={1}
|
|
857
|
+
spaceBetween={20}
|
|
858
|
+
showNavigation
|
|
859
|
+
showPagination
|
|
860
|
+
autoplay={{ delay: 3000 }}
|
|
851
861
|
loop
|
|
852
|
-
|
|
862
|
+
>
|
|
863
|
+
<div>Slide 1</div>
|
|
864
|
+
<div>Slide 2</div>
|
|
865
|
+
<div>Slide 3</div>
|
|
866
|
+
</Carousel>
|
|
853
867
|
|
|
854
868
|
// Card Carousel
|
|
855
869
|
<CarouselCards
|
|
856
|
-
|
|
857
|
-
|
|
870
|
+
cards={[
|
|
871
|
+
{ title: 'Card 1', description: 'Description 1', content: <div>Content 1</div> },
|
|
872
|
+
{ title: 'Card 2', description: 'Description 2', content: <div>Content 2</div> },
|
|
873
|
+
]}
|
|
874
|
+
showNavigation
|
|
875
|
+
showPagination
|
|
858
876
|
/>
|
|
859
877
|
|
|
860
878
|
// Image Carousel
|
|
861
879
|
<CarouselImage
|
|
862
|
-
images={
|
|
863
|
-
|
|
880
|
+
images={[
|
|
881
|
+
{ src: '/image1.jpg', alt: 'Image 1', title: 'Title 1' },
|
|
882
|
+
{ src: '/image2.jpg', alt: 'Image 2', title: 'Title 2' },
|
|
883
|
+
]}
|
|
864
884
|
showNavigation
|
|
885
|
+
showPagination
|
|
865
886
|
/>
|
|
866
887
|
```
|
|
867
888
|
|
|
868
889
|
### **Feedback Components**
|
|
869
890
|
|
|
870
891
|
```tsx
|
|
871
|
-
import { Alert,
|
|
892
|
+
import { Alert, useToastStore } from '@e-burgos/tucu-ui';
|
|
872
893
|
|
|
873
894
|
// Alert Messages
|
|
874
895
|
<Alert variant="success" dismissible>
|
|
@@ -881,10 +902,11 @@ import { Alert, Toast, useToast } from '@e-burgos/tucu-ui';
|
|
|
881
902
|
|
|
882
903
|
// Toast Notifications
|
|
883
904
|
function ToastExample() {
|
|
884
|
-
const {
|
|
905
|
+
const { addToast } = useToastStore();
|
|
885
906
|
|
|
886
907
|
const showToast = () => {
|
|
887
|
-
|
|
908
|
+
addToast({
|
|
909
|
+
id: Date.now().toString(),
|
|
888
910
|
title: 'Success!',
|
|
889
911
|
message: 'Your profile has been updated',
|
|
890
912
|
variant: 'success',
|
|
@@ -956,7 +978,7 @@ import { SignInForm, SignUpForm, ForgetPasswordForm, ResetPinForm } from '@e-bur
|
|
|
956
978
|
// Complete authentication flow
|
|
957
979
|
function AuthPages() {
|
|
958
980
|
return (
|
|
959
|
-
<ThemeProvider layout="none" menuItems={[]}>
|
|
981
|
+
<ThemeProvider layout="none" menuItems={[]} isAuthenticated={false} loginUrl="/login">
|
|
960
982
|
<div className="min-h-screen flex items-center justify-center">
|
|
961
983
|
{/* Sign In with validation */}
|
|
962
984
|
<SignInForm forgetPasswordPath="/forgot-password" />
|
|
@@ -1023,31 +1045,31 @@ import { ThemeProvider, LucideIcons, useTheme } from '@e-burgos/tucu-ui';
|
|
|
1023
1045
|
const dashboardMenuItems = [
|
|
1024
1046
|
{
|
|
1025
1047
|
name: 'Overview',
|
|
1026
|
-
|
|
1048
|
+
path: '/',
|
|
1027
1049
|
icon: <LucideIcons.LayoutDashboard />,
|
|
1028
1050
|
component: <OverviewPage />,
|
|
1029
1051
|
},
|
|
1030
1052
|
{
|
|
1031
1053
|
name: 'Analytics',
|
|
1032
|
-
|
|
1054
|
+
path: '/analytics',
|
|
1033
1055
|
icon: <LucideIcons.BarChart3 />,
|
|
1034
1056
|
component: <AnalyticsPage />,
|
|
1035
1057
|
dropdownItems: [
|
|
1036
1058
|
{
|
|
1037
1059
|
name: 'Reports',
|
|
1038
|
-
|
|
1060
|
+
path: '/analytics/reports',
|
|
1039
1061
|
component: <ReportsPage />,
|
|
1040
1062
|
},
|
|
1041
1063
|
{
|
|
1042
1064
|
name: 'Real-time',
|
|
1043
|
-
|
|
1065
|
+
path: '/analytics/realtime',
|
|
1044
1066
|
component: <RealtimePage />,
|
|
1045
1067
|
},
|
|
1046
1068
|
],
|
|
1047
1069
|
},
|
|
1048
1070
|
{
|
|
1049
1071
|
name: 'Users',
|
|
1050
|
-
|
|
1072
|
+
path: '/users',
|
|
1051
1073
|
icon: <LucideIcons.Users />,
|
|
1052
1074
|
component: <UsersPage />,
|
|
1053
1075
|
},
|
|
@@ -1058,6 +1080,8 @@ function Dashboard() {
|
|
|
1058
1080
|
<ThemeProvider
|
|
1059
1081
|
layout="classic"
|
|
1060
1082
|
menuItems={dashboardMenuItems} // Standalone pattern (default)
|
|
1083
|
+
isAuthenticated={true}
|
|
1084
|
+
loginUrl="/login"
|
|
1061
1085
|
logo={{ name: 'Admin', secondName: 'Panel' }}
|
|
1062
1086
|
brandColor="BufusBlue"
|
|
1063
1087
|
showSettings={true}
|
|
@@ -1075,19 +1099,19 @@ import { ThemeProvider, CoinCard, LivePriceFeed, LucideIcons } from '@e-burgos/t
|
|
|
1075
1099
|
const defiMenuItems = [
|
|
1076
1100
|
{
|
|
1077
1101
|
name: 'Portfolio',
|
|
1078
|
-
|
|
1102
|
+
path: '/',
|
|
1079
1103
|
icon: <LucideIcons.Wallet />,
|
|
1080
1104
|
component: <PortfolioPage />,
|
|
1081
1105
|
},
|
|
1082
1106
|
{
|
|
1083
1107
|
name: 'Swap',
|
|
1084
|
-
|
|
1108
|
+
path: '/swap',
|
|
1085
1109
|
icon: <LucideIcons.ArrowLeftRight />,
|
|
1086
1110
|
component: <SwapPage />,
|
|
1087
1111
|
},
|
|
1088
1112
|
{
|
|
1089
1113
|
name: 'Staking',
|
|
1090
|
-
|
|
1114
|
+
path: '/staking',
|
|
1091
1115
|
icon: <LucideIcons.Coins />,
|
|
1092
1116
|
component: <StakingPage />,
|
|
1093
1117
|
},
|
|
@@ -1098,6 +1122,8 @@ function DeFiApp() {
|
|
|
1098
1122
|
<ThemeProvider
|
|
1099
1123
|
layout="minimal"
|
|
1100
1124
|
menuItems={defiMenuItems} // Standalone pattern
|
|
1125
|
+
isAuthenticated={true}
|
|
1126
|
+
loginUrl="/login"
|
|
1101
1127
|
logo={{ name: 'DeFi', secondName: 'Portfolio' }}
|
|
1102
1128
|
brandColor="Green"
|
|
1103
1129
|
rightButton={<WalletConnector />}
|
|
@@ -1141,6 +1167,7 @@ function MfeDeFiApp() {
|
|
|
1141
1167
|
basePath="/defi-app"
|
|
1142
1168
|
appRoutesConfig={appRoutesConfig}
|
|
1143
1169
|
isAuthenticated={isAuthenticated}
|
|
1170
|
+
loginUrl="/login" // Required for MFE pattern
|
|
1144
1171
|
logo={{ name: 'DeFi', secondName: 'MFE' }}
|
|
1145
1172
|
brandColor="Green"
|
|
1146
1173
|
/>
|
|
@@ -1156,19 +1183,19 @@ import { ThemeProvider, LucideIcons, Form, FormField, Input } from '@e-burgos/tu
|
|
|
1156
1183
|
const ecommerceMenuItems = [
|
|
1157
1184
|
{
|
|
1158
1185
|
name: 'Products',
|
|
1159
|
-
|
|
1186
|
+
path: '/products',
|
|
1160
1187
|
icon: <LucideIcons.Package />,
|
|
1161
1188
|
component: <ProductsPage />,
|
|
1162
1189
|
},
|
|
1163
1190
|
{
|
|
1164
1191
|
name: 'Orders',
|
|
1165
|
-
|
|
1192
|
+
path: '/orders',
|
|
1166
1193
|
icon: <LucideIcons.ShoppingCart />,
|
|
1167
1194
|
component: <OrdersPage />,
|
|
1168
1195
|
},
|
|
1169
1196
|
{
|
|
1170
1197
|
name: 'Customers',
|
|
1171
|
-
|
|
1198
|
+
path: '/customers',
|
|
1172
1199
|
icon: <LucideIcons.Users />,
|
|
1173
1200
|
component: <CustomersPage />,
|
|
1174
1201
|
},
|
|
@@ -1179,6 +1206,8 @@ function EcommerceAdmin() {
|
|
|
1179
1206
|
<ThemeProvider
|
|
1180
1207
|
layout="classic"
|
|
1181
1208
|
menuItems={ecommerceMenuItems} // Standalone pattern
|
|
1209
|
+
isAuthenticated={true}
|
|
1210
|
+
loginUrl="/login"
|
|
1182
1211
|
logo={{ name: 'Shop', secondName: 'Admin' }}
|
|
1183
1212
|
brandColor="Purple"
|
|
1184
1213
|
showSettings={true}
|
|
@@ -1315,8 +1344,7 @@ Contributions are welcome! Please:
|
|
|
1315
1344
|
|
|
1316
1345
|
## 🌐 Community & Support
|
|
1317
1346
|
|
|
1318
|
-
- **📚 [Documentation](https://
|
|
1319
|
-
- **🎨 [Storybook](https://main--683712ba90eaad206f988c65.chromatic.com/)** - Interactive component explorer
|
|
1347
|
+
- **📚 [Documentation](https://tucu-ui.netlify.app/)** - Complete guides and examples
|
|
1320
1348
|
- **🐛 [Issues](https://github.com/e-burgos/tucu-ui/issues)** - Report bugs and request features
|
|
1321
1349
|
- **💬 [Discussions](https://github.com/e-burgos/tucu-ui/discussions)** - Community support and ideas
|
|
1322
1350
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),a=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react-dom");const p=()=>{const[o,t]=d.useState(""),i=[{value:"male",label:"Male"},{value:"female",label:"Female"},{value:"other",label:"Other"}],s=[{key:"prop",label:"Prop",render:l=>e.jsx("code",{className:"text-xs text-brand",children:String(l)})},{key:"type",label:"Type",render:l=>e.jsx("code",{className:"text-xs",children:String(l)})},{key:"default",label:"Default",render:l=>{const r=String(l);return r==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:r})}},{key:"description",label:"Description"}],n=[{prop:"options",type:"{ value: string | number, label: string }[]",default:"required",description:"Array of radio options"},{prop:"value",type:"string | number",default:"-",description:"Currently selected value"},{prop:"onChange",type:"(value: string | number) => void",default:"-",description:"Callback when selection changes"},{prop:"variant",type:"'ghost' | 'solid' | 'transparent'",default:"'ghost'",description:"Visual variant of the radio buttons"},{prop:"size",type:"'sm' | 'md' | 'lg' | 'xl'",default:"'md'",description:"Size of the radio buttons"},{prop:"color",type:"'primary' | 'secondary' | 'danger' | 'info' | 'success' | 'warning'",default:"'primary'",description:"Color theme of the radio buttons"},{prop:"direction",type:"'horizontal' | 'vertical'",default:"'vertical'",description:"Layout direction of radio buttons"},{prop:"label",type:"React.ReactNode",default:"-",description:"Group label text"},{prop:"disabled",type:"boolean",default:"false",description:"Disables all radio buttons in the group"},{prop:"error",type:"string",default:"-",description:"Error message to display"},{prop:"helperText",type:"React.ReactNode",default:"-",description:"Helper text displayed below the group"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(a.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"RadioGroup"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A group of radio buttons for selecting one option from multiple choices."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Examples",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(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic RadioGroup"}),e.jsx(a.RadioGroup,{label:"Gender",options:i,value:o,onChange:l=>t(l)})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsx(a.RadioGroup,{label:"Size",helperText:"Select your preferred size",options:[{value:"small",label:"Small"},{value:"medium",label:"Medium"},{value:"large",label:"Large"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsx(a.RadioGroup,{label:"Priority",error:"Please select a priority",options:[{value:"low",label:"Low"},{value:"high",label:"High"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(a.RadioGroup,{label:"Status",disabled:!0,options:[{value:"active",label:"Active"},{value:"inactive",label:"Inactive"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Horizontal Layout"}),e.jsx(a.RadioGroup,{label:"Direction",direction:"horizontal",options:[{value:"vertical",label:"Vertical"},{value:"horizontal",label:"Horizontal"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Different Colors"}),e.jsx(a.RadioGroup,{label:"Color",color:"danger",options:[{value:"red",label:"Red"},{value:"blue",label:"Blue"}]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",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-3 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),e.jsx(a.RadioGroup,{label:"Ghost Variant",variant:"ghost",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsx(a.RadioGroup,{label:"Solid Variant",variant:"solid",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),e.jsx(a.RadioGroup,{label:"Transparent Variant",variant:"transparent",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.BasicTable,{columns:s,data:n})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"typescript",code:`import { RadioGroup } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const options = [
|
|
4
4
|
{ value: 'male', label: 'Male' },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c } from "react";
|
|
3
|
-
import { T as o, C as l, a as i, o as t, B as u, c as m } from "./index-
|
|
3
|
+
import { T as o, C as l, a as i, o as t, B as u, c as m } from "./index-Hq6IUBmn.mjs";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),a=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react-dom");const n=()=>{const[l,r]=d.useState(""),t=[{key:"prop",label:"Prop",render:s=>e.jsx("code",{className:"text-xs text-brand",children:String(s)})},{key:"type",label:"Type",render:s=>e.jsx("code",{className:"text-xs",children:String(s)})},{key:"default",label:"Default",render:s=>{const i=String(s);return i==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:i})}},{key:"description",label:"Description"}],o=[{prop:"label",type:"React.ReactNode",default:"-",description:"Radio button label"},{prop:"value",type:"string",default:"required",description:"Radio button value"},{prop:"variant",type:"'ghost' | 'solid' | 'transparent'",default:"'ghost'",description:"Visual variant of the radio button"},{prop:"size",type:"'sm' | 'md' | 'lg' | 'xl'",default:"'md'",description:"Size of the radio button"},{prop:"color",type:"'primary' | 'secondary' | 'danger' | 'info' | 'success' | 'warning'",default:"'primary'",description:"Color theme of the radio button"},{prop:"disabled",type:"boolean",default:"false",description:"Disables the radio button"},{prop:"labelPlacement",type:"'start' | 'end'",default:"'end'",description:"Position of the label relative to the radio"},{prop:"error",type:"string",default:"-",description:"Error message to display"},{prop:"helperText",type:"React.ReactNode",default:"-",description:"Helper text displayed below the radio"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(a.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Radio"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A single radio button component for binary choices."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Examples",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(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Radio"}),e.jsx(a.Radio,{label:"Option 1",value:"option1",checked:l==="option1",onChange:s=>r(s.target.value)})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(a.Radio,{label:"Disabled option",value:"disabled",disabled:!0})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Different Colors"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(a.Radio,{label:"Primary",value:"primary",color:"primary"}),e.jsx(a.Radio,{label:"Danger",value:"danger",color:"danger"}),e.jsx(a.Radio,{label:"Success",value:"success",color:"success"})]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Different Sizes"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(a.Radio,{label:"Small",value:"sm",size:"sm"}),e.jsx(a.Radio,{label:"Medium",value:"md",size:"md"}),e.jsx(a.Radio,{label:"Large",value:"lg",size:"lg"})]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",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-3 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),e.jsx(a.Radio,{label:"Ghost Variant",value:"ghost",variant:"ghost",checked:l==="ghost",onChange:s=>r(s.target.value)})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsx(a.Radio,{label:"Solid Variant",value:"solid",variant:"solid",checked:l==="solid",onChange:s=>r(s.target.value)})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),e.jsx(a.Radio,{label:"Transparent Variant",value:"transparent",variant:"transparent",checked:l==="transparent",onChange:s=>r(s.target.value)})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.BasicTable,{columns:t,data:o})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { Radio } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
<Radio
|
|
4
4
|
label="Option 1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as p } from "react";
|
|
3
|
-
import { T as s, C as r, a as d, R as t, B as m, c as h } from "./index-
|
|
3
|
+
import { T as s, C as r, a as d, R as t, B as m, c as h } from "./index-Hq6IUBmn.mjs";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as h, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as t, C as n, a as i, af as r, B as p, c as m } from "./index-
|
|
2
|
+
import { T as t, C as n, a as i, af as r, B as p, c as m } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>{const n=[{key:"prop",label:"Prop",render:a=>e.jsx("code",{className:"text-xs text-brand",children:String(a)})},{key:"type",label:"Type",render:a=>e.jsx("code",{className:"text-xs",children:String(a)})},{key:"default",label:"Default",render:a=>{const l=String(a);return l==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:l})}},{key:"description",label:"Description"}],r=[{prop:"defaultHeight",type:"number",default:"required",description:"Default collapsed height in pixels"},{prop:"children",type:"React.ReactNode",default:"required",description:"Content to reveal/hide"},{prop:"className",type:"string",default:"-",description:"Additional CSS classes"}],s=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.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(t.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"RevealContent"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:'A component that automatically collapses long content and provides a "Show More" / "Show Less" button.'})]}),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:s})]}),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:s})]})]})})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.BasicTable,{columns:n,data:r})})})}),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
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<RevealContent defaultHeight={100}>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { C as a, a as r, T as n, c as o } from "./index-
|
|
2
|
+
import { C as a, a as r, T as n, c as o } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import { Settings as i, Play as s } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-CjRk4ezu.js"),n=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsx("div",{className:"space-y-8",children:e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Route Configuration",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-8",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 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg",children:e.jsx(n.Settings,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"StandaloneAppRoutesMenuItem Interface"})]}),e.jsxs(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:["For single applications, routes are defined using the"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"StandaloneAppRoutesMenuItem"})," ","interface which extends"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"IMenuItem"}),"."]}),e.jsx(t.CodeBlock,{language:"typescript",code:`interface StandaloneAppRoutesMenuItem extends Omit<IMenuItem, 'dropdownItems'> {
|
|
2
2
|
component: JSX.Element; // The component to render
|
|
3
3
|
dropdownItems?: StandaloneAppRoutesMenuItem[]; // Optional sub-routes
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const r=[{key:"prop",label:"Prop",render:s=>e.jsx("code",{className:"text-xs text-brand",children:String(s)})},{key:"type",label:"Type",render:s=>e.jsx("code",{className:"text-xs",children:String(s)})},{key:"default",label:"Default",render:s=>{const o=String(s);return o==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:o})}},{key:"description",label:"Description"}],a=[{prop:"top",type:"string | number",default:"undefined",description:"Distance from the top of the viewport (in pixels or Tailwind class). If undefined, uses bottom instead."},{prop:"right",type:"string | number",default:"24",description:"Distance from the right of the viewport (in pixels or Tailwind class)."},{prop:"bottom",type:"string | number",default:"24",description:"Distance from the bottom of the viewport (in pixels or Tailwind class)."},{prop:"left",type:"string | number",default:"undefined",description:"Distance from the left of the viewport (in pixels or Tailwind class). If undefined, uses right instead."},{prop:"showAfter",type:"number",default:"400",description:"Minimum scroll position (in pixels) to show the button."},{prop:"size",type:"'small' | 'medium' | 'large'",default:"'medium'",description:"Size of the button."},{prop:"className",type:"string",default:"undefined",description:"Custom className for the button."}];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:"ScrollToTop"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A utility component that displays a floating button to scroll back to the top of the page. It automatically scrolls to top when the route changes and shows a button when the user scrolls down."})]}),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 Usage"}),e.jsx(t.Typography,{tag:"p",className:"mb-4",children:"Add this component to your router or app component. By default, it displays a button in the bottom-right corner (24px from edges) that appears when you scroll down more than 400px."}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"The button automatically scrolls to the top when clicked and also scrolls to top whenever the route changes."}),e.jsx("div",{className:"bg-gray-100 dark:bg-gray-800 p-4 rounded-lg",children:e.jsx(t.Typography,{tag:"p",className:"text-sm",children:"Scroll down on this page to see the button appear in the bottom-right corner."})})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Custom Position"}),e.jsx(t.Typography,{tag:"p",className:"mb-4",children:"You can customize the button position using the position props."}),e.jsxs("div",{className:"space-y-2 text-sm",children:[e.jsxs(t.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"top-left:"})," ",e.jsx("code",{children:"<ScrollToTop top={20} left={20} />"})]}),e.jsxs(t.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"top-right:"})," ",e.jsx("code",{children:"<ScrollToTop top={20} right={20} />"})]}),e.jsxs(t.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"bottom-left:"})," ",e.jsx("code",{children:"<ScrollToTop bottom={20} left={20} />"})]}),e.jsxs(t.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"bottom-right:"})," ",e.jsx("code",{children:"<ScrollToTop bottom={20} right={20} />"})]})]})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Custom Size and Threshold"}),e.jsx(t.Typography,{tag:"p",className:"mb-4",children:"Control when the button appears and its size."}),e.jsxs("div",{className:"space-y-2 text-sm",children:[e.jsxs(t.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"Small button:"})," ",e.jsx("code",{children:'<ScrollToTop size="small" />'})]}),e.jsxs(t.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"Large button:"})," ",e.jsx("code",{children:'<ScrollToTop size="large" />'})]}),e.jsxs(t.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"Show after 200px:"})," ",e.jsx("code",{children:"<ScrollToTop showAfter={200} />"})]})]})]})]})})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.BasicTable,{columns:r,data:a})})})}),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 { ScrollToTop } from '@e-burgos/tucu-ui';
|
|
2
2
|
import { BrowserRouter } from 'react-router-dom';
|
|
3
3
|
|
|
4
4
|
function App() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as t, C as r, a as s, B as n, c } from "./index-
|
|
2
|
+
import { T as t, C as r, a as s, B as n, c } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>{const t=[{key:"prop",label:"Prop",render:l=>e.jsx("code",{className:"text-xs text-brand",children:String(l)})},{key:"type",label:"Type",render:l=>e.jsx("code",{className:"text-xs",children:String(l)})},{key:"default",label:"Default",render:l=>{const a=String(l);return a==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:a})}},{key:"description",label:"Description"}],c=[{prop:"children",type:"React.ReactNode",default:"required",description:"Content to display inside the scrollbar"},{prop:"autoHide",type:"'never' | 'scroll' | 'leave' | 'move'",default:"'scroll'",description:"When to hide the scrollbar"},{prop:"direction",type:"'horizontal' | 'vertical' | 'both'",default:"'vertical'",description:"Scroll direction"},{prop:"className",type:"string",default:"-",description:"Additional CSS classes"},{prop:"scrollbarStyle",type:"{ track?: CSSProperties; thumb?: CSSProperties }",default:"-",description:"Custom styles for scrollbar track and thumb"}],s=Array.from({length:20},(l,a)=>e.jsx("div",{className:"p-4 border-b",children:e.jsxs(r.Typography,{tag:"p",children:["Content item ",a+1]})},a));return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(r.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Scrollbar"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A customizable scrollbar component with auto-hide functionality and custom styling options."})]}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.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:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Vertical Scrollbar"}),e.jsx(r.Scrollbar,{className:"h-48",children:e.jsx("div",{children:s.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Auto Hide on Leave"}),e.jsx(r.Scrollbar,{className:"h-48",autoHide:"leave",children:e.jsx("div",{children:s.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Never Hide"}),e.jsx(r.Scrollbar,{className:"h-48",autoHide:"never",children:e.jsx("div",{children:s.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Custom Styled"}),e.jsx(r.Scrollbar,{className:"h-48",scrollbarStyle:{track:{backgroundColor:"transparent"},thumb:{borderRadius:"8px",width:"8px"}},children:e.jsx("div",{children:s.slice(0,10)})})]})]})})})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(r.BasicTable,{columns:t,data:c})})})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(r.CodeBlock,{language:"tsx",code:`import { Scrollbar } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<Scrollbar className="h-48">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l, Fragment as m } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as a, a as o, J as i, B as h, c as p } from "./index-
|
|
2
|
+
import { T as r, C as a, a as o, J as i, B as h, c as p } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m } from "react";
|
|
3
|
-
import { T as l, C as t, a as o, S as r, B as h, c as u } from "./index-
|
|
3
|
+
import { T as l, C as t, a as o, S as r, B as h, c as u } from "./index-Hq6IUBmn.mjs";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),a=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react-dom");const d=()=>{const[r,i]=c.useState(void 0),l=[{name:"Argentina",value:"ar"},{name:"Brasil",value:"br"},{name:"Chile",value:"cl"},{name:"Colombia",value:"co"},{name:"México",value:"mx"}],n=[{key:"prop",label:"Prop",render:t=>e.jsx("code",{className:"text-xs text-brand",children:String(t)})},{key:"type",label:"Type",render:t=>e.jsx("code",{className:"text-xs",children:String(t)})},{key:"default",label:"Default",render:t=>{const s=String(t);return s==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:s})}},{key:"description",label:"Description"}],o=[{prop:"options",type:"SelectOption[]",default:"required",description:"Array of select options"},{prop:"selectedOption",type:"SelectOption",default:"-",description:"Currently selected option"},{prop:"onChange",type:"(option: SelectOption) => void",default:"-",description:"Callback when selection changes"},{prop:"onSelect",type:"(value: string) => void",default:"-",description:"Callback with selected value string"},{prop:"variant",type:"'ghost' | 'solid' | 'transparent'",default:"'ghost'",description:"Visual variant of the select"},{prop:"label",type:"string",default:"-",description:"Field label text"},{prop:"placeholder",type:"string",default:"-",description:"Placeholder text"},{prop:"disabled",type:"boolean",default:"false",description:"Disables the select field"},{prop:"required",type:"boolean",default:"false",description:"Marks the field as required"},{prop:"errorMessage",type:"string",default:"-",description:"Error message to display"},{prop:"helperText",type:"string",default:"-",description:"Helper text displayed below the select"},{prop:"value",type:"string",default:"-",description:"String value for react-hook-form integration"},{prop:"name",type:"string",default:"-",description:"Name attribute for form submission"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(a.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Select"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A dropdown select component for choosing from a list of options."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Examples",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(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Select"}),e.jsx(a.Select,{label:"Country",placeholder:"Select a country",options:l,selectedOption:r,onChange:i})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsx(a.Select,{label:"Language",placeholder:"Select a language",helperText:"Choose your preferred language",options:[{name:"English",value:"en"},{name:"Spanish",value:"es"},{name:"French",value:"fr"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsx(a.Select,{label:"Category",placeholder:"Select a category",errorMessage:"Category is required",options:[{name:"Option 1",value:"opt1"},{name:"Option 2",value:"opt2"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(a.Select,{label:"Status",placeholder:"Select status",disabled:!0,options:[{name:"Active",value:"active"},{name:"Inactive",value:"inactive"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Required Field"}),e.jsx(a.Select,{label:"Priority",placeholder:"Select priority",required:!0,options:[{name:"Low",value:"low"},{name:"Medium",value:"medium"},{name:"High",value:"high"}]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",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-3 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),e.jsx(a.Select,{label:"Ghost Variant",placeholder:"Select option",variant:"ghost",options:l})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsx(a.Select,{label:"Solid Variant",placeholder:"Select option",variant:"solid",options:l})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),e.jsx(a.Select,{label:"Transparent Variant",placeholder:"Select option",variant:"transparent",options:l})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.BasicTable,{columns:n,data:o})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { Select } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const options = [
|
|
4
4
|
{ name: 'Argentina', value: 'ar' },
|