@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
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { jsxs as s, Fragment as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as r, C as a, a as t, n as l, c as d, P as m, A as h } from "../index-kms4xY-n.js";
|
|
3
|
+
import "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const n = [
|
|
8
|
+
{ name: "Chrome", value: 62 },
|
|
9
|
+
{ name: "Safari", value: 19 },
|
|
10
|
+
{ name: "Firefox", value: 10 },
|
|
11
|
+
{ name: "Edge", value: 6 },
|
|
12
|
+
{ name: "Other", value: 3 }
|
|
13
|
+
], N = () => /* @__PURE__ */ s(o, { children: [
|
|
14
|
+
/* @__PURE__ */ s("div", { className: "text-center space-y-4", children: [
|
|
15
|
+
/* @__PURE__ */ e(r, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "PieChart" }),
|
|
16
|
+
/* @__PURE__ */ e(
|
|
17
|
+
r,
|
|
18
|
+
{
|
|
19
|
+
tag: "p",
|
|
20
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
21
|
+
children: "Pie and donut chart component for displaying proportions and distributions with labels and inner content support."
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
] }),
|
|
25
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Basic Pie Chart", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(l, { data: n, height: 300 }) }) }) }),
|
|
26
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Donut Chart", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(l, { data: n, donut: !0, height: 300 }) }) }) }),
|
|
27
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Donut with Inner Content", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
28
|
+
l,
|
|
29
|
+
{
|
|
30
|
+
data: n,
|
|
31
|
+
donut: !0,
|
|
32
|
+
height: 300,
|
|
33
|
+
innerContent: /* @__PURE__ */ s("div", { className: "text-center", children: [
|
|
34
|
+
/* @__PURE__ */ e("p", { className: "text-2xl font-bold", children: "100%" }),
|
|
35
|
+
/* @__PURE__ */ e("p", { className: "text-sm text-gray-500", children: "Total" })
|
|
36
|
+
] })
|
|
37
|
+
}
|
|
38
|
+
) }) }) }),
|
|
39
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Without Labels", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(l, { data: n, showLabels: !1, height: 300 }) }) }) }),
|
|
40
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Usage", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
41
|
+
d,
|
|
42
|
+
{
|
|
43
|
+
code: `import { PieChart } from '@e-burgos/tucu-ui';
|
|
44
|
+
|
|
45
|
+
const data = [
|
|
46
|
+
{ name: 'Chrome', value: 62 },
|
|
47
|
+
{ name: 'Safari', value: 19 },
|
|
48
|
+
{ name: 'Firefox', value: 10 },
|
|
49
|
+
{ name: 'Edge', value: 6 },
|
|
50
|
+
{ name: 'Other', value: 3 },
|
|
51
|
+
];
|
|
52
|
+
|
|
53
|
+
<PieChart
|
|
54
|
+
data={data}
|
|
55
|
+
height={300}
|
|
56
|
+
donut
|
|
57
|
+
showLabels
|
|
58
|
+
showTooltip
|
|
59
|
+
showLegend
|
|
60
|
+
innerContent={<p>Center</p>}
|
|
61
|
+
/>`,
|
|
62
|
+
language: "tsx"
|
|
63
|
+
}
|
|
64
|
+
) }) }) }),
|
|
65
|
+
/* @__PURE__ */ e(
|
|
66
|
+
m,
|
|
67
|
+
{
|
|
68
|
+
componentName: "PieChart",
|
|
69
|
+
defaultValues: {
|
|
70
|
+
height: 300,
|
|
71
|
+
donut: !1,
|
|
72
|
+
showLabels: !0,
|
|
73
|
+
showTooltip: !0,
|
|
74
|
+
showLegend: !0,
|
|
75
|
+
animate: !0
|
|
76
|
+
},
|
|
77
|
+
excludeProps: [
|
|
78
|
+
"data",
|
|
79
|
+
"colors",
|
|
80
|
+
"className",
|
|
81
|
+
"innerContent",
|
|
82
|
+
"emptyMessage"
|
|
83
|
+
],
|
|
84
|
+
children: (i) => /* @__PURE__ */ e(l, { data: n, ...i })
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ e(h, { componentName: "PieChart" })
|
|
88
|
+
] });
|
|
89
|
+
export {
|
|
90
|
+
N as default
|
|
91
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=[{name:"Chrome",value:62},{name:"Safari",value:19},{name:"Firefox",value:10},{name:"Edge",value:6},{name:"Other",value:3}],r=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(a.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"PieChart"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Pie and donut chart component for displaying proportions and distributions with labels and inner content support."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Pie Chart",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Donut Chart",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,donut:!0,height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Donut with Inner Content",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,donut:!0,height:300,innerContent:e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-2xl font-bold",children:"100%"}),e.jsx("p",{className:"text-sm text-gray-500",children:"Total"})]})})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Without Labels",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,showLabels:!1,height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Usage",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{code:`import { PieChart } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
const data = [
|
|
4
|
+
{ name: 'Chrome', value: 62 },
|
|
5
|
+
{ name: 'Safari', value: 19 },
|
|
6
|
+
{ name: 'Firefox', value: 10 },
|
|
7
|
+
{ name: 'Edge', value: 6 },
|
|
8
|
+
{ name: 'Other', value: 3 },
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
<PieChart
|
|
12
|
+
data={data}
|
|
13
|
+
height={300}
|
|
14
|
+
donut
|
|
15
|
+
showLabels
|
|
16
|
+
showTooltip
|
|
17
|
+
showLegend
|
|
18
|
+
innerContent={<p>Center</p>}
|
|
19
|
+
/>`,language:"tsx"})})})}),e.jsx(a.PropPlayground,{componentName:"PieChart",defaultValues:{height:300,donut:!1,showLabels:!0,showTooltip:!0,showLegend:!0,animate:!0},excludeProps:["data","colors","className","innerContent","emptyMessage"],children:s=>e.jsx(a.PieChart,{data:t,...s})}),e.jsx(a.AutoPropsTable,{componentName:"PieChart"})]});exports.default=r;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as t } from "react";
|
|
3
|
-
import { T as l, C as i, a as r,
|
|
3
|
+
import { T as l, C as i, a as r, s, A as h, c as m } from "../index-kms4xY-n.js";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),s=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react-dom");const l=()=>{const[a,i]=n.useState("");return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(s.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"PinCode"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A pin code input component for entering numeric codes digit by digit."})]}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"4 Digit PinCode"}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Pin Code"}),e.jsx(s.PinCode,{length:4,value:a,onChange:i})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"6 Digit PinCode"}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Verification Code"}),e.jsx(s.PinCode,{length:6,value:a,onChange:i})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Security Code"}),e.jsx(s.PinCode,{length:4,helperText:"Enter the 4-digit code",value:a,onChange:i})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Pin Code"}),e.jsx(s.PinCode,{length:4,error:"Invalid pin code",value:a,onChange:i})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Pin Code"}),e.jsx(s.PinCode,{length:4,disabled:!0})]})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Ghost (default)"}),e.jsx(s.PinCode,{length:4,variant:"ghost"})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Solid"}),e.jsx(s.PinCode,{length:4,variant:"solid"})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Transparent"}),e.jsx(s.PinCode,{length:4,variant:"transparent"})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Colors & Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Different Colors"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-1 text-xs",children:"Primary"}),e.jsx(s.PinCode,{length:4,color:"primary"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-1 text-xs",children:"Danger"}),e.jsx(s.PinCode,{length:4,color:"danger"})]})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Different Sizes"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-1 text-xs",children:"Small"}),e.jsx(s.PinCode,{length:4,size:"sm"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-1 text-xs",children:"Medium"}),e.jsx(s.PinCode,{length:4,size:"md"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-1 text-xs",children:"Large"}),e.jsx(s.PinCode,{length:4,size:"lg"})]})]})]})]})})})}),e.jsx(s.AutoPropsTable,{componentName:"PinCode"}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.CodeBlock,{language:"tsx",code:`import { PinCode } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
<PinCode
|
|
4
4
|
length={4}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("react"),e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("react"),e=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react-dom");const o=()=>{const[r,a]=i.useState(45);return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"text-center space-y-4",children:[s.jsx(e.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Progressbar"}),s.jsx(e.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A progress bar component for displaying completion status with customizable colors, sizes, and variants."})]}),s.jsx(e.CardContainer,{className:"overflow-hidden",children:s.jsx(e.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:s.jsx("div",{className:"w-full p-4 sm:p-6",children:s.jsxs("div",{className:"space-y-4",children:[s.jsxs(e.CardContainer,{className:"p-4",children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Basic Progressbar"}),s.jsx(e.Progressbar,{value:r})]}),s.jsxs(e.CardContainer,{className:"p-4",children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Label"}),s.jsx(e.Progressbar,{value:r,label:`${r}%`,size:"xl"})]}),s.jsxs(e.CardContainer,{className:"p-4",children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Interactive Example"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(e.Progressbar,{value:r,label:`${r}%`,size:"xl"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("button",{onClick:()=>a(Math.max(0,r-10)),className:"px-3 py-1 bg-light-dark rounded border border-gray-300 dark:border-gray-600 hover:opacity-80 transition-opacity",children:"-10"}),s.jsx("button",{onClick:()=>a(Math.min(100,r+10)),className:"px-3 py-1 bg-light-dark rounded border border-gray-300 dark:border-gray-600 hover:opacity-80 transition-opacity",children:"+10"})]})]})]})]})})})}),s.jsx(e.CardContainer,{className:"overflow-hidden",children:s.jsx(e.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:s.jsx("div",{className:"w-full p-4 sm:p-6",children:s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Colors"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(e.Progressbar,{value:60,color:"primary"}),s.jsx(e.Progressbar,{value:60,color:"success"}),s.jsx(e.Progressbar,{value:60,color:"danger"}),s.jsx(e.Progressbar,{value:60,color:"info"}),s.jsx(e.Progressbar,{value:60,color:"warning"})]})]}),s.jsxs("div",{children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Variants"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(e.Progressbar,{value:60,variant:"solid"}),s.jsx(e.Progressbar,{value:60,variant:"flat"})]})]}),s.jsxs("div",{children:[s.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Sizes"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(e.Progressbar,{value:60,size:"sm"}),s.jsx(e.Progressbar,{value:60,size:"DEFAULT"}),s.jsx(e.Progressbar,{value:60,size:"lg"}),s.jsx(e.Progressbar,{value:60,size:"xl"})]})]})]})})})}),s.jsx(e.PropPlayground,{componentName:"Progressbar",defaultValues:{value:65,variant:"solid",size:"DEFAULT",color:"primary",rounded:"DEFAULT"},excludeProps:["label","barClassName","labelClassName"],children:l=>s.jsx("div",{className:"w-full",children:s.jsx(e.Progressbar,{...l})})}),s.jsx(e.AutoPropsTable,{componentName:"Progressbar"}),s.jsx(e.CardContainer,{className:"overflow-hidden",children:s.jsx(e.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:s.jsx("div",{className:"w-full p-4 sm:p-6",children:s.jsx(e.CodeBlock,{language:"tsx",code:`import { Progressbar } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<Progressbar value={45} />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as e, Fragment as d, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { T as s, C as i, a as o,
|
|
3
|
+
import { T as s, C as i, a as o, ab as r, P as m, A as h, c as u } from "../index-kms4xY-n.js";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=[{subject:"Performance",teamA:85,teamB:70,teamC:60},{subject:"Reliability",teamA:90,teamB:80,teamC:75},{subject:"Scalability",teamA:70,teamB:85,teamC:90},{subject:"Security",teamA:95,teamB:75,teamC:80},{subject:"Usability",teamA:80,teamB:90,teamC:70},{subject:"Efficiency",teamA:75,teamB:65,teamC:85}],r=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(a.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"RadarChart"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Radar chart component for comparing multiple variables across categories, ideal for skill assessments and performance comparisons."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Radar Chart",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.RadarChart,{data:t,series:[{dataKey:"teamA",name:"Team A"}],height:350})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Multiple Series Comparison",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.RadarChart,{data:t,series:[{dataKey:"teamA",name:"Team A"},{dataKey:"teamB",name:"Team B"},{dataKey:"teamC",name:"Team C"}],height:350})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Higher Fill Opacity",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.RadarChart,{data:t,series:[{dataKey:"teamA",name:"Team A"},{dataKey:"teamB",name:"Team B"}],fillOpacity:.6,height:350})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Usage",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{code:`import { RadarChart } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
const data = [
|
|
4
|
+
{ subject: 'Performance', teamA: 85, teamB: 70 },
|
|
5
|
+
{ subject: 'Reliability', teamA: 90, teamB: 80 },
|
|
6
|
+
{ subject: 'Scalability', teamA: 70, teamB: 85 },
|
|
7
|
+
{ subject: 'Security', teamA: 95, teamB: 75 },
|
|
8
|
+
{ subject: 'Usability', teamA: 80, teamB: 90 },
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
<RadarChart
|
|
12
|
+
data={data}
|
|
13
|
+
series={[
|
|
14
|
+
{ dataKey: 'teamA', name: 'Team A' },
|
|
15
|
+
{ dataKey: 'teamB', name: 'Team B' },
|
|
16
|
+
]}
|
|
17
|
+
height={350}
|
|
18
|
+
fillOpacity={0.3}
|
|
19
|
+
showTooltip
|
|
20
|
+
showLegend
|
|
21
|
+
/>`,language:"tsx"})})})}),e.jsx(a.PropPlayground,{componentName:"RadarChart",defaultValues:{height:350,fillOpacity:.3,showTooltip:!0,showLegend:!0,animate:!0},excludeProps:["data","series","colors","className","emptyMessage"],children:s=>e.jsx(a.RadarChart,{data:t,series:[{dataKey:"teamA",name:"Team A"},{dataKey:"teamB",name:"Team B"}],...s})}),e.jsx(a.AutoPropsTable,{componentName:"RadarChart"})]});exports.default=r;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { jsxs as r, Fragment as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { T as i, C as e, a as t, R as m, c as d, P as o, A as n } from "../index-kms4xY-n.js";
|
|
3
|
+
import "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const s = [
|
|
8
|
+
{ subject: "Performance", teamA: 85, teamB: 70, teamC: 60 },
|
|
9
|
+
{ subject: "Reliability", teamA: 90, teamB: 80, teamC: 75 },
|
|
10
|
+
{ subject: "Scalability", teamA: 70, teamB: 85, teamC: 90 },
|
|
11
|
+
{ subject: "Security", teamA: 95, teamB: 75, teamC: 80 },
|
|
12
|
+
{ subject: "Usability", teamA: 80, teamB: 90, teamC: 70 },
|
|
13
|
+
{ subject: "Efficiency", teamA: 75, teamB: 65, teamC: 85 }
|
|
14
|
+
], A = () => /* @__PURE__ */ r(c, { children: [
|
|
15
|
+
/* @__PURE__ */ r("div", { className: "text-center space-y-4", children: [
|
|
16
|
+
/* @__PURE__ */ a(i, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "RadarChart" }),
|
|
17
|
+
/* @__PURE__ */ a(
|
|
18
|
+
i,
|
|
19
|
+
{
|
|
20
|
+
tag: "p",
|
|
21
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
22
|
+
children: "Radar chart component for comparing multiple variables across categories, ideal for skill assessments and performance comparisons."
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ a(e, { className: "overflow-hidden", children: /* @__PURE__ */ a(t, { title: "Basic Radar Chart", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a(
|
|
27
|
+
m,
|
|
28
|
+
{
|
|
29
|
+
data: s,
|
|
30
|
+
series: [{ dataKey: "teamA", name: "Team A" }],
|
|
31
|
+
height: 350
|
|
32
|
+
}
|
|
33
|
+
) }) }) }),
|
|
34
|
+
/* @__PURE__ */ a(e, { className: "overflow-hidden", children: /* @__PURE__ */ a(t, { title: "Multiple Series Comparison", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a(
|
|
35
|
+
m,
|
|
36
|
+
{
|
|
37
|
+
data: s,
|
|
38
|
+
series: [
|
|
39
|
+
{ dataKey: "teamA", name: "Team A" },
|
|
40
|
+
{ dataKey: "teamB", name: "Team B" },
|
|
41
|
+
{ dataKey: "teamC", name: "Team C" }
|
|
42
|
+
],
|
|
43
|
+
height: 350
|
|
44
|
+
}
|
|
45
|
+
) }) }) }),
|
|
46
|
+
/* @__PURE__ */ a(e, { className: "overflow-hidden", children: /* @__PURE__ */ a(t, { title: "Higher Fill Opacity", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a(
|
|
47
|
+
m,
|
|
48
|
+
{
|
|
49
|
+
data: s,
|
|
50
|
+
series: [
|
|
51
|
+
{ dataKey: "teamA", name: "Team A" },
|
|
52
|
+
{ dataKey: "teamB", name: "Team B" }
|
|
53
|
+
],
|
|
54
|
+
fillOpacity: 0.6,
|
|
55
|
+
height: 350
|
|
56
|
+
}
|
|
57
|
+
) }) }) }),
|
|
58
|
+
/* @__PURE__ */ a(e, { className: "overflow-hidden", children: /* @__PURE__ */ a(t, { title: "Usage", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a(
|
|
59
|
+
d,
|
|
60
|
+
{
|
|
61
|
+
code: `import { RadarChart } from '@e-burgos/tucu-ui';
|
|
62
|
+
|
|
63
|
+
const data = [
|
|
64
|
+
{ subject: 'Performance', teamA: 85, teamB: 70 },
|
|
65
|
+
{ subject: 'Reliability', teamA: 90, teamB: 80 },
|
|
66
|
+
{ subject: 'Scalability', teamA: 70, teamB: 85 },
|
|
67
|
+
{ subject: 'Security', teamA: 95, teamB: 75 },
|
|
68
|
+
{ subject: 'Usability', teamA: 80, teamB: 90 },
|
|
69
|
+
];
|
|
70
|
+
|
|
71
|
+
<RadarChart
|
|
72
|
+
data={data}
|
|
73
|
+
series={[
|
|
74
|
+
{ dataKey: 'teamA', name: 'Team A' },
|
|
75
|
+
{ dataKey: 'teamB', name: 'Team B' },
|
|
76
|
+
]}
|
|
77
|
+
height={350}
|
|
78
|
+
fillOpacity={0.3}
|
|
79
|
+
showTooltip
|
|
80
|
+
showLegend
|
|
81
|
+
/>`,
|
|
82
|
+
language: "tsx"
|
|
83
|
+
}
|
|
84
|
+
) }) }) }),
|
|
85
|
+
/* @__PURE__ */ a(
|
|
86
|
+
o,
|
|
87
|
+
{
|
|
88
|
+
componentName: "RadarChart",
|
|
89
|
+
defaultValues: {
|
|
90
|
+
height: 350,
|
|
91
|
+
fillOpacity: 0.3,
|
|
92
|
+
showTooltip: !0,
|
|
93
|
+
showLegend: !0,
|
|
94
|
+
animate: !0
|
|
95
|
+
},
|
|
96
|
+
excludeProps: ["data", "series", "colors", "className", "emptyMessage"],
|
|
97
|
+
children: (l) => /* @__PURE__ */ a(
|
|
98
|
+
m,
|
|
99
|
+
{
|
|
100
|
+
data: s,
|
|
101
|
+
series: [
|
|
102
|
+
{ dataKey: "teamA", name: "Team A" },
|
|
103
|
+
{ dataKey: "teamB", name: "Team B" }
|
|
104
|
+
],
|
|
105
|
+
...l
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
/* @__PURE__ */ a(n, { componentName: "RadarChart" })
|
|
111
|
+
] });
|
|
112
|
+
export {
|
|
113
|
+
A as default
|
|
114
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as e, Fragment as c, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
|
-
import { T as o, C as l, a as t,
|
|
3
|
+
import { T as o, C as l, a as t, u as i, A as p, c as m } from "../index-kms4xY-n.js";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),s=require("react"),e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),s=require("react"),e=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react-dom");const t=()=>{const[l,o]=s.useState(""),r=[{value:"male",label:"Male"},{value:"female",label:"Female"},{value:"other",label:"Other"}];return a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx(e.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"RadioGroup"}),a.jsx(e.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A group of radio buttons for selecting one option from multiple choices."})]}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Basic RadioGroup"}),a.jsx(e.RadioGroup,{label:"Gender",options:r,value:l,onChange:i=>o(i)})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),a.jsx(e.RadioGroup,{label:"Size",helperText:"Select your preferred size",options:[{value:"small",label:"Small"},{value:"medium",label:"Medium"},{value:"large",label:"Large"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),a.jsx(e.RadioGroup,{label:"Priority",error:"Please select a priority",options:[{value:"low",label:"Low"},{value:"high",label:"High"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),a.jsx(e.RadioGroup,{label:"Status",disabled:!0,options:[{value:"active",label:"Active"},{value:"inactive",label:"Inactive"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Horizontal Layout"}),a.jsx(e.RadioGroup,{label:"Direction",direction:"horizontal",options:[{value:"vertical",label:"Vertical"},{value:"horizontal",label:"Horizontal"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Different Colors"}),a.jsx(e.RadioGroup,{label:"Color",color:"danger",options:[{value:"red",label:"Red"},{value:"blue",label:"Blue"}]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),a.jsx(e.RadioGroup,{label:"Ghost Variant",variant:"ghost",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),a.jsx(e.RadioGroup,{label:"Solid Variant",variant:"solid",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),a.jsx(e.RadioGroup,{label:"Transparent Variant",variant:"transparent",options:[{value:"opt1",label:"Option 1"},{value:"opt2",label:"Option 2"}]})]})]})})})}),a.jsx(e.AutoPropsTable,{componentName:"RadioGroup"}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.CodeBlock,{language:"typescript",code:`import { RadioGroup } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const options = [
|
|
4
4
|
{ value: 'male', label: 'Male' },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),i=require("react"),e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),i=require("react"),e=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react-dom");const o=()=>{const[l,r]=i.useState("");return a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx(e.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Radio"}),a.jsx(e.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A single radio button component for binary choices."})]}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Basic Radio"}),a.jsx(e.Radio,{label:"Option 1",value:"option1",checked:l==="option1",onChange:s=>r(s.target.value)})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),a.jsx(e.Radio,{label:"Disabled option",value:"disabled",disabled:!0})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Different Colors"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(e.Radio,{label:"Primary",value:"primary",color:"primary"}),a.jsx(e.Radio,{label:"Danger",value:"danger",color:"danger"}),a.jsx(e.Radio,{label:"Success",value:"success",color:"success"})]})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Different Sizes"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(e.Radio,{label:"Small",value:"sm",size:"sm"}),a.jsx(e.Radio,{label:"Medium",value:"md",size:"md"}),a.jsx(e.Radio,{label:"Large",value:"lg",size:"lg"})]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),a.jsx(e.Radio,{label:"Ghost Variant",value:"ghost",variant:"ghost",checked:l==="ghost",onChange:s=>r(s.target.value)})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),a.jsx(e.Radio,{label:"Solid Variant",value:"solid",variant:"solid",checked:l==="solid",onChange:s=>r(s.target.value)})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),a.jsx(e.Radio,{label:"Transparent Variant",value:"transparent",variant:"transparent",checked:l==="transparent",onChange:s=>r(s.target.value)})]})]})})})}),a.jsx(e.AutoPropsTable,{componentName:"Radio"}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.CodeBlock,{language:"tsx",code:`import { Radio } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
<Radio
|
|
4
4
|
label="Option 1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as e, Fragment as c, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { T as i, C as s, a as d,
|
|
3
|
+
import { T as i, C as s, a as d, t as l, A as m, c as h } from "../index-kms4xY-n.js";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as t, C as n, a as o,
|
|
2
|
+
import { T as t, C as n, a as o, ar as l, P as h, A as c, c as d } from "../index-kms4xY-n.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=()=>{const a=e.jsxs("div",{className:"space-y-2",children:[e.jsx(t.Typography,{tag:"p",children:"This is a long piece of content that will be collapsed by default."}),e.jsx(t.Typography,{tag:"p",children:'When the content exceeds the default height, a "Show More" button will appear.'}),e.jsx(t.Typography,{tag:"p",children:"Clicking the button will expand the content to show everything."}),e.jsx(t.Typography,{tag:"p",children:'You can then click "Show Less" to collapse it back to the default height.'}),e.jsx(t.Typography,{tag:"p",children:"This is useful for displaying long descriptions, articles, or any content that might be too long for the initial view."})]});return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(t.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"RevealContent"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:'A component that automatically collapses long content and provides a "Show More" / "Show Less" button.'})]}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Default Height 100px"}),e.jsx(t.RevealContent,{defaultHeight:100,children:a})]}),e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Default Height 150px"}),e.jsx(t.RevealContent,{defaultHeight:150,children:a})]})]})})})}),e.jsx(t.PropPlayground,{componentName:"RevealContent",defaultValues:{defaultHeight:100},excludeProps:[],children:n=>e.jsx(t.RevealContent,{...n,children:e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"This is the first paragraph of content that is initially visible."}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"This second paragraph may be hidden depending on the defaultHeight value."}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"This third paragraph is likely hidden and revealed when expanded."}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"And here is even more content to demonstrate the reveal functionality."})]})})}),e.jsx(t.AutoPropsTable,{componentName:"RevealContent"}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.CodeBlock,{language:"tsx",code:`import { RevealContent, Typography } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<RevealContent defaultHeight={100}>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DWDrAbog.js"),n=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsx("div",{className:"space-y-8",children:e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Route Configuration",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg",children:e.jsx(n.Settings,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"StandaloneAppRoutesMenuItem Interface"})]}),e.jsxs(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:["For single applications, routes are defined using the"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"StandaloneAppRoutesMenuItem"})," ","interface which extends"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"IMenuItem"}),"."]}),e.jsx(t.CodeBlock,{language:"typescript",code:`interface StandaloneAppRoutesMenuItem extends Omit<IMenuItem, 'dropdownItems'> {
|
|
2
2
|
component: JSX.Element; // The component to render
|
|
3
3
|
dropdownItems?: StandaloneAppRoutesMenuItem[]; // Optional sub-routes
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { C as a, a as r, T as n, c as o } from "../index-
|
|
2
|
+
import { C as a, a as r, T as n, c as o } from "../index-kms4xY-n.js";
|
|
3
3
|
import { Settings as i, Play as s } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(o.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"ScrollToTop"}),e.jsx(o.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A utility component that displays a floating button to scroll back to the top of the page. It automatically scrolls to top when the route changes and shows a button when the user scrolls down."})]}),e.jsx(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(o.CardContainer,{className:"p-4",children:[e.jsx(o.Typography,{tag:"h5",className:"mb-3",children:"Default Usage"}),e.jsx(o.Typography,{tag:"p",className:"mb-4",children:"Add this component to your router or app component. By default, it displays a button in the bottom-right corner (24px from edges) that appears when you scroll down more than 400px."}),e.jsx(o.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"The button automatically scrolls to the top when clicked and also scrolls to top whenever the route changes."}),e.jsx("div",{className:"bg-gray-100 dark:bg-gray-800 p-4 rounded-lg",children:e.jsx(o.Typography,{tag:"p",className:"text-sm",children:"Scroll down on this page to see the button appear in the bottom-right corner."})})]}),e.jsxs(o.CardContainer,{className:"p-4",children:[e.jsx(o.Typography,{tag:"h5",className:"mb-3",children:"Custom Position"}),e.jsx(o.Typography,{tag:"p",className:"mb-4",children:"You can customize the button position using the position props."}),e.jsxs("div",{className:"space-y-2 text-sm",children:[e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"top-left:"})," ",e.jsx("code",{children:"<ScrollToTop top={20} left={20} />"})]}),e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"top-right:"})," ",e.jsx("code",{children:"<ScrollToTop top={20} right={20} />"})]}),e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"bottom-left:"})," ",e.jsx("code",{children:"<ScrollToTop bottom={20} left={20} />"})]}),e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"bottom-right:"})," ",e.jsx("code",{children:"<ScrollToTop bottom={20} right={20} />"})]})]})]}),e.jsxs(o.CardContainer,{className:"p-4",children:[e.jsx(o.Typography,{tag:"h5",className:"mb-3",children:"Custom Size and Threshold"}),e.jsx(o.Typography,{tag:"p",className:"mb-4",children:"Control when the button appears and its size."}),e.jsxs("div",{className:"space-y-2 text-sm",children:[e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"Small button:"})," ",e.jsx("code",{children:'<ScrollToTop size="small" />'})]}),e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"Large button:"})," ",e.jsx("code",{children:'<ScrollToTop size="large" />'})]}),e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"Show after 200px:"})," ",e.jsx("code",{children:"<ScrollToTop showAfter={200} />"})]})]})]})]})})})}),e.jsx(o.PropPlayground,{componentName:"ScrollToTop",defaultValues:{size:"large",showAfter:400,bottom:"45%",right:50,behavior:"smooth"},excludeProps:["scrollContainer"],children:t=>e.jsx(o.ScrollToTop,{...t})}),e.jsx(o.AutoPropsTable,{componentName:"ScrollToTop"}),e.jsx(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(o.CodeBlock,{language:"tsx",code:`import { ScrollToTop } from '@e-burgos/tucu-ui';
|
|
2
2
|
import { BrowserRouter } from 'react-router-dom';
|
|
3
3
|
|
|
4
4
|
function App() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as o, C as l, a,
|
|
2
|
+
import { T as o, C as l, a, P as c, as as n, A as i, c as d } from "../index-kms4xY-n.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -83,12 +83,13 @@ const T = () => /* @__PURE__ */ t(s, { children: [
|
|
|
83
83
|
{
|
|
84
84
|
componentName: "ScrollToTop",
|
|
85
85
|
defaultValues: {
|
|
86
|
-
size: "
|
|
86
|
+
size: "large",
|
|
87
87
|
showAfter: 400,
|
|
88
|
-
bottom:
|
|
89
|
-
right:
|
|
88
|
+
bottom: "45%",
|
|
89
|
+
right: 50,
|
|
90
|
+
behavior: "smooth"
|
|
90
91
|
},
|
|
91
|
-
excludeProps: [],
|
|
92
|
+
excludeProps: ["scrollContainer"],
|
|
92
93
|
children: (r) => /* @__PURE__ */ e(n, { ...r })
|
|
93
94
|
}
|
|
94
95
|
),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const c=()=>{const l=Array.from({length:20},(a,s)=>e.jsx("div",{className:"p-4 border-b",children:e.jsxs(r.Typography,{tag:"p",children:["Content item ",s+1]})},s));return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(r.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Scrollbar"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A customizable scrollbar component with auto-hide functionality and custom styling options."})]}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Vertical Scrollbar"}),e.jsx(r.Scrollbar,{className:"h-48",children:e.jsx("div",{children:l.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Auto Hide on Leave"}),e.jsx(r.Scrollbar,{className:"h-48",autoHide:"leave",children:e.jsx("div",{children:l.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Never Hide"}),e.jsx(r.Scrollbar,{className:"h-48",autoHide:"never",children:e.jsx("div",{children:l.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Custom Styled"}),e.jsx(r.Scrollbar,{className:"h-48",scrollbarStyle:{track:{backgroundColor:"transparent"},thumb:{borderRadius:"8px",width:"8px"}},children:e.jsx("div",{children:l.slice(0,10)})})]})]})})})}),e.jsx(r.PropPlayground,{componentName:"Scrollbar",defaultValues:{autoHide:"scroll",direction:"vertical"},excludeProps:["scrollbarStyle","style"],children:a=>e.jsx(r.Scrollbar,{...a,style:{height:200},children:e.jsxs("div",{style:{height:600,padding:16},children:[e.jsx("p",{children:"Scroll down to see more content..."}),e.jsx("p",{style:{marginTop:200},children:"Middle content"}),e.jsx("p",{style:{marginTop:200},children:"End of content"})]})})}),e.jsx(r.AutoPropsTable,{componentName:"Scrollbar"}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(r.CodeBlock,{language:"tsx",code:`import { Scrollbar } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<Scrollbar className="h-48">
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l, Fragment as d } from "react/jsx-runtime";
|
|
2
|
-
import { T as a, C as r, a as
|
|
2
|
+
import { T as a, C as r, a as s, Y as c, P as n, A as m, c as h } from "../index-kms4xY-n.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const x = () => {
|
|
8
|
-
const t = Array.from({ length: 20 }, (
|
|
8
|
+
const t = Array.from({ length: 20 }, (i, o) => /* @__PURE__ */ e("div", { className: "p-4 border-b", children: /* @__PURE__ */ l(a, { tag: "p", children: [
|
|
9
9
|
"Content item ",
|
|
10
|
-
|
|
11
|
-
] }) },
|
|
10
|
+
o + 1
|
|
11
|
+
] }) }, o));
|
|
12
12
|
return /* @__PURE__ */ l(d, { children: [
|
|
13
13
|
/* @__PURE__ */ l("div", { className: "text-center space-y-4", children: [
|
|
14
14
|
/* @__PURE__ */ e(a, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "Scrollbar" }),
|
|
@@ -21,7 +21,7 @@ const x = () => {
|
|
|
21
21
|
}
|
|
22
22
|
)
|
|
23
23
|
] }),
|
|
24
|
-
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(
|
|
24
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(s, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
25
25
|
/* @__PURE__ */ l(r, { className: "p-4", children: [
|
|
26
26
|
/* @__PURE__ */ e(a, { tag: "h5", className: "mb-3", children: "Vertical Scrollbar" }),
|
|
27
27
|
/* @__PURE__ */ e(c, { className: "h-48", children: /* @__PURE__ */ e("div", { children: t.slice(0, 10) }) })
|
|
@@ -55,7 +55,7 @@ const x = () => {
|
|
|
55
55
|
componentName: "Scrollbar",
|
|
56
56
|
defaultValues: { autoHide: "scroll", direction: "vertical" },
|
|
57
57
|
excludeProps: ["scrollbarStyle", "style"],
|
|
58
|
-
children: (
|
|
58
|
+
children: (i) => /* @__PURE__ */ e(c, { ...i, style: { height: 200 }, children: /* @__PURE__ */ l("div", { style: { height: 600, padding: 16 }, children: [
|
|
59
59
|
/* @__PURE__ */ e("p", { children: "Scroll down to see more content..." }),
|
|
60
60
|
/* @__PURE__ */ e("p", { style: { marginTop: 200 }, children: "Middle content" }),
|
|
61
61
|
/* @__PURE__ */ e("p", { style: { marginTop: 200 }, children: "End of content" })
|
|
@@ -63,7 +63,7 @@ const x = () => {
|
|
|
63
63
|
}
|
|
64
64
|
),
|
|
65
65
|
/* @__PURE__ */ e(m, { componentName: "Scrollbar" }),
|
|
66
|
-
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(
|
|
66
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(s, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
67
67
|
h,
|
|
68
68
|
{
|
|
69
69
|
language: "tsx",
|