@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,266 @@
|
|
|
1
|
+
import { jsxs as t, Fragment as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as a, C as r, a as s, K as l, J as o, A as d, c as m } from "../index-B6CStnMG.js";
|
|
3
|
+
import { Clock as g, DollarSign as n, TrendingUp as x, Activity as c } from "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const N = () => /* @__PURE__ */ t(i, { children: [
|
|
8
|
+
/* @__PURE__ */ t("div", { className: "text-center space-y-4", children: [
|
|
9
|
+
/* @__PURE__ */ e(a, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "InfoCard" }),
|
|
10
|
+
/* @__PURE__ */ e(
|
|
11
|
+
a,
|
|
12
|
+
{
|
|
13
|
+
tag: "p",
|
|
14
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
15
|
+
children: "A structured card for displaying key-value data in columns, with optional header, footer tags, and tooltips."
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
] }),
|
|
19
|
+
/* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(s, { title: "Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ t("div", { className: "w-full p-4 sm:p-6 space-y-6", children: [
|
|
20
|
+
/* @__PURE__ */ e(
|
|
21
|
+
l,
|
|
22
|
+
{
|
|
23
|
+
title: "Revenue Summary",
|
|
24
|
+
subtitle: "Q4 2025 Financial Report",
|
|
25
|
+
icon: /* @__PURE__ */ e(n, { className: "h-4 w-4 text-brand" }),
|
|
26
|
+
headerRight: /* @__PURE__ */ e(o, { color: "success", size: "small", children: "+12%" }),
|
|
27
|
+
columns: [
|
|
28
|
+
{
|
|
29
|
+
key: "revenue",
|
|
30
|
+
label: "Revenue",
|
|
31
|
+
icon: /* @__PURE__ */ e(n, { className: "h-3 w-3" }),
|
|
32
|
+
items: [
|
|
33
|
+
{ label: "Total", value: "$1,234,567" },
|
|
34
|
+
{
|
|
35
|
+
label: "Growth",
|
|
36
|
+
value: "+12.3%",
|
|
37
|
+
color: "text-green-500"
|
|
38
|
+
},
|
|
39
|
+
{ label: "Target", value: "$1,500,000" }
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
key: "metrics",
|
|
44
|
+
label: "Metrics",
|
|
45
|
+
accent: "bg-blue-500",
|
|
46
|
+
accentText: "text-blue-500",
|
|
47
|
+
icon: /* @__PURE__ */ e(x, { className: "h-3 w-3" }),
|
|
48
|
+
items: [
|
|
49
|
+
{ label: "Customers", value: "8,432" },
|
|
50
|
+
{ label: "Conversion", value: "3.2%" },
|
|
51
|
+
{ label: "Avg. Order", value: "$146" }
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
key: "performance",
|
|
56
|
+
label: "Performance",
|
|
57
|
+
accent: "bg-orange-500",
|
|
58
|
+
accentText: "text-orange-500",
|
|
59
|
+
icon: /* @__PURE__ */ e(c, { className: "h-3 w-3" }),
|
|
60
|
+
items: [
|
|
61
|
+
{
|
|
62
|
+
label: "Uptime",
|
|
63
|
+
value: "99.9%",
|
|
64
|
+
color: "text-green-500"
|
|
65
|
+
},
|
|
66
|
+
{ label: "Latency", value: "45ms" },
|
|
67
|
+
{ label: "Errors", value: "0.01%" }
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
gridCols: 3,
|
|
72
|
+
footerLabel: "Tags",
|
|
73
|
+
footerTags: [
|
|
74
|
+
{ label: "Quarterly", tooltip: "Q4 2025 data" },
|
|
75
|
+
{
|
|
76
|
+
label: "Verified",
|
|
77
|
+
className: "bg-green-200 dark:bg-green-900/30 border border-green-300/50 dark:border-green-700/50 text-green-700 dark:text-green-400"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
label: "Updated 2h ago",
|
|
81
|
+
icon: /* @__PURE__ */ e(g, { className: "h-3 w-3" })
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
),
|
|
86
|
+
/* @__PURE__ */ e(
|
|
87
|
+
l,
|
|
88
|
+
{
|
|
89
|
+
title: "Simple Card",
|
|
90
|
+
columns: [
|
|
91
|
+
{
|
|
92
|
+
key: "info",
|
|
93
|
+
label: "Basic Info",
|
|
94
|
+
items: [
|
|
95
|
+
{ label: "Name", value: "John Doe" },
|
|
96
|
+
{ label: "Email", value: "john@example.com" },
|
|
97
|
+
{ label: "Role", value: "Admin" }
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
key: "stats",
|
|
102
|
+
label: "Statistics",
|
|
103
|
+
items: [
|
|
104
|
+
{ label: "Projects", value: "12" },
|
|
105
|
+
{ label: "Tasks", value: "48" },
|
|
106
|
+
{
|
|
107
|
+
label: "Completed",
|
|
108
|
+
value: "89%",
|
|
109
|
+
color: "text-green-500"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
gridCols: 2
|
|
115
|
+
}
|
|
116
|
+
),
|
|
117
|
+
/* @__PURE__ */ e(
|
|
118
|
+
l,
|
|
119
|
+
{
|
|
120
|
+
title: "Custom Content",
|
|
121
|
+
subtitle: "Without columns — just children",
|
|
122
|
+
icon: /* @__PURE__ */ e(c, { className: "h-4 w-4 text-brand" }),
|
|
123
|
+
headerRight: /* @__PURE__ */ e(o, { color: "info", size: "small", children: "Live" }),
|
|
124
|
+
footer: /* @__PURE__ */ t("div", { className: "px-5 py-3 border-t border-gray-200/40 dark:border-gray-700/40 flex items-center justify-between", children: [
|
|
125
|
+
/* @__PURE__ */ e(
|
|
126
|
+
a,
|
|
127
|
+
{
|
|
128
|
+
tag: "span",
|
|
129
|
+
className: "text-[11px] text-gray-500",
|
|
130
|
+
children: "Last synced 5 min ago"
|
|
131
|
+
}
|
|
132
|
+
),
|
|
133
|
+
/* @__PURE__ */ e(
|
|
134
|
+
a,
|
|
135
|
+
{
|
|
136
|
+
tag: "span",
|
|
137
|
+
className: "text-[11px] text-brand font-medium cursor-pointer hover:underline",
|
|
138
|
+
children: "Refresh"
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
] }),
|
|
142
|
+
children: /* @__PURE__ */ t("div", { className: "grid grid-cols-2 sm:grid-cols-4 gap-4", children: [
|
|
143
|
+
/* @__PURE__ */ t("div", { className: "text-center", children: [
|
|
144
|
+
/* @__PURE__ */ e(
|
|
145
|
+
a,
|
|
146
|
+
{
|
|
147
|
+
tag: "p",
|
|
148
|
+
className: "text-2xl font-bold text-gray-900 dark:text-gray-100",
|
|
149
|
+
children: "2.4k"
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
/* @__PURE__ */ e(
|
|
153
|
+
a,
|
|
154
|
+
{
|
|
155
|
+
tag: "p",
|
|
156
|
+
className: "text-[11px] text-gray-500 mt-1",
|
|
157
|
+
children: "Active Users"
|
|
158
|
+
}
|
|
159
|
+
)
|
|
160
|
+
] }),
|
|
161
|
+
/* @__PURE__ */ t("div", { className: "text-center", children: [
|
|
162
|
+
/* @__PURE__ */ e(
|
|
163
|
+
a,
|
|
164
|
+
{
|
|
165
|
+
tag: "p",
|
|
166
|
+
className: "text-2xl font-bold text-green-500",
|
|
167
|
+
children: "98.2%"
|
|
168
|
+
}
|
|
169
|
+
),
|
|
170
|
+
/* @__PURE__ */ e(
|
|
171
|
+
a,
|
|
172
|
+
{
|
|
173
|
+
tag: "p",
|
|
174
|
+
className: "text-[11px] text-gray-500 mt-1",
|
|
175
|
+
children: "Uptime"
|
|
176
|
+
}
|
|
177
|
+
)
|
|
178
|
+
] }),
|
|
179
|
+
/* @__PURE__ */ t("div", { className: "text-center", children: [
|
|
180
|
+
/* @__PURE__ */ e(
|
|
181
|
+
a,
|
|
182
|
+
{
|
|
183
|
+
tag: "p",
|
|
184
|
+
className: "text-2xl font-bold text-gray-900 dark:text-gray-100",
|
|
185
|
+
children: "12ms"
|
|
186
|
+
}
|
|
187
|
+
),
|
|
188
|
+
/* @__PURE__ */ e(
|
|
189
|
+
a,
|
|
190
|
+
{
|
|
191
|
+
tag: "p",
|
|
192
|
+
className: "text-[11px] text-gray-500 mt-1",
|
|
193
|
+
children: "Avg Latency"
|
|
194
|
+
}
|
|
195
|
+
)
|
|
196
|
+
] }),
|
|
197
|
+
/* @__PURE__ */ t("div", { className: "text-center", children: [
|
|
198
|
+
/* @__PURE__ */ e(
|
|
199
|
+
a,
|
|
200
|
+
{
|
|
201
|
+
tag: "p",
|
|
202
|
+
className: "text-2xl font-bold text-orange-500",
|
|
203
|
+
children: "3"
|
|
204
|
+
}
|
|
205
|
+
),
|
|
206
|
+
/* @__PURE__ */ e(
|
|
207
|
+
a,
|
|
208
|
+
{
|
|
209
|
+
tag: "p",
|
|
210
|
+
className: "text-[11px] text-gray-500 mt-1",
|
|
211
|
+
children: "Warnings"
|
|
212
|
+
}
|
|
213
|
+
)
|
|
214
|
+
] })
|
|
215
|
+
] })
|
|
216
|
+
}
|
|
217
|
+
)
|
|
218
|
+
] }) }) }),
|
|
219
|
+
/* @__PURE__ */ e(d, { componentName: "InfoCard" }),
|
|
220
|
+
/* @__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(
|
|
221
|
+
m,
|
|
222
|
+
{
|
|
223
|
+
language: "tsx",
|
|
224
|
+
code: `import { InfoCard, Badge } from '@e-burgos/tucu-ui';
|
|
225
|
+
import { DollarSign, TrendingUp } from 'lucide-react';
|
|
226
|
+
|
|
227
|
+
<InfoCard
|
|
228
|
+
title="Revenue"
|
|
229
|
+
subtitle="Q4 Report"
|
|
230
|
+
icon={<DollarSign className="h-4 w-4 text-brand" />}
|
|
231
|
+
headerRight={<Badge color="success">+12%</Badge>}
|
|
232
|
+
columns={[
|
|
233
|
+
{
|
|
234
|
+
key: 'revenue',
|
|
235
|
+
label: 'Revenue',
|
|
236
|
+
icon: <DollarSign className="h-3 w-3" />,
|
|
237
|
+
items: [
|
|
238
|
+
{ label: 'Total', value: '$1,234,567' },
|
|
239
|
+
{ label: 'Growth', value: '+12%', color: 'text-green-500' },
|
|
240
|
+
],
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
key: 'metrics',
|
|
244
|
+
label: 'Metrics',
|
|
245
|
+
accent: 'bg-blue-500',
|
|
246
|
+
accentText: 'text-blue-500',
|
|
247
|
+
icon: <TrendingUp className="h-3 w-3" />,
|
|
248
|
+
items: [
|
|
249
|
+
{ label: 'Users', value: '8,432' },
|
|
250
|
+
{ label: 'Conversion', value: '3.2%' },
|
|
251
|
+
],
|
|
252
|
+
},
|
|
253
|
+
]}
|
|
254
|
+
gridCols={2}
|
|
255
|
+
footerLabel="Tags"
|
|
256
|
+
footerTags={[
|
|
257
|
+
{ label: 'Quarterly', tooltip: 'Q4 2025' },
|
|
258
|
+
{ label: 'Verified', className: 'bg-green-200 dark:bg-green-900/30 border border-green-300/50 dark:border-green-700/50 text-green-700 dark:text-green-400' },
|
|
259
|
+
]}
|
|
260
|
+
/>`
|
|
261
|
+
}
|
|
262
|
+
) }) }) })
|
|
263
|
+
] });
|
|
264
|
+
export {
|
|
265
|
+
N as default
|
|
266
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),a=require("../index-QnI4b7wS.js");require("lucide-react");require("react-router-dom");require("react-dom");const o=()=>{const[r,t]=n.useState(void 0),s=[{name:"React",value:"react"},{name:"Vue",value:"vue"},{name:"Angular",value:"angular"},{name:"Svelte",value:"svelte"},{name:"Next.js",value:"nextjs"}];return 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:"InputSearcher"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A search input component with dropdown suggestions and filtering capabilities."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.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(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic InputSearcher"}),e.jsx(a.InputSearcher,{label:"Search Framework",placeholder:"Search frameworks",options:s,initialValue:r?.value,onOptionSelect:l=>{Array.isArray(l)||t(l)}})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Multiple Selection"}),e.jsx(a.InputSearcher,{label:"Select Frameworks",placeholder:"Select frameworks",options:s,multiple:!0,onOptionSelect:l=>{console.log("Selected:",l)}})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Custom No Matches Message"}),e.jsx(a.InputSearcher,{label:"Search",placeholder:"Search...",options:s,noMatchesMessage:"No results found",onOptionSelect:l=>{console.log("Selected:",l)}})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(a.InputSearcher,{label:"Search",disabled:!0,placeholder:"Disabled",options:s,noMatchesMessage:"No results found",onOptionSelect:l=>{console.log("Selected:",l)}})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.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(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),e.jsx(a.InputSearcher,{label:"Ghost Variant",placeholder:"Search...",variant:"ghost",options:s,onOptionSelect:l=>{console.log("Selected:",l)}})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsx(a.InputSearcher,{label:"Solid Variant",placeholder:"Search...",variant:"solid",options:s,onOptionSelect:l=>{console.log("Selected:",l)}})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),e.jsx(a.InputSearcher,{label:"Transparent Variant",placeholder:"Search...",variant:"transparent",options:s,onOptionSelect:l=>{console.log("Selected:",l)}})]})]})})})}),e.jsx(a.AutoPropsTable,{componentName:"InputSearcher"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { InputSearcher } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const options = [
|
|
4
4
|
{ name: 'React', value: 'react' },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as p, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
|
-
import { T as o, C as t, a as n,
|
|
3
|
+
import { T as o, C as t, a as n, r, 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 e=require("react/jsx-runtime"),t=require("react"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),a=require("../index-QnI4b7wS.js");require("lucide-react");require("react-router-dom");require("react-dom");const n=()=>{const[r,s]=t.useState("");return 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:"Input"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A versatile input component that supports various input types including text, email, password, date, and more."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsxs(a.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(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Input"}),e.jsx(a.Input,{label:"Name",placeholder:"Enter your name",value:r,onChange:l=>s(l.target.value)})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsx(a.Input,{label:"Email",type:"email",placeholder:"Enter your email",helperText:"We'll never share your email"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsx(a.Input,{label:"Password",type:"password",placeholder:"Enter password",error:"Password is required"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(a.Input,{label:"Disabled",placeholder:"Disabled input",disabled:!0})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Date Input"}),e.jsx(a.Input,{label:"Date",type:"date",dateFormat:"DD-MM-YYYY"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Number Input"}),e.jsx(a.Input,{label:"Age",type:"number",placeholder:"Enter age"})]})]})}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"headline",className:"mb-4",children:"Variants"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mb-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),e.jsx(a.Input,{label:"Ghost Variant",placeholder:"Enter text",variant:"ghost"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsx(a.Input,{label:"Solid Variant",placeholder:"Enter text",variant:"solid"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),e.jsx(a.Input,{label:"Transparent Variant",placeholder:"Enter text",variant:"transparent"})]})]})]})]})}),e.jsx(a.AutoPropsTable,{componentName:"Input"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { Input } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<Input
|
|
@@ -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 p } from "react";
|
|
3
|
-
import { T as l, C as t, a as s, I as r, A as m, c as o } from "../index-
|
|
3
|
+
import { T as l, C as t, a as s, I as r, A as m, c as o } from "../index-B6CStnMG.js";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as s, C as t, a as d, $ as l, A as i, c } from "../index-B6CStnMG.js";
|
|
3
|
+
import "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const v = () => /* @__PURE__ */ a(r, { children: [
|
|
8
|
+
/* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
|
|
9
|
+
/* @__PURE__ */ e(s, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "KeyValueRow" }),
|
|
10
|
+
/* @__PURE__ */ e(
|
|
11
|
+
s,
|
|
12
|
+
{
|
|
13
|
+
tag: "p",
|
|
14
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
15
|
+
children: "A simple row component for displaying label-value pairs, ideal for detail panels, summaries, and settings views."
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
] }),
|
|
19
|
+
/* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(d, { title: "Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
20
|
+
/* @__PURE__ */ a(t, { className: "p-4", children: [
|
|
21
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "Basic Usage" }),
|
|
22
|
+
/* @__PURE__ */ a("div", { className: "divide-y divide-gray-200/50 dark:divide-gray-700/50", children: [
|
|
23
|
+
/* @__PURE__ */ e(l, { label: "Name", value: "John Doe" }),
|
|
24
|
+
/* @__PURE__ */ e(l, { label: "Email", value: "john@example.com" }),
|
|
25
|
+
/* @__PURE__ */ e(l, { label: "Role", value: "Administrator" }),
|
|
26
|
+
/* @__PURE__ */ e(l, { label: "Status", value: "Active" })
|
|
27
|
+
] })
|
|
28
|
+
] }),
|
|
29
|
+
/* @__PURE__ */ a(t, { className: "p-4", children: [
|
|
30
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "Monospace & Accent" }),
|
|
31
|
+
/* @__PURE__ */ a("div", { className: "divide-y divide-gray-200/50 dark:divide-gray-700/50", children: [
|
|
32
|
+
/* @__PURE__ */ e(l, { label: "Balance", value: "$12,450.00", mono: !0 }),
|
|
33
|
+
/* @__PURE__ */ e(l, { label: "Interest Rate", value: "3.5%", mono: !0, accent: !0 }),
|
|
34
|
+
/* @__PURE__ */ e(l, { label: "Account ID", value: "ACC-0042891", mono: !0 }),
|
|
35
|
+
/* @__PURE__ */ e(
|
|
36
|
+
l,
|
|
37
|
+
{
|
|
38
|
+
label: "Next Payment",
|
|
39
|
+
value: "Jun 15, 2026",
|
|
40
|
+
accent: !0
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
] })
|
|
44
|
+
] }),
|
|
45
|
+
/* @__PURE__ */ a(t, { className: "p-4 md:col-span-2", children: [
|
|
46
|
+
/* @__PURE__ */ e(s, { tag: "h5", className: "mb-3", children: "With Custom Values (ReactNode)" }),
|
|
47
|
+
/* @__PURE__ */ a("div", { className: "divide-y divide-gray-200/50 dark:divide-gray-700/50", children: [
|
|
48
|
+
/* @__PURE__ */ e(
|
|
49
|
+
l,
|
|
50
|
+
{
|
|
51
|
+
label: "Health",
|
|
52
|
+
value: /* @__PURE__ */ a("span", { className: "inline-flex items-center gap-1.5 text-green-500 text-xs font-medium", children: [
|
|
53
|
+
/* @__PURE__ */ e("span", { className: "h-2 w-2 rounded-full bg-green-500" }),
|
|
54
|
+
"Healthy"
|
|
55
|
+
] })
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
/* @__PURE__ */ e(
|
|
59
|
+
l,
|
|
60
|
+
{
|
|
61
|
+
label: "Progress",
|
|
62
|
+
value: /* @__PURE__ */ e("div", { className: "w-24 h-1.5 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden", children: /* @__PURE__ */ e("div", { className: "h-full w-3/4 bg-brand rounded-full" }) })
|
|
63
|
+
}
|
|
64
|
+
),
|
|
65
|
+
/* @__PURE__ */ e(
|
|
66
|
+
l,
|
|
67
|
+
{
|
|
68
|
+
label: "Tags",
|
|
69
|
+
value: /* @__PURE__ */ a("div", { className: "flex gap-1", children: [
|
|
70
|
+
/* @__PURE__ */ e("span", { className: "px-1.5 py-0.5 text-[10px] rounded bg-brand/10 text-brand", children: "React" }),
|
|
71
|
+
/* @__PURE__ */ e("span", { className: "px-1.5 py-0.5 text-[10px] rounded bg-blue-500/10 text-blue-500", children: "TypeScript" })
|
|
72
|
+
] })
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
] })
|
|
76
|
+
] })
|
|
77
|
+
] }) }) }) }),
|
|
78
|
+
/* @__PURE__ */ e(i, { componentName: "KeyValueRow" }),
|
|
79
|
+
/* @__PURE__ */ e(t, { 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(
|
|
80
|
+
c,
|
|
81
|
+
{
|
|
82
|
+
language: "tsx",
|
|
83
|
+
code: `import { KeyValueRow } from '@e-burgos/tucu-ui';
|
|
84
|
+
|
|
85
|
+
// Basic
|
|
86
|
+
<KeyValueRow label="Name" value="John Doe" />
|
|
87
|
+
|
|
88
|
+
// Monospace numbers
|
|
89
|
+
<KeyValueRow label="Balance" value="$12,450.00" mono />
|
|
90
|
+
|
|
91
|
+
// Accent color
|
|
92
|
+
<KeyValueRow label="Rate" value="3.5%" mono accent />
|
|
93
|
+
|
|
94
|
+
// Custom ReactNode value
|
|
95
|
+
<KeyValueRow
|
|
96
|
+
label="Status"
|
|
97
|
+
value={<span className="text-green-500">Active</span>}
|
|
98
|
+
/>`
|
|
99
|
+
}
|
|
100
|
+
) }) }) })
|
|
101
|
+
] });
|
|
102
|
+
export {
|
|
103
|
+
v as default
|
|
104
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
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 l=()=>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:"KeyValueRow"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A simple row component for displaying label-value pairs, ideal for detail panels, summaries, and settings views."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.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-6",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Usage"}),e.jsxs("div",{className:"divide-y divide-gray-200/50 dark:divide-gray-700/50",children:[e.jsx(a.KeyValueRow,{label:"Name",value:"John Doe"}),e.jsx(a.KeyValueRow,{label:"Email",value:"john@example.com"}),e.jsx(a.KeyValueRow,{label:"Role",value:"Administrator"}),e.jsx(a.KeyValueRow,{label:"Status",value:"Active"})]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Monospace & Accent"}),e.jsxs("div",{className:"divide-y divide-gray-200/50 dark:divide-gray-700/50",children:[e.jsx(a.KeyValueRow,{label:"Balance",value:"$12,450.00",mono:!0}),e.jsx(a.KeyValueRow,{label:"Interest Rate",value:"3.5%",mono:!0,accent:!0}),e.jsx(a.KeyValueRow,{label:"Account ID",value:"ACC-0042891",mono:!0}),e.jsx(a.KeyValueRow,{label:"Next Payment",value:"Jun 15, 2026",accent:!0})]})]}),e.jsxs(a.CardContainer,{className:"p-4 md:col-span-2",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Custom Values (ReactNode)"}),e.jsxs("div",{className:"divide-y divide-gray-200/50 dark:divide-gray-700/50",children:[e.jsx(a.KeyValueRow,{label:"Health",value:e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-green-500 text-xs font-medium",children:[e.jsx("span",{className:"h-2 w-2 rounded-full bg-green-500"}),"Healthy"]})}),e.jsx(a.KeyValueRow,{label:"Progress",value:e.jsx("div",{className:"w-24 h-1.5 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden",children:e.jsx("div",{className:"h-full w-3/4 bg-brand rounded-full"})})}),e.jsx(a.KeyValueRow,{label:"Tags",value:e.jsxs("div",{className:"flex gap-1",children:[e.jsx("span",{className:"px-1.5 py-0.5 text-[10px] rounded bg-brand/10 text-brand",children:"React"}),e.jsx("span",{className:"px-1.5 py-0.5 text-[10px] rounded bg-blue-500/10 text-blue-500",children:"TypeScript"})]})})]})]})]})})})}),e.jsx(a.AutoPropsTable,{componentName:"KeyValueRow"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { KeyValueRow } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
// Basic
|
|
4
|
+
<KeyValueRow label="Name" value="John Doe" />
|
|
5
|
+
|
|
6
|
+
// Monospace numbers
|
|
7
|
+
<KeyValueRow label="Balance" value="$12,450.00" mono />
|
|
8
|
+
|
|
9
|
+
// Accent color
|
|
10
|
+
<KeyValueRow label="Rate" value="3.5%" mono accent />
|
|
11
|
+
|
|
12
|
+
// Custom ReactNode value
|
|
13
|
+
<KeyValueRow
|
|
14
|
+
label="Status"
|
|
15
|
+
value={<span className="text-green-500">Active</span>}
|
|
16
|
+
/>`})})})})]});exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),a=require("../index-QnI4b7wS.js"),l=require("lucide-react");require("react-router-dom");require("react-dom");const c=()=>{const[i,t]=r.useState(!1),o=[{key:"Tab",action:"Navigate to next focusable element"},{key:"Shift + Tab",action:"Navigate to previous focusable element"},{key:"Enter",action:"Activate buttons and links"},{key:"Space",action:"Activate buttons and checkboxes"},{key:"Arrow Keys",action:"Navigate within components"},{key:"Escape",action:"Close modals and dropdowns"},{key:"Home/End",action:"Navigate to first/last item"},{key:"Page Up/Down",action:"Navigate through large lists"}];return e.jsxs("div",{className:"space-y-8",children:[e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Keyboard Navigation",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 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 from-orange-500 via-amber-500 to-yellow-500 shadow-lg",children:e.jsx(l.Keyboard,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Keyboard Shortcuts"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"All interactive elements are fully accessible via keyboard navigation."}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:o.map((s,n)=>e.jsxs("div",{className:"flex items-center gap-3 p-3 bg-light-dark rounded",children:[e.jsx(a.Badge,{variant:"outline",className:"font-mono",children:s.key}),e.jsx(a.Typography,{tag:"p",className:"text-sm",children:s.action})]},n))}),e.jsxs("div",{className:"p-4 border rounded-lg",children:[e.jsx(a.Typography,{tag:"h4",className:"font-semibold mb-3",children:"Try Keyboard Navigation"}),e.jsxs("div",{className:"flex gap-4 flex-wrap",children:[e.jsx(a.Button,{color:"primary",children:"First Button"}),e.jsx(a.Button,{color:"info",children:"Second Button"}),e.jsx(a.Button,{variant:"ghost",children:"Third Button"}),e.jsx(a.Button,{onClick:()=>t(!0),children:"Open Modal"})]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mt-3",children:"Use Tab to navigate between buttons, Enter or Space to activate them."})]})]})})}),e.jsx(a.Modal,{isOpen:i,setIsOpen:t,text:{title:"Accessibility Test Modal",content:"This modal demonstrates focus trapping and keyboard navigation. Try using Tab, Shift+Tab, and Escape keys."}})]})};exports.default=c;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l } from "react";
|
|
3
|
-
import { C as c, a as d, T as t,
|
|
3
|
+
import { C as c, a as d, T as t, J as m, y as o, a2 as g } from "../index-B6CStnMG.js";
|
|
4
4
|
import { Keyboard as p } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const k = () => {
|
|
8
|
-
const [
|
|
8
|
+
const [n, i] = l(!1);
|
|
9
9
|
return /* @__PURE__ */ a("div", { className: "space-y-8", children: [
|
|
10
10
|
/* @__PURE__ */ e(c, { className: "overflow-hidden", children: /* @__PURE__ */ e(d, { title: "Keyboard Navigation", className: "mt-2 mb-2", children: /* @__PURE__ */ a("div", { className: "w-full space-y-8 p-4 sm:p-6", children: [
|
|
11
11
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
@@ -22,7 +22,7 @@ const k = () => {
|
|
|
22
22
|
{ key: "Escape", action: "Close modals and dropdowns" },
|
|
23
23
|
{ key: "Home/End", action: "Navigate to first/last item" },
|
|
24
24
|
{ key: "Page Up/Down", action: "Navigate through large lists" }
|
|
25
|
-
].map((s,
|
|
25
|
+
].map((s, r) => /* @__PURE__ */ a(
|
|
26
26
|
"div",
|
|
27
27
|
{
|
|
28
28
|
className: "flex items-center gap-3 p-3 bg-light-dark rounded",
|
|
@@ -31,7 +31,7 @@ const k = () => {
|
|
|
31
31
|
/* @__PURE__ */ e(t, { tag: "p", className: "text-sm", children: s.action })
|
|
32
32
|
]
|
|
33
33
|
},
|
|
34
|
-
|
|
34
|
+
r
|
|
35
35
|
)) }),
|
|
36
36
|
/* @__PURE__ */ a("div", { className: "p-4 border rounded-lg", children: [
|
|
37
37
|
/* @__PURE__ */ e(t, { tag: "h4", className: "font-semibold mb-3", children: "Try Keyboard Navigation" }),
|
|
@@ -54,7 +54,7 @@ const k = () => {
|
|
|
54
54
|
/* @__PURE__ */ e(
|
|
55
55
|
g,
|
|
56
56
|
{
|
|
57
|
-
isOpen:
|
|
57
|
+
isOpen: n,
|
|
58
58
|
setIsOpen: i,
|
|
59
59
|
text: {
|
|
60
60
|
title: "Accessibility Test Modal",
|
package/documentation/{LayoutPrinciplesSection-Cv2qVdah.js → LayoutPrinciplesSection-BiLVZUWB.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as t, C as n, a as d,
|
|
2
|
+
import { T as t, C as n, a as d, J as o } from "../index-B6CStnMG.js";
|
|
3
3
|
import { Layout as m, Layers3 as p } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
package/documentation/{LayoutPrinciplesSection-ZcukszdJ.js → LayoutPrinciplesSection-Cw3geSSU.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-QnI4b7wS.js"),l=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=t=>{if(typeof window>"u")return"";const i=document.documentElement;return getComputedStyle(i).getPropertyValue(t).trim()||""},d=()=>{const t=[{name:"xs",varName:"--breakpoint-xs",value:"500px",description:"Extra small devices"},{name:"sm",varName:"--breakpoint-sm",value:"640px",description:"Small devices (landscape phones)"},{name:"md",varName:"--breakpoint-md",value:"768px",description:"Medium devices (tablets)"},{name:"lg",varName:"--breakpoint-lg",value:"1024px",description:"Large devices (desktops)"},{name:"xl",varName:"--breakpoint-xl",value:"1280px",description:"Extra large devices"},{name:"2xl",varName:"--breakpoint-2xl",value:"1440px",description:"2X large screens"},{name:"3xl",varName:"--breakpoint-3xl",value:"1780px",description:"3X large screens"},{name:"4xl",varName:"--breakpoint-4xl",value:"1920px",description:"4X large screens (Full HD)"},{name:"5xl",varName:"--breakpoint-5xl",value:"2160px",description:"5X large screens (2K)"},{name:"6xl",varName:"--breakpoint-6xl",value:"2560px",description:"6X large screens (WQHD)"},{name:"4k",varName:"--breakpoint-4k",value:"3840px",description:"4K Ultra HD screens"}],i=[{name:"Base",value:"0",description:"Default layer for most elements"},{name:"Dropdown",value:"10",description:"Dropdown menus and popovers"},{name:"Sticky",value:"20",description:"Sticky positioned elements"},{name:"Fixed",value:"30",description:"Fixed positioned elements"},{name:"Modal Backdrop",value:"40",description:"Modal overlay backgrounds"},{name:"Modal",value:"50",description:"Modal dialogs and drawers"},{name:"Popover",value:"60",description:"Tooltips and popovers"},{name:"Toast",value:"70",description:"Toast notifications"},{name:"Tooltip",value:"80",description:"Tooltips (highest priority)"}];return 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:"Layout Principles"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Responsive design patterns and layout guidelines for consistent experiences"})]}),e.jsxs("div",{className:"space-y-8",children:[e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Responsive Breakpoints",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 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 from-indigo-500 via-purple-500 to-violet-500 shadow-md",children:e.jsx(l.Layout,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Responsive Breakpoints"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:t.map(s=>{const r=n(s.varName);return e.jsx("div",{className:"space-y-3 p-4 bg-muted/20 rounded-lg border border-gray-200 dark:border-gray-700",children:e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a.Badge,{variant:"outline",className:"font-mono",children:s.name}),e.jsx(a.Typography,{tag:"h3",className:"font-semibold",children:s.description})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx(a.Typography,{tag:"h4",className:"text-muted text-xs break-all font-mono",children:s.varName}),e.jsxs(a.Typography,{tag:"h4",className:"text-muted text-sm font-semibold",children:["Min-width: ",r||s.value]}),r&&r!==s.value&&e.jsxs(a.Typography,{tag:"h4",className:"text-muted text-[10px] break-all",children:["CSS Value: ",r]})]})]})},s.name)})})]})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Z-Index Scale",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-8 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 from-cyan-500 via-teal-500 to-blue-500 shadow-md",children:e.jsx(l.Layers3,{className:"w-6 h-6 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Z-Index Scale"})]}),e.jsx("div",{className:"space-y-2",children:i.map(s=>e.jsx("div",{className:"flex items-center justify-between p-3 bg-muted/20 rounded",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(a.Badge,{variant:"outline",className:"font-mono w-12 justify-center",children:s.value}),e.jsxs("div",{children:[e.jsx("div",{className:"font-semibold",children:s.name}),e.jsx("div",{className:"text-sm text-muted-foreground",children:s.description})]})]})},s.name))})]})})})]})]})};exports.default=d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a, Fragment as d } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { av as r, T as t, C as m, J as p } from "../index-B6CStnMG.js";
|
|
3
3
|
import { Layout as h, Menu as g, Minimize2 as u, Zap as x, CheckCircle as v, Star as b, Check as f, Code as N } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-QnI4b7wS.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const c=()=>{const r=[{name:"Admin Layout",description:"Traditional admin layout with expandable sidebar and fixed header. Designed for complex applications with hierarchical navigation and multiple sections.",icon:e.jsx(s.Layout,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),color:"from-blue-500 via-cyan-500 to-teal-500",value:a.LAYOUT_OPTIONS.ADMIN,useCases:["Dashboard applications","Admin panels and management systems","Complex applications with many navigation items","Applications requiring hierarchical menu structure","Enterprise software and internal tools","Applications with multiple sections and subsections"],features:["Expandable sidebar navigation (visible on xl screens)","Fixed header with logo and action buttons","Responsive drawer menu for mobile devices","RTL/LTR direction support","Full-width content option available","Sidebar padding: 96px (xl) / 112px (2xl)","Content padding: 16px (mobile) / 24px (sm) / 32px (lg) / 40px (3xl)"],technical:{sidebar:"ExpandableSidebar component (hidden on mobile, visible xl+)",header:"AdminHeader component with menu toggle",drawer:"Drawer component for mobile navigation",breakpoint:"Sidebar visible from xl breakpoint (1024px)"}},{name:"Horizontal Layout",description:"Modern horizontal navigation layout with top menu bar. Ideal for content-focused sites, marketing pages, and applications with simple navigation.",icon:e.jsx(s.Menu,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),color:"from-purple-500 via-violet-500 to-indigo-500",value:a.LAYOUT_OPTIONS.HORIZONTAL,useCases:["Content-focused websites","Marketing and landing pages","Simple applications with few navigation items","Portfolio and showcase sites","Blog and content management systems","Public-facing applications"],features:["Horizontal top navigation menu","Sticky header with logo and action buttons","Mobile hamburger menu with drawer","Backdrop blur effects on header","Full-width content option available","Content padding: 8px (mobile) / 24px (sm) / 32px (lg) / 40px (3xl)","Minimal vertical space usage"],technical:{header:"HorizontalHeader component with horizontal menu",menu:"HorizontalNavMenu component",drawer:"Drawer component for mobile navigation",breakpoint:"Horizontal menu visible on all screen sizes"}},{name:"Clean Layout",description:"Minimal layout without navigation elements. Perfect for authentication pages, standalone content, and full-screen experiences.",icon:e.jsx(s.Minimize2,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),color:"from-emerald-500 via-green-500 to-teal-500",value:a.LAYOUT_OPTIONS.CLEAN,useCases:["Authentication pages (login, signup, password reset)","Landing pages and marketing sites","Standalone content pages","Full-screen applications","Modal and overlay content","Embedded widgets and components"],features:["No navigation elements or headers","Full viewport height (100vh)","Flex column layout","Perfect for centered content","Minimal overhead and dependencies","No menu items required","Customizable via className prop"],technical:{structure:"Simple flex container with full height",dependencies:"No header, sidebar, or menu components",customization:"Full control via className prop",useWhen:"No navigation needed, standalone content"}}];return 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:"Layout Types"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Three distinct layout patterns for various application types. Choose the right layout based on your application's navigation needs and structure."})]}),e.jsx("div",{className:"space-y-8",children:r.map((t,o)=>e.jsx(a.CardContainer,{className:"group hover:shadow-large transition-all duration-300 overflow-hidden",children:e.jsxs("div",{className:"w-full space-y-6 p-4 sm:p-6",children:[e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:`p-3 rounded-xl bg-gradient-to-br ${t.color} group-hover:scale-110 transition-all duration-300 shadow-lg shrink-0`,children:t.icon}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx(a.Typography,{tag:"h3",className:"font-semibold text-xl group-hover:text-primary transition-colors duration-300",children:t.name}),e.jsx(a.Badge,{variant:"outline",className:"text-xs",children:t.value})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 leading-relaxed",children:t.description})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s.Zap,{className:"w-5 h-5 text-primary"}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold text-base",children:"When to Use"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-2",children:t.useCases.map((i,n)=>e.jsxs("div",{className:"flex items-start gap-2 p-2 bg-gray-100 dark:bg-gray-800 rounded-lg",children:[e.jsx(s.CheckCircle,{className:"w-3 h-3 text-primary mt-1 shrink-0"}),e.jsx(a.Typography,{tag:"span",className:"text-sm text-gray-700 dark:text-gray-300",children:i})]},n))})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s.Star,{className:"w-5 h-5 text-primary"}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold text-base",children:"Features"})]}),e.jsx("div",{className:"space-y-2",children:t.features.map((i,n)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx(a.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:i})]},n))})]}),e.jsxs("div",{className:"space-y-3 pt-3 border-t border-gray-200 dark:border-gray-700",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s.Code,{className:"w-5 h-5 text-primary"}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold text-base",children:"Technical Details"})]}),e.jsx("div",{className:"space-y-2",children:Object.entries(t.technical).map(([i,n],l)=>e.jsxs("div",{className:"flex items-start gap-2 text-sm",children:[e.jsxs(a.Typography,{tag:"span",className:"font-medium text-gray-700 dark:text-gray-300 capitalize min-w-[100px]",children:[i.replace(/([A-Z])/g," $1").trim(),":"]}),e.jsx(a.Typography,{tag:"span",className:"text-gray-600 dark:text-gray-400",children:n})]},l))})]})]})},o))})]})};exports.default=c;
|
|
@@ -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 s=[{name:"Jan",revenue:4e3,expenses:2400,profit:1600},{name:"Feb",revenue:3e3,expenses:1398,profit:1602},{name:"Mar",revenue:5e3,expenses:3200,profit:1800},{name:"Apr",revenue:4780,expenses:2908,profit:1872},{name:"May",revenue:5890,expenses:4800,profit:1090},{name:"Jun",revenue:6390,expenses:3800,profit:2590},{name:"Jul",revenue:7490,expenses:4300,profit:3190}],n=()=>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:"LineChart"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Line chart component for displaying trends and time-series data with multiple series, custom curves, and theme integration."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Line Chart",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.LineChart,{data:s,series:[{dataKey:"revenue",name:"Revenue"},{dataKey:"expenses",name:"Expenses"}],height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Multiple Series with Dots",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.LineChart,{data:s,series:[{dataKey:"revenue",name:"Revenue"},{dataKey:"expenses",name:"Expenses"},{dataKey:"profit",name:"Profit"}],showDots:!0,height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Straight Lines (No Curve)",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.LineChart,{data:s,series:[{dataKey:"revenue",name:"Revenue"},{dataKey:"profit",name:"Profit"}],curved:!1,strokeWidth:3,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 { LineChart } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
const data = [
|
|
4
|
+
{ name: 'Jan', revenue: 4000, expenses: 2400 },
|
|
5
|
+
{ name: 'Feb', revenue: 3000, expenses: 1398 },
|
|
6
|
+
{ name: 'Mar', revenue: 5000, expenses: 3200 },
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
<LineChart
|
|
10
|
+
data={data}
|
|
11
|
+
series={[
|
|
12
|
+
{ dataKey: 'revenue', name: 'Revenue' },
|
|
13
|
+
{ dataKey: 'expenses', name: 'Expenses' },
|
|
14
|
+
]}
|
|
15
|
+
height={300}
|
|
16
|
+
curved
|
|
17
|
+
showDots
|
|
18
|
+
showGrid
|
|
19
|
+
showTooltip
|
|
20
|
+
showLegend
|
|
21
|
+
/>`,language:"tsx"})})})}),e.jsx(a.PropPlayground,{componentName:"LineChart",defaultValues:{height:300,curved:!0,showDots:!1,strokeWidth:2,showGrid:!0,showTooltip:!0,showLegend:!0,animate:!0},excludeProps:["data","series","colors","className","xAxisKey","emptyMessage"],children:t=>e.jsx(a.LineChart,{data:s,series:[{dataKey:"revenue",name:"Revenue"},{dataKey:"expenses",name:"Expenses"}],...t})}),e.jsx(a.AutoPropsTable,{componentName:"LineChart"})]});exports.default=n;
|