@e-burgos/tucu-ui 2.0.3 → 2.0.5
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 +117 -0
- package/README.md +9 -4
- package/components/blockchain/coin-listbox.d.ts +2 -1
- package/components/blockchain/collection-select-list.d.ts +4 -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 +3 -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/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 +1 -7
- 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/utils/scroll-to-top.d.ts +17 -9
- package/demo/generated/props-metadata.d.ts +2 -2
- package/demo/pages/components/ChartsComponents.d.ts +2 -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/index.d.ts +5 -0
- package/demo/pages/index.d.ts +1 -0
- package/demo/pages/introduction/BasicUsageDemo.d.ts +1 -1
- package/documentation/{APIReferenceSection-B2oYdmby.js → APIReferenceSection-5NIzxE3h.js} +1 -1
- package/documentation/{APIReferenceSection-h-8Utbap.js → APIReferenceSection-Ce8zFFzl.js} +1 -1
- package/documentation/{ActiveLinkSection-CdXQGIsJ.js → ActiveLinkSection-B-OjIv25.js} +1 -1
- package/documentation/{ActiveLinkSection-C95OfpHr.js → ActiveLinkSection-Cfder2gM.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-BtpxH8Mu.js → AdvancedColorSystemSection-1p7Gzgv7.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-BQshRXTc.js → AdvancedColorSystemSection-Dvs9aiJv.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-BdL5enY8.js → AdvancedFeaturesSection-BcZzGuLC.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-DNsHjabp.js → AdvancedFeaturesSection-BoNIb9oH.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-VcHwYejS.js → AdvancedFeaturesSection-Bw-yEeIB.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-Ht5TTHY8.js → AdvancedFeaturesSection-CJbGz9l9.js} +1 -1
- package/documentation/{AlertSection-CkPDRBrP.js → AlertSection-1mnmAGE8.js} +1 -1
- package/documentation/{AlertSection-ZNoVAqQG.js → AlertSection-DLSlCvUX.js} +1 -1
- package/documentation/{AnchorLinkSection-Db8dVTL1.js → AnchorLinkSection-BkC1XlUO.js} +1 -1
- package/documentation/{AnchorLinkSection-BwEq_xXD.js → AnchorLinkSection-DtkZLFtc.js} +11 -11
- package/documentation/{ArchitecturalPatternsComparisonSection-_ICdjaay.js → ArchitecturalPatternsComparisonSection-BmurN8qG.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-0JvWXvga.js → ArchitecturalPatternsComparisonSection-Dwlq44TJ.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-A86tJq4O.js → ArchitectureOverviewSection-CQj0Os1t.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-J96NVKkD.js → ArchitectureOverviewSection-Cc4iZOZ9.js} +1 -1
- package/documentation/AreaChartSection-CdymW4XW.js +22 -0
- package/documentation/AreaChartSection-okjH0UNh.js +132 -0
- package/documentation/{AuthorCardSection-CYkh23Xg.js → AuthorCardSection-BVzTIrw9.js} +1 -1
- package/documentation/{AuthorCardSection-BSX9oAo1.js → AuthorCardSection-DyH2f3Hs.js} +1 -1
- package/documentation/{AvatarSection-LVqlXwpv.js → AvatarSection-BvtkeOrt.js} +1 -1
- package/documentation/{AvatarSection-BvtKvbAp.js → AvatarSection-CWj6h6Xw.js} +1 -1
- package/documentation/{BadgeSection-CeyBqNzE.js → BadgeSection-Bm2kMztE.js} +1 -1
- package/documentation/{BadgeSection-wnv6WJoJ.js → BadgeSection-D5PSo5Ha.js} +1 -1
- package/documentation/BarChartSection-DNhGp-SX.js +127 -0
- package/documentation/BarChartSection-DOO1X0Ls.js +23 -0
- package/documentation/{BasicTableSection-DHR7wxMf.js → BasicTableSection-B2GWADgL.js} +1 -1
- package/documentation/{BasicTableSection-Djqd7GTc.js → BasicTableSection-BWdAaKCh.js} +1 -1
- package/documentation/{BasicUsageSection-RB5uqmJE.js → BasicUsageSection-C26gvzBZ.js} +1 -1
- package/documentation/{BasicUsageSection-CAOyX6Rh.js → BasicUsageSection-CiAmGFF6.js} +1 -1
- package/documentation/{BestPracticesSection-Y7WVzfHX.js → BestPracticesSection--qw-Bu17.js} +1 -1
- package/documentation/{BestPracticesSection-DO-w9jZN.js → BestPracticesSection-BLO5W3Dz.js} +1 -1
- package/documentation/{BestPracticesSection-CrduKU11.js → BestPracticesSection-BQexEz6I.js} +1 -1
- package/documentation/{BestPracticesSection-C72mSxPs.js → BestPracticesSection-BelrvRky.js} +1 -1
- package/documentation/{BestPracticesSection-7oPmBTjr.js → BestPracticesSection-C51kB-ds.js} +1 -1
- package/documentation/{BestPracticesSection-BAi4u6sT.js → BestPracticesSection-CUi5U-9F.js} +1 -1
- package/documentation/{BestPracticesSection-FNEhFmPF.js → BestPracticesSection-CanX6URp.js} +1 -1
- package/documentation/{BestPracticesSection-Dki1wap5.js → BestPracticesSection-D9A1lsfb.js} +1 -1
- package/documentation/{BestPracticesSection-D2ahvfz_.js → BestPracticesSection-DEmC0S-K.js} +1 -1
- package/documentation/{BestPracticesSection-CfKUd_V5.js → BestPracticesSection-DLPSyeBF.js} +1 -1
- package/documentation/{BestPracticesSection-Dlv7tr8A.js → BestPracticesSection-Duk-VLd3.js} +1 -1
- package/documentation/{BestPracticesSection-De_JKhUW.js → BestPracticesSection-VeEUdINe.js} +1 -1
- package/documentation/{BestPracticesSection-DVOUUyCP.js → BestPracticesSection-p2NFG4oR.js} +1 -1
- package/documentation/{BestPracticesSection-CCUAVucV.js → BestPracticesSection-q-nfGUu_.js} +1 -1
- package/documentation/{BorderRadiusSection-B7LfzLmt.js → BorderRadiusSection-CPv-iEOg.js} +1 -1
- package/documentation/{BorderRadiusSection-CuLZQqX2.js → BorderRadiusSection-CWtBKR4n.js} +1 -1
- package/documentation/{ButtonDripSection-Rv6xpiKS.js → ButtonDripSection-CdyZmshO.js} +1 -1
- package/documentation/{ButtonDripSection-BaIO6Rop.js → ButtonDripSection-DvqrkiYu.js} +1 -1
- package/documentation/{ButtonLoaderSection-Bkzh89oP.js → ButtonLoaderSection-BUhnf9_M.js} +1 -1
- package/documentation/{ButtonLoaderSection-DGVKD9wI.js → ButtonLoaderSection-DuQTP5Pe.js} +1 -1
- package/documentation/{CardContainerSection-DLXPs9aW.js → CardContainerSection-DMJza1QB.js} +1 -1
- package/documentation/{CardContainerSection-t72sN0zL.js → CardContainerSection-DbKJDPWw.js} +1 -1
- package/documentation/CardSection-B0iqiFGj.js +25 -0
- package/documentation/CardSection-D15Ow_Tr.js +125 -0
- package/documentation/{CardTitleSection-CTcugicF.js → CardTitleSection-BMhuTc5Q.js} +1 -1
- package/documentation/{CardTitleSection-BEHmdfF6.js → CardTitleSection-DisE8DYA.js} +1 -1
- package/documentation/{CarouselCardsSection-ByrjTL9x.js → CarouselCardsSection-0SbaZLzB.js} +1 -1
- package/documentation/{CarouselCardsSection-DtCx9w5B.js → CarouselCardsSection-D6dpilRA.js} +1 -1
- package/documentation/{CarouselImageSection-BDMpTyte.js → CarouselImageSection-C1a20WIc.js} +1 -1
- package/documentation/{CarouselImageSection-CknDEAfU.js → CarouselImageSection-Ckn2QzLs.js} +1 -1
- package/documentation/{CarouselSection-Cq5jgcQD.js → CarouselSection-DY1Th7wv.js} +1 -1
- package/documentation/{CarouselSection-hLHYsvmh.js → CarouselSection-JMkeqyoM.js} +1 -1
- package/documentation/{CheckboxSection-D8FFt0Os.js → CheckboxSection-Buj9JUAs.js} +1 -1
- package/documentation/{CheckboxSection-CUQtdDzh.js → CheckboxSection-C1oqzuhJ.js} +1 -1
- package/documentation/{CodeExamplesSection-Dp2gzpx3.js → CodeExamplesSection-B0jHjim2.js} +1 -1
- package/documentation/{CodeExamplesSection-2v_8YfcX.js → CodeExamplesSection-lkjYxBX5.js} +1 -1
- package/documentation/{CoinCardSection-1WqRM1ph.js → CoinCardSection-lZUwQvyi.js} +1 -1
- package/documentation/{CoinCardSection-CPsesOWx.js → CoinCardSection-ohLbWYUh.js} +1 -1
- package/documentation/{CoinInfoCardSection-B562WBTv.js → CoinInfoCardSection-6w-hnHtq.js} +1 -1
- package/documentation/{CoinInfoCardSection-Dk6J8sls.js → CoinInfoCardSection-CSpda5W2.js} +1 -1
- package/documentation/{CoinListBoxSection-Cu1MDV2Y.js → CoinListBoxSection-CjuPiQY-.js} +1 -1
- package/documentation/{CoinListBoxSection-DzyzZBwk.js → CoinListBoxSection-if4oi10E.js} +1 -1
- package/documentation/{CollapseSection-7-rrT_DY.js → CollapseSection-Ce00qgAG.js} +1 -1
- package/documentation/{CollapseSection-Bym6R86D.js → CollapseSection-DvdDK90_.js} +10 -10
- package/{collection-1-NeFANkbk.js → documentation/CollectionCardSection-BXYryNM2.js} +58 -2
- package/documentation/CollectionCardSection-Bjysn0MP.js +17 -0
- package/documentation/CollectionSelectListSection-D8YxEcci.js +15 -0
- package/documentation/CollectionSelectListSection-NYI1Ct1i.js +120 -0
- package/documentation/{ColorCustomizationSection-DirQ1xkR.js → ColorCustomizationSection-BGlYoLkQ.js} +1 -1
- package/documentation/{ColorCustomizationSection-fpbQFBeg.js → ColorCustomizationSection-CBWK9uUm.js} +3 -3
- package/documentation/{ColorSystemSection-BTPZDmaU.js → ColorSystemSection-Dn79GFEE.js} +5 -5
- package/documentation/{ColorSystemSection-BIiffohC.js → ColorSystemSection-DpzFTiQX.js} +1 -1
- package/documentation/{CommonErrorsSection-DqohMJDt.js → CommonErrorsSection-Bu3N9AeP.js} +1 -1
- package/documentation/{CommonErrorsSection-BVjBH-q3.js → CommonErrorsSection-CfJggoGk.js} +1 -1
- package/documentation/{ComponentAnatomySection-GUman0lW.js → ComponentAnatomySection-B6siwlGr.js} +3 -3
- package/documentation/{ComponentAnatomySection-B6L2nQg2.js → ComponentAnatomySection-DZ7Qu5NO.js} +1 -1
- package/documentation/{ComponentStatusSection-BPatrERs.js → ComponentStatusSection-3ZQq3TuC.js} +1 -1
- package/documentation/{ComponentStatusSection-DS8Kmh6W.js → ComponentStatusSection-BAcHk045.js} +1 -1
- package/documentation/ComposedChartSection-Ckh3P98Y.js +113 -0
- package/documentation/ComposedChartSection-DA6YnjWr.js +21 -0
- package/documentation/{CurrencySwapIconsSection-B_qLwzXO.js → CurrencySwapIconsSection-C28raPLN.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-WWqd6aBI.js → CurrencySwapIconsSection-C7OcC3fI.js} +1 -1
- package/documentation/{CustomColorPaletteSection-Beh-1TnY.js → CustomColorPaletteSection-CjZQJ8X1.js} +1 -1
- package/documentation/{CustomColorPaletteSection-DHw4bInM.js → CustomColorPaletteSection-DMSw8nDk.js} +1 -1
- package/documentation/{CustomIconsSection-BnJuOM-H.js → CustomIconsSection-BwjM43mD.js} +29 -29
- package/documentation/{CustomIconsSection-CSRr6wkJ.js → CustomIconsSection-DrojbM8n.js} +2 -2
- package/documentation/{DefiAppLogoSection-BlgJ2b-2.js → DefiAppLogoSection-BdZjkLmq.js} +1 -1
- package/documentation/{DefiAppLogoSection-BKoj5nMS.js → DefiAppLogoSection-Dk2oHuhM.js} +1 -1
- package/documentation/{DesignPrinciplesSection-sziQNoBU.js → DesignPrinciplesSection-Bya4UXPp.js} +1 -1
- package/documentation/{DesignPrinciplesSection-DEO6bctH.js → DesignPrinciplesSection-DnoNOVM9.js} +1 -1
- package/documentation/{DrawerSection-Bl44QTjH.js → DrawerSection-6g2F0eId.js} +41 -28
- package/documentation/DrawerSection-DB25BxGr.js +41 -0
- package/documentation/{DynamicRoutesSection-CwIKExBG.js → DynamicRoutesSection-BMaLmxpb.js} +1 -1
- package/documentation/{DynamicRoutesSection-DzYD6DrX.js → DynamicRoutesSection-C8c26l82.js} +1 -1
- package/documentation/{FileInputSection-agGxZYT7.js → FileInputSection-DSj8ZQzS.js} +1 -1
- package/documentation/{FileInputSection-2C2qHF7f.js → FileInputSection-DhXUezmH.js} +1 -1
- package/documentation/{FileStructureSection-C-Z_tkDL.js → FileStructureSection-Bcx6ldJU.js} +1 -1
- package/documentation/{FileStructureSection-CSNiAHS-.js → FileStructureSection-wjvqCs_f.js} +1 -1
- package/documentation/{FormComponentsSection-B021OPBW.js → FormComponentsSection-DeI3K5Bx.js} +1 -1
- package/documentation/{FormComponentsSection-CRsooWtI.js → FormComponentsSection-Dy3KNt39.js} +1 -1
- package/documentation/{FormMethodsSection-CUrQGm-O.js → FormMethodsSection-B1EM4N6A.js} +1 -1
- package/documentation/{FormMethodsSection-2ea19wxr.js → FormMethodsSection-yuuuYyXy.js} +1 -1
- package/documentation/{HamburgerSection-BzFh3gZq.js → HamburgerSection-DgPmVO-i.js} +11 -11
- package/documentation/{HamburgerSection-CWAXi4d_.js → HamburgerSection-aBZD1-TZ.js} +1 -1
- package/documentation/{HookCategoriesSection-Qm1BoU9x.js → HookCategoriesSection-CgVVDDDP.js} +1 -1
- package/documentation/{HookCategoriesSection-DZzq6nNi.js → HookCategoriesSection-D1s7HBs3.js} +1 -1
- package/documentation/{HookDocumentationSection-DT_dicnF.js → HookDocumentationSection-BX4ihZ7n.js} +1 -1
- package/documentation/{HookDocumentationSection-BMC5FTpz.js → HookDocumentationSection-D-uyTvbo.js} +1 -1
- package/documentation/{HookFeaturesSection-_rCA_IiX.js → HookFeaturesSection-BJ46pxde.js} +1 -1
- package/documentation/{HookFeaturesSection-B08odkSW.js → HookFeaturesSection-DG0c6Nuc.js} +1 -1
- package/documentation/{IconArchitectureSection-BP5StoRr.js → IconArchitectureSection-C-2VbuA5.js} +1 -1
- package/documentation/{IconArchitectureSection-Ch1nPf7C.js → IconArchitectureSection-CURuLfbA.js} +1 -1
- package/documentation/{IconSizingGuideSection-21B7NciU.js → IconSizingGuideSection-CZlzz3vM.js} +1 -1
- package/documentation/{IconSizingGuideSection-B39zPKV2.js → IconSizingGuideSection-CtgUCS1M.js} +1 -1
- package/documentation/{IconSystemAPISection-_5fho7rM.js → IconSystemAPISection-Bt0cGg5z.js} +1 -1
- package/documentation/{IconSystemAPISection-BLCe41I8.js → IconSystemAPISection-iR2Mtl7J.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-BI6uLx8V.js → IconSystemBenefitsSection-BwEGIaSi.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-DCAdQe8N.js → IconSystemBenefitsSection-Cm4GLorJ.js} +1 -1
- package/documentation/{ImageSection-DX_pLrem.js → ImageSection-C8chUyse.js} +1 -1
- package/documentation/{ImageSection-Dl5z0QeO.js → ImageSection-DHl4Qi57.js} +7 -12
- package/documentation/{ImplementationExamplesSection-DG0Qxz66.js → ImplementationExamplesSection-B6RCd5xn.js} +1 -1
- package/documentation/{ImplementationExamplesSection-B__bLnap.js → ImplementationExamplesSection-Dm0hQvIt.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-Dhr_uqy_.js → ImplementationGuidelinesSection-DcophD9I.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-B3ThgoR2.js → ImplementationGuidelinesSection-tk4hHb4H.js} +1 -1
- package/documentation/{ImplementationStatusSection-D0v0YMVu.js → ImplementationStatusSection-ByTHYlfd.js} +1 -1
- package/documentation/{ImplementationStatusSection-CJTb6Pgx.js → ImplementationStatusSection-t7Ud-c-d.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-DP4JlgYL.js → ImplementedFeaturesSection-BFxz_WX2.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-uG_KGhJp.js → ImplementedFeaturesSection-DHZ1Aoer.js} +1 -1
- package/documentation/InfoCardSection-CXtp4OUe.js +37 -0
- package/documentation/InfoCardSection-CzJ00hH4.js +266 -0
- package/documentation/{InputSearcherSection-BOs_mYxO.js → InputSearcherSection-CBLbEei3.js} +1 -1
- package/documentation/{InputSearcherSection-BB8KSV5W.js → InputSearcherSection-Ov5f1QPG.js} +1 -1
- package/documentation/{InputSection-Co8yrH8O.js → InputSection-D3bakYUu.js} +1 -1
- package/documentation/{InputSection-DlsRR1br.js → InputSection-DBXbkW_W.js} +1 -1
- package/documentation/KeyValueRowSection-BD_lOH5W.js +16 -0
- package/documentation/KeyValueRowSection-DvNMMIDZ.js +104 -0
- package/documentation/{KeyboardNavigationSection-B8kjIrpD.js → KeyboardNavigationSection-B3CapHsF.js} +1 -1
- package/documentation/{KeyboardNavigationSection-B5NeU2Ls.js → KeyboardNavigationSection-gUHJqFCG.js} +5 -5
- package/documentation/{LayoutPrinciplesSection-Cv2qVdah.js → LayoutPrinciplesSection-CVuWM79D.js} +1 -1
- package/documentation/{LayoutPrinciplesSection-ZcukszdJ.js → LayoutPrinciplesSection-Dj2hqcrM.js} +1 -1
- package/documentation/{LayoutTypesSection-Db8Phsh5.js → LayoutTypesSection-B56uscQO.js} +1 -1
- package/documentation/{LayoutTypesSection-CdWhbb-e.js → LayoutTypesSection-BGRpmQ7T.js} +1 -1
- package/documentation/LineChartSection-BGX0Wcvh.js +21 -0
- package/documentation/LineChartSection-Ceg7C-cC.js +130 -0
- package/documentation/{ListContainerSection-E2nxNQM9.js → ListContainerSection-BNSF4SI5.js} +1 -1
- package/documentation/{ListContainerSection-g8e36trw.js → ListContainerSection-CV4u-qOK.js} +1 -1
- package/documentation/{ListItemSection-BKMlFb_B.js → ListItemSection-3dc6RiQQ.js} +1 -1
- package/documentation/{ListItemSection-CGRWmUNh.js → ListItemSection-Di43gH3_.js} +1 -1
- package/documentation/{LiveDemoSection-Bi6TUjps.js → LiveDemoSection-BBUhl8mE.js} +1 -1
- package/documentation/{LiveDemoSection-CNS2AHrx.js → LiveDemoSection-BXUNaySE.js} +1 -1
- package/documentation/{LiveDemonstrationsSection-BTZH9yJ4.js → LiveDemonstrationsSection-CfXiNDVi.js} +6 -6
- package/documentation/{LiveDemonstrationsSection-8IzxP_-q.js → LiveDemonstrationsSection-DrHe0jRp.js} +1 -1
- package/documentation/{LivePriceFeedSection-BETZCxkR.js → LivePriceFeedSection-CtMkcanM.js} +1 -1
- package/documentation/{LivePriceFeedSection-xqYzz2UJ.js → LivePriceFeedSection-fB3CGfMo.js} +1 -1
- package/documentation/{LoaderSection-D6oWK2Bd.js → LoaderSection-BK2XhwSF.js} +1 -1
- package/documentation/{LoaderSection-Ch955wVE.js → LoaderSection-BqBjL_ce.js} +1 -1
- package/documentation/{LogoSection-DihjtnI3.js → LogoSection-C3gHZ6ZG.js} +1 -1
- package/documentation/{LogoSection-DwxPyRYp.js → LogoSection-DgveoBy0.js} +1 -1
- package/documentation/{LucideIconsSection-UTZdlP4l.js → LucideIconsSection-D7ajDS86.js} +2 -2
- package/documentation/{LucideIconsSection-jyTOH9vA.js → LucideIconsSection-EeXM46-p.js} +1 -1
- package/documentation/{MFESupportSection-CL4XaGSc.js → MFESupportSection-CW27A3eK.js} +1 -1
- package/documentation/{MFESupportSection-D5-xNtty.js → MFESupportSection-ZymRZFpR.js} +1 -1
- package/documentation/{MenuItemsGuideSection-CubWhWBg.js → MenuItemsGuideSection-CLotbYiV.js} +1 -1
- package/documentation/{MenuItemsGuideSection-B4A_sWeX.js → MenuItemsGuideSection-UQkVcqZq.js} +1 -1
- package/documentation/{ModalSection-BLJU61yb.js → ModalSection-B88ZyCk1.js} +34 -40
- package/documentation/{ModalSection-DgxQhNE3.js → ModalSection-_bluxlpe.js} +1 -1
- package/documentation/NFTGridSection-BBn-BSxV.js +117 -0
- package/documentation/NFTGridSection-DuqL8orZ.js +19 -0
- package/documentation/{NestedRoutesSection-ekOYspAL.js → NestedRoutesSection-Ba8XhwvK.js} +1 -1
- package/documentation/{NestedRoutesSection-DG9vKpBw.js → NestedRoutesSection-CNb6PpdJ.js} +1 -1
- package/documentation/{NotificationCardSection-cE-g6SEH.js → NotificationCardSection-Bhd6YH-F.js} +1 -1
- package/documentation/{NotificationCardSection-Db-RrZ16.js → NotificationCardSection-Dr40YILh.js} +1 -1
- package/documentation/PaginationSection-DZQzrh1r.js +18 -0
- package/documentation/PaginationSection-DaeYPA4C.js +122 -0
- package/documentation/{PanelActionCardSection-CL8Moio7.js → PanelActionCardSection-Ie-VVm_6.js} +3 -3
- package/documentation/{PanelActionCardSection-Bjxx99WR.js → PanelActionCardSection-eVZpdoU4.js} +1 -1
- package/documentation/{PanelCardSection-Ci9bDcSV.js → PanelCardSection-B4QTB7gx.js} +1 -1
- package/documentation/{PanelCardSection-wO7ZobnL.js → PanelCardSection-Bnvutn7v.js} +1 -1
- package/documentation/{ParamTabSection-DzCeT2jc.js → ParamTabSection-BboYSU6I.js} +1 -1
- package/documentation/{ParamTabSection-Bi80ttg5.js → ParamTabSection-Cxjr0T-p.js} +1 -1
- package/documentation/PieChartSection-B5iqTd6a.js +91 -0
- package/documentation/PieChartSection-CmsDq0aK.js +19 -0
- package/documentation/{PinCodeSection-BteNwNGD.js → PinCodeSection-DEw-EzEd.js} +1 -1
- package/documentation/{PinCodeSection-DwXlWFc3.js → PinCodeSection-_XK_i3H0.js} +1 -1
- package/documentation/{ProgressbarSection-ibpTAyXQ.js → ProgressbarSection-BiRKgrX8.js} +1 -1
- package/documentation/{ProgressbarSection-B1eIO6-t.js → ProgressbarSection-C3dnsQVG.js} +1 -1
- package/documentation/RadarChartSection-CZwYUbhE.js +21 -0
- package/documentation/RadarChartSection-D4WGzYMh.js +114 -0
- package/documentation/{RadioGroupSection-q1w7Zcjw.js → RadioGroupSection-Brsh4Wal.js} +1 -1
- package/documentation/{RadioGroupSection-CnheWpBr.js → RadioGroupSection-DCLnuxAm.js} +1 -1
- package/documentation/{RadioSection-V0sD9FtI.js → RadioSection-BJAmV7jS.js} +1 -1
- package/documentation/{RadioSection-DSoD7CLU.js → RadioSection-DW571IOX.js} +1 -1
- package/documentation/{RevealContentSection-BK8j8yQ6.js → RevealContentSection-Bp90Pdd6.js} +1 -1
- package/documentation/{RevealContentSection-Cm9Ego3J.js → RevealContentSection-aEH6B3Fa.js} +1 -1
- package/documentation/{RouteConfigurationSection-PdMrY6xs.js → RouteConfigurationSection-BTMaahtj.js} +1 -1
- package/documentation/{RouteConfigurationSection-JaOww2mF.js → RouteConfigurationSection-C4cXfBUN.js} +1 -1
- package/documentation/{ScrollToTopSection-_W3FULOG.js → ScrollToTopSection-BjvSaBlx.js} +1 -1
- package/documentation/{ScrollToTopSection-DktmPBqU.js → ScrollToTopSection-zDW1G7Hj.js} +6 -5
- package/documentation/{ScrollbarSection-94c3rkLU.js → ScrollbarSection-9TgDRatW.js} +1 -1
- package/documentation/{ScrollbarSection-Dhqk4MAL.js → ScrollbarSection-DB4wz_1n.js} +7 -7
- package/documentation/SelectSection-CuCOpeCn.js +39 -0
- package/documentation/{SelectSection-CyUvjkal.js → SelectSection-DUiUcUBY.js} +118 -49
- package/documentation/{SettingsPanelSection-DysL_TWy.js → SettingsPanelSection-BqSLtnYt.js} +1 -1
- package/documentation/{SettingsPanelSection-oUsf1rjG.js → SettingsPanelSection-CBDKoU0z.js} +2 -2
- package/documentation/{ShadowsSection-COIXfeUB.js → ShadowsSection-CBZ4wa0t.js} +1 -1
- package/documentation/{ShadowsSection-yPSwgkIh.js → ShadowsSection-DkuPXflP.js} +1 -1
- package/documentation/{SidebarMenuSection-DoBy0kgz.js → SidebarMenuSection-BGMz0EFc.js} +1 -1
- package/documentation/{SidebarMenuSection-CF65NgkO.js → SidebarMenuSection-Cu3MBodF.js} +1 -1
- package/documentation/{SidebarSection-C8M_6SXm.js → SidebarSection-B0Q9BrWf.js} +1 -1
- package/documentation/{SidebarSection-D0mx7yBu.js → SidebarSection-_fncZECB.js} +1 -1
- package/documentation/{SizingSection-D0JMCl2M.js → SizingSection-BRs_QZ8E.js} +1 -1
- package/documentation/{SizingSection-CFHOHeOX.js → SizingSection-BZG-CTFD.js} +1 -1
- package/documentation/{SkeletonSection-CdftMoZS.js → SkeletonSection-CvxwSWwR.js} +1 -1
- package/documentation/{SkeletonSection-l0H8ysMz.js → SkeletonSection-oeshNePF.js} +1 -1
- package/documentation/{SpacingSystemSection-DDLUwi7M.js → SpacingSystemSection-B2_wDld8.js} +1 -1
- package/documentation/{SpacingSystemSection-CK6jg9jH.js → SpacingSystemSection-CM2yZGzx.js} +1 -1
- package/documentation/{SpinnerSection-CBRlzSBA.js → SpinnerSection-DnpC2ob0.js} +1 -1
- package/documentation/{SpinnerSection-wKxUxjQH.js → SpinnerSection-NFH_Mw6g.js} +1 -1
- package/documentation/{StandaloneAppSection-4dc8jrdZ.js → StandaloneAppSection-CKCgLLAV.js} +1 -1
- package/documentation/{StandaloneAppSection-3DzBLpFt.js → StandaloneAppSection-CwGKuVZU.js} +1 -1
- package/documentation/StepperSection-Cpn220R1.js +28 -0
- package/documentation/StepperSection-efW1NQ0f.js +146 -0
- package/documentation/{SwitchSection-BlYqsAPJ.js → SwitchSection-DcFWtiXd.js} +1 -1
- package/documentation/{SwitchSection-vGxo1SYH.js → SwitchSection-r9KfUNlh.js} +1 -1
- package/documentation/{SystemOverviewSection-BtnucKsr.js → SystemOverviewSection-CYy8IBpL.js} +1 -1
- package/documentation/{SystemOverviewSection-1lSFqKae.js → SystemOverviewSection-GvLXbZUI.js} +1 -1
- package/documentation/TabModalSection-BggXWh_W.js +160 -0
- package/documentation/TabModalSection-Cu5hFvsO.js +51 -0
- package/documentation/{TabSection-B7wJPrFH.js → TabSection-BFaE_l9I.js} +1 -1
- package/documentation/{TabSection-BTGIy9BT.js → TabSection-CnB-uDch.js} +1 -1
- package/documentation/{TabSelectSection-B8ohYHOK.js → TabSelectSection-DPLfLMP_.js} +1 -1
- package/documentation/{TabSelectSection-DNb8f96f.js → TabSelectSection-Hg0rgmfI.js} +1 -1
- package/documentation/{TailwindConfigSection-dxsLjDuJ.js → TailwindConfigSection-DiwkqCaZ.js} +1 -1
- package/documentation/{TailwindConfigSection-xK7ymNHB.js → TailwindConfigSection-kpvPxjFu.js} +1 -1
- package/documentation/{TestingSection-D97U6rzs.js → TestingSection-B-NhLP3B.js} +1 -1
- package/documentation/{TestingSection-DqHtOy40.js → TestingSection-B_5gO0Fu.js} +1 -1
- package/documentation/{TextareaSection-LoLfm6tE.js → TextareaSection-CFMrk7-d.js} +1 -1
- package/documentation/{TextareaSection-cq-8Cb4V.js → TextareaSection-CGX7U5z3.js} +1 -1
- package/documentation/{ThemeArchitectureSection-D3s-iFek.js → ThemeArchitectureSection-BJtQp08X.js} +1 -1
- package/documentation/{ThemeArchitectureSection-kTqICQZj.js → ThemeArchitectureSection-C_KTw0Qt.js} +1 -1
- package/documentation/{ThemeConfigurationSection-DKZz_tZ0.js → ThemeConfigurationSection-D4gMbMaH.js} +1 -1
- package/documentation/{ThemeConfigurationSection-CIorDmNk.js → ThemeConfigurationSection-D5cShR_I.js} +1 -1
- package/documentation/{ThemeHooksSection-D-mw-Fbu.js → ThemeHooksSection-CtBPmTwz.js} +1 -1
- package/documentation/{ThemeHooksSection-C0sZ6k8a.js → ThemeHooksSection-DGjLuf9f.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-macU3-6q.js → ThemeProviderIntegrationSection-DD9vba4U.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-BfBFuERd.js → ThemeProviderIntegrationSection-fjJyMnVI.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-CqDOwaWl.js → ThemeProviderRequiredSection-C51pFaD_.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-BRbwv1wN.js → ThemeProviderRequiredSection-DCwcEDEB.js} +1 -1
- package/documentation/{ThemeProviderSection-CTuv8EQA.js → ThemeProviderSection-Cdh5f9CQ.js} +1 -1
- package/documentation/{ThemeProviderSection-C8LEFOeB.js → ThemeProviderSection-Duhj0yh7.js} +1 -1
- package/documentation/{ToastSection-DxGzUQ0D.js → ToastSection-BWOj7sNT.js} +1 -1
- package/documentation/{ToastSection-DEW_viBi.js → ToastSection-Dp7uB84m.js} +8 -8
- package/documentation/{ToggleBarSection-CtsOxytE.js → ToggleBarSection-BK9vLumq.js} +1 -1
- package/documentation/{ToggleBarSection-CYRd5M5m.js → ToggleBarSection-CzR5L8Y8.js} +3 -3
- package/documentation/{TooltipSection-TVehrFpU.js → TooltipSection-CloPvZtN.js} +1 -1
- package/documentation/{TooltipSection-Cp-pLWvr.js → TooltipSection-JAMTIcdS.js} +1 -1
- package/documentation/{TopupButtonSection-Be5-YogI.js → TopupButtonSection-FiGGvfi9.js} +1 -1
- package/documentation/{TopupButtonSection-ByokZIdo.js → TopupButtonSection-WiC-0mrT.js} +1 -1
- package/documentation/{TransactionInfoSection-Q0JJsVQv.js → TransactionInfoSection-D43Gb2b8.js} +1 -1
- package/documentation/{TransactionInfoSection-BhNuZ4JD.js → TransactionInfoSection-pX2z0iup.js} +1 -1
- package/documentation/{TucuUiLogoSection-BDLv3mOn.js → TucuUiLogoSection-d28S8hsX.js} +1 -1
- package/documentation/{TucuUiLogoSection-98Bljk0Z.js → TucuUiLogoSection-oaz7vviE.js} +1 -1
- package/documentation/{TypographySection-Ck4yMFUP.js → TypographySection-CBOFOuPJ.js} +1 -1
- package/documentation/{TypographySection-CkyzEMXb.js → TypographySection-CYzZMbJZ.js} +1 -1
- package/documentation/{TypographySection-DkMPevk3.js → TypographySection-DgOacz6E.js} +1 -1
- package/documentation/{TypographySection-DQEpFmuX.js → TypographySection-mRBm_W87.js} +1 -1
- package/documentation/{UsageExamplesSection-rqFkSypt.js → UsageExamplesSection-BpeAxuRy.js} +1 -1
- package/documentation/{UsageExamplesSection-Cbl0byP_.js → UsageExamplesSection-YCUalwoy.js} +1 -1
- package/documentation/{UsingThemeSystemSection-CEXOimAv.js → UsingThemeSystemSection-CWP2ZSK6.js} +1 -1
- package/documentation/{UsingThemeSystemSection-ZxdD8koK.js → UsingThemeSystemSection-DjdvzaI0.js} +1 -1
- package/documentation/{ValidationSystemSection-Dvtm4jJR.js → ValidationSystemSection-BQz23Z_H.js} +1 -1
- package/documentation/{ValidationSystemSection-DN97qk1X.js → ValidationSystemSection-mvUzquI0.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-ichWLxLa.js → WCAGPrinciplesSection-BfHyxkEp.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-CgrjWEgm.js → WCAGPrinciplesSection-WNmPduXY.js} +1 -1
- package/hooks/use-scrollable-slider.d.ts +3 -3
- package/index-DWDrAbog.js +1137 -0
- package/{index-DsiBIFwo.js → index-kms4xY-n.js} +39353 -30843
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +337 -321
- package/package.json +2 -3
- package/themes/components/theme-provider/index.d.ts +3 -2
- package/themes/router/components/standalone-app-routes-provider.d.ts +2 -2
- package/collection-1-BIsLOX9N.js +0 -1
- package/documentation/CollectionCardSection-BPILGSjR.js +0 -17
- package/documentation/CollectionCardSection-Cowt-8gl.js +0 -61
- package/documentation/CollectionSelectListSection-BUyInNdh.js +0 -14
- package/documentation/CollectionSelectListSection-C1hTywH1.js +0 -60
- package/documentation/DrawerSection-Ddkq7twy.js +0 -41
- package/documentation/NFTGridSection-CUDnvifG.js +0 -11
- package/documentation/NFTGridSection-DMCh4Qbs.js +0 -56
- package/documentation/SelectSection-RN83Da8P.js +0 -20
- package/index-D874Kozv.js +0 -1060
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,110 @@ 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
|
+
|
|
8
112
|
## [2.0.3] - 2026-02-25
|
|
9
113
|
|
|
10
114
|
### Added
|
|
@@ -448,6 +552,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
448
552
|
|
|
449
553
|
## Version History
|
|
450
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
|
|
451
556
|
- **2.0.3** - Removed Storybook, new Tooltip component, major theme/component refactoring, migrated from Jest to Vitest, upgraded Nx to 22.5.2
|
|
452
557
|
- **2.0.2** - Responsive navigation menu improvements with dynamic text sizing
|
|
453
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
|
|
@@ -458,6 +563,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
458
563
|
|
|
459
564
|
## Migration Notes
|
|
460
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
|
+
|
|
461
578
|
### Version 2.0.3 Migration
|
|
462
579
|
|
|
463
580
|
If you're upgrading from version 2.0.2 to 2.0.3:
|
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
|
|
|
@@ -33,6 +33,10 @@ Complete Lucide React integration + 97+ custom-designed icons including blockcha
|
|
|
33
33
|
|
|
34
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
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
|
+
|
|
36
40
|
### **♿ Accessibility First**
|
|
37
41
|
|
|
38
42
|
WCAG 2.1 AA compliant components with proper ARIA attributes and keyboard navigation.
|
|
@@ -74,7 +78,7 @@ All utilities are configured through optimized `@source inline()` directives for
|
|
|
74
78
|
|
|
75
79
|
Built on industry-leading libraries for maximum reliability:
|
|
76
80
|
|
|
77
|
-
- **[React
|
|
81
|
+
- **[React 19+](https://react.dev/)** - Modern React with hooks and concurrent features
|
|
78
82
|
- **[TypeScript](https://www.typescriptlang.org/)** - Full type safety and excellent DX
|
|
79
83
|
- **[Tailwind CSS v4](https://tailwindcss.com/)** - Complete Tailwind v4 integration included with all utilities pre-configured
|
|
80
84
|
- **[React Hook Form](https://react-hook-form.com/)** - Performant form handling and validation
|
|
@@ -1039,7 +1043,8 @@ Tucu UI includes comprehensive documentation pages to help you get started:
|
|
|
1039
1043
|
- **Hooks Utilities** - Custom React hooks for common patterns
|
|
1040
1044
|
- **Accessibility** - WCAG 2.1 AA compliance and best practices
|
|
1041
1045
|
- **Components** - Component library overview and usage patterns
|
|
1042
|
-
- **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)
|
|
1043
1048
|
- **Input Components** - 11+ form input components
|
|
1044
1049
|
- **Blockchain Components** - 9+ specialized DeFi/Web3 components
|
|
1045
1050
|
- **Form System** - Complete form solution with validation
|
|
@@ -1355,7 +1360,7 @@ tucu-ui/
|
|
|
1355
1360
|
├── ui/
|
|
1356
1361
|
│ └── tucu-ui/ # Main library (@e-burgos/tucu-ui)
|
|
1357
1362
|
│ ├── src/
|
|
1358
|
-
│ │ ├── components/ # All UI components (
|
|
1363
|
+
│ │ ├── components/ # All UI components (85+)
|
|
1359
1364
|
│ │ ├── hooks/ # Utility hooks
|
|
1360
1365
|
│ │ ├── themes/ # Theme system (Zustand + CSS tokens)
|
|
1361
1366
|
│ │ └── styles.css # Tailwind CSS v4 configuration
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PieDataPoint } from '../types';
|
|
2
|
+
export interface PieChartProps {
|
|
3
|
+
data: PieDataPoint[];
|
|
4
|
+
height?: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
donut?: boolean;
|
|
7
|
+
showLabels?: boolean;
|
|
8
|
+
showTooltip?: boolean;
|
|
9
|
+
showLegend?: boolean;
|
|
10
|
+
animate?: boolean;
|
|
11
|
+
innerContent?: React.ReactNode;
|
|
12
|
+
emptyMessage?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function PieChart({ data, height, className, donut, showLabels, showTooltip, showLegend, animate, innerContent, emptyMessage, }: PieChartProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { RadarDataPoint } from '../types';
|
|
2
|
+
export interface RadarChartProps {
|
|
3
|
+
data: RadarDataPoint[];
|
|
4
|
+
series: {
|
|
5
|
+
dataKey: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
}[];
|
|
9
|
+
height?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
showTooltip?: boolean;
|
|
12
|
+
showLegend?: boolean;
|
|
13
|
+
fillOpacity?: number;
|
|
14
|
+
animate?: boolean;
|
|
15
|
+
emptyMessage?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function RadarChart({ data, series, height, className, showTooltip, showLegend, fillOpacity, animate, emptyMessage, }: RadarChartProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface ChartDataPoint {
|
|
2
|
+
name: string;
|
|
3
|
+
[key: string]: string | number | null | undefined;
|
|
4
|
+
}
|
|
5
|
+
export interface ChartSeries {
|
|
6
|
+
dataKey: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
color?: string;
|
|
9
|
+
type?: 'line' | 'bar' | 'area';
|
|
10
|
+
strokeDasharray?: string;
|
|
11
|
+
fillOpacity?: number;
|
|
12
|
+
stackId?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ChartBaseProps {
|
|
15
|
+
data: ChartDataPoint[];
|
|
16
|
+
height?: number;
|
|
17
|
+
className?: string;
|
|
18
|
+
showGrid?: boolean;
|
|
19
|
+
showTooltip?: boolean;
|
|
20
|
+
showLegend?: boolean;
|
|
21
|
+
animate?: boolean;
|
|
22
|
+
emptyMessage?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface PieDataPoint {
|
|
25
|
+
name: string;
|
|
26
|
+
value: number;
|
|
27
|
+
color?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface RadarDataPoint {
|
|
30
|
+
subject: string;
|
|
31
|
+
[key: string]: string | number;
|
|
32
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export * from './avatar';
|
|
2
2
|
export * from './badge';
|
|
3
3
|
export * from './collapse';
|
|
4
|
+
export * from './key-value-row';
|
|
5
|
+
export * from './pagination';
|
|
4
6
|
export * from './scrollbar';
|
|
5
7
|
export * from './scrollbar-native';
|
|
6
8
|
export * from './skeleton';
|
|
9
|
+
export * from './stepper';
|
|
7
10
|
export * from './tooltip';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface KeyValueRowProps {
|
|
2
|
+
label: string;
|
|
3
|
+
value: React.ReactNode;
|
|
4
|
+
mono?: boolean;
|
|
5
|
+
accent?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function KeyValueRow({ label, value, mono, accent, className, }: KeyValueRowProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default KeyValueRow;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface PaginationProps {
|
|
2
|
+
currentPage: number;
|
|
3
|
+
totalPages: number;
|
|
4
|
+
onPageChange: (page: number) => void;
|
|
5
|
+
windowSize?: number;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function Pagination({ currentPage, totalPages, onPageChange, windowSize, className, }: PaginationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export default Pagination;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface StepperStep {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export interface StepperProps {
|
|
7
|
+
steps: StepperStep[];
|
|
8
|
+
currentStep: number;
|
|
9
|
+
onStepChange?: (step: number) => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function Stepper({ steps, currentStep, onStepChange, className, }: StepperProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default Stepper;
|
|
@@ -5,4 +5,4 @@ export interface DrawerContainerProps {
|
|
|
5
5
|
position?: 'left' | 'right';
|
|
6
6
|
backdrop?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare function DrawerContainer({ isOpen, setIsOpen, children, position, backdrop, }: DrawerContainerProps): import('react').ReactElement<
|
|
8
|
+
export declare function DrawerContainer({ isOpen, setIsOpen, children, position, backdrop, }: DrawerContainerProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface TabModalTab {
|
|
2
|
+
/** Lucide icon component (e.g. Activity, BarChart3) */
|
|
3
|
+
icon?: React.ElementType;
|
|
4
|
+
name: string;
|
|
5
|
+
content: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface TabModalButton {
|
|
8
|
+
label: string;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
}
|
|
11
|
+
export interface TabModalProps {
|
|
12
|
+
/** Lucide icon component rendered in the header */
|
|
13
|
+
icon?: React.ElementType;
|
|
14
|
+
title?: string;
|
|
15
|
+
subtitle?: string;
|
|
16
|
+
/** Badge text rendered next to the title (e.g. "SANDBOX", "LIVE") */
|
|
17
|
+
badgeHeader?: string;
|
|
18
|
+
/** Extra Tailwind classes applied to the badge element */
|
|
19
|
+
badgeHeaderClassName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Array of tabs. If provided (and `content` is not), renders a tab bar.
|
|
22
|
+
* Each tab's `content` is shown when that tab is active.
|
|
23
|
+
*/
|
|
24
|
+
tabs?: TabModalTab[];
|
|
25
|
+
/**
|
|
26
|
+
* Direct content. When provided, the tab bar is hidden and this content
|
|
27
|
+
* fills the body directly.
|
|
28
|
+
*/
|
|
29
|
+
content?: React.ReactNode;
|
|
30
|
+
/** Text shown on the left side of the footer */
|
|
31
|
+
footerLabel?: string;
|
|
32
|
+
/** Primary action button (right side of footer) */
|
|
33
|
+
successButton?: TabModalButton;
|
|
34
|
+
/** Secondary close button (right side of footer). Defaults to onClose if omitted. */
|
|
35
|
+
closeButton?: TabModalButton;
|
|
36
|
+
/** Label for the default close button. Defaults to 'Close'. */
|
|
37
|
+
closeLabel?: string;
|
|
38
|
+
onClose: () => void;
|
|
39
|
+
className?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare function TabModal({ icon: HeaderIcon, title, subtitle, badgeHeader, badgeHeaderClassName, tabs, content, footerLabel, successButton, closeButton, closeLabel: closeLabelProp, onClose, className, }: TabModalProps): import('react').ReactPortal;
|
package/components/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ForwardedRef } from 'react';
|
|
2
1
|
export declare const acceptedFileType: {
|
|
3
2
|
img: string;
|
|
4
3
|
pdf: string;
|
|
@@ -32,13 +31,8 @@ export interface FileInputProps extends Omit<React.InputHTMLAttributes<HTMLInput
|
|
|
32
31
|
/** Pass containerClassName to style the container */
|
|
33
32
|
containerClassName?: string;
|
|
34
33
|
}
|
|
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
|
-
* Here is the API documentation of Upload component. Rest of the props are same as html input field.
|
|
38
|
-
* You can use props like `disabled`, `multiple`, `capture` etc.
|
|
39
|
-
*/
|
|
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
34
|
declare const FileInputWithRef: import('react').ForwardRefExoticComponent<FileInputProps & {
|
|
42
35
|
children?: import('react').ReactNode | undefined;
|
|
43
36
|
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
44
37
|
export default FileInputWithRef;
|
|
38
|
+
export { FileInputWithRef as FileInput };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SelectOption } from './select';
|
|
3
|
-
export
|
|
3
|
+
export interface InputSearcherProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
|
|
4
4
|
label?: string;
|
|
5
5
|
initialValue?: string | number;
|
|
6
6
|
onOptionSelect?: (option: SelectOption | SelectOption[]) => void;
|
|
@@ -9,5 +9,6 @@ export declare function InputSearcher({ label, onOptionSelect, options, initialV
|
|
|
9
9
|
multiple?: boolean;
|
|
10
10
|
variant?: 'ghost' | 'solid' | 'transparent';
|
|
11
11
|
disabled?: boolean;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
|
+
export declare function InputSearcher({ label, onOptionSelect, options, initialValue, noMatchesMessage, multiple, variant, disabled, ...props }: InputSearcherProps): import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default InputSearcher;
|