@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
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as i, C as s, a as c, x as l, B as o, c as m } from "./index-Hq6IUBmn.mjs";
|
|
3
|
+
import { Zap as p, Palette as h, Users as u, Smartphone as f, Shield as g, BookOpen as N } from "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const P = () => {
|
|
8
|
+
const r = [
|
|
9
|
+
{
|
|
10
|
+
title: "Performance",
|
|
11
|
+
description: "Blazing fast performance with optimized rendering and minimal bundle size",
|
|
12
|
+
icon: /* @__PURE__ */ e(p, { className: "w-8 h-8" })
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
title: "Customizable",
|
|
16
|
+
description: "Highly customizable with extensive theming options and variants",
|
|
17
|
+
icon: /* @__PURE__ */ e(h, { className: "w-8 h-8" })
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
title: "Accessible",
|
|
21
|
+
description: "Built with accessibility in mind, WCAG 2.1 compliant",
|
|
22
|
+
icon: /* @__PURE__ */ e(u, { className: "w-8 h-8" })
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
title: "Responsive",
|
|
26
|
+
description: "Mobile-first design that works seamlessly across all devices",
|
|
27
|
+
icon: /* @__PURE__ */ e(f, { className: "w-8 h-8" })
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
title: "Type Safe",
|
|
31
|
+
description: "Full TypeScript support with comprehensive type definitions",
|
|
32
|
+
icon: /* @__PURE__ */ e(g, { className: "w-8 h-8" })
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
title: "Documentation",
|
|
36
|
+
description: "Extensive documentation with examples and best practices",
|
|
37
|
+
icon: /* @__PURE__ */ e(N, { className: "w-8 h-8" })
|
|
38
|
+
}
|
|
39
|
+
];
|
|
40
|
+
return /* @__PURE__ */ a(n, { children: [
|
|
41
|
+
/* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
|
|
42
|
+
/* @__PURE__ */ e(i, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "CarouselCards" }),
|
|
43
|
+
/* @__PURE__ */ e(
|
|
44
|
+
i,
|
|
45
|
+
{
|
|
46
|
+
tag: "p",
|
|
47
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
48
|
+
children: "A carousel component specifically designed for displaying cards with customizable sizes and variants."
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
] }),
|
|
52
|
+
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { 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: "space-y-4", children: [
|
|
53
|
+
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
54
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Basic Carousel Cards" }),
|
|
55
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(l, { cardClassName: "min-h-[250px]", cards: r }) })
|
|
56
|
+
] }),
|
|
57
|
+
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
58
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "With Navigation and Pagination" }),
|
|
59
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(l, { cards: r, showNavigation: !0, showPagination: !0 }) })
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
62
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Elevated Variant - Medium Size" }),
|
|
63
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(
|
|
64
|
+
l,
|
|
65
|
+
{
|
|
66
|
+
cards: r,
|
|
67
|
+
variant: "elevated",
|
|
68
|
+
cardSize: "md",
|
|
69
|
+
showNavigation: !0
|
|
70
|
+
}
|
|
71
|
+
) })
|
|
72
|
+
] }),
|
|
73
|
+
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
74
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Outlined Variant - Large Size" }),
|
|
75
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(
|
|
76
|
+
l,
|
|
77
|
+
{
|
|
78
|
+
cards: r,
|
|
79
|
+
variant: "outlined",
|
|
80
|
+
cardSize: "lg",
|
|
81
|
+
showPagination: !0
|
|
82
|
+
}
|
|
83
|
+
) })
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
86
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Filled Variant - Small Size" }),
|
|
87
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(
|
|
88
|
+
l,
|
|
89
|
+
{
|
|
90
|
+
cards: r,
|
|
91
|
+
variant: "filled",
|
|
92
|
+
cardSize: "sm",
|
|
93
|
+
showNavigation: !0,
|
|
94
|
+
showPagination: !0
|
|
95
|
+
}
|
|
96
|
+
) })
|
|
97
|
+
] })
|
|
98
|
+
] }) }) }) }),
|
|
99
|
+
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Props", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(o, { columns: [
|
|
100
|
+
{
|
|
101
|
+
key: "prop",
|
|
102
|
+
label: "Prop",
|
|
103
|
+
render: (t) => /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: String(t) })
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
key: "type",
|
|
107
|
+
label: "Type",
|
|
108
|
+
render: (t) => /* @__PURE__ */ e("code", { className: "text-xs", children: String(t) })
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
key: "default",
|
|
112
|
+
label: "Default",
|
|
113
|
+
render: (t) => {
|
|
114
|
+
const d = String(t);
|
|
115
|
+
return d === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: d });
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
key: "description",
|
|
120
|
+
label: "Description"
|
|
121
|
+
}
|
|
122
|
+
], data: [
|
|
123
|
+
{
|
|
124
|
+
prop: "cards",
|
|
125
|
+
type: "CarouselCardItem[]",
|
|
126
|
+
default: "required",
|
|
127
|
+
description: "Array of card items to display"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
prop: "cardSize",
|
|
131
|
+
type: "'sm' | 'md' | 'lg' | 'xl'",
|
|
132
|
+
default: "'md'",
|
|
133
|
+
description: "Size of the cards"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
prop: "variant",
|
|
137
|
+
type: "'default' | 'elevated' | 'outlined' | 'filled'",
|
|
138
|
+
default: "'default'",
|
|
139
|
+
description: "Visual variant of the cards"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
prop: "showCardTitles",
|
|
143
|
+
type: "boolean",
|
|
144
|
+
default: "true",
|
|
145
|
+
description: "Whether to show card titles"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
prop: "showNavigation",
|
|
149
|
+
type: "boolean",
|
|
150
|
+
default: "false",
|
|
151
|
+
description: "Show navigation arrows"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
prop: "showPagination",
|
|
155
|
+
type: "boolean",
|
|
156
|
+
default: "false",
|
|
157
|
+
description: "Show pagination dots"
|
|
158
|
+
}
|
|
159
|
+
] }) }) }) }),
|
|
160
|
+
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
161
|
+
m,
|
|
162
|
+
{
|
|
163
|
+
language: "tsx",
|
|
164
|
+
code: `import { CarouselCards, LucideIcons } from '@e-burgos/tucu-ui';
|
|
165
|
+
|
|
166
|
+
const cards = [
|
|
167
|
+
{
|
|
168
|
+
title: 'Performance',
|
|
169
|
+
description: 'Blazing fast performance with optimized rendering',
|
|
170
|
+
icon: <LucideIcons.Zap className="w-8 h-8" />,
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
title: 'Customizable',
|
|
174
|
+
description: 'Highly customizable with extensive theming options',
|
|
175
|
+
icon: <LucideIcons.Palette className="w-8 h-8" />,
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
title: 'Accessible',
|
|
179
|
+
description: 'Built with accessibility in mind, WCAG 2.1 compliant',
|
|
180
|
+
icon: <LucideIcons.Users className="w-8 h-8" />,
|
|
181
|
+
},
|
|
182
|
+
// ... more cards
|
|
183
|
+
];
|
|
184
|
+
|
|
185
|
+
// Basic usage
|
|
186
|
+
<CarouselCards cards={cards} />
|
|
187
|
+
|
|
188
|
+
// With navigation and pagination
|
|
189
|
+
<CarouselCards cards={cards} showNavigation showPagination />
|
|
190
|
+
|
|
191
|
+
// Different variants
|
|
192
|
+
<CarouselCards cards={cards} variant="elevated" cardSize="md" />
|
|
193
|
+
<CarouselCards cards={cards} variant="outlined" cardSize="lg" />
|
|
194
|
+
<CarouselCards cards={cards} variant="filled" cardSize="sm" />
|
|
195
|
+
|
|
196
|
+
// Different sizes
|
|
197
|
+
<CarouselCards cards={cards} cardSize="sm" />
|
|
198
|
+
<CarouselCards cards={cards} cardSize="md" />
|
|
199
|
+
<CarouselCards cards={cards} cardSize="lg" />
|
|
200
|
+
<CarouselCards cards={cards} cardSize="xl" />`
|
|
201
|
+
}
|
|
202
|
+
) }) }) })
|
|
203
|
+
] });
|
|
204
|
+
};
|
|
205
|
+
export {
|
|
206
|
+
P as default
|
|
207
|
+
};
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as t, C as s, a as r, y as l, B as p, c as m } from "./index-Hq6IUBmn.mjs";
|
|
3
|
+
import "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const y = () => {
|
|
8
|
+
const i = [
|
|
9
|
+
{
|
|
10
|
+
src: "https://images.unsplash.com/photo-1682687220742-aba13b6e50ba?w=800&h=600&fit=crop",
|
|
11
|
+
alt: "Mountain Landscape",
|
|
12
|
+
title: "Mountain Peaks",
|
|
13
|
+
description: "Breathtaking view of snow-capped mountain peaks at sunrise"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
src: "https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop",
|
|
17
|
+
alt: "Ocean View",
|
|
18
|
+
title: "Ocean Horizon",
|
|
19
|
+
description: "Serene ocean view with crystal clear blue waters"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
src: "https://images.unsplash.com/photo-1511593358241-7eea1f3c84e5?w=800&h=600&fit=crop",
|
|
23
|
+
alt: "Forest Path",
|
|
24
|
+
title: "Forest Trail",
|
|
25
|
+
description: "Peaceful path through a lush green forest"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
src: "https://images.unsplash.com/photo-1501594907352-04cda38ebc29?w=800&h=600&fit=crop",
|
|
29
|
+
alt: "Desert Sunset",
|
|
30
|
+
title: "Desert Landscape",
|
|
31
|
+
description: "Stunning sunset over golden desert dunes"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
src: "https://images.unsplash.com/photo-1542202229-7d93c33f5d07?w=800&h=600&fit=crop",
|
|
35
|
+
alt: "City Skyline",
|
|
36
|
+
title: "Urban Cityscape",
|
|
37
|
+
description: "Modern city skyline illuminated at night"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
src: "https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop",
|
|
41
|
+
alt: "Northern Lights",
|
|
42
|
+
title: "Aurora Borealis",
|
|
43
|
+
description: "Magical northern lights dancing across the night sky"
|
|
44
|
+
}
|
|
45
|
+
];
|
|
46
|
+
return /* @__PURE__ */ a(c, { children: [
|
|
47
|
+
/* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
|
|
48
|
+
/* @__PURE__ */ e(t, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "CarouselImage" }),
|
|
49
|
+
/* @__PURE__ */ e(
|
|
50
|
+
t,
|
|
51
|
+
{
|
|
52
|
+
tag: "p",
|
|
53
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
54
|
+
children: "A carousel component specifically designed for displaying images with optional titles and descriptions."
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
] }),
|
|
58
|
+
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(r, { 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: "space-y-4", children: [
|
|
59
|
+
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
60
|
+
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Basic Image Carousel" }),
|
|
61
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(l, { images: i }) })
|
|
62
|
+
] }),
|
|
63
|
+
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
64
|
+
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "With Titles and Descriptions" }),
|
|
65
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(l, { images: i, showTitles: !0 }) })
|
|
66
|
+
] }),
|
|
67
|
+
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
68
|
+
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "With Navigation and Pagination" }),
|
|
69
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(
|
|
70
|
+
l,
|
|
71
|
+
{
|
|
72
|
+
images: i,
|
|
73
|
+
showNavigation: !0,
|
|
74
|
+
showPagination: !0
|
|
75
|
+
}
|
|
76
|
+
) })
|
|
77
|
+
] }),
|
|
78
|
+
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
79
|
+
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Contain Fit - Preserve Aspect Ratio" }),
|
|
80
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(
|
|
81
|
+
l,
|
|
82
|
+
{
|
|
83
|
+
images: i,
|
|
84
|
+
imageFit: "contain",
|
|
85
|
+
showTitles: !0,
|
|
86
|
+
showNavigation: !0
|
|
87
|
+
}
|
|
88
|
+
) })
|
|
89
|
+
] }),
|
|
90
|
+
/* @__PURE__ */ a(s, { className: "p-4", children: [
|
|
91
|
+
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Square Aspect Ratio" }),
|
|
92
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(
|
|
93
|
+
l,
|
|
94
|
+
{
|
|
95
|
+
images: i,
|
|
96
|
+
aspectRatio: "aspect-square",
|
|
97
|
+
showNavigation: !0,
|
|
98
|
+
showPagination: !0
|
|
99
|
+
}
|
|
100
|
+
) })
|
|
101
|
+
] })
|
|
102
|
+
] }) }) }) }),
|
|
103
|
+
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(r, { title: "Props", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(p, { columns: [
|
|
104
|
+
{
|
|
105
|
+
key: "prop",
|
|
106
|
+
label: "Prop",
|
|
107
|
+
render: (o) => /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: String(o) })
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
key: "type",
|
|
111
|
+
label: "Type",
|
|
112
|
+
render: (o) => /* @__PURE__ */ e("code", { className: "text-xs", children: String(o) })
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
key: "default",
|
|
116
|
+
label: "Default",
|
|
117
|
+
render: (o) => {
|
|
118
|
+
const n = String(o);
|
|
119
|
+
return n === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: n });
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
key: "description",
|
|
124
|
+
label: "Description"
|
|
125
|
+
}
|
|
126
|
+
], data: [
|
|
127
|
+
{
|
|
128
|
+
prop: "images",
|
|
129
|
+
type: "CarouselImageItem[]",
|
|
130
|
+
default: "required",
|
|
131
|
+
description: "Array of image items to display"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
prop: "showTitles",
|
|
135
|
+
type: "boolean",
|
|
136
|
+
default: "false",
|
|
137
|
+
description: "Whether to show image titles and descriptions"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
prop: "imageFit",
|
|
141
|
+
type: "'cover' | 'contain' | 'fill' | 'none' | 'scale-down'",
|
|
142
|
+
default: "'cover'",
|
|
143
|
+
description: "How images should fit in their containers"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
prop: "aspectRatio",
|
|
147
|
+
type: "string",
|
|
148
|
+
default: "'aspect-video'",
|
|
149
|
+
description: "Aspect ratio class for images"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
prop: "lazy",
|
|
153
|
+
type: "boolean",
|
|
154
|
+
default: "true",
|
|
155
|
+
description: "Enable lazy loading for images"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
prop: "showNavigation",
|
|
159
|
+
type: "boolean",
|
|
160
|
+
default: "false",
|
|
161
|
+
description: "Show navigation arrows"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
prop: "showPagination",
|
|
165
|
+
type: "boolean",
|
|
166
|
+
default: "false",
|
|
167
|
+
description: "Show pagination dots"
|
|
168
|
+
}
|
|
169
|
+
] }) }) }) }),
|
|
170
|
+
/* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(r, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
171
|
+
m,
|
|
172
|
+
{
|
|
173
|
+
language: "tsx",
|
|
174
|
+
code: `import { CarouselImage } from '@e-burgos/tucu-ui';
|
|
175
|
+
|
|
176
|
+
const images = [
|
|
177
|
+
{
|
|
178
|
+
src: 'https://images.unsplash.com/photo-1682687220742-aba13b6e50ba',
|
|
179
|
+
alt: 'Mountain Landscape',
|
|
180
|
+
title: 'Mountain Peaks',
|
|
181
|
+
description: 'Breathtaking view of snow-capped mountain peaks',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
src: 'https://images.unsplash.com/photo-1506905925346-21bda4d32df4',
|
|
185
|
+
alt: 'Ocean View',
|
|
186
|
+
title: 'Ocean Horizon',
|
|
187
|
+
description: 'Serene ocean view with crystal clear blue waters',
|
|
188
|
+
},
|
|
189
|
+
// ... more images
|
|
190
|
+
];
|
|
191
|
+
|
|
192
|
+
// Basic usage
|
|
193
|
+
<CarouselImage images={images} />
|
|
194
|
+
|
|
195
|
+
// With titles and descriptions
|
|
196
|
+
<CarouselImage images={images} showTitles />
|
|
197
|
+
|
|
198
|
+
// With navigation and pagination
|
|
199
|
+
<CarouselImage images={images} showNavigation showPagination />
|
|
200
|
+
|
|
201
|
+
// Different image fit options
|
|
202
|
+
<CarouselImage images={images} imageFit="contain" />
|
|
203
|
+
<CarouselImage images={images} imageFit="cover" />
|
|
204
|
+
|
|
205
|
+
// Different aspect ratios
|
|
206
|
+
<CarouselImage images={images} aspectRatio="aspect-video" />
|
|
207
|
+
<CarouselImage images={images} aspectRatio="aspect-square" />
|
|
208
|
+
<CarouselImage images={images} aspectRatio="aspect-[4/3]" />
|
|
209
|
+
|
|
210
|
+
// Disable lazy loading
|
|
211
|
+
<CarouselImage images={images} lazy={false} />`
|
|
212
|
+
}
|
|
213
|
+
) }) }) })
|
|
214
|
+
] });
|
|
215
|
+
};
|
|
216
|
+
export {
|
|
217
|
+
y as default
|
|
218
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const s=[{src:"https://images.unsplash.com/photo-1682687220742-aba13b6e50ba?w=800&h=600&fit=crop",alt:"Mountain Landscape",title:"Mountain Peaks",description:"Breathtaking view of snow-capped mountain peaks at sunrise"},{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop",alt:"Ocean View",title:"Ocean Horizon",description:"Serene ocean view with crystal clear blue waters"},{src:"https://images.unsplash.com/photo-1511593358241-7eea1f3c84e5?w=800&h=600&fit=crop",alt:"Forest Path",title:"Forest Trail",description:"Peaceful path through a lush green forest"},{src:"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?w=800&h=600&fit=crop",alt:"Desert Sunset",title:"Desert Landscape",description:"Stunning sunset over golden desert dunes"},{src:"https://images.unsplash.com/photo-1542202229-7d93c33f5d07?w=800&h=600&fit=crop",alt:"City Skyline",title:"Urban Cityscape",description:"Modern city skyline illuminated at night"},{src:"https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop",alt:"Northern Lights",title:"Aurora Borealis",description:"Magical northern lights dancing across the night sky"}],r=[{key:"prop",label:"Prop",render:t=>e.jsx("code",{className:"text-xs text-brand",children:String(t)})},{key:"type",label:"Type",render:t=>e.jsx("code",{className:"text-xs",children:String(t)})},{key:"default",label:"Default",render:t=>{const i=String(t);return i==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:i})}},{key:"description",label:"Description"}],o=[{prop:"images",type:"CarouselImageItem[]",default:"required",description:"Array of image items to display"},{prop:"showTitles",type:"boolean",default:"false",description:"Whether to show image titles and descriptions"},{prop:"imageFit",type:"'cover' | 'contain' | 'fill' | 'none' | 'scale-down'",default:"'cover'",description:"How images should fit in their containers"},{prop:"aspectRatio",type:"string",default:"'aspect-video'",description:"Aspect ratio class for images"},{prop:"lazy",type:"boolean",default:"true",description:"Enable lazy loading for images"},{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:"CarouselImage"}),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 images with optional titles and descriptions."})]}),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 Image Carousel"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Titles and Descriptions"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,showTitles:!0})})]}),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.CarouselImage,{images:s,showNavigation:!0,showPagination:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Contain Fit - Preserve Aspect Ratio"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,imageFit:"contain",showTitles:!0,showNavigation:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Square Aspect Ratio"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,aspectRatio:"aspect-square",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:r,data:o})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { CarouselImage } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
const images = [
|
|
4
|
+
{
|
|
5
|
+
src: 'https://images.unsplash.com/photo-1682687220742-aba13b6e50ba',
|
|
6
|
+
alt: 'Mountain Landscape',
|
|
7
|
+
title: 'Mountain Peaks',
|
|
8
|
+
description: 'Breathtaking view of snow-capped mountain peaks',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
src: 'https://images.unsplash.com/photo-1506905925346-21bda4d32df4',
|
|
12
|
+
alt: 'Ocean View',
|
|
13
|
+
title: 'Ocean Horizon',
|
|
14
|
+
description: 'Serene ocean view with crystal clear blue waters',
|
|
15
|
+
},
|
|
16
|
+
// ... more images
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
// Basic usage
|
|
20
|
+
<CarouselImage images={images} />
|
|
21
|
+
|
|
22
|
+
// With titles and descriptions
|
|
23
|
+
<CarouselImage images={images} showTitles />
|
|
24
|
+
|
|
25
|
+
// With navigation and pagination
|
|
26
|
+
<CarouselImage images={images} showNavigation showPagination />
|
|
27
|
+
|
|
28
|
+
// Different image fit options
|
|
29
|
+
<CarouselImage images={images} imageFit="contain" />
|
|
30
|
+
<CarouselImage images={images} imageFit="cover" />
|
|
31
|
+
|
|
32
|
+
// Different aspect ratios
|
|
33
|
+
<CarouselImage images={images} aspectRatio="aspect-video" />
|
|
34
|
+
<CarouselImage images={images} aspectRatio="aspect-square" />
|
|
35
|
+
<CarouselImage images={images} aspectRatio="aspect-[4/3]" />
|
|
36
|
+
|
|
37
|
+
// Disable lazy loading
|
|
38
|
+
<CarouselImage images={images} lazy={false} />`})})})})]})};exports.default=n;
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as s, C as l, a as o, w as r, B as c, c as p } from "./index-Hq6IUBmn.mjs";
|
|
3
|
+
import "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const b = () => {
|
|
8
|
+
const t = [
|
|
9
|
+
/* @__PURE__ */ e(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
className: "h-64 w-full bg-gradient-to-br from-brand to-sky-500 rounded-lg flex items-center justify-center text-white text-2xl",
|
|
13
|
+
children: "Slide 1"
|
|
14
|
+
},
|
|
15
|
+
"1"
|
|
16
|
+
),
|
|
17
|
+
/* @__PURE__ */ e(
|
|
18
|
+
"div",
|
|
19
|
+
{
|
|
20
|
+
className: "h-64 w-full bg-gradient-to-br from-brand to-green-500 rounded-lg flex items-center justify-center text-white text-2xl",
|
|
21
|
+
children: "Slide 2"
|
|
22
|
+
},
|
|
23
|
+
"2"
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ e(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: "h-64 w-full bg-gradient-to-br from-brand to-purple-500 rounded-lg flex items-center justify-center text-white text-2xl",
|
|
29
|
+
children: "Slide 3"
|
|
30
|
+
},
|
|
31
|
+
"3"
|
|
32
|
+
)
|
|
33
|
+
];
|
|
34
|
+
return /* @__PURE__ */ a(n, { children: [
|
|
35
|
+
/* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
|
|
36
|
+
/* @__PURE__ */ e(s, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "Carousel" }),
|
|
37
|
+
/* @__PURE__ */ e(
|
|
38
|
+
s,
|
|
39
|
+
{
|
|
40
|
+
tag: "p",
|
|
41
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
42
|
+
children: "A powerful carousel component built on Swiper.js with support for navigation, pagination, autoplay, and various effects."
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
] }),
|
|
46
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { 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: "space-y-4", children: [
|
|
47
|
+
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
48
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "Basic Carousel" }),
|
|
49
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(r, { children: t }) })
|
|
50
|
+
] }),
|
|
51
|
+
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
52
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "With Navigation" }),
|
|
53
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(r, { showNavigation: !0, children: t }) })
|
|
54
|
+
] }),
|
|
55
|
+
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
56
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "With Pagination" }),
|
|
57
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(r, { showPagination: !0, children: t }) })
|
|
58
|
+
] }),
|
|
59
|
+
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
60
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "Multiple Slides" }),
|
|
61
|
+
/* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(r, { slidesPerView: 2, spaceBetween: 20, children: t }) })
|
|
62
|
+
] })
|
|
63
|
+
] }) }) }) }),
|
|
64
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Props", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(c, { columns: [
|
|
65
|
+
{
|
|
66
|
+
key: "prop",
|
|
67
|
+
label: "Prop",
|
|
68
|
+
render: (i) => /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: String(i) })
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
key: "type",
|
|
72
|
+
label: "Type",
|
|
73
|
+
render: (i) => /* @__PURE__ */ e("code", { className: "text-xs", children: String(i) })
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
key: "default",
|
|
77
|
+
label: "Default",
|
|
78
|
+
render: (i) => {
|
|
79
|
+
const d = String(i);
|
|
80
|
+
return d === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: d });
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
key: "description",
|
|
85
|
+
label: "Description"
|
|
86
|
+
}
|
|
87
|
+
], data: [
|
|
88
|
+
{
|
|
89
|
+
prop: "children",
|
|
90
|
+
type: "React.ReactNode[]",
|
|
91
|
+
default: "required",
|
|
92
|
+
description: "Array of slide elements"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
prop: "slidesPerView",
|
|
96
|
+
type: 'number | "auto"',
|
|
97
|
+
default: "1",
|
|
98
|
+
description: "Number of slides visible at once"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
prop: "spaceBetween",
|
|
102
|
+
type: "number",
|
|
103
|
+
default: "0",
|
|
104
|
+
description: "Space between slides in pixels"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
prop: "showNavigation",
|
|
108
|
+
type: "boolean",
|
|
109
|
+
default: "false",
|
|
110
|
+
description: "Show navigation arrows"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
prop: "showPagination",
|
|
114
|
+
type: "boolean",
|
|
115
|
+
default: "false",
|
|
116
|
+
description: "Show pagination dots"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
prop: "autoplay",
|
|
120
|
+
type: "boolean | { delay: number }",
|
|
121
|
+
default: "false",
|
|
122
|
+
description: "Enable autoplay"
|
|
123
|
+
}
|
|
124
|
+
] }) }) }) }),
|
|
125
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
126
|
+
p,
|
|
127
|
+
{
|
|
128
|
+
language: "tsx",
|
|
129
|
+
code: `import { Carousel } from '@e-burgos/tucu-ui';
|
|
130
|
+
|
|
131
|
+
const slides = [
|
|
132
|
+
<div key="1">Slide 1</div>,
|
|
133
|
+
<div key="2">Slide 2</div>,
|
|
134
|
+
<div key="3">Slide 3</div>,
|
|
135
|
+
];
|
|
136
|
+
|
|
137
|
+
// Basic usage
|
|
138
|
+
<Carousel>{slides}</Carousel>
|
|
139
|
+
|
|
140
|
+
// With navigation
|
|
141
|
+
<Carousel showNavigation>{slides}</Carousel>
|
|
142
|
+
|
|
143
|
+
// With pagination
|
|
144
|
+
<Carousel showPagination>{slides}</Carousel>
|
|
145
|
+
|
|
146
|
+
// Multiple slides per view
|
|
147
|
+
<Carousel slidesPerView={2} spaceBetween={20}>
|
|
148
|
+
{slides}
|
|
149
|
+
</Carousel>
|
|
150
|
+
|
|
151
|
+
// With autoplay
|
|
152
|
+
<Carousel autoplay={{ delay: 3000 }}>{slides}</Carousel>`
|
|
153
|
+
}
|
|
154
|
+
) }) }) })
|
|
155
|
+
] });
|
|
156
|
+
};
|
|
157
|
+
export {
|
|
158
|
+
b as default
|
|
159
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const l=[e.jsx("div",{className:"h-64 w-full bg-gradient-to-br from-brand to-sky-500 rounded-lg flex items-center justify-center text-white text-2xl",children:"Slide 1"},"1"),e.jsx("div",{className:"h-64 w-full bg-gradient-to-br from-brand to-green-500 rounded-lg flex items-center justify-center text-white text-2xl",children:"Slide 2"},"2"),e.jsx("div",{className:"h-64 w-full bg-gradient-to-br from-brand to-purple-500 rounded-lg flex items-center justify-center text-white text-2xl",children:"Slide 3"},"3")],r=[{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 i=String(a);return i==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:i})}},{key:"description",label:"Description"}],t=[{prop:"children",type:"React.ReactNode[]",default:"required",description:"Array of slide elements"},{prop:"slidesPerView",type:'number | "auto"',default:"1",description:"Number of slides visible at once"},{prop:"spaceBetween",type:"number",default:"0",description:"Space between slides in pixels"},{prop:"showNavigation",type:"boolean",default:"false",description:"Show navigation arrows"},{prop:"showPagination",type:"boolean",default:"false",description:"Show pagination dots"},{prop:"autoplay",type:"boolean | { delay: number }",default:"false",description:"Enable autoplay"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(s.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Carousel"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A powerful carousel component built on Swiper.js with support for navigation, pagination, autoplay, and various effects."})]}),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:"Basic Carousel"}),e.jsx("div",{className:"w-full",children:e.jsx(s.Carousel,{children:l})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Navigation"}),e.jsx("div",{className:"w-full",children:e.jsx(s.Carousel,{showNavigation:!0,children:l})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Pagination"}),e.jsx("div",{className:"w-full",children:e.jsx(s.Carousel,{showPagination:!0,children:l})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Multiple Slides"}),e.jsx("div",{className:"w-full",children:e.jsx(s.Carousel,{slidesPerView:2,spaceBetween:20,children:l})})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.BasicTable,{columns:r,data:t})})})}),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 { Carousel } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
const slides = [
|
|
4
|
+
<div key="1">Slide 1</div>,
|
|
5
|
+
<div key="2">Slide 2</div>,
|
|
6
|
+
<div key="3">Slide 3</div>,
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
// Basic usage
|
|
10
|
+
<Carousel>{slides}</Carousel>
|
|
11
|
+
|
|
12
|
+
// With navigation
|
|
13
|
+
<Carousel showNavigation>{slides}</Carousel>
|
|
14
|
+
|
|
15
|
+
// With pagination
|
|
16
|
+
<Carousel showPagination>{slides}</Carousel>
|
|
17
|
+
|
|
18
|
+
// Multiple slides per view
|
|
19
|
+
<Carousel slidesPerView={2} spaceBetween={20}>
|
|
20
|
+
{slides}
|
|
21
|
+
</Carousel>
|
|
22
|
+
|
|
23
|
+
// With autoplay
|
|
24
|
+
<Carousel autoplay={{ delay: 3000 }}>{slides}</Carousel>`})})})})]})};exports.default=n;
|