@e-burgos/tucu-ui 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +117 -0
- package/README.md +9 -4
- package/components/blockchain/coin-listbox.d.ts +2 -1
- package/components/blockchain/collection-select-list.d.ts +4 -1
- package/components/cards/card.d.ts +13 -0
- package/components/cards/index.d.ts +2 -0
- package/components/cards/info-card.d.ts +54 -0
- package/components/charts/area-chart/area-chart.d.ts +9 -0
- package/components/charts/area-chart/index.d.ts +2 -0
- package/components/charts/bar-chart/bar-chart.d.ts +10 -0
- package/components/charts/bar-chart/index.d.ts +2 -0
- package/components/charts/components/chart-container.d.ts +8 -0
- package/components/charts/components/chart-empty-state.d.ts +6 -0
- package/components/charts/components/chart-tooltip.d.ts +2 -0
- package/components/charts/components/index.d.ts +3 -0
- package/components/charts/composed-chart/composed-chart.d.ts +9 -0
- package/components/charts/composed-chart/index.d.ts +2 -0
- package/components/charts/hooks/index.d.ts +2 -0
- package/components/charts/hooks/use-chart-theme.d.ts +13 -0
- package/components/charts/index.d.ts +18 -0
- package/components/charts/line-chart/index.d.ts +2 -0
- package/components/charts/line-chart/line-chart.d.ts +9 -0
- package/components/charts/pie-chart/index.d.ts +2 -0
- package/components/charts/pie-chart/pie-chart.d.ts +14 -0
- package/components/charts/radar-chart/index.d.ts +2 -0
- package/components/charts/radar-chart/radar-chart.d.ts +17 -0
- package/components/charts/types.d.ts +32 -0
- package/components/common/index.d.ts +3 -0
- package/components/common/key-value-row.d.ts +9 -0
- package/components/common/pagination.d.ts +9 -0
- package/components/common/stepper.d.ts +13 -0
- package/components/dialog/drawer-container.d.ts +1 -1
- package/components/dialog/index.d.ts +1 -0
- package/components/dialog/tab-modal.d.ts +41 -0
- package/components/index.d.ts +1 -0
- package/components/inputs/file-input.d.ts +1 -7
- package/components/inputs/input-searcher.d.ts +3 -2
- package/components/inputs/select.d.ts +9 -1
- package/components/tabs/tab.d.ts +31 -13
- package/components/utils/scroll-to-top.d.ts +17 -9
- package/demo/generated/props-metadata.d.ts +2 -2
- package/demo/pages/components/ChartsComponents.d.ts +2 -0
- package/demo/pages/components/charts-sections/AreaChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/BarChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/ComposedChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/LineChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/PieChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/RadarChartSection.d.ts +3 -0
- package/demo/pages/components/charts-sections/index.d.ts +1 -0
- package/demo/pages/components/ui-components-sections/CardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/InfoCardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/KeyValueRowSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/PaginationSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/StepperSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TabModalSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/index.d.ts +5 -0
- package/demo/pages/index.d.ts +1 -0
- package/demo/pages/introduction/BasicUsageDemo.d.ts +1 -1
- package/documentation/{APIReferenceSection-B2oYdmby.js → APIReferenceSection-5NIzxE3h.js} +1 -1
- package/documentation/{APIReferenceSection-h-8Utbap.js → APIReferenceSection-Ce8zFFzl.js} +1 -1
- package/documentation/{ActiveLinkSection-CdXQGIsJ.js → ActiveLinkSection-B-OjIv25.js} +1 -1
- package/documentation/{ActiveLinkSection-C95OfpHr.js → ActiveLinkSection-Cfder2gM.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-BtpxH8Mu.js → AdvancedColorSystemSection-1p7Gzgv7.js} +1 -1
- package/documentation/{AdvancedColorSystemSection-BQshRXTc.js → AdvancedColorSystemSection-Dvs9aiJv.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-BdL5enY8.js → AdvancedFeaturesSection-BcZzGuLC.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-DNsHjabp.js → AdvancedFeaturesSection-BoNIb9oH.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-VcHwYejS.js → AdvancedFeaturesSection-Bw-yEeIB.js} +1 -1
- package/documentation/{AdvancedFeaturesSection-Ht5TTHY8.js → AdvancedFeaturesSection-CJbGz9l9.js} +1 -1
- package/documentation/{AlertSection-CkPDRBrP.js → AlertSection-1mnmAGE8.js} +1 -1
- package/documentation/{AlertSection-ZNoVAqQG.js → AlertSection-DLSlCvUX.js} +1 -1
- package/documentation/{AnchorLinkSection-Db8dVTL1.js → AnchorLinkSection-BkC1XlUO.js} +1 -1
- package/documentation/{AnchorLinkSection-BwEq_xXD.js → AnchorLinkSection-DtkZLFtc.js} +11 -11
- package/documentation/{ArchitecturalPatternsComparisonSection-_ICdjaay.js → ArchitecturalPatternsComparisonSection-BmurN8qG.js} +1 -1
- package/documentation/{ArchitecturalPatternsComparisonSection-0JvWXvga.js → ArchitecturalPatternsComparisonSection-Dwlq44TJ.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-A86tJq4O.js → ArchitectureOverviewSection-CQj0Os1t.js} +1 -1
- package/documentation/{ArchitectureOverviewSection-J96NVKkD.js → ArchitectureOverviewSection-Cc4iZOZ9.js} +1 -1
- package/documentation/AreaChartSection-CdymW4XW.js +22 -0
- package/documentation/AreaChartSection-okjH0UNh.js +132 -0
- package/documentation/{AuthorCardSection-CYkh23Xg.js → AuthorCardSection-BVzTIrw9.js} +1 -1
- package/documentation/{AuthorCardSection-BSX9oAo1.js → AuthorCardSection-DyH2f3Hs.js} +1 -1
- package/documentation/{AvatarSection-LVqlXwpv.js → AvatarSection-BvtkeOrt.js} +1 -1
- package/documentation/{AvatarSection-BvtKvbAp.js → AvatarSection-CWj6h6Xw.js} +1 -1
- package/documentation/{BadgeSection-CeyBqNzE.js → BadgeSection-Bm2kMztE.js} +1 -1
- package/documentation/{BadgeSection-wnv6WJoJ.js → BadgeSection-D5PSo5Ha.js} +1 -1
- package/documentation/BarChartSection-DNhGp-SX.js +127 -0
- package/documentation/BarChartSection-DOO1X0Ls.js +23 -0
- package/documentation/{BasicTableSection-DHR7wxMf.js → BasicTableSection-B2GWADgL.js} +1 -1
- package/documentation/{BasicTableSection-Djqd7GTc.js → BasicTableSection-BWdAaKCh.js} +1 -1
- package/documentation/{BasicUsageSection-RB5uqmJE.js → BasicUsageSection-C26gvzBZ.js} +1 -1
- package/documentation/{BasicUsageSection-CAOyX6Rh.js → BasicUsageSection-CiAmGFF6.js} +1 -1
- package/documentation/{BestPracticesSection-Y7WVzfHX.js → BestPracticesSection--qw-Bu17.js} +1 -1
- package/documentation/{BestPracticesSection-DO-w9jZN.js → BestPracticesSection-BLO5W3Dz.js} +1 -1
- package/documentation/{BestPracticesSection-CrduKU11.js → BestPracticesSection-BQexEz6I.js} +1 -1
- package/documentation/{BestPracticesSection-C72mSxPs.js → BestPracticesSection-BelrvRky.js} +1 -1
- package/documentation/{BestPracticesSection-7oPmBTjr.js → BestPracticesSection-C51kB-ds.js} +1 -1
- package/documentation/{BestPracticesSection-BAi4u6sT.js → BestPracticesSection-CUi5U-9F.js} +1 -1
- package/documentation/{BestPracticesSection-FNEhFmPF.js → BestPracticesSection-CanX6URp.js} +1 -1
- package/documentation/{BestPracticesSection-Dki1wap5.js → BestPracticesSection-D9A1lsfb.js} +1 -1
- package/documentation/{BestPracticesSection-D2ahvfz_.js → BestPracticesSection-DEmC0S-K.js} +1 -1
- package/documentation/{BestPracticesSection-CfKUd_V5.js → BestPracticesSection-DLPSyeBF.js} +1 -1
- package/documentation/{BestPracticesSection-Dlv7tr8A.js → BestPracticesSection-Duk-VLd3.js} +1 -1
- package/documentation/{BestPracticesSection-De_JKhUW.js → BestPracticesSection-VeEUdINe.js} +1 -1
- package/documentation/{BestPracticesSection-DVOUUyCP.js → BestPracticesSection-p2NFG4oR.js} +1 -1
- package/documentation/{BestPracticesSection-CCUAVucV.js → BestPracticesSection-q-nfGUu_.js} +1 -1
- package/documentation/{BorderRadiusSection-B7LfzLmt.js → BorderRadiusSection-CPv-iEOg.js} +1 -1
- package/documentation/{BorderRadiusSection-CuLZQqX2.js → BorderRadiusSection-CWtBKR4n.js} +1 -1
- package/documentation/{ButtonDripSection-Rv6xpiKS.js → ButtonDripSection-CdyZmshO.js} +1 -1
- package/documentation/{ButtonDripSection-BaIO6Rop.js → ButtonDripSection-DvqrkiYu.js} +1 -1
- package/documentation/{ButtonLoaderSection-Bkzh89oP.js → ButtonLoaderSection-BUhnf9_M.js} +1 -1
- package/documentation/{ButtonLoaderSection-DGVKD9wI.js → ButtonLoaderSection-DuQTP5Pe.js} +1 -1
- package/documentation/{CardContainerSection-DLXPs9aW.js → CardContainerSection-DMJza1QB.js} +1 -1
- package/documentation/{CardContainerSection-t72sN0zL.js → CardContainerSection-DbKJDPWw.js} +1 -1
- package/documentation/CardSection-B0iqiFGj.js +25 -0
- package/documentation/CardSection-D15Ow_Tr.js +125 -0
- package/documentation/{CardTitleSection-CTcugicF.js → CardTitleSection-BMhuTc5Q.js} +1 -1
- package/documentation/{CardTitleSection-BEHmdfF6.js → CardTitleSection-DisE8DYA.js} +1 -1
- package/documentation/{CarouselCardsSection-ByrjTL9x.js → CarouselCardsSection-0SbaZLzB.js} +1 -1
- package/documentation/{CarouselCardsSection-DtCx9w5B.js → CarouselCardsSection-D6dpilRA.js} +1 -1
- package/documentation/{CarouselImageSection-BDMpTyte.js → CarouselImageSection-C1a20WIc.js} +1 -1
- package/documentation/{CarouselImageSection-CknDEAfU.js → CarouselImageSection-Ckn2QzLs.js} +1 -1
- package/documentation/{CarouselSection-Cq5jgcQD.js → CarouselSection-DY1Th7wv.js} +1 -1
- package/documentation/{CarouselSection-hLHYsvmh.js → CarouselSection-JMkeqyoM.js} +1 -1
- package/documentation/{CheckboxSection-D8FFt0Os.js → CheckboxSection-Buj9JUAs.js} +1 -1
- package/documentation/{CheckboxSection-CUQtdDzh.js → CheckboxSection-C1oqzuhJ.js} +1 -1
- package/documentation/{CodeExamplesSection-Dp2gzpx3.js → CodeExamplesSection-B0jHjim2.js} +1 -1
- package/documentation/{CodeExamplesSection-2v_8YfcX.js → CodeExamplesSection-lkjYxBX5.js} +1 -1
- package/documentation/{CoinCardSection-1WqRM1ph.js → CoinCardSection-lZUwQvyi.js} +1 -1
- package/documentation/{CoinCardSection-CPsesOWx.js → CoinCardSection-ohLbWYUh.js} +1 -1
- package/documentation/{CoinInfoCardSection-B562WBTv.js → CoinInfoCardSection-6w-hnHtq.js} +1 -1
- package/documentation/{CoinInfoCardSection-Dk6J8sls.js → CoinInfoCardSection-CSpda5W2.js} +1 -1
- package/documentation/{CoinListBoxSection-Cu1MDV2Y.js → CoinListBoxSection-CjuPiQY-.js} +1 -1
- package/documentation/{CoinListBoxSection-DzyzZBwk.js → CoinListBoxSection-if4oi10E.js} +1 -1
- package/documentation/{CollapseSection-7-rrT_DY.js → CollapseSection-Ce00qgAG.js} +1 -1
- package/documentation/{CollapseSection-Bym6R86D.js → CollapseSection-DvdDK90_.js} +10 -10
- package/{collection-1-NeFANkbk.js → documentation/CollectionCardSection-BXYryNM2.js} +58 -2
- package/documentation/CollectionCardSection-Bjysn0MP.js +17 -0
- package/documentation/CollectionSelectListSection-D8YxEcci.js +15 -0
- package/documentation/CollectionSelectListSection-NYI1Ct1i.js +120 -0
- package/documentation/{ColorCustomizationSection-DirQ1xkR.js → ColorCustomizationSection-BGlYoLkQ.js} +1 -1
- package/documentation/{ColorCustomizationSection-fpbQFBeg.js → ColorCustomizationSection-CBWK9uUm.js} +3 -3
- package/documentation/{ColorSystemSection-BTPZDmaU.js → ColorSystemSection-Dn79GFEE.js} +5 -5
- package/documentation/{ColorSystemSection-BIiffohC.js → ColorSystemSection-DpzFTiQX.js} +1 -1
- package/documentation/{CommonErrorsSection-DqohMJDt.js → CommonErrorsSection-Bu3N9AeP.js} +1 -1
- package/documentation/{CommonErrorsSection-BVjBH-q3.js → CommonErrorsSection-CfJggoGk.js} +1 -1
- package/documentation/{ComponentAnatomySection-GUman0lW.js → ComponentAnatomySection-B6siwlGr.js} +3 -3
- package/documentation/{ComponentAnatomySection-B6L2nQg2.js → ComponentAnatomySection-DZ7Qu5NO.js} +1 -1
- package/documentation/{ComponentStatusSection-BPatrERs.js → ComponentStatusSection-3ZQq3TuC.js} +1 -1
- package/documentation/{ComponentStatusSection-DS8Kmh6W.js → ComponentStatusSection-BAcHk045.js} +1 -1
- package/documentation/ComposedChartSection-Ckh3P98Y.js +113 -0
- package/documentation/ComposedChartSection-DA6YnjWr.js +21 -0
- package/documentation/{CurrencySwapIconsSection-B_qLwzXO.js → CurrencySwapIconsSection-C28raPLN.js} +1 -1
- package/documentation/{CurrencySwapIconsSection-WWqd6aBI.js → CurrencySwapIconsSection-C7OcC3fI.js} +1 -1
- package/documentation/{CustomColorPaletteSection-Beh-1TnY.js → CustomColorPaletteSection-CjZQJ8X1.js} +1 -1
- package/documentation/{CustomColorPaletteSection-DHw4bInM.js → CustomColorPaletteSection-DMSw8nDk.js} +1 -1
- package/documentation/{CustomIconsSection-BnJuOM-H.js → CustomIconsSection-BwjM43mD.js} +29 -29
- package/documentation/{CustomIconsSection-CSRr6wkJ.js → CustomIconsSection-DrojbM8n.js} +2 -2
- package/documentation/{DefiAppLogoSection-BlgJ2b-2.js → DefiAppLogoSection-BdZjkLmq.js} +1 -1
- package/documentation/{DefiAppLogoSection-BKoj5nMS.js → DefiAppLogoSection-Dk2oHuhM.js} +1 -1
- package/documentation/{DesignPrinciplesSection-sziQNoBU.js → DesignPrinciplesSection-Bya4UXPp.js} +1 -1
- package/documentation/{DesignPrinciplesSection-DEO6bctH.js → DesignPrinciplesSection-DnoNOVM9.js} +1 -1
- package/documentation/{DrawerSection-Bl44QTjH.js → DrawerSection-6g2F0eId.js} +41 -28
- package/documentation/DrawerSection-DB25BxGr.js +41 -0
- package/documentation/{DynamicRoutesSection-CwIKExBG.js → DynamicRoutesSection-BMaLmxpb.js} +1 -1
- package/documentation/{DynamicRoutesSection-DzYD6DrX.js → DynamicRoutesSection-C8c26l82.js} +1 -1
- package/documentation/{FileInputSection-agGxZYT7.js → FileInputSection-DSj8ZQzS.js} +1 -1
- package/documentation/{FileInputSection-2C2qHF7f.js → FileInputSection-DhXUezmH.js} +1 -1
- package/documentation/{FileStructureSection-C-Z_tkDL.js → FileStructureSection-Bcx6ldJU.js} +1 -1
- package/documentation/{FileStructureSection-CSNiAHS-.js → FileStructureSection-wjvqCs_f.js} +1 -1
- package/documentation/{FormComponentsSection-B021OPBW.js → FormComponentsSection-DeI3K5Bx.js} +1 -1
- package/documentation/{FormComponentsSection-CRsooWtI.js → FormComponentsSection-Dy3KNt39.js} +1 -1
- package/documentation/{FormMethodsSection-CUrQGm-O.js → FormMethodsSection-B1EM4N6A.js} +1 -1
- package/documentation/{FormMethodsSection-2ea19wxr.js → FormMethodsSection-yuuuYyXy.js} +1 -1
- package/documentation/{HamburgerSection-BzFh3gZq.js → HamburgerSection-DgPmVO-i.js} +11 -11
- package/documentation/{HamburgerSection-CWAXi4d_.js → HamburgerSection-aBZD1-TZ.js} +1 -1
- package/documentation/{HookCategoriesSection-Qm1BoU9x.js → HookCategoriesSection-CgVVDDDP.js} +1 -1
- package/documentation/{HookCategoriesSection-DZzq6nNi.js → HookCategoriesSection-D1s7HBs3.js} +1 -1
- package/documentation/{HookDocumentationSection-DT_dicnF.js → HookDocumentationSection-BX4ihZ7n.js} +1 -1
- package/documentation/{HookDocumentationSection-BMC5FTpz.js → HookDocumentationSection-D-uyTvbo.js} +1 -1
- package/documentation/{HookFeaturesSection-_rCA_IiX.js → HookFeaturesSection-BJ46pxde.js} +1 -1
- package/documentation/{HookFeaturesSection-B08odkSW.js → HookFeaturesSection-DG0c6Nuc.js} +1 -1
- package/documentation/{IconArchitectureSection-BP5StoRr.js → IconArchitectureSection-C-2VbuA5.js} +1 -1
- package/documentation/{IconArchitectureSection-Ch1nPf7C.js → IconArchitectureSection-CURuLfbA.js} +1 -1
- package/documentation/{IconSizingGuideSection-21B7NciU.js → IconSizingGuideSection-CZlzz3vM.js} +1 -1
- package/documentation/{IconSizingGuideSection-B39zPKV2.js → IconSizingGuideSection-CtgUCS1M.js} +1 -1
- package/documentation/{IconSystemAPISection-_5fho7rM.js → IconSystemAPISection-Bt0cGg5z.js} +1 -1
- package/documentation/{IconSystemAPISection-BLCe41I8.js → IconSystemAPISection-iR2Mtl7J.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-BI6uLx8V.js → IconSystemBenefitsSection-BwEGIaSi.js} +1 -1
- package/documentation/{IconSystemBenefitsSection-DCAdQe8N.js → IconSystemBenefitsSection-Cm4GLorJ.js} +1 -1
- package/documentation/{ImageSection-DX_pLrem.js → ImageSection-C8chUyse.js} +1 -1
- package/documentation/{ImageSection-Dl5z0QeO.js → ImageSection-DHl4Qi57.js} +7 -12
- package/documentation/{ImplementationExamplesSection-DG0Qxz66.js → ImplementationExamplesSection-B6RCd5xn.js} +1 -1
- package/documentation/{ImplementationExamplesSection-B__bLnap.js → ImplementationExamplesSection-Dm0hQvIt.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-Dhr_uqy_.js → ImplementationGuidelinesSection-DcophD9I.js} +1 -1
- package/documentation/{ImplementationGuidelinesSection-B3ThgoR2.js → ImplementationGuidelinesSection-tk4hHb4H.js} +1 -1
- package/documentation/{ImplementationStatusSection-D0v0YMVu.js → ImplementationStatusSection-ByTHYlfd.js} +1 -1
- package/documentation/{ImplementationStatusSection-CJTb6Pgx.js → ImplementationStatusSection-t7Ud-c-d.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-DP4JlgYL.js → ImplementedFeaturesSection-BFxz_WX2.js} +1 -1
- package/documentation/{ImplementedFeaturesSection-uG_KGhJp.js → ImplementedFeaturesSection-DHZ1Aoer.js} +1 -1
- package/documentation/InfoCardSection-CXtp4OUe.js +37 -0
- package/documentation/InfoCardSection-CzJ00hH4.js +266 -0
- package/documentation/{InputSearcherSection-BOs_mYxO.js → InputSearcherSection-CBLbEei3.js} +1 -1
- package/documentation/{InputSearcherSection-BB8KSV5W.js → InputSearcherSection-Ov5f1QPG.js} +1 -1
- package/documentation/{InputSection-Co8yrH8O.js → InputSection-D3bakYUu.js} +1 -1
- package/documentation/{InputSection-DlsRR1br.js → InputSection-DBXbkW_W.js} +1 -1
- package/documentation/KeyValueRowSection-BD_lOH5W.js +16 -0
- package/documentation/KeyValueRowSection-DvNMMIDZ.js +104 -0
- package/documentation/{KeyboardNavigationSection-B8kjIrpD.js → KeyboardNavigationSection-B3CapHsF.js} +1 -1
- package/documentation/{KeyboardNavigationSection-B5NeU2Ls.js → KeyboardNavigationSection-gUHJqFCG.js} +5 -5
- package/documentation/{LayoutPrinciplesSection-Cv2qVdah.js → LayoutPrinciplesSection-CVuWM79D.js} +1 -1
- package/documentation/{LayoutPrinciplesSection-ZcukszdJ.js → LayoutPrinciplesSection-Dj2hqcrM.js} +1 -1
- package/documentation/{LayoutTypesSection-Db8Phsh5.js → LayoutTypesSection-B56uscQO.js} +1 -1
- package/documentation/{LayoutTypesSection-CdWhbb-e.js → LayoutTypesSection-BGRpmQ7T.js} +1 -1
- package/documentation/LineChartSection-BGX0Wcvh.js +21 -0
- package/documentation/LineChartSection-Ceg7C-cC.js +130 -0
- package/documentation/{ListContainerSection-E2nxNQM9.js → ListContainerSection-BNSF4SI5.js} +1 -1
- package/documentation/{ListContainerSection-g8e36trw.js → ListContainerSection-CV4u-qOK.js} +1 -1
- package/documentation/{ListItemSection-BKMlFb_B.js → ListItemSection-3dc6RiQQ.js} +1 -1
- package/documentation/{ListItemSection-CGRWmUNh.js → ListItemSection-Di43gH3_.js} +1 -1
- package/documentation/{LiveDemoSection-Bi6TUjps.js → LiveDemoSection-BBUhl8mE.js} +1 -1
- package/documentation/{LiveDemoSection-CNS2AHrx.js → LiveDemoSection-BXUNaySE.js} +1 -1
- package/documentation/{LiveDemonstrationsSection-BTZH9yJ4.js → LiveDemonstrationsSection-CfXiNDVi.js} +6 -6
- package/documentation/{LiveDemonstrationsSection-8IzxP_-q.js → LiveDemonstrationsSection-DrHe0jRp.js} +1 -1
- package/documentation/{LivePriceFeedSection-BETZCxkR.js → LivePriceFeedSection-CtMkcanM.js} +1 -1
- package/documentation/{LivePriceFeedSection-xqYzz2UJ.js → LivePriceFeedSection-fB3CGfMo.js} +1 -1
- package/documentation/{LoaderSection-D6oWK2Bd.js → LoaderSection-BK2XhwSF.js} +1 -1
- package/documentation/{LoaderSection-Ch955wVE.js → LoaderSection-BqBjL_ce.js} +1 -1
- package/documentation/{LogoSection-DihjtnI3.js → LogoSection-C3gHZ6ZG.js} +1 -1
- package/documentation/{LogoSection-DwxPyRYp.js → LogoSection-DgveoBy0.js} +1 -1
- package/documentation/{LucideIconsSection-UTZdlP4l.js → LucideIconsSection-D7ajDS86.js} +2 -2
- package/documentation/{LucideIconsSection-jyTOH9vA.js → LucideIconsSection-EeXM46-p.js} +1 -1
- package/documentation/{MFESupportSection-CL4XaGSc.js → MFESupportSection-CW27A3eK.js} +1 -1
- package/documentation/{MFESupportSection-D5-xNtty.js → MFESupportSection-ZymRZFpR.js} +1 -1
- package/documentation/{MenuItemsGuideSection-CubWhWBg.js → MenuItemsGuideSection-CLotbYiV.js} +1 -1
- package/documentation/{MenuItemsGuideSection-B4A_sWeX.js → MenuItemsGuideSection-UQkVcqZq.js} +1 -1
- package/documentation/{ModalSection-BLJU61yb.js → ModalSection-B88ZyCk1.js} +34 -40
- package/documentation/{ModalSection-DgxQhNE3.js → ModalSection-_bluxlpe.js} +1 -1
- package/documentation/NFTGridSection-BBn-BSxV.js +117 -0
- package/documentation/NFTGridSection-DuqL8orZ.js +19 -0
- package/documentation/{NestedRoutesSection-ekOYspAL.js → NestedRoutesSection-Ba8XhwvK.js} +1 -1
- package/documentation/{NestedRoutesSection-DG9vKpBw.js → NestedRoutesSection-CNb6PpdJ.js} +1 -1
- package/documentation/{NotificationCardSection-cE-g6SEH.js → NotificationCardSection-Bhd6YH-F.js} +1 -1
- package/documentation/{NotificationCardSection-Db-RrZ16.js → NotificationCardSection-Dr40YILh.js} +1 -1
- package/documentation/PaginationSection-DZQzrh1r.js +18 -0
- package/documentation/PaginationSection-DaeYPA4C.js +122 -0
- package/documentation/{PanelActionCardSection-CL8Moio7.js → PanelActionCardSection-Ie-VVm_6.js} +3 -3
- package/documentation/{PanelActionCardSection-Bjxx99WR.js → PanelActionCardSection-eVZpdoU4.js} +1 -1
- package/documentation/{PanelCardSection-Ci9bDcSV.js → PanelCardSection-B4QTB7gx.js} +1 -1
- package/documentation/{PanelCardSection-wO7ZobnL.js → PanelCardSection-Bnvutn7v.js} +1 -1
- package/documentation/{ParamTabSection-DzCeT2jc.js → ParamTabSection-BboYSU6I.js} +1 -1
- package/documentation/{ParamTabSection-Bi80ttg5.js → ParamTabSection-Cxjr0T-p.js} +1 -1
- package/documentation/PieChartSection-B5iqTd6a.js +91 -0
- package/documentation/PieChartSection-CmsDq0aK.js +19 -0
- package/documentation/{PinCodeSection-BteNwNGD.js → PinCodeSection-DEw-EzEd.js} +1 -1
- package/documentation/{PinCodeSection-DwXlWFc3.js → PinCodeSection-_XK_i3H0.js} +1 -1
- package/documentation/{ProgressbarSection-ibpTAyXQ.js → ProgressbarSection-BiRKgrX8.js} +1 -1
- package/documentation/{ProgressbarSection-B1eIO6-t.js → ProgressbarSection-C3dnsQVG.js} +1 -1
- package/documentation/RadarChartSection-CZwYUbhE.js +21 -0
- package/documentation/RadarChartSection-D4WGzYMh.js +114 -0
- package/documentation/{RadioGroupSection-q1w7Zcjw.js → RadioGroupSection-Brsh4Wal.js} +1 -1
- package/documentation/{RadioGroupSection-CnheWpBr.js → RadioGroupSection-DCLnuxAm.js} +1 -1
- package/documentation/{RadioSection-V0sD9FtI.js → RadioSection-BJAmV7jS.js} +1 -1
- package/documentation/{RadioSection-DSoD7CLU.js → RadioSection-DW571IOX.js} +1 -1
- package/documentation/{RevealContentSection-BK8j8yQ6.js → RevealContentSection-Bp90Pdd6.js} +1 -1
- package/documentation/{RevealContentSection-Cm9Ego3J.js → RevealContentSection-aEH6B3Fa.js} +1 -1
- package/documentation/{RouteConfigurationSection-PdMrY6xs.js → RouteConfigurationSection-BTMaahtj.js} +1 -1
- package/documentation/{RouteConfigurationSection-JaOww2mF.js → RouteConfigurationSection-C4cXfBUN.js} +1 -1
- package/documentation/{ScrollToTopSection-_W3FULOG.js → ScrollToTopSection-BjvSaBlx.js} +1 -1
- package/documentation/{ScrollToTopSection-DktmPBqU.js → ScrollToTopSection-zDW1G7Hj.js} +6 -5
- package/documentation/{ScrollbarSection-94c3rkLU.js → ScrollbarSection-9TgDRatW.js} +1 -1
- package/documentation/{ScrollbarSection-Dhqk4MAL.js → ScrollbarSection-DB4wz_1n.js} +7 -7
- package/documentation/SelectSection-CuCOpeCn.js +39 -0
- package/documentation/{SelectSection-CyUvjkal.js → SelectSection-DUiUcUBY.js} +118 -49
- package/documentation/{SettingsPanelSection-DysL_TWy.js → SettingsPanelSection-BqSLtnYt.js} +1 -1
- package/documentation/{SettingsPanelSection-oUsf1rjG.js → SettingsPanelSection-CBDKoU0z.js} +2 -2
- package/documentation/{ShadowsSection-COIXfeUB.js → ShadowsSection-CBZ4wa0t.js} +1 -1
- package/documentation/{ShadowsSection-yPSwgkIh.js → ShadowsSection-DkuPXflP.js} +1 -1
- package/documentation/{SidebarMenuSection-DoBy0kgz.js → SidebarMenuSection-BGMz0EFc.js} +1 -1
- package/documentation/{SidebarMenuSection-CF65NgkO.js → SidebarMenuSection-Cu3MBodF.js} +1 -1
- package/documentation/{SidebarSection-C8M_6SXm.js → SidebarSection-B0Q9BrWf.js} +1 -1
- package/documentation/{SidebarSection-D0mx7yBu.js → SidebarSection-_fncZECB.js} +1 -1
- package/documentation/{SizingSection-D0JMCl2M.js → SizingSection-BRs_QZ8E.js} +1 -1
- package/documentation/{SizingSection-CFHOHeOX.js → SizingSection-BZG-CTFD.js} +1 -1
- package/documentation/{SkeletonSection-CdftMoZS.js → SkeletonSection-CvxwSWwR.js} +1 -1
- package/documentation/{SkeletonSection-l0H8ysMz.js → SkeletonSection-oeshNePF.js} +1 -1
- package/documentation/{SpacingSystemSection-DDLUwi7M.js → SpacingSystemSection-B2_wDld8.js} +1 -1
- package/documentation/{SpacingSystemSection-CK6jg9jH.js → SpacingSystemSection-CM2yZGzx.js} +1 -1
- package/documentation/{SpinnerSection-CBRlzSBA.js → SpinnerSection-DnpC2ob0.js} +1 -1
- package/documentation/{SpinnerSection-wKxUxjQH.js → SpinnerSection-NFH_Mw6g.js} +1 -1
- package/documentation/{StandaloneAppSection-4dc8jrdZ.js → StandaloneAppSection-CKCgLLAV.js} +1 -1
- package/documentation/{StandaloneAppSection-3DzBLpFt.js → StandaloneAppSection-CwGKuVZU.js} +1 -1
- package/documentation/StepperSection-Cpn220R1.js +28 -0
- package/documentation/StepperSection-efW1NQ0f.js +146 -0
- package/documentation/{SwitchSection-BlYqsAPJ.js → SwitchSection-DcFWtiXd.js} +1 -1
- package/documentation/{SwitchSection-vGxo1SYH.js → SwitchSection-r9KfUNlh.js} +1 -1
- package/documentation/{SystemOverviewSection-BtnucKsr.js → SystemOverviewSection-CYy8IBpL.js} +1 -1
- package/documentation/{SystemOverviewSection-1lSFqKae.js → SystemOverviewSection-GvLXbZUI.js} +1 -1
- package/documentation/TabModalSection-BggXWh_W.js +160 -0
- package/documentation/TabModalSection-Cu5hFvsO.js +51 -0
- package/documentation/{TabSection-B7wJPrFH.js → TabSection-BFaE_l9I.js} +1 -1
- package/documentation/{TabSection-BTGIy9BT.js → TabSection-CnB-uDch.js} +1 -1
- package/documentation/{TabSelectSection-B8ohYHOK.js → TabSelectSection-DPLfLMP_.js} +1 -1
- package/documentation/{TabSelectSection-DNb8f96f.js → TabSelectSection-Hg0rgmfI.js} +1 -1
- package/documentation/{TailwindConfigSection-dxsLjDuJ.js → TailwindConfigSection-DiwkqCaZ.js} +1 -1
- package/documentation/{TailwindConfigSection-xK7ymNHB.js → TailwindConfigSection-kpvPxjFu.js} +1 -1
- package/documentation/{TestingSection-D97U6rzs.js → TestingSection-B-NhLP3B.js} +1 -1
- package/documentation/{TestingSection-DqHtOy40.js → TestingSection-B_5gO0Fu.js} +1 -1
- package/documentation/{TextareaSection-LoLfm6tE.js → TextareaSection-CFMrk7-d.js} +1 -1
- package/documentation/{TextareaSection-cq-8Cb4V.js → TextareaSection-CGX7U5z3.js} +1 -1
- package/documentation/{ThemeArchitectureSection-D3s-iFek.js → ThemeArchitectureSection-BJtQp08X.js} +1 -1
- package/documentation/{ThemeArchitectureSection-kTqICQZj.js → ThemeArchitectureSection-C_KTw0Qt.js} +1 -1
- package/documentation/{ThemeConfigurationSection-DKZz_tZ0.js → ThemeConfigurationSection-D4gMbMaH.js} +1 -1
- package/documentation/{ThemeConfigurationSection-CIorDmNk.js → ThemeConfigurationSection-D5cShR_I.js} +1 -1
- package/documentation/{ThemeHooksSection-D-mw-Fbu.js → ThemeHooksSection-CtBPmTwz.js} +1 -1
- package/documentation/{ThemeHooksSection-C0sZ6k8a.js → ThemeHooksSection-DGjLuf9f.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-macU3-6q.js → ThemeProviderIntegrationSection-DD9vba4U.js} +1 -1
- package/documentation/{ThemeProviderIntegrationSection-BfBFuERd.js → ThemeProviderIntegrationSection-fjJyMnVI.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-CqDOwaWl.js → ThemeProviderRequiredSection-C51pFaD_.js} +1 -1
- package/documentation/{ThemeProviderRequiredSection-BRbwv1wN.js → ThemeProviderRequiredSection-DCwcEDEB.js} +1 -1
- package/documentation/{ThemeProviderSection-CTuv8EQA.js → ThemeProviderSection-Cdh5f9CQ.js} +1 -1
- package/documentation/{ThemeProviderSection-C8LEFOeB.js → ThemeProviderSection-Duhj0yh7.js} +1 -1
- package/documentation/{ToastSection-DxGzUQ0D.js → ToastSection-BWOj7sNT.js} +1 -1
- package/documentation/{ToastSection-DEW_viBi.js → ToastSection-Dp7uB84m.js} +8 -8
- package/documentation/{ToggleBarSection-CtsOxytE.js → ToggleBarSection-BK9vLumq.js} +1 -1
- package/documentation/{ToggleBarSection-CYRd5M5m.js → ToggleBarSection-CzR5L8Y8.js} +3 -3
- package/documentation/{TooltipSection-TVehrFpU.js → TooltipSection-CloPvZtN.js} +1 -1
- package/documentation/{TooltipSection-Cp-pLWvr.js → TooltipSection-JAMTIcdS.js} +1 -1
- package/documentation/{TopupButtonSection-Be5-YogI.js → TopupButtonSection-FiGGvfi9.js} +1 -1
- package/documentation/{TopupButtonSection-ByokZIdo.js → TopupButtonSection-WiC-0mrT.js} +1 -1
- package/documentation/{TransactionInfoSection-Q0JJsVQv.js → TransactionInfoSection-D43Gb2b8.js} +1 -1
- package/documentation/{TransactionInfoSection-BhNuZ4JD.js → TransactionInfoSection-pX2z0iup.js} +1 -1
- package/documentation/{TucuUiLogoSection-BDLv3mOn.js → TucuUiLogoSection-d28S8hsX.js} +1 -1
- package/documentation/{TucuUiLogoSection-98Bljk0Z.js → TucuUiLogoSection-oaz7vviE.js} +1 -1
- package/documentation/{TypographySection-Ck4yMFUP.js → TypographySection-CBOFOuPJ.js} +1 -1
- package/documentation/{TypographySection-CkyzEMXb.js → TypographySection-CYzZMbJZ.js} +1 -1
- package/documentation/{TypographySection-DkMPevk3.js → TypographySection-DgOacz6E.js} +1 -1
- package/documentation/{TypographySection-DQEpFmuX.js → TypographySection-mRBm_W87.js} +1 -1
- package/documentation/{UsageExamplesSection-rqFkSypt.js → UsageExamplesSection-BpeAxuRy.js} +1 -1
- package/documentation/{UsageExamplesSection-Cbl0byP_.js → UsageExamplesSection-YCUalwoy.js} +1 -1
- package/documentation/{UsingThemeSystemSection-CEXOimAv.js → UsingThemeSystemSection-CWP2ZSK6.js} +1 -1
- package/documentation/{UsingThemeSystemSection-ZxdD8koK.js → UsingThemeSystemSection-DjdvzaI0.js} +1 -1
- package/documentation/{ValidationSystemSection-Dvtm4jJR.js → ValidationSystemSection-BQz23Z_H.js} +1 -1
- package/documentation/{ValidationSystemSection-DN97qk1X.js → ValidationSystemSection-mvUzquI0.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-ichWLxLa.js → WCAGPrinciplesSection-BfHyxkEp.js} +1 -1
- package/documentation/{WCAGPrinciplesSection-CgrjWEgm.js → WCAGPrinciplesSection-WNmPduXY.js} +1 -1
- package/hooks/use-scrollable-slider.d.ts +3 -3
- package/index-DWDrAbog.js +1137 -0
- package/{index-DsiBIFwo.js → index-kms4xY-n.js} +39353 -30843
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +337 -321
- package/package.json +2 -3
- package/themes/components/theme-provider/index.d.ts +3 -2
- package/themes/router/components/standalone-app-routes-provider.d.ts +2 -2
- package/collection-1-BIsLOX9N.js +0 -1
- package/documentation/CollectionCardSection-BPILGSjR.js +0 -17
- package/documentation/CollectionCardSection-Cowt-8gl.js +0 -61
- package/documentation/CollectionSelectListSection-BUyInNdh.js +0 -14
- package/documentation/CollectionSelectListSection-C1hTywH1.js +0 -60
- package/documentation/DrawerSection-Ddkq7twy.js +0 -41
- package/documentation/NFTGridSection-CUDnvifG.js +0 -11
- package/documentation/NFTGridSection-DMCh4Qbs.js +0 -56
- package/documentation/SelectSection-RN83Da8P.js +0 -20
- package/index-D874Kozv.js +0 -1060
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),a=require("../index-DWDrAbog.js"),s=require("lucide-react");require("react-router-dom");require("react-dom");const c=()=>{const[t,r]=o.useState(void 0),l=[{name:"Argentina",value:"ar"},{name:"Brasil",value:"br"},{name:"Chile",value:"cl"},{name:"Colombia",value:"co"},{name:"México",value:"mx"},{name:"Perú",value:"pe"},{name:"Uruguay",value:"uy"},{name:"Venezuela",value:"ve"}],n=[{name:"Free",value:"free",description:"Basic features, 1 user",icon:e.jsx(s.Star,{className:"h-4 w-4 text-gray-400"})},{name:"Pro",value:"pro",description:"Advanced features, 5 users",icon:e.jsx(s.Zap,{className:"h-4 w-4 text-brand"})},{name:"Enterprise",value:"enterprise",description:"Custom features, unlimited",icon:e.jsx(s.Shield,{className:"h-4 w-4 text-green-500"})},{name:"Legacy",value:"legacy",description:"No longer available",disabled:!0}];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:"Select"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A dropdown select component with search, descriptions, disabled options, and check indicators."})]}),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 Select"}),e.jsx(a.Select,{label:"Country",placeholder:"Select a country",options:l,selectedOption:t,onChange:r})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Searchable"}),e.jsx(a.Select,{label:"Country",placeholder:"Search and select...",options:l,searchable:!0,searchPlaceholder:"Type to filter...",showCheck:!0})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Descriptions & Icons"}),e.jsx(a.Select,{label:"Plan",placeholder:"Choose a plan",options:n,showCheck:!0})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsx(a.Select,{label:"Language",placeholder:"Select a language",helperText:"Choose your preferred language",options:[{name:"English",value:"en",icon:e.jsx(s.Globe,{className:"h-4 w-4"})},{name:"Spanish",value:"es",icon:e.jsx(s.Globe,{className:"h-4 w-4"})},{name:"French",value:"fr",icon:e.jsx(s.Globe,{className:"h-4 w-4"})}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsx(a.Select,{label:"Category",placeholder:"Select a category",errorMessage:"Category is required",options:[{name:"Option 1",value:"opt1"},{name:"Option 2",value:"opt2"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(a.Select,{label:"Status",placeholder:"Select status",disabled:!0,options:[{name:"Active",value:"active"},{name:"Inactive",value:"inactive"}]})]})]})})})}),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.Select,{label:"Ghost Variant",placeholder:"Select option",variant:"ghost",options:l})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsx(a.Select,{label:"Solid Variant",placeholder:"Select option",variant:"solid",options:l})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),e.jsx(a.Select,{label:"Transparent Variant",placeholder:"Select option",variant:"transparent",options:l})]})]})})})}),e.jsx(a.AutoPropsTable,{componentName:"Select"}),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 { Select } from '@e-burgos/tucu-ui';
|
|
2
|
+
|
|
3
|
+
const options = [
|
|
4
|
+
{ name: 'Argentina', value: 'ar' },
|
|
5
|
+
{ name: 'Brasil', value: 'br' },
|
|
6
|
+
{ name: 'Chile', value: 'cl' },
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
// Basic
|
|
10
|
+
<Select
|
|
11
|
+
label="Country"
|
|
12
|
+
placeholder="Select a country"
|
|
13
|
+
options={options}
|
|
14
|
+
selectedOption={selectedOption}
|
|
15
|
+
onChange={setSelectedOption}
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
// Searchable with check
|
|
19
|
+
<Select
|
|
20
|
+
label="Country"
|
|
21
|
+
placeholder="Search..."
|
|
22
|
+
options={options}
|
|
23
|
+
searchable
|
|
24
|
+
searchPlaceholder="Type to filter..."
|
|
25
|
+
showCheck
|
|
26
|
+
/>
|
|
27
|
+
|
|
28
|
+
// With descriptions, icons, and disabled options
|
|
29
|
+
const plans = [
|
|
30
|
+
{ name: 'Free', value: 'free', description: 'Basic features' },
|
|
31
|
+
{ name: 'Pro', value: 'pro', description: 'Advanced', icon: <Zap /> },
|
|
32
|
+
{ name: 'Legacy', value: 'legacy', disabled: true },
|
|
33
|
+
];
|
|
34
|
+
<Select label="Plan" options={plans} showCheck />
|
|
35
|
+
|
|
36
|
+
// Variants
|
|
37
|
+
<Select variant="ghost" options={options} />
|
|
38
|
+
<Select variant="solid" options={options} />
|
|
39
|
+
<Select variant="transparent" options={options} />`})})})})]})};exports.default=c;
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import { jsxs as a, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { T as t, C as l, a as
|
|
4
|
-
import "lucide-react";
|
|
1
|
+
import { jsxs as a, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as p } from "react";
|
|
3
|
+
import { T as t, C as l, a as o, S as s, A as m, c as h } from "../index-kms4xY-n.js";
|
|
4
|
+
import { Globe as c, Star as u, Zap as g, Shield as v } from "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
8
|
-
const [
|
|
7
|
+
const w = () => {
|
|
8
|
+
const [r, i] = p(void 0), n = [
|
|
9
9
|
{ name: "Argentina", value: "ar" },
|
|
10
10
|
{ name: "Brasil", value: "br" },
|
|
11
11
|
{ name: "Chile", value: "cl" },
|
|
12
12
|
{ name: "Colombia", value: "co" },
|
|
13
|
-
{ name: "México", value: "mx" }
|
|
13
|
+
{ name: "México", value: "mx" },
|
|
14
|
+
{ name: "Perú", value: "pe" },
|
|
15
|
+
{ name: "Uruguay", value: "uy" },
|
|
16
|
+
{ name: "Venezuela", value: "ve" }
|
|
14
17
|
];
|
|
15
|
-
return /* @__PURE__ */ a(
|
|
18
|
+
return /* @__PURE__ */ a(d, { children: [
|
|
16
19
|
/* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
|
|
17
20
|
/* @__PURE__ */ e(t, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "Select" }),
|
|
18
21
|
/* @__PURE__ */ e(
|
|
@@ -20,36 +23,99 @@ const S = () => {
|
|
|
20
23
|
{
|
|
21
24
|
tag: "p",
|
|
22
25
|
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
23
|
-
children: "A dropdown select component
|
|
26
|
+
children: "A dropdown select component with search, descriptions, disabled options, and check indicators."
|
|
24
27
|
}
|
|
25
28
|
)
|
|
26
29
|
] }),
|
|
27
|
-
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(
|
|
30
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { 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-4", children: [
|
|
28
31
|
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
29
32
|
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Basic Select" }),
|
|
30
33
|
/* @__PURE__ */ e(
|
|
31
|
-
|
|
34
|
+
s,
|
|
32
35
|
{
|
|
33
36
|
label: "Country",
|
|
34
37
|
placeholder: "Select a country",
|
|
35
|
-
options:
|
|
36
|
-
selectedOption:
|
|
37
|
-
onChange:
|
|
38
|
+
options: n,
|
|
39
|
+
selectedOption: r,
|
|
40
|
+
onChange: i
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
] }),
|
|
44
|
+
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
45
|
+
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Searchable" }),
|
|
46
|
+
/* @__PURE__ */ e(
|
|
47
|
+
s,
|
|
48
|
+
{
|
|
49
|
+
label: "Country",
|
|
50
|
+
placeholder: "Search and select...",
|
|
51
|
+
options: n,
|
|
52
|
+
searchable: !0,
|
|
53
|
+
searchPlaceholder: "Type to filter...",
|
|
54
|
+
showCheck: !0
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
] }),
|
|
58
|
+
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
59
|
+
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "With Descriptions & Icons" }),
|
|
60
|
+
/* @__PURE__ */ e(
|
|
61
|
+
s,
|
|
62
|
+
{
|
|
63
|
+
label: "Plan",
|
|
64
|
+
placeholder: "Choose a plan",
|
|
65
|
+
options: [
|
|
66
|
+
{
|
|
67
|
+
name: "Free",
|
|
68
|
+
value: "free",
|
|
69
|
+
description: "Basic features, 1 user",
|
|
70
|
+
icon: /* @__PURE__ */ e(u, { className: "h-4 w-4 text-gray-400" })
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "Pro",
|
|
74
|
+
value: "pro",
|
|
75
|
+
description: "Advanced features, 5 users",
|
|
76
|
+
icon: /* @__PURE__ */ e(g, { className: "h-4 w-4 text-brand" })
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: "Enterprise",
|
|
80
|
+
value: "enterprise",
|
|
81
|
+
description: "Custom features, unlimited",
|
|
82
|
+
icon: /* @__PURE__ */ e(v, { className: "h-4 w-4 text-green-500" })
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: "Legacy",
|
|
86
|
+
value: "legacy",
|
|
87
|
+
description: "No longer available",
|
|
88
|
+
disabled: !0
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
showCheck: !0
|
|
38
92
|
}
|
|
39
93
|
)
|
|
40
94
|
] }),
|
|
41
95
|
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
42
96
|
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "With Helper Text" }),
|
|
43
97
|
/* @__PURE__ */ e(
|
|
44
|
-
|
|
98
|
+
s,
|
|
45
99
|
{
|
|
46
100
|
label: "Language",
|
|
47
101
|
placeholder: "Select a language",
|
|
48
102
|
helperText: "Choose your preferred language",
|
|
49
103
|
options: [
|
|
50
|
-
{
|
|
51
|
-
|
|
52
|
-
|
|
104
|
+
{
|
|
105
|
+
name: "English",
|
|
106
|
+
value: "en",
|
|
107
|
+
icon: /* @__PURE__ */ e(c, { className: "h-4 w-4" })
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "Spanish",
|
|
111
|
+
value: "es",
|
|
112
|
+
icon: /* @__PURE__ */ e(c, { className: "h-4 w-4" })
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: "French",
|
|
116
|
+
value: "fr",
|
|
117
|
+
icon: /* @__PURE__ */ e(c, { className: "h-4 w-4" })
|
|
118
|
+
}
|
|
53
119
|
]
|
|
54
120
|
}
|
|
55
121
|
)
|
|
@@ -57,7 +123,7 @@ const S = () => {
|
|
|
57
123
|
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
58
124
|
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "With Error" }),
|
|
59
125
|
/* @__PURE__ */ e(
|
|
60
|
-
|
|
126
|
+
s,
|
|
61
127
|
{
|
|
62
128
|
label: "Category",
|
|
63
129
|
placeholder: "Select a category",
|
|
@@ -72,7 +138,7 @@ const S = () => {
|
|
|
72
138
|
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
73
139
|
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Disabled" }),
|
|
74
140
|
/* @__PURE__ */ e(
|
|
75
|
-
|
|
141
|
+
s,
|
|
76
142
|
{
|
|
77
143
|
label: "Status",
|
|
78
144
|
placeholder: "Select status",
|
|
@@ -83,65 +149,49 @@ const S = () => {
|
|
|
83
149
|
]
|
|
84
150
|
}
|
|
85
151
|
)
|
|
86
|
-
] }),
|
|
87
|
-
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
88
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Required Field" }),
|
|
89
|
-
/* @__PURE__ */ e(
|
|
90
|
-
o,
|
|
91
|
-
{
|
|
92
|
-
label: "Priority",
|
|
93
|
-
placeholder: "Select priority",
|
|
94
|
-
required: !0,
|
|
95
|
-
options: [
|
|
96
|
-
{ name: "Low", value: "low" },
|
|
97
|
-
{ name: "Medium", value: "medium" },
|
|
98
|
-
{ name: "High", value: "high" }
|
|
99
|
-
]
|
|
100
|
-
}
|
|
101
|
-
)
|
|
102
152
|
] })
|
|
103
153
|
] }) }) }) }),
|
|
104
|
-
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(
|
|
154
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Variants", 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-3 gap-4", children: [
|
|
105
155
|
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
106
156
|
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Ghost (default)" }),
|
|
107
157
|
/* @__PURE__ */ e(
|
|
108
|
-
|
|
158
|
+
s,
|
|
109
159
|
{
|
|
110
160
|
label: "Ghost Variant",
|
|
111
161
|
placeholder: "Select option",
|
|
112
162
|
variant: "ghost",
|
|
113
|
-
options:
|
|
163
|
+
options: n
|
|
114
164
|
}
|
|
115
165
|
)
|
|
116
166
|
] }),
|
|
117
167
|
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
118
168
|
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Solid" }),
|
|
119
169
|
/* @__PURE__ */ e(
|
|
120
|
-
|
|
170
|
+
s,
|
|
121
171
|
{
|
|
122
172
|
label: "Solid Variant",
|
|
123
173
|
placeholder: "Select option",
|
|
124
174
|
variant: "solid",
|
|
125
|
-
options:
|
|
175
|
+
options: n
|
|
126
176
|
}
|
|
127
177
|
)
|
|
128
178
|
] }),
|
|
129
179
|
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
130
180
|
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Transparent" }),
|
|
131
181
|
/* @__PURE__ */ e(
|
|
132
|
-
|
|
182
|
+
s,
|
|
133
183
|
{
|
|
134
184
|
label: "Transparent Variant",
|
|
135
185
|
placeholder: "Select option",
|
|
136
186
|
variant: "transparent",
|
|
137
|
-
options:
|
|
187
|
+
options: n
|
|
138
188
|
}
|
|
139
189
|
)
|
|
140
190
|
] })
|
|
141
191
|
] }) }) }) }),
|
|
142
192
|
/* @__PURE__ */ e(m, { componentName: "Select" }),
|
|
143
|
-
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(
|
|
144
|
-
|
|
193
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
194
|
+
h,
|
|
145
195
|
{
|
|
146
196
|
language: "tsx",
|
|
147
197
|
code: `import { Select } from '@e-burgos/tucu-ui';
|
|
@@ -152,6 +202,7 @@ const options = [
|
|
|
152
202
|
{ name: 'Chile', value: 'cl' },
|
|
153
203
|
];
|
|
154
204
|
|
|
205
|
+
// Basic
|
|
155
206
|
<Select
|
|
156
207
|
label="Country"
|
|
157
208
|
placeholder="Select a country"
|
|
@@ -160,14 +211,32 @@ const options = [
|
|
|
160
211
|
onChange={setSelectedOption}
|
|
161
212
|
/>
|
|
162
213
|
|
|
214
|
+
// Searchable with check
|
|
215
|
+
<Select
|
|
216
|
+
label="Country"
|
|
217
|
+
placeholder="Search..."
|
|
218
|
+
options={options}
|
|
219
|
+
searchable
|
|
220
|
+
searchPlaceholder="Type to filter..."
|
|
221
|
+
showCheck
|
|
222
|
+
/>
|
|
223
|
+
|
|
224
|
+
// With descriptions, icons, and disabled options
|
|
225
|
+
const plans = [
|
|
226
|
+
{ name: 'Free', value: 'free', description: 'Basic features' },
|
|
227
|
+
{ name: 'Pro', value: 'pro', description: 'Advanced', icon: <Zap /> },
|
|
228
|
+
{ name: 'Legacy', value: 'legacy', disabled: true },
|
|
229
|
+
];
|
|
230
|
+
<Select label="Plan" options={plans} showCheck />
|
|
231
|
+
|
|
163
232
|
// Variants
|
|
164
|
-
<Select
|
|
165
|
-
<Select
|
|
166
|
-
<Select
|
|
233
|
+
<Select variant="ghost" options={options} />
|
|
234
|
+
<Select variant="solid" options={options} />
|
|
235
|
+
<Select variant="transparent" options={options} />`
|
|
167
236
|
}
|
|
168
237
|
) }) }) })
|
|
169
238
|
] });
|
|
170
239
|
};
|
|
171
240
|
export {
|
|
172
|
-
|
|
241
|
+
w as default
|
|
173
242
|
};
|
|
@@ -1 +1 @@
|
|
|
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-DWDrAbog.js"),i=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const h=()=>{const{mode:a,layout:n,primaryPreset:d,secondaryPreset:c,accentPreset:m,direction:o,setMode:g,setIsSettingsOpen:x,isSettingsOpen:r}=s.useTheme();return e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Settings Panel",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-gradient-to-br from-orange-500 to-red-500 rounded-lg shadow-lg",children:e.jsx(i.Settings,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:"Built-in Settings UI"})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"The theme system includes a built-in settings panel that allows users to:"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-2",children:"Core Settings"}),e.jsx("ul",{className:"space-y-1",children:["Toggle between light and dark modes","Switch between LTR and RTL text direction","Choose between Clean, Admin, and Horizontal layouts"].map((t,l)=>e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx(i.Check,{className:"w-3 h-3 text-green-500"}),e.jsx("span",{className:"text-xs",children:t})]},l))})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-2",children:"Color Management"}),e.jsx("ul",{className:"space-y-1",children:["Select from 34 predefined color presets","Configure primary, secondary, and accent colors","Customize dark and light theme colors","Manage muted colors and background variants"].map((t,l)=>e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx(i.Check,{className:"w-3 h-3 text-green-500"}),e.jsx("span",{className:"text-xs",children:t})]},l))})]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium",children:"Current Settings"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Mode"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:a})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Layout"}),e.jsxs(s.Badge,{variant:"outline",className:"text-xs",children:[n==="horizontal"?"Horizontal":n==="clean"?"Clean":"Admin"," "]})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Primary"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:d?.label||"DEFAULT_PRIMARY"})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Secondary"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:c?.label||"DEFAULT_SECONDARY"})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Accent"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:m?.label||"DEFAULT_ACCENT"})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Direction"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:o||"LTR"})]})]}),e.jsxs("div",{className:"flex gap-2 w-full mt-4",children:[e.jsxs(s.Button,{size:"small",onClick:()=>g(a==="dark"?"light":"dark"),className:"flex-1",children:["Toggle ",a==="dark"?"Light":"Dark"]}),e.jsxs(s.Button,{size:"small",variant:"ghost",onClick:()=>x(!r),className:"flex-1",children:[r?"Close":"Open"," Settings"]})]})]})]})]})]})})})};exports.default=h;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { au as x, C as y, a as f, T as t, J as s, y as c } from "../index-kms4xY-n.js";
|
|
3
3
|
import { Settings as b, Check as m } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -16,7 +16,7 @@ const A = () => {
|
|
|
16
16
|
setIsSettingsOpen: N,
|
|
17
17
|
isSettingsOpen: d
|
|
18
18
|
} = x();
|
|
19
|
-
return /* @__PURE__ */ e(
|
|
19
|
+
return /* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(f, { title: "Settings Panel", className: "mt-2 mb-6", children: /* @__PURE__ */ a("div", { className: "space-y-6", children: [
|
|
20
20
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
|
|
21
21
|
/* @__PURE__ */ e("div", { className: "p-2 bg-gradient-to-br from-orange-500 to-red-500 rounded-lg shadow-lg", children: /* @__PURE__ */ e(b, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
|
|
22
22
|
/* @__PURE__ */ e(t, { tag: "h4", className: "font-semibold", children: "Built-in Settings UI" })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=a=>{if(typeof window>"u")return"";const r=document.documentElement;return getComputedStyle(r).getPropertyValue(a).trim()||""},n=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(t.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Shadows"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Shadow tokens from Tucu UI Design System for depth and elevation"})]}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Shadow Tokens",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-8 p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[{name:"Main",varName:"--shadow-main",description:"Primary shadow for cards and elevated elements"},{name:"Light",varName:"--shadow-light",description:"Subtle shadow for minimal elevation"},{name:"Large",varName:"--shadow-large",description:"Prominent shadow for modals and overlays"},{name:"Card",varName:"--shadow-card",description:"Standard shadow for card components"},{name:"Transaction",varName:"--shadow-transaction",description:"Shadow for transaction lists and tables"},{name:"Expand",varName:"--shadow-expand",description:"Strong shadow for expanded elements"},{name:"Button",varName:"--shadow-button",description:"Shadow for button components"},{name:"Drop Shadow Main",varName:"--drop-shadow-main",description:"Drop shadow for images and graphics"}].map(a=>{const r=s(a.varName);return e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx(t.Typography,{tag:"h3",className:"font-semibold",children:a.name}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-muted",children:a.description})]}),e.jsx("div",{className:"h-32 bg-white dark:bg-gray-800 rounded-lg p-4 flex items-center justify-center",style:{boxShadow:r||`var(${a.varName})`},children:e.jsx(t.Typography,{tag:"h4",className:"text-center",children:a.name})}),e.jsxs("div",{className:"space-y-1",children:[e.jsx(t.Typography,{tag:"h4",className:"text-muted text-xs break-all font-mono",children:a.varName}),r&&e.jsx(t.Typography,{tag:"h4",className:"text-muted text-[10px] break-all",children:r})]})]},a.name)})})})})})]});exports.default=n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as n, Fragment as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as t, C as s, a as d } from "../index-
|
|
2
|
+
import { T as t, C as s, a as d } from "../index-kms4xY-n.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 t, Fragment as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as a, C as s, a as n, A as o, c as m } from "../index-
|
|
2
|
+
import { T as a, C as s, a as n, A as o, c as m } from "../index-kms4xY-n.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const a=()=>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:"SidebarMenu"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A sidebar component with built-in menu navigation, supporting icons, paths, and dropdown items."})]}),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.jsx("div",{className:"space-y-4",children:e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Basic Sidebar Menu"}),e.jsx(s.Typography,{tag:"p",className:"mb-4 text-sm text-gray-600",children:"Note: SidebarMenu is typically used within a Drawer component. This example shows the structure."}),e.jsx(s.Typography,{tag:"p",className:"text-sm",children:"The SidebarMenu component provides a navigation menu with icons and links, perfect for mobile navigation drawers."})]})})})})}),e.jsx(s.AutoPropsTable,{componentName:"SidebarMenu"}),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 { SidebarMenu, LucideIcons } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
const menuItems = [
|
|
4
4
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l } from "react";
|
|
3
|
-
import { T as t, C as i, a as o, A as r, c as n } from "../index-
|
|
3
|
+
import { T as t, C as i, a as o, A as r, c as n } from "../index-kms4xY-n.js";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("react"),t=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("react"),t=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react-dom");const s=()=>{const[i,r]=a.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(t.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Sidebar"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A sidebar component with scrollable content, optional logo, title, and action buttons."})]}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"space-y-4",children:e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Basic Sidebar"}),e.jsx(t.Typography,{tag:"p",className:"mb-4 text-sm text-gray-600",children:"Note: Sidebar is typically used within a Drawer component. This example shows the structure."}),e.jsx(t.Typography,{tag:"p",className:"text-sm",children:"The Sidebar component provides a scrollable container with optional header (logo or title) and action buttons at the bottom."})]})})})})}),e.jsx(t.AutoPropsTable,{componentName:"Sidebar"}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.CodeBlock,{language:"tsx",code:`import { Sidebar } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage (typically within Drawer)
|
|
4
4
|
<Sidebar title="Sidebar Title" onClose={() => setIsOpen(false)}>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as d, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as r, C as i, a as n } from "../index-
|
|
2
|
+
import { T as r, C as i, a as n } from "../index-kms4xY-n.js";
|
|
3
3
|
import "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"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=a=>{if(typeof window>"u")return"";const t=document.documentElement;return getComputedStyle(t).getPropertyValue(a).trim()||""},c=()=>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:"Sizing"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Icon and avatar size tokens from Tucu UI Design Tokens"})]}),e.jsxs("div",{className:"space-y-8",children:[e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Icon Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-8 p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:["xs","s","m","l"].map(a=>{const t=`w-icon-${a}`,d=`h-icon-${a}`,l=`--size-icon-${a}`,r=i(l);return e.jsxs("div",{className:"text-center space-y-2 border border-gray-200 dark:border-gray-700 rounded-lg p-3",children:[e.jsx("div",{className:`bg-primary rounded mx-auto ${t} ${d}`,style:{width:r||`var(${l})`,height:r||`var(${l})`}}),e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:a}),r&&e.jsx(s.Typography,{tag:"h4",className:"text-muted text-[10px]",children:r}),e.jsxs(s.Typography,{tag:"h4",className:"text-muted text-[9px] mt-1 break-all px-1",children:[t,", ",d]})]},a)})})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Avatar Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-8 p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:["s","m","l","xl","xxl","xxxl"].map(a=>{const t=`w-avatar-${a}`,d=`h-avatar-${a}`,l=`--size-avatar-${a}`,r=i(l);return e.jsxs("div",{className:"text-center space-y-2 border border-gray-200 dark:border-gray-700 rounded-lg p-3",children:[e.jsx("div",{className:`bg-primary rounded-full mx-auto ${t} ${d}`,style:{width:r||`var(${l})`,height:r||`var(${l})`}}),e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:a}),r&&e.jsx(s.Typography,{tag:"h4",className:"text-muted text-[10px]",children:r}),e.jsxs(s.Typography,{tag:"h4",className:"text-muted text-[9px] mt-1 break-all px-1",children:[t,", ",d]})]},a)})})})})})]})]});exports.default=c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as l, C as s, a as n,
|
|
2
|
+
import { T as l, C as s, a as n, Z as a, P as m, A as h, c as d } from "../index-kms4xY-n.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DWDrAbog.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(s.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Skeleton"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A skeleton loader component for displaying placeholder content while data is loading."})]}),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-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Default Skeleton"}),e.jsx(s.Skeleton,{})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Text Lines"}),e.jsx(s.Skeleton,{shape:"text",count:3})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Circle Shape"}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(s.Skeleton,{shape:"circle",size:"small",width:"2rem"}),e.jsx(s.Skeleton,{shape:"circle",size:"medium",width:"4rem"}),e.jsx(s.Skeleton,{shape:"circle",size:"large",width:"6rem"})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Different Sizes"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(s.Skeleton,{size:"tiny"}),e.jsx(s.Skeleton,{size:"small"}),e.jsx(s.Skeleton,{size:"medium"}),e.jsx(s.Skeleton,{size:"large"})]})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Animations",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Shimmer Animation (Default)"}),e.jsx(s.Skeleton,{animation:"shimmer"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Wave Animation"}),e.jsx(s.Skeleton,{animation:"wave"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Pulse Animation"}),e.jsx(s.Skeleton,{animation:"pulse"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"No Animation"}),e.jsx(s.Skeleton,{animation:"none"})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Shapes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Rounded (Default)"}),e.jsx(s.Skeleton,{shape:"rounded"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Rectangle"}),e.jsx(s.Skeleton,{shape:"rectangle"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Circle"}),e.jsx(s.Skeleton,{shape:"circle",width:"8rem",height:"8rem"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Text Lines"}),e.jsx(s.Skeleton,{shape:"text",count:4})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Common Patterns",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Card Skeleton"}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Skeleton,{size:"large",className:"mb-3"}),e.jsx(s.Skeleton,{shape:"text",count:3})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Profile Skeleton"}),e.jsx(s.CardContainer,{className:"p-4",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(s.Skeleton,{shape:"circle",width:"4rem",height:"4rem"}),e.jsxs("div",{className:"flex-1 space-y-2",children:[e.jsx(s.Skeleton,{width:"60%",height:"1rem"}),e.jsx(s.Skeleton,{width:"40%",height:"0.875rem"})]})]})})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"List Skeleton"}),e.jsx(s.CardContainer,{className:"p-4 space-y-3",children:[1,2,3].map(a=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(s.Skeleton,{shape:"circle",width:"2.5rem",height:"2.5rem"}),e.jsxs("div",{className:"flex-1 space-y-2",children:[e.jsx(s.Skeleton,{width:"70%",height:"0.875rem"}),e.jsx(s.Skeleton,{width:"50%",height:"0.75rem"})]})]},a))})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Article Skeleton"}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Skeleton,{size:"large",className:"mb-4"}),e.jsx(s.Skeleton,{width:"80%",className:"mb-2 h-6"}),e.jsx(s.Skeleton,{width:"60%",className:"mb-4 h-6"}),e.jsx(s.Skeleton,{shape:"text",count:5})]})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Grid Skeleton"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[1,2,3].map(a=>e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Skeleton,{height:"10rem",className:"mb-3"}),e.jsx(s.Skeleton,{width:"80%",className:"mb-2 h-5"}),e.jsx(s.Skeleton,{shape:"text",count:2})]},a))})]})]})})})}),e.jsx(s.PropPlayground,{componentName:"Skeleton",defaultValues:{shape:"rounded",animation:"shimmer",size:"medium",count:1},excludeProps:["width","height"],children:a=>e.jsx(s.Skeleton,{...a})}),e.jsx(s.AutoPropsTable,{componentName:"Skeleton"}),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 { Skeleton } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<Skeleton />
|
|
@@ -1 +1 @@
|
|
|
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-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const d=t=>{if(typeof window>"u")return"";const a=document.documentElement;return getComputedStyle(a).getPropertyValue(t).trim()||""},u=()=>{const t=[{value:0,key:"0"},{value:1,key:"1"},{value:2,key:"2"},{value:3,key:"3"},{value:4,key:"4"},{value:5,key:"5"},{value:6,key:"6"},{value:7,key:"7"},{value:8,key:"8"},{value:9,key:"9"},{value:10,key:"10"},{value:11,key:"11"},{value:12,key:"12"},{value:13,key:"13"},{value:14,key:"14"},{value:15,key:"15"},{value:16,key:"16"},{value:17,key:"17"},{value:18,key:"18"},{value:19,key:"19"},{value:20,key:"20"}];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:"Spacing System"}),e.jsx(l.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Spacing scale mapped to Tucu UI Design Tokens"})]}),e.jsx(l.CardContainer,{className:"overflow-hidden",children:e.jsx(l.CardTitle,{title:"Spacing Scale",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-8 p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:t.map(a=>{const r=`--spacing-${a.key}`,s=d(r),n=`p-${a.value}, m-${a.value}, gap-${a.value}`,i=a.value.toString();return e.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg p-4 space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(l.Typography,{tag:"h4",className:"font-semibold",children:i}),s&&e.jsx(l.Typography,{tag:"h4",className:"text-muted text-[10px]",children:s})]}),e.jsx("div",{className:"bg-primary h-8 rounded w-full",style:{width:s||`var(${r})`,minWidth:"4px"}}),e.jsx(l.Typography,{tag:"h4",className:"text-muted text-[9px] break-all px-1",children:n})]},a.key)})})})})})]})};exports.default=u;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as l, C as o, a as u } from "../index-
|
|
2
|
+
import { T as l, C as o, a as u } from "../index-kms4xY-n.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 a, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as l, C as i, a as n,
|
|
2
|
+
import { T as l, C as i, a as n, ac as r, P as o, A as m, c as d } from "../index-kms4xY-n.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-DWDrAbog.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>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:"Spinner"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A simple spinning loader component for indicating loading states with customizable sizes and colors."})]}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Default Spinner"}),e.jsx(r.Spinner,{})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Small Spinner"}),e.jsx(r.Spinner,{size:"sm"})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Large Spinner"}),e.jsx(r.Spinner,{size:"lg"})]})]})})})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Colors"}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(r.Spinner,{color:"primary"}),e.jsx(r.Spinner,{color:"success"}),e.jsx(r.Spinner,{color:"danger"}),e.jsx(r.Spinner,{color:"info"}),e.jsx(r.Spinner,{color:"warning"}),e.jsx(r.Spinner,{color:"gray"})]})]})})})})}),e.jsx(r.PropPlayground,{componentName:"Spinner",defaultValues:{size:"md",color:"primary"},excludeProps:[],children:s=>e.jsx(r.Spinner,{...s})}),e.jsx(r.AutoPropsTable,{componentName:"Spinner"}),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 { Spinner } from '@e-burgos/tucu-ui';
|
|
2
2
|
|
|
3
3
|
// Basic usage
|
|
4
4
|
<Spinner />
|
|
@@ -1,4 +1,4 @@
|
|
|
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-DWDrAbog.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=()=>e.jsx("div",{className:"space-y-8",children:e.jsx(a.CardContainer,{children:e.jsx(a.CardTitle,{title:"Standalone App",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-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-blue-500 to-cyan-500 shadow-lg",children:e.jsx(t.Package,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:"Standalone App Pattern (Default)"})]}),e.jsxs(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["The ",e.jsx("strong",{children:"Standalone App Pattern"})," is the default mode for traditional single-page applications. Routes are automatically generated from"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"menuItems"})," ","configuration, making it perfect for monolithic applications that don't require micro frontend architecture."]}),e.jsx(a.Alert,{variant:"info",dismissible:!1,children:e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(t.Info,{className:"w-4 h-4"}),e.jsx(a.Typography,{tag:"span",className:"font-semibold",children:"Default Pattern"})]}),e.jsxs(a.Typography,{tag:"p",className:"text-sm",children:["The Standalone pattern is the default. You don't need to specify"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"architecturalPatterns"}),". Simply provide"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"menuItems"})," ","and routes will be automatically generated."]})]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-indigo-500 to-purple-500 shadow-lg",children:e.jsx(t.Code,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:"StandaloneAppRoutesMenuItem Interface"})]}),e.jsxs(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:["Define your routes using the"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"StandaloneAppRoutesMenuItem"})," ","interface. Each menu item automatically becomes a route."]}),e.jsx(a.CodeBlock,{language:"typescript",code:`interface StandaloneAppRoutesMenuItem extends Omit<IMenuItem, 'dropdownItems'> {
|
|
2
2
|
component: JSX.Element; // Component to render
|
|
3
3
|
isPublic?: boolean; // If true, accessible without authentication
|
|
4
4
|
dropdownItems?: StandaloneAppRoutesMenuItem[]; // Nested routes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { C as r, a as n, T as a,
|
|
2
|
+
import { C as r, a as n, T as a, ag as i, c as o } from "../index-kms4xY-n.js";
|
|
3
3
|
import { Package as d, Info as l, Code as c, Play as m, Settings as u, CheckCircle as s } from "lucide-react";
|
|
4
4
|
import "react-router-dom";
|
|
5
5
|
import "react";
|