@e-burgos/tucu-ui 2.0.2 → 2.0.4
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/CHANGELOG.md +213 -0
- package/README.md +58 -17
- package/components/blockchain/coin-listbox.d.ts +7 -2
- package/components/blockchain/collection-select-list.d.ts +4 -1
- package/components/buttons/button/index.d.ts +9 -1
- package/components/cards/card.d.ts +13 -0
- package/components/cards/index.d.ts +2 -0
- package/components/cards/info-card.d.ts +54 -0
- package/components/charts/area-chart/area-chart.d.ts +9 -0
- package/components/charts/area-chart/index.d.ts +2 -0
- package/components/charts/bar-chart/bar-chart.d.ts +10 -0
- package/components/charts/bar-chart/index.d.ts +2 -0
- package/components/charts/components/chart-container.d.ts +8 -0
- package/components/charts/components/chart-empty-state.d.ts +6 -0
- package/components/charts/components/chart-tooltip.d.ts +2 -0
- package/components/charts/components/index.d.ts +3 -0
- package/components/charts/composed-chart/composed-chart.d.ts +9 -0
- package/components/charts/composed-chart/index.d.ts +2 -0
- package/components/charts/hooks/index.d.ts +2 -0
- package/components/charts/hooks/use-chart-theme.d.ts +13 -0
- package/components/charts/index.d.ts +18 -0
- package/components/charts/line-chart/index.d.ts +2 -0
- package/components/charts/line-chart/line-chart.d.ts +9 -0
- package/components/charts/pie-chart/index.d.ts +2 -0
- package/components/charts/pie-chart/pie-chart.d.ts +14 -0
- package/components/charts/radar-chart/index.d.ts +2 -0
- package/components/charts/radar-chart/radar-chart.d.ts +17 -0
- package/components/charts/types.d.ts +32 -0
- package/components/common/index.d.ts +4 -0
- package/components/common/key-value-row.d.ts +9 -0
- package/components/common/pagination.d.ts +9 -0
- package/components/common/stepper.d.ts +13 -0
- package/components/common/tooltip.d.ts +39 -0
- package/components/dialog/drawer-container.d.ts +1 -1
- package/components/dialog/index.d.ts +1 -0
- package/components/dialog/tab-modal.d.ts +41 -0
- package/components/index.d.ts +1 -0
- package/components/inputs/file-input.d.ts +2 -2
- package/components/inputs/input-searcher.d.ts +3 -2
- package/components/inputs/select.d.ts +9 -1
- package/components/tabs/tab.d.ts +31 -13
- package/components/typography/index.d.ts +10 -1
- package/components/utils/scroll-to-top.d.ts +17 -9
- package/demo/components/auto-props-table.d.ts +16 -0
- package/demo/components/dynamic-sections-page.d.ts +48 -0
- package/demo/components/index.d.ts +3 -0
- package/demo/components/prop-playground.d.ts +18 -0
- package/demo/components/table-of-contents.d.ts +4 -0
- package/demo/generated/props-metadata.d.ts +23 -0
- package/demo/index.d.ts +1 -0
- package/demo/pages/blockchain/BlockchainComponents.d.ts +1 -0
- package/demo/pages/components/ChartsComponents.d.ts +2 -0
- package/demo/pages/components/UiComponents.d.ts +1 -0
- package/demo/pages/components/charts-sections/AreaChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/BarChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/ComposedChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/LineChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/PieChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/RadarChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/index.d.ts +1 -0
- package/demo/pages/components/ui-components-sections/CardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/InfoCardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/KeyValueRowSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/PaginationSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/StepperSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TabModalSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TooltipSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/index.d.ts +5 -0
- package/demo/pages/index.d.ts +1 -0
- package/{APIReferenceSection-DIjWDVUT.mjs → documentation/APIReferenceSection-CkbDOII-.js} +1 -1
- package/documentation/APIReferenceSection-CpVd3Xjx.js +1 -0
- package/documentation/ActiveLinkSection-CpzFDISY.js +22 -0
- package/documentation/ActiveLinkSection-DYPp4Zg0.js +81 -0
- package/{AdvancedColorSystemSection-CPywSlwi.mjs → documentation/AdvancedColorSystemSection-C8-q7nNW.js} +1 -1
- package/documentation/AdvancedColorSystemSection-CODz6Wv7.js +17 -0
- package/documentation/AdvancedFeaturesSection-CPokeoIR.js +1 -0
- package/{AdvancedFeaturesSection-BZli4uQf.mjs → documentation/AdvancedFeaturesSection-CT5LPMRT.js} +1 -1
- package/documentation/AdvancedFeaturesSection-DfczHWMU.js +1 -0
- package/{AdvancedFeaturesSection-CfxJrpgL.mjs → documentation/AdvancedFeaturesSection-wx6bqfbU.js} +1 -1
- package/{AlertSection-BC888Ug4.js → documentation/AlertSection-M-ADbyNs.js} +2 -2
- package/{AlertSection-CrmVofrn.mjs → documentation/AlertSection-pO3LOWb0.js} +28 -73
- package/documentation/AnchorLinkSection-DOQLfXNM.js +67 -0
- package/documentation/AnchorLinkSection-DrwLaGpe.js +19 -0
- package/documentation/ArchitecturalPatternsComparisonSection-D3qDb8oV.js +31 -0
- package/{ArchitecturalPatternsComparisonSection-Bi55jiL7.mjs → documentation/ArchitecturalPatternsComparisonSection-OgRFV5Gn.js} +1 -1
- package/{ArchitectureOverviewSection-Da61yY3U.mjs → documentation/ArchitectureOverviewSection-C4SPa6fm.js} +1 -1
- package/documentation/ArchitectureOverviewSection-DJ6szT6V.js +1 -0
- package/documentation/AreaChartSection-CM7nymKJ.js +22 -0
- package/documentation/AreaChartSection-DdoeVQoB.js +132 -0
- package/documentation/AuthorCardSection-C-tk6Y7D.js +17 -0
- package/documentation/AuthorCardSection-P8sPh0d7.js +81 -0
- package/documentation/AvatarSection-DXJRt7X9.js +91 -0
- package/documentation/AvatarSection-KUgwOb7k.js +18 -0
- package/documentation/BadgeSection-BDS8NdU8.js +48 -0
- package/{BadgeSection-CbWNwtHa.mjs → documentation/BadgeSection-Da5iTRZq.js} +33 -90
- package/documentation/BarChartSection-CdcAAYG-.js +23 -0
- package/documentation/BarChartSection-EN1OqYoj.js +127 -0
- package/documentation/BasicTableSection-B-BGv1Tg.js +103 -0
- package/documentation/BasicTableSection-DZASBtqv.js +35 -0
- package/{BasicUsageSection-DzJXFb3O.js → documentation/BasicUsageSection-9USFmdGa.js} +1 -1
- package/{BasicUsageSection-Cqw9mQqJ.mjs → documentation/BasicUsageSection-Cyj_uLkj.js} +1 -1
- package/documentation/BestPracticesSection-B9Ok_QEu.js +1 -0
- package/documentation/BestPracticesSection-Bbsf74bT.js +1 -0
- package/documentation/BestPracticesSection-BgIFl9EC.js +1 -0
- package/documentation/BestPracticesSection-BwenEe-Y.js +1 -0
- package/documentation/BestPracticesSection-CS9RAMVi.js +1 -0
- package/{BestPracticesSection-BVDNKve6.mjs → documentation/BestPracticesSection-CnVEvflQ.js} +1 -1
- package/documentation/BestPracticesSection-DDSMtR6c.js +1 -0
- package/{BestPracticesSection-BbK7lnbj.mjs → documentation/BestPracticesSection-DIYdJV66.js} +1 -1
- package/documentation/BestPracticesSection-DOLkJn-G.js +1 -0
- package/{BestPracticesSection-rjxGw6K9.mjs → documentation/BestPracticesSection-DYVhfzE6.js} +1 -1
- package/{BestPracticesSection-Pnux3-yB.mjs → documentation/BestPracticesSection-NsZAn0RE.js} +1 -1
- package/{BestPracticesSection-BuiTuJJa.mjs → documentation/BestPracticesSection-aJyw2jIF.js} +1 -1
- package/{BestPracticesSection-CeDkvrdJ.mjs → documentation/BestPracticesSection-c2rhfHLA.js} +1 -1
- package/{BestPracticesSection-qddzHZ3e.mjs → documentation/BestPracticesSection-uZIOlRpC.js} +1 -1
- package/{BorderRadiusSection-DMscu-5M.mjs → documentation/BorderRadiusSection-BhNShk2O.js} +1 -1
- package/documentation/BorderRadiusSection-D1lTcnl0.js +1 -0
- package/documentation/ButtonDripSection-C1vY2CzY.js +113 -0
- package/documentation/ButtonDripSection-CKYJay9N.js +21 -0
- package/{ButtonLoaderSection-5Yu15Qui.mjs → documentation/ButtonLoaderSection-DKQi-oTv.js} +55 -27
- package/documentation/ButtonLoaderSection-DlQb_Bqb.js +30 -0
- package/documentation/CardContainerSection-B8AGux8b.js +21 -0
- package/documentation/CardContainerSection-CdASbRnV.js +63 -0
- package/documentation/CardSection-DlgqI72V.js +25 -0
- package/documentation/CardSection-Do7VBcYz.js +125 -0
- package/documentation/CardTitleSection-CTy97wuG.js +19 -0
- package/documentation/CardTitleSection-DGccHBTI.js +74 -0
- package/documentation/CarouselCardsSection-CnuIZycb.js +37 -0
- package/documentation/CarouselCardsSection-D_KfDV2g.js +147 -0
- package/documentation/CarouselImageSection-CD0fv4kK.js +38 -0
- package/documentation/CarouselImageSection-D4hTf6Z0.js +152 -0
- package/documentation/CarouselSection-Brd953Fb.js +24 -0
- package/documentation/CarouselSection-C9425lXN.js +99 -0
- package/{CheckboxSection-CywmKcfM.mjs → documentation/CheckboxSection-CQIxbre6.js} +29 -113
- package/documentation/CheckboxSection-CU5tyHMH.js +26 -0
- package/{CodeExamplesSection-DiNpllP9.mjs → documentation/CodeExamplesSection-D3oeJD_J.js} +1 -1
- package/{CodeExamplesSection-TOAvzng7.js → documentation/CodeExamplesSection-DAHf5u7i.js} +1 -1
- package/documentation/CoinCardSection-BtB86t_Y.js +13 -0
- package/{CoinCardSection-CqHPetPK.mjs → documentation/CoinCardSection-BtUjNiqi.js} +23 -101
- package/documentation/CoinInfoCardSection-B0l6nYWu.js +12 -0
- package/documentation/CoinInfoCardSection-odhu-ChN.js +120 -0
- package/documentation/CoinListBoxSection-Cfy0WYOK.js +106 -0
- package/documentation/CoinListBoxSection-DQbdORng.js +24 -0
- package/{CollapseSection-CN8kEU1q.mjs → documentation/CollapseSection-1AyxKtyh.js} +20 -60
- package/documentation/CollapseSection-CI79e0rH.js +27 -0
- package/documentation/CollectionCardSection-DS1mZrSu.js +17 -0
- package/{collection-1-NeFANkbk.mjs → documentation/CollectionCardSection-DdwUntub.js} +58 -2
- package/documentation/CollectionSelectListSection-B4bgHz6F.js +15 -0
- package/documentation/CollectionSelectListSection-CqNEZLrW.js +120 -0
- package/documentation/ColorCustomizationSection-BmJzT1u1.js +1 -0
- package/{ColorCustomizationSection-D3XqLRTg.mjs → documentation/ColorCustomizationSection-DxKogmSF.js} +3 -3
- package/{ColorSystemSection-Bd5DQT9I.mjs → documentation/ColorSystemSection-Be6CJ_qR.js} +5 -5
- package/documentation/ColorSystemSection-ROEkhEeH.js +1 -0
- package/{CommonErrorsSection-zDPJ6FaL.mjs → documentation/CommonErrorsSection-5n2RFTOS.js} +1 -1
- package/documentation/CommonErrorsSection-C8GoonfY.js +1 -0
- package/{ComponentAnatomySection-CgEKcT_J.mjs → documentation/ComponentAnatomySection-BmlI14Nf.js} +3 -3
- package/documentation/ComponentAnatomySection-tEz92Ng-.js +1 -0
- package/{ComponentStatusSection-D2f_P7g7.mjs → documentation/ComponentStatusSection-DA70myqK.js} +1 -1
- package/documentation/ComponentStatusSection-DwwRcvEd.js +1 -0
- package/documentation/ComposedChartSection-CSasm_A4.js +21 -0
- package/documentation/ComposedChartSection-PRWReilC.js +113 -0
- package/documentation/CurrencySwapIconsSection-C6Og4TeP.js +50 -0
- package/documentation/CurrencySwapIconsSection-D-GhRHCi.js +7 -0
- package/{CustomColorPaletteSection-qptATYNr.js → documentation/CustomColorPaletteSection-DNgmPGoe.js} +1 -1
- package/{CustomColorPaletteSection-Dm0mCSjh.mjs → documentation/CustomColorPaletteSection-DUhhLGOU.js} +1 -1
- package/{CustomIconsSection-Bq0kNytf.mjs → documentation/CustomIconsSection-BCf8UN2c.js} +29 -29
- package/documentation/CustomIconsSection-DGn1HMN8.js +3 -0
- package/documentation/DefiAppLogoSection-CniFLoNx.js +36 -0
- package/{DefiAppLogoSection-CJDd6Q3u.mjs → documentation/DefiAppLogoSection-DjnvrP3j.js} +1 -1
- package/{DesignPrinciplesSection-BSGshMjS.mjs → documentation/DesignPrinciplesSection-C-qZ5KCo.js} +1 -1
- package/documentation/DesignPrinciplesSection-MeMVZ3ry.js +1 -0
- package/documentation/DrawerSection-9NhdERLz.js +41 -0
- package/documentation/DrawerSection-Cdhpw0Zp.js +158 -0
- package/{DynamicRoutesSection-SDAbSJi8.js → documentation/DynamicRoutesSection-BtECxWUj.js} +1 -1
- package/{DynamicRoutesSection-CCuRhQAn.mjs → documentation/DynamicRoutesSection-DAQlCst_.js} +1 -1
- package/documentation/FileInputSection-BWUvvvdy.js +65 -0
- package/{FileInputSection-CbkYToil.mjs → documentation/FileInputSection-z7_AAkz8.js} +1 -1
- package/{FileStructureSection-DbsBkIRn.mjs → documentation/FileStructureSection-Dsr2yojr.js} +1 -1
- package/{FileStructureSection-CRrFMVhl.js → documentation/FileStructureSection-lLqJHP56.js} +1 -1
- package/documentation/FormComponentsSection-BTYt0wTN.js +1 -0
- package/{FormComponentsSection-B4exCVCM.mjs → documentation/FormComponentsSection-CQ2sazLF.js} +1 -1
- package/{FormMethodsSection-Dt5MZUzm.js → documentation/FormMethodsSection-CAjYlJPM.js} +1 -1
- package/{FormMethodsSection-B9J5DYrQ.mjs → documentation/FormMethodsSection-Chx9tNa_.js} +1 -1
- package/documentation/HamburgerSection-CASzjAC6.js +99 -0
- package/documentation/HamburgerSection-UacK_FKv.js +18 -0
- package/documentation/HookCategoriesSection-C6-2BbvM.js +1 -0
- package/{HookCategoriesSection-Cyjqehnj.mjs → documentation/HookCategoriesSection-U7rN5EGL.js} +1 -1
- package/{HookDocumentationSection-D-c7nlX-.mjs → documentation/HookDocumentationSection-DIXoOh2V.js} +1 -1
- package/{HookDocumentationSection-C5ww47uY.js → documentation/HookDocumentationSection-HIifl_N4.js} +1 -1
- package/documentation/HookFeaturesSection-DNjNJYVR.js +1 -0
- package/{HookFeaturesSection-CupYAK3p.mjs → documentation/HookFeaturesSection-Dk27SI6j.js} +1 -1
- package/documentation/IconArchitectureSection-CcpjgUuZ.js +1 -0
- package/{IconArchitectureSection-s-4JhiKA.mjs → documentation/IconArchitectureSection-rTqgxU01.js} +1 -1
- package/{IconSizingGuideSection-DREOxtrp.mjs → documentation/IconSizingGuideSection-BAd6zU-Z.js} +1 -1
- package/documentation/IconSizingGuideSection-ir5Wu2LZ.js +1 -0
- package/{IconSystemAPISection-CaJf4Isu.mjs → documentation/IconSystemAPISection-BHp-ZXWb.js} +1 -1
- package/documentation/IconSystemAPISection-DjqSJX-n.js +1 -0
- package/documentation/IconSystemBenefitsSection-B6NiBLre.js +1 -0
- package/{IconSystemBenefitsSection-KOplDPHG.mjs → documentation/IconSystemBenefitsSection-B7zV2HaH.js} +1 -1
- package/documentation/ImageSection-DmMdByn7.js +509 -0
- package/documentation/ImageSection-aotN8Y5u.js +80 -0
- package/{ImplementationExamplesSection-De_Yc_g2.mjs → documentation/ImplementationExamplesSection-BJ0_Xcm2.js} +1 -1
- package/{ImplementationExamplesSection-CMVDBs9I.js → documentation/ImplementationExamplesSection-BLHthYw_.js} +1 -1
- package/{ImplementationGuidelinesSection-DToo7aHT.mjs → documentation/ImplementationGuidelinesSection-Ce47rAwZ.js} +1 -1
- package/documentation/ImplementationGuidelinesSection-DALPPZXc.js +1 -0
- package/{ImplementationStatusSection-DzA19XiV.mjs → documentation/ImplementationStatusSection-DuuoDSqC.js} +1 -1
- package/documentation/ImplementationStatusSection-Yio9MCtk.js +1 -0
- package/documentation/ImplementedFeaturesSection-CLNTmpD5.js +1 -0
- package/{ImplementedFeaturesSection-zsrQ6uaD.mjs → documentation/ImplementedFeaturesSection-DIxdEibl.js} +1 -1
- package/documentation/InfoCardSection-CJbU2q_-.js +37 -0
- package/documentation/InfoCardSection-CJfS4aKJ.js +266 -0
- package/documentation/InputSearcherSection-DJFKLySX.js +32 -0
- package/{InputSearcherSection-85Q8Pmz1.mjs → documentation/InputSearcherSection-dA4h9pbM.js} +20 -98
- package/documentation/InputSection-Bxr_GgjZ.js +37 -0
- package/documentation/InputSection-ov-x_YF3.js +159 -0
- package/documentation/KeyValueRowSection-BWen5IUr.js +104 -0
- package/documentation/KeyValueRowSection-yrhHBRqx.js +16 -0
- package/documentation/KeyboardNavigationSection-BGnlktrj.js +1 -0
- package/{KeyboardNavigationSection-TeJEhNAl.mjs → documentation/KeyboardNavigationSection-Cd0_tM_9.js} +1 -1
- package/{LayoutPrinciplesSection-JNkH11Gf.mjs → documentation/LayoutPrinciplesSection-BiLVZUWB.js} +1 -1
- package/documentation/LayoutPrinciplesSection-Cw3geSSU.js +1 -0
- package/{LayoutTypesSection-DOdsew0H.mjs → documentation/LayoutTypesSection-BmCcA7uZ.js} +1 -1
- package/documentation/LayoutTypesSection-JuEAJpD7.js +1 -0
- package/documentation/LineChartSection-Bh98x9zB.js +21 -0
- package/documentation/LineChartSection-DMwIu5-a.js +130 -0
- package/documentation/ListContainerSection-C2hLnnvb.js +125 -0
- package/documentation/ListContainerSection-CQmmUhTt.js +38 -0
- package/documentation/ListItemSection-DcGQ2O65.js +134 -0
- package/documentation/ListItemSection-DmnK0EWC.js +36 -0
- package/documentation/LiveDemoSection-D4tXR1dN.js +1 -0
- package/{LiveDemoSection-CS5HLe6l.mjs → documentation/LiveDemoSection-rJwhZCYb.js} +1 -1
- package/{LiveDemonstrationsSection-EYb11Zvv.mjs → documentation/LiveDemonstrationsSection-B3OoGiTI.js} +12 -12
- package/{LiveDemonstrationsSection-CP5aPXzg.js → documentation/LiveDemonstrationsSection-gPinOtv1.js} +1 -1
- package/documentation/LivePriceFeedSection-CD630ncd.js +20 -0
- package/documentation/LivePriceFeedSection-DSgN87uI.js +97 -0
- package/documentation/LoaderSection-C2o59OWq.js +22 -0
- package/documentation/LoaderSection-DZ1uAwdN.js +98 -0
- package/documentation/LogoSection-De8Ynlcs.js +100 -0
- package/{LogoSection-CiWXGv0N.mjs → documentation/LogoSection-dqbh0Im9.js} +59 -111
- package/{LucideIconsSection-tkVj8_2g.mjs → documentation/LucideIconsSection-BHzsnkdc.js} +2 -2
- package/documentation/LucideIconsSection-DxzfAVW8.js +1 -0
- package/{MFESupportSection-Dn9acP8Z.mjs → documentation/MFESupportSection-BWJEFrx0.js} +1 -1
- package/{MFESupportSection-aHdgyVxJ.js → documentation/MFESupportSection-Dcban-qc.js} +1 -1
- package/documentation/MenuItemsGuideSection-B7ns2eIP.js +126 -0
- package/{MenuItemsGuideSection-Bbcaz7Qq.mjs → documentation/MenuItemsGuideSection-CYAQbSyQ.js} +1 -1
- package/documentation/ModalSection-C-d_lAT8.js +29 -0
- package/documentation/ModalSection-C_lBwjnQ.js +116 -0
- package/documentation/NFTGridSection-CVtn_SUt.js +19 -0
- package/documentation/NFTGridSection-CsWKHw44.js +117 -0
- package/{NestedRoutesSection-BA_BhCRx.mjs → documentation/NestedRoutesSection-D_bbd0JG.js} +1 -1
- package/{NestedRoutesSection-C8EbKdrd.js → documentation/NestedRoutesSection-pTexdauI.js} +1 -1
- package/documentation/NotificationCardSection-D3UIXmC_.js +28 -0
- package/documentation/NotificationCardSection-DsLRL50j.js +122 -0
- package/documentation/PaginationSection-BXaYbNh1.js +122 -0
- package/documentation/PaginationSection-C2bSDt2F.js +18 -0
- package/documentation/PanelActionCardSection-BDm3oVes.js +28 -0
- package/documentation/PanelActionCardSection-CYJfjVtG.js +106 -0
- package/{PanelCardSection-B871bX17.mjs → documentation/PanelCardSection-NTEJHr8b.js} +14 -48
- package/documentation/PanelCardSection-Z2RQUWyn.js +15 -0
- package/documentation/ParamTabSection-DHux5HXO.js +92 -0
- package/{ParamTabSection-CDuKVp-d.mjs → documentation/ParamTabSection-guQ8aCfG.js} +105 -145
- package/documentation/PieChartSection-Ctpv_sQm.js +91 -0
- package/documentation/PieChartSection-DCd5rWoT.js +19 -0
- package/{PinCodeSection-DIDL-bKc.mjs → documentation/PinCodeSection-BD-IvqDl.js} +8 -104
- package/documentation/PinCodeSection-BT8N9C8F.js +22 -0
- package/documentation/ProgressbarSection-0k92jI5-.js +21 -0
- package/documentation/ProgressbarSection-B_IkBplz.js +144 -0
- package/documentation/RadarChartSection-rlh1Mx6y.js +114 -0
- package/documentation/RadarChartSection-xtNri81K.js +21 -0
- package/documentation/RadioGroupSection-B6Lb9DJI.js +27 -0
- package/documentation/RadioGroupSection-DTXIBYvs.js +192 -0
- package/documentation/RadioSection-BsXiDZ98.js +130 -0
- package/documentation/RadioSection-C1GS5cuC.js +23 -0
- package/{RevealContentSection-BtBQGgOW.mjs → documentation/RevealContentSection-BAIqcjgW.js} +26 -54
- package/documentation/RevealContentSection-DzAyW5_3.js +21 -0
- package/{RouteConfigurationSection-B9FbX-yc.mjs → documentation/RouteConfigurationSection-BJJSsQGy.js} +1 -1
- package/{RouteConfigurationSection-BjLpTMvZ.js → documentation/RouteConfigurationSection-CjEKyhcb.js} +1 -1
- package/{ScrollToTopSection-CCUPxMPa.mjs → documentation/ScrollToTopSection-DkTL1Uzw.js} +44 -95
- package/documentation/ScrollToTopSection-Dpp5zKo8.js +36 -0
- package/documentation/ScrollbarSection-DBb7xv-n.js +105 -0
- package/documentation/ScrollbarSection-DgWHzwSj.js +29 -0
- package/documentation/SelectSection-CFCIpkk9.js +242 -0
- package/documentation/SelectSection-riGB2r-n.js +39 -0
- package/{SettingsPanelSection-B37qv2jK.mjs → documentation/SettingsPanelSection-8GHz0Skb.js} +2 -2
- package/documentation/SettingsPanelSection-BwGt_yfC.js +1 -0
- package/documentation/ShadowsSection-DA19Spgp.js +1 -0
- package/{ShadowsSection-C3DcBcY5.mjs → documentation/ShadowsSection-atJzmD4a.js} +1 -1
- package/documentation/SidebarMenuSection-BTDUb7C_.js +46 -0
- package/{SidebarMenuSection-Cl_wfXqr.mjs → documentation/SidebarMenuSection-DKQOSTpx.js} +9 -69
- package/documentation/SidebarSection-BsCGHss5.js +62 -0
- package/documentation/SidebarSection-CC2ftWvz.js +25 -0
- package/{SizingSection-Vvs1NCZz.mjs → documentation/SizingSection-DuGndhns.js} +1 -1
- package/documentation/SizingSection-Mtr72tp-.js +1 -0
- package/documentation/SkeletonSection-By7tCQ4L.js +52 -0
- package/documentation/SkeletonSection-DvTIosHm.js +204 -0
- package/{SpacingSystemSection-C_0ZSDNk.mjs → documentation/SpacingSystemSection-DJY3DtA0.js} +1 -1
- package/documentation/SpacingSystemSection-W21eHPxd.js +1 -0
- package/{SpinnerSection-DxoqjAzp.mjs → documentation/SpinnerSection-CxqETXkr.js} +18 -45
- package/documentation/SpinnerSection-DM6XfYNN.js +17 -0
- package/{StandaloneAppSection-KTxvQkdo.js → documentation/StandaloneAppSection-B0E2-lHr.js} +1 -1
- package/{StandaloneAppSection-BwwRlqWj.mjs → documentation/StandaloneAppSection-mSP8bRjv.js} +1 -1
- package/documentation/StepperSection-CXs-4m-g.js +146 -0
- package/documentation/StepperSection-DzQ4ZWqb.js +28 -0
- package/documentation/SwitchSection-ComDj4vK.js +152 -0
- package/documentation/SwitchSection-Cw1p4RAV.js +20 -0
- package/documentation/SystemOverviewSection-CB4XUjya.js +1 -0
- package/{SystemOverviewSection-D3W_SpON.mjs → documentation/SystemOverviewSection-DcC2nzWM.js} +1 -1
- package/documentation/TabModalSection-D5DxXCPA.js +51 -0
- package/documentation/TabModalSection-D7kjNL_j.js +160 -0
- package/documentation/TabSection-CLig02Jq.js +84 -0
- package/{TabSection-Vjm9QogR.mjs → documentation/TabSection-L8vvzdZq.js} +82 -142
- package/{TabSelectSection-DKuGHY6b.mjs → documentation/TabSelectSection-C3uSu4Tb.js} +41 -69
- package/documentation/TabSelectSection-DovVypr5.js +100 -0
- package/documentation/TailwindConfigSection-Cae-h3MW.js +19 -0
- package/{TailwindConfigSection-BH8ioMgX.mjs → documentation/TailwindConfigSection-DhBuW-uS.js} +1 -1
- package/{TestingSection-BKbTYqsd.mjs → documentation/TestingSection-Bv6OBqHc.js} +1 -1
- package/documentation/TestingSection-D76WU2E_.js +12 -0
- package/documentation/TextareaSection-BAc73Q3K.js +21 -0
- package/{TextareaSection-COE_iT0W.mjs → documentation/TextareaSection-BXDH8mQI.js} +27 -105
- package/{ThemeArchitectureSection-D8dWZO_Q.mjs → documentation/ThemeArchitectureSection-DEqHdCLa.js} +1 -1
- package/documentation/ThemeArchitectureSection-DFcj4Sf9.js +1 -0
- package/documentation/ThemeConfigurationSection-CmD-wjGZ.js +1 -0
- package/{ThemeConfigurationSection-eifonrlB.mjs → documentation/ThemeConfigurationSection-D299ICxo.js} +1 -1
- package/documentation/ThemeHooksSection-DOm5a7FR.js +1 -0
- package/{ThemeHooksSection-BYmhg3xO.mjs → documentation/ThemeHooksSection-DsAsY2qd.js} +1 -1
- package/{ThemeProviderIntegrationSection-DCnGD4F4.mjs → documentation/ThemeProviderIntegrationSection-1aykNRXQ.js} +1 -1
- package/{ThemeProviderIntegrationSection-YpM0GKJx.js → documentation/ThemeProviderIntegrationSection-D9xmfEve.js} +1 -1
- package/documentation/ThemeProviderRequiredSection-DfNXhp3f.js +1 -0
- package/{ThemeProviderRequiredSection-zYv4GrBp.mjs → documentation/ThemeProviderRequiredSection-sViX_FO7.js} +1 -1
- package/{ThemeProviderSection-CG6ROKoP.mjs → documentation/ThemeProviderSection-BFtuOM3w.js} +1 -1
- package/documentation/ThemeProviderSection-CT5hlFD2.js +1 -0
- package/documentation/ToastSection-DD18GmJl.js +37 -0
- package/{ToastSection-C0_N6VoS.mjs → documentation/ToastSection-DoHzysF9.js} +8 -8
- package/documentation/ToggleBarSection-BpxFr9W6.js +37 -0
- package/documentation/ToggleBarSection-D3BYm7ZV.js +127 -0
- package/documentation/TooltipSection-5th4KA-K.js +186 -0
- package/documentation/TooltipSection-BeW0mvEG.js +62 -0
- package/documentation/TopupButtonSection-C419_R5w.js +24 -0
- package/documentation/TopupButtonSection-Cw92WCuk.js +100 -0
- package/documentation/TransactionInfoSection-CF0j2oxc.js +16 -0
- package/documentation/TransactionInfoSection-cKwmQpgL.js +65 -0
- package/documentation/TucuUiLogoSection-BuasEv--.js +26 -0
- package/{TucuUiLogoSection-DKvsi70K.mjs → documentation/TucuUiLogoSection-NYK0oUdj.js} +18 -51
- package/documentation/TypographySection-02IMtWN4.js +144 -0
- package/{TypographySection-BOk8SfCz.mjs → documentation/TypographySection-CjGIv22g.js} +1 -1
- package/documentation/TypographySection-CpjtNAfZ.js +32 -0
- package/documentation/TypographySection-uhboa1b_.js +1 -0
- package/{UsageExamplesSection-JpH1ZsJd.mjs → documentation/UsageExamplesSection-BO_K1AHD.js} +1 -1
- package/{UsageExamplesSection-relnO7-Z.js → documentation/UsageExamplesSection-BmWz_idr.js} +1 -1
- package/{UsingThemeSystemSection-BJuOT6-w.mjs → documentation/UsingThemeSystemSection-Dd8ZQrUl.js} +1 -1
- package/{UsingThemeSystemSection-B2fO1JsG.js → documentation/UsingThemeSystemSection-bYxrH_-c.js} +1 -1
- package/{ValidationSystemSection-CjHwm2jX.js → documentation/ValidationSystemSection-CBfiMPsL.js} +1 -1
- package/{ValidationSystemSection-DE2P4pwz.mjs → documentation/ValidationSystemSection-Cvyf6j2T.js} +1 -1
- package/documentation/WCAGPrinciplesSection-DAOi68Jt.js +1 -0
- package/{WCAGPrinciplesSection-DtgaO2Ff.mjs → documentation/WCAGPrinciplesSection-DmeJUV8c.js} +1 -1
- package/hooks/use-scrollable-slider.d.ts +3 -3
- package/{index-HwvOEWI7.mjs → index-B6CStnMG.js} +48825 -34212
- package/index-QnI4b7wS.js +1137 -0
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +346 -322
- package/package.json +3 -9
- package/themes/hooks/use-theme.d.ts +12 -56
- package/themes/router/components/standalone-app-routes-provider.d.ts +2 -0
- package/APIReferenceSection-DF3LCCD1.js +0 -1
- package/ActiveLinkSection-C2PP3Dyu.js +0 -22
- package/ActiveLinkSection-Dzpmkfhm.mjs +0 -120
- package/AdvancedColorSystemSection-8NfaB6r1.js +0 -17
- package/AdvancedFeaturesSection-DPK2To5I.js +0 -1
- package/AdvancedFeaturesSection-De9GDStL.js +0 -1
- package/AnchorLinkSection-BTuB_YBa.js +0 -19
- package/AnchorLinkSection-CCkTECg0.mjs +0 -94
- package/ArchitecturalPatternsComparisonSection-B5COBP19.js +0 -31
- package/ArchitectureOverviewSection-BQKgZIBU.js +0 -1
- package/AuthorCardSection-C0dYJSA1.js +0 -17
- package/AuthorCardSection-CG40iNxW.mjs +0 -110
- package/AvatarSection-BTMM6CPN.mjs +0 -137
- package/AvatarSection-MnUb7ZXH.js +0 -18
- package/BadgeSection-5feW_z0m.js +0 -48
- package/BasicTableSection-ej1eiWQz.mjs +0 -169
- package/BasicTableSection-xPn-5tii.js +0 -35
- package/BestPracticesSection-BHWoZvr5.js +0 -1
- package/BestPracticesSection-BT37TMGe.js +0 -1
- package/BestPracticesSection-BuqjVn61.js +0 -1
- package/BestPracticesSection-BwQfJOxT.js +0 -1
- package/BestPracticesSection-CqQDeICs.js +0 -1
- package/BestPracticesSection-DWslPqP2.js +0 -1
- package/BestPracticesSection-Dq3ZfFtY.js +0 -1
- package/BorderRadiusSection-D4aIov-Q.js +0 -1
- package/ButtonDripSection-B2OYDs-g.mjs +0 -99
- package/ButtonDripSection-BP9_mXYh.js +0 -12
- package/ButtonLoaderSection-7LI8Ipla.js +0 -30
- package/CardContainerSection-B0PngoTv.js +0 -21
- package/CardContainerSection-BR0nQ-m-.mjs +0 -99
- package/CardTitleSection-BwS-h9Sv.js +0 -19
- package/CardTitleSection-DmdscTs-.mjs +0 -113
- package/CarouselCardsSection-CiwhRtT2.mjs +0 -207
- package/CarouselCardsSection-DIAqv3av.js +0 -37
- package/CarouselImageSection-B-ErH8F4.js +0 -38
- package/CarouselImageSection-CjLoZibg.mjs +0 -218
- package/CarouselSection-CB52BRrB.js +0 -24
- package/CarouselSection-DTkAozR4.mjs +0 -159
- package/CheckboxSection-BqVq2KM2.js +0 -26
- package/CoinCardSection-B-Ge5sAn.js +0 -13
- package/CoinInfoCardSection-C31PQ3bp.js +0 -12
- package/CoinInfoCardSection-qFJPBj7d.mjs +0 -174
- package/CoinListBoxSection-CM2hUpHv.js +0 -24
- package/CoinListBoxSection-Dhzn_GpU.mjs +0 -219
- package/CollapseSection-BNmmPgyq.js +0 -27
- package/CollectionCardSection-BUnxheYB.mjs +0 -103
- package/CollectionCardSection-CDX3K_hS.js +0 -17
- package/CollectionSelectListSection-BBhwVYHo.mjs +0 -102
- package/CollectionSelectListSection-CDi6hp8v.js +0 -14
- package/ColorCustomizationSection-B-bUSAJ0.js +0 -1
- package/ColorSystemSection-K2zgxmJy.js +0 -1
- package/CommonErrorsSection-BrMGAma1.js +0 -1
- package/ComponentAnatomySection-DbaNcJeJ.js +0 -1
- package/ComponentStatusSection-zM1sy0yl.js +0 -1
- package/CurrencySwapIconsSection-B8dwSBG9.js +0 -7
- package/CurrencySwapIconsSection-BzuK85V_.mjs +0 -92
- package/CustomIconsSection-C8eB4pR6.js +0 -3
- package/DefiAppLogoSection-Drk-a_Ma.js +0 -36
- package/DesignPrinciplesSection-DdxTvVbZ.js +0 -1
- package/DrawerSection-BxPeS4m6.js +0 -41
- package/DrawerSection-DjS8SGBf.mjs +0 -188
- package/FileInputSection-BQXToQMH.js +0 -65
- package/FormComponentsSection-_y9uIqWT.js +0 -1
- package/HamburgerSection-CddGkkvx.js +0 -18
- package/HamburgerSection-v1NZnz0U.mjs +0 -108
- package/HookCategoriesSection-DKqqeSQ9.js +0 -1
- package/HookFeaturesSection-CJa84RjB.js +0 -1
- package/IconArchitectureSection-VZ0XfWpq.js +0 -1
- package/IconSizingGuideSection-BRM-oiM5.js +0 -1
- package/IconSystemAPISection-DzCBJPL0.js +0 -1
- package/IconSystemBenefitsSection-CDX-jXus.js +0 -1
- package/ImageSection-B8kYkUY-.mjs +0 -612
- package/ImageSection-CW01AmUK.js +0 -80
- package/ImplementationGuidelinesSection-CrmCO0ar.js +0 -1
- package/ImplementationStatusSection-BzZZNjVN.js +0 -1
- package/ImplementedFeaturesSection-C8ZcF-n1.js +0 -1
- package/InputSearcherSection-Cz_TpQw_.js +0 -32
- package/InputSection-DMpbHqfq.mjs +0 -265
- package/InputSection-DY5rY39C.js +0 -37
- package/KeyboardNavigationSection-BR-828Id.js +0 -1
- package/LayoutPrinciplesSection-DZPMQ6js.js +0 -1
- package/LayoutTypesSection-BKj6ULJR.js +0 -1
- package/ListContainerSection-D6JcQxtm.mjs +0 -191
- package/ListContainerSection-fLuB70GD.js +0 -38
- package/ListItemSection-C9RJbdyS.mjs +0 -191
- package/ListItemSection-C__vIdDy.js +0 -36
- package/LiveDemoSection-B1LQT5SO.js +0 -1
- package/LivePriceFeedSection-BcGUAKqZ.js +0 -20
- package/LivePriceFeedSection-BxqCzUcr.mjs +0 -187
- package/LoaderSection-D67mOHL-.mjs +0 -143
- package/LoaderSection-DSK6opoR.js +0 -22
- package/LogoSection-C8vr1igX.js +0 -100
- package/LucideIconsSection-BPElcsAJ.js +0 -1
- package/MenuItemsGuideSection-C7bXy-ZF.js +0 -126
- package/ModalSection-BMri9S17.js +0 -29
- package/ModalSection-C8SbNNiU.mjs +0 -158
- package/NFTGridSection-DuyG1cAr.js +0 -11
- package/NFTGridSection-SVR5jWEu.mjs +0 -122
- package/NotificationCardSection-PmY-KH6P.js +0 -28
- package/NotificationCardSection-roBjfTMH.mjs +0 -153
- package/PanelActionCardSection-De2IwJLg.js +0 -28
- package/PanelActionCardSection-Gg3BzbkY.mjs +0 -138
- package/PanelCardSection-D2CZs3aF.js +0 -15
- package/ParamTabSection-Cr8IrxB2.js +0 -92
- package/PinCodeSection-DB-gWXLA.js +0 -22
- package/ProgressbarSection-C5t1kBbY.js +0 -21
- package/ProgressbarSection-DYuWxDLA.mjs +0 -195
- package/RadioGroupSection-CJksjBGG.mjs +0 -288
- package/RadioGroupSection-CiKWrbD_.js +0 -27
- package/RadioSection-BDBXfHoi.mjs +0 -208
- package/RadioSection-COMubSGY.js +0 -23
- package/RevealContentSection-BEkgR-zt.js +0 -21
- package/ScrollToTopSection-Dedqd6br.js +0 -36
- package/ScrollbarSection-D18rm1b8.mjs +0 -146
- package/ScrollbarSection-DHxP5lpp.js +0 -29
- package/SelectSection-3wmWG-An.js +0 -20
- package/SelectSection-urzkAM8s.mjs +0 -275
- package/SettingsPanelSection-C9XctGHU.js +0 -1
- package/ShadowsSection-CUPbact4.js +0 -1
- package/SidebarMenuSection-C2RKvKxs.js +0 -46
- package/SidebarSection-D0TPtJDX.mjs +0 -122
- package/SidebarSection-DJryxLPX.js +0 -25
- package/SizingSection-B0vpzcav.js +0 -1
- package/SkeletonSection-BkDHHL5z.mjs +0 -259
- package/SkeletonSection-kVHtbqxx.js +0 -52
- package/SpacingSystemSection-CXC18NNv.js +0 -1
- package/SpinnerSection-CM21SX2O.js +0 -17
- package/SwitchSection-BAjoJW0o.mjs +0 -230
- package/SwitchSection-CJE0OQIF.js +0 -20
- package/SystemOverviewSection-CtSNQNxN.js +0 -1
- package/TabSection-Zh4ojYBN.js +0 -84
- package/TabSelectSection-BxcR0V5f.js +0 -100
- package/TailwindConfigSection-flFiObUb.js +0 -19
- package/TestingSection-B_VmIqDt.js +0 -12
- package/TextareaSection-L4Iz1VBt.js +0 -21
- package/ThemeArchitectureSection-BIyvDIpO.js +0 -1
- package/ThemeConfigurationSection-CyGtw0pJ.js +0 -1
- package/ThemeHooksSection-CLtiAo9Q.js +0 -1
- package/ThemeProviderRequiredSection-DUgte7Zx.js +0 -1
- package/ThemeProviderSection-CzyXAnLZ.js +0 -1
- package/ToastSection-8CptTtXd.js +0 -37
- package/ToggleBarSection-B5Twh8vM.mjs +0 -187
- package/ToggleBarSection-DB11j5rL.js +0 -37
- package/TopupButtonSection-CDh_iG83.js +0 -24
- package/TopupButtonSection-xr9SjnVl.mjs +0 -145
- package/TransactionInfoSection-DNX6oC4R.js +0 -16
- package/TransactionInfoSection-qS4JzmkY.mjs +0 -113
- package/TucuUiLogoSection-BRCr-qmP.js +0 -26
- package/TypographySection-C1AxP9j_.mjs +0 -129
- package/TypographySection-CvRzp8kB.js +0 -1
- package/TypographySection-DCE6bcqs.js +0 -24
- package/WCAGPrinciplesSection-BIHuGKLI.js +0 -1
- package/collection-1-BIsLOX9N.js +0 -1
- package/index-BOfUOCHe.js +0 -920
- package/storybook/components/StoryContainer.d.ts +0 -6
- package/storybook/components/pages/Accessibility.d.ts +0 -1
- package/storybook/components/pages/Introduction.d.ts +0 -1
- package/storybook/hooks/useDummy.d.ts +0 -34
- /package/{1-Df9CGZha.mjs → 1-Df9CGZha.js} +0 -0
- /package/{tether-DaYvmdAU.mjs → tether-DaYvmdAU.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,195 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.0.4] - 2026-05-06
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Charts System**: Complete chart module built on Recharts 3.8.1 with 6 chart components
|
|
13
|
+
- `BarChart`: Vertical/horizontal bar charts with stacked mode, configurable bar radius and gap
|
|
14
|
+
- `LineChart`: Line charts with curved/straight lines, dot markers, configurable stroke width
|
|
15
|
+
- `AreaChart`: Area charts with gradient fill, stacked mode, curved/flat options
|
|
16
|
+
- `PieChart`: Pie/donut charts with labels, inner content support, and customizable colors
|
|
17
|
+
- `RadarChart`: Radar/spider charts for multi-variable comparisons with configurable fill opacity
|
|
18
|
+
- `ComposedChart`: Mixed chart combining bar, line, and area series in a single visualization
|
|
19
|
+
- Shared infrastructure: `ChartContainer`, `ChartTooltip`, `ChartEmptyState`, `useChartTheme` hook
|
|
20
|
+
- Full dark mode support with automatic theme-aware color palettes
|
|
21
|
+
- TypeScript interfaces: `ChartSeries`, `ComposedChartSeries`, `ChartDataItem`
|
|
22
|
+
- **Card Component**: New flexible card component with title, description, icon, header, footer, and actions slots
|
|
23
|
+
- **InfoCard Component**: Multi-column info card with grouped key-value data, accent colors, and tooltip support
|
|
24
|
+
- **KeyValueRow Component**: Compact label-value display with mono and accent styling options
|
|
25
|
+
- **Pagination Component**: Page navigation with configurable window size and chevron controls
|
|
26
|
+
- **Stepper Component**: Step progress indicator with icons, labels, and step change callbacks
|
|
27
|
+
- **TabModal Component**: Tabbed modal dialog with sidebar navigation, mobile-responsive dropdown, and portal rendering
|
|
28
|
+
- **Charts Documentation Page**: Full interactive demo with 6 chart sections including PropPlayground and AutoPropsTable
|
|
29
|
+
- **New Demo Sections**: CardSection, InfoCardSection, KeyValueRowSection, PaginationSection, StepperSection, TabModalSection
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- **Tab Component**: Complete rewrite without `@headlessui/react`
|
|
34
|
+
- Removed dependency on HeadlessUI `TabGroup`, `TabList`, `TabPanel`, `TabPanels`
|
|
35
|
+
- Implemented custom tab system using React context, `useId`, and keyboard navigation
|
|
36
|
+
- Added ARIA roles (`tablist`, `tab`, `tabpanel`) with proper `aria-selected` and `aria-controls`
|
|
37
|
+
- Full keyboard navigation (Arrow Left/Right, Home, End)
|
|
38
|
+
- Maintained Framer Motion `LayoutGroup` animations
|
|
39
|
+
- Portal rendering for mobile dropdown
|
|
40
|
+
- **TabSelect Component**: Complete rewrite without `@headlessui/react`
|
|
41
|
+
- Removed HeadlessUI dependency
|
|
42
|
+
- Implemented portal-based dropdown with dynamic positioning
|
|
43
|
+
- Added keyboard navigation (Arrow Up/Down, Enter, Escape)
|
|
44
|
+
- Added close animation state management
|
|
45
|
+
- Improved highlight tracking and ARIA attributes
|
|
46
|
+
- **ToggleBar Component**: Rewritten without `@headlessui/react` Switch
|
|
47
|
+
- Replaced HeadlessUI `Switch` with native `<button role="switch">` element
|
|
48
|
+
- Added `aria-checked` attribute and proper focus-visible ring
|
|
49
|
+
- Maintained same visual appearance and transitions
|
|
50
|
+
- **InputSearcher Component**: Complete rewrite without `@headlessui/react`
|
|
51
|
+
- Removed HeadlessUI `Transition` component
|
|
52
|
+
- Implemented portal-based dropdown with `createPortal`
|
|
53
|
+
- Added full keyboard navigation and proper TypeScript interface
|
|
54
|
+
- Enhanced filtering with `useMemo` and memoized callbacks
|
|
55
|
+
- **CoinListBox Component**: Complete rewrite without `@headlessui/react`
|
|
56
|
+
- Removed HeadlessUI `Listbox` and `Transition` components
|
|
57
|
+
- Implemented custom listbox with `createPortal` for dropdown
|
|
58
|
+
- Added keyboard navigation and ARIA compliance
|
|
59
|
+
- **CollectionSelectList Component**: Refactored with new search/filter UI
|
|
60
|
+
- Replaced custom search icon with Lucide `Search` and `X` icons
|
|
61
|
+
- Integrated `Scrollbar` component for list scrolling
|
|
62
|
+
- **Select Component**: Enhanced with search and clear icons from `lucide-react`
|
|
63
|
+
- **Scrollbar Component**: Improved overflow handling
|
|
64
|
+
- Added `max-h-[inherit]` for proper nested height inheritance
|
|
65
|
+
- Simplified overflow management with inline style
|
|
66
|
+
- Improved timeout cleanup with null checks
|
|
67
|
+
- **ScrollToTop Component**: Enhanced with new props
|
|
68
|
+
- New `behavior` prop (`'smooth' | 'instant'`) for scroll animation control
|
|
69
|
+
- Improved position prop documentation (CSS values instead of Tailwind classes)
|
|
70
|
+
- Better internal memoization with `useCallback` and `useRef`
|
|
71
|
+
- **Image Component**: Improved loading and error handling
|
|
72
|
+
- Added cached image detection using `requestAnimationFrame` + `naturalWidth` check
|
|
73
|
+
- Added fallback loop prevention (won't retry if fallback also fails)
|
|
74
|
+
- Better dimension normalization for numeric strings
|
|
75
|
+
- **BasicTable Component**: Minor styling improvements
|
|
76
|
+
- **HorizontalNavMenu**: Layout adjustments
|
|
77
|
+
- **SettingsDrawer**: Styling improvements (~116 lines changed)
|
|
78
|
+
- **globals.css**: Expanded color token system with new color scale mappings
|
|
79
|
+
- **Props Metadata**: Regenerated to include all new components (charts, cards, common utilities)
|
|
80
|
+
- **Recharts**: Upgraded from `3.0.0` to `3.8.1`
|
|
81
|
+
- **React Types**: Upgraded `@types/react` to `^19.2.14` and `@types/react-dom` to `^19.2.3`
|
|
82
|
+
|
|
83
|
+
### Removed
|
|
84
|
+
|
|
85
|
+
- **`@headlessui/react` Dependency**: Completely removed from the library
|
|
86
|
+
- All components previously depending on HeadlessUI have been rewritten with native React
|
|
87
|
+
- Affected components: Tab, TabSelect, ToggleBar, InputSearcher, CoinListBox
|
|
88
|
+
- Reduces bundle size and eliminates external UI dependency
|
|
89
|
+
- All functionality maintained with custom implementations
|
|
90
|
+
|
|
91
|
+
### Fixed
|
|
92
|
+
|
|
93
|
+
- **Charts TooltipContentProps**: Fixed TypeScript error with Recharts 3.x by wrapping with `Partial<>`
|
|
94
|
+
- **Charts Focus Ring**: Removed unwanted focus outlines on chart interactions
|
|
95
|
+
- Disabled `accessibilityLayer` on chart containers
|
|
96
|
+
- Applied `tabIndex={-1}` and `outline: none` styles
|
|
97
|
+
- Added CSS `ring-0` and `[&_*]:outline-none` to `ChartContainer`
|
|
98
|
+
- **Scrollbar Native**: Removed unused scrollbar-native component (8 lines)
|
|
99
|
+
- **Image Component**: Fixed infinite fallback loop when both src and fallback fail
|
|
100
|
+
- **PropPlayground**: Minor adjustments for chart component integration
|
|
101
|
+
|
|
102
|
+
### Documentation
|
|
103
|
+
|
|
104
|
+
- **Charts Components Page**: New full documentation page with 6 chart sections
|
|
105
|
+
- Each section includes multiple demo cards with different configurations
|
|
106
|
+
- CodeBlock usage examples for each chart type
|
|
107
|
+
- PropPlayground for interactive prop manipulation
|
|
108
|
+
- AutoPropsTable for auto-generated API reference
|
|
109
|
+
- **New UI Component Sections**: Card, InfoCard, KeyValueRow, Pagination, Stepper, TabModal
|
|
110
|
+
- **Updated Props Registry**: All new components registered with complete prop metadata
|
|
111
|
+
|
|
112
|
+
## [2.0.3] - 2026-02-25
|
|
113
|
+
|
|
114
|
+
### Added
|
|
115
|
+
|
|
116
|
+
- **Tooltip Component**: New reusable `Tooltip` component exported from `common/index.ts`
|
|
117
|
+
- Supports `TooltipPlacement` and `TooltipColor` types
|
|
118
|
+
- Natively integrated in `Button` and `Typography` components
|
|
119
|
+
- **Button Tooltip Integration**: Enhanced `Button` component with built-in tooltip support
|
|
120
|
+
- `tooltip` prop now accepts `React.ReactNode` (previously `string`)
|
|
121
|
+
- New props: `tooltipPlacement`, `tooltipColor`, `tooltipArrow`
|
|
122
|
+
- Replaced manual hover state tooltip with `Tooltip` component
|
|
123
|
+
- **Typography Tooltip Integration**: Added native tooltip support to `Typography` component
|
|
124
|
+
- New props: `tooltip`, `tooltipPlacement`, `tooltipColor`, `tooltipArrow`
|
|
125
|
+
- Wraps element in `Tooltip` component when tooltip prop is provided
|
|
126
|
+
- **Nested Routes Support**: New `enableNestedRoutes` prop in `StandaloneAppRoutesMenuItem`
|
|
127
|
+
- When `true`, appends `/*` to the route path for internal sub-route support
|
|
128
|
+
- **TableOfContents Navigation Mode**: New props in `TableOfContents` component
|
|
129
|
+
- `navigationMode` prop (`'anchor' | 'route'`) for route-based navigation
|
|
130
|
+
- `activeSectionId` prop for active category auto-expansion
|
|
131
|
+
- **Vitest**: Migrated testing framework from Jest to Vitest (`@nx/vitest`)
|
|
132
|
+
- **Props Generation Script**: New `generate-props` script using `react-docgen-typescript`
|
|
133
|
+
|
|
134
|
+
### Changed
|
|
135
|
+
|
|
136
|
+
- **useTheme Hook**: Major refactoring of the Zustand store
|
|
137
|
+
- Introduced `defaultPresets` and `defaultState` as single source of truth
|
|
138
|
+
- Created generic `Setters<T>` type for auto-generated setter types
|
|
139
|
+
- New `IThemeState` interface (values only) separated from `ITheme` (state + setters + actions)
|
|
140
|
+
- `createSetters()` function dynamically generates ~19 setters (eliminates ~60 lines of boilerplate)
|
|
141
|
+
- `restoreDefaultColors` uses `defaultPresets` instead of duplicating values
|
|
142
|
+
- `partialize` now filters functions generically instead of listing each key manually
|
|
143
|
+
- **ThemeWrapper Component**: Major refactoring (~255→70 lines of logic)
|
|
144
|
+
- Introduced `PALETTE_MAP` and `resolveColor()` helper to eliminate 12 repetitive if/else blocks
|
|
145
|
+
- Theme initialization with a single `useTheme.setState()` instead of multiple callbacks
|
|
146
|
+
- Custom palette colors applied in a single `setState` batch instead of 12 individual setter calls
|
|
147
|
+
- Dark/light mode toggle with `classList.toggle()` instead of `remove()`+`add()`
|
|
148
|
+
- Menu items memoized with `useMemo`
|
|
149
|
+
- **SettingsDrawer Component**: Major refactoring
|
|
150
|
+
- New `COLOR_CONFIG` record as single source of truth for 12 color types
|
|
151
|
+
- `ColorSwitcher` simplified: uses dynamic Zustand selectors instead of destructuring entire store
|
|
152
|
+
- ColorSwitchers rendered with `.map()` instead of 12 hardcoded instances
|
|
153
|
+
- Migrated arbitrary CSS values (`[70px]`, `[12px]`, `[32px]`) to standard Tailwind classes
|
|
154
|
+
- **Select Component**: Refactored controlled state synchronization
|
|
155
|
+
- Immediate state initialization from `value` prop (avoids React "uncontrolled to controlled" warning)
|
|
156
|
+
- Removed `setTimeout(100ms)` hack for state sync
|
|
157
|
+
- Extracted `resolveOption()` helper
|
|
158
|
+
- **RadioGroup Component**: Removed `setTimeout(100ms)` in controlled `value` synchronization
|
|
159
|
+
- `setSelectedValue` is now called directly in `useEffect`
|
|
160
|
+
- **FormField Component**: Added `field.value` normalization
|
|
161
|
+
- Checkboxes/radios normalized to `!!field.value`
|
|
162
|
+
- Other fields normalized to `field.value ?? ''`
|
|
163
|
+
- Select `value` normalized with `?? ''`
|
|
164
|
+
- **Nx & Toolchain**: Upgraded from Nx 21.6.3 → 22.5.2
|
|
165
|
+
- Updated `@swc/core`, `@swc/cli`, `@swc/helpers`, `@swc-node/register`
|
|
166
|
+
- Added `"type": "module"` to root `package.json`
|
|
167
|
+
- **tsconfig.lib.json**: Include pattern changed from specific path to generic glob `src/**/*.tsx?raw`
|
|
168
|
+
|
|
169
|
+
### Removed
|
|
170
|
+
|
|
171
|
+
- **Storybook**: Completely removed Storybook and all related files
|
|
172
|
+
- Removed `.storybook/` configuration directory
|
|
173
|
+
- Removed all 76 story files (~15,297 lines)
|
|
174
|
+
- Removed `StoryContainer`, internal pages (Introduction, Accessibility), and `useDummy` hook
|
|
175
|
+
- Demo app now serves as the interactive documentation
|
|
176
|
+
- **Storybook Dependencies**: Removed `storybook`, `@storybook/addon-docs`, `@storybook/builder-vite`, `@storybook/react-vite`, `@chromatic-com/storybook`, `@chromatic-com/turbosnap-helper`, `eslint-plugin-storybook`, `remark-gfm`
|
|
177
|
+
- **Jest Dependencies**: Removed `jest`, `jest-environment-jsdom`, `jest-util`, `ts-jest`, `babel-jest`, `@types/jest`, `@nx/jest`
|
|
178
|
+
- **Storybook Scripts**: Removed `storybook`, `build-storybook`, `publish-storybook`, `serve-storybook`, `chromatic`, `storybook-doctor` scripts
|
|
179
|
+
|
|
180
|
+
### Fixed
|
|
181
|
+
|
|
182
|
+
- **Select Component**: Fixed initial render without visible selection when used with `react-hook-form`
|
|
183
|
+
- State now initializes immediately from `value` prop instead of delayed `setTimeout`
|
|
184
|
+
- **RadioGroup Component**: Fixed state sync race conditions by removing `setTimeout` hack
|
|
185
|
+
- **FormField Component**: Fixed React "uncontrolled to controlled" warnings
|
|
186
|
+
- Normalized `undefined` values to `''` or `false` depending on input type
|
|
187
|
+
- **FileInput Component**: Added `displayName = 'FileInput'` for better React DevTools debugging
|
|
188
|
+
- **CoinListBox Component**: Added `displayName = 'CoinListBox'` for better React DevTools debugging
|
|
189
|
+
|
|
190
|
+
### Documentation
|
|
191
|
+
|
|
192
|
+
- **Demo App Refactoring**: Major refactoring of 76+ documentation section files
|
|
193
|
+
- Cleaner, more consistent patterns across all component documentation
|
|
194
|
+
- New exports in `demo/components/index.ts` and `demo/index.ts`
|
|
195
|
+
- Updated all UI component, input, blockchain, design system, features, and form system sections
|
|
196
|
+
|
|
8
197
|
## [2.0.2] - 2026-01-22
|
|
9
198
|
|
|
10
199
|
### Changed
|
|
@@ -363,6 +552,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
363
552
|
|
|
364
553
|
## Version History
|
|
365
554
|
|
|
555
|
+
- **2.0.4** - Charts system (6 components), new UI components (Card, InfoCard, KeyValueRow, Pagination, Stepper, TabModal), complete removal of @headlessui/react, recharts 3.8.1
|
|
556
|
+
- **2.0.3** - Removed Storybook, new Tooltip component, major theme/component refactoring, migrated from Jest to Vitest, upgraded Nx to 22.5.2
|
|
366
557
|
- **2.0.2** - Responsive navigation menu improvements with dynamic text sizing
|
|
367
558
|
- **2.0.0** - Major release with advanced routing system (Standalone & MFE), enhanced theming (34+ presets, 12-layer architecture), comprehensive documentation improvements, and architectural pattern support
|
|
368
559
|
- **1.2.0** - Major input components update, new carousel system, and comprehensive improvements
|
|
@@ -372,6 +563,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
372
563
|
|
|
373
564
|
## Migration Notes
|
|
374
565
|
|
|
566
|
+
### Version 2.0.4 Migration
|
|
567
|
+
|
|
568
|
+
If you're upgrading from version 2.0.3 to 2.0.4:
|
|
569
|
+
|
|
570
|
+
- **`@headlessui/react` Removed**: This dependency is no longer required. You can remove it from your project if not used elsewhere
|
|
571
|
+
- **Tab/TabSelect**: API remains the same — no breaking changes in props or behavior
|
|
572
|
+
- **ToggleBar**: Same props (`checked`, `onChange`) — internal implementation changed but external API is identical
|
|
573
|
+
- **InputSearcher**: TypeScript interface now explicitly exported as `InputSearcherProps`
|
|
574
|
+
- **Charts**: New module available at `import { BarChart, LineChart, ... } from '@e-burgos/tucu-ui'`
|
|
575
|
+
- **Recharts Peer Dependency**: If using charts, ensure `recharts >= 3.8.1` is installed
|
|
576
|
+
- **React Types**: Updated to `@types/react@^19.2.14` — ensure compatibility with your React version
|
|
577
|
+
|
|
578
|
+
### Version 2.0.3 Migration
|
|
579
|
+
|
|
580
|
+
If you're upgrading from version 2.0.2 to 2.0.3:
|
|
581
|
+
|
|
582
|
+
- **Storybook Removed**: Storybook is no longer included. Use the demo app for interactive documentation
|
|
583
|
+
- **Button `tooltip` Prop**: Changed from `string` to `React.ReactNode`. Existing string values still work
|
|
584
|
+
- **Button Tooltip Props**: New optional props `tooltipPlacement`, `tooltipColor`, `tooltipArrow` available
|
|
585
|
+
- **Testing**: Migrated from Jest to Vitest. Update test configuration accordingly
|
|
586
|
+
- **Nx**: Upgraded to Nx 22.5.2. Run `pnpm install` to update dependencies
|
|
587
|
+
|
|
375
588
|
### Version 2.0.0 Migration
|
|
376
589
|
|
|
377
590
|
If you're upgrading from version 1.x to 2.0.0:
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Tucu UI
|
|
2
2
|
|
|
3
|
-
A modern, comprehensive React component library built with TypeScript, Tailwind CSS v4, and designed for creating production-ready web applications. Features **automatic layout generation**, **advanced routing system** with Standalone and Micro Frontends (MFE) support, **powerful form systems** with React Hook Form, **5000+ icons**, **specialized blockchain components**, and **WCAG 2.1 AA accessibility compliance**.
|
|
3
|
+
A modern, comprehensive React component library built with TypeScript, Tailwind CSS v4, and designed for creating production-ready web applications. Features **automatic layout generation**, **advanced routing system** with Standalone and Micro Frontends (MFE) support, **powerful form systems** with React Hook Form, **data visualization charts**, **5000+ icons**, **specialized blockchain components**, and **WCAG 2.1 AA accessibility compliance**.
|
|
4
4
|
|
|
5
5
|
## 🌟 Documentation
|
|
6
6
|
|
|
@@ -29,6 +29,14 @@ Specialized components for DeFi applications, NFT marketplaces, and crypto walle
|
|
|
29
29
|
|
|
30
30
|
Complete Lucide React integration + 97+ custom-designed icons including blockchain/crypto icons, layout controls, social brands, and specialized UI elements.
|
|
31
31
|
|
|
32
|
+
### **💬 Tooltip System**
|
|
33
|
+
|
|
34
|
+
Flexible Tooltip component with portal-based rendering (`createPortal`), 4 placement options (top, bottom, left, right), 7 color themes, smart auto-repositioning within the viewport, configurable enter/leave delays, and ARIA-compliant accessibility.
|
|
35
|
+
|
|
36
|
+
### **📊 Data Visualization Charts**
|
|
37
|
+
|
|
38
|
+
6 chart components built on Recharts 3.8.1 with full dark mode support: BarChart, LineChart, AreaChart, PieChart, RadarChart, and ComposedChart. Theme-aware color palettes, empty states, and shared tooltip infrastructure.
|
|
39
|
+
|
|
32
40
|
### **♿ Accessibility First**
|
|
33
41
|
|
|
34
42
|
WCAG 2.1 AA compliant components with proper ARIA attributes and keyboard navigation.
|
|
@@ -41,7 +49,7 @@ Responsive design across all components with support for ultra-wide displays (up
|
|
|
41
49
|
|
|
42
50
|
Built-in React Router integration with support for two architectural patterns:
|
|
43
51
|
|
|
44
|
-
- **Standalone App** (default): Automatic route generation from menuItems
|
|
52
|
+
- **Standalone App** (default): Automatic route generation from menuItems with nested routes support (`enableNestedRoutes`)
|
|
45
53
|
- **Micro Frontends (MFE)**: Explicit route configuration with basePath and route protection
|
|
46
54
|
|
|
47
55
|
### **🎨 Tailwind CSS v4 Complete Integration**
|
|
@@ -70,7 +78,7 @@ All utilities are configured through optimized `@source inline()` directives for
|
|
|
70
78
|
|
|
71
79
|
Built on industry-leading libraries for maximum reliability:
|
|
72
80
|
|
|
73
|
-
- **[React
|
|
81
|
+
- **[React 19+](https://react.dev/)** - Modern React with hooks and concurrent features
|
|
74
82
|
- **[TypeScript](https://www.typescriptlang.org/)** - Full type safety and excellent DX
|
|
75
83
|
- **[Tailwind CSS v4](https://tailwindcss.com/)** - Complete Tailwind v4 integration included with all utilities pre-configured
|
|
76
84
|
- **[React Hook Form](https://react-hook-form.com/)** - Performant form handling and validation
|
|
@@ -79,6 +87,7 @@ Built on industry-leading libraries for maximum reliability:
|
|
|
79
87
|
- **[Framer Motion](https://www.framer.com/motion/)** - Smooth animations and transitions
|
|
80
88
|
- **[Recharts](https://recharts.org/)** - Composable charting library for data visualization
|
|
81
89
|
- **[Swiper](https://swiperjs.com/)** - Modern mobile touch slider
|
|
90
|
+
- **[Vitest](https://vitest.dev/)** - Fast unit testing framework powered by Vite
|
|
82
91
|
|
|
83
92
|
## 📦 Installation
|
|
84
93
|
|
|
@@ -886,6 +895,32 @@ import { Carousel, CarouselCards, CarouselImage } from '@e-burgos/tucu-ui';
|
|
|
886
895
|
/>
|
|
887
896
|
```
|
|
888
897
|
|
|
898
|
+
### **Tooltip Component**
|
|
899
|
+
|
|
900
|
+
```tsx
|
|
901
|
+
import { Tooltip } from '@e-burgos/tucu-ui';
|
|
902
|
+
|
|
903
|
+
// Basic Tooltip
|
|
904
|
+
<Tooltip content="Edit profile" placement="top">
|
|
905
|
+
<button>Hover me</button>
|
|
906
|
+
</Tooltip>
|
|
907
|
+
|
|
908
|
+
// Tooltip with custom color and delay
|
|
909
|
+
<Tooltip content="Delete item" color="danger" enterDelay={300} arrow>
|
|
910
|
+
<button>Delete</button>
|
|
911
|
+
</Tooltip>
|
|
912
|
+
|
|
913
|
+
// Rich content Tooltip
|
|
914
|
+
<Tooltip
|
|
915
|
+
content={<div><strong>Pro tip:</strong> Use keyboard shortcuts for faster navigation.</div>}
|
|
916
|
+
placement="right"
|
|
917
|
+
color="primary"
|
|
918
|
+
arrow
|
|
919
|
+
>
|
|
920
|
+
<span>Help</span>
|
|
921
|
+
</Tooltip>
|
|
922
|
+
```
|
|
923
|
+
|
|
889
924
|
### **Feedback Components**
|
|
890
925
|
|
|
891
926
|
```tsx
|
|
@@ -1008,7 +1043,8 @@ Tucu UI includes comprehensive documentation pages to help you get started:
|
|
|
1008
1043
|
- **Hooks Utilities** - Custom React hooks for common patterns
|
|
1009
1044
|
- **Accessibility** - WCAG 2.1 AA compliance and best practices
|
|
1010
1045
|
- **Components** - Component library overview and usage patterns
|
|
1011
|
-
- **UI Components** -
|
|
1046
|
+
- **UI Components** - 50+ UI components (buttons, cards, dialogs, tooltips, charts, notifications, etc.)
|
|
1047
|
+
- **Charts Components** - 6 chart types (Bar, Line, Area, Pie, Radar, Composed)
|
|
1012
1048
|
- **Input Components** - 11+ form input components
|
|
1013
1049
|
- **Blockchain Components** - 9+ specialized DeFi/Web3 components
|
|
1014
1050
|
- **Form System** - Complete form solution with validation
|
|
@@ -1299,33 +1335,38 @@ Tucu UI is built with accessibility in mind:
|
|
|
1299
1335
|
git clone <repository-url>
|
|
1300
1336
|
|
|
1301
1337
|
# Install dependencies
|
|
1302
|
-
|
|
1338
|
+
pnpm install
|
|
1303
1339
|
|
|
1304
|
-
# Run
|
|
1305
|
-
|
|
1340
|
+
# Run the demo for development
|
|
1341
|
+
pnpm nx run demo:serve
|
|
1306
1342
|
|
|
1307
1343
|
# Build the library
|
|
1308
|
-
|
|
1344
|
+
pnpm nx run tucu-ui:build
|
|
1309
1345
|
|
|
1310
1346
|
# Run tests
|
|
1311
|
-
|
|
1347
|
+
pnpm nx run tucu-ui:test
|
|
1312
1348
|
```
|
|
1313
1349
|
|
|
1314
1350
|
### **Nx Monorepo Structure**
|
|
1315
1351
|
|
|
1316
1352
|
```
|
|
1317
|
-
|
|
1353
|
+
tucu-ui/
|
|
1318
1354
|
├── apps/
|
|
1319
|
-
│
|
|
1355
|
+
│ ├── demo/ # Documentation & demo app (tucu-ui.netlify.app)
|
|
1356
|
+
│ └── test-lib/ # Library testing playground
|
|
1357
|
+
├── examples/
|
|
1358
|
+
│ ├── standalone/ # Standalone architecture example
|
|
1359
|
+
│ └── micro-frontends/ # Micro Frontends architecture example
|
|
1320
1360
|
├── ui/
|
|
1321
|
-
│ └── tucu-ui/ # Main library
|
|
1361
|
+
│ └── tucu-ui/ # Main library (@e-burgos/tucu-ui)
|
|
1322
1362
|
│ ├── src/
|
|
1323
|
-
│ │ ├── components/ # All UI components
|
|
1324
|
-
│ │ ├── hooks/
|
|
1325
|
-
│ │ ├── themes/
|
|
1326
|
-
│ │ └──
|
|
1363
|
+
│ │ ├── components/ # All UI components (85+)
|
|
1364
|
+
│ │ ├── hooks/ # Utility hooks
|
|
1365
|
+
│ │ ├── themes/ # Theme system (Zustand + CSS tokens)
|
|
1366
|
+
│ │ └── styles.css # Tailwind CSS v4 configuration
|
|
1327
1367
|
│ └── package.json
|
|
1328
|
-
|
|
1368
|
+
├── scripts/ # Build & generation scripts
|
|
1369
|
+
└── nx.json # Nx workspace configuration
|
|
1329
1370
|
```
|
|
1330
1371
|
|
|
1331
1372
|
## 📄 License
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
export type CoinTypes = {
|
|
2
|
-
icon:
|
|
3
|
+
icon: ReactNode;
|
|
3
4
|
code: string;
|
|
4
5
|
name: string;
|
|
5
6
|
price: number;
|
|
@@ -11,4 +12,8 @@ export type CoinListBoxProps = {
|
|
|
11
12
|
className?: string;
|
|
12
13
|
disabled?: boolean;
|
|
13
14
|
};
|
|
14
|
-
|
|
15
|
+
declare function CoinListBox({ className, coins, selectedCoin, setSelectedCoin, disabled, }: CoinListBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare namespace CoinListBox {
|
|
17
|
+
var displayName: string;
|
|
18
|
+
}
|
|
19
|
+
export default CoinListBox;
|
|
@@ -6,6 +6,9 @@ type CollectionList = {
|
|
|
6
6
|
export interface CollectionSelectListTypes {
|
|
7
7
|
collectionList: CollectionList[];
|
|
8
8
|
onSelect: (value: string) => void;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
noResultsMessage?: string;
|
|
11
|
+
className?: string;
|
|
9
12
|
}
|
|
10
|
-
export declare function CollectionSelectList({ collectionList, onSelect, }: CollectionSelectListTypes): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function CollectionSelectList({ collectionList, onSelect, placeholder, noResultsMessage, className, }: CollectionSelectListTypes): import("react/jsx-runtime").JSX.Element;
|
|
11
14
|
export default CollectionSelectList;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { LoaderSizeTypes, LoaderVariantTypes } from '../../loaders/loader';
|
|
3
|
+
import { TooltipPlacement, TooltipColor } from '../../common/tooltip';
|
|
3
4
|
type ShapeNames = 'rounded' | 'pill' | 'circle';
|
|
4
5
|
type VariantNames = 'solid' | 'ghost' | 'transparent';
|
|
5
6
|
type ColorNames = 'primary' | 'white' | 'gray' | 'success' | 'info' | 'warning' | 'danger';
|
|
@@ -14,7 +15,14 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
14
15
|
fullWidth?: boolean;
|
|
15
16
|
loaderSize?: LoaderSizeTypes;
|
|
16
17
|
loaderVariant?: LoaderVariantTypes;
|
|
17
|
-
|
|
18
|
+
/** Tooltip text or content to display on hover */
|
|
19
|
+
tooltip?: React.ReactNode;
|
|
20
|
+
/** Tooltip placement relative to button */
|
|
21
|
+
tooltipPlacement?: TooltipPlacement;
|
|
22
|
+
/** Tooltip color theme */
|
|
23
|
+
tooltipColor?: TooltipColor;
|
|
24
|
+
/** Show an arrow on the tooltip */
|
|
25
|
+
tooltipArrow?: boolean;
|
|
18
26
|
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
19
27
|
'aria-label'?: string;
|
|
20
28
|
'aria-describedby'?: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface CardProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
header?: React.ReactNode;
|
|
6
|
+
footer?: React.ReactNode;
|
|
7
|
+
actions?: React.ReactNode;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function Card({ title, description, icon, header, footer, actions, children, className, onClick, }: CardProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default Card;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export interface InfoCardColumn {
|
|
2
|
+
/** Unique key for the column */
|
|
3
|
+
key: string;
|
|
4
|
+
/** Column group label (shown uppercase) */
|
|
5
|
+
label: string;
|
|
6
|
+
/** Icon element for the group header */
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
/** Accent color class for the vertical bar (e.g. 'bg-brand') */
|
|
9
|
+
accent?: string;
|
|
10
|
+
/** Accent text color class for label and icon (e.g. 'text-brand') */
|
|
11
|
+
accentText?: string;
|
|
12
|
+
/** Key-value rows to render */
|
|
13
|
+
items: InfoCardItem[];
|
|
14
|
+
}
|
|
15
|
+
export interface InfoCardItem {
|
|
16
|
+
label: string;
|
|
17
|
+
value: React.ReactNode;
|
|
18
|
+
/** Optional text color class for the value */
|
|
19
|
+
color?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface InfoCardFooterTag {
|
|
22
|
+
label: string;
|
|
23
|
+
/** Tailwind color classes for the tag */
|
|
24
|
+
className?: string;
|
|
25
|
+
icon?: React.ReactNode;
|
|
26
|
+
/** Tooltip content shown on hover */
|
|
27
|
+
tooltip?: React.ReactNode;
|
|
28
|
+
}
|
|
29
|
+
export interface InfoCardProps {
|
|
30
|
+
/** Title displayed in the header */
|
|
31
|
+
title?: string;
|
|
32
|
+
/** Subtitle/description under the title */
|
|
33
|
+
subtitle?: string;
|
|
34
|
+
/** Icon rendered in a styled badge in the header */
|
|
35
|
+
icon?: React.ReactNode;
|
|
36
|
+
/** Element rendered on the right side of the header (e.g. status badge) */
|
|
37
|
+
headerRight?: React.ReactNode;
|
|
38
|
+
/** Column groups for the structured grid layout */
|
|
39
|
+
columns?: InfoCardColumn[];
|
|
40
|
+
/** Number of grid columns on lg breakpoint (default: columns.length or 4) */
|
|
41
|
+
gridCols?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
42
|
+
/** Free-form children (rendered below columns if both provided) */
|
|
43
|
+
children?: React.ReactNode;
|
|
44
|
+
/** Footer tags/pills */
|
|
45
|
+
footerTags?: InfoCardFooterTag[];
|
|
46
|
+
/** Footer label prefix */
|
|
47
|
+
footerLabel?: string;
|
|
48
|
+
/** Custom footer content (takes precedence over footerTags) */
|
|
49
|
+
footer?: React.ReactNode;
|
|
50
|
+
/** Additional className for the root container */
|
|
51
|
+
className?: string;
|
|
52
|
+
}
|
|
53
|
+
export declare function InfoCard({ title, subtitle, icon, headerRight, columns, gridCols, children, footerTags, footerLabel, footer, className, }: InfoCardProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export default InfoCard;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ChartBaseProps, ChartSeries } from '../types';
|
|
2
|
+
export interface AreaChartProps extends ChartBaseProps {
|
|
3
|
+
series: ChartSeries[];
|
|
4
|
+
xAxisKey?: string;
|
|
5
|
+
curved?: boolean;
|
|
6
|
+
gradient?: boolean;
|
|
7
|
+
stacked?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function AreaChart({ data, series, height, className, xAxisKey, curved, gradient, stacked, showGrid, showTooltip, showLegend, animate, emptyMessage, }: AreaChartProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ChartBaseProps, ChartSeries } from '../types';
|
|
2
|
+
export interface BarChartProps extends ChartBaseProps {
|
|
3
|
+
series: ChartSeries[];
|
|
4
|
+
xAxisKey?: string;
|
|
5
|
+
layout?: 'horizontal' | 'vertical';
|
|
6
|
+
stacked?: boolean;
|
|
7
|
+
barRadius?: number;
|
|
8
|
+
barGap?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function BarChart({ data, series, height, className, xAxisKey, layout, stacked, barRadius, barGap, showGrid, showTooltip, showLegend, animate, emptyMessage, }: BarChartProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface ChartContainerProps {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
height?: number;
|
|
4
|
+
className?: string;
|
|
5
|
+
ariaLabel?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function ChartContainer({ children, height, className, ariaLabel, }: ChartContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ChartBaseProps, ChartSeries } from '../types';
|
|
2
|
+
export interface ComposedChartProps extends ChartBaseProps {
|
|
3
|
+
series: (ChartSeries & {
|
|
4
|
+
type: 'line' | 'bar' | 'area';
|
|
5
|
+
})[];
|
|
6
|
+
xAxisKey?: string;
|
|
7
|
+
barRadius?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function ComposedChart({ data, series, height, className, xAxisKey, barRadius, showGrid, showTooltip, showLegend, animate, emptyMessage, }: ComposedChartProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ChartTheme {
|
|
2
|
+
mode: 'light' | 'dark';
|
|
3
|
+
colors: string[];
|
|
4
|
+
grid: string;
|
|
5
|
+
text: string;
|
|
6
|
+
background: string;
|
|
7
|
+
border: string;
|
|
8
|
+
tooltipBg: string;
|
|
9
|
+
tooltipText: string;
|
|
10
|
+
tooltipBorder: string;
|
|
11
|
+
cursorFill: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function useChartTheme(): ChartTheme;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { LineChart } from './line-chart';
|
|
2
|
+
export { BarChart } from './bar-chart';
|
|
3
|
+
export { AreaChart } from './area-chart';
|
|
4
|
+
export { PieChart } from './pie-chart';
|
|
5
|
+
export { RadarChart } from './radar-chart';
|
|
6
|
+
export { ComposedChart } from './composed-chart';
|
|
7
|
+
export { ChartContainer } from './components/chart-container';
|
|
8
|
+
export { ChartTooltip } from './components/chart-tooltip';
|
|
9
|
+
export { ChartEmptyState } from './components/chart-empty-state';
|
|
10
|
+
export { useChartTheme } from './hooks';
|
|
11
|
+
export type { ChartDataPoint, ChartSeries, ChartBaseProps, PieDataPoint, RadarDataPoint, } from './types';
|
|
12
|
+
export type { ChartTheme } from './hooks';
|
|
13
|
+
export type { LineChartProps } from './line-chart';
|
|
14
|
+
export type { BarChartProps } from './bar-chart';
|
|
15
|
+
export type { AreaChartProps } from './area-chart';
|
|
16
|
+
export type { PieChartProps } from './pie-chart';
|
|
17
|
+
export type { RadarChartProps } from './radar-chart';
|
|
18
|
+
export type { ComposedChartProps } from './composed-chart';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ChartBaseProps, ChartSeries } from '../types';
|
|
2
|
+
export interface LineChartProps extends ChartBaseProps {
|
|
3
|
+
series: ChartSeries[];
|
|
4
|
+
xAxisKey?: string;
|
|
5
|
+
curved?: boolean;
|
|
6
|
+
showDots?: boolean;
|
|
7
|
+
strokeWidth?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function LineChart({ data, series, height, className, xAxisKey, curved, showDots, strokeWidth, showGrid, showTooltip, showLegend, animate, emptyMessage, }: LineChartProps): import("react/jsx-runtime").JSX.Element;
|