@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 +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"),o=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>e.jsxs(e.Fragment,{children:[e.jsx(r.Alert,{variant:"warning",children:e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 font-semibold",children:[e.jsx(o.AlertTriangle,{className:"h-4 w-4"}),"ThemeProvider Required"]}),e.jsxs("div",{children:["Before using any layout components or theme hooks, you MUST wrap your application with ThemeProvider. All layout components and theme hooks depend on the theme context provided by ThemeProvider. Located in"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-700 rounded text-xs",children:"ui/tucu-ui/src/themes/components/theme-provider"}),"."]})]})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Routing System",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs(r.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:[e.jsx("strong",{children:"ThemeProvider"})," includes"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-700 rounded text-xs",children:"BrowserRouter"})," ","from React Router and handles routing automatically. You have two options:"]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"p-4 bg-blue-50 dark:bg-blue-900/20 rounded-lg border border-blue-200 dark:border-blue-800",children:[e.jsx(r.Typography,{tag:"h4",className:"font-semibold mb-2",children:"1. Automatic Routing (Default)"}),e.jsxs(r.Typography,{tag:"p",className:"text-sm text-gray-700 dark:text-gray-300 mb-2",children:["Provide ",e.jsx("code",{children:"menuItems"})," with ",e.jsx("code",{children:"component"})," ","prop. ThemeProvider will automatically generate routes from your menu items."]}),e.jsxs(r.Typography,{tag:"p",className:"text-xs text-gray-600 dark:text-gray-400",children:[e.jsx("strong",{children:"Use when:"})," You want routing based on menu items. Each menu item with a ",e.jsx("code",{children:"component"})," prop becomes a route."]})]}),e.jsxs("div",{className:"p-4 bg-green-50 dark:bg-green-900/20 rounded-lg border border-green-200 dark:border-green-800",children:[e.jsx(r.Typography,{tag:"h4",className:"font-semibold mb-2",children:"2. Custom Routing"}),e.jsxs(r.Typography,{tag:"p",className:"text-sm text-gray-700 dark:text-gray-300 mb-2",children:["Provide ",e.jsx("code",{children:"customRoutes"})," prop with your own"," ",e.jsx("code",{children:"<Routes>"})," component. This gives you full control over routing."]}),e.jsxs(r.Typography,{tag:"p",className:"text-xs text-gray-600 dark:text-gray-400",children:[e.jsx("strong",{children:"Use when:"})," You need custom routing logic, landing pages without navigation, or complex routing scenarios."]})]})]})]})})})]});exports.default=t;
|
|
@@ -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 i=()=>{const a=[{key:"prop",label:"Prop"},{key:"type",label:"Type"},{key:"default",label:"Default"},{key:"description",label:"Description"}],s=[{prop:"menuItems",type:"IMenuItem[]",default:"Required",description:"Navigation menu items"},{prop:"layout",type:"LAYOUT_OPTIONS",default:"HORIZONTAL",description:"Layout type: CLEAN, ADMIN, or HORIZONTAL"},{prop:"mode",type:"'light' | 'dark'",default:"'light'",description:"Color mode"},{prop:"showSettings",type:"boolean",default:"false",description:"Show theme settings drawer button"},{prop:"customPaletteColor",type:"object",default:"-",description:"Custom color palette (see Color Configuration)"},{prop:"logo",type:"LogoType",default:"{ path: '/', name: '' }",description:"Logo configuration object with path and name"},{prop:"brandColor",type:"PresetColorType",default:"-",description:"Brand color preset"},{prop:"headerClassName",type:"string",default:"-",description:"Custom CSS classes for header"},{prop:"contentClassName",type:"string",default:"-",description:"Custom CSS classes for content area"},{prop:"fullWidth",type:"boolean",default:"false",description:"Enable full width layout"},{prop:"rightButton",type:"ReactNode",default:"-",description:"Custom button component for header right area"},{prop:"className",type:"string",default:"-",description:"Custom CSS classes for root layout"}];return 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:"ThemeProvider Component"}),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:"Complete reference for ThemeProvider props and configuration"})]}),e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"ThemeProvider Props",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(t.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["The ThemeProvider is the root component that wraps your application and manages all theme state. Located in",e.jsx("code",{className:"px-2 py-1 font-mono rounded text-sm",children:"ui/tucu-ui/src/themes"}),"directory."]}),e.jsx(t.BasicTable,{columns:a.map(r=>({...r,render:o=>r.key==="prop"?e.jsx("code",{className:"text-xs text-brand",children:String(o??"")}):r.key==="type"||r.key==="default"?e.jsx("code",{className:"text-xs text-gray-600 dark:text-gray-400",children:String(o??"")}):r.key==="description"?e.jsx("span",{className:"text-xs text-gray-600 dark:text-gray-400",children:String(o??"")}):String(o??"")})),data:s,containerClassName:"mb-4"})]})})})]})};exports.default=i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as a, C as p, a as l, q as d } from "../index-
|
|
2
|
+
import { T as a, C as p, a as l, q 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"),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=()=>{const{addToast:a}=t.useToastStore(),r=[{key:"prop",label:"Prop",render:s=>e.jsx("code",{className:"text-xs text-brand",children:String(s)})},{key:"type",label:"Type",render:s=>e.jsx("code",{className:"text-xs",children:String(s)})},{key:"default",label:"Default",render:s=>{const o=String(s);return o==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:o})}},{key:"description",label:"Description"}],n=[{prop:"Toast Component",type:"React.FC",default:"-",description:"The Toast component renders automatically from the toast store"},{prop:"useToastStore",type:"Hook",default:"-",description:"Hook to manage toast notifications"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(t.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Toast"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A toast notification system for displaying temporary messages with multiple variants and auto-dismiss functionality."})]}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Success Toast"}),e.jsx(t.Button,{onClick:()=>a({id:Date.now().toString(),title:"Success!",message:"Operation completed successfully.",variant:"success"}),children:"Show Success Toast"})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Error Toast"}),e.jsx(t.Button,{onClick:()=>a({id:Date.now().toString(),title:"Error!",message:"Something went wrong.",variant:"destructive"}),children:"Show Error Toast"})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Warning Toast"}),e.jsx(t.Button,{onClick:()=>a({id:Date.now().toString(),title:"Warning!",message:"Please review this information.",variant:"warning"}),children:"Show Warning Toast"})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Info Toast"}),e.jsx(t.Button,{onClick:()=>a({id:Date.now().toString(),title:"Info",message:"Here is some information.",variant:"info"}),children:"Show Info Toast"})]})]}),e.jsx(t.Toast,{})]})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.BasicTable,{columns:r,data:n})})})}),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 { Toast, useToastStore } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
function MyComponent() {
|
|
4
4
|
const { addToast } = useToastStore();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, Fragment as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { ai as d, T as s, C as a, a as n, y as i, aj as m, q as p, c as h } from "../index-
|
|
2
|
+
import { ai as d, T as s, C as a, a as n, y as i, aj as m, q as p, 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 e=require("react/jsx-runtime"),c=require("react"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),a=require("../index-COj1N7FC.js"),l=require("lucide-react");require("react-router-dom");require("react-dom");const i=()=>{const[t,s]=c.useState(!1);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:"ToggleBar"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A toggle bar component with title, subtitle, icon, and optional content. Perfect for settings panels and feature toggles."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic ToggleBar"}),e.jsx(a.ToggleBar,{title:"Enable Notifications",checked:t,onChange:()=>s(!t)})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Subtitle"}),e.jsx(a.ToggleBar,{title:"Dark Mode",subTitle:"Switch between light and dark themes",checked:t,onChange:()=>s(!t)})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Icon"}),e.jsx(a.ToggleBar,{title:"Auto Save",subTitle:"Automatically save your work",icon:e.jsx(l.Save,{className:"w-5 h-5"}),checked:t,onChange:()=>s(!t)})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Children"}),e.jsx(a.ToggleBar,{title:"Advanced Settings",subTitle:"Show advanced configuration options",checked:t,onChange:()=>s(!t),children:e.jsx("div",{className:"mt-4 space-y-2",children:e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Additional content appears here when toggle is enabled."})})})]})]})})})}),e.jsx(a.AutoPropsTable,{componentName:"ToggleBar"}),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 { ToggleBar, LucideIcons } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const [checked, setChecked] = useState(false);
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as o } from "react";
|
|
3
|
-
import { T as c, C as l, a as n, x as i, A as r, c as h } from "../index-
|
|
3
|
+
import { T as c, C as l, a as n, x as i, A as r, c as h } from "../index-B919yoKU.js";
|
|
4
4
|
import { Save as g } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { T as l, C as a, a as n, _ as e, y as o, P as s, A as p, c as m } from "../index-
|
|
2
|
+
import { T as l, C as a, a as n, _ as e, y as o, P as s, A as p, c as m } 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 t=require("react/jsx-runtime"),o=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),o=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r=()=>t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"text-center space-y-4",children:[t.jsx(o.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Tooltip"}),t.jsx(o.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A portal-based tooltip component that renders above all other DOM elements. Supports configurable placement, arrow, color themes, and delays."})]}),t.jsx(o.CardContainer,{className:"overflow-hidden",children:t.jsx(o.CardTitle,{title:"Placement",className:"mt-2 mb-2",children:t.jsx("div",{className:"w-full p-4 sm:p-6",children:t.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4",children:[t.jsx(o.Tooltip,{content:"Top tooltip",placement:"top",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",children:"Top"})}),t.jsx(o.Tooltip,{content:"Bottom tooltip",placement:"bottom",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",children:"Bottom"})}),t.jsx(o.Tooltip,{content:"Left tooltip",placement:"left",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",children:"Left"})}),t.jsx(o.Tooltip,{content:"Right tooltip",placement:"right",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",children:"Right"})})]})})})}),t.jsx(o.CardContainer,{className:"overflow-hidden",children:t.jsx(o.CardTitle,{title:"Color Themes",className:"mt-2 mb-2",children:t.jsx("div",{className:"w-full p-4 sm:p-6",children:t.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4",children:[t.jsx(o.Tooltip,{content:"Auto (uses theme mode)",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",children:"Auto"})}),t.jsx(o.Tooltip,{content:"Dark theme",color:"dark",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",children:"Dark"})}),t.jsx(o.Tooltip,{content:"Light theme",color:"light",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",children:"Light"})}),t.jsx(o.Tooltip,{content:"Primary color",color:"primary",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",color:"primary",children:"Primary"})}),t.jsx(o.Tooltip,{content:"Success message",color:"success",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",color:"success",children:"Success"})}),t.jsx(o.Tooltip,{content:"Info message",color:"info",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",color:"info",children:"Info"})}),t.jsx(o.Tooltip,{content:"Warning message",color:"warning",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",color:"warning",children:"Warning"})}),t.jsx(o.Tooltip,{content:"Danger message",color:"danger",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",color:"danger",children:"Danger"})})]})})})}),t.jsx(o.CardContainer,{className:"overflow-hidden",children:t.jsx(o.CardTitle,{title:"Arrow Options",className:"mt-2 mb-2",children:t.jsx("div",{className:"w-full p-4 sm:p-6",children:t.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4",children:[t.jsx(o.Tooltip,{content:"With arrow",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",color:"info",children:"With Arrow"})}),t.jsx(o.Tooltip,{content:"Without arrow",arrow:!1,children:t.jsx(o.Button,{variant:"ghost",size:"small",color:"info",children:"No Arrow"})})]})})})}),t.jsx(o.CardContainer,{className:"overflow-hidden",children:t.jsx(o.CardTitle,{title:"Rich Content",className:"mt-2 mb-2",children:t.jsx("div",{className:"w-full p-4 sm:p-6",children:t.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4",children:[t.jsx(o.Tooltip,{content:t.jsxs("div",{className:"space-y-1",children:[t.jsx(o.Typography,{tag:"strong",className:"text-xs",children:"Rich Tooltip"}),t.jsx(o.Typography,{tag:"p",className:"text-xs opacity-80",children:"Supports any React node as content."})]}),placement:"bottom",color:"light",arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",color:"success",children:"Rich Content"})}),t.jsx(o.Tooltip,{content:"Delayed tooltip",enterDelay:500,arrow:!0,children:t.jsx(o.Button,{variant:"ghost",size:"small",color:"warning",children:"500ms Delay"})})]})})})}),t.jsx(o.CardContainer,{className:"overflow-hidden",children:t.jsx(o.CardTitle,{title:"Component Integration",className:"mt-2 mb-2",children:t.jsx("div",{className:"w-full p-4 sm:p-6",children:t.jsxs("div",{className:"space-y-4",children:[t.jsxs(o.CardContainer,{className:"p-4",children:[t.jsx(o.Typography,{tag:"h5",className:"mb-3",children:"Button with tooltip prop"}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(o.Button,{tooltip:"Save changes",tooltipPlacement:"top",children:"Save"}),t.jsx(o.Button,{tooltip:"Delete item",tooltipPlacement:"bottom",tooltipColor:"light",color:"danger",children:"Delete"})]})]}),t.jsxs(o.CardContainer,{className:"p-4",children:[t.jsx(o.Typography,{tag:"h5",className:"mb-3",children:"Typography with tooltip prop"}),t.jsxs("div",{className:"flex flex-wrap gap-4 items-center",children:[t.jsx(o.Typography,{tag:"span",tooltip:"This is an abbreviation",tooltipPlacement:"top",className:"underline decoration-dotted cursor-help",children:"Hover this text"}),t.jsx(o.Typography,{tag:"strong",tooltip:"Important information",tooltipPlacement:"right",tooltipColor:"light",children:"Bold with tooltip"})]})]})]})})})}),t.jsx(o.PropPlayground,{componentName:"Tooltip",defaultValues:{placement:"top",color:"primary",arrow:!0,disabled:!1,enterDelay:0,leaveDelay:100},excludeProps:["children","content"],children:e=>t.jsx(o.Tooltip,{...e,content:"Tooltip preview text",children:t.jsx(o.Button,{children:"Hover me"})})}),t.jsx(o.AutoPropsTable,{componentName:"Tooltip"}),t.jsx(o.CardContainer,{className:"overflow-hidden",children:t.jsx(o.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:t.jsx("div",{className:"w-full p-4 sm:p-6",children:t.jsx(o.CodeBlock,{language:"tsx",code:`import { Tooltip, Button, Typography } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Standalone Tooltip wrapping any element
|
|
4
4
|
<Tooltip content="Hello!" placement="top" arrow>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as l, C as o, a as t, z as c, P as i, A as p, c as r } from "../index-
|
|
2
|
+
import { T as l, C as o, a as t, z as c, P as i, A as p, c as r } from "../index-B919yoKU.js";
|
|
3
3
|
import { Plus as d, CreditCard as m, Wallet as u } 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 l=()=>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:"TopupButton"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A specialized button component for top-up or recharge actions, with support for icons and links."})]}),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 Topup Button"}),e.jsx(a.TopupButton,{label:"Add Funds"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Icon"}),e.jsx(a.TopupButton,{label:"Top Up Account",icon:e.jsx(s.Plus,{className:"w-4 h-4"})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Link"}),e.jsx(a.TopupButton,{label:"Recharge Now",href:"/topup",icon:e.jsx(s.CreditCard,{className:"w-4 h-4"})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With onClick Handler"}),e.jsx(a.TopupButton,{label:"Add Balance",icon:e.jsx(s.Wallet,{className:"w-4 h-4"}),onClick:()=>console.log("Topup clicked")})]})]})})})}),e.jsx(a.PropPlayground,{componentName:"TopupButton",defaultValues:{label:"Top Up"},excludeProps:["onClick","icon"],children:o=>e.jsx(a.TopupButton,{...o})}),e.jsx(a.AutoPropsTable,{componentName:"TopupButton"}),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 { TopupButton, LucideIcons } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<TopupButton label="Add Funds" />
|
package/documentation/{TransactionInfoSection-CF0j2oxc.js → TransactionInfoSection-CO5s67_e.js}
RENAMED
|
@@ -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=()=>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:"TransactionInfo"}),a.jsx(e.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Simple component for displaying transaction information with label and value."})]}),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 Value"}),a.jsx(e.TransactionInfo,{label:"Transaction Hash",value:"0x1234...5678"})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Without Value"}),a.jsx(e.TransactionInfo,{label:"Gas Fee"})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Number Value"}),a.jsx(e.TransactionInfo,{label:"Block Number",value:12345678})]})]})})})}),a.jsx(e.AutoPropsTable,{componentName:"TransactionInfo"}),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 { TransactionInfo } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
<TransactionInfo
|
|
4
4
|
label="Transaction Hash"
|
package/documentation/{TransactionInfoSection-cKwmQpgL.js → TransactionInfoSection-ZFQbN2wP.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, Fragment as t, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { T as l, C as s, a as o, j as n, A as i, c as r } from "../index-
|
|
2
|
+
import { T as l, C as s, a as o, j as n, A as i, c as r } 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"),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=()=>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:"TucuUiLogo"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:'The core logo icon component featuring the distinctive double T design with "ui" text, representing the Tucu UI design system.'})]}),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 Size"}),e.jsx(s.TucuUiLogo,{})]}),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",children:[e.jsx(s.TucuUiLogo,{size:60}),e.jsx(s.TucuUiLogo,{size:120}),e.jsx(s.TucuUiLogo,{size:180})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Custom Classes"}),e.jsx(s.TucuUiLogo,{size:100,className:"opacity-80 hover:opacity-100 transition-opacity"})]})]})})})}),e.jsx(s.PropPlayground,{componentName:"TucuUiLogo",defaultValues:{size:60},excludeProps:["props"],children:i=>e.jsx(s.TucuUiLogo,{...i})}),e.jsx(s.AutoPropsTable,{componentName:"TucuUiLogo"}),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 { TucuUiLogo } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage (default 120x120)
|
|
4
4
|
<TucuUiLogo />
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, Fragment as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as i, C as t, a as o, ae as a, P as r, A as m, c as u } from "../index-
|
|
2
|
+
import { T as i, C as t, a as o, ae as a, P as r, A as m, c as u } 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 g, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as t, a as d, J as i } from "../index-
|
|
2
|
+
import { T as r, C as t, a as d, J as i } 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 t, Fragment as r, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { T as e, C as o, a as l, P as i, A as h, c as n } from "../index-
|
|
2
|
+
import { T as e, C as o, a as l, P as i, A as h, c as n } from "../index-B919yoKU.js";
|
|
3
3
|
import "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 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 o=()=>{const l=[{tag:"headline",label:"Headline",category:"Tucu UI Tokens"},{tag:"body",label:"Body",category:"Tucu UI Tokens"},{tag:"label-1",label:"Label 1",category:"Tucu UI Tokens"},{tag:"label-2",label:"Label 2",category:"Tucu UI Tokens"},{tag:"caption",label:"Caption",category:"Tucu UI Tokens"},{tag:"legal",label:"Legal",category:"Tucu UI Tokens"},{tag:"h1",label:"Heading 1 (h1)",category:"HTML Tags"},{tag:"h2",label:"Heading 2 (h2)",category:"HTML Tags"},{tag:"h3",label:"Heading 3 (h3)",category:"HTML Tags"},{tag:"h4",label:"Heading 4 (h4)",category:"HTML Tags"},{tag:"h5",label:"Heading 5 (h5)",category:"HTML Tags"},{tag:"h6",label:"Heading 6 (h6)",category:"HTML Tags"},{tag:"p",label:"Paragraph (p)",category:"HTML Tags"},{tag:"i",label:"Italic (i)",category:"HTML Tags"},{tag:"b",label:"Bold (b)",category:"HTML Tags"},{tag:"strong",label:"Strong",category:"HTML Tags"},{tag:"em",label:"Emphasis (em)",category:"HTML Tags"},{tag:"small",label:"Small",category:"HTML Tags"},{tag:"q",label:"Quote (q)",category:"HTML Tags"},{tag:"blockquote",label:"Blockquote",category:"HTML Tags"},{tag:"code",label:"Code",category:"HTML Tags"},{tag:"pre",label:"Preformatted (pre)",category:"HTML Tags"},{tag:"kbd",label:"Keyboard (kbd)",category:"HTML Tags"},{tag:"mark",label:"Mark",category:"HTML Tags"},{tag:"del",label:"Deleted (del)",category:"HTML Tags"},{tag:"sub",label:"Subscript (sub)",category:"HTML Tags"},{tag:"sup",label:"Superscript (sup)",category:"HTML Tags"},{tag:"abbr",label:"Abbreviation (abbr)",category:"HTML Tags"},{tag:"span",label:"Span",category:"HTML Tags"}],s=[{value:"default",label:"Default"},{value:"primary",label:"Primary"},{value:"secondary",label:"Secondary"},{value:"dark",label:"Dark"},{value:"light",label:"Light"},{value:"muted",label:"Muted"},{value:"success",label:"Success"},{value:"warning",label:"Warning"},{value:"error",label:"Error"}],t=[{value:"default",label:"Default (Sans)"},{value:"mono",label:"Mono"}];return 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:"Typography"}),a.jsx(e.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Typography component with all available tags, colors, and font families"})]}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Tucu UI Tokens - Type Scale",className:"mt-2 mb-2",children:a.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[a.jsx(e.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-6",children:"Hierarchical typography tokens designed for consistent text styling across the design system."}),a.jsx("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-6 bg-light-dark",children:a.jsx("div",{className:"space-y-6",children:l.filter(r=>r.category==="Tucu UI Tokens").map(r=>a.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-4 pb-6 border-b border-gray-200 dark:border-gray-700 last:border-0 last:pb-0",children:[a.jsxs("div",{className:"flex-1 space-y-2",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(e.Typography,{tag:r.tag,children:r.label}),a.jsx(e.Badge,{variant:"outline",className:"text-xs font-mono",children:r.tag})]}),a.jsxs(e.Typography,{tag:"caption",className:"text-muted",children:[r.tag==="headline"&&"Main headlines and hero text",r.tag==="body"&&"Primary body text and paragraphs",r.tag==="label-1"&&"Primary labels and form fields",r.tag==="label-2"&&"Secondary labels and smaller text",r.tag==="caption"&&"Image captions and metadata",r.tag==="legal"&&"Legal text, disclaimers, and fine print"]})]}),a.jsx("div",{className:"md:w-1/2",children:a.jsxs(e.Typography,{tag:r.tag,children:[r.tag==="headline"&&"The quick brown fox jumps over the lazy dog",r.tag==="body"&&"The quick brown fox jumps over the lazy dog. This is body text used for paragraphs and main content.",r.tag==="label-1"&&"Label Text",r.tag==="label-2"&&"Small Label",r.tag==="caption"&&"Image caption or supporting text",r.tag==="legal"&&"Legal disclaimer text"]})})]},r.tag))})})]})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"HTML Tags",className:"mt-2 mb-2",children:a.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[a.jsx(e.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-6",children:"Standard HTML semantic tags with Tucu UI styling."}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:l.filter(r=>r.category==="HTML Tags").map(r=>a.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-4 space-y-3",children:[a.jsxs("div",{className:"space-y-1",children:[a.jsx(e.Typography,{tag:"h4",children:r.label}),a.jsxs(e.Typography,{tag:"h4",className:"text-muted break-all text-xs",children:['tag="',r.tag,'"']})]}),a.jsx("div",{className:"min-h-[60px] flex items-start overflow-hidden",children:a.jsx(e.Typography,{className:r.tag==="pre"||r.tag==="code"?"overflow-wrap-anywhere whitespace-pre-wrap w-full":"overflow-wrap-anywhere",tag:r.tag,...r.tag==="abbr"&&{title:"Abbreviation example"},children:r.tag==="pre"||r.tag==="code"?'const example = "The quick brown fox jumps over the lazy dog";':"The quick brown fox jumps over the lazy dog"})})]},r.tag))})]})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Typography Colors",className:"mt-2 mb-2",children:a.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[a.jsx(e.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-6",children:"Available color props for the Typography component."}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:s.map(r=>a.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-4 space-y-3",children:[a.jsxs("div",{className:"space-y-1",children:[a.jsx(e.Typography,{tag:"h4",children:r.label}),a.jsxs(e.Typography,{tag:"h4",className:"text-muted break-all text-xs",children:['color="',r.value,'"']})]}),a.jsx("div",{className:"min-h-[40px] flex items-center",children:a.jsx(e.Typography,{tag:"p",color:r.value,children:"The quick brown fox jumps over the lazy dog"})})]},r.value))})]})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Typography Font Families",className:"mt-2 mb-2",children:a.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[a.jsx(e.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-6",children:"Available fontFamily props for the Typography component."}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:t.map(r=>a.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-4 space-y-3",children:[a.jsxs("div",{className:"space-y-1",children:[a.jsx(e.Typography,{tag:"h4",children:r.label}),a.jsxs(e.Typography,{tag:"h4",className:"text-muted break-all text-xs",children:['fontFamily="',r.value,'"']})]}),a.jsx("div",{className:"min-h-[40px] flex items-center",children:a.jsx(e.Typography,{tag:"p",fontFamily:r.value,children:"The quick brown fox jumps over the lazy dog"})})]},r.value))})]})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Combined Examples",className:"mt-2 mb-2",children:a.jsxs("div",{className:"w-full space-y-8 p-4 sm:p-6",children:[a.jsx(e.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-6",children:"Examples combining tags, colors, and font families."}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[a.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-4 space-y-3",children:[a.jsx(e.Typography,{tag:"h4",className:"text-xs text-muted",children:"Headline + Primary + Mono"}),a.jsx(e.Typography,{tag:"headline",color:"primary",fontFamily:"mono",children:"The quick brown fox"})]}),a.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-4 space-y-3",children:[a.jsx(e.Typography,{tag:"h4",className:"text-xs text-muted",children:"Body + Success"}),a.jsx(e.Typography,{tag:"body",color:"success",children:"The quick brown fox jumps over the lazy dog"})]}),a.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-4 space-y-3",children:[a.jsx(e.Typography,{tag:"h4",className:"text-xs text-muted",children:"Label 1 + Warning"}),a.jsx(e.Typography,{tag:"label-1",color:"warning",children:"The quick brown fox"})]}),a.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-4 space-y-3",children:[a.jsx(e.Typography,{tag:"h4",className:"text-xs text-muted",children:"Code + Error + Mono"}),a.jsx(e.Typography,{tag:"code",color:"error",fontFamily:"mono",children:'const example = "Hello World";'})]}),a.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-4 space-y-3",children:[a.jsx(e.Typography,{tag:"h4",className:"text-xs text-muted",children:"Caption + Muted"}),a.jsx(e.Typography,{tag:"caption",color:"muted",children:"The quick brown fox jumps over the lazy dog"})]}),a.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-4 space-y-3",children:[a.jsx(e.Typography,{tag:"h4",className:"text-xs text-muted",children:"H2 + Secondary"}),a.jsx(e.Typography,{tag:"h2",color:"secondary",children:"The quick brown fox"})]})]})]})})})]})};exports.default=o;
|
|
@@ -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 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:"Typography"}),a.jsx(e.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A comprehensive typography component system with semantic HTML tags and predefined text styles."})]}),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:"space-y-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Headings"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(e.Typography,{tag:"h1",children:"Heading 1"}),a.jsx(e.Typography,{tag:"h2",children:"Heading 2"}),a.jsx(e.Typography,{tag:"h3",children:"Heading 3"}),a.jsx(e.Typography,{tag:"h4",children:"Heading 4"}),a.jsx(e.Typography,{tag:"h5",children:"Heading 5"}),a.jsx(e.Typography,{tag:"h6",children:"Heading 6"})]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Text Variants"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(e.Typography,{tag:"headline",children:"Headline Text"}),a.jsx(e.Typography,{tag:"body",children:"Body Text"}),a.jsx(e.Typography,{tag:"label-1",children:"Label 1"}),a.jsx(e.Typography,{tag:"h5",children:"Label 2"}),a.jsx(e.Typography,{tag:"caption",children:"Caption Text"}),a.jsx(e.Typography,{tag:"legal",children:"Legal Text"})]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Semantic Elements"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(e.Typography,{tag:"p",children:"Paragraph text"}),a.jsx(e.Typography,{tag:"strong",children:"Strong text"}),a.jsx(e.Typography,{tag:"em",children:"Emphasized text"}),a.jsx(e.Typography,{tag:"code",children:"Code text"}),a.jsx(e.Typography,{tag:"pre",children:"Preformatted text"})]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Tooltip"}),a.jsxs("div",{className:"flex flex-wrap gap-4 items-center",children:[a.jsx(e.Typography,{tag:"span",tooltip:"This is an abbreviation",tooltipPlacement:"top",className:"underline decoration-dotted cursor-help",children:"Hover this text"}),a.jsx(e.Typography,{tag:"strong",tooltip:"Important information",tooltipPlacement:"right",tooltipColor:"light",children:"Bold with tooltip"}),a.jsx(e.Typography,{tag:"code",tooltip:"Copied!",tooltipPlacement:"bottom",children:"Code with tooltip"})]})]})]})})})}),a.jsx(e.PropPlayground,{componentName:"Typography",defaultValues:{tag:"p",color:"default"},excludeProps:["tooltip","tooltipArrow","tooltipColor","tooltipPlacement","title"],children:t=>a.jsx(e.Typography,{...t,children:"The quick brown fox jumps over the lazy dog."})}),a.jsx(e.AutoPropsTable,{componentName:"Typography"}),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 { Typography } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Headings
|
|
4
4
|
<Typography tag="h1">Heading 1</Typography>
|
|
@@ -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"),c=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,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Usage Examples",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-indigo-500 to-purple-500 shadow-lg",children:e.jsx(c.Code,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"text-xl font-semibold",children:"How to Use Icons"})]}),e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:"Lucide React Integration"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Import the LucideIcons namespace and access any icon with dot notation. All 5000+ Lucide icons are available."}),e.jsx(s.CodeBlock,{code:`import { LucideIcons } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
function MyComponent() {
|
|
4
4
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { C as s, a as t, T as c, c as o } from "../index-
|
|
2
|
+
import { C as s, a as t, T as c, c as o } from "../index-B919yoKU.js";
|
|
3
3
|
import { Code as i } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
package/documentation/{UsingThemeSystemSection-bYxrH_-c.js → UsingThemeSystemSection-CS0WVYk1.js}
RENAMED
|
@@ -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"),r=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Using the Theme System",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-gradient-to-br from-blue-500 to-cyan-500 rounded-lg shadow-lg",children:e.jsx(r.Code,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"ThemeProvider Setup"})]}),e.jsx(t.CodeBlock,{language:"tsx",code:`import { ThemeProvider, LAYOUT_OPTIONS } from '@ui/tucu-ui';
|
|
2
2
|
|
|
3
3
|
function App() {
|
|
4
4
|
const menuItems = [
|
|
@@ -18,16 +18,16 @@ function App() {
|
|
|
18
18
|
customPaletteColor={{
|
|
19
19
|
primary: '#0052ff', // Hex color or preset name
|
|
20
20
|
darkPrimary: '#578bfa',
|
|
21
|
-
secondary: '#
|
|
22
|
-
darkSecondary: '#
|
|
21
|
+
secondary: '#f3f4f6',
|
|
22
|
+
darkSecondary: '#172131',
|
|
23
23
|
accent: '#f7d21a',
|
|
24
24
|
darkAccent: '#936000',
|
|
25
|
-
muted: '#
|
|
26
|
-
darkMuted: '#
|
|
27
|
-
darkBg: '#
|
|
25
|
+
muted: '#4a5565',
|
|
26
|
+
darkMuted: '#828a99',
|
|
27
|
+
darkBg: '#030712',
|
|
28
28
|
lightBg: '#ffffff',
|
|
29
|
-
lightDark: '#
|
|
30
|
-
darkLightDark: '#
|
|
29
|
+
lightDark: '#f9fafb',
|
|
30
|
+
darkLightDark: '#0a101d',
|
|
31
31
|
}}
|
|
32
32
|
|
|
33
33
|
// Theme Settings
|
|
@@ -122,7 +122,7 @@ function ThemeControls() {
|
|
|
122
122
|
Set Primary Color
|
|
123
123
|
</button>
|
|
124
124
|
|
|
125
|
-
<button onClick={() => setSecondaryPreset({ label: 'DEFAULT_SECONDARY', value: '#
|
|
125
|
+
<button onClick={() => setSecondaryPreset({ label: 'DEFAULT_SECONDARY', value: '#f3f4f6' })}>
|
|
126
126
|
Set Secondary Color
|
|
127
127
|
</button>
|
|
128
128
|
|
package/documentation/{UsingThemeSystemSection-Dd8ZQrUl.js → UsingThemeSystemSection-vyxb3z51.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { C as a, a as s, T as o, c as r } from "../index-
|
|
2
|
+
import { C as a, a as s, T as o, c as r } from "../index-B919yoKU.js";
|
|
3
3
|
import { Code as n, Zap as i } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -34,16 +34,16 @@ function App() {
|
|
|
34
34
|
customPaletteColor={{
|
|
35
35
|
primary: '#0052ff', // Hex color or preset name
|
|
36
36
|
darkPrimary: '#578bfa',
|
|
37
|
-
secondary: '#
|
|
38
|
-
darkSecondary: '#
|
|
37
|
+
secondary: '#f3f4f6',
|
|
38
|
+
darkSecondary: '#172131',
|
|
39
39
|
accent: '#f7d21a',
|
|
40
40
|
darkAccent: '#936000',
|
|
41
|
-
muted: '#
|
|
42
|
-
darkMuted: '#
|
|
43
|
-
darkBg: '#
|
|
41
|
+
muted: '#4a5565',
|
|
42
|
+
darkMuted: '#828a99',
|
|
43
|
+
darkBg: '#030712',
|
|
44
44
|
lightBg: '#ffffff',
|
|
45
|
-
lightDark: '#
|
|
46
|
-
darkLightDark: '#
|
|
45
|
+
lightDark: '#f9fafb',
|
|
46
|
+
darkLightDark: '#0a101d',
|
|
47
47
|
}}
|
|
48
48
|
|
|
49
49
|
// Theme Settings
|
|
@@ -151,7 +151,7 @@ function ThemeControls() {
|
|
|
151
151
|
Set Primary Color
|
|
152
152
|
</button>
|
|
153
153
|
|
|
154
|
-
<button onClick={() => setSecondaryPreset({ label: 'DEFAULT_SECONDARY', value: '#
|
|
154
|
+
<button onClick={() => setSecondaryPreset({ label: 'DEFAULT_SECONDARY', value: '#f3f4f6' })}>
|
|
155
155
|
Set Secondary Color
|
|
156
156
|
</button>
|
|
157
157
|
|
package/documentation/{ValidationSystemSection-Cvyf6j2T.js → ValidationSystemSection-BH4fYDTN.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as i, a as l, c as d, ag as c, q as u } from "../index-
|
|
2
|
+
import { T as r, C as i, a as l, c as d, ag as c, q as u } from "../index-B919yoKU.js";
|
|
3
3
|
import { FileText as p, Code as h, Info as g } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
package/documentation/{ValidationSystemSection-CBfiMPsL.js → ValidationSystemSection-BOIkiXR1.js}
RENAMED
|
@@ -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"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const i=[{key:"rule",label:"Rule"},{key:"example",label:"Example"},{key:"description",label:"Description"}],l=[{rule:"required",example:"required: 'Field is required'",description:"Makes field required"},{rule:"minLength",example:"minLength: { value: 2, message: '...' }",description:"Minimum string length"},{rule:"maxLength",example:"maxLength: { value: 100, message: '...' }",description:"Maximum string length"},{rule:"pattern",example:"pattern: { value: /regex/, message: '...' }",description:"Regex pattern validation"},{rule:"min",example:"min: { value: 18, message: '...' }",description:"Minimum numeric value"},{rule:"max",example:"max: { value: 100, message: '...' }",description:"Maximum numeric value"}];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:"Validation System"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Centralized validation with built-in and custom rules"})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Validation Approaches",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"You can define validation in two ways:"}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 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-linear-to-br from-blue-500 to-cyan-500 rounded-lg shadow-lg",children:e.jsx(t.FileText,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:"Centralized Validation Schema"})]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Define all validation rules in a single schema object and pass it to the Form component. This eliminates the need to define rules on each FormField."}),e.jsx(a.CodeBlock,{language:"tsx",code:`import { FormValidations } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
export const formValidations: FormValidations<FormValues> = {
|
|
4
4
|
name: {
|
package/documentation/{WCAGPrinciplesSection-DmeJUV8c.js → WCAGPrinciplesSection-BQWhdatC.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as l } from "../index-
|
|
2
|
+
import { T as r, C as l } from "../index-B919yoKU.js";
|
|
3
3
|
import { Check as n, Eye as c, Hand as d, Brain as m, Wrench as p } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
package/documentation/{WCAGPrinciplesSection-DAOi68Jt.js → WCAGPrinciplesSection-BoHN-ga-.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"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const r=[{title:"Perceivable",description:"Information and UI components must be presentable to users in ways they can perceive.",icon:e.jsx(s.Eye,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),color:"from-orange-500 via-amber-500 to-yellow-500",features:["Color contrast ratios","Alt text for images","Scalable text","Audio descriptions"]},{title:"Operable",description:"UI components and navigation must be operable by all users.",icon:e.jsx(s.Hand,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),color:"from-orange-500 via-amber-500 to-yellow-500",features:["Keyboard navigation","Focus management","No seizure triggers","Sufficient time limits"]},{title:"Understandable",description:"Information and UI operation must be understandable.",icon:e.jsx(s.Brain,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),color:"from-orange-500 via-amber-500 to-yellow-500",features:["Readable text","Predictable functionality","Input assistance","Error identification"]},{title:"Robust",description:"Content must be robust enough for various assistive technologies.",icon:e.jsx(s.Wrench,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),color:"from-orange-500 via-amber-500 to-yellow-500",features:["Valid HTML","Compatible markup","Future-proof code","Assistive tech support"]}];return e.jsxs("div",{className:"space-y-8",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:"WCAG 2.1 AA Principles"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Four fundamental principles that guide our accessibility implementation"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:r.map((a,i)=>e.jsx(t.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-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:`p-3 rounded-xl bg-linear-to-br ${a.color} group-hover:scale-110 transition-all duration-300 shadow-lg hover:shadow-xl`,children:a.icon}),e.jsx(t.Typography,{tag:"h3",className:"font-semibold text-lg group-hover:text-primary transition-colors duration-300",children:a.title})]}),e.jsx(t.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 leading-relaxed",children:a.description}),e.jsx("div",{className:"space-y-2",children:a.features.map((o,l)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0"}),e.jsx(t.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:o})]},l))})]})},i))})]})};exports.default=n;
|