@e-burgos/tucu-ui 1.1.1 → 1.5.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-CHFWh_o7.mjs +142 -0
- package/APIReferenceSection-DluVuy7j.js +1 -0
- package/ActiveLinkSection-6ybcGGt2.mjs +120 -0
- package/ActiveLinkSection-eR2Tdsul.js +22 -0
- package/AdvancedColorSystemSection-B_8HoiQ3.mjs +194 -0
- package/AdvancedColorSystemSection-DKMWh-a_.js +17 -0
- package/AdvancedFeaturesSection-DbPXJd4H.js +1 -0
- package/AdvancedFeaturesSection-DpTDCRTm.js +1 -0
- package/AdvancedFeaturesSection-q8VXmitJ.mjs +100 -0
- package/AdvancedFeaturesSection-sL-_vRo2.mjs +82 -0
- package/AlertSection-Bqcg-w-7.js +25 -0
- package/AlertSection-Dn6NjQDr.mjs +143 -0
- package/AnchorLinkSection-3cpqAe_7.js +19 -0
- package/AnchorLinkSection-B5z9BGZb.mjs +94 -0
- package/ArchitecturalPatternsComparisonSection-D1lgF9Qq.js +31 -0
- package/ArchitecturalPatternsComparisonSection-D7aRdQjp.mjs +325 -0
- package/ArchitectureOverviewSection-CI-HqKmP.js +1 -0
- package/ArchitectureOverviewSection-N-DTRCmA.mjs +88 -0
- package/AuthorCardSection-ejoMkFT6.mjs +110 -0
- package/AuthorCardSection-q-e7Fvih.js +17 -0
- package/AvatarSection-CYIhQCW7.js +18 -0
- package/AvatarSection-CxQ9I8LE.mjs +137 -0
- package/BadgeSection-BYDufusc.mjs +238 -0
- package/BadgeSection-kYu8t7T2.js +48 -0
- package/BasicTableSection-B3eoFQgO.mjs +169 -0
- package/BasicTableSection-QXvy76bx.js +35 -0
- package/BasicUsageSection-Dk9S31nn.js +45 -0
- package/BasicUsageSection-gHN131UX.mjs +103 -0
- package/BestPracticesSection-B-5IaVUl.mjs +43 -0
- package/BestPracticesSection-B-x2dv0_.js +1 -0
- package/BestPracticesSection-C-4JCVk8.mjs +57 -0
- package/BestPracticesSection-CHiBf9j4.js +1 -0
- package/BestPracticesSection-CYYODLWD.mjs +84 -0
- package/BestPracticesSection-CgYDQZ08.js +1 -0
- package/BestPracticesSection-Csw9FmwN.mjs +83 -0
- package/BestPracticesSection-DTvZOXjW.js +1 -0
- package/BestPracticesSection-DgzVoetG.js +1 -0
- package/BestPracticesSection-NnTfU37k.mjs +41 -0
- package/BestPracticesSection-Rin8bHTr.js +1 -0
- package/BestPracticesSection-WJpORyLr.mjs +83 -0
- package/BestPracticesSection-bLuG1Luj.js +1 -0
- package/BestPracticesSection-vTl1Ddip.mjs +49 -0
- package/BorderRadiusSection-Bqpjgp5K.js +1 -0
- package/BorderRadiusSection-CYOGG5iZ.mjs +63 -0
- package/ButtonDripSection-BzblNRvl.mjs +99 -0
- package/ButtonDripSection-DRspv1Jd.js +12 -0
- package/ButtonLoaderSection-Blhaeqm7.js +30 -0
- package/ButtonLoaderSection-D9La-WQM.mjs +127 -0
- package/CHANGELOG.md +253 -0
- package/CardContainerSection-Cu1AzOCt.js +21 -0
- package/CardContainerSection-DS5PU6Wb.mjs +99 -0
- package/CardTitleSection-Wh6g54mJ.js +19 -0
- package/CardTitleSection-ju9F8Tyy.mjs +113 -0
- package/CarouselCardsSection-BVs6FbIw.js +37 -0
- package/CarouselCardsSection-BjTszCQ3.mjs +207 -0
- package/CarouselImageSection-B_H8sVnv.js +38 -0
- package/CarouselImageSection-CrvNktF1.mjs +218 -0
- package/CarouselSection-QmSC4Fer.mjs +159 -0
- package/CarouselSection-uwwpdSwJ.js +24 -0
- package/CheckboxSection-Dwy_YlRw.js +26 -0
- package/CheckboxSection-hX15QRdY.mjs +221 -0
- package/CodeExamplesSection-BNqHspuA.js +28 -0
- package/CodeExamplesSection-BUH5OyaH.mjs +137 -0
- package/CoinCardSection-BTdqO4no.mjs +174 -0
- package/CoinCardSection-DFEAiQGO.js +13 -0
- package/CoinInfoCardSection-3FTitkuN.mjs +174 -0
- package/CoinInfoCardSection-B7Oz1TWD.js +12 -0
- package/CoinListBoxSection-BaH4hZWa.js +24 -0
- package/CoinListBoxSection-_TubrBNV.mjs +219 -0
- package/CollapseSection-CRjrWcRJ.mjs +126 -0
- package/CollapseSection-DqNvLafS.js +27 -0
- package/CollectionCardSection-BGZ1mE8u.mjs +103 -0
- package/CollectionCardSection-DhyQKxxm.js +17 -0
- package/CollectionSelectListSection-CK1VQ7I0.mjs +102 -0
- package/CollectionSelectListSection-CKpKD67J.js +14 -0
- package/ColorCustomizationSection-CE36WYNY.js +1 -0
- package/ColorCustomizationSection-aKl6PI7A.mjs +117 -0
- package/ColorSystemSection-7uC0hJqW.mjs +149 -0
- package/ColorSystemSection-Bvcs1dxh.js +1 -0
- package/CommonErrorsSection-CFR64ylt.mjs +54 -0
- package/CommonErrorsSection-D4_FTfVZ.js +1 -0
- package/ComponentAnatomySection-CPYdBCO6.mjs +72 -0
- package/ComponentAnatomySection-T1qWJOin.js +1 -0
- package/ComponentStatusSection-CRoITF3h.mjs +84 -0
- package/ComponentStatusSection-DrPj3CJM.js +1 -0
- package/CurrencySwapIconsSection-BH3LQuBS.mjs +92 -0
- package/CurrencySwapIconsSection-CxKdhIow.js +7 -0
- package/CustomColorPaletteSection-B3CsPSOE.mjs +54 -0
- package/CustomColorPaletteSection-BtxfPGfC.js +19 -0
- package/CustomIconsSection-BgV-WAPJ.mjs +162 -0
- package/CustomIconsSection-DGEzlSMX.js +3 -0
- package/DefiAppLogoSection-Dho5mLuT.mjs +120 -0
- package/DefiAppLogoSection-PywyZ7Ds.js +36 -0
- package/DesignPrinciplesSection-BgaeCDku.mjs +81 -0
- package/DesignPrinciplesSection-DnOaJYVE.js +1 -0
- package/DrawerSection-BFrAtmLv.mjs +188 -0
- package/DrawerSection-BrAQSdGk.js +41 -0
- package/DynamicRoutesSection-BF1XqRl-.js +42 -0
- package/DynamicRoutesSection-BN90cnDy.mjs +100 -0
- package/FileInputSection-BV0_j5aJ.mjs +277 -0
- package/FileInputSection-CIFSCnZT.js +65 -0
- package/FileStructureSection-Bd08VEZK.mjs +87 -0
- package/FileStructureSection-DQQA-vIe.js +26 -0
- package/FormComponentsSection-C5NZO7yV.mjs +116 -0
- package/FormComponentsSection-CwJntEmg.js +1 -0
- package/FormMethodsSection-B98UkHBv.js +55 -0
- package/FormMethodsSection-D58xvtsL.mjs +119 -0
- package/HamburgerSection-BUji63CO.mjs +108 -0
- package/HamburgerSection-n_xmP-wn.js +18 -0
- package/HookCategoriesSection-DhGSTU0B.js +1 -0
- package/HookCategoriesSection-GYU7Iei5.mjs +97 -0
- package/HookDocumentationSection-CKJJ-w_i.js +73 -0
- package/HookDocumentationSection-DnqLYSGK.mjs +272 -0
- package/HookFeaturesSection-Bqg-CA71.mjs +81 -0
- package/HookFeaturesSection-Csey5UTc.js +1 -0
- package/IconArchitectureSection-Wv-G2b6a.js +1 -0
- package/IconArchitectureSection-hhRBUg-V.mjs +108 -0
- package/IconSizingGuideSection-Dx8mN7PX.mjs +69 -0
- package/IconSizingGuideSection-YB-CGtnr.js +1 -0
- package/IconSystemAPISection-QJWhdfpo.js +1 -0
- package/IconSystemAPISection-bXrudU06.mjs +61 -0
- package/IconSystemBenefitsSection-BwanyP3c.js +1 -0
- package/IconSystemBenefitsSection-DKLtXb24.mjs +41 -0
- package/ImageSection-CSmiHV0L.mjs +612 -0
- package/ImageSection-sHVjMCnz.js +80 -0
- package/ImplementationExamplesSection-DfHKYrzv.mjs +284 -0
- package/ImplementationExamplesSection-DwH6OVfU.js +178 -0
- package/ImplementationGuidelinesSection-Bj4DFmdL.mjs +52 -0
- package/ImplementationGuidelinesSection-DP_I_Hi1.js +1 -0
- package/ImplementationStatusSection-CRYiKU5h.mjs +23 -0
- package/ImplementationStatusSection-VVEoRERd.js +1 -0
- package/ImplementedFeaturesSection-BMT9e9nX.mjs +116 -0
- package/ImplementedFeaturesSection-DdDpTz2-.js +1 -0
- package/InputSearcherSection-CY1pJ7_p.js +32 -0
- package/InputSearcherSection-DBshLx3e.mjs +258 -0
- package/InputSection-BsdqucRI.js +37 -0
- package/InputSection-Ho687ul0.mjs +265 -0
- package/KeyboardNavigationSection-4iRK0ZQA.js +1 -0
- package/KeyboardNavigationSection-PpDOGCby.mjs +69 -0
- package/LayoutPrinciplesSection-D-vccfVu.mjs +106 -0
- package/LayoutPrinciplesSection-D9_fFAF_.js +1 -0
- package/LayoutTypesSection-BkcFBXXg.js +1 -0
- package/LayoutTypesSection-usXYbbCR.mjs +239 -0
- package/ListContainerSection-PLAbcoL1.mjs +191 -0
- package/ListContainerSection-yeYEWBZY.js +38 -0
- package/ListItemSection-Cf0jmpas.mjs +191 -0
- package/ListItemSection-sb6shrQt.js +36 -0
- package/LiveDemoSection-DEQKbTQk.mjs +16 -0
- package/LiveDemoSection-cPIxcIuZ.js +1 -0
- package/LiveDemonstrationsSection-0qjqbzL8.mjs +445 -0
- package/LiveDemonstrationsSection-DLwejyei.js +4 -0
- package/LivePriceFeedSection-DEhOelW8.js +20 -0
- package/LivePriceFeedSection-DyMixQjB.mjs +187 -0
- package/LoaderSection-HsHhN1fT.mjs +143 -0
- package/LoaderSection-Zl3r1AHf.js +22 -0
- package/LogoSection-BjaE8rJp.mjs +319 -0
- package/LogoSection-DrzsqfB_.js +100 -0
- package/LucideIconsSection-BfQQfNnw.mjs +128 -0
- package/LucideIconsSection-CFioLWY9.js +1 -0
- package/MFESupportSection-CfqZiAlG.mjs +354 -0
- package/MFESupportSection-aHAWy-oc.js +122 -0
- package/MenuItemsGuideSection-CfkMoYWs.js +126 -0
- package/MenuItemsGuideSection-DtqEz3te.mjs +325 -0
- package/ModalSection-DoA3JVZO.mjs +158 -0
- package/ModalSection-vV4oaIXq.js +29 -0
- package/NFTGridSection-BiqoU8o6.mjs +122 -0
- package/NFTGridSection-DmpbDmFp.js +11 -0
- package/NestedRoutesSection-BjrHulvK.mjs +88 -0
- package/NestedRoutesSection-CwHxcPIB.js +36 -0
- package/NotificationCardSection-BTvGBUp5.js +28 -0
- package/NotificationCardSection-yrGz8e61.mjs +153 -0
- package/PanelActionCardSection-De_RT7Xx.js +28 -0
- package/PanelActionCardSection-DtKYzJRz.mjs +138 -0
- package/PanelCardSection-BhHyd_RU.mjs +96 -0
- package/PanelCardSection-BwdNRgHL.js +15 -0
- package/ParamTabSection-D-64gIJ0.js +92 -0
- package/ParamTabSection-DW95bROn.mjs +561 -0
- package/PinCodeSection-DLxT1qlT.js +22 -0
- package/PinCodeSection-DRvKUePb.mjs +263 -0
- package/ProgressbarSection-CKbkhmQS.mjs +195 -0
- package/ProgressbarSection-CRCYjRpw.js +21 -0
- package/README.md +297 -83
- package/RadioGroupSection-BPp-Tp9a.mjs +288 -0
- package/RadioGroupSection-BUWSW6uI.js +27 -0
- package/RadioSection-CSn_sr4P.mjs +208 -0
- package/RadioSection-Cl2T68su.js +23 -0
- package/RevealContentSection-B4yEXfQY.mjs +111 -0
- package/RevealContentSection-DMZRYCm2.js +21 -0
- package/RouteConfigurationSection-CoQn38dJ.js +40 -0
- package/RouteConfigurationSection-DqLJ2vbf.mjs +81 -0
- package/ScrollToTopSection-DY_WQiIp.js +36 -0
- package/ScrollToTopSection-bsPO6VoN.mjs +193 -0
- package/ScrollbarSection-BQLoKdfQ.mjs +146 -0
- package/ScrollbarSection-f9m-PsRb.js +29 -0
- package/SelectSection-BN9qlOW6.mjs +275 -0
- package/SelectSection-BSY-VzxD.js +20 -0
- package/SettingsPanelSection-Beigs8Mz.js +1 -0
- package/SettingsPanelSection-C87nsYr6.mjs +126 -0
- package/ShadowsSection-Bc7fTEaF.js +1 -0
- package/ShadowsSection-swFi7rcU.mjs +90 -0
- package/SidebarMenuSection-CrXxweh8.js +46 -0
- package/SidebarMenuSection-Ok5nM-Gb.mjs +140 -0
- package/SidebarSection-DBreiJzV.js +25 -0
- package/SidebarSection-eGUICII0.mjs +122 -0
- package/SizingSection-B79GMG1e.js +1 -0
- package/SizingSection-BZ6K7FDU.mjs +86 -0
- package/SkeletonSection-CCNrjbhN.js +52 -0
- package/SkeletonSection-D3-GHpIx.mjs +259 -0
- package/SpacingSystemSection-00FcQc6s.js +1 -0
- package/SpacingSystemSection-CPC_ueHg.mjs +82 -0
- package/SpinnerSection-BKxNrkZS.mjs +107 -0
- package/SpinnerSection-CeTSWqKn.js +17 -0
- package/StandaloneAppSection-CL7q2RAc.mjs +244 -0
- package/StandaloneAppSection-xt8l3Kox.js +69 -0
- package/SwitchSection-CPHMvmxe.js +20 -0
- package/SwitchSection-KW_y9F1U.mjs +230 -0
- package/SystemOverviewSection-9jmtz2sd.mjs +93 -0
- package/SystemOverviewSection-QYqitAxQ.js +1 -0
- package/TabSection-Cytn9Eg_.js +84 -0
- package/TabSection-Dt7NHmRD.mjs +331 -0
- package/TabSelectSection-C3qtM1sO.js +100 -0
- package/TabSelectSection-CIkC-gNn.mjs +418 -0
- package/TailwindConfigSection-B3u_7Uj3.mjs +152 -0
- package/TailwindConfigSection-Beh2sEXt.js +19 -0
- package/TestingSection-DqUsgS3A.mjs +48 -0
- package/TestingSection-jzeFF7T4.js +12 -0
- package/TextareaSection-BC5OuD6Y.mjs +220 -0
- package/TextareaSection-DdF73vjR.js +21 -0
- package/ThemeArchitectureSection-CRMTbUjE.js +1 -0
- package/ThemeArchitectureSection-hVs57qtQ.mjs +86 -0
- package/ThemeConfigurationSection-ByKwC4NV.mjs +132 -0
- package/ThemeConfigurationSection-V9NL4B6w.js +1 -0
- package/ThemeHooksSection-BqMaxz3M.mjs +119 -0
- package/ThemeHooksSection-Cq7naa3J.js +1 -0
- package/ThemeProviderIntegrationSection-BdyKt0OG.js +61 -0
- package/ThemeProviderIntegrationSection-Dd4ey6yw.mjs +108 -0
- package/ThemeProviderRequiredSection-BC0SE1oX.mjs +95 -0
- package/ThemeProviderRequiredSection-C38NrwgR.js +1 -0
- package/ThemeProviderSection-DH9EOiSK.mjs +128 -0
- package/ThemeProviderSection-IP9yGtu9.js +1 -0
- package/ToastSection--5jtANA4.js +37 -0
- package/ToastSection-DMKHXDUt.mjs +170 -0
- package/ToggleBarSection-DFyy46ps.mjs +187 -0
- package/ToggleBarSection-sLrIdWGE.js +37 -0
- package/TopupButtonSection-D4UKj_4e.js +24 -0
- package/TopupButtonSection-MWCr2HgN.mjs +145 -0
- package/TransactionInfoSection-BDjeyKVu.mjs +113 -0
- package/TransactionInfoSection-Dow-BcLX.js +16 -0
- package/TucuUiLogoSection-B98FqIGR.mjs +121 -0
- package/TucuUiLogoSection-D33WplqP.js +26 -0
- package/TypographySection-BhLYx-Kc.mjs +129 -0
- package/TypographySection-C5qZROOc.mjs +214 -0
- package/TypographySection-CGqn0YKc.js +24 -0
- package/TypographySection-D833eiFZ.js +1 -0
- package/UsageExamplesSection-BYqtf6E5.mjs +147 -0
- package/UsageExamplesSection-B_3VW7eX.js +83 -0
- package/UsingThemeSystemSection-DnfcjVLJ.js +140 -0
- package/UsingThemeSystemSection-F28_AtB_.mjs +176 -0
- package/ValidationSystemSection-Ci83T7Q5.mjs +197 -0
- package/ValidationSystemSection-Dsoz_A_r.js +54 -0
- package/WCAGPrinciplesSection-DCjENTGT.js +1 -0
- package/WCAGPrinciplesSection-zEOESp2h.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-BoEJRnmP.js +906 -0
- package/index-DCf83AyI.mjs +53778 -0
- package/index.css +1 -1
- package/index.js +1 -179
- package/index.mjs +324 -45608
- package/package.json +2 -3
- package/tether-DaYvmdAU.mjs +5 -0
- package/tether-EofDinu3.js +1 -0
- package/themes/auth/components/auth-provider.d.ts +2 -0
- package/themes/components/theme-provider/index.d.ts +48 -6
- package/themes/components/theme-provider/mfe-app-theme-provider.d.ts +4 -1
- package/themes/components/theme-provider/standalone-app-theme-provider.d.ts +12 -0
- package/themes/components/theme-provider/theme-wrapper.d.ts +2 -1
- package/themes/config/index.d.ts +1 -1
- package/themes/hooks/use-theme.d.ts +0 -2
- package/themes/pages/access-denied.d.ts +6 -0
- package/themes/pages/default-error.d.ts +5 -0
- package/themes/pages/disabled-page.d.ts +5 -0
- package/themes/pages/forbidden.d.ts +5 -0
- package/themes/pages/index.d.ts +8 -0
- package/themes/pages/no-routes.d.ts +5 -0
- package/themes/pages/server-error.d.ts +5 -0
- package/themes/pages/unknown.d.ts +5 -0
- package/themes/pages/user-blocked.d.ts +5 -0
- package/themes/router/components/index.d.ts +1 -1
- package/themes/router/components/mfe-app-routes-provider.d.ts +2 -0
- package/themes/router/components/standalone-app-routes-provider.d.ts +20 -0
- package/themes/types/index.d.ts +2 -2
- package/components/inputs/uploader.d.ts +0 -2
- package/components/legacy/forms/checkbox.d.ts +0 -38
- package/components/legacy/forms/field-error-text.d.ts +0 -19
- package/components/legacy/forms/field-helper-text.d.ts +0 -18
- package/components/legacy/forms/file-input.d.ts +0 -8
- package/components/legacy/forms/form-system/example/error-container-example.d.ts +0 -3
- package/components/legacy/forms/form-system/example/form-example.d.ts +0 -3
- package/components/legacy/forms/form-system/example/form-methods-example.d.ts +0 -3
- package/components/legacy/forms/form-system/example/validations.d.ts +0 -14
- package/components/legacy/forms/form-system/form-field.d.ts +0 -14
- package/components/legacy/forms/form-system/form.d.ts +0 -13
- package/components/legacy/forms/form-system/hook-form.d.ts +0 -3
- package/components/legacy/forms/form-system/index.d.ts +0 -10
- package/components/legacy/forms/form-system/types/dependencies.type.d.ts +0 -11
- package/components/legacy/forms/form-system/types/extend-react-hook-form.type.d.ts +0 -16
- package/components/legacy/forms/form-system/types/index.d.ts +0 -3
- package/components/legacy/forms/form-system/types/validations.type.d.ts +0 -9
- package/components/legacy/forms/input-label.d.ts +0 -9
- package/components/legacy/forms/input-searcher.d.ts +0 -11
- package/components/legacy/forms/input-select.d.ts +0 -24
- package/components/legacy/forms/input-switch.d.ts +0 -13
- package/components/legacy/forms/input.d.ts +0 -16
- package/components/legacy/forms/pin-code.d.ts +0 -95
- package/components/legacy/forms/radio-group.d.ts +0 -56
- package/components/legacy/forms/radio.d.ts +0 -84
- package/components/legacy/forms/textarea.d.ts +0 -10
- package/components/logos/AppLogo.d.ts +0 -1
- package/components/logos/logo-dark.d.ts +0 -1
- package/components/logos/logo-icon.d.ts +0 -5
- package/components/logos/logo-iso-dark.d.ts +0 -1
- package/components/logos/logo-iso-light.d.ts +0 -1
- package/components/logos/logo-light.d.ts +0 -1
- package/components/utils/test-brand-classes.d.ts +0 -1
- package/themes/components/theme-provider/single-app-theme-provider.d.ts +0 -8
- package/themes/router/components/single-app-routes-provider.d.ts +0 -17
package/components/index.d.ts
CHANGED
|
@@ -5,13 +5,16 @@ export * from './cards';
|
|
|
5
5
|
export * from './carousel';
|
|
6
6
|
export * from './common';
|
|
7
7
|
export * from './dialog';
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './forms';
|
|
9
9
|
export * from './icons';
|
|
10
|
+
export * from './inputs';
|
|
11
|
+
export * from './layouts';
|
|
10
12
|
export * from './links';
|
|
13
|
+
export * from './list';
|
|
11
14
|
export * from './loaders';
|
|
12
15
|
export * from './logos';
|
|
13
16
|
export * from './notifications';
|
|
17
|
+
export * from './table';
|
|
18
|
+
export * from './tabs';
|
|
14
19
|
export * from './typography';
|
|
15
20
|
export * from './utils';
|
|
16
|
-
export * from './forms';
|
|
17
|
-
export * from './inputs';
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { ForwardedRef } from 'react';
|
|
2
|
-
import { DropzoneRootProps, DropzoneInputProps } from 'react-dropzone';
|
|
3
2
|
export declare const acceptedFileType: {
|
|
4
3
|
img: string;
|
|
5
4
|
pdf: string;
|
|
6
|
-
|
|
5
|
+
csvAndExcel: string;
|
|
7
6
|
imgAndPdf: string;
|
|
8
7
|
all: string;
|
|
9
8
|
};
|
|
10
|
-
export interface
|
|
11
|
-
/** Specify type of the files */
|
|
12
|
-
accept
|
|
9
|
+
export interface FileInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'accept' | 'children'> {
|
|
10
|
+
/** Specify type of the files. If not provided or 'all', accepts any file type */
|
|
11
|
+
accept?: 'img' | 'pdf' | 'csvAndExcel' | 'imgAndPdf' | 'all';
|
|
13
12
|
/** Pass multiple files */
|
|
14
13
|
multiple?: boolean;
|
|
15
14
|
/** Whether disable upload */
|
|
@@ -20,25 +19,26 @@ export interface UploadProps extends Omit<React.InputHTMLAttributes<HTMLInputEle
|
|
|
20
19
|
label?: React.ReactNode;
|
|
21
20
|
/** Set your custom text to show in upload field */
|
|
22
21
|
placeholderText?: React.ReactNode;
|
|
23
|
-
/** To pass
|
|
24
|
-
|
|
25
|
-
/** To pass
|
|
26
|
-
|
|
22
|
+
/** To pass additional props to the container element */
|
|
23
|
+
containerProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
24
|
+
/** To pass additional props to the input element */
|
|
25
|
+
additionalInputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
27
26
|
/** Pass wrapperClassName to style the container */
|
|
28
27
|
wrapperClassName?: string;
|
|
29
28
|
/** Pass className to style the container */
|
|
30
29
|
className?: string;
|
|
31
30
|
/** Pass label className to style label */
|
|
32
31
|
labelClassName?: string;
|
|
33
|
-
/** Pass
|
|
34
|
-
|
|
32
|
+
/** Pass containerClassName to style the container */
|
|
33
|
+
containerClassName?: string;
|
|
35
34
|
}
|
|
36
35
|
/** Upload component allows user to upload files either from file explorer or by dragging and dropping.
|
|
36
|
+
* The component implements native HTML5 drag and drop functionality without external dependencies.
|
|
37
37
|
* Here is the API documentation of Upload component. Rest of the props are same as html input field.
|
|
38
38
|
* You can use props like `disabled`, `multiple`, `capture` etc.
|
|
39
39
|
*/
|
|
40
|
-
export declare function
|
|
41
|
-
declare const _default: import('react').ForwardRefExoticComponent<
|
|
40
|
+
export declare function FileInput({ accept, children, label, containerProps, additionalInputProps, placeholderText, containerClassName, wrapperClassName, labelClassName, onChange, multiple, ...props }: React.PropsWithChildren<FileInputProps>, ref: ForwardedRef<HTMLInputElement>): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
declare const _default: import('react').ForwardRefExoticComponent<FileInputProps & {
|
|
42
42
|
children?: import('react').ReactNode | undefined;
|
|
43
43
|
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
44
44
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type DateFormat = 'DD-MM-YYYY' | 'MM-DD-YYYY' | 'YYYY-MM-DD' | 'DD/MM/YYYY' | 'MM/DD/YYYY' | 'YYYY/MM/DD';
|
|
2
|
+
export type Locale = 'en-US' | 'es-ES' | 'fr-FR' | 'de-DE' | 'pt-BR';
|
|
2
3
|
export type InputProps = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
3
4
|
label?: string;
|
|
4
5
|
error?: string;
|
|
@@ -12,6 +13,7 @@ export type InputProps = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLI
|
|
|
12
13
|
suffixClassName?: string;
|
|
13
14
|
icon?: React.ReactNode;
|
|
14
15
|
dateFormat?: DateFormat;
|
|
16
|
+
locale?: Locale;
|
|
15
17
|
};
|
|
16
18
|
export declare const inputVariantClasses: {
|
|
17
19
|
ghost: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './admin-layout/index';
|
|
2
|
+
export * from './clean-layout/index';
|
|
3
|
+
export * from './header/admin-header';
|
|
4
|
+
export * from './header/admin-right-area';
|
|
5
|
+
export * from './header/header';
|
|
6
|
+
export * from './header/horizontal-header';
|
|
7
|
+
export * from './header/horizontal-right-area';
|
|
8
|
+
export * from './horizontal/index';
|
|
9
|
+
export * from './menus/collapsible-menu';
|
|
10
|
+
export * from './menus/expandable-sidebar';
|
|
11
|
+
export * from './menus/horizontal-nav-menu';
|
|
12
|
+
export * from './menus/menu-item';
|
|
13
|
+
export * from './root-layout';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type DropdownItemProps = {
|
|
2
2
|
name: string;
|
|
3
3
|
icon?: React.ReactNode;
|
|
4
4
|
path: string;
|
|
@@ -8,7 +8,7 @@ export type DropdownItemProps = {
|
|
|
8
8
|
hide?: boolean;
|
|
9
9
|
onClick?: () => void;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type IMenuItem = {
|
|
12
12
|
name: string;
|
|
13
13
|
icon?: React.ReactNode;
|
|
14
14
|
path: string;
|
|
@@ -21,3 +21,4 @@ export type IMenuItem = {
|
|
|
21
21
|
type MenuItemProps = IMenuItem;
|
|
22
22
|
export declare function MenuItem({ name, icon, path, href, dropdownItems, isActive: isActiveProps, hide, onClick, }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default MenuItem;
|
|
24
|
+
export type { IMenuItem, DropdownItemProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ListItemProps extends Omit<React.HTMLAttributes<HTMLLIElement | HTMLButtonElement>, 'onClick' | 'id' | 'content'> {
|
|
3
|
+
id: string | number;
|
|
4
|
+
label?: string;
|
|
5
|
+
content?: React.ReactNode;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
active?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const ListItem: React.FC<ListItemProps>;
|
|
13
|
+
export default ListItem;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListItemProps } from './list-Item';
|
|
3
|
+
export interface ListContainerProps {
|
|
4
|
+
items: ListItemProps[];
|
|
5
|
+
label?: string;
|
|
6
|
+
triggerIcon?: React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
dropdownClassName?: string;
|
|
9
|
+
position?: 'left' | 'right' | 'top' | 'bottom';
|
|
10
|
+
align?: 'start' | 'end' | 'center';
|
|
11
|
+
isOpen?: boolean;
|
|
12
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
13
|
+
keepOpen?: boolean;
|
|
14
|
+
trigger?: 'hover' | 'click';
|
|
15
|
+
}
|
|
16
|
+
export declare const ListContainer: React.FC<ListContainerProps>;
|
|
17
|
+
export default ListContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DefiAppLogo: (props: React.SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function FullLogo(props: React.SVGAttributes<SVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,9 +6,8 @@ export interface LogoPropTypes {
|
|
|
6
6
|
preset?: PRESET_LABEL_COLORS;
|
|
7
7
|
className?: string;
|
|
8
8
|
size?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
9
|
-
logoIsoType?: boolean;
|
|
10
9
|
logo?: React.ReactNode | null;
|
|
11
10
|
isoType?: boolean;
|
|
12
11
|
}
|
|
13
|
-
export declare function Logo({ name, secondName, path,
|
|
12
|
+
export declare function Logo({ name, secondName, path, className, size, logo, isoType, }: LogoPropTypes): import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
export default Logo;
|
|
@@ -2,10 +2,11 @@ interface AlertProps {
|
|
|
2
2
|
children: React.ReactNode;
|
|
3
3
|
variant?: 'info' | 'warning' | 'error' | 'success';
|
|
4
4
|
dismissible?: boolean;
|
|
5
|
+
className?: string;
|
|
5
6
|
onDismiss?: () => void;
|
|
6
7
|
'aria-label'?: string;
|
|
7
8
|
}
|
|
8
|
-
export declare function Alert({ children, variant, dismissible, onDismiss, 'aria-label': ariaLabel, }: React.PropsWithChildren<AlertProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export declare function Alert({ children, variant, dismissible, className, onDismiss, 'aria-label': ariaLabel, }: React.PropsWithChildren<AlertProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
9
10
|
export declare namespace Alert {
|
|
10
11
|
var displayName: string;
|
|
11
12
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface TableColumn<T = Record<string, unknown>> {
|
|
3
|
+
key: string;
|
|
4
|
+
label: string;
|
|
5
|
+
render?: (value: unknown, row: T, index: number) => ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
headerClassName?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface BasicTableProps<T = Record<string, unknown>> {
|
|
10
|
+
columns: TableColumn<T>[];
|
|
11
|
+
data: T[];
|
|
12
|
+
rounded?: boolean;
|
|
13
|
+
border?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
tableClassName?: string;
|
|
16
|
+
headerClassName?: string;
|
|
17
|
+
rowClassName?: string | ((row: T, index: number) => string);
|
|
18
|
+
containerClassName?: string;
|
|
19
|
+
showHeader?: boolean;
|
|
20
|
+
hoverable?: boolean;
|
|
21
|
+
striped?: boolean;
|
|
22
|
+
maxRows?: number;
|
|
23
|
+
}
|
|
24
|
+
export declare const BasicTable: <T extends Record<string, unknown> = Record<string, unknown>>({ columns, data, rounded, border, className, tableClassName, headerClassName, rowClassName, containerClassName, showHeader, hoverable, striped, maxRows, }: BasicTableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export default BasicTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './basic-table';
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { TabPanel } from './tab';
|
|
2
|
+
type VariantNames = 'underline' | 'pills' | 'bordered' | 'solid';
|
|
3
|
+
type SizeNames = 'small' | 'medium' | 'large';
|
|
2
4
|
export interface TabMenuItem {
|
|
3
5
|
title: React.ReactNode;
|
|
4
6
|
path: string;
|
|
7
|
+
icon?: React.ReactNode;
|
|
5
8
|
}
|
|
6
9
|
export interface ParamTabTypes {
|
|
7
10
|
tabMenu: TabMenuItem[];
|
|
8
11
|
children: React.ReactNode;
|
|
9
12
|
tabListClassName?: string;
|
|
13
|
+
variant?: VariantNames;
|
|
14
|
+
size?: SizeNames;
|
|
15
|
+
showMobileSelect?: boolean;
|
|
10
16
|
}
|
|
11
17
|
export { TabPanel };
|
|
12
|
-
export declare function ParamTab({ tabMenu, children, tabListClassName, }: ParamTabTypes): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function ParamTab({ tabMenu, children, tabListClassName, variant, size, showMobileSelect, }: ParamTabTypes): import("react/jsx-runtime").JSX.Element;
|
|
13
19
|
export default ParamTab;
|
package/components/tabs/tab.d.ts
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { Tab, TabGroupProps, TabPanelsProps, TabPanelProps, TabListProps, TabProps } from '@headlessui/react';
|
|
3
3
|
export { Tab };
|
|
4
|
-
|
|
4
|
+
type VariantNames = 'underline' | 'pills' | 'bordered' | 'solid';
|
|
5
|
+
type SizeNames = 'small' | 'medium' | 'large';
|
|
6
|
+
type ColorNames = 'primary' | 'secondary' | 'success' | 'danger';
|
|
7
|
+
export interface TabGroupExtendedProps extends TabGroupProps {
|
|
8
|
+
variant?: VariantNames;
|
|
5
9
|
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const
|
|
10
|
+
}
|
|
11
|
+
export declare const TabGroup: FC<React.PropsWithChildren<TabGroupExtendedProps>>;
|
|
12
|
+
export interface TabListExtendedProps extends TabListProps {
|
|
13
|
+
variant?: VariantNames;
|
|
8
14
|
className?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare
|
|
15
|
+
}
|
|
16
|
+
export declare const TabList: FC<React.PropsWithChildren<TabListExtendedProps>>;
|
|
17
|
+
export interface TabItemExtendedProps extends TabProps {
|
|
18
|
+
variant?: VariantNames;
|
|
19
|
+
size?: SizeNames;
|
|
20
|
+
color?: ColorNames;
|
|
11
21
|
className?: string;
|
|
12
22
|
disabled?: boolean;
|
|
13
23
|
showMobileIndicator?: boolean;
|
|
14
|
-
|
|
24
|
+
icon?: React.ReactNode;
|
|
25
|
+
}
|
|
26
|
+
export declare function TabItem({ children, className, disabled, showMobileIndicator, variant, size, color, icon, }: React.PropsWithChildren<TabItemExtendedProps>): import("react/jsx-runtime").JSX.Element;
|
|
15
27
|
export declare function TabPanels({ children, className, }: React.PropsWithChildren<{
|
|
16
28
|
className?: string;
|
|
17
29
|
}> & TabPanelsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
2
|
+
type ObjectFit = 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
|
|
3
|
+
type Loading = 'lazy' | 'eager';
|
|
4
|
+
type Priority = 'high' | 'low' | 'auto';
|
|
5
|
+
export interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
3
6
|
src: string;
|
|
4
|
-
|
|
7
|
+
alt: string;
|
|
5
8
|
width?: number | string;
|
|
6
|
-
|
|
9
|
+
height?: number | string;
|
|
10
|
+
objectFit?: ObjectFit;
|
|
11
|
+
loading?: Loading;
|
|
12
|
+
priority?: Priority;
|
|
13
|
+
placeholder?: 'blur' | 'empty';
|
|
7
14
|
blurDataURL?: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
15
|
+
quality?: number;
|
|
16
|
+
onLoad?: () => void;
|
|
17
|
+
onError?: () => void;
|
|
18
|
+
fallbackSrc?: string;
|
|
11
19
|
className?: string;
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
containerClassName?: string;
|
|
21
|
+
aspectRatio?: string;
|
|
22
|
+
fill?: boolean;
|
|
14
23
|
}
|
|
15
24
|
export declare const Image: React.FC<ImageProps>;
|
|
16
25
|
export default Image;
|
|
@@ -1,5 +1,42 @@
|
|
|
1
|
+
export interface ScrollToTopProps {
|
|
2
|
+
/**
|
|
3
|
+
* Distance from the top of the viewport (in pixels or Tailwind class)
|
|
4
|
+
* Default: undefined (uses bottom instead)
|
|
5
|
+
*/
|
|
6
|
+
top?: string | number;
|
|
7
|
+
/**
|
|
8
|
+
* Distance from the right of the viewport (in pixels or Tailwind class)
|
|
9
|
+
* Default: 24
|
|
10
|
+
*/
|
|
11
|
+
right?: string | number;
|
|
12
|
+
/**
|
|
13
|
+
* Distance from the bottom of the viewport (in pixels or Tailwind class)
|
|
14
|
+
* Default: 24
|
|
15
|
+
*/
|
|
16
|
+
bottom?: string | number;
|
|
17
|
+
/**
|
|
18
|
+
* Distance from the left of the viewport (in pixels or Tailwind class)
|
|
19
|
+
* Default: undefined (uses right instead)
|
|
20
|
+
*/
|
|
21
|
+
left?: string | number;
|
|
22
|
+
/**
|
|
23
|
+
* Minimum scroll position (in pixels) to show the button
|
|
24
|
+
* Default: 400
|
|
25
|
+
*/
|
|
26
|
+
showAfter?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Custom className for the button
|
|
29
|
+
*/
|
|
30
|
+
className?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Size of the button
|
|
33
|
+
* Default: 'medium'
|
|
34
|
+
*/
|
|
35
|
+
size?: 'small' | 'medium' | 'large';
|
|
36
|
+
}
|
|
1
37
|
/**
|
|
2
38
|
* ScrollToTop component that scrolls to the top of the page when the route changes
|
|
39
|
+
* and displays a floating button to scroll back to top
|
|
3
40
|
*/
|
|
4
|
-
export declare function ScrollToTop(): null;
|
|
41
|
+
export declare function ScrollToTop({ top, right, bottom, left, showAfter, className, size, }?: ScrollToTopProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | null;
|
|
5
42
|
export default ScrollToTop;
|
|
@@ -6,6 +6,7 @@ interface HeroCardProps {
|
|
|
6
6
|
description?: string;
|
|
7
7
|
githubButton?: boolean;
|
|
8
8
|
getStartedButton?: boolean;
|
|
9
|
+
content?: React.ReactNode;
|
|
9
10
|
docsButton?: 'introduction' | 'layout-system' | 'design-system' | 'theming-guide' | 'form-system' | 'icons-system' | 'hooks-utilities' | 'blockchain-components' | 'accessibility' | 'tailwind-utilities';
|
|
10
11
|
backgroundAnimation?: boolean;
|
|
11
12
|
customButton?: {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface LazyComponentSectionProps {
|
|
3
|
+
id: string;
|
|
4
|
+
component: React.LazyExoticComponent<React.ComponentType<Record<string, never>>>;
|
|
5
|
+
fallback?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Component that lazy loads a section component when it enters the viewport
|
|
9
|
+
*/
|
|
10
|
+
export declare const LazyComponentSection: React.FC<LazyComponentSectionProps>;
|
|
11
|
+
export default LazyComponentSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PlaygroundButton: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface TableOfContentsItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
category?: string;
|
|
6
|
+
}
|
|
7
|
+
interface TableOfContentsProps {
|
|
8
|
+
items: TableOfContentsItem[];
|
|
9
|
+
title?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
onItemClick?: (item: TableOfContentsItem) => void;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onSidebarToggle?: (isOpen: boolean) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const TableOfContents: React.FC<TableOfContentsProps>;
|
|
16
|
+
export default TableOfContents;
|
package/demo/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function BlockchainComponents(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as CoinCardSection } from './CoinCardSection';
|
|
2
|
+
export { default as LivePriceFeedSection } from './LivePriceFeedSection';
|
|
3
|
+
export { default as CollectionCardSection } from './CollectionCardSection';
|
|
4
|
+
export { default as CoinInfoCardSection } from './CoinInfoCardSection';
|
|
5
|
+
export { default as NFTGridSection } from './NFTGridSection';
|
|
6
|
+
export { default as CoinListBoxSection } from './CoinListBoxSection';
|
|
7
|
+
export { default as TransactionInfoSection } from './TransactionInfoSection';
|
|
8
|
+
export { default as CollectionSelectListSection } from './CollectionSelectListSection';
|
|
9
|
+
export { default as CurrencySwapIconsSection } from './CurrencySwapIconsSection';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ComponentsIntroduction(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function UiComponents(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as InputSection } from './InputSection';
|
|
2
|
+
export { default as TextareaSection } from './TextareaSection';
|
|
3
|
+
export { default as SelectSection } from './SelectSection';
|
|
4
|
+
export { default as RadioSection } from './RadioSection';
|
|
5
|
+
export { default as RadioGroupSection } from './RadioGroupSection';
|
|
6
|
+
export { default as CheckboxSection } from './CheckboxSection';
|
|
7
|
+
export { default as PinCodeSection } from './PinCodeSection';
|
|
8
|
+
export { default as SwitchSection } from './SwitchSection';
|
|
9
|
+
export { default as InputSearcherSection } from './InputSearcherSection';
|
|
10
|
+
export { default as FileInputSection } from './FileInputSection';
|
|
11
|
+
export { default as ToggleBarSection } from './ToggleBarSection';
|