@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,113 @@
|
|
|
1
|
+
import { jsxs as n, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as o, C as a, a as t, o as r, c as p, P as d, A as l } from "../index-B6CStnMG.js";
|
|
3
|
+
import "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const s = [
|
|
8
|
+
{ name: "Jan", revenue: 4e3, expenses: 2400, profit: 1600 },
|
|
9
|
+
{ name: "Feb", revenue: 3e3, expenses: 1398, profit: 1602 },
|
|
10
|
+
{ name: "Mar", revenue: 5e3, expenses: 3200, profit: 1800 },
|
|
11
|
+
{ name: "Apr", revenue: 4780, expenses: 2908, profit: 1872 },
|
|
12
|
+
{ name: "May", revenue: 5890, expenses: 4800, profit: 1090 },
|
|
13
|
+
{ name: "Jun", revenue: 6390, expenses: 3800, profit: 2590 }
|
|
14
|
+
], v = () => /* @__PURE__ */ n(m, { children: [
|
|
15
|
+
/* @__PURE__ */ n("div", { className: "text-center space-y-4", children: [
|
|
16
|
+
/* @__PURE__ */ e(o, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "ComposedChart" }),
|
|
17
|
+
/* @__PURE__ */ e(
|
|
18
|
+
o,
|
|
19
|
+
{
|
|
20
|
+
tag: "p",
|
|
21
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
22
|
+
children: "Composed chart combining line, bar, and area in a single chart for complex data visualization needs."
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Bar + Line Combination", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
27
|
+
r,
|
|
28
|
+
{
|
|
29
|
+
data: s,
|
|
30
|
+
series: [
|
|
31
|
+
{ dataKey: "revenue", name: "Revenue", type: "bar" },
|
|
32
|
+
{ dataKey: "profit", name: "Profit", type: "line" }
|
|
33
|
+
],
|
|
34
|
+
height: 300
|
|
35
|
+
}
|
|
36
|
+
) }) }) }),
|
|
37
|
+
/* @__PURE__ */ e(a, { className: "overflow-hidden", children: /* @__PURE__ */ e(t, { title: "Area + Bar + Line", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
38
|
+
r,
|
|
39
|
+
{
|
|
40
|
+
data: s,
|
|
41
|
+
series: [
|
|
42
|
+
{ dataKey: "expenses", name: "Expenses", type: "area" },
|
|
43
|
+
{ dataKey: "revenue", name: "Revenue", type: "bar" },
|
|
44
|
+
{ dataKey: "profit", name: "Profit", type: "line" }
|
|
45
|
+
],
|
|
46
|
+
height: 300
|
|
47
|
+
}
|
|
48
|
+
) }) }) }),
|
|
49
|
+
/* @__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(
|
|
50
|
+
p,
|
|
51
|
+
{
|
|
52
|
+
code: `import { ComposedChart } from '@e-burgos/tucu-ui';
|
|
53
|
+
|
|
54
|
+
const data = [
|
|
55
|
+
{ name: 'Jan', revenue: 4000, expenses: 2400, profit: 1600 },
|
|
56
|
+
{ name: 'Feb', revenue: 3000, expenses: 1398, profit: 1602 },
|
|
57
|
+
{ name: 'Mar', revenue: 5000, expenses: 3200, profit: 1800 },
|
|
58
|
+
];
|
|
59
|
+
|
|
60
|
+
<ComposedChart
|
|
61
|
+
data={data}
|
|
62
|
+
series={[
|
|
63
|
+
{ dataKey: 'expenses', name: 'Expenses', type: 'area' },
|
|
64
|
+
{ dataKey: 'revenue', name: 'Revenue', type: 'bar' },
|
|
65
|
+
{ dataKey: 'profit', name: 'Profit', type: 'line' },
|
|
66
|
+
]}
|
|
67
|
+
height={300}
|
|
68
|
+
barRadius={4}
|
|
69
|
+
showGrid
|
|
70
|
+
showTooltip
|
|
71
|
+
showLegend
|
|
72
|
+
/>`,
|
|
73
|
+
language: "tsx"
|
|
74
|
+
}
|
|
75
|
+
) }) }) }),
|
|
76
|
+
/* @__PURE__ */ e(
|
|
77
|
+
d,
|
|
78
|
+
{
|
|
79
|
+
componentName: "ComposedChart",
|
|
80
|
+
defaultValues: {
|
|
81
|
+
height: 300,
|
|
82
|
+
barRadius: 4,
|
|
83
|
+
showGrid: !0,
|
|
84
|
+
showTooltip: !0,
|
|
85
|
+
showLegend: !0,
|
|
86
|
+
animate: !0
|
|
87
|
+
},
|
|
88
|
+
excludeProps: [
|
|
89
|
+
"data",
|
|
90
|
+
"series",
|
|
91
|
+
"colors",
|
|
92
|
+
"className",
|
|
93
|
+
"xAxisKey",
|
|
94
|
+
"emptyMessage"
|
|
95
|
+
],
|
|
96
|
+
children: (i) => /* @__PURE__ */ e(
|
|
97
|
+
r,
|
|
98
|
+
{
|
|
99
|
+
data: s,
|
|
100
|
+
series: [
|
|
101
|
+
{ dataKey: "revenue", name: "Revenue", type: "bar" },
|
|
102
|
+
{ dataKey: "profit", name: "Profit", type: "line" }
|
|
103
|
+
],
|
|
104
|
+
...i
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
),
|
|
109
|
+
/* @__PURE__ */ e(l, { componentName: "ComposedChart" })
|
|
110
|
+
] });
|
|
111
|
+
export {
|
|
112
|
+
v as default
|
|
113
|
+
};
|
package/documentation/{CurrencySwapIconsSection-B_qLwzXO.js → CurrencySwapIconsSection-C6Og4TeP.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, Fragment as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as s, a as o, g as c, A as t, c as n } from "../index-
|
|
2
|
+
import { T as r, C as s, a as o, g as c, A as t, c as n } from "../index-B6CStnMG.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
package/documentation/{CurrencySwapIconsSection-WWqd6aBI.js → CurrencySwapIconsSection-D-GhRHCi.js}
RENAMED
|
@@ -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 s=()=>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:"CurrencySwapIcons"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Component for displaying currency swap pairs with overlapping icons and pair label."})]}),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 lg:grid-cols-3 gap-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"BTC to ETH"}),e.jsx(r.CurrencySwapIcons,{from:"BTC",to:"ETH"})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"ETH to USDT"}),e.jsx(r.CurrencySwapIcons,{from:"ETH",to:"USDT"})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"USDT to BNB"}),e.jsx(r.CurrencySwapIcons,{from:"USDT",to:"BNB"})]})]})})})}),e.jsx(r.AutoPropsTable,{componentName:"CurrencySwapIcons"}),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 { CurrencySwapIcons } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
<CurrencySwapIcons from="BTC" to="ETH" />
|
|
4
4
|
<CurrencySwapIcons from="ETH" to="USDT" />
|
|
@@ -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 a=()=>e.jsx(r.CardContainer,{children:e.jsx(r.CardTitle,{title:"Custom Color Palette",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs(r.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["You can provide custom colors via the"," ",e.jsx("code",{className:"px-2 py-1 bg-light-dark rounded text-sm",children:"customPaletteColor"})," ","prop. Colors can be hex values or preset names:"]}),e.jsx(r.CodeBlock,{language:"tsx",code:`<ThemeProvider
|
|
2
2
|
menuItems={menuItems}
|
|
3
3
|
customPaletteColor={{
|
|
4
4
|
primary: '#0052ff', // Hex color or preset name
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { C as o, a as t, T as a, c as s,
|
|
2
|
+
import { C as o, a as t, T as a, c as s, ag as d } from "../index-B6CStnMG.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
|
-
import { T as s, C as h, a as p, B as w, E as N,
|
|
4
|
-
import { Coins as
|
|
3
|
+
import { T as s, C as h, a as p, B as w, E as N, aI as g, aJ as u, f as y, aK as x, aL as I, aM as b, aN as f, aO as C, aP as v, aQ as k, aR as S, aS as T, aT as L, aU as B, aV as E, aW as M, aX as P, aY as U, aZ as F, a_ as $, a$ as D, b0 as R, b1 as V, b2 as W, b3 as j, b4 as z, b5 as G, b6 as H, b7 as J, b8 as K, b9 as O, ba as Q, bb as X, bc as Y, bd as Z, be as _ } from "../index-B6CStnMG.js";
|
|
4
|
+
import { Coins as q, Layout as A, Share2 as aa, Component as ea } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const la = () => {
|
|
@@ -9,7 +9,7 @@ const la = () => {
|
|
|
9
9
|
{
|
|
10
10
|
category: "Blockchain & Crypto",
|
|
11
11
|
description: "Cryptocurrency and blockchain-related icons",
|
|
12
|
-
icon: /* @__PURE__ */ a(
|
|
12
|
+
icon: /* @__PURE__ */ a(q, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
13
13
|
color: "from-yellow-500 via-orange-500 to-amber-500",
|
|
14
14
|
icons: [
|
|
15
15
|
{ name: "Bitcoin", component: /* @__PURE__ */ a(w, { className: "w-6 h-6" }) },
|
|
@@ -19,22 +19,22 @@ const la = () => {
|
|
|
19
19
|
{ name: "Tether", component: /* @__PURE__ */ a(y, { className: "w-6 h-6" }) },
|
|
20
20
|
{ name: "Usdc", component: /* @__PURE__ */ a(x, { className: "w-6 h-6" }) },
|
|
21
21
|
{ name: "Doge", component: /* @__PURE__ */ a(I, { className: "w-6 h-6" }) },
|
|
22
|
-
{ name: "Flow", component: /* @__PURE__ */ a(
|
|
22
|
+
{ name: "Flow", component: /* @__PURE__ */ a(b, { className: "w-6 h-6" }) }
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
category: "Layout Controls",
|
|
27
27
|
description: "Icons for layout switching and navigation",
|
|
28
|
-
icon: /* @__PURE__ */ a(
|
|
28
|
+
icon: /* @__PURE__ */ a(A, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
29
29
|
color: "from-blue-500 via-indigo-500 to-purple-500",
|
|
30
30
|
icons: [
|
|
31
31
|
{
|
|
32
32
|
name: "ClassicLayoutIcon",
|
|
33
|
-
component: /* @__PURE__ */ a(
|
|
33
|
+
component: /* @__PURE__ */ a(f, { className: "w-6 h-6" })
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
name: "MinimalLayoutIcon",
|
|
37
|
-
component: /* @__PURE__ */ a(
|
|
37
|
+
component: /* @__PURE__ */ a(C, { className: "w-6 h-6" })
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
name: "ModernLayoutIcon",
|
|
@@ -65,33 +65,33 @@ const la = () => {
|
|
|
65
65
|
icon: /* @__PURE__ */ a(ea, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
66
66
|
color: "from-green-500 via-emerald-500 to-teal-500",
|
|
67
67
|
icons: [
|
|
68
|
-
{ name: "Tucu", component: /* @__PURE__ */ a(
|
|
69
|
-
{ name: "HomeIcon", component: /* @__PURE__ */ a(
|
|
70
|
-
{ name: "SearchIcon", component: /* @__PURE__ */ a(
|
|
71
|
-
{ name: "Sun", component: /* @__PURE__ */ a(
|
|
72
|
-
{ name: "Moon", component: /* @__PURE__ */ a(
|
|
73
|
-
{ name: "Check", component: /* @__PURE__ */ a(
|
|
74
|
-
{ name: "Close", component: /* @__PURE__ */ a(
|
|
75
|
-
{ name: "Plus", component: /* @__PURE__ */ a(
|
|
76
|
-
{ name: "Star", component: /* @__PURE__ */ a(
|
|
77
|
-
{ name: "StarFill", component: /* @__PURE__ */ a(
|
|
78
|
-
{ name: "Verified", component: /* @__PURE__ */ a(
|
|
79
|
-
{ name: "Warning", component: /* @__PURE__ */ a(
|
|
80
|
-
{ name: "InfoCircle", component: /* @__PURE__ */ a(
|
|
68
|
+
{ name: "Tucu", component: /* @__PURE__ */ a(M, { className: "w-6 h-6" }) },
|
|
69
|
+
{ name: "HomeIcon", component: /* @__PURE__ */ a(P, { className: "w-6 h-6" }) },
|
|
70
|
+
{ name: "SearchIcon", component: /* @__PURE__ */ a(U, { className: "w-6 h-6" }) },
|
|
71
|
+
{ name: "Sun", component: /* @__PURE__ */ a(F, { className: "w-6 h-6" }) },
|
|
72
|
+
{ name: "Moon", component: /* @__PURE__ */ a($, { className: "w-6 h-6" }) },
|
|
73
|
+
{ name: "Check", component: /* @__PURE__ */ a(D, { className: "w-6 h-6" }) },
|
|
74
|
+
{ name: "Close", component: /* @__PURE__ */ a(R, { className: "w-6 h-6" }) },
|
|
75
|
+
{ name: "Plus", component: /* @__PURE__ */ a(V, { className: "w-6 h-6" }) },
|
|
76
|
+
{ name: "Star", component: /* @__PURE__ */ a(W, { className: "w-6 h-6" }) },
|
|
77
|
+
{ name: "StarFill", component: /* @__PURE__ */ a(j, { className: "w-6 h-6" }) },
|
|
78
|
+
{ name: "Verified", component: /* @__PURE__ */ a(z, { className: "w-6 h-6" }) },
|
|
79
|
+
{ name: "Warning", component: /* @__PURE__ */ a(G, { className: "w-6 h-6" }) },
|
|
80
|
+
{ name: "InfoCircle", component: /* @__PURE__ */ a(H, { className: "w-6 h-6" }) },
|
|
81
81
|
{
|
|
82
82
|
name: "DocumentIcon",
|
|
83
|
-
component: /* @__PURE__ */ a(
|
|
83
|
+
component: /* @__PURE__ */ a(J, { className: "w-6 h-6" })
|
|
84
84
|
},
|
|
85
|
-
{ name: "BookIcon", component: /* @__PURE__ */ a(
|
|
86
|
-
{ name: "PlayIcon", component: /* @__PURE__ */ a(
|
|
87
|
-
{ name: "ProfileIcon", component: /* @__PURE__ */ a(
|
|
88
|
-
{ name: "EyeIcon", component: /* @__PURE__ */ a(
|
|
85
|
+
{ name: "BookIcon", component: /* @__PURE__ */ a(K, { className: "w-6 h-6" }) },
|
|
86
|
+
{ name: "PlayIcon", component: /* @__PURE__ */ a(O, { className: "w-6 h-6" }) },
|
|
87
|
+
{ name: "ProfileIcon", component: /* @__PURE__ */ a(Q, { className: "w-6 h-6" }) },
|
|
88
|
+
{ name: "EyeIcon", component: /* @__PURE__ */ a(X, { className: "w-6 h-6" }) },
|
|
89
89
|
{
|
|
90
90
|
name: "EyeSlashIcon",
|
|
91
|
-
component: /* @__PURE__ */ a(
|
|
91
|
+
component: /* @__PURE__ */ a(Y, { className: "w-6 h-6" })
|
|
92
92
|
},
|
|
93
|
-
{ name: "LockIcon", component: /* @__PURE__ */ a(
|
|
94
|
-
{ name: "Unlocked", component: /* @__PURE__ */ a(
|
|
93
|
+
{ name: "LockIcon", component: /* @__PURE__ */ a(Z, { className: "w-6 h-6" }) },
|
|
94
|
+
{ name: "Unlocked", component: /* @__PURE__ */ a(_, { className: "w-6 h-6" }) }
|
|
95
95
|
]
|
|
96
96
|
}
|
|
97
97
|
], r = (e) => {
|
|
@@ -136,7 +136,7 @@ const la = () => {
|
|
|
136
136
|
/* @__PURE__ */ a("div", { className: "grid grid-cols-4 sm:grid-cols-6 md:grid-cols-8 gap-4", children: e.icons.map((n, i) => /* @__PURE__ */ o(
|
|
137
137
|
"div",
|
|
138
138
|
{
|
|
139
|
-
className: "flex flex-col items-center gap-2 p-3 rounded-lg hover:bg-gray-
|
|
139
|
+
className: "flex flex-col items-center gap-2 p-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors cursor-pointer group relative",
|
|
140
140
|
onClick: () => r(n.name),
|
|
141
141
|
title: `Click to copy: ${n.name}`,
|
|
142
142
|
children: [
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),o=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),o=require("../index-QnI4b7wS.js"),s=require("lucide-react");require("react-router-dom");require("react-dom");const h=()=>{const[m,t]=d.useState(null),r=[{category:"Blockchain & Crypto",description:"Cryptocurrency and blockchain-related icons",icon:e.jsx(s.Coins,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),color:"from-yellow-500 via-orange-500 to-amber-500",icons:[{name:"Bitcoin",component:e.jsx(o.Bitcoin,{className:"w-6 h-6"})},{name:"Ethereum",component:e.jsx(o.Ethereum,{className:"w-6 h-6"})},{name:"Bnb",component:e.jsx(o.Bnb,{className:"w-6 h-6"})},{name:"Cardano",component:e.jsx(o.Cardano,{className:"w-6 h-6"})},{name:"Tether",component:e.jsx(o.Tether,{className:"w-6 h-6"})},{name:"Usdc",component:e.jsx(o.Usdc,{className:"w-6 h-6"})},{name:"Doge",component:e.jsx(o.Doge,{className:"w-6 h-6"})},{name:"Flow",component:e.jsx(o.Flow,{className:"w-6 h-6"})}]},{category:"Layout Controls",description:"Icons for layout switching and navigation",icon:e.jsx(s.Layout,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),color:"from-blue-500 via-indigo-500 to-purple-500",icons:[{name:"ClassicLayoutIcon",component:e.jsx(o.ClassicLayoutIcon,{className:"w-6 h-6"})},{name:"MinimalLayoutIcon",component:e.jsx(o.MinimalLayoutIcon,{className:"w-6 h-6"})},{name:"ModernLayoutIcon",component:e.jsx(o.ModernLayoutIcon,{className:"w-6 h-6"})},{name:"RetroLayoutIcon",component:e.jsx(o.RetroLayoutIcon,{className:"w-6 h-6"})}]},{category:"Social Brands",description:"Social media platform icons",icon:e.jsx(s.Share2,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),color:"from-pink-500 via-rose-500 to-red-500",icons:[{name:"Github",component:e.jsx(o.Github,{className:"w-6 h-6"})},{name:"Twitter",component:e.jsx(o.Twitter,{className:"w-6 h-6"})},{name:"Facebook",component:e.jsx(o.Facebook,{className:"w-6 h-6"})},{name:"Instagram",component:e.jsx(o.Instagram,{className:"w-6 h-6"})},{name:"Telegram",component:e.jsx(o.Telegram,{className:"w-6 h-6"})}]},{category:"UI Elements",description:"Common UI and interface icons",icon:e.jsx(s.Component,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),color:"from-green-500 via-emerald-500 to-teal-500",icons:[{name:"Tucu",component:e.jsx(o.Tucu,{className:"w-6 h-6"})},{name:"HomeIcon",component:e.jsx(o.HomeIcon,{className:"w-6 h-6"})},{name:"SearchIcon",component:e.jsx(o.SearchIcon,{className:"w-6 h-6"})},{name:"Sun",component:e.jsx(o.Sun,{className:"w-6 h-6"})},{name:"Moon",component:e.jsx(o.Moon,{className:"w-6 h-6"})},{name:"Check",component:e.jsx(o.Check,{className:"w-6 h-6"})},{name:"Close",component:e.jsx(o.Close,{className:"w-6 h-6"})},{name:"Plus",component:e.jsx(o.Plus,{className:"w-6 h-6"})},{name:"Star",component:e.jsx(o.Star,{className:"w-6 h-6"})},{name:"StarFill",component:e.jsx(o.StarFill,{className:"w-6 h-6"})},{name:"Verified",component:e.jsx(o.Verified,{className:"w-6 h-6"})},{name:"Warning",component:e.jsx(o.Warning,{className:"w-6 h-6"})},{name:"InfoCircle",component:e.jsx(o.InfoCircle,{className:"w-6 h-6"})},{name:"DocumentIcon",component:e.jsx(o.DocumentIcon,{className:"w-6 h-6"})},{name:"BookIcon",component:e.jsx(o.BookIcon,{className:"w-6 h-6"})},{name:"PlayIcon",component:e.jsx(o.PlayIcon,{className:"w-6 h-6"})},{name:"ProfileIcon",component:e.jsx(o.ProfileIcon,{className:"w-6 h-6"})},{name:"EyeIcon",component:e.jsx(o.EyeIcon,{className:"w-6 h-6"})},{name:"EyeSlashIcon",component:e.jsx(o.EyeSlashIcon,{className:"w-6 h-6"})},{name:"LockIcon",component:e.jsx(o.LockIcon,{className:"w-6 h-6"})},{name:"Unlocked",component:e.jsx(o.Unlocked,{className:"w-6 h-6"})}]}],l=a=>{const c=`import { ${a} } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
|
-
<${a} className="w-6 h-6" />`;navigator.clipboard.writeText(c),t(a),setTimeout(()=>t(null),2e3)};return e.jsxs("div",{className:"space-y-8",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:"Custom Tucu Icons"}),e.jsx(o.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"98+ custom-designed icons organized by category"})]}),e.jsx("div",{className:"space-y-8",children:r.map((a,c)=>e.jsx(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:a.category,className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:`p-2 rounded-lg bg-linear-to-br ${a.color} shadow-lg`,children:a.icon}),e.jsxs("div",{children:[e.jsx(o.Typography,{tag:"h3",className:"text-xl font-semibold",children:a.category}),e.jsx(o.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:a.description})]})]}),e.jsx("div",{className:"grid grid-cols-4 sm:grid-cols-6 md:grid-cols-8 gap-4",children:a.icons.map((n,i)=>e.jsxs("div",{className:"flex flex-col items-center gap-2 p-3 rounded-lg hover:bg-gray-
|
|
3
|
+
<${a} className="w-6 h-6" />`;navigator.clipboard.writeText(c),t(a),setTimeout(()=>t(null),2e3)};return e.jsxs("div",{className:"space-y-8",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:"Custom Tucu Icons"}),e.jsx(o.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"98+ custom-designed icons organized by category"})]}),e.jsx("div",{className:"space-y-8",children:r.map((a,c)=>e.jsx(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:a.category,className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:`p-2 rounded-lg bg-linear-to-br ${a.color} shadow-lg`,children:a.icon}),e.jsxs("div",{children:[e.jsx(o.Typography,{tag:"h3",className:"text-xl font-semibold",children:a.category}),e.jsx(o.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:a.description})]})]}),e.jsx("div",{className:"grid grid-cols-4 sm:grid-cols-6 md:grid-cols-8 gap-4",children:a.icons.map((n,i)=>e.jsxs("div",{className:"flex flex-col items-center gap-2 p-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors cursor-pointer group relative",onClick:()=>l(n.name),title:`Click to copy: ${n.name}`,children:[e.jsx("div",{className:"text-gray-700 dark:text-gray-300 group-hover:text-brand transition-colors",children:n.component}),e.jsx(o.Typography,{tag:"span",className:"text-xs text-center text-gray-500 dark:text-gray-400",children:n.name}),m===n.name&&e.jsx("div",{className:"absolute -top-8 left-1/2 transform -translate-x-1/2 px-2 py-1 bg-green-500 text-white text-xs rounded whitespace-nowrap z-10",children:"Copied!"})]},i))})]})})},c))})]})};exports.default=h;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-QnI4b7wS.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const a=[{key:"prop",label:"Prop",render:i=>e.jsx("code",{className:"text-xs text-brand",children:String(i)})},{key:"type",label:"Type",render:i=>e.jsx("code",{className:"text-xs",children:String(i)})},{key:"default",label:"Default",render:i=>{const t=String(i);return t==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:t})}},{key:"description",label:"Description"}],r=[{prop:"...SVGAttributes",type:"React.SVGAttributes<SVGElement>",default:"-",description:"All standard SVG attributes are supported"}];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:"DefiAppLogo"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"An animated brain-inspired logo component designed for DeFi applications, featuring pulsing nodes and signal flows that represent financial data processing."})]}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.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(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Default Animated Logo"}),e.jsx("div",{className:"flex items-center justify-center",children:e.jsx(s.DefiAppLogo,{width:100,height:100})})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Different Sizes"}),e.jsxs("div",{className:"flex items-center gap-4 flex-wrap justify-center",children:[e.jsx(s.DefiAppLogo,{width:60,height:60}),e.jsx(s.DefiAppLogo,{width:100,height:100}),e.jsx(s.DefiAppLogo,{width:150,height:150})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Custom Classes"}),e.jsx("div",{className:"flex items-center justify-center",children:e.jsx(s.DefiAppLogo,{width:120,height:120,className:"opacity-90 hover:opacity-100 transition-opacity"})})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.BasicTable,{columns:a,data:r})})})}),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 { DefiAppLogo } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<DefiAppLogo width={100} height={100} />
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as s, C as a, a as r,
|
|
2
|
+
import { T as s, C as a, a as r, af as l, q as n, c as p } from "../index-B6CStnMG.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
package/documentation/{DesignPrinciplesSection-sziQNoBU.js → DesignPrinciplesSection-C-qZ5KCo.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as a, C as o } from "../index-
|
|
2
|
+
import { T as a, C as o } from "../index-B6CStnMG.js";
|
|
3
3
|
import { CheckCircle as s, Minimize2 as l, Layers as n, Eye as c } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
package/documentation/{DesignPrinciplesSection-DEO6bctH.js → DesignPrinciplesSection-MeMVZ3ry.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../index-QnI4b7wS.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(i.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Design Principles"}),e.jsx(i.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Core principles that guide our design decisions and ensure consistency"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:[{title:"Consistency",description:"Unified visual language and interaction patterns across all components.",icon:e.jsx(s.CheckCircle,{className:"h-6 w-6 text-white filter drop-shadow-sm"}),color:"from-emerald-500 via-green-500 to-teal-500"},{title:"Simplicity",description:"Clean, intuitive interfaces that reduce cognitive load.",icon:e.jsx(s.Minimize2,{className:"h-6 w-6 text-white filter drop-shadow-sm"}),color:"from-blue-500 via-cyan-500 to-sky-500"},{title:"Flexibility",description:"Adaptable components that work across different contexts.",icon:e.jsx(s.Layers,{className:"h-6 w-6 text-white filter drop-shadow-sm"}),color:"from-purple-500 via-violet-500 to-indigo-500"},{title:"Accessibility",description:"Inclusive design that works for everyone.",icon:e.jsx(s.Eye,{className:"h-6 w-6 text-white filter drop-shadow-sm"}),color:"from-orange-500 via-amber-500 to-yellow-500"}].map(t=>e.jsx(i.CardContainer,{className:"group hover:shadow-large transition-all duration-300 hover:-translate-y-1",children:e.jsxs("div",{className:"w-full space-y-4 p-2 sm:p-2",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:`p-3 rounded-xl bg-linear-to-br ${t.color} group-hover:scale-110 transition-all duration-300 shadow-lg hover:shadow-xl`,children:t.icon}),e.jsx(i.Typography,{tag:"h3",className:"font-semibold text-lg group-hover:text-primary transition-colors duration-300",children:t.title})]}),e.jsx(i.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 leading-relaxed",children:t.description})]})},t.title))})]});exports.default=r;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),r=require("../index-QnI4b7wS.js");require("lucide-react");require("react-router-dom");require("react-dom");const o=()=>{const[s,t]=i.useState(!1),[l,a]=i.useState("sidebar");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:"Drawer"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A drawer component that slides in from the side, supporting both simple sidebar and sidebar-menu variants."})]}),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:"space-y-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Sidebar Drawer"}),e.jsx(r.Button,{onClick:()=>{a("sidebar"),t(!0)},children:"Open Sidebar"}),e.jsx(r.Drawer,{isOpen:s,setIsOpen:t,type:"sidebar",title:"Sidebar Title",children:e.jsx(r.Typography,{tag:"p",children:"Sidebar content goes here"})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Right Position"}),e.jsx(r.Button,{onClick:()=>{a("sidebar"),t(!0)},children:"Open Right Drawer"}),e.jsx(r.Drawer,{isOpen:s,setIsOpen:t,type:"sidebar",position:"right",title:"Right Drawer",children:e.jsx(r.Typography,{tag:"p",children:"Content on the right"})})]})]})})})}),e.jsx(r.PropPlayground,{componentName:"Drawer",defaultValues:{isOpen:s,setIsOpen:t,position:"left",backdrop:!0},excludeProps:["setIsOpen","onClose","actionContent","logo","menuItems","type"],children:n=>e.jsx("div",{style:{position:"relative",height:300,overflow:"hidden"},children:e.jsx(r.Drawer,{...n,setIsOpen:t,isOpen:s,title:"Drawer Preview",children:e.jsx("p",{className:"text-sm p-4",children:"Drawer content"})})})}),e.jsx(r.AutoPropsTable,{componentName:"Drawer"}),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 { Drawer, Button } from '@e-burgos/tucu-ui';
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
|
|
4
|
+
function MyComponent() {
|
|
5
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<>
|
|
9
|
+
<Button onClick={() => setIsOpen(true)}>Open Drawer</Button>
|
|
10
|
+
<Drawer
|
|
11
|
+
isOpen={isOpen}
|
|
12
|
+
setIsOpen={setIsOpen}
|
|
13
|
+
type="sidebar"
|
|
14
|
+
title="Drawer Title"
|
|
15
|
+
>
|
|
16
|
+
<div>Drawer content</div>
|
|
17
|
+
</Drawer>
|
|
18
|
+
</>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Right position
|
|
23
|
+
<Drawer
|
|
24
|
+
isOpen={isOpen}
|
|
25
|
+
setIsOpen={setIsOpen}
|
|
26
|
+
type="sidebar"
|
|
27
|
+
position="right"
|
|
28
|
+
title="Right Drawer"
|
|
29
|
+
>
|
|
30
|
+
<div>Content</div>
|
|
31
|
+
</Drawer>
|
|
32
|
+
|
|
33
|
+
// Without backdrop
|
|
34
|
+
<Drawer
|
|
35
|
+
isOpen={isOpen}
|
|
36
|
+
setIsOpen={setIsOpen}
|
|
37
|
+
type="sidebar"
|
|
38
|
+
backdrop={false}
|
|
39
|
+
>
|
|
40
|
+
<div>Content</div>
|
|
41
|
+
</Drawer>`})})})})]})};exports.default=o;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as a, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l } from "react";
|
|
3
|
-
import { T as
|
|
3
|
+
import { T as r, C as i, a as d, y as p, a4 as n, P as h, A as u, c as w } from "../index-B6CStnMG.js";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
8
|
-
const [
|
|
7
|
+
const v = () => {
|
|
8
|
+
const [s, t] = l(!1), [g, o] = l(
|
|
9
9
|
"sidebar"
|
|
10
10
|
);
|
|
11
|
-
return /* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */ e(
|
|
11
|
+
return /* @__PURE__ */ a(m, { children: [
|
|
12
|
+
/* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
|
|
13
|
+
/* @__PURE__ */ e(r, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "Drawer" }),
|
|
14
14
|
/* @__PURE__ */ e(
|
|
15
|
-
|
|
15
|
+
r,
|
|
16
16
|
{
|
|
17
17
|
tag: "p",
|
|
18
18
|
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
@@ -20,49 +20,49 @@ const y = () => {
|
|
|
20
20
|
}
|
|
21
21
|
)
|
|
22
22
|
] }),
|
|
23
|
-
/* @__PURE__ */ e(
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */ e(
|
|
23
|
+
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(d, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "space-y-4", children: [
|
|
24
|
+
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
25
|
+
/* @__PURE__ */ e(r, { tag: "h5", className: "mb-3", children: "Sidebar Drawer" }),
|
|
26
26
|
/* @__PURE__ */ e(
|
|
27
27
|
p,
|
|
28
28
|
{
|
|
29
29
|
onClick: () => {
|
|
30
|
-
o("sidebar"),
|
|
30
|
+
o("sidebar"), t(!0);
|
|
31
31
|
},
|
|
32
32
|
children: "Open Sidebar"
|
|
33
33
|
}
|
|
34
34
|
),
|
|
35
35
|
/* @__PURE__ */ e(
|
|
36
|
-
|
|
36
|
+
n,
|
|
37
37
|
{
|
|
38
|
-
isOpen:
|
|
39
|
-
setIsOpen:
|
|
38
|
+
isOpen: s,
|
|
39
|
+
setIsOpen: t,
|
|
40
40
|
type: "sidebar",
|
|
41
41
|
title: "Sidebar Title",
|
|
42
|
-
children: /* @__PURE__ */ e(
|
|
42
|
+
children: /* @__PURE__ */ e(r, { tag: "p", children: "Sidebar content goes here" })
|
|
43
43
|
}
|
|
44
44
|
)
|
|
45
45
|
] }),
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */ e(
|
|
46
|
+
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
47
|
+
/* @__PURE__ */ e(r, { tag: "h5", className: "mb-3", children: "Right Position" }),
|
|
48
48
|
/* @__PURE__ */ e(
|
|
49
49
|
p,
|
|
50
50
|
{
|
|
51
51
|
onClick: () => {
|
|
52
|
-
o("sidebar"),
|
|
52
|
+
o("sidebar"), t(!0);
|
|
53
53
|
},
|
|
54
54
|
children: "Open Right Drawer"
|
|
55
55
|
}
|
|
56
56
|
),
|
|
57
57
|
/* @__PURE__ */ e(
|
|
58
|
-
|
|
58
|
+
n,
|
|
59
59
|
{
|
|
60
|
-
isOpen:
|
|
61
|
-
setIsOpen:
|
|
60
|
+
isOpen: s,
|
|
61
|
+
setIsOpen: t,
|
|
62
62
|
type: "sidebar",
|
|
63
63
|
position: "right",
|
|
64
64
|
title: "Right Drawer",
|
|
65
|
-
children: /* @__PURE__ */ e(
|
|
65
|
+
children: /* @__PURE__ */ e(r, { tag: "p", children: "Content on the right" })
|
|
66
66
|
}
|
|
67
67
|
)
|
|
68
68
|
] })
|
|
@@ -71,7 +71,12 @@ const y = () => {
|
|
|
71
71
|
h,
|
|
72
72
|
{
|
|
73
73
|
componentName: "Drawer",
|
|
74
|
-
defaultValues: {
|
|
74
|
+
defaultValues: {
|
|
75
|
+
isOpen: s,
|
|
76
|
+
setIsOpen: t,
|
|
77
|
+
position: "left",
|
|
78
|
+
backdrop: !0
|
|
79
|
+
},
|
|
75
80
|
excludeProps: [
|
|
76
81
|
"setIsOpen",
|
|
77
82
|
"onClose",
|
|
@@ -84,14 +89,22 @@ const y = () => {
|
|
|
84
89
|
"div",
|
|
85
90
|
{
|
|
86
91
|
style: { position: "relative", height: 300, overflow: "hidden" },
|
|
87
|
-
children: /* @__PURE__ */ e(
|
|
88
|
-
|
|
92
|
+
children: /* @__PURE__ */ e(
|
|
93
|
+
n,
|
|
94
|
+
{
|
|
95
|
+
...c,
|
|
96
|
+
setIsOpen: t,
|
|
97
|
+
isOpen: s,
|
|
98
|
+
title: "Drawer Preview",
|
|
99
|
+
children: /* @__PURE__ */ e("p", { className: "text-sm p-4", children: "Drawer content" })
|
|
100
|
+
}
|
|
101
|
+
)
|
|
89
102
|
}
|
|
90
103
|
)
|
|
91
104
|
}
|
|
92
105
|
),
|
|
93
106
|
/* @__PURE__ */ e(u, { componentName: "Drawer" }),
|
|
94
|
-
/* @__PURE__ */ e(
|
|
107
|
+
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(d, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
95
108
|
w,
|
|
96
109
|
{
|
|
97
110
|
language: "tsx",
|
|
@@ -141,5 +154,5 @@ function MyComponent() {
|
|
|
141
154
|
] });
|
|
142
155
|
};
|
|
143
156
|
export {
|
|
144
|
-
|
|
157
|
+
v as default
|
|
145
158
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-QnI4b7wS.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsx("div",{className:"space-y-8",children:e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Dynamic & Conditional Routes",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Create dynamic routing based on user permissions, feature flags, or application state."}),e.jsx(s.CodeBlock,{language:"tsx",code:`import { useMemo } from 'react';
|
|
2
2
|
|
|
3
3
|
export const useMenuItems = () => {
|
|
4
4
|
const { userRole, featureFlags } = useAppState();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { C as r, a as n, T as s, c as i } from "../index-
|
|
2
|
+
import { C as r, a as n, T as s, c as i } from "../index-B6CStnMG.js";
|
|
3
3
|
import { Shield as m, Flag as d, Database as c } 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"),l=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../index-QnI4b7wS.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const p=()=>{const s=[{key:"prop",label:"Prop",render:a=>e.jsx("code",{className:"text-xs text-brand",children:String(a)})},{key:"type",label:"Type",render:a=>e.jsx("code",{className:"text-xs",children:String(a)})},{key:"default",label:"Default",render:a=>{const t=String(a);return t==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:t})}},{key:"description",label:"Description"}],i=[{prop:"accept",type:"'img' | 'pdf' | 'csvAndExcel' | 'imgAndPdf' | 'all'",default:"undefined (accepts all)",description:'File types to accept. If not provided or set to "all", accepts any file type'},{prop:"multiple",type:"boolean",default:"false",description:"Allow multiple file selection"},{prop:"disabled",type:"boolean",default:"false",description:"Disables the upload component"},{prop:"label",type:"React.ReactNode",default:"'CHOOSE FILE'",description:"Button label text"},{prop:"placeholderText",type:"React.ReactNode",default:"'PNG, GIF, WEBP, MP4 or MP3. Max 100mb.'",description:"Placeholder text displayed in the upload area"},{prop:"children",type:"React.ReactNode",default:"-",description:"Custom content to display in the upload area"},{prop:"wrapperClassName",type:"string",default:"-",description:"Custom CSS classes for the wrapper container"},{prop:"className",type:"string",default:"-",description:"Custom CSS classes for the input element"},{prop:"labelClassName",type:"string",default:"-",description:"Custom CSS classes for the label/button"},{prop:"containerClassName",type:"string",default:"-",description:"Custom CSS classes for the container element"},{prop:"containerProps",type:"React.HTMLAttributes<HTMLDivElement>",default:"-",description:"Additional props to pass to the container element"},{prop:"additionalInputProps",type:"React.InputHTMLAttributes<HTMLInputElement>",default:"-",description:"Additional props to pass to the input element"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(l.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"FileInput"}),e.jsx(l.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"An advanced file input component with native HTML5 drag-and-drop support, image preview, and flexible file type validation. The component implements native drag and drop functionality without external dependencies."})]}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.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(l.CardContainer,{className:"p-4",children:[e.jsx(l.Typography,{tag:"h5",className:"mb-3",children:"Images Only"}),e.jsx(l.FileInput,{label:"Upload Images",accept:"img",placeholderText:"PNG, JPG, GIF, WEBP. Max 100mb."})]}),e.jsxs(l.CardContainer,{className:"p-4",children:[e.jsx(l.Typography,{tag:"h5",className:"mb-3",children:"Multiple Images"}),e.jsx(l.FileInput,{label:"Upload Multiple Images",accept:"img",multiple:!0,placeholderText:"Select multiple images"})]}),e.jsxs(l.CardContainer,{className:"p-4",children:[e.jsx(l.Typography,{tag:"h5",className:"mb-3",children:"PDF Documents"}),e.jsx(l.FileInput,{label:"Upload PDF",accept:"pdf",placeholderText:"PDF files only. Max 100mb."})]}),e.jsxs(l.CardContainer,{className:"p-4",children:[e.jsx(l.Typography,{tag:"h5",className:"mb-3",children:"CSV & Excel Files"}),e.jsx(l.FileInput,{label:"Upload CSV or Excel",accept:"csvAndExcel",multiple:!0,placeholderText:"CSV, XLSX, or XLS files. Max 100mb."})]}),e.jsxs(l.CardContainer,{className:"p-4",children:[e.jsx(l.Typography,{tag:"h5",className:"mb-3",children:"Images & PDFs"}),e.jsx(l.FileInput,{label:"Upload Images or PDFs",accept:"imgAndPdf",multiple:!0,placeholderText:"Images or PDF documents"})]}),e.jsxs(l.CardContainer,{className:"p-4",children:[e.jsx(l.Typography,{tag:"h5",className:"mb-3",children:"All File Types"}),e.jsx(l.FileInput,{label:"Upload Any File",accept:"all",multiple:!0,placeholderText:"Drag and drop any file type or click to browse"})]}),e.jsxs(l.CardContainer,{className:"p-4",children:[e.jsx(l.Typography,{tag:"h5",className:"mb-3",children:"Any File (No Restriction)"}),e.jsx(l.FileInput,{label:"Upload Files",multiple:!0,placeholderText:"Accept any file type - no restrictions"})]}),e.jsxs(l.CardContainer,{className:"p-4",children:[e.jsx(l.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(l.FileInput,{accept:"img",disabled:!0})]})]})})})}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(l.BasicTable,{columns:s,data:i})})})}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(l.CodeBlock,{language:"tsx",code:`import { FileInput } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Images only
|
|
4
4
|
<FileInput
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as t, C as a, a as i, F as s,
|
|
2
|
+
import { T as t, C as a, a as i, F as s, q as o, c as n } from "../index-B6CStnMG.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, Fragment as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as t, C as r, a as i, c as d,
|
|
2
|
+
import { T as t, C as r, a as i, c as d, ag as a } from "../index-B6CStnMG.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|