@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=require("./tether-EofDinu3.js"),l=()=>{const n=[{key:"prop",label:"Prop",render:i=>e.jsx("code",{className:"text-xs text-brand",children:String(i)})},{key:"type",label:"Type",render:i=>e.jsx("code",{className:"text-xs",children:String(i)})},{key:"default",label:"Default",render:i=>{const r=String(i);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"}],t=[{prop:"item",type:"ItemType",default:"required",description:"Coin information object"},{prop:"className",type:"string",default:"''",description:"Custom CSS classes for the card"},{prop:"variant",type:"'small' | 'medium' | 'large'",default:"'small'",description:"Size variant of the coin icon"},{prop:"imageClassName",type:"string",default:"'bg-brand rounded p-1'",description:"Custom CSS classes for the coin image"}];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:"CoinInfoCard"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Compact card component for displaying coin information with icon, name, and balance."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.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(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Coin Info"}),e.jsx(a.CoinInfoCard,{item:{id:"bitcoin",name:"Bitcoin",logo:s.bitcoinImg,balance:"1.25 BTC"}})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Coin Type"}),e.jsx(a.CoinInfoCard,{item:{id:"ethereum",name:"Ethereum",logo:s.ethereumImg,balance:"5.5 ETH",coinType:"ERC-20"}})]})]})})})}),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:"Small (default)"}),e.jsx(a.CoinInfoCard,{item:{id:"bitcoin",name:"Bitcoin",logo:s.bitcoinImg,balance:"1.25 BTC"},variant:"small"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Medium"}),e.jsx(a.CoinInfoCard,{item:{id:"bitcoin",name:"Bitcoin",logo:s.bitcoinImg,balance:"1.25 BTC"},variant:"medium"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Large"}),e.jsx(a.CoinInfoCard,{item:{id:"bitcoin",name:"Bitcoin",logo:s.bitcoinImg,balance:"1.25 BTC"},variant:"large"})]})]})})})}),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:t})})})}),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 { CoinInfoCard } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
<CoinInfoCard
|
|
4
4
|
item={{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment as y, useState as b } from "react";
|
|
3
|
-
import { g as h, M as c, h as C, K as N, d as u, T as l, C as i, a as m, B as f, c as w, E as B, i as v } from "./index-
|
|
3
|
+
import { g as h, M as c, h as C, K as N, d as u, T as l, C as i, a as m, B as f, c as w, E as B, i as v } 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"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),s=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react-dom");function l({className:a,coins:i,selectedCoin:r,setSelectedCoin:c,disabled:n}){return e.jsx("div",{className:s.cn("relative",a),children:e.jsxs(s.Mo,{value:r,onChange:c,disabled:n,children:[e.jsxs(s.Mo.Button,{className:s.cn("flex h-11 w-full items-center justify-between whitespace-nowrap dark:bg-light-dark bg-white border border-gray-100 dark:border-gray-700 px-4 pl-3 text-sm text-gray-900 rounded-lg dark:text-white sm:h-13 sm:pl-4",n&&"cursor-not-allowed opacity-50"),children:[e.jsxs("div",{className:"flex items-center gap-3 font-medium ltr:mr-2 rtl:ml-2",children:[e.jsx("span",{className:"sm:*:h-[30px] sm:*:w-[30px]",children:r.icon}),r.code]}),e.jsx(s.ChevronDown,{})]}),e.jsx(s.Ke,{as:d.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e.jsx(s.Mo.Options,{className:"absolute -left-px -right-px z-50 mt-2 origin-top-right rounded-lg bg-white p-3 shadow-large dark:bg-gray-800",children:i?.map(t=>e.jsx(s.Mo.Option,{value:t,children:({selected:o})=>e.jsxs("span",{className:`my-1 flex cursor-pointer items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium text-gray-900 transition dark:text-white ${o?"my-1 bg-gray-100 dark:bg-dark":"hover:bg-gray-50 dark:hover:bg-gray-700"}`,children:[t.icon,t.name]})},t.code))})})]})})}const m=()=>{const[a,i]=d.useState({icon:e.jsx(s.Bitcoin,{className:"w-6 h-6"}),code:"BTC",name:"Bitcoin",price:45e3}),r=[{icon:e.jsx(s.Bitcoin,{className:"w-6 h-6"}),code:"BTC",name:"Bitcoin",price:45e3},{icon:e.jsx(s.Ethereum,{className:"w-6 h-6"}),code:"ETH",name:"Ethereum",price:3e3},{icon:e.jsx(s.Tether,{className:"w-6 h-6"}),code:"USDT",name:"Tether",price:1}],c=[{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 o=String(t);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"}],n=[{prop:"coins",type:"CoinTypes[]",default:"required",description:"Array of available coins"},{prop:"selectedCoin",type:"CoinTypes",default:"required",description:"Currently selected coin"},{prop:"setSelectedCoin",type:"(coin: CoinTypes) => void",default:"required",description:"Callback when coin selection changes"},{prop:"className",type:"string",default:"''",description:"Custom CSS classes"},{prop:"disabled",type:"boolean",default:"false",description:"Disables the listbox"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(s.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"CoinListBox"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Dropdown listbox component for selecting cryptocurrencies with icons and names."})]}),e.jsx(s.CardContainer,{className:"",children:e.jsx(s.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(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Basic ListBox"}),e.jsx(l,{coins:r,selectedCoin:a,setSelectedCoin:i,className:"z-50"})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(l,{coins:r,selectedCoin:a,setSelectedCoin:i,disabled:!0})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.BasicTable,{columns:c,data:n})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.CodeBlock,{language:"tsx",code:`import { CoinListBox } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const coins = [
|
|
4
4
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as a, C as t, a as i, G as n, B as p, c as o } from "./index-
|
|
2
|
+
import { T as a, C as t, a as i, G as n, B as p, c as o } 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"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{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 s=String(l);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"}],i=[{prop:"label",type:"string",default:"required",description:"Label text for the collapse header"},{prop:"initialOpen",type:"boolean",default:"false",description:"Whether the collapse is initially open"},{prop:"className",type:"string",default:"-",description:"Additional CSS classes"},{prop:"children",type:"React.ReactNode",default:"required",description:"Content to display when expanded"}];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:"Collapse"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A collapsible content panel component with smooth animations for showing and hiding content."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.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(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Collapse"}),e.jsx(a.Collapse,{label:"Click to expand",children:e.jsx("div",{className:"p-4",children:e.jsx(a.Typography,{tag:"p",children:"This is the content that appears when the collapse is expanded."})})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Initially Open"}),e.jsx(a.Collapse,{label:"Pre-expanded",initialOpen:!0,children:e.jsx("div",{className:"p-4",children:e.jsx(a.Typography,{tag:"p",children:"This collapse starts in the open state."})})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Rich Content"}),e.jsx(a.Collapse,{label:"Rich Content Example",children:e.jsxs("div",{className:"p-4 space-y-2",children:[e.jsx(a.Typography,{tag:"p",className:"font-semibold",children:"Section Title"}),e.jsx(a.Typography,{tag:"p",children:"This collapse can contain any React content including images, lists, and other components."}),e.jsxs("ul",{className:"list-disc list-inside",children:[e.jsx("li",{children:"Item 1"}),e.jsx("li",{children:"Item 2"}),e.jsx("li",{children:"Item 3"})]})]})})]})]})})})}),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:i})})})}),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 { Collapse, Typography } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<Collapse label="Click to expand">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=require("./collection-1-BIsLOX9N.js"),i=require("./1-CArqgiQa.js"),n=()=>{const l={id:"collection-1",name:"Crypto Punks",slug:"crypto-punks",title:"Crypto Punks Collection",cover_image:o.collection1Img,number_of_artwork:42,user:{avatar:i.avatar1Img,name:"CryptoPunk Studio",slug:"cryptopunk-studio"}},s=[{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 r=String(t);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"}],c=[{prop:"item",type:"ItemType",default:"required",description:"Collection data object"},{prop:"className",type:"string",default:"''",description:"Custom CSS classes for the card"}];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:"CollectionCard"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"NFT collection preview with statistics, cover image, and creator information for marketplace interfaces."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:e.jsx(a.CollectionCard,{item: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:s,data:c})})})}),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 { CollectionCard } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const collectionData = {
|
|
4
4
|
id: 'bayc',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as c, C as t, a as l, e as i, B as n, c as d } from "./index-
|
|
2
|
+
import { T as c, C as t, a as l, e as i, B as n, c as d } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
package/{CollectionSelectListSection-CK1VQ7I0.mjs → CollectionSelectListSection-DF33zicH.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as c, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as a, C as t, a as o, k as r, B as d, c as p } from "./index-
|
|
2
|
+
import { T as a, C as t, a as o, k as r, B as d, c as p } 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"),l=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=require("./1-CArqgiQa.js"),o=()=>{const c=[{icon:s.avatar1Img,name:"Crypto Punks",value:"crypto-punks"},{icon:s.avatar1Img,name:"Bored Ape",value:"bored-ape"},{icon:s.avatar1Img,name:"Azuki",value:"azuki"}],i=[{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 a=String(t);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"}],r=[{prop:"collectionList",type:"CollectionList[]",default:"required",description:"Array of collection items"},{prop:"onSelect",type:"(value: string) => void",default:"required",description:"Callback when a collection is selected"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(l.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"CollectionSelectList"}),e.jsx(l.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Searchable list component for selecting NFT collections with avatars and search functionality."})]}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:e.jsxs(l.CardContainer,{className:"p-4",children:[e.jsx(l.Typography,{tag:"h5",className:"mb-3",children:"Basic List"}),e.jsx(l.CollectionSelectList,{collectionList:c,onSelect:t=>{console.log("Selected collection:",t)}})]})})})})}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(l.BasicTable,{columns:i,data:r})})})}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(l.CodeBlock,{language:"tsx",code:`import { CollectionSelectList } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const collectionList = [
|
|
4
4
|
{ icon: '/icons/crypto-punks.jpg', name: 'Crypto Punks', value: 'crypto-punks' },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { ah as i, C as l, a as o, T as a, a4 as c } from "./index-
|
|
2
|
+
import { ah as i, C as l, a as o, T as a, a4 as c } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import { Palette as n, Brush as m } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1 +1 @@
|
|
|
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"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>{const{primaryPreset:t}=r.useTheme();return e.jsx(r.CardContainer,{children:e.jsx(r.CardTitle,{title:"Color Customization",className:"mt-2 mb-6",children:e.jsx("div",{className:"space-y-8",children:e.jsxs("div",{className:"grid grid-cols-1 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-gradient-to-br from-green-500 to-emerald-500 rounded-lg shadow-lg",children:e.jsx(s.Palette,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(r.Typography,{tag:"h4",className:"font-semibold",children:"Dynamic Brand Colors"})]}),e.jsxs(r.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["Brand colors are dynamically applied using CSS custom properties, allowing real-time theme updates without rebuilding. Colors are defined in"," ",e.jsx("code",{className:"px-2 py-1 bg-light-dark rounded text-sm",children:"ui/tucu-ui/src/themes/config/index.ts"}),"."]}),e.jsx("div",{className:"p-3 flex justify-center items-center bg-gray-200 dark:bg-gray-800 rounded-lg w-full",children:e.jsxs(r.Typography,{tag:"code",className:"w-full text-sm text-gray-600 dark:text-gray-400",children:["--color-semantic-bg-primary:"," ",t?.value||"#0052ff"]})}),e.jsx(r.Alert,{variant:"info",children:e.jsxs(r.Typography,{tag:"p",className:"text-xs mb-2",children:[e.jsx("strong",{children:"Color Presets:"})," All spectrum colors use the ",e.jsx("code",{className:"px-1 py-2 rounded",children:"-50"})," value from Tucu UI Design Tokens. Default colors use semantic mappings (e.g., blue-60 for primary)."]})})]}),e.jsxs("div",{className:"space-y-4 mt-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-gradient-to-br from-indigo-500 to-purple-500 rounded-lg shadow-lg",children:e.jsx(s.Brush,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(r.Typography,{tag:"h4",className:"font-semibold",children:"Tailwind Integration"})]}),e.jsx(r.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Seamlessly integrated with Tailwind CSS utilities for consistent theming across all components."}),e.jsx("div",{className:"grid grid-cols-2 gap-2",children:["bg-brand","text-brand","border-brand","bg-secondary","text-secondary","border-secondary","bg-accent","text-accent","border-accent","bg-primary","text-primary","border-primary","bg-dark","text-dark","border-dark","bg-light","text-light","border-light","bg-brand/50","text-brand/80","border-brand/30","bg-secondary/20","text-secondary/60","border-secondary/40"].map((a,d)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:`w-3 h-3 rounded border border-gray-300 dark:border-gray-600 ${a.includes("bg-")?a:"bg-brand"}`}),e.jsxs(r.Typography,{tag:"code",className:"text-xs text-gray-600 dark:text-gray-400",children:[".",a]})]},d))}),e.jsx(r.Typography,{tag:"p",className:"text-xs text-gray-500 dark:text-gray-400 mt-2",children:"All colors support opacity modifiers (/10, /20, /30, /50, /80, etc.)"})]})]})})})})};exports.default=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("react"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("react"),s=require("./index-CjRk4ezu.js"),u=require("lucide-react");require("react-router-dom");require("react-dom");const o=l=>{if(typeof window>"u")return"";const t=document.documentElement;return getComputedStyle(t).getPropertyValue(l).trim()||""},y=()=>{const{mode:l}=s.useTheme(),[t,n]=m.useState(0);m.useEffect(()=>{const a=setTimeout(()=>{n(r=>r+1)},100);return()=>clearTimeout(a)},[l]),m.useEffect(()=>{const a=new MutationObserver(()=>{n(r=>r+1)});return a.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),()=>a.disconnect()},[]);const x=[{name:"Primary",class:"bg-primary",hex:"#3B82F6"},{name:"Secondary",class:"bg-secondary",hex:"#6B7280"},{name:"Accent",class:"bg-accent",hex:"#10B981"},{name:"Muted",class:"bg-muted",hex:"#F3F4F6"}],h=[{name:"Success",class:"bg-green-500",hex:"#10B981"},{name:"Warning",class:"bg-yellow-500",hex:"#F59E0B"},{name:"Error",class:"bg-red-500",hex:"#EF4444"},{name:"Info",class:"bg-blue-500",hex:"#3B82F6"}],g=[{name:"blue",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"green",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"orange",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"gray",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"indigo",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"pink",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"purple",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"red",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"teal",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"yellow",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]},{name:"chartreuse",shades:[0,5,10,15,20,30,40,50,60,70,80,90,100]}],p=[{name:"brand",varName:"--color-brand",class:"bg-brand"},{name:"primary",varName:"--color-primary",class:"bg-primary"},{name:"secondary",varName:"--color-secondary",class:"bg-secondary"},{name:"accent",varName:"--color-accent",class:"bg-accent"},{name:"muted",varName:"--color-muted",class:"bg-muted"},{name:"success",varName:"--color-success",class:"bg-success"},{name:"warning",varName:"--color-warning",class:"bg-warning"},{name:"error",varName:"--color-error",class:"bg-error"},{name:"info",varName:"--color-info",class:"bg-info"},{name:"body",varName:"--color-body",class:"bg-body"},{name:"dark",varName:"--color-dark",class:"bg-dark"},{name:"light",varName:"--color-light",class:"bg-light"},{name:"light-dark",varName:"--color-light-dark",class:"bg-light-dark"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(s.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Color System"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Carefully crafted color palettes that work across all themes and contexts"})]}),e.jsxs("div",{className:"space-y-8",children:[e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Brand Colors",className:"mt-2 mb-2",children:e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-4 sm:gap-6",children:x.map(a=>e.jsxs("div",{className:"text-center space-y-2",children:[e.jsx("div",{className:`w-16 h-16 rounded-lg ${a.class} mx-auto`}),e.jsxs("div",{className:"text-sm",children:[e.jsx("div",{className:"font-semibold",children:a.name}),e.jsx("div",{className:"text-muted-foreground",children:a.hex})]})]},a.name))})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Semantic Colors",className:"mt-2 mb-2",children:e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-4 sm:gap-6",children:h.map(a=>e.jsxs("div",{className:"text-center space-y-2",children:[e.jsx("div",{className:`w-16 h-16 rounded-lg ${a.class} mx-auto`}),e.jsxs("div",{className:"text-sm",children:[e.jsx("div",{className:"font-semibold",children:a.name}),e.jsx("div",{className:"text-muted-foreground",children:a.hex})]})]},a.name))})})}),e.jsx(s.Alert,{variant:"info",children:e.jsxs("div",{children:[e.jsxs("div",{className:"font-semibold flex items-center gap-2",children:[e.jsx(u.Info,{className:"h-4 w-4"}),"Dynamic Theming"]}),e.jsx("div",{children:"Colors automatically adapt based on the selected theme preset and mode (light/dark)."})]})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Color Spectrum",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-6",children:"Complete color palette with all shades from 0 to 100 for each color spectrum."}),e.jsx("div",{className:"space-y-8",children:g.map(a=>e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-lg mb-4 capitalize",children:a.name}),e.jsx("div",{className:"grid grid-cols-4 sm:grid-cols-7 md:grid-cols-10 lg:grid-cols-[repeat(13,minmax(0,1fr))] gap-2",children:a.shades.map(r=>{const c=`bg-${a.name}-${r}`,i=`--color-${a.name}-${r}`,d=o(i);return e.jsxs("div",{className:"space-y-1 w-full min-w-[40px]",children:[e.jsx("div",{className:`h-16 w-full rounded border border-gray-200 dark:border-gray-700 ${c}`,title:`${a.name}-${r}: ${d||i}`}),e.jsx(s.Typography,{tag:"h4",className:"text-center text-xs font-semibold",children:r}),d&&e.jsx(s.Typography,{tag:"h4",className:"text-center text-muted text-[10px]",children:d})]},`${a.name}-${r}-${t}`)})})]},a.name))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Main Colors",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-6",children:"Primary theme colors used throughout the application. These colors are mapped from semantic colors and adapt to light/dark mode."}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:p.map(a=>{const r=o(a.varName),c=a.name==="body"||a.name==="light"||a.name==="light-dark"?"text-dark dark:text-light":"text-white";return e.jsxs("div",{className:"space-y-2 border border-gray-200 dark:border-gray-700 rounded-lg p-2",children:[e.jsx("div",{className:`h-20 rounded flex items-center justify-center ${a.class} ${c} border border-gray-200 dark:border-gray-700`,title:`${a.name}: var(${a.varName})${r?` = ${r}`:""}`,children:e.jsx(s.Typography,{tag:"h4",className:"text-center px-2 break-all text-xs",children:a.name})}),e.jsx(s.Typography,{tag:"h4",className:"text-center text-muted text-xs",children:a.name}),r&&e.jsx(s.Typography,{tag:"h4",className:"text-center text-muted text-[10px]",children:r}),e.jsx(s.Typography,{tag:"h4",className:"text-center text-muted text-[9px] mt-1 break-all px-1",children:a.class})]},`main-${a.name}-${t}`)})})]})})})]})]})};exports.default=y;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as v, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as y, useEffect as g } from "react";
|
|
3
|
-
import { ah as f, T as t, C as n, a as m, a4 as w } from "./index-
|
|
3
|
+
import { ah as f, T as t, C as n, a as m, a4 as w } from "./index-Hq6IUBmn.mjs";
|
|
4
4
|
import { Info as k } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, Fragment as o, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { C as s, a, T as n, a4 as i } from "./index-
|
|
2
|
+
import { C as s, a, T as n, a4 as i } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import { AlertCircle as l, XCircle as d, Info as t, AlertTriangle as m } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-CjRk4ezu.js"),r=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>e.jsx(e.Fragment,{children:e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Common Errors and Solutions",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-gradient-to-br from-red-500 via-rose-500 to-pink-500 shadow-md",children:e.jsx(r.AlertCircle,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Troubleshooting Guide"})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsx(s.Alert,{variant:"error",children:e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 font-semibold",children:[e.jsx(r.XCircle,{className:"h-4 w-4"}),"useTheme must be used within ThemeProvider"]}),e.jsx("div",{className:"text-sm mt-1",children:"This error occurs when you try to use useTheme outside of ThemeProvider context. Always wrap your application with ThemeProvider first. The ThemeProvider must be at the root level of your application."})]})}),e.jsx(s.Alert,{variant:"info",children:e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 font-semibold",children:[e.jsx(r.Info,{className:"h-4 w-4"}),"Layout not rendering correctly"]}),e.jsx("div",{className:"text-sm mt-1",children:"Make sure you're using ThemeProvider instead of trying to use RootLayout directly. ThemeProvider handles all layout logic internally. Also ensure menuItems prop is provided for Admin and Horizontal layouts."})]})}),e.jsx(s.Alert,{variant:"warning",children:e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 font-semibold",children:[e.jsx(r.AlertTriangle,{className:"h-4 w-4"}),"Menu items not showing"]}),e.jsx("div",{className:"text-sm mt-1",children:"For Admin and Horizontal layouts, you must provide the menuItems prop. Clean layout does not require menuItems. Ensure each menu item has at least a name and path property."})]})}),e.jsx(s.Alert,{variant:"info",children:e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 font-semibold",children:[e.jsx(r.Info,{className:"h-4 w-4"}),"Routing not working as expected?"]}),e.jsxs("div",{className:"text-sm mt-1",children:["Remember that ThemeProvider includes BrowserRouter internally. If you use customRoutes, make sure to use"," ",e.jsx("code",{children:"path"})," instead of ",e.jsx("code",{children:"href"})," in menuItems. The ",e.jsx("code",{children:"component"})," prop in menuItems is only used for automatic routing. If you provide customRoutes, it takes precedence."]})]})})]})]})})})});exports.default=t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as s, C as m, a as l, s as n } from "./index-
|
|
2
|
+
import { T as s, C as m, a as l, s as n } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import { Layers as d, Zap as p, Maximize as h } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-CjRk4ezu.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r=()=>{const t=[{name:"Default",component:e.jsx(s.Button,{children:"Default"})},{name:"Hover",component:e.jsx(s.Button,{className:"hover:bg-primary/90",children:"Hover"})},{name:"Active",component:e.jsx(s.Button,{className:"active:bg-primary/95",children:"Active"})},{name:"Disabled",component:e.jsx(s.Button,{disabled:!0,children:"Disabled"})}],i=[{name:"Solid",component:e.jsx(s.Button,{variant:"solid",children:"Solid"})},{name:"Ghost",component:e.jsx(s.Button,{variant:"ghost",children:"Ghost"})},{name:"Transparent",component:e.jsx(s.Button,{variant:"transparent",children:"Transparent"})}],l=[{name:"Tiny",component:e.jsx(s.Button,{size:"tiny",children:"Tiny"})},{name:"Mini",component:e.jsx(s.Button,{size:"mini",children:"Mini"})},{name:"Small",component:e.jsx(s.Button,{size:"small",children:"Small"})},{name:"Medium",component:e.jsx(s.Button,{size:"medium",children:"Medium"})},{name:"Large",component:e.jsx(s.Button,{size:"large",children:"Large"})}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(s.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Component Anatomy"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Understanding component states, variants, and sizes for consistent implementation"})]}),e.jsxs("div",{className:"space-y-8",children:[e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Component States",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 shadow-md",children:e.jsx(a.Layers,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Component States"})]}),e.jsx("div",{className:"flex flex-wrap gap-4 sm:gap-6",children:t.map(n=>e.jsxs("div",{className:"text-center space-y-2",children:[n.component,e.jsx("div",{className:"text-sm text-muted-foreground",children:n.name})]},n.name))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Component Variants",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-purple-500 via-violet-500 to-indigo-500 shadow-md",children:e.jsx(a.Zap,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Component Variants"})]}),e.jsx("div",{className:"flex flex-wrap gap-4 sm:gap-6",children:i.map(n=>e.jsxs("div",{className:"text-center space-y-2",children:[n.component,e.jsx("div",{className:"text-sm text-muted-foreground",children:n.name})]},n.name))})]})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Component Sizes",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-blue-500 via-cyan-500 to-sky-500 shadow-md",children:e.jsx(a.Maximize,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Component Sizes"})]}),e.jsx("div",{className:"flex flex-wrap items-end gap-4 sm:gap-6",children:l.map(n=>e.jsxs("div",{className:"text-center space-y-2",children:[n.component,e.jsx("div",{className:"text-sm text-muted-foreground",children:n.name})]},n.name))})]})})})]})]})};exports.default=r;
|
|
@@ -1 +1 @@
|
|
|
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"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const r=[{name:"Input",status:"complete",description:"Fully accessible with proper ARIA attributes"},{name:"Checkbox",status:"complete",description:"Complete with label associations and error handling"},{name:"Modal",status:"complete",description:"Focus management and keyboard navigation"},{name:"Alert",status:"complete",description:"Live regions and proper announcements"},{name:"Button",status:"complete",description:"Loading states and ARIA support"},{name:"Tabs",status:"needs-work",description:"Missing ARIA roles and keyboard navigation"},{name:"Drawer",status:"needs-work",description:"Needs focus trapping improvements"},{name:"Select",status:"needs-work",description:"Missing ARIA attributes and keyboard support"}];return e.jsx("div",{className:"space-y-8",children:e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Component Accessibility Status",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-orange-500 via-amber-500 to-yellow-500 shadow-lg",children:e.jsx(a.CheckCircle,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(t.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Current Implementation Status"})]}),e.jsx("div",{className:"space-y-4",children:r.map((s,i)=>e.jsx("div",{className:"flex items-center justify-between p-4 border border-gray-200 dark:border-gray-700 rounded-lg hover:bg-brand/70 transition-colors duration-200",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[s.status==="complete"?e.jsx(a.CheckCircle,{className:"w-5 h-5 text-green-500"}):e.jsx(a.AlertTriangle,{className:"w-5 h-5 text-yellow-500"}),e.jsx(t.Badge,{status:s.status==="complete"?"active":"inactive",className:s.status==="complete"?"bg-green-100 text-green-800":"bg-yellow-100 text-yellow-800",children:s.name})]}),e.jsx(t.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:s.description})]})},i))})]})})})})};exports.default=n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { C as n, a as o, T as s, D as l } from "./index-
|
|
2
|
+
import { C as n, a as o, T as s, D as l } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import { CheckCircle as r, AlertTriangle as c } 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"),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 n=()=>{const c=[{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 a=String(s);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"}],t=[{prop:"from",type:"CoinList ('BTC' | 'ETH' | 'USDT' | 'BNB' | 'USDC' | 'ADA' | 'DOGE')",default:"required",description:"Source currency"},{prop:"to",type:"CoinList ('BTC' | 'ETH' | 'USDT' | 'BNB' | 'USDC' | 'ADA' | 'DOGE')",default:"required",description:"Target currency"}];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:"CurrencySwapIcons"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Component for displaying currency swap pairs with overlapping icons and pair label."})]}),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 lg:grid-cols-3 gap-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"BTC to ETH"}),e.jsx(r.CurrencySwapIcons,{from:"BTC",to:"ETH"})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"ETH to USDT"}),e.jsx(r.CurrencySwapIcons,{from:"ETH",to:"USDT"})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"USDT to BNB"}),e.jsx(r.CurrencySwapIcons,{from:"USDT",to:"BNB"})]})]})})})}),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:c,data:t})})})}),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 { CurrencySwapIcons } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
<CurrencySwapIcons from="BTC" to="ETH" />
|
|
4
4
|
<CurrencySwapIcons from="ETH" to="USDT" />
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as c, C as a, a as l, l as t, B as i, c as d } from "./index-
|
|
2
|
+
import { T as c, C as a, a as l, l as t, B as i, c as d } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { C as o, a as t, T as a, c as s, a4 as d } from "./index-
|
|
2
|
+
import { C as o, a as t, T as a, c as s, a4 as d } 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 a=()=>e.jsx(r.CardContainer,{children:e.jsx(r.CardTitle,{title:"Custom Color Palette",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(r.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["You can provide custom colors via the"," ",e.jsx("code",{className:"px-2 py-1 bg-light-dark rounded text-sm",children:"customPaletteColor"})," ","prop. Colors can be hex values or preset names:"]}),e.jsx(r.CodeBlock,{language:"tsx",code:`<ThemeProvider
|
|
2
2
|
menuItems={menuItems}
|
|
3
3
|
customPaletteColor={{
|
|
4
4
|
primary: '#0052ff', // Hex color or preset name
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),o=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),o=require("./index-CjRk4ezu.js"),s=require("lucide-react");require("react-router-dom");require("react-dom");const h=()=>{const[m,t]=d.useState(null),r=[{category:"Blockchain & Crypto",description:"Cryptocurrency and blockchain-related icons",icon:e.jsx(s.Coins,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),color:"from-yellow-500 via-orange-500 to-amber-500",icons:[{name:"Bitcoin",component:e.jsx(o.Bitcoin,{className:"w-6 h-6"})},{name:"Ethereum",component:e.jsx(o.Ethereum,{className:"w-6 h-6"})},{name:"Bnb",component:e.jsx(o.Bnb,{className:"w-6 h-6"})},{name:"Cardano",component:e.jsx(o.Cardano,{className:"w-6 h-6"})},{name:"Tether",component:e.jsx(o.Tether,{className:"w-6 h-6"})},{name:"Usdc",component:e.jsx(o.Usdc,{className:"w-6 h-6"})},{name:"Doge",component:e.jsx(o.Doge,{className:"w-6 h-6"})},{name:"Flow",component:e.jsx(o.Flow,{className:"w-6 h-6"})}]},{category:"Layout Controls",description:"Icons for layout switching and navigation",icon:e.jsx(s.Layout,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),color:"from-blue-500 via-indigo-500 to-purple-500",icons:[{name:"ClassicLayoutIcon",component:e.jsx(o.ClassicLayoutIcon,{className:"w-6 h-6"})},{name:"MinimalLayoutIcon",component:e.jsx(o.MinimalLayoutIcon,{className:"w-6 h-6"})},{name:"ModernLayoutIcon",component:e.jsx(o.ModernLayoutIcon,{className:"w-6 h-6"})},{name:"RetroLayoutIcon",component:e.jsx(o.RetroLayoutIcon,{className:"w-6 h-6"})}]},{category:"Social Brands",description:"Social media platform icons",icon:e.jsx(s.Share2,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),color:"from-pink-500 via-rose-500 to-red-500",icons:[{name:"Github",component:e.jsx(o.Github,{className:"w-6 h-6"})},{name:"Twitter",component:e.jsx(o.Twitter,{className:"w-6 h-6"})},{name:"Facebook",component:e.jsx(o.Facebook,{className:"w-6 h-6"})},{name:"Instagram",component:e.jsx(o.Instagram,{className:"w-6 h-6"})},{name:"Telegram",component:e.jsx(o.Telegram,{className:"w-6 h-6"})}]},{category:"UI Elements",description:"Common UI and interface icons",icon:e.jsx(s.Component,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),color:"from-green-500 via-emerald-500 to-teal-500",icons:[{name:"Tucu",component:e.jsx(o.Tucu,{className:"w-6 h-6"})},{name:"HomeIcon",component:e.jsx(o.HomeIcon,{className:"w-6 h-6"})},{name:"SearchIcon",component:e.jsx(o.SearchIcon,{className:"w-6 h-6"})},{name:"Sun",component:e.jsx(o.Sun,{className:"w-6 h-6"})},{name:"Moon",component:e.jsx(o.Moon,{className:"w-6 h-6"})},{name:"Check",component:e.jsx(o.Check,{className:"w-6 h-6"})},{name:"Close",component:e.jsx(o.Close,{className:"w-6 h-6"})},{name:"Plus",component:e.jsx(o.Plus,{className:"w-6 h-6"})},{name:"Star",component:e.jsx(o.Star,{className:"w-6 h-6"})},{name:"StarFill",component:e.jsx(o.StarFill,{className:"w-6 h-6"})},{name:"Verified",component:e.jsx(o.Verified,{className:"w-6 h-6"})},{name:"Warning",component:e.jsx(o.Warning,{className:"w-6 h-6"})},{name:"InfoCircle",component:e.jsx(o.InfoCircle,{className:"w-6 h-6"})},{name:"DocumentIcon",component:e.jsx(o.DocumentIcon,{className:"w-6 h-6"})},{name:"BookIcon",component:e.jsx(o.BookIcon,{className:"w-6 h-6"})},{name:"PlayIcon",component:e.jsx(o.PlayIcon,{className:"w-6 h-6"})},{name:"ProfileIcon",component:e.jsx(o.ProfileIcon,{className:"w-6 h-6"})},{name:"EyeIcon",component:e.jsx(o.EyeIcon,{className:"w-6 h-6"})},{name:"EyeSlashIcon",component:e.jsx(o.EyeSlashIcon,{className:"w-6 h-6"})},{name:"LockIcon",component:e.jsx(o.LockIcon,{className:"w-6 h-6"})},{name:"Unlocked",component:e.jsx(o.Unlocked,{className:"w-6 h-6"})}]}],l=a=>{const c=`import { ${a} } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
<${a} className="w-6 h-6" />`;navigator.clipboard.writeText(c),t(a),setTimeout(()=>t(null),2e3)};return e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(o.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Custom Tucu Icons"}),e.jsx(o.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"98+ custom-designed icons organized by category"})]}),e.jsx("div",{className:"space-y-8",children:r.map((a,c)=>e.jsx(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:a.category,className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:`p-2 rounded-lg bg-linear-to-br ${a.color} shadow-lg`,children:a.icon}),e.jsxs("div",{children:[e.jsx(o.Typography,{tag:"h3",className:"text-xl font-semibold",children:a.category}),e.jsx(o.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:a.description})]})]}),e.jsx("div",{className:"grid grid-cols-4 sm:grid-cols-6 md:grid-cols-8 gap-4",children:a.icons.map((n,i)=>e.jsxs("div",{className:"flex flex-col items-center gap-2 p-3 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer group relative",onClick:()=>l(n.name),title:`Click to copy: ${n.name}`,children:[e.jsx("div",{className:"text-gray-700 dark:text-gray-300 group-hover:text-brand transition-colors",children:n.component}),e.jsx(o.Typography,{tag:"span",className:"text-xs text-center text-gray-500 dark:text-gray-400",children:n.name}),m===n.name&&e.jsx("div",{className:"absolute -top-8 left-1/2 transform -translate-x-1/2 px-2 py-1 bg-green-500 text-white text-xs rounded whitespace-nowrap z-10",children:"Copied!"})]},i))})]})})},c))})]})};exports.default=h;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
|
-
import { T as s, C as h, a as p, d as w, E as N, av as g, aw as u, i as y, ax as x, ay as I, az as f, aA as C, aB as b, aC as v, aD as k, aE as S, aF as T, aG as L, aH as B, aI as E, aJ as F, aK as M, aL as P, aM as U, aN as D, aO as $, aP as z, aQ as G, aR as H, aS as R, aT as V, aU as W, aV as j, aW as A, aX as J, aY as K, aZ as O, a_ as Q, a$ as X, b0 as Y, b1 as Z } from "./index-
|
|
3
|
+
import { T as s, C as h, a as p, d as w, E as N, av as g, aw as u, i as y, ax as x, ay as I, az as f, aA as C, aB as b, aC as v, aD as k, aE as S, aF as T, aG as L, aH as B, aI as E, aJ as F, aK as M, aL as P, aM as U, aN as D, aO as $, aP as z, aQ as G, aR as H, aS as R, aT as V, aU as W, aV as j, aW as A, aX as J, aY as K, aZ as O, a_ as Q, a$ as X, b0 as Y, b1 as Z } from "./index-Hq6IUBmn.mjs";
|
|
4
4
|
import { Coins as _, Layout as q, Share2 as aa, Component as ea } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as s, C as a, a as r, a3 as l, B as n, c as p } from "./index-
|
|
2
|
+
import { T as s, C as a, a as r, a3 as l, B as n, c as p } 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"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const a=[{key:"prop",label:"Prop",render:i=>e.jsx("code",{className:"text-xs text-brand",children:String(i)})},{key:"type",label:"Type",render:i=>e.jsx("code",{className:"text-xs",children:String(i)})},{key:"default",label:"Default",render:i=>{const t=String(i);return t==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:t})}},{key:"description",label:"Description"}],r=[{prop:"...SVGAttributes",type:"React.SVGAttributes<SVGElement>",default:"-",description:"All standard SVG attributes are supported"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(s.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"DefiAppLogo"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"An animated brain-inspired logo component designed for DeFi applications, featuring pulsing nodes and signal flows that represent financial data processing."})]}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.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(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Default Animated Logo"}),e.jsx("div",{className:"flex items-center justify-center",children:e.jsx(s.DefiAppLogo,{width:100,height:100})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Different Sizes"}),e.jsxs("div",{className:"flex items-center gap-4 flex-wrap justify-center",children:[e.jsx(s.DefiAppLogo,{width:60,height:60}),e.jsx(s.DefiAppLogo,{width:100,height:100}),e.jsx(s.DefiAppLogo,{width:150,height:150})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Custom Classes"}),e.jsx("div",{className:"flex items-center justify-center",children:e.jsx(s.DefiAppLogo,{width:120,height:120,className:"opacity-90 hover:opacity-100 transition-opacity"})})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.BasicTable,{columns:a,data:r})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.CodeBlock,{language:"tsx",code:`import { DefiAppLogo } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<DefiAppLogo width={100} height={100} />
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as a, C as o } from "./index-
|
|
2
|
+
import { T as a, C as o } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import { CheckCircle as s, Minimize2 as l, Layers as n, Eye as c } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("./index-CjRk4ezu.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(i.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Design Principles"}),e.jsx(i.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Core principles that guide our design decisions and ensure consistency"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:[{title:"Consistency",description:"Unified visual language and interaction patterns across all components.",icon:e.jsx(s.CheckCircle,{className:"h-6 w-6 text-white filter drop-shadow-sm"}),color:"from-emerald-500 via-green-500 to-teal-500"},{title:"Simplicity",description:"Clean, intuitive interfaces that reduce cognitive load.",icon:e.jsx(s.Minimize2,{className:"h-6 w-6 text-white filter drop-shadow-sm"}),color:"from-blue-500 via-cyan-500 to-sky-500"},{title:"Flexibility",description:"Adaptable components that work across different contexts.",icon:e.jsx(s.Layers,{className:"h-6 w-6 text-white filter drop-shadow-sm"}),color:"from-purple-500 via-violet-500 to-indigo-500"},{title:"Accessibility",description:"Inclusive design that works for everyone.",icon:e.jsx(s.Eye,{className:"h-6 w-6 text-white filter drop-shadow-sm"}),color:"from-orange-500 via-amber-500 to-yellow-500"}].map(t=>e.jsx(i.CardContainer,{className:"group hover:shadow-large transition-all duration-300 hover:-translate-y-1",children:e.jsxs("div",{className:"w-full space-y-4 p-2 sm:p-2",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:`p-3 rounded-xl bg-linear-to-br ${t.color} group-hover:scale-110 transition-all duration-300 shadow-lg hover:shadow-xl`,children:t.icon}),e.jsx(i.Typography,{tag:"h3",className:"font-semibold text-lg group-hover:text-primary transition-colors duration-300",children:t.title})]}),e.jsx(i.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 leading-relaxed",children:t.description})]})},t.title))})]});exports.default=r;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),r=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react-dom");const p=()=>{const[a,s]=o.useState(!1),[c,i]=o.useState("sidebar"),d=[{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 n=String(t);return n==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:n})}},{key:"description",label:"Description"}],l=[{prop:"isOpen",type:"boolean",default:"required",description:"Whether the drawer is open"},{prop:"setIsOpen",type:"(isOpen: boolean) => void",default:"required",description:"Function to control drawer state"},{prop:"type",type:"'sidebar' | 'sidebar-menu'",default:"required",description:"Type of drawer to display"},{prop:"position",type:"'left' | 'right'",default:"'left'",description:"Position of the drawer"},{prop:"backdrop",type:"boolean",default:"true",description:"Whether to show backdrop"},{prop:"title",type:"string",default:"-",description:"Title for the drawer"},{prop:"menuItems",type:"IMenuItem[]",default:"-",description:"Menu items (required for sidebar-menu type)"}];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:"Drawer"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A drawer component that slides in from the side, supporting both simple sidebar and sidebar-menu variants."})]}),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:"space-y-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Sidebar Drawer"}),e.jsx(r.Button,{onClick:()=>{i("sidebar"),s(!0)},children:"Open Sidebar"}),e.jsx(r.Drawer,{isOpen:a,setIsOpen:s,type:"sidebar",title:"Sidebar Title",children:e.jsx(r.Typography,{tag:"p",children:"Sidebar content goes here"})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Right Position"}),e.jsx(r.Button,{onClick:()=>{i("sidebar"),s(!0)},children:"Open Right Drawer"}),e.jsx(r.Drawer,{isOpen:a,setIsOpen:s,type:"sidebar",position:"right",title:"Right Drawer",children:e.jsx(r.Typography,{tag:"p",children:"Content on the right"})})]})]})})})}),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:d,data:l})})})}),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 { Drawer, Button } from '@e-burgos/tucu-ui';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
|
|
4
4
|
function MyComponent() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as h, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
|
-
import { T as t, C as s, a as n, s as c, U as m, B as u, c as b } from "./index-
|
|
3
|
+
import { T as t, C as s, a as n, s as c, U as m, B as u, c as b } 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 { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { C as r, a as n, T as s, c as i } from "./index-
|
|
2
|
+
import { C as r, a as n, T as s, c as i } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import { Shield as m, Flag as d, Database as c } 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"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-CjRk4ezu.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsx("div",{className:"space-y-8",children:e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Dynamic & Conditional Routes",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Create dynamic routing based on user permissions, feature flags, or application state."}),e.jsx(s.CodeBlock,{language:"tsx",code:`import { useMemo } from 'react';
|
|
2
2
|
|
|
3
3
|
export const useMenuItems = () => {
|
|
4
4
|
const { userRole, featureFlags } = useAppState();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as t, C as a, a as i, F as s, B as o, c as n } from "./index-
|
|
2
|
+
import { T as t, C as a, a as i, F as s, B as o, c as n } from "./index-Hq6IUBmn.mjs";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|