@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,612 @@
|
|
|
1
|
+
import { jsxs as l, Fragment as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as a, C as t, a as i, ag as r, B as m, c as h } 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 d = [
|
|
9
|
+
{
|
|
10
|
+
key: "prop",
|
|
11
|
+
label: "Prop",
|
|
12
|
+
render: (s) => /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: String(s) })
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
key: "type",
|
|
16
|
+
label: "Type",
|
|
17
|
+
render: (s) => /* @__PURE__ */ e("code", { className: "text-xs", children: String(s) })
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
key: "default",
|
|
21
|
+
label: "Default",
|
|
22
|
+
render: (s) => {
|
|
23
|
+
const c = String(s);
|
|
24
|
+
return c === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: c });
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
key: "description",
|
|
29
|
+
label: "Description"
|
|
30
|
+
}
|
|
31
|
+
], o = [
|
|
32
|
+
{
|
|
33
|
+
prop: "src",
|
|
34
|
+
type: "string",
|
|
35
|
+
default: "required",
|
|
36
|
+
description: "Image source URL"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
prop: "alt",
|
|
40
|
+
type: "string",
|
|
41
|
+
default: "required",
|
|
42
|
+
description: "Alt text for accessibility"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
prop: "width",
|
|
46
|
+
type: "number | string",
|
|
47
|
+
default: "-",
|
|
48
|
+
description: "Image width in pixels or percentage"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
prop: "height",
|
|
52
|
+
type: "number | string",
|
|
53
|
+
default: "-",
|
|
54
|
+
description: "Image height in pixels or percentage"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
prop: "objectFit",
|
|
58
|
+
type: "'cover' | 'contain' | 'fill' | 'none' | 'scale-down'",
|
|
59
|
+
default: "'cover'",
|
|
60
|
+
description: "How the image should fit its container"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
prop: "loading",
|
|
64
|
+
type: "'lazy' | 'eager'",
|
|
65
|
+
default: "'lazy'",
|
|
66
|
+
description: "Browser native lazy loading"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
prop: "priority",
|
|
70
|
+
type: "'high' | 'low' | 'auto'",
|
|
71
|
+
default: "'auto'",
|
|
72
|
+
description: "Fetch priority hint for browser"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
prop: "placeholder",
|
|
76
|
+
type: "'blur' | 'empty'",
|
|
77
|
+
default: "'empty'",
|
|
78
|
+
description: "Placeholder type while loading"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
prop: "blurDataURL",
|
|
82
|
+
type: "string",
|
|
83
|
+
default: "-",
|
|
84
|
+
description: "Base64 or URL for blur placeholder"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
prop: "fallbackSrc",
|
|
88
|
+
type: "string",
|
|
89
|
+
default: "placeholder image",
|
|
90
|
+
description: "Image to show on error"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
prop: "aspectRatio",
|
|
94
|
+
type: "string",
|
|
95
|
+
default: "-",
|
|
96
|
+
description: 'CSS aspect-ratio (e.g., "16/9", "4/3")'
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
prop: "fill",
|
|
100
|
+
type: "boolean",
|
|
101
|
+
default: "false",
|
|
102
|
+
description: "Fill parent container (position: absolute)"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
prop: "onLoad",
|
|
106
|
+
type: "() => void",
|
|
107
|
+
default: "-",
|
|
108
|
+
description: "Callback when image loads"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
prop: "onError",
|
|
112
|
+
type: "() => void",
|
|
113
|
+
default: "-",
|
|
114
|
+
description: "Callback when image fails to load"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
prop: "className",
|
|
118
|
+
type: "string",
|
|
119
|
+
default: "-",
|
|
120
|
+
description: "CSS classes for image element"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
prop: "containerClassName",
|
|
124
|
+
type: "string",
|
|
125
|
+
default: "-",
|
|
126
|
+
description: "CSS classes for wrapper container"
|
|
127
|
+
}
|
|
128
|
+
];
|
|
129
|
+
return /* @__PURE__ */ l(n, { children: [
|
|
130
|
+
/* @__PURE__ */ l("div", { className: "text-center space-y-4", children: [
|
|
131
|
+
/* @__PURE__ */ e(a, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "Image" }),
|
|
132
|
+
/* @__PURE__ */ e(
|
|
133
|
+
a,
|
|
134
|
+
{
|
|
135
|
+
tag: "p",
|
|
136
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
137
|
+
children: "A powerful image component inspired by Next.js Image, featuring lazy loading, blur placeholders, error handling, and automatic optimization."
|
|
138
|
+
}
|
|
139
|
+
)
|
|
140
|
+
] }),
|
|
141
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Basic Usage", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
142
|
+
/* @__PURE__ */ l("div", { children: [
|
|
143
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Standard Image" }),
|
|
144
|
+
/* @__PURE__ */ e(
|
|
145
|
+
a,
|
|
146
|
+
{
|
|
147
|
+
tag: "p",
|
|
148
|
+
className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
|
|
149
|
+
children: "Basic usage with width and height."
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
/* @__PURE__ */ e(
|
|
153
|
+
r,
|
|
154
|
+
{
|
|
155
|
+
src: "https://images.unsplash.com/photo-1682687220742-aba13b6e50ba?w=400&h=300&fit=crop",
|
|
156
|
+
alt: "Mountain landscape",
|
|
157
|
+
width: 400,
|
|
158
|
+
height: 300,
|
|
159
|
+
className: "rounded-lg"
|
|
160
|
+
}
|
|
161
|
+
)
|
|
162
|
+
] }),
|
|
163
|
+
/* @__PURE__ */ l("div", { children: [
|
|
164
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "With Lazy Loading" }),
|
|
165
|
+
/* @__PURE__ */ e(
|
|
166
|
+
a,
|
|
167
|
+
{
|
|
168
|
+
tag: "p",
|
|
169
|
+
className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
|
|
170
|
+
children: "Automatic lazy loading with smooth fade-in."
|
|
171
|
+
}
|
|
172
|
+
),
|
|
173
|
+
/* @__PURE__ */ e(
|
|
174
|
+
r,
|
|
175
|
+
{
|
|
176
|
+
src: "https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=400&h=300&fit=crop",
|
|
177
|
+
alt: "Mountain peaks",
|
|
178
|
+
width: 400,
|
|
179
|
+
height: 300,
|
|
180
|
+
loading: "lazy",
|
|
181
|
+
className: "rounded-lg"
|
|
182
|
+
}
|
|
183
|
+
)
|
|
184
|
+
] })
|
|
185
|
+
] }) }) }) }),
|
|
186
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Object Fit Modes", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-6", children: [
|
|
187
|
+
/* @__PURE__ */ l("div", { children: [
|
|
188
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Cover (Default)" }),
|
|
189
|
+
/* @__PURE__ */ e(
|
|
190
|
+
a,
|
|
191
|
+
{
|
|
192
|
+
tag: "p",
|
|
193
|
+
className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
|
|
194
|
+
children: "Fills container, may crop image."
|
|
195
|
+
}
|
|
196
|
+
),
|
|
197
|
+
/* @__PURE__ */ e(
|
|
198
|
+
r,
|
|
199
|
+
{
|
|
200
|
+
src: "https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=300&h=200&fit=crop",
|
|
201
|
+
alt: "Nature landscape cover",
|
|
202
|
+
width: 300,
|
|
203
|
+
height: 200,
|
|
204
|
+
objectFit: "cover",
|
|
205
|
+
className: "rounded-lg border-2 border-gray-200 dark:border-gray-700"
|
|
206
|
+
}
|
|
207
|
+
)
|
|
208
|
+
] }),
|
|
209
|
+
/* @__PURE__ */ l("div", { children: [
|
|
210
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Contain" }),
|
|
211
|
+
/* @__PURE__ */ e(
|
|
212
|
+
a,
|
|
213
|
+
{
|
|
214
|
+
tag: "p",
|
|
215
|
+
className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
|
|
216
|
+
children: "Fits entirely, may have empty space."
|
|
217
|
+
}
|
|
218
|
+
),
|
|
219
|
+
/* @__PURE__ */ e(
|
|
220
|
+
r,
|
|
221
|
+
{
|
|
222
|
+
src: "https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=300&h=200&fit=crop",
|
|
223
|
+
alt: "Nature landscape contain",
|
|
224
|
+
width: 300,
|
|
225
|
+
height: 200,
|
|
226
|
+
objectFit: "contain",
|
|
227
|
+
containerClassName: "bg-gray-100 dark:bg-gray-800",
|
|
228
|
+
className: "rounded-lg"
|
|
229
|
+
}
|
|
230
|
+
)
|
|
231
|
+
] }),
|
|
232
|
+
/* @__PURE__ */ l("div", { children: [
|
|
233
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Fill" }),
|
|
234
|
+
/* @__PURE__ */ e(
|
|
235
|
+
a,
|
|
236
|
+
{
|
|
237
|
+
tag: "p",
|
|
238
|
+
className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
|
|
239
|
+
children: "Stretches to fill container."
|
|
240
|
+
}
|
|
241
|
+
),
|
|
242
|
+
/* @__PURE__ */ e(
|
|
243
|
+
r,
|
|
244
|
+
{
|
|
245
|
+
src: "https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=300&h=200&fit=crop",
|
|
246
|
+
alt: "Nature landscape fill",
|
|
247
|
+
width: 300,
|
|
248
|
+
height: 200,
|
|
249
|
+
objectFit: "fill",
|
|
250
|
+
className: "rounded-lg border-2 border-gray-200 dark:border-gray-700"
|
|
251
|
+
}
|
|
252
|
+
)
|
|
253
|
+
] })
|
|
254
|
+
] }) }) }) }),
|
|
255
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Aspect Ratios", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-6", children: [
|
|
256
|
+
/* @__PURE__ */ l("div", { children: [
|
|
257
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "16:9 (Video)" }),
|
|
258
|
+
/* @__PURE__ */ e(
|
|
259
|
+
r,
|
|
260
|
+
{
|
|
261
|
+
src: "https://images.unsplash.com/photo-1501594907352-04cda38ebc29?w=400&h=300&fit=crop",
|
|
262
|
+
alt: "Beach sunset 16:9",
|
|
263
|
+
aspectRatio: "16/9",
|
|
264
|
+
fill: !0,
|
|
265
|
+
containerClassName: "w-full rounded-lg"
|
|
266
|
+
}
|
|
267
|
+
)
|
|
268
|
+
] }),
|
|
269
|
+
/* @__PURE__ */ l("div", { children: [
|
|
270
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "4:3 (Classic)" }),
|
|
271
|
+
/* @__PURE__ */ e(
|
|
272
|
+
r,
|
|
273
|
+
{
|
|
274
|
+
src: "https://images.unsplash.com/photo-1472214103451-9374bd1c798e?w=400&h=300&fit=crop",
|
|
275
|
+
alt: "Forest path 4:3",
|
|
276
|
+
aspectRatio: "4/3",
|
|
277
|
+
fill: !0,
|
|
278
|
+
containerClassName: "w-full rounded-lg"
|
|
279
|
+
}
|
|
280
|
+
)
|
|
281
|
+
] }),
|
|
282
|
+
/* @__PURE__ */ l("div", { children: [
|
|
283
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "1:1 (Square)" }),
|
|
284
|
+
/* @__PURE__ */ e(
|
|
285
|
+
r,
|
|
286
|
+
{
|
|
287
|
+
src: "https://images.unsplash.com/photo-1511884642898-4c92249e20b6?w=300&h=300&fit=crop",
|
|
288
|
+
alt: "City skyline 1:1",
|
|
289
|
+
aspectRatio: "1/1",
|
|
290
|
+
fill: !0,
|
|
291
|
+
containerClassName: "w-full rounded-lg"
|
|
292
|
+
}
|
|
293
|
+
)
|
|
294
|
+
] })
|
|
295
|
+
] }) }) }) }),
|
|
296
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Placeholder Types", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
297
|
+
/* @__PURE__ */ l("div", { children: [
|
|
298
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Blur Placeholder" }),
|
|
299
|
+
/* @__PURE__ */ e(
|
|
300
|
+
a,
|
|
301
|
+
{
|
|
302
|
+
tag: "p",
|
|
303
|
+
className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
|
|
304
|
+
children: "Shows animated blur effect while loading."
|
|
305
|
+
}
|
|
306
|
+
),
|
|
307
|
+
/* @__PURE__ */ e(
|
|
308
|
+
r,
|
|
309
|
+
{
|
|
310
|
+
src: "https://images.unsplash.com/photo-1682687220742-aba13b6e50ba?w=400&h=300&fit=crop",
|
|
311
|
+
alt: "Mountain with blur placeholder",
|
|
312
|
+
width: 400,
|
|
313
|
+
height: 300,
|
|
314
|
+
placeholder: "blur",
|
|
315
|
+
className: "rounded-lg"
|
|
316
|
+
}
|
|
317
|
+
)
|
|
318
|
+
] }),
|
|
319
|
+
/* @__PURE__ */ l("div", { children: [
|
|
320
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Empty Placeholder" }),
|
|
321
|
+
/* @__PURE__ */ e(
|
|
322
|
+
a,
|
|
323
|
+
{
|
|
324
|
+
tag: "p",
|
|
325
|
+
className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
|
|
326
|
+
children: "Shows spinner while loading."
|
|
327
|
+
}
|
|
328
|
+
),
|
|
329
|
+
/* @__PURE__ */ e(
|
|
330
|
+
r,
|
|
331
|
+
{
|
|
332
|
+
src: "https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=400&h=300&fit=crop",
|
|
333
|
+
alt: "Mountains with empty placeholder",
|
|
334
|
+
width: 400,
|
|
335
|
+
height: 300,
|
|
336
|
+
placeholder: "empty",
|
|
337
|
+
className: "rounded-lg"
|
|
338
|
+
}
|
|
339
|
+
)
|
|
340
|
+
] })
|
|
341
|
+
] }) }) }) }),
|
|
342
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Error Handling", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
343
|
+
/* @__PURE__ */ l("div", { children: [
|
|
344
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Invalid Image (Fallback)" }),
|
|
345
|
+
/* @__PURE__ */ e(
|
|
346
|
+
a,
|
|
347
|
+
{
|
|
348
|
+
tag: "p",
|
|
349
|
+
className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
|
|
350
|
+
children: "Automatically shows fallback on error."
|
|
351
|
+
}
|
|
352
|
+
),
|
|
353
|
+
/* @__PURE__ */ e(
|
|
354
|
+
r,
|
|
355
|
+
{
|
|
356
|
+
src: "https://invalid-url-that-will-fail.com/image.jpg",
|
|
357
|
+
alt: "Image with fallback",
|
|
358
|
+
width: 400,
|
|
359
|
+
height: 300,
|
|
360
|
+
className: "rounded-lg"
|
|
361
|
+
}
|
|
362
|
+
)
|
|
363
|
+
] }),
|
|
364
|
+
/* @__PURE__ */ l("div", { children: [
|
|
365
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Custom Fallback" }),
|
|
366
|
+
/* @__PURE__ */ e(
|
|
367
|
+
a,
|
|
368
|
+
{
|
|
369
|
+
tag: "p",
|
|
370
|
+
className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
|
|
371
|
+
children: "Provide your own fallback image."
|
|
372
|
+
}
|
|
373
|
+
),
|
|
374
|
+
/* @__PURE__ */ e(
|
|
375
|
+
r,
|
|
376
|
+
{
|
|
377
|
+
src: "https://invalid-url.com/image.jpg",
|
|
378
|
+
alt: "Custom fallback",
|
|
379
|
+
width: 400,
|
|
380
|
+
height: 300,
|
|
381
|
+
fallbackSrc: "https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=400&h=300&fit=crop",
|
|
382
|
+
className: "rounded-lg"
|
|
383
|
+
}
|
|
384
|
+
)
|
|
385
|
+
] })
|
|
386
|
+
] }) }) }) }),
|
|
387
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Responsive Images", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "space-y-6", children: [
|
|
388
|
+
/* @__PURE__ */ l("div", { children: [
|
|
389
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Full Width Responsive" }),
|
|
390
|
+
/* @__PURE__ */ e(
|
|
391
|
+
a,
|
|
392
|
+
{
|
|
393
|
+
tag: "p",
|
|
394
|
+
className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
|
|
395
|
+
children: "Image fills container width with maintained aspect ratio."
|
|
396
|
+
}
|
|
397
|
+
),
|
|
398
|
+
/* @__PURE__ */ e(
|
|
399
|
+
r,
|
|
400
|
+
{
|
|
401
|
+
src: "https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=400&fit=crop",
|
|
402
|
+
alt: "Responsive landscape",
|
|
403
|
+
aspectRatio: "21/9",
|
|
404
|
+
fill: !0,
|
|
405
|
+
containerClassName: "w-full rounded-lg"
|
|
406
|
+
}
|
|
407
|
+
)
|
|
408
|
+
] }),
|
|
409
|
+
/* @__PURE__ */ l("div", { children: [
|
|
410
|
+
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Grid Responsive Images" }),
|
|
411
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-4", children: [
|
|
412
|
+
"photo-1682687220742-aba13b6e50ba",
|
|
413
|
+
"photo-1506905925346-21bda4d32df4",
|
|
414
|
+
"photo-1501594907352-04cda38ebc29",
|
|
415
|
+
"photo-1472214103451-9374bd1c798e"
|
|
416
|
+
].map((s, c) => /* @__PURE__ */ e(
|
|
417
|
+
r,
|
|
418
|
+
{
|
|
419
|
+
src: `https://images.unsplash.com/${s}?w=300&h=300&fit=crop`,
|
|
420
|
+
alt: `Gallery image ${c + 1}`,
|
|
421
|
+
aspectRatio: "1/1",
|
|
422
|
+
fill: !0,
|
|
423
|
+
containerClassName: "w-full rounded-lg"
|
|
424
|
+
},
|
|
425
|
+
s
|
|
426
|
+
)) })
|
|
427
|
+
] })
|
|
428
|
+
] }) }) }) }),
|
|
429
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Key Features", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
430
|
+
/* @__PURE__ */ l(t, { className: "p-4", children: [
|
|
431
|
+
/* @__PURE__ */ l(a, { tag: "h5", className: "mb-2", children: [
|
|
432
|
+
/* @__PURE__ */ e("span", { role: "img", "aria-label": "rocket", children: "🚀" }),
|
|
433
|
+
" ",
|
|
434
|
+
"Lazy Loading"
|
|
435
|
+
] }),
|
|
436
|
+
/* @__PURE__ */ e(
|
|
437
|
+
a,
|
|
438
|
+
{
|
|
439
|
+
tag: "p",
|
|
440
|
+
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
441
|
+
children: "Native browser lazy loading for better performance and faster page loads."
|
|
442
|
+
}
|
|
443
|
+
)
|
|
444
|
+
] }),
|
|
445
|
+
/* @__PURE__ */ l(t, { className: "p-4", children: [
|
|
446
|
+
/* @__PURE__ */ l(a, { tag: "h5", className: "mb-2", children: [
|
|
447
|
+
/* @__PURE__ */ e("span", { role: "img", "aria-label": "sparkles", children: "✨" }),
|
|
448
|
+
" ",
|
|
449
|
+
"Smooth Transitions"
|
|
450
|
+
] }),
|
|
451
|
+
/* @__PURE__ */ e(
|
|
452
|
+
a,
|
|
453
|
+
{
|
|
454
|
+
tag: "p",
|
|
455
|
+
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
456
|
+
children: "Beautiful fade-in animations and blur effects for a polished loading experience."
|
|
457
|
+
}
|
|
458
|
+
)
|
|
459
|
+
] }),
|
|
460
|
+
/* @__PURE__ */ l(t, { className: "p-4", children: [
|
|
461
|
+
/* @__PURE__ */ l(a, { tag: "h5", className: "mb-2", children: [
|
|
462
|
+
/* @__PURE__ */ e("span", { role: "img", "aria-label": "shield", children: "🛡️" }),
|
|
463
|
+
" ",
|
|
464
|
+
"Error Handling"
|
|
465
|
+
] }),
|
|
466
|
+
/* @__PURE__ */ e(
|
|
467
|
+
a,
|
|
468
|
+
{
|
|
469
|
+
tag: "p",
|
|
470
|
+
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
471
|
+
children: "Automatic fallback images and error states with user-friendly messaging."
|
|
472
|
+
}
|
|
473
|
+
)
|
|
474
|
+
] }),
|
|
475
|
+
/* @__PURE__ */ l(t, { className: "p-4", children: [
|
|
476
|
+
/* @__PURE__ */ l(a, { tag: "h5", className: "mb-2", children: [
|
|
477
|
+
/* @__PURE__ */ e("span", { role: "img", "aria-label": "art", children: "🎨" }),
|
|
478
|
+
" ",
|
|
479
|
+
"Aspect Ratios"
|
|
480
|
+
] }),
|
|
481
|
+
/* @__PURE__ */ e(
|
|
482
|
+
a,
|
|
483
|
+
{
|
|
484
|
+
tag: "p",
|
|
485
|
+
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
486
|
+
children: "CSS aspect-ratio support for consistent layouts without layout shift."
|
|
487
|
+
}
|
|
488
|
+
)
|
|
489
|
+
] }),
|
|
490
|
+
/* @__PURE__ */ l(t, { className: "p-4", children: [
|
|
491
|
+
/* @__PURE__ */ l(a, { tag: "h5", className: "mb-2", children: [
|
|
492
|
+
/* @__PURE__ */ e("span", { role: "img", "aria-label": "mobile", children: "📱" }),
|
|
493
|
+
" ",
|
|
494
|
+
"Responsive"
|
|
495
|
+
] }),
|
|
496
|
+
/* @__PURE__ */ e(
|
|
497
|
+
a,
|
|
498
|
+
{
|
|
499
|
+
tag: "p",
|
|
500
|
+
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
501
|
+
children: "Fully responsive with flexible sizing options and fill mode support."
|
|
502
|
+
}
|
|
503
|
+
)
|
|
504
|
+
] }),
|
|
505
|
+
/* @__PURE__ */ l(t, { className: "p-4", children: [
|
|
506
|
+
/* @__PURE__ */ l(a, { tag: "h5", className: "mb-2", children: [
|
|
507
|
+
/* @__PURE__ */ e("span", { role: "img", "aria-label": "accessibility", children: "♿" }),
|
|
508
|
+
" ",
|
|
509
|
+
"Accessible"
|
|
510
|
+
] }),
|
|
511
|
+
/* @__PURE__ */ e(
|
|
512
|
+
a,
|
|
513
|
+
{
|
|
514
|
+
tag: "p",
|
|
515
|
+
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
516
|
+
children: "Required alt text and proper ARIA labels for screen readers."
|
|
517
|
+
}
|
|
518
|
+
)
|
|
519
|
+
] })
|
|
520
|
+
] }) }) }) }),
|
|
521
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Props", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(m, { columns: d, data: o }) }) }) }),
|
|
522
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(i, { title: "Code Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
523
|
+
h,
|
|
524
|
+
{
|
|
525
|
+
language: "tsx",
|
|
526
|
+
code: `import { Image } from '@e-burgos/tucu-ui';
|
|
527
|
+
|
|
528
|
+
// Basic usage
|
|
529
|
+
<Image
|
|
530
|
+
src="/path/to/image.jpg"
|
|
531
|
+
alt="Description"
|
|
532
|
+
width={400}
|
|
533
|
+
height={300}
|
|
534
|
+
/>
|
|
535
|
+
|
|
536
|
+
// With lazy loading and blur placeholder
|
|
537
|
+
<Image
|
|
538
|
+
src="/landscape.jpg"
|
|
539
|
+
alt="Mountain landscape"
|
|
540
|
+
width={800}
|
|
541
|
+
height={600}
|
|
542
|
+
loading="lazy"
|
|
543
|
+
placeholder="blur"
|
|
544
|
+
className="rounded-lg"
|
|
545
|
+
/>
|
|
546
|
+
|
|
547
|
+
// Responsive with aspect ratio
|
|
548
|
+
<Image
|
|
549
|
+
src="/hero.jpg"
|
|
550
|
+
alt="Hero image"
|
|
551
|
+
aspectRatio="16/9"
|
|
552
|
+
fill
|
|
553
|
+
containerClassName="w-full rounded-xl"
|
|
554
|
+
/>
|
|
555
|
+
|
|
556
|
+
// Different object-fit modes
|
|
557
|
+
<Image src={src} alt="Cover" objectFit="cover" />
|
|
558
|
+
<Image src={src} alt="Contain" objectFit="contain" />
|
|
559
|
+
<Image src={src} alt="Fill" objectFit="fill" />
|
|
560
|
+
|
|
561
|
+
// With error handling
|
|
562
|
+
<Image
|
|
563
|
+
src="/image.jpg"
|
|
564
|
+
alt="Image with fallback"
|
|
565
|
+
width={400}
|
|
566
|
+
height={300}
|
|
567
|
+
fallbackSrc="/fallback.jpg"
|
|
568
|
+
onError={() => console.log('Failed to load')}
|
|
569
|
+
onLoad={() => console.log('Loaded successfully')}
|
|
570
|
+
/>
|
|
571
|
+
|
|
572
|
+
// Fill parent container (like Next.js)
|
|
573
|
+
<div className="relative w-full h-64">
|
|
574
|
+
<Image
|
|
575
|
+
src="/banner.jpg"
|
|
576
|
+
alt="Banner"
|
|
577
|
+
fill
|
|
578
|
+
objectFit="cover"
|
|
579
|
+
/>
|
|
580
|
+
</div>
|
|
581
|
+
|
|
582
|
+
// With priority loading (above the fold)
|
|
583
|
+
<Image
|
|
584
|
+
src="/hero.jpg"
|
|
585
|
+
alt="Hero"
|
|
586
|
+
width={1200}
|
|
587
|
+
height={600}
|
|
588
|
+
loading="eager"
|
|
589
|
+
priority="high"
|
|
590
|
+
placeholder="blur"
|
|
591
|
+
/>
|
|
592
|
+
|
|
593
|
+
// Grid of images
|
|
594
|
+
<div className="grid grid-cols-3 gap-4">
|
|
595
|
+
{images.map((img) => (
|
|
596
|
+
<Image
|
|
597
|
+
key={img.id}
|
|
598
|
+
src={img.url}
|
|
599
|
+
alt={img.alt}
|
|
600
|
+
aspectRatio="1/1"
|
|
601
|
+
fill
|
|
602
|
+
containerClassName="w-full rounded-lg"
|
|
603
|
+
/>
|
|
604
|
+
))}
|
|
605
|
+
</div>`
|
|
606
|
+
}
|
|
607
|
+
) }) }) })
|
|
608
|
+
] });
|
|
609
|
+
};
|
|
610
|
+
export {
|
|
611
|
+
y as default
|
|
612
|
+
};
|