@e-burgos/tucu-ui 2.0.4 → 2.0.6
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/components/inputs/file-input.d.ts +1 -7
- package/demo/pages/introduction/BasicUsageDemo.d.ts +1 -1
- package/demo/pages/introduction/BasicUsageWithCustomRouterExampleCode.d.ts +1 -1
- package/documentation/{APIReferenceSection-CpVd3Xjx.js → APIReferenceSection-DbOW061V.js} +1 -1
- package/documentation/{APIReferenceSection-CkbDOII-.js → APIReferenceSection-Du0MZCoJ.js} +1 -1
- package/documentation/{ActiveLinkSection-CpzFDISY.js → ActiveLinkSection-BGpGlMTH.js} +1 -1
- package/documentation/{ActiveLinkSection-DYPp4Zg0.js → ActiveLinkSection-DCvjUbXP.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-C8-q7nNW.js → AdvancedColorSystemSection-1eETjbou.js} +20 -41
- package/documentation/{AdvancedColorSystemSection-CODz6Wv7.js → AdvancedColorSystemSection-C_eqsBNI.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-DfczHWMU.js → AdvancedFeaturesSection-7lV7C31c.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-CT5LPMRT.js → AdvancedFeaturesSection-D-Ffzpz3.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-CPokeoIR.js → AdvancedFeaturesSection-RfxchAOl.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-wx6bqfbU.js → AdvancedFeaturesSection-WW45iO-b.js} +1 -1
- package/documentation/{AlertSection-M-ADbyNs.js → AlertSection-BOFVhA1g.js} +1 -1
- package/documentation/{AlertSection-pO3LOWb0.js → AlertSection-CGWU5jll.js} +1 -1
- package/documentation/{AnchorLinkSection-DrwLaGpe.js → AnchorLinkSection-BtvgojmR.js} +1 -1
- package/documentation/{AnchorLinkSection-DOQLfXNM.js → AnchorLinkSection-CuaUyMqx.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-OgRFV5Gn.js → ArchitecturalPatternsComparisonSection-Bya3HmHR.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-D3qDb8oV.js → ArchitecturalPatternsComparisonSection-Cct4N7m-.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-DJ6szT6V.js → ArchitectureOverviewSection-CUOtV6ls.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-C4SPa6fm.js → ArchitectureOverviewSection-DpWx_2Bf.js} +1 -1
- package/documentation/{AreaChartSection-CM7nymKJ.js → AreaChartSection-BiOx_GTY.js} +1 -1
- package/documentation/{AreaChartSection-DdoeVQoB.js → AreaChartSection-CtMlVnBa.js} +1 -1
- package/documentation/{AuthorCardSection-P8sPh0d7.js → AuthorCardSection-DX0cKXK5.js} +1 -1
- package/documentation/{AuthorCardSection-C-tk6Y7D.js → AuthorCardSection-oZJrBne3.js} +1 -1
- package/documentation/{AvatarSection-DXJRt7X9.js → AvatarSection-BF8AHso5.js} +1 -1
- package/documentation/{AvatarSection-KUgwOb7k.js → AvatarSection-DFZRExPm.js} +1 -1
- package/documentation/{BadgeSection-BDS8NdU8.js → BadgeSection-Eubi1tsh.js} +1 -1
- package/documentation/{BadgeSection-Da5iTRZq.js → BadgeSection-Oua60cg8.js} +1 -1
- package/documentation/{BarChartSection-EN1OqYoj.js → BarChartSection-DHblj4e5.js} +1 -1
- package/documentation/{BarChartSection-CdcAAYG-.js → BarChartSection-FEYjU4KU.js} +1 -1
- package/documentation/{BasicTableSection-B-BGv1Tg.js → BasicTableSection-B9bKnLi-.js} +1 -1
- package/documentation/{BasicTableSection-DZASBtqv.js → BasicTableSection-CusSzdcT.js} +1 -1
- package/documentation/{BasicUsageSection-Cyj_uLkj.js → BasicUsageSection-BG4Pc9k4.js} +1 -1
- package/documentation/{BasicUsageSection-9USFmdGa.js → BasicUsageSection-DH6UNtI5.js} +1 -1
- package/documentation/{BestPracticesSection-uZIOlRpC.js → BestPracticesSection-62DacEXN.js} +1 -1
- package/documentation/{BestPracticesSection-B9Ok_QEu.js → BestPracticesSection-BKjhJ7SP.js} +1 -1
- package/documentation/{BestPracticesSection-NsZAn0RE.js → BestPracticesSection-BPJ8cXNQ.js} +1 -1
- package/documentation/{BestPracticesSection-CS9RAMVi.js → BestPracticesSection-BV98CcXZ.js} +1 -1
- package/documentation/{BestPracticesSection-aJyw2jIF.js → BestPracticesSection-B_tSX3Jz.js} +1 -1
- package/documentation/{BestPracticesSection-DIYdJV66.js → BestPracticesSection-BgqLgEsR.js} +1 -1
- package/documentation/{BestPracticesSection-BgIFl9EC.js → BestPracticesSection-CJxGoR3b.js} +1 -1
- package/documentation/{BestPracticesSection-DOLkJn-G.js → BestPracticesSection-CNxmULJM.js} +1 -1
- package/documentation/{BestPracticesSection-c2rhfHLA.js → BestPracticesSection-CScYzan3.js} +1 -1
- package/documentation/{BestPracticesSection-DDSMtR6c.js → BestPracticesSection-CYQxggWQ.js} +1 -1
- package/documentation/{BestPracticesSection-BwenEe-Y.js → BestPracticesSection-CufdR26r.js} +1 -1
- package/documentation/{BestPracticesSection-CnVEvflQ.js → BestPracticesSection-DUw_zF3Z.js} +1 -1
- package/documentation/{BestPracticesSection-DYVhfzE6.js → BestPracticesSection-Ds5tgGhx.js} +1 -1
- package/documentation/{BestPracticesSection-Bbsf74bT.js → BestPracticesSection-pnOXAOcz.js} +1 -1
- package/documentation/BorderRadiusSection-B-xRRmpt.js +72 -0
- package/documentation/BorderRadiusSection-D3_hite-.js +1 -0
- package/documentation/{ButtonDripSection-CKYJay9N.js → ButtonDripSection-Bq2trgi9.js} +1 -1
- package/documentation/{ButtonDripSection-C1vY2CzY.js → ButtonDripSection-gvZxhX8G.js} +1 -1
- package/documentation/{ButtonLoaderSection-DKQi-oTv.js → ButtonLoaderSection-BkZR40rr.js} +1 -1
- package/documentation/{ButtonLoaderSection-DlQb_Bqb.js → ButtonLoaderSection-TA9F06jI.js} +1 -1
- package/documentation/{CardContainerSection-B8AGux8b.js → CardContainerSection-C9HSknEx.js} +1 -1
- package/documentation/{CardContainerSection-CdASbRnV.js → CardContainerSection-DIfOTJYu.js} +1 -1
- package/documentation/{CardSection-Do7VBcYz.js → CardSection-Ck8jyp7W.js} +1 -1
- package/documentation/{CardSection-DlgqI72V.js → CardSection-mS-Ch_Wa.js} +1 -1
- package/documentation/{CardTitleSection-DGccHBTI.js → CardTitleSection-DYrnGbKk.js} +1 -1
- package/documentation/{CardTitleSection-CTy97wuG.js → CardTitleSection-FCO91j-A.js} +1 -1
- package/documentation/{CarouselCardsSection-CnuIZycb.js → CarouselCardsSection-BOmdJ8sA.js} +1 -1
- package/documentation/{CarouselCardsSection-D_KfDV2g.js → CarouselCardsSection-BkW9fRDK.js} +1 -1
- package/documentation/{CarouselImageSection-CD0fv4kK.js → CarouselImageSection-BU0aNnY2.js} +1 -1
- package/documentation/{CarouselImageSection-D4hTf6Z0.js → CarouselImageSection-DFkfrzFr.js} +1 -1
- package/documentation/{CarouselSection-Brd953Fb.js → CarouselSection-BHZ8M5xZ.js} +1 -1
- package/documentation/{CarouselSection-C9425lXN.js → CarouselSection-MvNa-xnX.js} +1 -1
- package/documentation/{CheckboxSection-CQIxbre6.js → CheckboxSection-B0Gt7gad.js} +1 -1
- package/documentation/{CheckboxSection-CU5tyHMH.js → CheckboxSection-DSFkIiq4.js} +1 -1
- package/documentation/{CodeExamplesSection-D3oeJD_J.js → CodeExamplesSection-BNK9u1ps.js} +1 -1
- package/documentation/{CodeExamplesSection-DAHf5u7i.js → CodeExamplesSection-BVuFSksS.js} +1 -1
- package/documentation/{CoinCardSection-BtB86t_Y.js → CoinCardSection-BcxUp5vJ.js} +1 -1
- package/documentation/{CoinCardSection-BtUjNiqi.js → CoinCardSection-KLQiaGeE.js} +1 -1
- package/documentation/{CoinInfoCardSection-B0l6nYWu.js → CoinInfoCardSection-CBpYuVSH.js} +1 -1
- package/documentation/{CoinInfoCardSection-odhu-ChN.js → CoinInfoCardSection-IUrgp0GD.js} +1 -1
- package/documentation/{CoinListBoxSection-DQbdORng.js → CoinListBoxSection-CVxxDv6M.js} +1 -1
- package/documentation/{CoinListBoxSection-Cfy0WYOK.js → CoinListBoxSection-ZeZtAY1w.js} +1 -1
- package/documentation/{CollapseSection-1AyxKtyh.js → CollapseSection-TYKE7WSj.js} +1 -1
- package/documentation/{CollapseSection-CI79e0rH.js → CollapseSection-ZiHdVuyN.js} +1 -1
- package/documentation/{CollectionCardSection-DdwUntub.js → CollectionCardSection-BzUVxmJq.js} +1 -1
- package/documentation/{CollectionCardSection-DS1mZrSu.js → CollectionCardSection-C0EeHF2p.js} +1 -1
- package/documentation/{CollectionSelectListSection-CqNEZLrW.js → CollectionSelectListSection-CTUcrZ-y.js} +1 -1
- package/documentation/{CollectionSelectListSection-B4bgHz6F.js → CollectionSelectListSection-Co60q-dc.js} +1 -1
- package/documentation/{ColorCustomizationSection-DxKogmSF.js → ColorCustomizationSection-BNqRFB4h.js} +1 -1
- package/documentation/{ColorCustomizationSection-BmJzT1u1.js → ColorCustomizationSection-DWy4OcKJ.js} +1 -1
- package/documentation/{ColorSystemSection-Be6CJ_qR.js → ColorSystemSection-D-93TJO5.js} +1 -1
- package/documentation/{ColorSystemSection-ROEkhEeH.js → ColorSystemSection-sxcz5x0_.js} +1 -1
- package/documentation/{CommonErrorsSection-C8GoonfY.js → CommonErrorsSection-C64GnPLp.js} +1 -1
- package/documentation/{CommonErrorsSection-5n2RFTOS.js → CommonErrorsSection-CRAmyfbU.js} +1 -1
- package/documentation/{ComponentAnatomySection-tEz92Ng-.js → ComponentAnatomySection-BBTeLqvK.js} +1 -1
- package/documentation/{ComponentAnatomySection-BmlI14Nf.js → ComponentAnatomySection-i5nESJy-.js} +1 -1
- package/documentation/{ComponentStatusSection-DwwRcvEd.js → ComponentStatusSection-BoQ6pWPk.js} +1 -1
- package/documentation/{ComponentStatusSection-DA70myqK.js → ComponentStatusSection-L3WhGtvd.js} +1 -1
- package/documentation/{ComposedChartSection-CSasm_A4.js → ComposedChartSection-C2fLNqlN.js} +1 -1
- package/documentation/{ComposedChartSection-PRWReilC.js → ComposedChartSection-CgHQ-PQM.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-C6Og4TeP.js → CurrencySwapIconsSection-DIsl8XfS.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-D-GhRHCi.js → CurrencySwapIconsSection-DZdwXbtX.js} +1 -1
- package/documentation/{CustomColorPaletteSection-DNgmPGoe.js → CustomColorPaletteSection-BbyEWvys.js} +8 -8
- package/documentation/{CustomColorPaletteSection-DUhhLGOU.js → CustomColorPaletteSection-CoZp4nDP.js} +8 -8
- package/documentation/{CustomIconsSection-DGn1HMN8.js → CustomIconsSection-CyIwxujL.js} +1 -1
- package/documentation/{CustomIconsSection-BCf8UN2c.js → CustomIconsSection-JyFWzdlQ.js} +1 -1
- package/documentation/{DefiAppLogoSection-DjnvrP3j.js → DefiAppLogoSection-WHr3s0Ad.js} +1 -1
- package/documentation/{DefiAppLogoSection-CniFLoNx.js → DefiAppLogoSection-YKNWdKJ9.js} +1 -1
- package/documentation/{DesignPrinciplesSection-MeMVZ3ry.js → DesignPrinciplesSection-B_GCf-TN.js} +1 -1
- package/documentation/{DesignPrinciplesSection-C-qZ5KCo.js → DesignPrinciplesSection-Bu6GQUnw.js} +1 -1
- package/documentation/{DrawerSection-9NhdERLz.js → DrawerSection-DM456jmL.js} +1 -1
- package/documentation/{DrawerSection-Cdhpw0Zp.js → DrawerSection-OBUS8hGb.js} +1 -1
- package/documentation/{DynamicRoutesSection-BtECxWUj.js → DynamicRoutesSection-CHGWzNV9.js} +1 -1
- package/documentation/{DynamicRoutesSection-DAQlCst_.js → DynamicRoutesSection-CpYydeHL.js} +1 -1
- package/documentation/{FileInputSection-BWUvvvdy.js → FileInputSection-4dc8Q1Wt.js} +1 -1
- package/documentation/{FileInputSection-z7_AAkz8.js → FileInputSection-DoWfjcaF.js} +1 -1
- package/documentation/{FileStructureSection-Dsr2yojr.js → FileStructureSection-BJ4M4SK6.js} +1 -1
- package/documentation/{FileStructureSection-lLqJHP56.js → FileStructureSection-Bzez9Hd6.js} +1 -1
- package/documentation/{FormComponentsSection-BTYt0wTN.js → FormComponentsSection-DHM6T8pl.js} +1 -1
- package/documentation/{FormComponentsSection-CQ2sazLF.js → FormComponentsSection-DsBtR_gO.js} +1 -1
- package/documentation/{FormMethodsSection-CAjYlJPM.js → FormMethodsSection-BgXiWvMF.js} +1 -1
- package/documentation/{FormMethodsSection-Chx9tNa_.js → FormMethodsSection-XH36D1LE.js} +1 -1
- package/documentation/{HamburgerSection-CASzjAC6.js → HamburgerSection-BdHt6rmR.js} +1 -1
- package/documentation/{HamburgerSection-UacK_FKv.js → HamburgerSection-V1hhJqa1.js} +1 -1
- package/documentation/{HookCategoriesSection-U7rN5EGL.js → HookCategoriesSection-BaBYyUdi.js} +1 -1
- package/documentation/{HookCategoriesSection-C6-2BbvM.js → HookCategoriesSection-DHxPCrfX.js} +1 -1
- package/documentation/{HookDocumentationSection-DIXoOh2V.js → HookDocumentationSection-_NXvN1pT.js} +1 -1
- package/documentation/{HookDocumentationSection-HIifl_N4.js → HookDocumentationSection-bApnr3Aw.js} +1 -1
- package/documentation/{HookFeaturesSection-DNjNJYVR.js → HookFeaturesSection-Brl18YzK.js} +1 -1
- package/documentation/{HookFeaturesSection-Dk27SI6j.js → HookFeaturesSection-DXVmzuOk.js} +1 -1
- package/documentation/{IconArchitectureSection-rTqgxU01.js → IconArchitectureSection-CUwumPZY.js} +1 -1
- package/documentation/{IconArchitectureSection-CcpjgUuZ.js → IconArchitectureSection-D5_IkMHf.js} +1 -1
- package/documentation/{IconSizingGuideSection-BAd6zU-Z.js → IconSizingGuideSection-BzrzVCbT.js} +1 -1
- package/documentation/{IconSizingGuideSection-ir5Wu2LZ.js → IconSizingGuideSection-C7Fh243F.js} +1 -1
- package/documentation/{IconSystemAPISection-BHp-ZXWb.js → IconSystemAPISection-C0nEVDsJ.js} +1 -1
- package/documentation/{IconSystemAPISection-DjqSJX-n.js → IconSystemAPISection-CHqujHDv.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-B7zV2HaH.js → IconSystemBenefitsSection-C0jGyq77.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-B6NiBLre.js → IconSystemBenefitsSection-DU5K42op.js} +1 -1
- package/documentation/{ImageSection-aotN8Y5u.js → ImageSection-BBZf4uXm.js} +1 -1
- package/documentation/{ImageSection-DmMdByn7.js → ImageSection-CioWvJ8h.js} +1 -1
- package/documentation/{ImplementationExamplesSection-BJ0_Xcm2.js → ImplementationExamplesSection-BnU40rmH.js} +1 -1
- package/documentation/{ImplementationExamplesSection-BLHthYw_.js → ImplementationExamplesSection-H0mF5teZ.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-Ce47rAwZ.js → ImplementationGuidelinesSection-C0Ei_kUp.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-DALPPZXc.js → ImplementationGuidelinesSection-Cn-2qyE2.js} +1 -1
- package/documentation/{ImplementationStatusSection-DuuoDSqC.js → ImplementationStatusSection-Bm5EzhII.js} +1 -1
- package/documentation/{ImplementationStatusSection-Yio9MCtk.js → ImplementationStatusSection-C_FgS9kQ.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-CLNTmpD5.js → ImplementedFeaturesSection-BKqzwhRm.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-DIxdEibl.js → ImplementedFeaturesSection-CfV8XwSL.js} +1 -1
- package/documentation/{InfoCardSection-CJfS4aKJ.js → InfoCardSection-DVeC3my3.js} +1 -1
- package/documentation/{InfoCardSection-CJbU2q_-.js → InfoCardSection-DW7X3XYu.js} +1 -1
- package/documentation/{InputSearcherSection-DJFKLySX.js → InputSearcherSection-BgRzReMB.js} +1 -1
- package/documentation/{InputSearcherSection-dA4h9pbM.js → InputSearcherSection-D0bHIaIm.js} +1 -1
- package/documentation/{InputSection-ov-x_YF3.js → InputSection-C7NfZGdN.js} +1 -1
- package/documentation/{InputSection-Bxr_GgjZ.js → InputSection-CVEft8nN.js} +1 -1
- package/documentation/{KeyValueRowSection-yrhHBRqx.js → KeyValueRowSection-DwtRLFEk.js} +1 -1
- package/documentation/{KeyValueRowSection-BWen5IUr.js → KeyValueRowSection-rlozAJgf.js} +1 -1
- package/documentation/{KeyboardNavigationSection-BGnlktrj.js → KeyboardNavigationSection-3b87RzQ7.js} +1 -1
- package/documentation/{KeyboardNavigationSection-Cd0_tM_9.js → KeyboardNavigationSection-dPPkpoVf.js} +1 -1
- package/documentation/{LayoutPrinciplesSection-BiLVZUWB.js → LayoutPrinciplesSection-BtsZKX-5.js} +1 -1
- package/documentation/{LayoutPrinciplesSection-Cw3geSSU.js → LayoutPrinciplesSection-Dixe4kuu.js} +1 -1
- package/documentation/{LayoutTypesSection-JuEAJpD7.js → LayoutTypesSection-C6SnGIzG.js} +1 -1
- package/documentation/{LayoutTypesSection-BmCcA7uZ.js → LayoutTypesSection-CteLUamr.js} +1 -1
- package/documentation/{LineChartSection-Bh98x9zB.js → LineChartSection-C1BoxgOz.js} +1 -1
- package/documentation/{LineChartSection-DMwIu5-a.js → LineChartSection-D0_UlV1y.js} +1 -1
- package/documentation/{ListContainerSection-CQmmUhTt.js → ListContainerSection-BY8fuQ0N.js} +1 -1
- package/documentation/{ListContainerSection-C2hLnnvb.js → ListContainerSection-jQ8VpdPb.js} +1 -1
- package/documentation/{ListItemSection-DcGQ2O65.js → ListItemSection-CSGZ02bM.js} +1 -1
- package/documentation/{ListItemSection-DmnK0EWC.js → ListItemSection-bqNbFxdu.js} +1 -1
- package/documentation/{LiveDemoSection-D4tXR1dN.js → LiveDemoSection-CnIo8dCa.js} +1 -1
- package/documentation/{LiveDemoSection-rJwhZCYb.js → LiveDemoSection-DuWpxEHf.js} +1 -1
- package/documentation/{LiveDemonstrationsSection-gPinOtv1.js → LiveDemonstrationsSection-BvR1Bz8e.js} +1 -1
- package/documentation/{LiveDemonstrationsSection-B3OoGiTI.js → LiveDemonstrationsSection-UzXnub3E.js} +1 -1
- package/documentation/{LivePriceFeedSection-CD630ncd.js → LivePriceFeedSection-BuexUW6S.js} +1 -1
- package/documentation/{LivePriceFeedSection-DSgN87uI.js → LivePriceFeedSection-ub8T1WoB.js} +1 -1
- package/documentation/{LoaderSection-C2o59OWq.js → LoaderSection-CHjzNBqH.js} +1 -1
- package/documentation/{LoaderSection-DZ1uAwdN.js → LoaderSection-DbwOjMpC.js} +1 -1
- package/documentation/{LogoSection-De8Ynlcs.js → LogoSection-BUh5lmBE.js} +1 -1
- package/documentation/{LogoSection-dqbh0Im9.js → LogoSection-cA1-d0HZ.js} +1 -1
- package/documentation/{LucideIconsSection-BHzsnkdc.js → LucideIconsSection-B1IMM2KE.js} +1 -1
- package/documentation/{LucideIconsSection-DxzfAVW8.js → LucideIconsSection-Co1s4hKe.js} +1 -1
- package/documentation/{MFESupportSection-BWJEFrx0.js → MFESupportSection-Dr7eg8uq.js} +1 -1
- package/documentation/{MFESupportSection-Dcban-qc.js → MFESupportSection-DzZl0CIg.js} +1 -1
- package/documentation/{MenuItemsGuideSection-CYAQbSyQ.js → MenuItemsGuideSection-BEfxqfd9.js} +1 -1
- package/documentation/{MenuItemsGuideSection-B7ns2eIP.js → MenuItemsGuideSection-CfznmIHZ.js} +1 -1
- package/documentation/{ModalSection-C_lBwjnQ.js → ModalSection-BVcg_G6k.js} +1 -1
- package/documentation/{ModalSection-C-d_lAT8.js → ModalSection-BmNkZvIh.js} +1 -1
- package/documentation/{NFTGridSection-CsWKHw44.js → NFTGridSection-Cz_FGqV1.js} +1 -1
- package/documentation/{NFTGridSection-CVtn_SUt.js → NFTGridSection-DonGXR6D.js} +1 -1
- package/documentation/{NestedRoutesSection-pTexdauI.js → NestedRoutesSection-CGDh3mVk.js} +1 -1
- package/documentation/{NestedRoutesSection-D_bbd0JG.js → NestedRoutesSection-CbNTjSyW.js} +1 -1
- package/documentation/{NotificationCardSection-DsLRL50j.js → NotificationCardSection-CWTEHVFj.js} +1 -1
- package/documentation/{NotificationCardSection-D3UIXmC_.js → NotificationCardSection-D-RuM0y9.js} +1 -1
- package/documentation/{PaginationSection-C2bSDt2F.js → PaginationSection-9zPPhyeb.js} +1 -1
- package/documentation/{PaginationSection-BXaYbNh1.js → PaginationSection-CXoO7Tqy.js} +1 -1
- package/documentation/{PanelActionCardSection-BDm3oVes.js → PanelActionCardSection-CsKsEYu0.js} +1 -1
- package/documentation/{PanelActionCardSection-CYJfjVtG.js → PanelActionCardSection-DUUgo6Og.js} +1 -1
- package/documentation/{PanelCardSection-Z2RQUWyn.js → PanelCardSection-CI4XrWyM.js} +1 -1
- package/documentation/{PanelCardSection-NTEJHr8b.js → PanelCardSection-DIHreAsZ.js} +1 -1
- package/documentation/{ParamTabSection-DHux5HXO.js → ParamTabSection-B-zD0RYM.js} +1 -1
- package/documentation/{ParamTabSection-guQ8aCfG.js → ParamTabSection-CsAlq-vR.js} +1 -1
- package/documentation/{PieChartSection-Ctpv_sQm.js → PieChartSection-D6mEMs7Q.js} +1 -1
- package/documentation/{PieChartSection-DCd5rWoT.js → PieChartSection-PGxAtJ72.js} +1 -1
- package/documentation/{PinCodeSection-BT8N9C8F.js → PinCodeSection-BCdJ0lzv.js} +1 -1
- package/documentation/{PinCodeSection-BD-IvqDl.js → PinCodeSection-DM13ihMi.js} +1 -1
- package/documentation/{ProgressbarSection-0k92jI5-.js → ProgressbarSection-C-EdDZov.js} +1 -1
- package/documentation/{ProgressbarSection-B_IkBplz.js → ProgressbarSection-OK-cEcMg.js} +1 -1
- package/documentation/{RadarChartSection-xtNri81K.js → RadarChartSection-84HPI4Rp.js} +1 -1
- package/documentation/{RadarChartSection-rlh1Mx6y.js → RadarChartSection-it0GwAMZ.js} +1 -1
- package/documentation/{RadioGroupSection-DTXIBYvs.js → RadioGroupSection-CJtcGRyu.js} +1 -1
- package/documentation/{RadioGroupSection-B6Lb9DJI.js → RadioGroupSection-DhLvpocf.js} +1 -1
- package/documentation/{RadioSection-BsXiDZ98.js → RadioSection-BUsz7AT5.js} +1 -1
- package/documentation/{RadioSection-C1GS5cuC.js → RadioSection-uSJ3ocsA.js} +1 -1
- package/documentation/{RevealContentSection-BAIqcjgW.js → RevealContentSection-Bts-6Rko.js} +1 -1
- package/documentation/{RevealContentSection-DzAyW5_3.js → RevealContentSection-CYG67QMT.js} +1 -1
- package/documentation/{RouteConfigurationSection-CjEKyhcb.js → RouteConfigurationSection-BZ9jyZ80.js} +1 -1
- package/documentation/{RouteConfigurationSection-BJJSsQGy.js → RouteConfigurationSection-Ba2pGQvU.js} +1 -1
- package/documentation/{ScrollToTopSection-DkTL1Uzw.js → ScrollToTopSection-bZKLFCb7.js} +1 -1
- package/documentation/{ScrollToTopSection-Dpp5zKo8.js → ScrollToTopSection-s0EgBP4c.js} +1 -1
- package/documentation/{ScrollbarSection-DBb7xv-n.js → ScrollbarSection-BpAYMy71.js} +1 -1
- package/documentation/{ScrollbarSection-DgWHzwSj.js → ScrollbarSection-Dfr5kanP.js} +1 -1
- package/documentation/{SelectSection-CFCIpkk9.js → SelectSection-CAJsrAt1.js} +1 -1
- package/documentation/{SelectSection-riGB2r-n.js → SelectSection-Ck9kof0T.js} +1 -1
- package/documentation/{SettingsPanelSection-8GHz0Skb.js → SettingsPanelSection-C_VSlU40.js} +1 -1
- package/documentation/{SettingsPanelSection-BwGt_yfC.js → SettingsPanelSection-DcI36bvi.js} +1 -1
- package/documentation/{ShadowsSection-DA19Spgp.js → ShadowsSection-BGOHvc7s.js} +1 -1
- package/documentation/{ShadowsSection-atJzmD4a.js → ShadowsSection-WKoyApzY.js} +1 -1
- package/documentation/{SidebarMenuSection-DKQOSTpx.js → SidebarMenuSection-B1YTDAvp.js} +1 -1
- package/documentation/{SidebarMenuSection-BTDUb7C_.js → SidebarMenuSection-CL_DUahR.js} +1 -1
- package/documentation/{SidebarSection-CC2ftWvz.js → SidebarSection-DAKVjdKW.js} +1 -1
- package/documentation/{SidebarSection-BsCGHss5.js → SidebarSection-yUTI2f67.js} +1 -1
- package/documentation/{SizingSection-DuGndhns.js → SizingSection-B0hZc0Tv.js} +1 -1
- package/documentation/{SizingSection-Mtr72tp-.js → SizingSection-BkzlMAgi.js} +1 -1
- package/documentation/{SkeletonSection-DvTIosHm.js → SkeletonSection-C9aIHnTu.js} +1 -1
- package/documentation/{SkeletonSection-By7tCQ4L.js → SkeletonSection-CPXc0Imd.js} +1 -1
- package/documentation/{SpacingSystemSection-DJY3DtA0.js → SpacingSystemSection-BKr7Htp3.js} +1 -1
- package/documentation/{SpacingSystemSection-W21eHPxd.js → SpacingSystemSection-CTYSoQtS.js} +1 -1
- package/documentation/{SpinnerSection-CxqETXkr.js → SpinnerSection-BvppjgYE.js} +1 -1
- package/documentation/{SpinnerSection-DM6XfYNN.js → SpinnerSection-Dye2VsDO.js} +1 -1
- package/documentation/{StandaloneAppSection-mSP8bRjv.js → StandaloneAppSection-BkFjxSm_.js} +1 -1
- package/documentation/{StandaloneAppSection-B0E2-lHr.js → StandaloneAppSection-Bnd5ch-2.js} +1 -1
- package/documentation/{StepperSection-CXs-4m-g.js → StepperSection-BDCZY0X7.js} +1 -1
- package/documentation/{StepperSection-DzQ4ZWqb.js → StepperSection-Dw3QuSWb.js} +1 -1
- package/documentation/{SwitchSection-ComDj4vK.js → SwitchSection-DZ9sij1G.js} +1 -1
- package/documentation/{SwitchSection-Cw1p4RAV.js → SwitchSection-DsRz6B1J.js} +1 -1
- package/documentation/{SystemOverviewSection-CB4XUjya.js → SystemOverviewSection-BaNo0I2y.js} +1 -1
- package/documentation/{SystemOverviewSection-DcC2nzWM.js → SystemOverviewSection-BigtfVY7.js} +1 -1
- package/documentation/{TabModalSection-D5DxXCPA.js → TabModalSection-BkJ1YqWc.js} +1 -1
- package/documentation/{TabModalSection-D7kjNL_j.js → TabModalSection-RfCWr-Nn.js} +1 -1
- package/documentation/{TabSection-CLig02Jq.js → TabSection-Di0SYL7X.js} +1 -1
- package/documentation/{TabSection-L8vvzdZq.js → TabSection-dsMwz13E.js} +1 -1
- package/documentation/{TabSelectSection-DovVypr5.js → TabSelectSection-BpbqlP7n.js} +1 -1
- package/documentation/{TabSelectSection-C3uSu4Tb.js → TabSelectSection-Bvb7eunu.js} +1 -1
- package/documentation/{TailwindConfigSection-Cae-h3MW.js → TailwindConfigSection-B_csna96.js} +1 -1
- package/documentation/{TailwindConfigSection-DhBuW-uS.js → TailwindConfigSection-BlZrFbRo.js} +1 -1
- package/documentation/{TestingSection-Bv6OBqHc.js → TestingSection-CTGhtMbC.js} +1 -1
- package/documentation/{TestingSection-D76WU2E_.js → TestingSection-gDlp2c6i.js} +1 -1
- package/documentation/{TextareaSection-BXDH8mQI.js → TextareaSection-BUb28uf9.js} +1 -1
- package/documentation/{TextareaSection-BAc73Q3K.js → TextareaSection-DVI2FN0w.js} +1 -1
- package/documentation/{ThemeArchitectureSection-DEqHdCLa.js → ThemeArchitectureSection-OAEQSwXw.js} +1 -1
- package/documentation/{ThemeArchitectureSection-DFcj4Sf9.js → ThemeArchitectureSection-R7ukBzZf.js} +1 -1
- package/documentation/{ThemeConfigurationSection-D299ICxo.js → ThemeConfigurationSection-B2HuLkPF.js} +10 -10
- package/documentation/{ThemeConfigurationSection-CmD-wjGZ.js → ThemeConfigurationSection-Go4dxqfS.js} +1 -1
- package/documentation/{ThemeHooksSection-DsAsY2qd.js → ThemeHooksSection-C33tvQEw.js} +1 -1
- package/documentation/{ThemeHooksSection-DOm5a7FR.js → ThemeHooksSection-kZu-s-uU.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-D9xmfEve.js → ThemeProviderIntegrationSection-Cj9xrgmY.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-1aykNRXQ.js → ThemeProviderIntegrationSection-DvgYf8Rt.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-sViX_FO7.js → ThemeProviderRequiredSection-DqP08VHV.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-DfNXhp3f.js → ThemeProviderRequiredSection-ScLygoBY.js} +1 -1
- package/documentation/{ThemeProviderSection-CT5hlFD2.js → ThemeProviderSection-6LHY1gR6.js} +1 -1
- package/documentation/{ThemeProviderSection-BFtuOM3w.js → ThemeProviderSection-D43ZRcch.js} +1 -1
- package/documentation/{ToastSection-DD18GmJl.js → ToastSection-CHIsWCMb.js} +1 -1
- package/documentation/{ToastSection-DoHzysF9.js → ToastSection-DKMWIbdY.js} +1 -1
- package/documentation/{ToggleBarSection-BpxFr9W6.js → ToggleBarSection-ByVhbSBC.js} +1 -1
- package/documentation/{ToggleBarSection-D3BYm7ZV.js → ToggleBarSection-DbkIzwZP.js} +1 -1
- package/documentation/{TooltipSection-5th4KA-K.js → TooltipSection-BEHBbMa3.js} +1 -1
- package/documentation/{TooltipSection-BeW0mvEG.js → TooltipSection-DTGXs9vT.js} +1 -1
- package/documentation/{TopupButtonSection-Cw92WCuk.js → TopupButtonSection-ClbM3sSZ.js} +1 -1
- package/documentation/{TopupButtonSection-C419_R5w.js → TopupButtonSection-DDZwSfM6.js} +1 -1
- package/documentation/{TransactionInfoSection-CF0j2oxc.js → TransactionInfoSection-CO5s67_e.js} +1 -1
- package/documentation/{TransactionInfoSection-cKwmQpgL.js → TransactionInfoSection-ZFQbN2wP.js} +1 -1
- package/documentation/{TucuUiLogoSection-BuasEv--.js → TucuUiLogoSection-BB5Zr58k.js} +1 -1
- package/documentation/{TucuUiLogoSection-NYK0oUdj.js → TucuUiLogoSection-CcGnK1Ai.js} +1 -1
- package/documentation/{TypographySection-CjGIv22g.js → TypographySection-BYKjiWVg.js} +1 -1
- package/documentation/{TypographySection-02IMtWN4.js → TypographySection-CS29TD-z.js} +1 -1
- package/documentation/{TypographySection-uhboa1b_.js → TypographySection-CgEGnQ1Q.js} +1 -1
- package/documentation/{TypographySection-CpjtNAfZ.js → TypographySection-DGjPTW0m.js} +1 -1
- package/documentation/{UsageExamplesSection-BmWz_idr.js → UsageExamplesSection-BNrxVQj2.js} +1 -1
- package/documentation/{UsageExamplesSection-BO_K1AHD.js → UsageExamplesSection-BiZ1MahQ.js} +1 -1
- package/documentation/{UsingThemeSystemSection-bYxrH_-c.js → UsingThemeSystemSection-CS0WVYk1.js} +9 -9
- package/documentation/{UsingThemeSystemSection-Dd8ZQrUl.js → UsingThemeSystemSection-vyxb3z51.js} +9 -9
- package/documentation/{ValidationSystemSection-Cvyf6j2T.js → ValidationSystemSection-BH4fYDTN.js} +1 -1
- package/documentation/{ValidationSystemSection-CBfiMPsL.js → ValidationSystemSection-BOIkiXR1.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-DmeJUV8c.js → WCAGPrinciplesSection-BQWhdatC.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-DAOi68Jt.js → WCAGPrinciplesSection-BoHN-ga-.js} +1 -1
- package/{index-B6CStnMG.js → index-B919yoKU.js} +222 -224
- package/{index-QnI4b7wS.js → index-COj1N7FC.js} +10 -10
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/themes/components/theme-provider/index.d.ts +3 -2
- package/themes/config/index.d.ts +9 -9
- package/themes/router/components/standalone-app-routes-provider.d.ts +2 -2
- package/documentation/BorderRadiusSection-BhNShk2O.js +0 -63
- package/documentation/BorderRadiusSection-D1lTcnl0.js +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ForwardedRef } from 'react';
|
|
2
1
|
export declare const acceptedFileType: {
|
|
3
2
|
img: string;
|
|
4
3
|
pdf: string;
|
|
@@ -32,13 +31,8 @@ export interface FileInputProps extends Omit<React.InputHTMLAttributes<HTMLInput
|
|
|
32
31
|
/** Pass containerClassName to style the container */
|
|
33
32
|
containerClassName?: string;
|
|
34
33
|
}
|
|
35
|
-
/** Upload component allows user to upload files either from file explorer or by dragging and dropping.
|
|
36
|
-
* The component implements native HTML5 drag and drop functionality without external dependencies.
|
|
37
|
-
* Here is the API documentation of Upload component. Rest of the props are same as html input field.
|
|
38
|
-
* You can use props like `disabled`, `multiple`, `capture` etc.
|
|
39
|
-
*/
|
|
40
|
-
export declare function FileInput({ accept, children, label, containerProps, additionalInputProps, placeholderText, containerClassName, wrapperClassName, labelClassName, onChange, multiple, ...props }: React.PropsWithChildren<FileInputProps>, ref: ForwardedRef<HTMLInputElement>): import("react/jsx-runtime").JSX.Element;
|
|
41
34
|
declare const FileInputWithRef: import('react').ForwardRefExoticComponent<FileInputProps & {
|
|
42
35
|
children?: import('react').ReactNode | undefined;
|
|
43
36
|
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
44
37
|
export default FileInputWithRef;
|
|
38
|
+
export { FileInputWithRef as FileInput };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Home: () => JSX.Element;
|
|
1
|
+
export declare const Home: () => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const BasicUsageWithCustomRouterExampleCode = "import {\n Button,\n CardContainer,\n Avatar,\n ThemeProvider,\n Typography,\n Badge,\n LucideIcons,\n ReactRouter,\n} from '@e-burgos/tucu-ui';\nimport '@e-burgos/tucu-ui/styles';\n\nfunction App() {\n return (\n <ThemeProvider\n showSettings\n layout=\"clean\"\n menuItems={[]}\n customRoutes={\n <ReactRouter.Routes>\n <ReactRouter.Route path=\"/\" element={<Home />} />\n <ReactRouter.Route path=\"/about\" element={<About />} />\n </ReactRouter.Routes>\n }\n />\n );\n}\n\nexport default App;\n\nexport const Home = (): JSX.Element => {\n const navigate = ReactRouter.useNavigate();\n const avatarImg =\n 'https://e7.pngegg.com/pngimages/799/987/png-clipart-computer-icons-avatar-icon-design-avatar-heroes-computer-wallpaper-thumbnail.png';\n\n return (\n <div className=\"min-h-full px-4 pb-16 pt-16 sm:px-6 sm:pb-20 lg:px-8 xl:pb-24 xl:pt-24
|
|
1
|
+
export declare const BasicUsageWithCustomRouterExampleCode = "import {\n Button,\n CardContainer,\n Avatar,\n ThemeProvider,\n Typography,\n Badge,\n LucideIcons,\n ReactRouter,\n} from '@e-burgos/tucu-ui';\nimport '@e-burgos/tucu-ui/styles';\n\nfunction App() {\n return (\n <ThemeProvider\n showSettings\n layout=\"clean\"\n menuItems={[]}\n customRoutes={\n <ReactRouter.Routes>\n <ReactRouter.Route path=\"/\" element={<Home />} />\n <ReactRouter.Route path=\"/about\" element={<About />} />\n </ReactRouter.Routes>\n }\n />\n );\n}\n\nexport default App;\n\nexport const Home = (): JSX.Element => {\n const navigate = ReactRouter.useNavigate();\n const avatarImg =\n 'https://e7.pngegg.com/pngimages/799/987/png-clipart-computer-icons-avatar-icon-design-avatar-heroes-computer-wallpaper-thumbnail.png';\n\n return (\n <div className=\"min-h-full px-4 pb-16 pt-16 sm:px-6 sm:pb-20 lg:px-8 xl:pb-24 xl:pt-24 min-[1780px]:px-10\">\n <CardContainer className=\"flex flex-col items-center justify-center p-6 gap-4\">\n <Avatar image={avatarImg} alt=\"Demo User\" size=\"md\" />\n <div className=\"flex flex-col\">\n <Typography tag=\"h3\" className=\"font-semibold mb-2 text-center\">\n Welcome to Tucu UI\n </Typography>\n <div className=\"flex flex-wrap gap-2 justify-center sm:justify-start\">\n <Badge status=\"active\">Production Ready</Badge>\n <Badge variant=\"outline\" color=\"info\">\n TypeScript\n </Badge>\n <Badge variant=\"outline\" color=\"success\">\n React Hook Form\n </Badge>\n <Badge variant=\"outline\" color=\"warning\">\n Tailwind CSS\n </Badge>\n </div>\n </div>\n <Button\n size=\"large\"\n shape=\"rounded\"\n variant=\"solid\"\n color=\"primary\"\n onClick={() => {\n navigate('/about');\n }}\n >\n <div className=\"flex justify-center items-center\">\n <LucideIcons.Zap className=\"w-4 h-4 mr-2\" />\n Go to About\n </div>\n </Button>\n </CardContainer>\n </div>\n );\n};\n\nexport const About = (): JSX.Element => {\n const navigate = ReactRouter.useNavigate();\n return (\n <div className=\"min-h-full px-4 pb-16 pt-16 sm:px-6 sm:pb-20 lg:px-8 xl:pb-24 xl:pt-24 min-[1780px]:px-10\">\n <CardContainer className=\"flex flex-col items-center justify-center p-6\">\n <div className=\"flex flex-col justify-center items-center gap-8 w-full px-4\">\n <Typography tag=\"h3\" className=\"font-semibold mb-4 text-center\">\n About My App\n </Typography>\n <div className=\"flex flex-wrap gap-2 justify-center sm:justify-start\">\n <ul className=\"list-disc list-inside\">\n <li className=\"mb-2\">\n This is a demo app built with Tucu UI, React, and Tailwind CSS.\n </li>\n <li className=\"mb-2\">\n It is a simple app that allows you to manage your tasks and\n projects.\n </li>\n <li className=\"mb-2\">\n All the components are built with Tucu UI and are fully\n responsive.\n </li>\n <li className=\"mb-2\">\n The app is fully responsive and works on all devices.\n </li>\n <li className=\"mb-2\">Routes are handled with React Router.</li>\n <li className=\"mb-2\">\n Theme is handled with ThemeProvider and Zustand.\n </li>\n <li className=\"mb-2\">Icons are handled with Lucide React.</li>\n </ul>\n </div>\n </div>\n <Button\n size=\"large\"\n shape=\"rounded\"\n variant=\"solid\"\n color=\"primary\"\n onClick={() => {\n navigate('/');\n }}\n >\n Go to Home\n </Button>\n </CardContainer>\n </div>\n );\n};\n";
|
|
@@ -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-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const i=[{key:"prop",label:"Property",render:r=>e.jsx("code",{className:"text-xs text-brand",children:String(r)})},{key:"type",label:"Type",render:r=>e.jsx("code",{className:"text-xs",children:String(r)})},{key:"required",label:"Required",render:r=>String(r)==="Yes"?e.jsx(t.Badge,{variant:"outline",className:"text-xs",children:"Yes"}):e.jsx(t.Badge,{variant:"outline",className:"text-xs",children:"Optional"})},{key:"description",label:"Description"}],s=[{prop:"name",type:"string",required:"Yes",description:"Display name for navigation menu"},{prop:"path",type:"string",required:"Yes",description:"URL path for the route"},{prop:"component",type:"JSX.Element",required:"Yes",description:"Component to render for this route"},{prop:"icon",type:"React.ReactNode",required:"Optional",description:"Icon to display in navigation"},{prop:"dropdownItems",type:"StandaloneAppRoutesMenuItem[]",required:"Optional",description:"Array of nested sub-routes"},{prop:"hide",type:"boolean",required:"Optional",description:"Hide route from navigation menu"},{prop:"isPublic",type:"boolean",required:"Optional",description:"Whether the route is publicly accessible (default: true)"}],n=[{key:"prop",label:"Property",render:r=>e.jsx("code",{className:"text-xs text-brand",children:String(r)})},{key:"type",label:"Type",render:r=>e.jsx("code",{className:"text-xs",children:String(r)})},{key:"required",label:"Required",render:r=>String(r)==="Yes"?e.jsx(t.Badge,{variant:"outline",className:"text-xs",children:"Yes"}):e.jsx(t.Badge,{variant:"outline",className:"text-xs",children:"Optional"})},{key:"description",label:"Description"}],a=[{prop:"key",type:"string",required:"Yes",description:"Unique identifier for the route"},{prop:"path",type:"string",required:"Yes",description:"URL path for the route"},{prop:"element",type:"JSX.Element",required:"Yes",description:"Component to render for this route"},{prop:"isPublic",type:"boolean",required:"Optional",description:"Whether the route is publicly accessible (default: false)"},{prop:"disabled",type:"boolean",required:"Optional",description:"Whether the route is disabled"}];return e.jsx("div",{className:"space-y-8",children:e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"API Reference",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(t.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Complete API reference for the routing system components and interfaces."}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"StandaloneAppRoutesMenuItem Properties"}),e.jsx(t.BasicTable,{columns:i,data:s})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"IAppRouteConfig Properties (MFE)"}),e.jsx(t.BasicTable,{columns:n,data:a})]})]})]})})})})};exports.default=l;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { C as s, a as l, T as i, q as n, J as a } from "../index-
|
|
2
|
+
import { C as s, a as l, T as i, q as n, J as a } from "../index-B919yoKU.js";
|
|
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-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>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:"ActiveLink"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A link component that automatically applies an active class when the current path matches the link path."})]}),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:"Active Link"}),e.jsxs("div",{className:"flex gap-4",children:[e.jsx(t.ActiveLink,{to:"/components",path:"/components",children:"Components"}),e.jsx(t.ActiveLink,{to:"/about",path:"/about",children:"About"})]})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"With Custom Active Class"}),e.jsx(t.ActiveLink,{to:"/home",path:"/home",activeClassName:"text-brand font-bold",children:"Home"})]})]})})})}),e.jsx(t.PropPlayground,{componentName:"ActiveLink",defaultValues:{path:"/demo",activeClassName:"active"},excludeProps:["state","to"],children:a=>e.jsx(t.ActiveLink,{...a,to:"#",children:"Active Link Example"})}),e.jsx(t.AutoPropsTable,{componentName:"ActiveLink"}),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 { ActiveLink } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<ActiveLink to="/components" path="/components">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as a, C as i, a as o, a5 as c, P as l, A as m, c as r } from "../index-
|
|
2
|
+
import { T as a, C as i, a as o, a5 as c, P as l, A as m, c as r } from "../index-B919yoKU.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, Fragment as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as c, a as o, c as d } from "../index-
|
|
2
|
+
import { T as r, C as c, a as o, c as d } from "../index-B919yoKU.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -25,14 +25,7 @@ const u = () => /* @__PURE__ */ e(i, { children: [
|
|
|
25
25
|
] }),
|
|
26
26
|
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-6", children: [
|
|
27
27
|
/* @__PURE__ */ a(c, { children: /* @__PURE__ */ a(o, { title: "Color Layers", className: "mt-2 mb-6", children: /* @__PURE__ */ e("div", { className: "space-y-4", children: [
|
|
28
|
-
/* @__PURE__ */ a(
|
|
29
|
-
r,
|
|
30
|
-
{
|
|
31
|
-
tag: "p",
|
|
32
|
-
className: "text-gray-600 dark:text-gray-400",
|
|
33
|
-
children: "The theming system supports multiple color layers for comprehensive theming:"
|
|
34
|
-
}
|
|
35
|
-
),
|
|
28
|
+
/* @__PURE__ */ a(r, { tag: "p", className: "text-gray-600 dark:text-gray-400", children: "The theming system supports multiple color layers for comprehensive theming:" }),
|
|
36
29
|
/* @__PURE__ */ a("div", { className: "space-y-3", children: [
|
|
37
30
|
{
|
|
38
31
|
layer: "Primary",
|
|
@@ -50,13 +43,13 @@ const u = () => /* @__PURE__ */ e(i, { children: [
|
|
|
50
43
|
layer: "Secondary",
|
|
51
44
|
description: "Supporting color for accents",
|
|
52
45
|
variable: "--color-semantic-bg-secondary",
|
|
53
|
-
default: "#
|
|
46
|
+
default: "#f3f4f6 (DEFAULT_SECONDARY)"
|
|
54
47
|
},
|
|
55
48
|
{
|
|
56
49
|
layer: "Dark Secondary",
|
|
57
50
|
description: "Secondary color for dark mode",
|
|
58
51
|
variable: "--color-semantic-dark-bg-secondary",
|
|
59
|
-
default: "#
|
|
52
|
+
default: "#172131 (DEFAULT_DARK_SECONDARY)"
|
|
60
53
|
},
|
|
61
54
|
{
|
|
62
55
|
layer: "Accent",
|
|
@@ -74,19 +67,19 @@ const u = () => /* @__PURE__ */ e(i, { children: [
|
|
|
74
67
|
layer: "Muted",
|
|
75
68
|
description: "Muted text color",
|
|
76
69
|
variable: "--color-semantic-fg-muted",
|
|
77
|
-
default: "#
|
|
70
|
+
default: "#4a5565 (DEFAULT_MUTED)"
|
|
78
71
|
},
|
|
79
72
|
{
|
|
80
73
|
layer: "Dark Muted",
|
|
81
74
|
description: "Muted text color for dark mode",
|
|
82
75
|
variable: "--color-semantic-dark-fg-muted",
|
|
83
|
-
default: "#
|
|
76
|
+
default: "#828a99 (DEFAULT_DARK_MUTED)"
|
|
84
77
|
},
|
|
85
78
|
{
|
|
86
79
|
layer: "Dark Background",
|
|
87
80
|
description: "Dark theme base color",
|
|
88
81
|
variable: "--color-semantic-dark-bg",
|
|
89
|
-
default: "#
|
|
82
|
+
default: "#030712 (DEFAULT_DARK_BG)"
|
|
90
83
|
},
|
|
91
84
|
{
|
|
92
85
|
layer: "Light Background",
|
|
@@ -98,13 +91,13 @@ const u = () => /* @__PURE__ */ e(i, { children: [
|
|
|
98
91
|
layer: "Light Dark",
|
|
99
92
|
description: "Light theme secondary background",
|
|
100
93
|
variable: "--color-semantic-bg-secondary-wash",
|
|
101
|
-
default: "#
|
|
94
|
+
default: "#f9fafb (DEFAULT_LIGHT_DARK)"
|
|
102
95
|
},
|
|
103
96
|
{
|
|
104
97
|
layer: "Dark Light Dark",
|
|
105
98
|
description: "Dark theme secondary background",
|
|
106
99
|
variable: "--color-semantic-dark-bg-secondary-wash",
|
|
107
|
-
default: "#
|
|
100
|
+
default: "#0a101d (DEFAULT_DARK_LIGHT_DARK)"
|
|
108
101
|
}
|
|
109
102
|
].map((t, l) => /* @__PURE__ */ e(
|
|
110
103
|
"div",
|
|
@@ -146,26 +139,14 @@ const u = () => /* @__PURE__ */ e(i, { children: [
|
|
|
146
139
|
l
|
|
147
140
|
)) })
|
|
148
141
|
] }) }) }),
|
|
149
|
-
/* @__PURE__ */ a(c, { children: /* @__PURE__ */ a(
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
{
|
|
158
|
-
tag: "p",
|
|
159
|
-
className: "text-gray-600 dark:text-gray-400",
|
|
160
|
-
children: "Advanced color manipulation using CSS color-mix() for automatic variations:"
|
|
161
|
-
}
|
|
162
|
-
),
|
|
163
|
-
/* @__PURE__ */ a(
|
|
164
|
-
d,
|
|
165
|
-
{
|
|
166
|
-
language: "css",
|
|
167
|
-
expanded: !1,
|
|
168
|
-
code: `/* Theme colors are available via CSS variables */
|
|
142
|
+
/* @__PURE__ */ a(c, { children: /* @__PURE__ */ a(o, { title: "Dynamic Color Mixing", className: "mt-2 mb-6 h-full", children: /* @__PURE__ */ e("div", { className: "space-y-4", children: [
|
|
143
|
+
/* @__PURE__ */ a(r, { tag: "p", className: "text-gray-600 dark:text-gray-400", children: "Advanced color manipulation using CSS color-mix() for automatic variations:" }),
|
|
144
|
+
/* @__PURE__ */ a(
|
|
145
|
+
d,
|
|
146
|
+
{
|
|
147
|
+
language: "css",
|
|
148
|
+
expanded: !1,
|
|
149
|
+
code: `/* Theme colors are available via CSS variables */
|
|
169
150
|
--color-semantic-bg-primary: var(--color-tucu-ui-blue-60);
|
|
170
151
|
--color-semantic-dark-bg-primary: var(--color-tucu-ui-dark-blue-70);
|
|
171
152
|
--color-semantic-bg-secondary: var(--color-tucu-ui-gray-10);
|
|
@@ -182,11 +163,9 @@ const u = () => /* @__PURE__ */ e(i, { children: [
|
|
|
182
163
|
.bg-brand/50 /* 50% opacity */
|
|
183
164
|
.text-brand/80 /* 80% opacity */
|
|
184
165
|
.border-brand/30 /* 30% opacity */`
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}
|
|
189
|
-
) })
|
|
166
|
+
}
|
|
167
|
+
)
|
|
168
|
+
] }) }) })
|
|
190
169
|
] })
|
|
191
170
|
] });
|
|
192
171
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"text-center",children:[a.jsx(e.Typography,{tag:"h2",className:"mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",children:"Advanced Color System"}),a.jsx(e.Typography,{tag:"p",className:"text-base sm:text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto",children:"Multi-layered color architecture with dynamic theming capabilities"})]}),a.jsxs("div",{className:"grid grid-cols-1 gap-6",children:[a.jsx(e.CardContainer,{children:a.jsx(e.CardTitle,{title:"Color Layers",className:"mt-2 mb-6",children:a.jsxs("div",{className:"space-y-4",children:[a.jsx(e.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"The theming system supports multiple color layers for comprehensive theming:"}),a.jsx("div",{className:"space-y-3",children:[{layer:"Primary",description:"Primary brand identity color",variable:"--color-semantic-bg-primary",default:"#0052ff (DEFAULT_PRIMARY)"},{layer:"Dark Primary",description:"Primary color for dark mode",variable:"--color-semantic-dark-bg-primary",default:"#578bfa (DEFAULT_DARK_PRIMARY)"},{layer:"Secondary",description:"Supporting color for accents",variable:"--color-semantic-bg-secondary",default:"#f3f4f6 (DEFAULT_SECONDARY)"},{layer:"Dark Secondary",description:"Secondary color for dark mode",variable:"--color-semantic-dark-bg-secondary",default:"#172131 (DEFAULT_DARK_SECONDARY)"},{layer:"Accent",description:"Highlight color for actions",variable:"--color-semantic-accent-bold-yellow",default:"#f7d21a (DEFAULT_ACCENT)"},{layer:"Dark Accent",description:"Accent color for dark mode",variable:"--color-semantic-dark-accent-bold-yellow",default:"#936000 (DEFAULT_DARK_ACCENT)"},{layer:"Muted",description:"Muted text color",variable:"--color-semantic-fg-muted",default:"#4a5565 (DEFAULT_MUTED)"},{layer:"Dark Muted",description:"Muted text color for dark mode",variable:"--color-semantic-dark-fg-muted",default:"#828a99 (DEFAULT_DARK_MUTED)"},{layer:"Dark Background",description:"Dark theme base color",variable:"--color-semantic-dark-bg",default:"#030712 (DEFAULT_DARK_BG)"},{layer:"Light Background",description:"Light theme base color",variable:"--color-semantic-bg",default:"#ffffff (DEFAULT_LIGHT_BG)"},{layer:"Light Dark",description:"Light theme secondary background",variable:"--color-semantic-bg-secondary-wash",default:"#f9fafb (DEFAULT_LIGHT_DARK)"},{layer:"Dark Light Dark",description:"Dark theme secondary background",variable:"--color-semantic-dark-bg-secondary-wash",default:"#0a101d (DEFAULT_DARK_LIGHT_DARK)"}].map((r,t)=>a.jsxs("div",{className:"p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[a.jsxs("div",{className:"flex items-center justify-between mb-2",children:[a.jsx(e.Typography,{tag:"h5",className:"font-semibold text-sm",children:r.layer}),a.jsx(e.Typography,{tag:"code",className:"text-xs text-gray-500 dark:text-gray-400",children:r.variable})]}),a.jsx(e.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-1",children:r.description}),a.jsxs(e.Typography,{tag:"p",className:"text-xs text-gray-500 dark:text-gray-500",children:["Default: ",r.default]})]},t))})]})})}),a.jsx(e.CardContainer,{children:a.jsx(e.CardTitle,{title:"Dynamic Color Mixing",className:"mt-2 mb-6 h-full",children:a.jsxs("div",{className:"space-y-4",children:[a.jsx(e.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Advanced color manipulation using CSS color-mix() for automatic variations:"}),a.jsx(e.CodeBlock,{language:"css",expanded:!1,code:`/* Theme colors are available via CSS variables */
|
|
2
2
|
--color-semantic-bg-primary: var(--color-tucu-ui-blue-60);
|
|
3
3
|
--color-semantic-dark-bg-primary: var(--color-tucu-ui-dark-blue-70);
|
|
4
4
|
--color-semantic-bg-secondary: var(--color-tucu-ui-gray-10);
|
package/documentation/{AdvancedFeaturesSection-DfczHWMU.js → AdvancedFeaturesSection-7lV7C31c.js}
RENAMED
|
@@ -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-COj1N7FC.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center",children:[e.jsx(i.Typography,{tag:"h2",className:"mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",children:"Advanced Features"}),e.jsx(i.Typography,{tag:"p",className:"text-base sm:text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto",children:"Powerful features for complex form scenarios"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[{icon:e.jsx(t.GitBranch,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Conditional Fields",description:"Show/hide fields based on other field values with dynamic validation",color:"from-blue-500 via-indigo-500 to-purple-500"},{icon:e.jsx(t.Plus,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Dynamic Arrays",description:"Handle dynamic lists of fields with add/remove functionality",color:"from-green-500 via-emerald-500 to-teal-500"},{icon:e.jsx(t.ArrowRight,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Multi-Step Forms",description:"Wizard-style forms with step validation and progress tracking",color:"from-orange-500 via-red-500 to-pink-500"},{icon:e.jsx(t.Zap,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Async Validation",description:"Server-side validation with debouncing and loading states",color:"from-purple-500 via-violet-500 to-indigo-500"},{icon:e.jsx(t.Eye,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Form State Management",description:"Real-time access to form state, values, and validation status",color:"from-pink-500 via-rose-500 to-red-500"},{icon:e.jsx(t.AlertTriangle,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Error Handling",description:"Comprehensive error handling with custom error display options",color:"from-yellow-500 via-orange-500 to-red-500"}].map((r,a)=>e.jsx(i.CardContainer,{className:"group hover:shadow-large transition-all duration-300 hover:-translate-y-1",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:`p-3 rounded-xl bg-linear-to-br ${r.color} group-hover:scale-110 transition-all duration-300 shadow-lg`,children:r.icon}),e.jsx(i.Typography,{tag:"h3",className:"font-semibold text-lg group-hover:text-primary transition-colors duration-300",children:r.title})]}),e.jsx(i.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 leading-relaxed",children:r.description})]})},a))})]});exports.default=o;
|
package/documentation/{AdvancedFeaturesSection-CT5LPMRT.js → AdvancedFeaturesSection-D-Ffzpz3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as a, C as s } from "../index-
|
|
2
|
+
import { T as a, C as s } from "../index-B919yoKU.js";
|
|
3
3
|
import { Globe as l, Save as n, Layers as c } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
package/documentation/{AdvancedFeaturesSection-CPokeoIR.js → AdvancedFeaturesSection-RfxchAOl.js}
RENAMED
|
@@ -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-COj1N7FC.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center",children:[e.jsx(t.Typography,{tag:"h2",className:"mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",children:"Advanced Features"}),e.jsx(t.Typography,{tag:"p",className:"text-base sm:text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto",children:"Powerful features for complex theming scenarios"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[{icon:e.jsx(a.Globe,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"RTL/LTR Support",description:"Full right-to-left language support with automatic layout adjustments",color:"from-blue-500 via-indigo-500 to-purple-500"},{icon:e.jsx(a.Save,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Persistent Settings",description:"Automatic localStorage integration for user preference persistence",color:"from-green-500 via-emerald-500 to-teal-500"},{icon:e.jsx(a.Layers,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Custom Routes",description:"Advanced routing scenarios with custom route configuration",color:"from-orange-500 via-red-500 to-pink-500"}].map((r,s)=>e.jsx(t.CardContainer,{className:"group hover:shadow-large transition-all duration-300 hover:-translate-y-1",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:`p-3 rounded-xl bg-gradient-to-br ${r.color} group-hover:scale-110 transition-all duration-300 shadow-lg`,children:r.icon}),e.jsx(t.Typography,{tag:"h3",className:"font-semibold text-lg group-hover:text-primary transition-colors duration-300",children:r.title})]}),e.jsx(t.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 leading-relaxed",children:r.description})]})},s))})]});exports.default=o;
|
package/documentation/{AdvancedFeaturesSection-wx6bqfbU.js → AdvancedFeaturesSection-WW45iO-b.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as s } from "../index-
|
|
2
|
+
import { T as r, C as s } from "../index-B919yoKU.js";
|
|
3
3
|
import { GitBranch as l, Plus as d, ArrowRight as n, Zap as c, Eye as m, AlertTriangle as h } 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-COj1N7FC.js");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(s.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Alert"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"An alert component for displaying important messages and notifications with different variants and dismissible functionality."})]}),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:"Info Alert"}),e.jsx(s.Alert,{variant:"info",children:e.jsx(s.Typography,{tag:"p",children:"This is an informational message."})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Success Alert"}),e.jsx(s.Alert,{variant:"success",children:e.jsx(s.Typography,{tag:"p",children:"Operation completed successfully!"})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Warning Alert"}),e.jsx(s.Alert,{variant:"warning",children:e.jsx(s.Typography,{tag:"p",children:"Please review this information carefully."})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Error Alert"}),e.jsx(s.Alert,{variant:"error",children:e.jsx(s.Typography,{tag:"p",children:"An error occurred. Please try again."})})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.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:"space-y-4",children:[e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Non-dismissible Alert"}),e.jsx(s.Alert,{variant:"info",dismissible:!1,children:e.jsx(s.Typography,{tag:"p",children:"This alert cannot be dismissed."})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Custom onDismiss"}),e.jsx(s.Alert,{variant:"success",onDismiss:()=>console.log("Alert dismissed"),children:e.jsx(s.Typography,{tag:"p",children:"This alert has a custom dismiss handler."})})]})]})})})}),e.jsx(s.PropPlayground,{componentName:"Alert",defaultValues:{variant:"info",dismissible:!0},excludeProps:["onDismiss","aria-label"],children:a=>e.jsx(s.Alert,{...a,children:"This is an alert message for the playground preview."})}),e.jsx(s.AutoPropsTable,{componentName:"Alert"}),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 { Alert, Typography } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<Alert variant="info">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as a, C as i, a as l, ag as r, P as c, A as m, c as d } from "../index-
|
|
2
|
+
import { T as a, C as i, a as l, ag as r, P as c, A as m, c as d } from "../index-B919yoKU.js";
|
|
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"),n=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const a=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(n.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"AnchorLink"}),e.jsx(n.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A smart link component that automatically handles both internal routes and external URLs."})]}),e.jsx(n.CardContainer,{className:"overflow-hidden",children:e.jsx(n.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(n.CardContainer,{className:"p-4",children:[e.jsx(n.Typography,{tag:"h5",className:"mb-3",children:"Internal Link"}),e.jsx(n.AnchorLink,{to:"/components",children:"Go to Components"})]}),e.jsxs(n.CardContainer,{className:"p-4",children:[e.jsx(n.Typography,{tag:"h5",className:"mb-3",children:"External Link"}),e.jsx(n.AnchorLink,{to:n.GITHUB_URL,target:"_blank",children:"External Link"})]})]})})})}),e.jsx(n.PropPlayground,{componentName:"AnchorLink",defaultValues:{},excludeProps:["state","to"],children:r=>e.jsx(n.AnchorLink,{...r,to:"#",children:"Anchor Link Example"})}),e.jsx(n.AutoPropsTable,{componentName:"AnchorLink"}),e.jsx(n.CardContainer,{className:"overflow-hidden",children:e.jsx(n.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(n.CodeBlock,{language:"tsx",code:`import { AnchorLink } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Internal link (uses React Router Link)
|
|
4
4
|
<AnchorLink to="/components">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as n, C as t, a as o, a6 as l, a7 as i, P as c, A as m, c as d } from "../index-
|
|
2
|
+
import { T as n, C as t, a as o, a6 as l, a7 as i, P as c, A as m, c as d } from "../index-B919yoKU.js";
|
|
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 a } from "react/jsx-runtime";
|
|
2
|
-
import { C as i, a as d, T as t, ag as m, q as p, c as r } from "../index-
|
|
2
|
+
import { C as i, a as d, T as t, ag as m, q as p, c as r } from "../index-B919yoKU.js";
|
|
3
3
|
import { GitCompare as h, Lightbulb as l, Package as u, Check as s, Circle as n, Box as g, ArrowRight as o } 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"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-COj1N7FC.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const t=[{key:"feature",label:"Feature",render:i=>e.jsx(a.Typography,{tag:"span",className:"font-medium",children:String(i)})},{key:"standalone",label:"Standalone App"},{key:"mfe",label:"Micro Frontends (MFE)"}],r=[{feature:"Route Configuration",standalone:"menuItems (automatic generation)",mfe:"appRoutesConfig (explicit configuration)"},{feature:"Base Path",standalone:"Not required (uses root /)",mfe:"Required (e.g., /my-app)"},{feature:"Route Generation",standalone:"Automatic from menuItems",mfe:"Manual via appRoutesConfig"},{feature:"Nested Routes",standalone:"Supported via dropdownItems",mfe:"Supported via nested routes in config"},{feature:"Custom Routes",standalone:"Optional customRoutes prop",mfe:"Not available"},{feature:"Authentication",standalone:"Basic support via isPublic",mfe:"Advanced support with isPublic per route"},{feature:"Route Disabling",standalone:"Not directly supported",mfe:"Supported via disabled prop"},{feature:"Deployment",standalone:"Single deployment",mfe:"Independent deployments per app"},{feature:"Use Case",standalone:"Traditional SPAs, monolithic apps",mfe:"Distributed architectures, micro frontends"},{feature:"TypeScript Safety",standalone:"Enforced via discriminated unions",mfe:"Enforced via discriminated unions"}];return e.jsx("div",{className:"space-y-8",children:e.jsx(a.CardContainer,{children:e.jsx(a.CardTitle,{title:"Architectural Patterns: Standalone vs MFE",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-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-indigo-500 to-purple-500 shadow-lg",children:e.jsx(s.GitCompare,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:"Pattern Comparison & Selection Guide"})]}),e.jsxs(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["Understanding the differences between Standalone and MFE patterns helps you choose the right architecture for your project. Both patterns use the same"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"ThemeProvider"})," ","component, but with different configuration approaches and use cases."]}),e.jsx(a.Alert,{variant:"info",dismissible:!1,children:e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s.Lightbulb,{className:"w-4 h-4"}),e.jsx(a.Typography,{tag:"span",className:"font-semibold",children:"TypeScript Safety"})]}),e.jsxs(a.Typography,{tag:"p",className:"text-sm",children:["Both patterns use TypeScript discriminated unions to enforce the correct props. The"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"architecturalPatterns"})," ","prop determines which props are available, preventing configuration errors at compile time."]})]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx(a.Typography,{tag:"h4",className:"font-semibold text-lg",children:"Feature Comparison"}),e.jsx(a.BasicTable,{columns:t,data:r})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg",children:e.jsx(s.Package,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:"Standalone App Pattern"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"font-semibold text-sm mb-2",children:"When to Use:"}),e.jsxs("ul",{className:"space-y-2 text-sm text-gray-600 dark:text-gray-400",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Traditional single-page applications"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"All routes in one codebase"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Simple deployment model"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Want automatic route generation"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"No need for route isolation"})]})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"font-semibold text-sm mb-2",children:"Key Advantages:"}),e.jsxs("ul",{className:"space-y-1 text-sm text-gray-600 dark:text-gray-400",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Simple configuration with menuItems"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Automatic route generation"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Nested routes via dropdownItems"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Optional customRoutes override"})]})]})]})]}),e.jsx("div",{className:"mt-4 p-3 bg-light-dark rounded-lg",children:e.jsx(a.CodeBlock,{language:"tsx",code:`// Use Standalone App Pattern when:
|
|
2
2
|
// ✅ Building a traditional single-page application
|
|
3
3
|
// ✅ All routes are in one codebase
|
|
4
4
|
// ✅ You want automatic route generation
|
|
@@ -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-COj1N7FC.js"),i=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center",children:[e.jsx(r.Typography,{tag:"h2",className:"mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",children:"Architecture Overview"}),e.jsx(r.Typography,{tag:"p",className:"text-base sm:text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto",children:"Built on React Hook Form for performance and developer experience"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[{icon:e.jsx(i.Box,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Form Container",description:"Main wrapper with built-in state management and submission handling",color:"from-blue-500 via-indigo-500 to-purple-500"},{icon:e.jsx(i.Layers,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"FormField Wrapper",description:"Connects inputs to validation with automatic error handling",color:"from-green-500 via-emerald-500 to-teal-500"},{icon:e.jsx(i.CheckCircle,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Validation System",description:"Built-in and custom validation rules with TypeScript support",color:"from-orange-500 via-red-500 to-pink-500"},{icon:e.jsx(i.Zap,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Performance",description:"Minimal re-renders with optimized form state management",color:"from-purple-500 via-violet-500 to-indigo-500"}].map((t,a)=>e.jsx(r.CardContainer,{className:"group hover:shadow-large transition-all duration-300 hover:-translate-y-1",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",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`,children:t.icon}),e.jsx(r.Typography,{tag:"h3",className:"font-semibold text-lg group-hover:text-primary transition-colors duration-300",children:t.title})]}),e.jsx(r.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 leading-relaxed text-sm",children:t.description})]})},a))})]});exports.default=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as i, C as l } from "../index-
|
|
2
|
+
import { T as i, C as l } from "../index-B919yoKU.js";
|
|
3
3
|
import { Box as s, Layers as n, CheckCircle as d, Zap 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-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const a=[{name:"Jan",users:400,sessions:2400,pageViews:4400},{name:"Feb",users:300,sessions:1398,pageViews:3210},{name:"Mar",users:500,sessions:3800,pageViews:5400},{name:"Apr",users:780,sessions:3908,pageViews:6200},{name:"May",users:890,sessions:4800,pageViews:7100},{name:"Jun",users:1200,sessions:5800,pageViews:9400},{name:"Jul",users:1500,sessions:6300,pageViews:11e3}],t=()=>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:"AreaChart"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Area chart component for visualizing volume and trends over time with gradient fills, stacking, and smooth curves."})]}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Basic Area Chart with Gradient",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.AreaChart,{data:a,series:[{dataKey:"users",name:"Users"},{dataKey:"sessions",name:"Sessions"}],height:300,gradient:!0})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Stacked Area Chart",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.AreaChart,{data:a,series:[{dataKey:"users",name:"Users",stackId:"a"},{dataKey:"sessions",name:"Sessions",stackId:"a"},{dataKey:"pageViews",name:"Page Views",stackId:"a"}],stacked:!0,height:300})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Without Gradient (Flat)",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.AreaChart,{data:a,series:[{dataKey:"users",name:"Users"},{dataKey:"sessions",name:"Sessions"}],gradient:!1,curved:!1,height:300})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Usage",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.CodeBlock,{code:`import { AreaChart } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const data = [
|
|
4
4
|
{ name: 'Jan', users: 400, sessions: 2400 },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as n, C as s, a, m as t, c as l, P as m, A as c } from "../index-
|
|
2
|
+
import { T as n, C as s, a, m as t, c as l, P as m, A as c } from "../index-B919yoKU.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, Fragment as n, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as t, a as m, D as o, P as s, A as d, c as h } from "../index-
|
|
2
|
+
import { T as r, C as t, a as m, D as o, P as s, A as d, c as h } from "../index-B919yoKU.js";
|
|
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 a=require("react/jsx-runtime"),e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r=require("../1-CArqgiQa.js"),o=()=>a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx(e.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"AuthorCard"}),a.jsx(e.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A card component for displaying author information with avatar, name, and role."})]}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Name and Role"}),a.jsx(e.AuthorCard,{image:r.avatar1Img,name:"John Doe",authorRole:"Senior Developer"})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Name Only"}),a.jsx(e.AuthorCard,{image:r.avatar1Img,name:"Jane Smith"})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Avatar Only"}),a.jsx(e.AuthorCard,{image:r.avatar1Img})]})]})})})}),a.jsx(e.PropPlayground,{componentName:"AuthorCard",defaultValues:{name:"John Doe",authorRole:"Developer",image:"https://randomuser.me/api/portraits/men/1.jpg"},excludeProps:[],children:t=>a.jsx(e.AuthorCard,{...t})}),a.jsx(e.AutoPropsTable,{componentName:"AuthorCard"}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.CodeBlock,{language:"tsx",code:`import { AuthorCard } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// With name and role
|
|
4
4
|
<AuthorCard
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, Fragment as d, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { T as i, C as t, a as l, W as s, P as c, A as n, c as o } from "../index-
|
|
2
|
+
import { T as i, C as t, a as l, W as s, P as c, A as n, c as o } from "../index-B919yoKU.js";
|
|
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 a=require("react/jsx-runtime"),e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=require("../1-CArqgiQa.js"),t=()=>a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx(e.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Avatar"}),a.jsx(e.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A versatile avatar component for displaying user profile images with multiple sizes and shapes."})]}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Default Avatar"}),a.jsx(e.Avatar,{image:s.avatar1Img,alt:"User avatar"})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Without Border"}),a.jsx(e.Avatar,{image:s.avatar1Img,alt:"User avatar",border:!1})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Sizes"}),a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx(e.Avatar,{image:s.avatar1Img,alt:"XS",size:"xs"}),a.jsx(e.Avatar,{image:s.avatar1Img,alt:"SM",size:"sm"}),a.jsx(e.Avatar,{image:s.avatar1Img,alt:"MD",size:"md"}),a.jsx(e.Avatar,{image:s.avatar1Img,alt:"LG",size:"lg"}),a.jsx(e.Avatar,{image:s.avatar1Img,alt:"XL",size:"xl"})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Shapes"}),a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx(e.Avatar,{image:s.avatar1Img,alt:"Circle",shape:"circle"}),a.jsx(e.Avatar,{image:s.avatar1Img,alt:"Rounded",shape:"rounded"})]})]})]})})})}),a.jsx(e.PropPlayground,{componentName:"Avatar",defaultValues:{size:"md",shape:"circle",border:!0,image:"https://randomuser.me/api/portraits/men/1.jpg",alt:"Avatar"},children:r=>a.jsx(e.Avatar,{...r})}),a.jsx(e.AutoPropsTable,{componentName:"Avatar"}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.CodeBlock,{language:"tsx",code:`import { Avatar } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<Avatar image="/path/to/image.jpg" alt="User name" />
|
|
@@ -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-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>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:"Badge"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A badge component for displaying status indicators and labels with various styles and sizes."})]}),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-6",children:[e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Status Badges"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx(a.Badge,{status:"active",children:"Active"}),e.jsx(a.Badge,{status:"inactive",children:"Inactive"}),e.jsx(a.Badge,{status:"pending",children:"Pending"}),e.jsx(a.Badge,{status:"default",children:"Default"})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Status Indicators (Dots Only)"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a.Badge,{status:"active",withDot:!0}),e.jsx("span",{className:"text-sm",children:"Online"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a.Badge,{status:"inactive",withDot:!0}),e.jsx("span",{className:"text-sm",children:"Offline"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a.Badge,{status:"pending",withDot:!0}),e.jsx("span",{className:"text-sm",children:"Away"})]})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Dot Indicator"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx(a.Badge,{status:"active",withDot:!0,children:"Active"}),e.jsx(a.Badge,{status:"inactive",withDot:!0,children:"Inactive"}),e.jsx(a.Badge,{status:"pending",withDot:!0,children:"Pending"})]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Colors",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx(a.Badge,{color:"primary",children:"Primary"}),e.jsx(a.Badge,{color:"success",children:"Success"}),e.jsx(a.Badge,{color:"info",children:"Info"}),e.jsx(a.Badge,{color:"warning",children:"Warning"}),e.jsx(a.Badge,{color:"danger",children:"Danger"}),e.jsx(a.Badge,{color:"gray",children:"Gray"})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx(a.Badge,{size:"tiny",color:"primary",children:"Tiny"}),e.jsx(a.Badge,{size:"small",color:"primary",children:"Small"}),e.jsx(a.Badge,{size:"medium",color:"primary",children:"Medium"}),e.jsx(a.Badge,{size:"large",color:"primary",children:"Large"})]})})})}),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:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx(a.Badge,{variant:"solid",color:"primary",children:"Primary"}),e.jsx(a.Badge,{variant:"solid",color:"success",children:"Success"}),e.jsx(a.Badge,{variant:"solid",color:"danger",children:"Danger"})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Soft"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx(a.Badge,{variant:"soft",color:"primary",children:"Primary"}),e.jsx(a.Badge,{variant:"soft",color:"success",children:"Success"}),e.jsx(a.Badge,{variant:"soft",color:"danger",children:"Danger"})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Outline"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx(a.Badge,{variant:"outline",color:"primary",children:"Primary"}),e.jsx(a.Badge,{variant:"outline",color:"success",children:"Success"}),e.jsx(a.Badge,{variant:"outline",color:"danger",children:"Danger"})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Ghost"}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx(a.Badge,{variant:"ghost",color:"primary",children:"Primary"}),e.jsx(a.Badge,{variant:"ghost",color:"success",children:"Success"}),e.jsx(a.Badge,{variant:"ghost",color:"danger",children:"Danger"})]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Shapes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx(a.Badge,{shape:"rounded",color:"primary",children:"Rounded"}),e.jsx(a.Badge,{shape:"pill",color:"success",children:"Pill"}),e.jsx(a.Badge,{shape:"circle",color:"danger",size:"large",withDot:!0})]})})})}),e.jsx(a.PropPlayground,{componentName:"Badge",defaultValues:{variant:"solid",size:"small",shape:"pill",color:"primary",withDot:!1},excludeProps:["status"],children:s=>e.jsx(a.Badge,{...s,children:"Badge"})}),e.jsx(a.AutoPropsTable,{componentName:"Badge"}),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 { Badge } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage with status
|
|
4
4
|
<Badge status="active">Active</Badge>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as l, C as r, a as s, J as a, P as d, A as n, c as o } from "../index-
|
|
2
|
+
import { T as l, C as r, a as s, J as a, P as d, A as n, c as o } from "../index-B919yoKU.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as d, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { T as n, C as e, a as t, l as s, c as i, P as m, A as c } from "../index-
|
|
2
|
+
import { T as n, C as e, a as t, l as s, c as i, P as m, A as c } from "../index-B919yoKU.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|