@e-burgos/tucu-ui 1.1.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/1-CArqgiQa.js +1 -0
- package/1-Df9CGZha.mjs +4 -0
- package/APIReferenceSection-BWjvmObc.mjs +142 -0
- package/APIReferenceSection-BYpmlTa1.js +1 -0
- package/ActiveLinkSection-QE4rt7E7.mjs +120 -0
- package/ActiveLinkSection-koQfqiWT.js +22 -0
- package/AdvancedColorSystemSection-BMjT0GS3.js +17 -0
- package/AdvancedColorSystemSection-Cm3q7pci.mjs +194 -0
- package/AdvancedFeaturesSection-BvQzMRC_.js +1 -0
- package/AdvancedFeaturesSection-CsHt-5rZ.mjs +100 -0
- package/AdvancedFeaturesSection-UC1uVDPQ.js +1 -0
- package/AdvancedFeaturesSection-o4D1pf9b.mjs +82 -0
- package/AlertSection-DPxTJhXM.mjs +143 -0
- package/AlertSection-Di1Vmdlp.js +25 -0
- package/AnchorLinkSection-Ce1TtPg5.mjs +94 -0
- package/AnchorLinkSection-dexXCWm0.js +19 -0
- package/ArchitecturalPatternsComparisonSection-BGoc7LRz.mjs +325 -0
- package/ArchitecturalPatternsComparisonSection-bFhTZY--.js +31 -0
- package/ArchitectureOverviewSection-0kw6rJQn.mjs +88 -0
- package/ArchitectureOverviewSection-DI3j5QrY.js +1 -0
- package/AuthorCardSection-C9nyTm-Y.js +17 -0
- package/AuthorCardSection-CdrGEAlv.mjs +110 -0
- package/AvatarSection-DurCy8Tv.js +18 -0
- package/AvatarSection-w5aVByxo.mjs +137 -0
- package/BadgeSection-BBrQIp_J.mjs +238 -0
- package/BadgeSection-C18_hgvN.js +48 -0
- package/BasicTableSection-CRoBEEqA.js +35 -0
- package/BasicTableSection-CV_O4PiF.mjs +169 -0
- package/BasicUsageSection-BNMeKpps.js +45 -0
- package/BasicUsageSection-uA18k0GU.mjs +103 -0
- package/BestPracticesSection-B-JPz0Dc.js +1 -0
- package/BestPracticesSection-B9z8NSkq.mjs +57 -0
- package/BestPracticesSection-BATlfVaQ.mjs +49 -0
- package/BestPracticesSection-BDukov7c.mjs +83 -0
- package/BestPracticesSection-BWkl5DsH.mjs +41 -0
- package/BestPracticesSection-BbhipFte.mjs +43 -0
- package/BestPracticesSection-Bp-_tC8C.js +1 -0
- package/BestPracticesSection-CEu4bNZE.js +1 -0
- package/BestPracticesSection-CYtEiufQ.js +1 -0
- package/BestPracticesSection-CaE-0BTV.js +1 -0
- package/BestPracticesSection-CdY0wZsv.js +1 -0
- package/BestPracticesSection-CoE_Xgj2.mjs +84 -0
- package/BestPracticesSection-DN9K2d3_.js +1 -0
- package/BestPracticesSection-n_GJKuXp.mjs +83 -0
- package/BorderRadiusSection-BqRzkDYG.js +1 -0
- package/BorderRadiusSection-CvnMLFCh.mjs +63 -0
- package/ButtonDripSection-BLa_mdeq.mjs +99 -0
- package/ButtonDripSection-D62t7cNU.js +12 -0
- package/ButtonLoaderSection-BAEAsnOQ.js +30 -0
- package/ButtonLoaderSection-dY9Ctlyf.mjs +127 -0
- package/CHANGELOG.md +253 -0
- package/CardContainerSection-Cso5x1TX.mjs +99 -0
- package/CardContainerSection-_OZaMbIu.js +21 -0
- package/CardTitleSection-BNmdH8MJ.mjs +113 -0
- package/CardTitleSection-CGnIM20t.js +19 -0
- package/CarouselCardsSection-CqwkiKuv.js +37 -0
- package/CarouselCardsSection-DJUza5iT.mjs +207 -0
- package/CarouselImageSection-CoNZlkZS.mjs +218 -0
- package/CarouselImageSection-sUP78k0h.js +38 -0
- package/CarouselSection-CLso38c7.mjs +159 -0
- package/CarouselSection-DrLjfsDL.js +24 -0
- package/CheckboxSection-B1Thom62.mjs +221 -0
- package/CheckboxSection-ClRdRrG3.js +26 -0
- package/CodeExamplesSection-DGdE5jIe.mjs +137 -0
- package/CodeExamplesSection-raO1hI2K.js +28 -0
- package/CoinCardSection-BMWMx77E.js +13 -0
- package/CoinCardSection-CcmSvFrb.mjs +174 -0
- package/CoinInfoCardSection-BXKoUx90.mjs +174 -0
- package/CoinInfoCardSection-Cg7mcq06.js +12 -0
- package/CoinListBoxSection-CUGweWcL.mjs +219 -0
- package/CoinListBoxSection-DlBbVyVM.js +24 -0
- package/CollapseSection-98dxj6hh.mjs +126 -0
- package/CollapseSection-kmcNxPMt.js +27 -0
- package/CollectionCardSection-BECI5Bd7.js +17 -0
- package/CollectionCardSection-kQBMh56J.mjs +103 -0
- package/CollectionSelectListSection-DF33zicH.mjs +102 -0
- package/CollectionSelectListSection-Db5SV44f.js +14 -0
- package/ColorCustomizationSection-Bb6emsjF.mjs +117 -0
- package/ColorCustomizationSection-CoATCcOw.js +1 -0
- package/ColorSystemSection-BMcNOrJZ.js +1 -0
- package/ColorSystemSection-Cb3ON86x.mjs +149 -0
- package/CommonErrorsSection-CP45i0KI.mjs +54 -0
- package/CommonErrorsSection-Q2gLNsG4.js +1 -0
- package/ComponentAnatomySection-Bbig6v0L.mjs +72 -0
- package/ComponentAnatomySection-Bq47Shzj.js +1 -0
- package/ComponentStatusSection-2PqavyCq.js +1 -0
- package/ComponentStatusSection-DJCpIv1y.mjs +84 -0
- package/CurrencySwapIconsSection-CycYbE0J.js +7 -0
- package/CurrencySwapIconsSection-JqjAN8xl.mjs +92 -0
- package/CustomColorPaletteSection-CfXiJg17.mjs +54 -0
- package/CustomColorPaletteSection-CzjNz2Lg.js +19 -0
- package/CustomIconsSection-0cWmXojJ.js +3 -0
- package/CustomIconsSection-DJMbKrH3.mjs +162 -0
- package/DefiAppLogoSection-D7jgArKN.mjs +120 -0
- package/DefiAppLogoSection-alsK3oh9.js +36 -0
- package/DesignPrinciplesSection-CbLaXe_T.mjs +81 -0
- package/DesignPrinciplesSection-DHN9U0MX.js +1 -0
- package/DrawerSection-C2gb1jbq.js +41 -0
- package/DrawerSection-CxC9PQJU.mjs +188 -0
- package/DynamicRoutesSection-C0hcJyEO.mjs +100 -0
- package/DynamicRoutesSection-DTEL6uSr.js +42 -0
- package/FileInputSection-BuwiaCIE.mjs +277 -0
- package/FileInputSection-qzkjHIPs.js +65 -0
- package/FileStructureSection-COelsTGH.js +26 -0
- package/FileStructureSection-DGFd5OvW.mjs +87 -0
- package/FormComponentsSection-Dz4NJWIU.mjs +116 -0
- package/FormComponentsSection-jDaUkbDC.js +1 -0
- package/FormMethodsSection-BYQ_foZq.js +55 -0
- package/FormMethodsSection-vLlj8oqq.mjs +119 -0
- package/HamburgerSection-DCyFcRlT.mjs +108 -0
- package/HamburgerSection-jpcdZ_hA.js +18 -0
- package/HookCategoriesSection-CxOrlkB5.mjs +97 -0
- package/HookCategoriesSection-DyOM1Dtj.js +1 -0
- package/HookDocumentationSection-CkH1P0yQ.mjs +272 -0
- package/HookDocumentationSection-b60lRPki.js +73 -0
- package/HookFeaturesSection-CFQ-th28.mjs +81 -0
- package/HookFeaturesSection-CM3rSPy7.js +1 -0
- package/IconArchitectureSection-B44gXgNP.mjs +108 -0
- package/IconArchitectureSection-DNcAfKY5.js +1 -0
- package/IconSizingGuideSection-CIOX5rAk.mjs +69 -0
- package/IconSizingGuideSection-u_m129SM.js +1 -0
- package/IconSystemAPISection-BTFd0SEj.js +1 -0
- package/IconSystemAPISection-C5oHKJSa.mjs +61 -0
- package/IconSystemBenefitsSection-4vjBgOcL.js +1 -0
- package/IconSystemBenefitsSection-DzNHxfsx.mjs +41 -0
- package/ImageSection-B4Egz61c.mjs +612 -0
- package/ImageSection-KRwcaC7i.js +80 -0
- package/ImplementationExamplesSection-B0Iyb8pc.mjs +284 -0
- package/ImplementationExamplesSection-D3GzoJHk.js +178 -0
- package/ImplementationGuidelinesSection-B986S98s.mjs +52 -0
- package/ImplementationGuidelinesSection-Di6FUATm.js +1 -0
- package/ImplementationStatusSection-CqAnYtcw.js +1 -0
- package/ImplementationStatusSection-zClYTFYV.mjs +23 -0
- package/ImplementedFeaturesSection-BzhXFsJc.js +1 -0
- package/ImplementedFeaturesSection-bsALbW35.mjs +116 -0
- package/InputSearcherSection-DQcFOSI_.js +32 -0
- package/InputSearcherSection-uyHUHUxD.mjs +258 -0
- package/InputSection-BhZmA0wW.js +37 -0
- package/InputSection-BnRWQKM5.mjs +265 -0
- package/KeyboardNavigationSection-BVRBWrR_.mjs +69 -0
- package/KeyboardNavigationSection-DkV3cH4w.js +1 -0
- package/LayoutPrinciplesSection-DTVK1_Ht.mjs +106 -0
- package/LayoutPrinciplesSection-wdSSdypw.js +1 -0
- package/LayoutTypesSection-BTUS9xIl.js +1 -0
- package/LayoutTypesSection-D4eq7w9u.mjs +239 -0
- package/ListContainerSection-CMukx5sM.js +38 -0
- package/ListContainerSection-Lq00hl5g.mjs +191 -0
- package/ListItemSection-CEpCtoxu.mjs +191 -0
- package/ListItemSection-D3CkNixV.js +36 -0
- package/LiveDemoSection-DQDdyS8_.js +1 -0
- package/LiveDemoSection-Duz-z9Az.mjs +16 -0
- package/LiveDemonstrationsSection-7OJufZVy.js +4 -0
- package/LiveDemonstrationsSection-DFRqLVsW.mjs +445 -0
- package/LivePriceFeedSection-BwQbsy1e.js +20 -0
- package/LivePriceFeedSection-CVUYaDLi.mjs +187 -0
- package/LoaderSection-DkC3hHKp.js +22 -0
- package/LoaderSection-DsDLwNrN.mjs +143 -0
- package/LogoSection-B_ll9gcD.js +100 -0
- package/LogoSection-BwE_ImN2.mjs +319 -0
- package/LucideIconsSection-BQH5Dipy.mjs +128 -0
- package/LucideIconsSection-DYNzZsEN.js +1 -0
- package/MFESupportSection-C1rBEqCL.js +122 -0
- package/MFESupportSection-CMTM8pC1.mjs +354 -0
- package/MenuItemsGuideSection-CFz7XSzU.mjs +325 -0
- package/MenuItemsGuideSection-uxlCicIJ.js +126 -0
- package/ModalSection-C27D58m_.mjs +158 -0
- package/ModalSection-DkdV4fA3.js +29 -0
- package/NFTGridSection-BtE3eC62.js +11 -0
- package/NFTGridSection-DLjDwzgW.mjs +122 -0
- package/NestedRoutesSection-D-oKOn0R.js +36 -0
- package/NestedRoutesSection-DeQN7AC9.mjs +88 -0
- package/NotificationCardSection-CDjX06Tt.js +28 -0
- package/NotificationCardSection-Ct2oUuXB.mjs +153 -0
- package/PanelActionCardSection-BgWaRFVD.mjs +138 -0
- package/PanelActionCardSection-Dpkzx-FH.js +28 -0
- package/PanelCardSection-DtwFeOlW.js +15 -0
- package/PanelCardSection-g8jYQ2i1.mjs +96 -0
- package/ParamTabSection-DEcMYPi2.mjs +561 -0
- package/ParamTabSection-fAirqQfE.js +92 -0
- package/PinCodeSection-BTtSu9RK.mjs +263 -0
- package/PinCodeSection-HOx7RS53.js +22 -0
- package/ProgressbarSection-C_ipN0ko.mjs +195 -0
- package/ProgressbarSection-Cb4de9hD.js +21 -0
- package/README.md +355 -113
- package/RadioGroupSection-BIMkY1F0.js +27 -0
- package/RadioGroupSection-CLbIvqN6.mjs +288 -0
- package/RadioSection-DZD5W976.js +23 -0
- package/RadioSection-LW7GeXAA.mjs +208 -0
- package/RevealContentSection-PGiR5VJY.mjs +111 -0
- package/RevealContentSection-kDLDHOGV.js +21 -0
- package/RouteConfigurationSection-BmwVvMMw.mjs +81 -0
- package/RouteConfigurationSection-DR7u1n3x.js +40 -0
- package/ScrollToTopSection-BWEgLKlr.js +36 -0
- package/ScrollToTopSection-CXx2x8gR.mjs +193 -0
- package/ScrollbarSection-DsoKO-RW.js +29 -0
- package/ScrollbarSection-Dubf9f65.mjs +146 -0
- package/SelectSection-Btr390sY.mjs +275 -0
- package/SelectSection-D85H1YXr.js +20 -0
- package/SettingsPanelSection-BCjJfaLV.mjs +126 -0
- package/SettingsPanelSection-CySxJ7Tt.js +1 -0
- package/ShadowsSection-D0X4gGde.js +1 -0
- package/ShadowsSection-sQXQR0iT.mjs +90 -0
- package/SidebarMenuSection-CLhinak1.mjs +140 -0
- package/SidebarMenuSection-D9_kKfNh.js +46 -0
- package/SidebarSection-BgHwGWPt.js +25 -0
- package/SidebarSection-DUgnUh5w.mjs +122 -0
- package/SizingSection-B89FO3ff.mjs +86 -0
- package/SizingSection-Z0pVTNKq.js +1 -0
- package/SkeletonSection-BdhX4Xfv.mjs +259 -0
- package/SkeletonSection-sriDQIKQ.js +52 -0
- package/SpacingSystemSection-B9JXurvm.js +1 -0
- package/SpacingSystemSection-BPW-n6rL.mjs +82 -0
- package/SpinnerSection-CUdRcW4b.mjs +107 -0
- package/SpinnerSection-D1xuIeR2.js +17 -0
- package/StandaloneAppSection-BF1C6FEF.mjs +244 -0
- package/StandaloneAppSection-fhZ8XHQq.js +69 -0
- package/SwitchSection-BENFMw9r.mjs +230 -0
- package/SwitchSection-wuPSVKvN.js +20 -0
- package/SystemOverviewSection-DS9SHn0L.mjs +93 -0
- package/SystemOverviewSection-HRr9gFGM.js +1 -0
- package/TabSection-Cb3Fykn2.js +84 -0
- package/TabSection-aOHyWLGr.mjs +331 -0
- package/TabSelectSection-CaGKQfWS.js +100 -0
- package/TabSelectSection-M0E_Atxn.mjs +418 -0
- package/TailwindConfigSection-BreVbZy8.js +19 -0
- package/TailwindConfigSection-C-PDB_22.mjs +152 -0
- package/TestingSection-BW3pNxaB.js +12 -0
- package/TestingSection-BwmJOUpE.mjs +48 -0
- package/TextareaSection-BfNhLRBw.js +21 -0
- package/TextareaSection-kn20lUc6.mjs +220 -0
- package/ThemeArchitectureSection-C7b32fMB.mjs +86 -0
- package/ThemeArchitectureSection-C8pBxgU3.js +1 -0
- package/ThemeConfigurationSection-HI8FyfUk.js +1 -0
- package/ThemeConfigurationSection-dExOlKvV.mjs +132 -0
- package/ThemeHooksSection-00QYTX0m.js +1 -0
- package/ThemeHooksSection-lG4XldVs.mjs +119 -0
- package/ThemeProviderIntegrationSection-ByuwG8qJ.mjs +108 -0
- package/ThemeProviderIntegrationSection-rB1ZigMz.js +61 -0
- package/ThemeProviderRequiredSection-B1-gtNbe.mjs +95 -0
- package/ThemeProviderRequiredSection-v10DfTl0.js +1 -0
- package/ThemeProviderSection-BFOZTXGP.mjs +128 -0
- package/ThemeProviderSection-BsMcUESl.js +1 -0
- package/ToastSection-5qocQ7cH.mjs +170 -0
- package/ToastSection-BKsJOkbs.js +37 -0
- package/ToggleBarSection-Cx7gCx2L.js +37 -0
- package/ToggleBarSection-KeVNyc_h.mjs +187 -0
- package/TopupButtonSection-BkGsoYjc.js +24 -0
- package/TopupButtonSection-DFl6wlGA.mjs +145 -0
- package/TransactionInfoSection-2IX3m2mI.js +16 -0
- package/TransactionInfoSection-DQfuXrqZ.mjs +113 -0
- package/TucuUiLogoSection-BHibuIVc.js +26 -0
- package/TucuUiLogoSection-D5VLGORL.mjs +121 -0
- package/TypographySection-CkBNo8uk.js +1 -0
- package/TypographySection-DszlzyIX.mjs +129 -0
- package/TypographySection-Dv7RJSzI.js +24 -0
- package/TypographySection-fYLxICoM.mjs +214 -0
- package/UsageExamplesSection-Bs8jQesE.mjs +147 -0
- package/UsageExamplesSection-DlCIZC7Y.js +83 -0
- package/UsingThemeSystemSection-BKh8A4-r.mjs +176 -0
- package/UsingThemeSystemSection-Dk5n1wP3.js +140 -0
- package/ValidationSystemSection-9-Sh0rkM.mjs +197 -0
- package/ValidationSystemSection-BrpnhJ2J.js +54 -0
- package/WCAGPrinciplesSection-W_P3HWdG.js +1 -0
- package/WCAGPrinciplesSection-nFfogbYI.mjs +116 -0
- package/collection-1-BIsLOX9N.js +1 -0
- package/collection-1-NeFANkbk.mjs +4 -0
- package/components/common/badge.d.ts +16 -6
- package/components/common/skeleton.d.ts +36 -3
- package/components/icons/chevron-left.d.ts +1 -1
- package/components/index.d.ts +6 -3
- package/components/inputs/{uploader-two.d.ts → file-input.d.ts} +13 -13
- package/components/inputs/index.d.ts +1 -2
- package/components/inputs/input.d.ts +2 -0
- package/components/layouts/index.d.ts +13 -0
- package/components/layouts/menus/menu-item.d.ts +3 -2
- package/components/list/index.d.ts +2 -0
- package/components/list/list-Item.d.ts +13 -0
- package/components/list/list-container.d.ts +17 -0
- package/components/logos/defi-app-logo.d.ts +1 -0
- package/components/logos/full-logo.d.ts +1 -0
- package/components/logos/index.d.ts +2 -5
- package/components/logos/logo.d.ts +1 -2
- package/components/logos/tucu-ui-logo.d.ts +8 -0
- package/components/notifications/alert.d.ts +2 -1
- package/components/table/basic-table.d.ts +25 -0
- package/components/table/index.d.ts +1 -0
- package/components/tabs/param-tab.d.ts +7 -1
- package/components/tabs/tab.d.ts +18 -6
- package/components/utils/image.d.ts +17 -8
- package/components/utils/index.d.ts +0 -1
- package/components/utils/scroll-to-top.d.ts +38 -1
- package/demo/components/hero-card.d.ts +1 -0
- package/demo/components/index.d.ts +4 -0
- package/demo/components/lazy-component-section.d.ts +11 -0
- package/demo/components/nav-options.d.ts +2 -0
- package/demo/components/playground-button.d.ts +1 -0
- package/demo/components/table-of-contents.d.ts +16 -0
- package/demo/index.d.ts +1 -0
- package/demo/pages/blockchain/BlockchainComponents.d.ts +1 -0
- package/demo/pages/blockchain/blockchain-components-sections/CoinCardSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/CoinInfoCardSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/CoinListBoxSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/CollectionCardSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/CollectionSelectListSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/CurrencySwapIconsSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/LivePriceFeedSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/NFTGridSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/TransactionInfoSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/index.d.ts +9 -0
- package/demo/pages/components/ComponentsIntroduction.d.ts +1 -0
- package/demo/pages/components/InputsComponents.d.ts +2 -0
- package/demo/pages/components/UiComponents.d.ts +1 -0
- package/demo/pages/components/input-components-sections/CheckboxSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/FileInputSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/InputSearcherSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/InputSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/PinCodeSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/RadioGroupSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/RadioSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/SelectSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/SwitchSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/TextareaSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/ToggleBarSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/index.d.ts +11 -0
- package/demo/pages/components/ui-components-sections/ActiveLinkSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/AlertSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/AnchorLinkSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/AuthorCardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/AvatarSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/BadgeSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/BasicTableSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ButtonDripSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ButtonLoaderSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CardContainerSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CardTitleSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CarouselCardsSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CarouselImageSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CarouselSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CollapseSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/DefiAppLogoSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/DrawerSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/HamburgerSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ImageSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ListContainerSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ListItemSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/LoaderSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/LogoSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ModalSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/NotificationCardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/PanelActionCardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/PanelCardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ParamTabSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ProgressbarSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/RevealContentSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ScrollToTopSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ScrollbarSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/SidebarMenuSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/SidebarSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/SkeletonSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/SpinnerSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TabSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TabSelectSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ToastSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TopupButtonSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TucuUiLogoSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TypographySection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/index.d.ts +40 -0
- package/demo/pages/design-system/DesignSystem.d.ts +2 -0
- package/demo/pages/design-system/LayoutSystem.d.ts +2 -0
- package/demo/pages/design-system/ThemingGuide.d.ts +2 -0
- package/demo/pages/design-system/design-system-sections/BorderRadiusSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/ColorSystemSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/ComponentAnatomySection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/DesignPrinciplesSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/ImplementationGuidelinesSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/LayoutPrinciplesSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/ShadowsSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/SizingSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/SpacingSystemSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/TypographySection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/CommonErrorsSection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/ImplementationExamplesSection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/LayoutTypesSection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/MenuItemsGuideSection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/ThemeProviderRequiredSection.d.ts +3 -0
- package/demo/pages/design-system/legacy/DesignSystemIntroduction.d.ts +2 -0
- package/demo/pages/design-system/legacy/ThemingGuideIntroduction.d.ts +2 -0
- package/demo/pages/design-system/theming-guide-sections/AdvancedColorSystemSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/AdvancedFeaturesSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/ColorCustomizationSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/CustomColorPaletteSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/FileStructureSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/SettingsPanelSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/TailwindConfigSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/ThemeArchitectureSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/ThemeConfigurationSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/ThemeHooksSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/ThemeProviderSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/UsingThemeSystemSection.d.ts +3 -0
- package/demo/pages/features/Accessibility.d.ts +2 -0
- package/demo/pages/features/FeaturesIntroduction.d.ts +1 -0
- package/demo/pages/features/HooksUtilities.d.ts +2 -0
- package/demo/pages/features/IconsSystem.d.ts +2 -0
- package/demo/pages/features/RoutingSystem.d.ts +2 -0
- package/demo/pages/features/accessibility-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/CodeExamplesSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/ComponentStatusSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/ImplementationStatusSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/ImplementedFeaturesSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/KeyboardNavigationSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/TestingSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/WCAGPrinciplesSection.d.ts +3 -0
- package/demo/pages/features/hooks-utilities-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/features/hooks-utilities-sections/HookCategoriesSection.d.ts +3 -0
- package/demo/pages/features/hooks-utilities-sections/HookDocumentationSection.d.ts +3 -0
- package/demo/pages/features/hooks-utilities-sections/HookFeaturesSection.d.ts +3 -0
- package/demo/pages/features/hooks-utilities-sections/LiveDemonstrationsSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/CustomIconsSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/IconArchitectureSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/IconSizingGuideSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/IconSystemAPISection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/IconSystemBenefitsSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/LucideIconsSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/UsageExamplesSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/APIReferenceSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/ArchitecturalPatternsComparisonSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/DynamicRoutesSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/MFESupportSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/NestedRoutesSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/RouteConfigurationSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/StandaloneAppSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/SystemOverviewSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/ThemeProviderIntegrationSection.d.ts +3 -0
- package/demo/pages/form-system/FormSystem.d.ts +2 -0
- package/demo/pages/form-system/code-example-page.d.ts +2 -0
- package/demo/pages/form-system/example/constants.d.ts +12 -0
- package/demo/pages/form-system/example/simple-form-example.d.ts +3 -0
- package/demo/pages/form-system/form-example-page.d.ts +2 -0
- package/demo/pages/form-system/form-system-sections/AdvancedFeaturesSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/ArchitectureOverviewSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/BasicUsageSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/FormComponentsSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/FormMethodsSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/LiveDemoSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/ValidationSystemSection.d.ts +3 -0
- package/demo/pages/index.d.ts +36 -0
- package/demo/pages/introduction/BasicUsageDemo.d.ts +1 -0
- package/demo/pages/introduction/BasicUsageExampleCode.d.ts +1 -0
- package/demo/pages/introduction/BasicUsageWithCustomRouterExampleCode.d.ts +1 -0
- package/demo/pages/introduction/ThemeProviderExamples.d.ts +7 -0
- package/demo/pages/introduction/index.d.ts +1 -0
- package/demo/pages/tailwind/AccessibilityUtilities.d.ts +1 -0
- package/demo/pages/tailwind/BackgroundUtilities.d.ts +1 -0
- package/demo/pages/tailwind/BordersUtilities.d.ts +1 -0
- package/demo/pages/tailwind/Colors.d.ts +1 -0
- package/demo/pages/tailwind/EffectsUtilities.d.ts +1 -0
- package/demo/pages/tailwind/FiltersUtilities.d.ts +1 -0
- package/demo/pages/tailwind/FlexboxGridUtilities.d.ts +1 -0
- package/demo/pages/tailwind/InteractivityUtilities.d.ts +1 -0
- package/demo/pages/tailwind/LayoutUtilities.d.ts +1 -0
- package/demo/pages/tailwind/SVGUtilities.d.ts +1 -0
- package/demo/pages/tailwind/TablesUtilities.d.ts +1 -0
- package/demo/pages/tailwind/TailwindIntroduction.d.ts +1 -0
- package/demo/pages/tailwind/TransformsUtilities.d.ts +1 -0
- package/demo/pages/tailwind/TransitionsAnimations.d.ts +1 -0
- package/demo/pages/tailwind/TypographyUtilities.d.ts +1 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/use-anchor-scroll.d.ts +1 -0
- package/hooks/use-window-scroll.d.ts +11 -1
- package/index-CjRk4ezu.js +920 -0
- package/index-Hq6IUBmn.mjs +53892 -0
- package/index.css +1 -1
- package/index.js +1 -179
- package/index.mjs +324 -45608
- package/package.json +2 -3
- package/tether-DaYvmdAU.mjs +5 -0
- package/tether-EofDinu3.js +1 -0
- package/themes/auth/components/auth-provider.d.ts +2 -0
- package/themes/components/theme-provider/index.d.ts +48 -6
- package/themes/components/theme-provider/mfe-app-theme-provider.d.ts +4 -1
- package/themes/components/theme-provider/standalone-app-theme-provider.d.ts +12 -0
- package/themes/components/theme-provider/theme-wrapper.d.ts +2 -1
- package/themes/config/index.d.ts +1 -1
- package/themes/hooks/use-theme.d.ts +0 -2
- package/themes/pages/access-denied.d.ts +6 -0
- package/themes/pages/default-error.d.ts +5 -0
- package/themes/pages/disabled-page.d.ts +5 -0
- package/themes/pages/forbidden.d.ts +5 -0
- package/themes/pages/index.d.ts +8 -0
- package/themes/pages/no-routes.d.ts +5 -0
- package/themes/pages/server-error.d.ts +5 -0
- package/themes/pages/unknown.d.ts +5 -0
- package/themes/pages/user-blocked.d.ts +5 -0
- package/themes/router/components/index.d.ts +1 -1
- package/themes/router/components/mfe-app-routes-provider.d.ts +2 -0
- package/themes/router/components/standalone-app-routes-provider.d.ts +20 -0
- package/themes/types/index.d.ts +2 -2
- package/components/inputs/uploader.d.ts +0 -2
- package/components/legacy/forms/checkbox.d.ts +0 -38
- package/components/legacy/forms/field-error-text.d.ts +0 -19
- package/components/legacy/forms/field-helper-text.d.ts +0 -18
- package/components/legacy/forms/file-input.d.ts +0 -8
- package/components/legacy/forms/form-system/example/error-container-example.d.ts +0 -3
- package/components/legacy/forms/form-system/example/form-example.d.ts +0 -3
- package/components/legacy/forms/form-system/example/form-methods-example.d.ts +0 -3
- package/components/legacy/forms/form-system/example/validations.d.ts +0 -14
- package/components/legacy/forms/form-system/form-field.d.ts +0 -14
- package/components/legacy/forms/form-system/form.d.ts +0 -13
- package/components/legacy/forms/form-system/hook-form.d.ts +0 -3
- package/components/legacy/forms/form-system/index.d.ts +0 -10
- package/components/legacy/forms/form-system/types/dependencies.type.d.ts +0 -11
- package/components/legacy/forms/form-system/types/extend-react-hook-form.type.d.ts +0 -16
- package/components/legacy/forms/form-system/types/index.d.ts +0 -3
- package/components/legacy/forms/form-system/types/validations.type.d.ts +0 -9
- package/components/legacy/forms/input-label.d.ts +0 -9
- package/components/legacy/forms/input-searcher.d.ts +0 -11
- package/components/legacy/forms/input-select.d.ts +0 -24
- package/components/legacy/forms/input-switch.d.ts +0 -13
- package/components/legacy/forms/input.d.ts +0 -16
- package/components/legacy/forms/pin-code.d.ts +0 -95
- package/components/legacy/forms/radio-group.d.ts +0 -56
- package/components/legacy/forms/radio.d.ts +0 -84
- package/components/legacy/forms/textarea.d.ts +0 -10
- package/components/logos/AppLogo.d.ts +0 -1
- package/components/logos/logo-dark.d.ts +0 -1
- package/components/logos/logo-icon.d.ts +0 -5
- package/components/logos/logo-iso-dark.d.ts +0 -1
- package/components/logos/logo-iso-light.d.ts +0 -1
- package/components/logos/logo-light.d.ts +0 -1
- package/components/utils/test-brand-classes.d.ts +0 -1
- package/themes/components/theme-provider/single-app-theme-provider.d.ts +0 -8
- package/themes/router/components/single-app-routes-provider.d.ts +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,222 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.0.0] - 2026-01-15
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Advanced Routing System**: Complete routing architecture with two patterns
|
|
13
|
+
- **Standalone App Pattern** (default): Automatic route generation from `menuItems`
|
|
14
|
+
- Simple configuration with menu-driven navigation
|
|
15
|
+
- Perfect for single-page applications
|
|
16
|
+
- Optional `customRoutes` for advanced routing needs
|
|
17
|
+
- Type-safe with `StandaloneAppRoutesMenuItem[]` interface
|
|
18
|
+
- **Micro Frontends (MFE) Pattern**: Explicit route configuration
|
|
19
|
+
- Route protection with `isPublic` and `isAuthenticated` props
|
|
20
|
+
- Base path support for micro-frontend integration
|
|
21
|
+
- Type-safe with `IAppRouteConfig[]` interface
|
|
22
|
+
- `ShellWrapper` component for MFE integration
|
|
23
|
+
- TypeScript discriminated unions ensure correct prop usage for each pattern
|
|
24
|
+
- Comprehensive documentation with examples for both patterns
|
|
25
|
+
- **Enhanced Theming System**: Major improvements to color architecture
|
|
26
|
+
- Expanded from 26+ to **34+ color presets**
|
|
27
|
+
- **12-layer color architecture**: primary, dark primary, secondary, dark secondary, accent, dark accent, muted, dark muted, and background variations
|
|
28
|
+
- New modern color presets: Mint, Lavender, Violet, Chocolate, Tan, Beige
|
|
29
|
+
- Enhanced color system with CSS variables for all layers
|
|
30
|
+
- Improved theme persistence and restoration
|
|
31
|
+
- **Standalone Application Examples**: Complete standalone app example
|
|
32
|
+
- Full integration guide documentation
|
|
33
|
+
- Architecture documentation
|
|
34
|
+
- Development guide
|
|
35
|
+
- Example application with all features
|
|
36
|
+
- **Micro Frontends Examples**: Complete MFE example
|
|
37
|
+
- Full integration guide documentation
|
|
38
|
+
- Architecture documentation
|
|
39
|
+
- Development guide
|
|
40
|
+
- Example applications (authentication, dashboard, landing)
|
|
41
|
+
- **Documentation Pattern System**: Comprehensive documentation standards
|
|
42
|
+
- New `.cursor/rules/documentation-pattern-rules.mdc` for AI-assisted linting
|
|
43
|
+
- Updated `documentation-pattern-guide.md` with design rules
|
|
44
|
+
- Standardized iconography with colored gradients
|
|
45
|
+
- Container background guidelines (`bg-light-dark`, semantic classes)
|
|
46
|
+
- Text highlighting with borders instead of backgrounds
|
|
47
|
+
- `BasicTable` component requirement for all tables
|
|
48
|
+
- Alert component text color guidelines
|
|
49
|
+
- **Documentation Improvements**: Major updates across all documentation pages
|
|
50
|
+
- Updated routing system documentation with Standalone and MFE sections
|
|
51
|
+
- Refactored `RoutingSystem.tsx` with three distinct sections:
|
|
52
|
+
- Micro Frontends (MFE) Support
|
|
53
|
+
- Standalone App
|
|
54
|
+
- Architectural Patterns: Standalone vs MFE
|
|
55
|
+
- Updated all component documentation pages to follow new design patterns
|
|
56
|
+
- Updated form system documentation pages
|
|
57
|
+
- Updated features documentation pages
|
|
58
|
+
- Updated tailwind utilities documentation pages
|
|
59
|
+
- Consistent use of `BasicTable` component throughout
|
|
60
|
+
- Standardized iconography and container backgrounds
|
|
61
|
+
- **BasicTable Component**: Enhanced table component for documentation
|
|
62
|
+
- Reusable component for displaying tabular data
|
|
63
|
+
- Consistent styling and responsiveness
|
|
64
|
+
- Dark mode support
|
|
65
|
+
- Used throughout documentation for props tables and API references
|
|
66
|
+
- **Icon System Enhancements**: Complete icon system documentation
|
|
67
|
+
- 5000+ Lucide React icons fully integrated
|
|
68
|
+
- 97+ custom-designed icons
|
|
69
|
+
- Comprehensive icon system documentation
|
|
70
|
+
- Icon sizing guide
|
|
71
|
+
- Custom icons guide
|
|
72
|
+
- Usage examples and best practices
|
|
73
|
+
- **Accessibility Improvements**: Enhanced accessibility documentation
|
|
74
|
+
- WCAG 2.1 AA compliance documentation
|
|
75
|
+
- Component accessibility status tracking
|
|
76
|
+
- Keyboard navigation guides
|
|
77
|
+
- Testing guidelines
|
|
78
|
+
- Implementation examples
|
|
79
|
+
- **Hooks Utilities Documentation**: Comprehensive hooks documentation
|
|
80
|
+
- Complete hook categories documentation
|
|
81
|
+
- Live demonstrations
|
|
82
|
+
- Best practices guide
|
|
83
|
+
- Hook features overview
|
|
84
|
+
|
|
85
|
+
### Changed
|
|
86
|
+
|
|
87
|
+
- **ThemeProvider Component**: Major architectural improvements
|
|
88
|
+
- Split into two providers: `StandaloneAppThemeProvider` and `MfeAppThemeProvider`
|
|
89
|
+
- TypeScript discriminated unions for type safety
|
|
90
|
+
- Conditional prop requirements based on `architecturalPatterns`
|
|
91
|
+
- Enhanced prop validation and IntelliSense support
|
|
92
|
+
- Removed deprecated `architecturalPatterns="single"` (now `"standalone"`)
|
|
93
|
+
- **Color System**: Expanded and improved
|
|
94
|
+
- Increased from 26+ to 34+ color presets
|
|
95
|
+
- Implemented 12-layer color architecture
|
|
96
|
+
- Enhanced CSS variable system
|
|
97
|
+
- Improved color mixing and theming
|
|
98
|
+
- **Documentation Structure**: Comprehensive refactoring
|
|
99
|
+
- All documentation pages updated to follow new design patterns
|
|
100
|
+
- Consistent use of semantic background classes (`bg-light-dark`, `bg-light dark:bg-dark`)
|
|
101
|
+
- Standardized iconography with colored gradients (`bg-linear-to-br` with `shadow-lg`)
|
|
102
|
+
- Unified text highlighting approach (borders instead of backgrounds for inline code)
|
|
103
|
+
- Replaced HTML tables with `BasicTable` component
|
|
104
|
+
- Updated 100+ documentation files across components, features, form-system, and tailwind sections
|
|
105
|
+
- Consistent spacing, typography, and component usage patterns
|
|
106
|
+
- **README Files**: Major updates
|
|
107
|
+
- Updated main README.md with v2.0.0 features
|
|
108
|
+
- Updated README-es.md (Spanish) with v2.0.0 features
|
|
109
|
+
- Added comprehensive examples for both architectural patterns
|
|
110
|
+
- Updated props reference tables
|
|
111
|
+
- Enhanced quick start guides
|
|
112
|
+
|
|
113
|
+
### Fixed
|
|
114
|
+
|
|
115
|
+
- **Type Safety**: Improved TypeScript type checking
|
|
116
|
+
- Discriminated unions prevent mixing Standalone and MFE props
|
|
117
|
+
- Compile-time errors for incorrect pattern usage
|
|
118
|
+
- Enhanced IntelliSense support
|
|
119
|
+
- **Documentation Consistency**: Standardized across all pages
|
|
120
|
+
- Fixed inconsistent background classes
|
|
121
|
+
- Fixed iconography styling
|
|
122
|
+
- Fixed text highlighting approaches
|
|
123
|
+
- Replaced all HTML tables with `BasicTable`
|
|
124
|
+
|
|
125
|
+
### Documentation
|
|
126
|
+
|
|
127
|
+
- **New Documentation Pages**:
|
|
128
|
+
- Standalone application integration guide
|
|
129
|
+
- Standalone application architecture documentation
|
|
130
|
+
- Standalone application development guide
|
|
131
|
+
- Micro Frontends integration guide (updated)
|
|
132
|
+
- Routing system comprehensive documentation
|
|
133
|
+
- **Updated Documentation Pages**:
|
|
134
|
+
- Introduction page with v2.0.0 features
|
|
135
|
+
- Routing system with three distinct sections
|
|
136
|
+
- All component documentation pages
|
|
137
|
+
- All form system documentation pages
|
|
138
|
+
- All features documentation pages
|
|
139
|
+
- All tailwind utilities documentation pages
|
|
140
|
+
- **Documentation Standards**:
|
|
141
|
+
- Created `.cursor/rules/documentation-pattern-rules.mdc`
|
|
142
|
+
- Updated `documentation-pattern-guide.md`
|
|
143
|
+
- Established design pattern guidelines
|
|
144
|
+
- Standardized component usage patterns
|
|
145
|
+
|
|
146
|
+
### Migration from 1.x to 2.0.0
|
|
147
|
+
|
|
148
|
+
- **No Breaking Changes for Standalone Apps**: If you're using `ThemeProvider` with `menuItems`, no changes are required - Standalone is now the default pattern
|
|
149
|
+
- **MFE Migration**: If migrating to MFE pattern, set `architecturalPatterns="mfe"` and provide required props (`basePath`, `appRoutesConfig`)
|
|
150
|
+
- **Deprecated**: `architecturalPatterns="single"` has been removed - use `"standalone"` or omit it (default)
|
|
151
|
+
- **TypeScript**: Enhanced type safety will catch incorrect prop usage at compile time
|
|
152
|
+
- **Color Presets**: Expanded from 26+ to 34+ presets - all existing presets remain compatible
|
|
153
|
+
- **Documentation**: All documentation has been updated - refer to new examples for best practices
|
|
154
|
+
|
|
155
|
+
## [1.2.0] - 2025-11-11
|
|
156
|
+
|
|
157
|
+
### Added
|
|
158
|
+
|
|
159
|
+
- **Carousel Components**: Complete carousel system with multiple variants
|
|
160
|
+
- `CarouselComponent`: Main carousel component with Swiper integration
|
|
161
|
+
- `CarouselCards`: Carousel variant for displaying cards
|
|
162
|
+
- `CarouselImage`: Carousel variant for displaying images
|
|
163
|
+
- Comprehensive README documentation (279 lines)
|
|
164
|
+
- Full Storybook stories for all carousel variants
|
|
165
|
+
- **Input Component**: Major enhancements and new features
|
|
166
|
+
- Improved date picker functionality
|
|
167
|
+
- Enhanced password visibility toggle
|
|
168
|
+
- Better validation and error handling
|
|
169
|
+
- Expanded Storybook stories with more examples
|
|
170
|
+
- **InputSearcher Component**: Significant refactoring and improvements
|
|
171
|
+
- Enhanced filtering and search capabilities
|
|
172
|
+
- Improved state management
|
|
173
|
+
- Better user experience with error handling
|
|
174
|
+
- New comprehensive Storybook stories (232 lines)
|
|
175
|
+
- **CodeBlock Component**: Improved syntax highlighting and display
|
|
176
|
+
- Better Prism.js integration
|
|
177
|
+
- Enhanced code formatting
|
|
178
|
+
|
|
179
|
+
### Changed
|
|
180
|
+
|
|
181
|
+
- **Input Component**: Major refactoring (344 lines changed)
|
|
182
|
+
- Improved internal structure and organization
|
|
183
|
+
- Enhanced prop handling and validation
|
|
184
|
+
- Better TypeScript typing
|
|
185
|
+
- **InputSearcher Component**: Complete refactoring (331 lines changed)
|
|
186
|
+
- Improved internal state management
|
|
187
|
+
- Better filtering algorithm
|
|
188
|
+
- Enhanced dropdown behavior
|
|
189
|
+
- **Radio Component**: Enhanced implementation (108 lines changed)
|
|
190
|
+
- Improved styling and behavior
|
|
191
|
+
- Better accessibility support
|
|
192
|
+
- **Checkbox Component**: Minor improvements (15 lines changed)
|
|
193
|
+
- **PinCode Component**: Enhanced functionality (18 lines changed)
|
|
194
|
+
- **RadioGroup Component**: Minor updates (4 lines changed)
|
|
195
|
+
- **Tab Components**: Improved animations and transitions
|
|
196
|
+
- `Tab`: Enhanced panel transitions (13 lines changed)
|
|
197
|
+
- `TabSelect`: Minor improvements (2 lines changed)
|
|
198
|
+
- **Vite Configuration**: Updated build configuration
|
|
199
|
+
- Enhanced plugin setup
|
|
200
|
+
- Improved build optimization
|
|
201
|
+
|
|
202
|
+
### Fixed
|
|
203
|
+
|
|
204
|
+
- **Input Components**: Fixed various edge cases and bugs
|
|
205
|
+
- **Auth Components**: Fixed `ResetPinForm` component issues (4 lines changed)
|
|
206
|
+
- **Layout Components**: Fixed responsive layout issues in classic and minimal layouts
|
|
207
|
+
|
|
208
|
+
### Documentation
|
|
209
|
+
|
|
210
|
+
- **Storybook**: Major documentation updates
|
|
211
|
+
- Expanded `01-introduction.mdx` with comprehensive library overview (650+ lines)
|
|
212
|
+
- Removed fragmented MDX documentation files (consolidated into introduction)
|
|
213
|
+
- Updated all input component stories with better examples
|
|
214
|
+
- Added new Storybook stories for carousel components
|
|
215
|
+
|
|
216
|
+
## [1.1.1] - 2025-11-10
|
|
217
|
+
|
|
218
|
+
### Changed
|
|
219
|
+
|
|
220
|
+
- **Package**: Published beta version to npm
|
|
221
|
+
- Updated package.json version
|
|
222
|
+
- Prepared for beta release
|
|
223
|
+
|
|
8
224
|
## [1.1.0] - 2024-12-19
|
|
9
225
|
|
|
10
226
|
### Added
|
|
@@ -56,6 +272,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
56
272
|
|
|
57
273
|
## [Unreleased]
|
|
58
274
|
|
|
275
|
+
### Changed
|
|
276
|
+
|
|
277
|
+
- Future improvements and enhancements
|
|
278
|
+
|
|
59
279
|
## [1.0.0] - Initial Release
|
|
60
280
|
|
|
61
281
|
### Added
|
|
@@ -99,5 +319,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
99
319
|
|
|
100
320
|
## Version History
|
|
101
321
|
|
|
322
|
+
- **2.0.0** - Major release with advanced routing system (Standalone & MFE), enhanced theming (34+ presets, 12-layer architecture), comprehensive documentation improvements, and architectural pattern support
|
|
323
|
+
- **1.2.0** - Major input components update, new carousel system, and comprehensive improvements
|
|
324
|
+
- **1.1.1** - Beta version publication
|
|
102
325
|
- **1.1.0** - Enhanced form components with improved hover states, removed DEFAULT values, and bug fixes
|
|
103
326
|
- **1.0.0** - Initial release with core form components and UI elements
|
|
327
|
+
|
|
328
|
+
## Migration Notes
|
|
329
|
+
|
|
330
|
+
### Version 2.0.0 Migration
|
|
331
|
+
|
|
332
|
+
If you're upgrading from version 1.x to 2.0.0:
|
|
333
|
+
|
|
334
|
+
- **Architectural Patterns**: The `ThemeProvider` now supports two patterns:
|
|
335
|
+
- **Standalone** (default): No changes needed if using `menuItems` - this is the default behavior
|
|
336
|
+
- **MFE**: Set `architecturalPatterns="mfe"` and provide `basePath` and `appRoutesConfig`
|
|
337
|
+
- **Breaking**: Removed `architecturalPatterns="single"` - use `"standalone"` instead (or omit it, as it's the default)
|
|
338
|
+
- **Type Safety**: TypeScript will now enforce correct props for each architectural pattern
|
|
339
|
+
- **Color Presets**: Expanded from 26+ to 34+ presets with 12-layer architecture
|
|
340
|
+
- **Documentation**: All documentation has been updated with new patterns and examples
|
|
341
|
+
|
|
342
|
+
### Tailwind CSS v4 Migration (v1.1.0+)
|
|
343
|
+
|
|
344
|
+
If you're upgrading from a version before the Tailwind v4 migration:
|
|
345
|
+
|
|
346
|
+
- **Required**: Update to Tailwind CSS v4 (`>=4.0.0`) in your project
|
|
347
|
+
- **Breaking**: The library no longer includes custom Tailwind utility CSS files
|
|
348
|
+
- **Breaking**: `tailwind.config.js` configuration has changed - refer to Tailwind v4 documentation
|
|
349
|
+
- **Note**: All styles are now consolidated in `globals.css`
|
|
350
|
+
- **Action**: Ensure your project uses Tailwind CSS v4 to avoid compatibility issues
|
|
351
|
+
|
|
352
|
+
### Package Manager Migration (v1.1.0+)
|
|
353
|
+
|
|
354
|
+
- The project now uses `pnpm` as the package manager
|
|
355
|
+
- If contributing, ensure you have `pnpm` installed
|
|
356
|
+
- Dependencies are managed through `pnpm` workspace configuration
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { jsxs as r, Fragment as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as a, C as t, a as n, B as d, c as o } from "./index-Hq6IUBmn.mjs";
|
|
3
|
+
import "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const x = () => /* @__PURE__ */ r(i, { children: [
|
|
8
|
+
/* @__PURE__ */ r("div", { className: "text-center space-y-4", children: [
|
|
9
|
+
/* @__PURE__ */ e(a, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "CardContainer" }),
|
|
10
|
+
/* @__PURE__ */ e(
|
|
11
|
+
a,
|
|
12
|
+
{
|
|
13
|
+
tag: "p",
|
|
14
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
15
|
+
children: "A container component that provides consistent styling and layout for card-based content."
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
] }),
|
|
19
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
20
|
+
/* @__PURE__ */ r(t, { className: "p-4", children: [
|
|
21
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Basic Card" }),
|
|
22
|
+
/* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(a, { tag: "p", children: "Card content goes here" }) })
|
|
23
|
+
] }),
|
|
24
|
+
/* @__PURE__ */ r(t, { className: "p-4", children: [
|
|
25
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "With Custom Content" }),
|
|
26
|
+
/* @__PURE__ */ r(t, { children: [
|
|
27
|
+
/* @__PURE__ */ e(a, { tag: "h3", className: "font-bold mb-2", children: "Card Title" }),
|
|
28
|
+
/* @__PURE__ */ e(a, { tag: "p", children: "This is a card with custom content including a title and description." })
|
|
29
|
+
] })
|
|
30
|
+
] })
|
|
31
|
+
] }) }) }) }),
|
|
32
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Props", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(d, { columns: [
|
|
33
|
+
{
|
|
34
|
+
key: "prop",
|
|
35
|
+
label: "Prop",
|
|
36
|
+
render: (s) => /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: String(s) })
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
key: "type",
|
|
40
|
+
label: "Type",
|
|
41
|
+
render: (s) => /* @__PURE__ */ e("code", { className: "text-xs", children: String(s) })
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
key: "default",
|
|
45
|
+
label: "Default",
|
|
46
|
+
render: (s) => {
|
|
47
|
+
const l = String(s);
|
|
48
|
+
return l === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: l });
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
key: "description",
|
|
53
|
+
label: "Description"
|
|
54
|
+
}
|
|
55
|
+
], data: [
|
|
56
|
+
{
|
|
57
|
+
prop: "children",
|
|
58
|
+
type: "React.ReactNode",
|
|
59
|
+
default: "-",
|
|
60
|
+
description: "Content to display inside the card"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
prop: "className",
|
|
64
|
+
type: "string",
|
|
65
|
+
default: "-",
|
|
66
|
+
description: "Additional CSS classes"
|
|
67
|
+
}
|
|
68
|
+
] }) }) }) }),
|
|
69
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(n, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
70
|
+
o,
|
|
71
|
+
{
|
|
72
|
+
language: "tsx",
|
|
73
|
+
code: `import { CardContainer, Typography } from '@e-burgos/tucu-ui';
|
|
74
|
+
|
|
75
|
+
// Basic usage
|
|
76
|
+
<CardContainer>
|
|
77
|
+
<Typography tag="p">Card content goes here</Typography>
|
|
78
|
+
</CardContainer>
|
|
79
|
+
|
|
80
|
+
// With custom content
|
|
81
|
+
<CardContainer>
|
|
82
|
+
<Typography tag="h3" className="font-bold mb-2">
|
|
83
|
+
Card Title
|
|
84
|
+
</Typography>
|
|
85
|
+
<Typography tag="p">
|
|
86
|
+
Card description and content
|
|
87
|
+
</Typography>
|
|
88
|
+
</CardContainer>
|
|
89
|
+
|
|
90
|
+
// With custom className
|
|
91
|
+
<CardContainer className="bg-blue-50">
|
|
92
|
+
<Typography tag="p">Custom styled card</Typography>
|
|
93
|
+
</CardContainer>`
|
|
94
|
+
}
|
|
95
|
+
) }) }) })
|
|
96
|
+
] });
|
|
97
|
+
export {
|
|
98
|
+
x as default
|
|
99
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>{const s=[{key:"prop",label:"Prop",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:"default",label:"Default",render:r=>{const t=String(r);return t==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:t})}},{key:"description",label:"Description"}],n=[{prop:"children",type:"React.ReactNode",default:"-",description:"Content to display inside the card"},{prop:"className",type:"string",default:"-",description:"Additional CSS classes"}];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:"CardContainer"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A container component that provides consistent styling and layout for card-based content."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"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 Card"}),e.jsx(a.CardContainer,{children:e.jsx(a.Typography,{tag:"p",children:"Card content goes here"})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Custom Content"}),e.jsxs(a.CardContainer,{children:[e.jsx(a.Typography,{tag:"h3",className:"font-bold mb-2",children:"Card Title"}),e.jsx(a.Typography,{tag:"p",children:"This is a card with custom content including a title and description."})]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.BasicTable,{columns:s,data:n})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { CardContainer, Typography } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
// Basic usage
|
|
4
|
+
<CardContainer>
|
|
5
|
+
<Typography tag="p">Card content goes here</Typography>
|
|
6
|
+
</CardContainer>
|
|
7
|
+
|
|
8
|
+
// With custom content
|
|
9
|
+
<CardContainer>
|
|
10
|
+
<Typography tag="h3" className="font-bold mb-2">
|
|
11
|
+
Card Title
|
|
12
|
+
</Typography>
|
|
13
|
+
<Typography tag="p">
|
|
14
|
+
Card description and content
|
|
15
|
+
</Typography>
|
|
16
|
+
</CardContainer>
|
|
17
|
+
|
|
18
|
+
// With custom className
|
|
19
|
+
<CardContainer className="bg-blue-50">
|
|
20
|
+
<Typography tag="p">Custom styled card</Typography>
|
|
21
|
+
</CardContainer>`})})})})]})};exports.default=i;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as t, C as r, a as l, B as o, c } from "./index-Hq6IUBmn.mjs";
|
|
3
|
+
import "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const N = () => /* @__PURE__ */ a(s, { children: [
|
|
8
|
+
/* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
|
|
9
|
+
/* @__PURE__ */ e(t, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "CardTitle" }),
|
|
10
|
+
/* @__PURE__ */ e(
|
|
11
|
+
t,
|
|
12
|
+
{
|
|
13
|
+
tag: "p",
|
|
14
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
15
|
+
children: "A card component with an integrated title that appears above the card border."
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
] }),
|
|
19
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
20
|
+
/* @__PURE__ */ a(r, { className: "p-4", children: [
|
|
21
|
+
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "With Title" }),
|
|
22
|
+
/* @__PURE__ */ e(l, { title: "Card Title", children: /* @__PURE__ */ e(t, { tag: "p", children: "Card content goes here" }) })
|
|
23
|
+
] }),
|
|
24
|
+
/* @__PURE__ */ a(r, { className: "p-4", children: [
|
|
25
|
+
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Without Border" }),
|
|
26
|
+
/* @__PURE__ */ e(l, { title: "No Border", border: !1, children: /* @__PURE__ */ e(t, { tag: "p", children: "Card without border" }) })
|
|
27
|
+
] }),
|
|
28
|
+
/* @__PURE__ */ a(r, { className: "p-4", children: [
|
|
29
|
+
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "With Rich Content" }),
|
|
30
|
+
/* @__PURE__ */ e(l, { title: "Rich Content", children: /* @__PURE__ */ a("div", { className: "space-y-2", children: [
|
|
31
|
+
/* @__PURE__ */ e(t, { tag: "p", children: "First paragraph" }),
|
|
32
|
+
/* @__PURE__ */ e(t, { tag: "p", children: "Second paragraph" })
|
|
33
|
+
] }) })
|
|
34
|
+
] })
|
|
35
|
+
] }) }) }) }),
|
|
36
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "Props", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(o, { columns: [
|
|
37
|
+
{
|
|
38
|
+
key: "prop",
|
|
39
|
+
label: "Prop",
|
|
40
|
+
render: (i) => /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: String(i) })
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
key: "type",
|
|
44
|
+
label: "Type",
|
|
45
|
+
render: (i) => /* @__PURE__ */ e("code", { className: "text-xs", children: String(i) })
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
key: "default",
|
|
49
|
+
label: "Default",
|
|
50
|
+
render: (i) => {
|
|
51
|
+
const d = String(i);
|
|
52
|
+
return d === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: d });
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
key: "description",
|
|
57
|
+
label: "Description"
|
|
58
|
+
}
|
|
59
|
+
], data: [
|
|
60
|
+
{
|
|
61
|
+
prop: "title",
|
|
62
|
+
type: "string",
|
|
63
|
+
default: "-",
|
|
64
|
+
description: "Title text to display"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
prop: "border",
|
|
68
|
+
type: "boolean",
|
|
69
|
+
default: "true",
|
|
70
|
+
description: "Whether to show border"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
prop: "children",
|
|
74
|
+
type: "React.ReactNode",
|
|
75
|
+
default: "-",
|
|
76
|
+
description: "Content to display inside the card"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
prop: "className",
|
|
80
|
+
type: "string",
|
|
81
|
+
default: "-",
|
|
82
|
+
description: "Additional CSS classes"
|
|
83
|
+
}
|
|
84
|
+
] }) }) }) }),
|
|
85
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
86
|
+
c,
|
|
87
|
+
{
|
|
88
|
+
language: "tsx",
|
|
89
|
+
code: `import { CardTitle, Typography } from '@e-burgos/tucu-ui';
|
|
90
|
+
|
|
91
|
+
// With title
|
|
92
|
+
<CardTitle title="Card Title">
|
|
93
|
+
<Typography tag="p">Card content goes here</Typography>
|
|
94
|
+
</CardTitle>
|
|
95
|
+
|
|
96
|
+
// Without border
|
|
97
|
+
<CardTitle title="No Border" border={false}>
|
|
98
|
+
<Typography tag="p">Card without border</Typography>
|
|
99
|
+
</CardTitle>
|
|
100
|
+
|
|
101
|
+
// With rich content
|
|
102
|
+
<CardTitle title="Rich Content">
|
|
103
|
+
<div className="space-y-2">
|
|
104
|
+
<Typography tag="p">First paragraph</Typography>
|
|
105
|
+
<Typography tag="p">Second paragraph</Typography>
|
|
106
|
+
</div>
|
|
107
|
+
</CardTitle>`
|
|
108
|
+
}
|
|
109
|
+
) }) }) })
|
|
110
|
+
] });
|
|
111
|
+
export {
|
|
112
|
+
N as default
|
|
113
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const s=[{key:"prop",label:"Prop",render:a=>e.jsx("code",{className:"text-xs text-brand",children:String(a)})},{key:"type",label:"Type",render:a=>e.jsx("code",{className:"text-xs",children:String(a)})},{key:"default",label:"Default",render:a=>{const t=String(a);return t==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:t})}},{key:"description",label:"Description"}],i=[{prop:"title",type:"string",default:"-",description:"Title text to display"},{prop:"border",type:"boolean",default:"true",description:"Whether to show border"},{prop:"children",type:"React.ReactNode",default:"-",description:"Content to display inside the card"},{prop:"className",type:"string",default:"-",description:"Additional CSS classes"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(r.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"CardTitle"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A card component with an integrated title that appears above the card border."})]}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"With Title"}),e.jsx(r.CardTitle,{title:"Card Title",children:e.jsx(r.Typography,{tag:"p",children:"Card content goes here"})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Without Border"}),e.jsx(r.CardTitle,{title:"No Border",border:!1,children:e.jsx(r.Typography,{tag:"p",children:"Card without border"})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"With Rich Content"}),e.jsx(r.CardTitle,{title:"Rich Content",children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(r.Typography,{tag:"p",children:"First paragraph"}),e.jsx(r.Typography,{tag:"p",children:"Second paragraph"})]})})]})]})})})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(r.BasicTable,{columns:s,data:i})})})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(r.CodeBlock,{language:"tsx",code:`import { CardTitle, Typography } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
// With title
|
|
4
|
+
<CardTitle title="Card Title">
|
|
5
|
+
<Typography tag="p">Card content goes here</Typography>
|
|
6
|
+
</CardTitle>
|
|
7
|
+
|
|
8
|
+
// Without border
|
|
9
|
+
<CardTitle title="No Border" border={false}>
|
|
10
|
+
<Typography tag="p">Card without border</Typography>
|
|
11
|
+
</CardTitle>
|
|
12
|
+
|
|
13
|
+
// With rich content
|
|
14
|
+
<CardTitle title="Rich Content">
|
|
15
|
+
<div className="space-y-2">
|
|
16
|
+
<Typography tag="p">First paragraph</Typography>
|
|
17
|
+
<Typography tag="p">Second paragraph</Typography>
|
|
18
|
+
</div>
|
|
19
|
+
</CardTitle>`})})})})]})};exports.default=l;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-CjRk4ezu.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const i=[{title:"Performance",description:"Blazing fast performance with optimized rendering and minimal bundle size",icon:e.jsx(s.Zap,{className:"w-8 h-8"})},{title:"Customizable",description:"Highly customizable with extensive theming options and variants",icon:e.jsx(s.Palette,{className:"w-8 h-8"})},{title:"Accessible",description:"Built with accessibility in mind, WCAG 2.1 compliant",icon:e.jsx(s.Users,{className:"w-8 h-8"})},{title:"Responsive",description:"Mobile-first design that works seamlessly across all devices",icon:e.jsx(s.Smartphone,{className:"w-8 h-8"})},{title:"Type Safe",description:"Full TypeScript support with comprehensive type definitions",icon:e.jsx(s.Shield,{className:"w-8 h-8"})},{title:"Documentation",description:"Extensive documentation with examples and best practices",icon:e.jsx(s.BookOpen,{className:"w-8 h-8"})}],l=[{key:"prop",label:"Prop",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:"default",label:"Default",render:r=>{const t=String(r);return t==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:t})}},{key:"description",label:"Description"}],d=[{prop:"cards",type:"CarouselCardItem[]",default:"required",description:"Array of card items to display"},{prop:"cardSize",type:"'sm' | 'md' | 'lg' | 'xl'",default:"'md'",description:"Size of the cards"},{prop:"variant",type:"'default' | 'elevated' | 'outlined' | 'filled'",default:"'default'",description:"Visual variant of the cards"},{prop:"showCardTitles",type:"boolean",default:"true",description:"Whether to show card titles"},{prop:"showNavigation",type:"boolean",default:"false",description:"Show navigation arrows"},{prop:"showPagination",type:"boolean",default:"false",description:"Show pagination dots"}];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:"CarouselCards"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A carousel component specifically designed for displaying cards with customizable sizes and variants."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Carousel Cards"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselCards,{cardClassName:"min-h-[250px]",cards:i})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Navigation and Pagination"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselCards,{cards:i,showNavigation:!0,showPagination:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Elevated Variant - Medium Size"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselCards,{cards:i,variant:"elevated",cardSize:"md",showNavigation:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Outlined Variant - Large Size"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselCards,{cards:i,variant:"outlined",cardSize:"lg",showPagination:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Filled Variant - Small Size"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselCards,{cards:i,variant:"filled",cardSize:"sm",showNavigation:!0,showPagination:!0})})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.BasicTable,{columns:l,data:d})})})}),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 { CarouselCards, LucideIcons } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
const cards = [
|
|
4
|
+
{
|
|
5
|
+
title: 'Performance',
|
|
6
|
+
description: 'Blazing fast performance with optimized rendering',
|
|
7
|
+
icon: <LucideIcons.Zap className="w-8 h-8" />,
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
title: 'Customizable',
|
|
11
|
+
description: 'Highly customizable with extensive theming options',
|
|
12
|
+
icon: <LucideIcons.Palette className="w-8 h-8" />,
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
title: 'Accessible',
|
|
16
|
+
description: 'Built with accessibility in mind, WCAG 2.1 compliant',
|
|
17
|
+
icon: <LucideIcons.Users className="w-8 h-8" />,
|
|
18
|
+
},
|
|
19
|
+
// ... more cards
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
// Basic usage
|
|
23
|
+
<CarouselCards cards={cards} />
|
|
24
|
+
|
|
25
|
+
// With navigation and pagination
|
|
26
|
+
<CarouselCards cards={cards} showNavigation showPagination />
|
|
27
|
+
|
|
28
|
+
// Different variants
|
|
29
|
+
<CarouselCards cards={cards} variant="elevated" cardSize="md" />
|
|
30
|
+
<CarouselCards cards={cards} variant="outlined" cardSize="lg" />
|
|
31
|
+
<CarouselCards cards={cards} variant="filled" cardSize="sm" />
|
|
32
|
+
|
|
33
|
+
// Different sizes
|
|
34
|
+
<CarouselCards cards={cards} cardSize="sm" />
|
|
35
|
+
<CarouselCards cards={cards} cardSize="md" />
|
|
36
|
+
<CarouselCards cards={cards} cardSize="lg" />
|
|
37
|
+
<CarouselCards cards={cards} cardSize="xl" />`})})})})]})};exports.default=n;
|