@e-burgos/tucu-ui 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +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/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/documentation/{APIReferenceSection-h-8Utbap.js → APIReferenceSection-CkbDOII-.js} +1 -1
- package/documentation/{APIReferenceSection-B2oYdmby.js → APIReferenceSection-CpVd3Xjx.js} +1 -1
- package/documentation/{ActiveLinkSection-C95OfpHr.js → ActiveLinkSection-CpzFDISY.js} +1 -1
- package/documentation/{ActiveLinkSection-CdXQGIsJ.js → ActiveLinkSection-DYPp4Zg0.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-BQshRXTc.js → AdvancedColorSystemSection-C8-q7nNW.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-BtpxH8Mu.js → AdvancedColorSystemSection-CODz6Wv7.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-BdL5enY8.js → AdvancedFeaturesSection-CPokeoIR.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-DNsHjabp.js → AdvancedFeaturesSection-CT5LPMRT.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-VcHwYejS.js → AdvancedFeaturesSection-DfczHWMU.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-Ht5TTHY8.js → AdvancedFeaturesSection-wx6bqfbU.js} +1 -1
- package/documentation/{AlertSection-ZNoVAqQG.js → AlertSection-M-ADbyNs.js} +1 -1
- package/documentation/{AlertSection-CkPDRBrP.js → AlertSection-pO3LOWb0.js} +1 -1
- package/documentation/{AnchorLinkSection-BwEq_xXD.js → AnchorLinkSection-DOQLfXNM.js} +11 -11
- package/documentation/{AnchorLinkSection-Db8dVTL1.js → AnchorLinkSection-DrwLaGpe.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-_ICdjaay.js → ArchitecturalPatternsComparisonSection-D3qDb8oV.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-0JvWXvga.js → ArchitecturalPatternsComparisonSection-OgRFV5Gn.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-A86tJq4O.js → ArchitectureOverviewSection-C4SPa6fm.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-J96NVKkD.js → ArchitectureOverviewSection-DJ6szT6V.js} +1 -1
- package/documentation/AreaChartSection-CM7nymKJ.js +22 -0
- package/documentation/AreaChartSection-DdoeVQoB.js +132 -0
- package/documentation/{AuthorCardSection-CYkh23Xg.js → AuthorCardSection-C-tk6Y7D.js} +1 -1
- package/documentation/{AuthorCardSection-BSX9oAo1.js → AuthorCardSection-P8sPh0d7.js} +1 -1
- package/documentation/{AvatarSection-LVqlXwpv.js → AvatarSection-DXJRt7X9.js} +1 -1
- package/documentation/{AvatarSection-BvtKvbAp.js → AvatarSection-KUgwOb7k.js} +1 -1
- package/documentation/{BadgeSection-CeyBqNzE.js → BadgeSection-BDS8NdU8.js} +1 -1
- package/documentation/{BadgeSection-wnv6WJoJ.js → BadgeSection-Da5iTRZq.js} +1 -1
- package/documentation/BarChartSection-CdcAAYG-.js +23 -0
- package/documentation/BarChartSection-EN1OqYoj.js +127 -0
- package/documentation/{BasicTableSection-DHR7wxMf.js → BasicTableSection-B-BGv1Tg.js} +1 -1
- package/documentation/{BasicTableSection-Djqd7GTc.js → BasicTableSection-DZASBtqv.js} +1 -1
- package/documentation/{BasicUsageSection-CAOyX6Rh.js → BasicUsageSection-9USFmdGa.js} +1 -1
- package/documentation/{BasicUsageSection-RB5uqmJE.js → BasicUsageSection-Cyj_uLkj.js} +1 -1
- package/documentation/{BestPracticesSection-DO-w9jZN.js → BestPracticesSection-B9Ok_QEu.js} +1 -1
- package/documentation/{BestPracticesSection-7oPmBTjr.js → BestPracticesSection-Bbsf74bT.js} +1 -1
- package/documentation/{BestPracticesSection-D2ahvfz_.js → BestPracticesSection-BgIFl9EC.js} +1 -1
- package/documentation/{BestPracticesSection-CCUAVucV.js → BestPracticesSection-BwenEe-Y.js} +1 -1
- package/documentation/{BestPracticesSection-Dlv7tr8A.js → BestPracticesSection-CS9RAMVi.js} +1 -1
- package/documentation/{BestPracticesSection-FNEhFmPF.js → BestPracticesSection-CnVEvflQ.js} +1 -1
- package/documentation/{BestPracticesSection-Y7WVzfHX.js → BestPracticesSection-DDSMtR6c.js} +1 -1
- package/documentation/{BestPracticesSection-CrduKU11.js → BestPracticesSection-DIYdJV66.js} +1 -1
- package/documentation/{BestPracticesSection-C72mSxPs.js → BestPracticesSection-DOLkJn-G.js} +1 -1
- package/documentation/{BestPracticesSection-Dki1wap5.js → BestPracticesSection-DYVhfzE6.js} +1 -1
- package/documentation/{BestPracticesSection-BAi4u6sT.js → BestPracticesSection-NsZAn0RE.js} +1 -1
- package/documentation/{BestPracticesSection-DVOUUyCP.js → BestPracticesSection-aJyw2jIF.js} +1 -1
- package/documentation/{BestPracticesSection-De_JKhUW.js → BestPracticesSection-c2rhfHLA.js} +1 -1
- package/documentation/{BestPracticesSection-CfKUd_V5.js → BestPracticesSection-uZIOlRpC.js} +1 -1
- package/documentation/{BorderRadiusSection-B7LfzLmt.js → BorderRadiusSection-BhNShk2O.js} +1 -1
- package/documentation/{BorderRadiusSection-CuLZQqX2.js → BorderRadiusSection-D1lTcnl0.js} +1 -1
- package/documentation/{ButtonDripSection-BaIO6Rop.js → ButtonDripSection-C1vY2CzY.js} +1 -1
- package/documentation/{ButtonDripSection-Rv6xpiKS.js → ButtonDripSection-CKYJay9N.js} +1 -1
- package/documentation/{ButtonLoaderSection-DGVKD9wI.js → ButtonLoaderSection-DKQi-oTv.js} +1 -1
- package/documentation/{ButtonLoaderSection-Bkzh89oP.js → ButtonLoaderSection-DlQb_Bqb.js} +1 -1
- package/documentation/{CardContainerSection-DLXPs9aW.js → CardContainerSection-B8AGux8b.js} +1 -1
- package/documentation/{CardContainerSection-t72sN0zL.js → CardContainerSection-CdASbRnV.js} +1 -1
- package/documentation/CardSection-DlgqI72V.js +25 -0
- package/documentation/CardSection-Do7VBcYz.js +125 -0
- package/documentation/{CardTitleSection-BEHmdfF6.js → CardTitleSection-CTy97wuG.js} +1 -1
- package/documentation/{CardTitleSection-CTcugicF.js → CardTitleSection-DGccHBTI.js} +1 -1
- package/documentation/{CarouselCardsSection-DtCx9w5B.js → CarouselCardsSection-CnuIZycb.js} +1 -1
- package/documentation/{CarouselCardsSection-ByrjTL9x.js → CarouselCardsSection-D_KfDV2g.js} +1 -1
- package/documentation/{CarouselImageSection-CknDEAfU.js → CarouselImageSection-CD0fv4kK.js} +1 -1
- package/documentation/{CarouselImageSection-BDMpTyte.js → CarouselImageSection-D4hTf6Z0.js} +1 -1
- package/documentation/{CarouselSection-Cq5jgcQD.js → CarouselSection-Brd953Fb.js} +1 -1
- package/documentation/{CarouselSection-hLHYsvmh.js → CarouselSection-C9425lXN.js} +1 -1
- package/documentation/{CheckboxSection-CUQtdDzh.js → CheckboxSection-CQIxbre6.js} +1 -1
- package/documentation/{CheckboxSection-D8FFt0Os.js → CheckboxSection-CU5tyHMH.js} +1 -1
- package/documentation/{CodeExamplesSection-2v_8YfcX.js → CodeExamplesSection-D3oeJD_J.js} +1 -1
- package/documentation/{CodeExamplesSection-Dp2gzpx3.js → CodeExamplesSection-DAHf5u7i.js} +1 -1
- package/documentation/{CoinCardSection-1WqRM1ph.js → CoinCardSection-BtB86t_Y.js} +1 -1
- package/documentation/{CoinCardSection-CPsesOWx.js → CoinCardSection-BtUjNiqi.js} +1 -1
- package/documentation/{CoinInfoCardSection-Dk6J8sls.js → CoinInfoCardSection-B0l6nYWu.js} +1 -1
- package/documentation/{CoinInfoCardSection-B562WBTv.js → CoinInfoCardSection-odhu-ChN.js} +1 -1
- package/documentation/{CoinListBoxSection-DzyzZBwk.js → CoinListBoxSection-Cfy0WYOK.js} +1 -1
- package/documentation/{CoinListBoxSection-Cu1MDV2Y.js → CoinListBoxSection-DQbdORng.js} +1 -1
- package/documentation/{CollapseSection-Bym6R86D.js → CollapseSection-1AyxKtyh.js} +10 -10
- package/documentation/{CollapseSection-7-rrT_DY.js → CollapseSection-CI79e0rH.js} +1 -1
- package/documentation/CollectionCardSection-DS1mZrSu.js +17 -0
- package/{collection-1-NeFANkbk.js → documentation/CollectionCardSection-DdwUntub.js} +58 -2
- package/documentation/CollectionSelectListSection-B4bgHz6F.js +15 -0
- package/documentation/CollectionSelectListSection-CqNEZLrW.js +120 -0
- package/documentation/{ColorCustomizationSection-DirQ1xkR.js → ColorCustomizationSection-BmJzT1u1.js} +1 -1
- package/documentation/{ColorCustomizationSection-fpbQFBeg.js → ColorCustomizationSection-DxKogmSF.js} +3 -3
- package/documentation/{ColorSystemSection-BTPZDmaU.js → ColorSystemSection-Be6CJ_qR.js} +5 -5
- package/documentation/{ColorSystemSection-BIiffohC.js → ColorSystemSection-ROEkhEeH.js} +1 -1
- package/documentation/{CommonErrorsSection-BVjBH-q3.js → CommonErrorsSection-5n2RFTOS.js} +1 -1
- package/documentation/{CommonErrorsSection-DqohMJDt.js → CommonErrorsSection-C8GoonfY.js} +1 -1
- package/documentation/{ComponentAnatomySection-GUman0lW.js → ComponentAnatomySection-BmlI14Nf.js} +3 -3
- package/documentation/{ComponentAnatomySection-B6L2nQg2.js → ComponentAnatomySection-tEz92Ng-.js} +1 -1
- package/documentation/{ComponentStatusSection-DS8Kmh6W.js → ComponentStatusSection-DA70myqK.js} +1 -1
- package/documentation/{ComponentStatusSection-BPatrERs.js → ComponentStatusSection-DwwRcvEd.js} +1 -1
- package/documentation/ComposedChartSection-CSasm_A4.js +21 -0
- package/documentation/ComposedChartSection-PRWReilC.js +113 -0
- package/documentation/{CurrencySwapIconsSection-B_qLwzXO.js → CurrencySwapIconsSection-C6Og4TeP.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-WWqd6aBI.js → CurrencySwapIconsSection-D-GhRHCi.js} +1 -1
- package/documentation/{CustomColorPaletteSection-DHw4bInM.js → CustomColorPaletteSection-DNgmPGoe.js} +1 -1
- package/documentation/{CustomColorPaletteSection-Beh-1TnY.js → CustomColorPaletteSection-DUhhLGOU.js} +1 -1
- package/documentation/{CustomIconsSection-BnJuOM-H.js → CustomIconsSection-BCf8UN2c.js} +29 -29
- package/documentation/{CustomIconsSection-CSRr6wkJ.js → CustomIconsSection-DGn1HMN8.js} +2 -2
- package/documentation/{DefiAppLogoSection-BlgJ2b-2.js → DefiAppLogoSection-CniFLoNx.js} +1 -1
- package/documentation/{DefiAppLogoSection-BKoj5nMS.js → DefiAppLogoSection-DjnvrP3j.js} +1 -1
- package/documentation/{DesignPrinciplesSection-sziQNoBU.js → DesignPrinciplesSection-C-qZ5KCo.js} +1 -1
- package/documentation/{DesignPrinciplesSection-DEO6bctH.js → DesignPrinciplesSection-MeMVZ3ry.js} +1 -1
- package/documentation/DrawerSection-9NhdERLz.js +41 -0
- package/documentation/{DrawerSection-Bl44QTjH.js → DrawerSection-Cdhpw0Zp.js} +41 -28
- package/documentation/{DynamicRoutesSection-DzYD6DrX.js → DynamicRoutesSection-BtECxWUj.js} +1 -1
- package/documentation/{DynamicRoutesSection-CwIKExBG.js → DynamicRoutesSection-DAQlCst_.js} +1 -1
- package/documentation/{FileInputSection-agGxZYT7.js → FileInputSection-BWUvvvdy.js} +1 -1
- package/documentation/{FileInputSection-2C2qHF7f.js → FileInputSection-z7_AAkz8.js} +1 -1
- package/documentation/{FileStructureSection-CSNiAHS-.js → FileStructureSection-Dsr2yojr.js} +1 -1
- package/documentation/{FileStructureSection-C-Z_tkDL.js → FileStructureSection-lLqJHP56.js} +1 -1
- package/documentation/{FormComponentsSection-CRsooWtI.js → FormComponentsSection-BTYt0wTN.js} +1 -1
- package/documentation/{FormComponentsSection-B021OPBW.js → FormComponentsSection-CQ2sazLF.js} +1 -1
- package/documentation/{FormMethodsSection-CUrQGm-O.js → FormMethodsSection-CAjYlJPM.js} +1 -1
- package/documentation/{FormMethodsSection-2ea19wxr.js → FormMethodsSection-Chx9tNa_.js} +1 -1
- package/documentation/{HamburgerSection-BzFh3gZq.js → HamburgerSection-CASzjAC6.js} +11 -11
- package/documentation/{HamburgerSection-CWAXi4d_.js → HamburgerSection-UacK_FKv.js} +1 -1
- package/documentation/{HookCategoriesSection-Qm1BoU9x.js → HookCategoriesSection-C6-2BbvM.js} +1 -1
- package/documentation/{HookCategoriesSection-DZzq6nNi.js → HookCategoriesSection-U7rN5EGL.js} +1 -1
- package/documentation/{HookDocumentationSection-BMC5FTpz.js → HookDocumentationSection-DIXoOh2V.js} +1 -1
- package/documentation/{HookDocumentationSection-DT_dicnF.js → HookDocumentationSection-HIifl_N4.js} +1 -1
- package/documentation/{HookFeaturesSection-B08odkSW.js → HookFeaturesSection-DNjNJYVR.js} +1 -1
- package/documentation/{HookFeaturesSection-_rCA_IiX.js → HookFeaturesSection-Dk27SI6j.js} +1 -1
- package/documentation/{IconArchitectureSection-Ch1nPf7C.js → IconArchitectureSection-CcpjgUuZ.js} +1 -1
- package/documentation/{IconArchitectureSection-BP5StoRr.js → IconArchitectureSection-rTqgxU01.js} +1 -1
- package/documentation/{IconSizingGuideSection-B39zPKV2.js → IconSizingGuideSection-BAd6zU-Z.js} +1 -1
- package/documentation/{IconSizingGuideSection-21B7NciU.js → IconSizingGuideSection-ir5Wu2LZ.js} +1 -1
- package/documentation/{IconSystemAPISection-BLCe41I8.js → IconSystemAPISection-BHp-ZXWb.js} +1 -1
- package/documentation/{IconSystemAPISection-_5fho7rM.js → IconSystemAPISection-DjqSJX-n.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-BI6uLx8V.js → IconSystemBenefitsSection-B6NiBLre.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-DCAdQe8N.js → IconSystemBenefitsSection-B7zV2HaH.js} +1 -1
- package/documentation/{ImageSection-Dl5z0QeO.js → ImageSection-DmMdByn7.js} +7 -12
- package/documentation/{ImageSection-DX_pLrem.js → ImageSection-aotN8Y5u.js} +1 -1
- package/documentation/{ImplementationExamplesSection-DG0Qxz66.js → ImplementationExamplesSection-BJ0_Xcm2.js} +1 -1
- package/documentation/{ImplementationExamplesSection-B__bLnap.js → ImplementationExamplesSection-BLHthYw_.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-Dhr_uqy_.js → ImplementationGuidelinesSection-Ce47rAwZ.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-B3ThgoR2.js → ImplementationGuidelinesSection-DALPPZXc.js} +1 -1
- package/documentation/{ImplementationStatusSection-CJTb6Pgx.js → ImplementationStatusSection-DuuoDSqC.js} +1 -1
- package/documentation/{ImplementationStatusSection-D0v0YMVu.js → ImplementationStatusSection-Yio9MCtk.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-DP4JlgYL.js → ImplementedFeaturesSection-CLNTmpD5.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-uG_KGhJp.js → ImplementedFeaturesSection-DIxdEibl.js} +1 -1
- package/documentation/InfoCardSection-CJbU2q_-.js +37 -0
- package/documentation/InfoCardSection-CJfS4aKJ.js +266 -0
- package/documentation/{InputSearcherSection-BB8KSV5W.js → InputSearcherSection-DJFKLySX.js} +1 -1
- package/documentation/{InputSearcherSection-BOs_mYxO.js → InputSearcherSection-dA4h9pbM.js} +1 -1
- package/documentation/{InputSection-Co8yrH8O.js → InputSection-Bxr_GgjZ.js} +1 -1
- package/documentation/{InputSection-DlsRR1br.js → InputSection-ov-x_YF3.js} +1 -1
- package/documentation/KeyValueRowSection-BWen5IUr.js +104 -0
- package/documentation/KeyValueRowSection-yrhHBRqx.js +16 -0
- package/documentation/{KeyboardNavigationSection-B8kjIrpD.js → KeyboardNavigationSection-BGnlktrj.js} +1 -1
- package/documentation/{KeyboardNavigationSection-B5NeU2Ls.js → KeyboardNavigationSection-Cd0_tM_9.js} +5 -5
- package/documentation/{LayoutPrinciplesSection-Cv2qVdah.js → LayoutPrinciplesSection-BiLVZUWB.js} +1 -1
- package/documentation/{LayoutPrinciplesSection-ZcukszdJ.js → LayoutPrinciplesSection-Cw3geSSU.js} +1 -1
- package/documentation/{LayoutTypesSection-CdWhbb-e.js → LayoutTypesSection-BmCcA7uZ.js} +1 -1
- package/documentation/{LayoutTypesSection-Db8Phsh5.js → LayoutTypesSection-JuEAJpD7.js} +1 -1
- package/documentation/LineChartSection-Bh98x9zB.js +21 -0
- package/documentation/LineChartSection-DMwIu5-a.js +130 -0
- package/documentation/{ListContainerSection-g8e36trw.js → ListContainerSection-C2hLnnvb.js} +1 -1
- package/documentation/{ListContainerSection-E2nxNQM9.js → ListContainerSection-CQmmUhTt.js} +1 -1
- package/documentation/{ListItemSection-BKMlFb_B.js → ListItemSection-DcGQ2O65.js} +1 -1
- package/documentation/{ListItemSection-CGRWmUNh.js → ListItemSection-DmnK0EWC.js} +1 -1
- package/documentation/{LiveDemoSection-CNS2AHrx.js → LiveDemoSection-D4tXR1dN.js} +1 -1
- package/documentation/{LiveDemoSection-Bi6TUjps.js → LiveDemoSection-rJwhZCYb.js} +1 -1
- package/documentation/{LiveDemonstrationsSection-BTZH9yJ4.js → LiveDemonstrationsSection-B3OoGiTI.js} +6 -6
- package/documentation/{LiveDemonstrationsSection-8IzxP_-q.js → LiveDemonstrationsSection-gPinOtv1.js} +1 -1
- package/documentation/{LivePriceFeedSection-xqYzz2UJ.js → LivePriceFeedSection-CD630ncd.js} +1 -1
- package/documentation/{LivePriceFeedSection-BETZCxkR.js → LivePriceFeedSection-DSgN87uI.js} +1 -1
- package/documentation/{LoaderSection-D6oWK2Bd.js → LoaderSection-C2o59OWq.js} +1 -1
- package/documentation/{LoaderSection-Ch955wVE.js → LoaderSection-DZ1uAwdN.js} +1 -1
- package/documentation/{LogoSection-DwxPyRYp.js → LogoSection-De8Ynlcs.js} +1 -1
- package/documentation/{LogoSection-DihjtnI3.js → LogoSection-dqbh0Im9.js} +1 -1
- package/documentation/{LucideIconsSection-UTZdlP4l.js → LucideIconsSection-BHzsnkdc.js} +2 -2
- package/documentation/{LucideIconsSection-jyTOH9vA.js → LucideIconsSection-DxzfAVW8.js} +1 -1
- package/documentation/{MFESupportSection-CL4XaGSc.js → MFESupportSection-BWJEFrx0.js} +1 -1
- package/documentation/{MFESupportSection-D5-xNtty.js → MFESupportSection-Dcban-qc.js} +1 -1
- package/documentation/{MenuItemsGuideSection-B4A_sWeX.js → MenuItemsGuideSection-B7ns2eIP.js} +1 -1
- package/documentation/{MenuItemsGuideSection-CubWhWBg.js → MenuItemsGuideSection-CYAQbSyQ.js} +1 -1
- package/documentation/{ModalSection-DgxQhNE3.js → ModalSection-C-d_lAT8.js} +1 -1
- package/documentation/{ModalSection-BLJU61yb.js → ModalSection-C_lBwjnQ.js} +34 -40
- package/documentation/NFTGridSection-CVtn_SUt.js +19 -0
- package/documentation/NFTGridSection-CsWKHw44.js +117 -0
- package/documentation/{NestedRoutesSection-DG9vKpBw.js → NestedRoutesSection-D_bbd0JG.js} +1 -1
- package/documentation/{NestedRoutesSection-ekOYspAL.js → NestedRoutesSection-pTexdauI.js} +1 -1
- package/documentation/{NotificationCardSection-Db-RrZ16.js → NotificationCardSection-D3UIXmC_.js} +1 -1
- package/documentation/{NotificationCardSection-cE-g6SEH.js → NotificationCardSection-DsLRL50j.js} +1 -1
- package/documentation/PaginationSection-BXaYbNh1.js +122 -0
- package/documentation/PaginationSection-C2bSDt2F.js +18 -0
- package/documentation/{PanelActionCardSection-Bjxx99WR.js → PanelActionCardSection-BDm3oVes.js} +1 -1
- package/documentation/{PanelActionCardSection-CL8Moio7.js → PanelActionCardSection-CYJfjVtG.js} +3 -3
- package/documentation/{PanelCardSection-Ci9bDcSV.js → PanelCardSection-NTEJHr8b.js} +1 -1
- package/documentation/{PanelCardSection-wO7ZobnL.js → PanelCardSection-Z2RQUWyn.js} +1 -1
- package/documentation/{ParamTabSection-Bi80ttg5.js → ParamTabSection-DHux5HXO.js} +1 -1
- package/documentation/{ParamTabSection-DzCeT2jc.js → ParamTabSection-guQ8aCfG.js} +1 -1
- package/documentation/PieChartSection-Ctpv_sQm.js +91 -0
- package/documentation/PieChartSection-DCd5rWoT.js +19 -0
- package/documentation/{PinCodeSection-BteNwNGD.js → PinCodeSection-BD-IvqDl.js} +1 -1
- package/documentation/{PinCodeSection-DwXlWFc3.js → PinCodeSection-BT8N9C8F.js} +1 -1
- package/documentation/{ProgressbarSection-ibpTAyXQ.js → ProgressbarSection-0k92jI5-.js} +1 -1
- package/documentation/{ProgressbarSection-B1eIO6-t.js → ProgressbarSection-B_IkBplz.js} +1 -1
- package/documentation/RadarChartSection-rlh1Mx6y.js +114 -0
- package/documentation/RadarChartSection-xtNri81K.js +21 -0
- package/documentation/{RadioGroupSection-CnheWpBr.js → RadioGroupSection-B6Lb9DJI.js} +1 -1
- package/documentation/{RadioGroupSection-q1w7Zcjw.js → RadioGroupSection-DTXIBYvs.js} +1 -1
- package/documentation/{RadioSection-DSoD7CLU.js → RadioSection-BsXiDZ98.js} +1 -1
- package/documentation/{RadioSection-V0sD9FtI.js → RadioSection-C1GS5cuC.js} +1 -1
- package/documentation/{RevealContentSection-BK8j8yQ6.js → RevealContentSection-BAIqcjgW.js} +1 -1
- package/documentation/{RevealContentSection-Cm9Ego3J.js → RevealContentSection-DzAyW5_3.js} +1 -1
- package/documentation/{RouteConfigurationSection-JaOww2mF.js → RouteConfigurationSection-BJJSsQGy.js} +1 -1
- package/documentation/{RouteConfigurationSection-PdMrY6xs.js → RouteConfigurationSection-CjEKyhcb.js} +1 -1
- package/documentation/{ScrollToTopSection-DktmPBqU.js → ScrollToTopSection-DkTL1Uzw.js} +6 -5
- package/documentation/{ScrollToTopSection-_W3FULOG.js → ScrollToTopSection-Dpp5zKo8.js} +1 -1
- package/documentation/{ScrollbarSection-Dhqk4MAL.js → ScrollbarSection-DBb7xv-n.js} +7 -7
- package/documentation/{ScrollbarSection-94c3rkLU.js → ScrollbarSection-DgWHzwSj.js} +1 -1
- package/documentation/{SelectSection-CyUvjkal.js → SelectSection-CFCIpkk9.js} +118 -49
- package/documentation/SelectSection-riGB2r-n.js +39 -0
- package/documentation/{SettingsPanelSection-oUsf1rjG.js → SettingsPanelSection-8GHz0Skb.js} +2 -2
- package/documentation/{SettingsPanelSection-DysL_TWy.js → SettingsPanelSection-BwGt_yfC.js} +1 -1
- package/documentation/{ShadowsSection-COIXfeUB.js → ShadowsSection-DA19Spgp.js} +1 -1
- package/documentation/{ShadowsSection-yPSwgkIh.js → ShadowsSection-atJzmD4a.js} +1 -1
- package/documentation/{SidebarMenuSection-CF65NgkO.js → SidebarMenuSection-BTDUb7C_.js} +1 -1
- package/documentation/{SidebarMenuSection-DoBy0kgz.js → SidebarMenuSection-DKQOSTpx.js} +1 -1
- package/documentation/{SidebarSection-C8M_6SXm.js → SidebarSection-BsCGHss5.js} +1 -1
- package/documentation/{SidebarSection-D0mx7yBu.js → SidebarSection-CC2ftWvz.js} +1 -1
- package/documentation/{SizingSection-D0JMCl2M.js → SizingSection-DuGndhns.js} +1 -1
- package/documentation/{SizingSection-CFHOHeOX.js → SizingSection-Mtr72tp-.js} +1 -1
- package/documentation/{SkeletonSection-l0H8ysMz.js → SkeletonSection-By7tCQ4L.js} +1 -1
- package/documentation/{SkeletonSection-CdftMoZS.js → SkeletonSection-DvTIosHm.js} +1 -1
- package/documentation/{SpacingSystemSection-CK6jg9jH.js → SpacingSystemSection-DJY3DtA0.js} +1 -1
- package/documentation/{SpacingSystemSection-DDLUwi7M.js → SpacingSystemSection-W21eHPxd.js} +1 -1
- package/documentation/{SpinnerSection-CBRlzSBA.js → SpinnerSection-CxqETXkr.js} +1 -1
- package/documentation/{SpinnerSection-wKxUxjQH.js → SpinnerSection-DM6XfYNN.js} +1 -1
- package/documentation/{StandaloneAppSection-4dc8jrdZ.js → StandaloneAppSection-B0E2-lHr.js} +1 -1
- package/documentation/{StandaloneAppSection-3DzBLpFt.js → StandaloneAppSection-mSP8bRjv.js} +1 -1
- package/documentation/StepperSection-CXs-4m-g.js +146 -0
- package/documentation/StepperSection-DzQ4ZWqb.js +28 -0
- package/documentation/{SwitchSection-vGxo1SYH.js → SwitchSection-ComDj4vK.js} +1 -1
- package/documentation/{SwitchSection-BlYqsAPJ.js → SwitchSection-Cw1p4RAV.js} +1 -1
- package/documentation/{SystemOverviewSection-1lSFqKae.js → SystemOverviewSection-CB4XUjya.js} +1 -1
- package/documentation/{SystemOverviewSection-BtnucKsr.js → SystemOverviewSection-DcC2nzWM.js} +1 -1
- package/documentation/TabModalSection-D5DxXCPA.js +51 -0
- package/documentation/TabModalSection-D7kjNL_j.js +160 -0
- package/documentation/{TabSection-BTGIy9BT.js → TabSection-CLig02Jq.js} +1 -1
- package/documentation/{TabSection-B7wJPrFH.js → TabSection-L8vvzdZq.js} +1 -1
- package/documentation/{TabSelectSection-DNb8f96f.js → TabSelectSection-C3uSu4Tb.js} +1 -1
- package/documentation/{TabSelectSection-B8ohYHOK.js → TabSelectSection-DovVypr5.js} +1 -1
- package/documentation/{TailwindConfigSection-xK7ymNHB.js → TailwindConfigSection-Cae-h3MW.js} +1 -1
- package/documentation/{TailwindConfigSection-dxsLjDuJ.js → TailwindConfigSection-DhBuW-uS.js} +1 -1
- package/documentation/{TestingSection-DqHtOy40.js → TestingSection-Bv6OBqHc.js} +1 -1
- package/documentation/{TestingSection-D97U6rzs.js → TestingSection-D76WU2E_.js} +1 -1
- package/documentation/{TextareaSection-cq-8Cb4V.js → TextareaSection-BAc73Q3K.js} +1 -1
- package/documentation/{TextareaSection-LoLfm6tE.js → TextareaSection-BXDH8mQI.js} +1 -1
- package/documentation/{ThemeArchitectureSection-D3s-iFek.js → ThemeArchitectureSection-DEqHdCLa.js} +1 -1
- package/documentation/{ThemeArchitectureSection-kTqICQZj.js → ThemeArchitectureSection-DFcj4Sf9.js} +1 -1
- package/documentation/{ThemeConfigurationSection-CIorDmNk.js → ThemeConfigurationSection-CmD-wjGZ.js} +1 -1
- package/documentation/{ThemeConfigurationSection-DKZz_tZ0.js → ThemeConfigurationSection-D299ICxo.js} +1 -1
- package/documentation/{ThemeHooksSection-D-mw-Fbu.js → ThemeHooksSection-DOm5a7FR.js} +1 -1
- package/documentation/{ThemeHooksSection-C0sZ6k8a.js → ThemeHooksSection-DsAsY2qd.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-BfBFuERd.js → ThemeProviderIntegrationSection-1aykNRXQ.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-macU3-6q.js → ThemeProviderIntegrationSection-D9xmfEve.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-BRbwv1wN.js → ThemeProviderRequiredSection-DfNXhp3f.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-CqDOwaWl.js → ThemeProviderRequiredSection-sViX_FO7.js} +1 -1
- package/documentation/{ThemeProviderSection-C8LEFOeB.js → ThemeProviderSection-BFtuOM3w.js} +1 -1
- package/documentation/{ThemeProviderSection-CTuv8EQA.js → ThemeProviderSection-CT5hlFD2.js} +1 -1
- package/documentation/{ToastSection-DxGzUQ0D.js → ToastSection-DD18GmJl.js} +1 -1
- package/documentation/{ToastSection-DEW_viBi.js → ToastSection-DoHzysF9.js} +8 -8
- package/documentation/{ToggleBarSection-CtsOxytE.js → ToggleBarSection-BpxFr9W6.js} +1 -1
- package/documentation/{ToggleBarSection-CYRd5M5m.js → ToggleBarSection-D3BYm7ZV.js} +3 -3
- package/documentation/{TooltipSection-TVehrFpU.js → TooltipSection-5th4KA-K.js} +1 -1
- package/documentation/{TooltipSection-Cp-pLWvr.js → TooltipSection-BeW0mvEG.js} +1 -1
- package/documentation/{TopupButtonSection-ByokZIdo.js → TopupButtonSection-C419_R5w.js} +1 -1
- package/documentation/{TopupButtonSection-Be5-YogI.js → TopupButtonSection-Cw92WCuk.js} +1 -1
- package/documentation/{TransactionInfoSection-Q0JJsVQv.js → TransactionInfoSection-CF0j2oxc.js} +1 -1
- package/documentation/{TransactionInfoSection-BhNuZ4JD.js → TransactionInfoSection-cKwmQpgL.js} +1 -1
- package/documentation/{TucuUiLogoSection-98Bljk0Z.js → TucuUiLogoSection-BuasEv--.js} +1 -1
- package/documentation/{TucuUiLogoSection-BDLv3mOn.js → TucuUiLogoSection-NYK0oUdj.js} +1 -1
- package/documentation/{TypographySection-DQEpFmuX.js → TypographySection-02IMtWN4.js} +1 -1
- package/documentation/{TypographySection-DkMPevk3.js → TypographySection-CjGIv22g.js} +1 -1
- package/documentation/{TypographySection-Ck4yMFUP.js → TypographySection-CpjtNAfZ.js} +1 -1
- package/documentation/{TypographySection-CkyzEMXb.js → TypographySection-uhboa1b_.js} +1 -1
- package/documentation/{UsageExamplesSection-Cbl0byP_.js → UsageExamplesSection-BO_K1AHD.js} +1 -1
- package/documentation/{UsageExamplesSection-rqFkSypt.js → UsageExamplesSection-BmWz_idr.js} +1 -1
- package/documentation/{UsingThemeSystemSection-ZxdD8koK.js → UsingThemeSystemSection-Dd8ZQrUl.js} +1 -1
- package/documentation/{UsingThemeSystemSection-CEXOimAv.js → UsingThemeSystemSection-bYxrH_-c.js} +1 -1
- package/documentation/{ValidationSystemSection-DN97qk1X.js → ValidationSystemSection-CBfiMPsL.js} +1 -1
- package/documentation/{ValidationSystemSection-Dvtm4jJR.js → ValidationSystemSection-Cvyf6j2T.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-ichWLxLa.js → WCAGPrinciplesSection-DAOi68Jt.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-CgrjWEgm.js → WCAGPrinciplesSection-DmeJUV8c.js} +1 -1
- package/hooks/use-scrollable-slider.d.ts +3 -3
- package/{index-DsiBIFwo.js → index-B6CStnMG.js} +39352 -30842
- package/index-QnI4b7wS.js +1137 -0
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +337 -321
- package/package.json +2 -3
- 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-B6CStnMG.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-QnI4b7wS.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-B6CStnMG.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-QnI4b7wS.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-QnI4b7wS.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-B6CStnMG.js";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -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-B6CStnMG.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
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-QnI4b7wS.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;
|
|
@@ -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-QnI4b7wS.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,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-B6CStnMG.js";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -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-B6CStnMG.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"),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-QnI4b7wS.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,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-B6CStnMG.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-QnI4b7wS.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,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-B6CStnMG.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"),t=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-QnI4b7wS.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 { 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-B6CStnMG.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"),o=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../index-QnI4b7wS.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,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-B6CStnMG.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",
|
|
@@ -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-QnI4b7wS.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">
|